@umbraco-engage/mcp 18.3.0 → 19.0.0-beta.2

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 {
@@ -255,28 +256,26 @@ export interface PostAbTestOutput {
255
256
  isBenchmark: boolean;
256
257
  totalPageviewsForVariant: number;
257
258
  totalVisitorsForVariant: number;
258
- segment: string | null;
259
- previewSegment: string | null;
259
+ segment: string;
260
+ previewSegment: string;
260
261
  };
261
262
  visitors: number;
262
263
  goalCompletions: number;
263
264
  benchmarkVisitors: number;
264
265
  benchmarkGoalCompletions: number;
265
266
  conversionRate: number;
266
- mainGoalComparisons:
267
- | {
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
- }[]
279
- | 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
+ }[];
280
279
  }[];
281
280
  currentVisitorsPerVariant: number;
282
281
  currentVisitors: number;
@@ -300,28 +299,26 @@ export interface PostAbTestOutput {
300
299
  isBenchmark: boolean;
301
300
  totalPageviewsForVariant: number;
302
301
  totalVisitorsForVariant: number;
303
- segment: string | null;
304
- previewSegment: string | null;
302
+ segment: string;
303
+ previewSegment: string;
305
304
  };
306
305
  visitors: number;
307
306
  goalCompletions: number;
308
307
  benchmarkVisitors: number;
309
308
  benchmarkGoalCompletions: number;
310
309
  conversionRate: number;
311
- mainGoalComparisons:
312
- | {
313
- mainGoalId: number;
314
- mainGoalCompletions: number;
315
- mainGoalCompletionsTotalValue: number;
316
- benchmarkMainGoalCompletions: number;
317
- isInvertedGoal: boolean;
318
- hurtingThreshold: number;
319
- mainGoalDifference: number;
320
- warning: boolean;
321
- mainGoalRatio?: number | null;
322
- isHurting: boolean;
323
- }[]
324
- | 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
+ }[];
325
322
  };
326
323
  bestNonBenchmarkVariant?: null | {
327
324
  abTestVariant: {
@@ -340,28 +337,26 @@ export interface PostAbTestOutput {
340
337
  isBenchmark: boolean;
341
338
  totalPageviewsForVariant: number;
342
339
  totalVisitorsForVariant: number;
343
- segment: string | null;
344
- previewSegment: string | null;
340
+ segment: string;
341
+ previewSegment: string;
345
342
  };
346
343
  visitors: number;
347
344
  goalCompletions: number;
348
345
  benchmarkVisitors: number;
349
346
  benchmarkGoalCompletions: number;
350
347
  conversionRate: number;
351
- mainGoalComparisons:
352
- | {
353
- mainGoalId: number;
354
- mainGoalCompletions: number;
355
- mainGoalCompletionsTotalValue: number;
356
- benchmarkMainGoalCompletions: number;
357
- isInvertedGoal: boolean;
358
- hurtingThreshold: number;
359
- mainGoalDifference: number;
360
- warning: boolean;
361
- mainGoalRatio?: number | null;
362
- isHurting: boolean;
363
- }[]
364
- | 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
+ }[];
365
360
  };
366
361
  earliestReliableVariant?: null | {
367
362
  abTestVariant: {
@@ -380,28 +375,26 @@ export interface PostAbTestOutput {
380
375
  isBenchmark: boolean;
381
376
  totalPageviewsForVariant: number;
382
377
  totalVisitorsForVariant: number;
383
- segment: string | null;
384
- previewSegment: string | null;
378
+ segment: string;
379
+ previewSegment: string;
385
380
  };
386
381
  visitors: number;
387
382
  goalCompletions: number;
388
383
  benchmarkVisitors: number;
389
384
  benchmarkGoalCompletions: number;
390
385
  conversionRate: number;
391
- mainGoalComparisons:
392
- | {
393
- mainGoalId: number;
394
- mainGoalCompletions: number;
395
- mainGoalCompletionsTotalValue: number;
396
- benchmarkMainGoalCompletions: number;
397
- isInvertedGoal: boolean;
398
- hurtingThreshold: number;
399
- mainGoalDifference: number;
400
- warning: boolean;
401
- mainGoalRatio?: number | null;
402
- isHurting: boolean;
403
- }[]
404
- | 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
+ }[];
405
398
  };
406
399
  bestPrognosis: {
407
400
  variantId: number;
@@ -431,28 +424,26 @@ export interface PostAbTestOutput {
431
424
  isBenchmark: boolean;
432
425
  totalPageviewsForVariant: number;
433
426
  totalVisitorsForVariant: number;
434
- segment: string | null;
435
- previewSegment: string | null;
427
+ segment: string;
428
+ previewSegment: string;
436
429
  };
437
430
  visitors: number;
438
431
  goalCompletions: number;
439
432
  benchmarkVisitors: number;
440
433
  benchmarkGoalCompletions: number;
441
434
  conversionRate: number;
442
- mainGoalComparisons:
443
- | {
444
- mainGoalId: number;
445
- mainGoalCompletions: number;
446
- mainGoalCompletionsTotalValue: number;
447
- benchmarkMainGoalCompletions: number;
448
- isInvertedGoal: boolean;
449
- hurtingThreshold: number;
450
- mainGoalDifference: number;
451
- warning: boolean;
452
- mainGoalRatio?: number | null;
453
- isHurting: boolean;
454
- }[]
455
- | 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
+ }[];
456
447
  };
457
448
  winningVariantConversionChange: number;
458
449
  bestNonWinningVariantConversionChange: number;
@@ -524,8 +515,8 @@ export interface PostAbTestOutput {
524
515
  };
525
516
  validationResults: {
526
517
  isValid: boolean;
527
- warnings: string[] | null;
528
- errors: string[] | null;
518
+ warnings: string[];
519
+ errors: string[];
529
520
  };
530
521
  }
531
522
 
@@ -734,28 +725,26 @@ export interface GetAbTestEmptyOutput {
734
725
  isBenchmark: boolean;
735
726
  totalPageviewsForVariant: number;
736
727
  totalVisitorsForVariant: number;
737
- segment: string | null;
738
- previewSegment: string | null;
728
+ segment: string;
729
+ previewSegment: string;
739
730
  };
740
731
  visitors: number;
741
732
  goalCompletions: number;
742
733
  benchmarkVisitors: number;
743
734
  benchmarkGoalCompletions: number;
744
735
  conversionRate: number;
745
- mainGoalComparisons:
746
- | {
747
- mainGoalId: number;
748
- mainGoalCompletions: number;
749
- mainGoalCompletionsTotalValue: number;
750
- benchmarkMainGoalCompletions: number;
751
- isInvertedGoal: boolean;
752
- hurtingThreshold: number;
753
- mainGoalDifference: number;
754
- warning: boolean;
755
- mainGoalRatio?: number | null;
756
- isHurting: boolean;
757
- }[]
758
- | 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
+ }[];
759
748
  }[];
760
749
  currentVisitorsPerVariant: number;
761
750
  currentVisitors: number;
@@ -779,28 +768,26 @@ export interface GetAbTestEmptyOutput {
779
768
  isBenchmark: boolean;
780
769
  totalPageviewsForVariant: number;
781
770
  totalVisitorsForVariant: number;
782
- segment: string | null;
783
- previewSegment: string | null;
771
+ segment: string;
772
+ previewSegment: string;
784
773
  };
785
774
  visitors: number;
786
775
  goalCompletions: number;
787
776
  benchmarkVisitors: number;
788
777
  benchmarkGoalCompletions: number;
789
778
  conversionRate: number;
790
- mainGoalComparisons:
791
- | {
792
- mainGoalId: number;
793
- mainGoalCompletions: number;
794
- mainGoalCompletionsTotalValue: number;
795
- benchmarkMainGoalCompletions: number;
796
- isInvertedGoal: boolean;
797
- hurtingThreshold: number;
798
- mainGoalDifference: number;
799
- warning: boolean;
800
- mainGoalRatio?: number | null;
801
- isHurting: boolean;
802
- }[]
803
- | 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
+ }[];
804
791
  };
805
792
  bestNonBenchmarkVariant?: null | {
806
793
  abTestVariant: {
@@ -819,28 +806,26 @@ export interface GetAbTestEmptyOutput {
819
806
  isBenchmark: boolean;
820
807
  totalPageviewsForVariant: number;
821
808
  totalVisitorsForVariant: number;
822
- segment: string | null;
823
- previewSegment: string | null;
809
+ segment: string;
810
+ previewSegment: string;
824
811
  };
825
812
  visitors: number;
826
813
  goalCompletions: number;
827
814
  benchmarkVisitors: number;
828
815
  benchmarkGoalCompletions: number;
829
816
  conversionRate: number;
830
- mainGoalComparisons:
831
- | {
832
- mainGoalId: number;
833
- mainGoalCompletions: number;
834
- mainGoalCompletionsTotalValue: number;
835
- benchmarkMainGoalCompletions: number;
836
- isInvertedGoal: boolean;
837
- hurtingThreshold: number;
838
- mainGoalDifference: number;
839
- warning: boolean;
840
- mainGoalRatio?: number | null;
841
- isHurting: boolean;
842
- }[]
843
- | 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
+ }[];
844
829
  };
845
830
  earliestReliableVariant?: null | {
846
831
  abTestVariant: {
@@ -859,28 +844,26 @@ export interface GetAbTestEmptyOutput {
859
844
  isBenchmark: boolean;
860
845
  totalPageviewsForVariant: number;
861
846
  totalVisitorsForVariant: number;
862
- segment: string | null;
863
- previewSegment: string | null;
847
+ segment: string;
848
+ previewSegment: string;
864
849
  };
865
850
  visitors: number;
866
851
  goalCompletions: number;
867
852
  benchmarkVisitors: number;
868
853
  benchmarkGoalCompletions: number;
869
854
  conversionRate: number;
870
- mainGoalComparisons:
871
- | {
872
- mainGoalId: number;
873
- mainGoalCompletions: number;
874
- mainGoalCompletionsTotalValue: number;
875
- benchmarkMainGoalCompletions: number;
876
- isInvertedGoal: boolean;
877
- hurtingThreshold: number;
878
- mainGoalDifference: number;
879
- warning: boolean;
880
- mainGoalRatio?: number | null;
881
- isHurting: boolean;
882
- }[]
883
- | 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
+ }[];
884
867
  };
885
868
  bestPrognosis: {
886
869
  variantId: number;
@@ -910,28 +893,26 @@ export interface GetAbTestEmptyOutput {
910
893
  isBenchmark: boolean;
911
894
  totalPageviewsForVariant: number;
912
895
  totalVisitorsForVariant: number;
913
- segment: string | null;
914
- previewSegment: string | null;
896
+ segment: string;
897
+ previewSegment: string;
915
898
  };
916
899
  visitors: number;
917
900
  goalCompletions: number;
918
901
  benchmarkVisitors: number;
919
902
  benchmarkGoalCompletions: number;
920
903
  conversionRate: number;
921
- mainGoalComparisons:
922
- | {
923
- mainGoalId: number;
924
- mainGoalCompletions: number;
925
- mainGoalCompletionsTotalValue: number;
926
- benchmarkMainGoalCompletions: number;
927
- isInvertedGoal: boolean;
928
- hurtingThreshold: number;
929
- mainGoalDifference: number;
930
- warning: boolean;
931
- mainGoalRatio?: number | null;
932
- isHurting: boolean;
933
- }[]
934
- | 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
+ }[];
935
916
  };
936
917
  winningVariantConversionChange: number;
937
918
  bestNonWinningVariantConversionChange: number;
@@ -1066,28 +1047,26 @@ export interface PostAbTestRuntimeIndicationOutput {
1066
1047
  isBenchmark: boolean;
1067
1048
  totalPageviewsForVariant: number;
1068
1049
  totalVisitorsForVariant: number;
1069
- segment: string | null;
1070
- previewSegment: string | null;
1050
+ segment: string;
1051
+ previewSegment: string;
1071
1052
  };
1072
1053
  visitors: number;
1073
1054
  goalCompletions: number;
1074
1055
  benchmarkVisitors: number;
1075
1056
  benchmarkGoalCompletions: number;
1076
1057
  conversionRate: number;
1077
- mainGoalComparisons:
1078
- | {
1079
- mainGoalId: number;
1080
- mainGoalCompletions: number;
1081
- mainGoalCompletionsTotalValue: number;
1082
- benchmarkMainGoalCompletions: number;
1083
- isInvertedGoal: boolean;
1084
- hurtingThreshold: number;
1085
- mainGoalDifference: number;
1086
- warning: boolean;
1087
- mainGoalRatio?: number | null;
1088
- isHurting: boolean;
1089
- }[]
1090
- | 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
+ }[];
1091
1070
  }[];
1092
1071
  currentVisitorsPerVariant: number;
1093
1072
  currentVisitors: number;
@@ -1111,28 +1090,26 @@ export interface PostAbTestRuntimeIndicationOutput {
1111
1090
  isBenchmark: boolean;
1112
1091
  totalPageviewsForVariant: number;
1113
1092
  totalVisitorsForVariant: number;
1114
- segment: string | null;
1115
- previewSegment: string | null;
1093
+ segment: string;
1094
+ previewSegment: string;
1116
1095
  };
1117
1096
  visitors: number;
1118
1097
  goalCompletions: number;
1119
1098
  benchmarkVisitors: number;
1120
1099
  benchmarkGoalCompletions: number;
1121
1100
  conversionRate: number;
1122
- mainGoalComparisons:
1123
- | {
1124
- mainGoalId: number;
1125
- mainGoalCompletions: number;
1126
- mainGoalCompletionsTotalValue: number;
1127
- benchmarkMainGoalCompletions: number;
1128
- isInvertedGoal: boolean;
1129
- hurtingThreshold: number;
1130
- mainGoalDifference: number;
1131
- warning: boolean;
1132
- mainGoalRatio?: number | null;
1133
- isHurting: boolean;
1134
- }[]
1135
- | 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
+ }[];
1136
1113
  };
1137
1114
  bestNonBenchmarkVariant?: null | {
1138
1115
  abTestVariant: {
@@ -1151,28 +1128,26 @@ export interface PostAbTestRuntimeIndicationOutput {
1151
1128
  isBenchmark: boolean;
1152
1129
  totalPageviewsForVariant: number;
1153
1130
  totalVisitorsForVariant: number;
1154
- segment: string | null;
1155
- previewSegment: string | null;
1131
+ segment: string;
1132
+ previewSegment: string;
1156
1133
  };
1157
1134
  visitors: number;
1158
1135
  goalCompletions: number;
1159
1136
  benchmarkVisitors: number;
1160
1137
  benchmarkGoalCompletions: number;
1161
1138
  conversionRate: number;
1162
- mainGoalComparisons:
1163
- | {
1164
- mainGoalId: number;
1165
- mainGoalCompletions: number;
1166
- mainGoalCompletionsTotalValue: number;
1167
- benchmarkMainGoalCompletions: number;
1168
- isInvertedGoal: boolean;
1169
- hurtingThreshold: number;
1170
- mainGoalDifference: number;
1171
- warning: boolean;
1172
- mainGoalRatio?: number | null;
1173
- isHurting: boolean;
1174
- }[]
1175
- | 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
+ }[];
1176
1151
  };
1177
1152
  earliestReliableVariant?: null | {
1178
1153
  abTestVariant: {
@@ -1191,28 +1166,26 @@ export interface PostAbTestRuntimeIndicationOutput {
1191
1166
  isBenchmark: boolean;
1192
1167
  totalPageviewsForVariant: number;
1193
1168
  totalVisitorsForVariant: number;
1194
- segment: string | null;
1195
- previewSegment: string | null;
1169
+ segment: string;
1170
+ previewSegment: string;
1196
1171
  };
1197
1172
  visitors: number;
1198
1173
  goalCompletions: number;
1199
1174
  benchmarkVisitors: number;
1200
1175
  benchmarkGoalCompletions: number;
1201
1176
  conversionRate: number;
1202
- mainGoalComparisons:
1203
- | {
1204
- mainGoalId: number;
1205
- mainGoalCompletions: number;
1206
- mainGoalCompletionsTotalValue: number;
1207
- benchmarkMainGoalCompletions: number;
1208
- isInvertedGoal: boolean;
1209
- hurtingThreshold: number;
1210
- mainGoalDifference: number;
1211
- warning: boolean;
1212
- mainGoalRatio?: number | null;
1213
- isHurting: boolean;
1214
- }[]
1215
- | 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
+ }[];
1216
1189
  };
1217
1190
  bestPrognosis: {
1218
1191
  variantId: number;
@@ -1242,28 +1215,26 @@ export interface PostAbTestRuntimeIndicationOutput {
1242
1215
  isBenchmark: boolean;
1243
1216
  totalPageviewsForVariant: number;
1244
1217
  totalVisitorsForVariant: number;
1245
- segment: string | null;
1246
- previewSegment: string | null;
1218
+ segment: string;
1219
+ previewSegment: string;
1247
1220
  };
1248
1221
  visitors: number;
1249
1222
  goalCompletions: number;
1250
1223
  benchmarkVisitors: number;
1251
1224
  benchmarkGoalCompletions: number;
1252
1225
  conversionRate: number;
1253
- mainGoalComparisons:
1254
- | {
1255
- mainGoalId: number;
1256
- mainGoalCompletions: number;
1257
- mainGoalCompletionsTotalValue: number;
1258
- benchmarkMainGoalCompletions: number;
1259
- isInvertedGoal: boolean;
1260
- hurtingThreshold: number;
1261
- mainGoalDifference: number;
1262
- warning: boolean;
1263
- mainGoalRatio?: number | null;
1264
- isHurting: boolean;
1265
- }[]
1266
- | 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
+ }[];
1267
1238
  };
1268
1239
  winningVariantConversionChange: number;
1269
1240
  bestNonWinningVariantConversionChange: number;
@@ -1469,28 +1440,26 @@ export interface GetAbTestViewModelOutput {
1469
1440
  isBenchmark: boolean;
1470
1441
  totalPageviewsForVariant: number;
1471
1442
  totalVisitorsForVariant: number;
1472
- segment: string | null;
1473
- previewSegment: string | null;
1443
+ segment: string;
1444
+ previewSegment: string;
1474
1445
  };
1475
1446
  visitors: number;
1476
1447
  goalCompletions: number;
1477
1448
  benchmarkVisitors: number;
1478
1449
  benchmarkGoalCompletions: number;
1479
1450
  conversionRate: number;
1480
- mainGoalComparisons:
1481
- | {
1482
- mainGoalId: number;
1483
- mainGoalCompletions: number;
1484
- mainGoalCompletionsTotalValue: number;
1485
- benchmarkMainGoalCompletions: number;
1486
- isInvertedGoal: boolean;
1487
- hurtingThreshold: number;
1488
- mainGoalDifference: number;
1489
- warning: boolean;
1490
- mainGoalRatio?: number | null;
1491
- isHurting: boolean;
1492
- }[]
1493
- | 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
+ }[];
1494
1463
  }[];
1495
1464
  currentVisitorsPerVariant: number;
1496
1465
  currentVisitors: number;
@@ -1514,28 +1483,26 @@ export interface GetAbTestViewModelOutput {
1514
1483
  isBenchmark: boolean;
1515
1484
  totalPageviewsForVariant: number;
1516
1485
  totalVisitorsForVariant: number;
1517
- segment: string | null;
1518
- previewSegment: string | null;
1486
+ segment: string;
1487
+ previewSegment: string;
1519
1488
  };
1520
1489
  visitors: number;
1521
1490
  goalCompletions: number;
1522
1491
  benchmarkVisitors: number;
1523
1492
  benchmarkGoalCompletions: number;
1524
1493
  conversionRate: number;
1525
- mainGoalComparisons:
1526
- | {
1527
- mainGoalId: number;
1528
- mainGoalCompletions: number;
1529
- mainGoalCompletionsTotalValue: number;
1530
- benchmarkMainGoalCompletions: number;
1531
- isInvertedGoal: boolean;
1532
- hurtingThreshold: number;
1533
- mainGoalDifference: number;
1534
- warning: boolean;
1535
- mainGoalRatio?: number | null;
1536
- isHurting: boolean;
1537
- }[]
1538
- | 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
+ }[];
1539
1506
  };
1540
1507
  bestNonBenchmarkVariant?: null | {
1541
1508
  abTestVariant: {
@@ -1554,28 +1521,26 @@ export interface GetAbTestViewModelOutput {
1554
1521
  isBenchmark: boolean;
1555
1522
  totalPageviewsForVariant: number;
1556
1523
  totalVisitorsForVariant: number;
1557
- segment: string | null;
1558
- previewSegment: string | null;
1524
+ segment: string;
1525
+ previewSegment: string;
1559
1526
  };
1560
1527
  visitors: number;
1561
1528
  goalCompletions: number;
1562
1529
  benchmarkVisitors: number;
1563
1530
  benchmarkGoalCompletions: number;
1564
1531
  conversionRate: number;
1565
- mainGoalComparisons:
1566
- | {
1567
- mainGoalId: number;
1568
- mainGoalCompletions: number;
1569
- mainGoalCompletionsTotalValue: number;
1570
- benchmarkMainGoalCompletions: number;
1571
- isInvertedGoal: boolean;
1572
- hurtingThreshold: number;
1573
- mainGoalDifference: number;
1574
- warning: boolean;
1575
- mainGoalRatio?: number | null;
1576
- isHurting: boolean;
1577
- }[]
1578
- | 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
+ }[];
1579
1544
  };
1580
1545
  earliestReliableVariant?: null | {
1581
1546
  abTestVariant: {
@@ -1594,28 +1559,26 @@ export interface GetAbTestViewModelOutput {
1594
1559
  isBenchmark: boolean;
1595
1560
  totalPageviewsForVariant: number;
1596
1561
  totalVisitorsForVariant: number;
1597
- segment: string | null;
1598
- previewSegment: string | null;
1562
+ segment: string;
1563
+ previewSegment: string;
1599
1564
  };
1600
1565
  visitors: number;
1601
1566
  goalCompletions: number;
1602
1567
  benchmarkVisitors: number;
1603
1568
  benchmarkGoalCompletions: number;
1604
1569
  conversionRate: number;
1605
- mainGoalComparisons:
1606
- | {
1607
- mainGoalId: number;
1608
- mainGoalCompletions: number;
1609
- mainGoalCompletionsTotalValue: number;
1610
- benchmarkMainGoalCompletions: number;
1611
- isInvertedGoal: boolean;
1612
- hurtingThreshold: number;
1613
- mainGoalDifference: number;
1614
- warning: boolean;
1615
- mainGoalRatio?: number | null;
1616
- isHurting: boolean;
1617
- }[]
1618
- | 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
+ }[];
1619
1582
  };
1620
1583
  bestPrognosis: {
1621
1584
  variantId: number;
@@ -1645,28 +1608,26 @@ export interface GetAbTestViewModelOutput {
1645
1608
  isBenchmark: boolean;
1646
1609
  totalPageviewsForVariant: number;
1647
1610
  totalVisitorsForVariant: number;
1648
- segment: string | null;
1649
- previewSegment: string | null;
1611
+ segment: string;
1612
+ previewSegment: string;
1650
1613
  };
1651
1614
  visitors: number;
1652
1615
  goalCompletions: number;
1653
1616
  benchmarkVisitors: number;
1654
1617
  benchmarkGoalCompletions: number;
1655
1618
  conversionRate: number;
1656
- mainGoalComparisons:
1657
- | {
1658
- mainGoalId: number;
1659
- mainGoalCompletions: number;
1660
- mainGoalCompletionsTotalValue: number;
1661
- benchmarkMainGoalCompletions: number;
1662
- isInvertedGoal: boolean;
1663
- hurtingThreshold: number;
1664
- mainGoalDifference: number;
1665
- warning: boolean;
1666
- mainGoalRatio?: number | null;
1667
- isHurting: boolean;
1668
- }[]
1669
- | 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
+ }[];
1670
1631
  };
1671
1632
  winningVariantConversionChange: number;
1672
1633
  bestNonWinningVariantConversionChange: number;
@@ -1868,28 +1829,26 @@ export interface PostAbTestStartOutput {
1868
1829
  isBenchmark: boolean;
1869
1830
  totalPageviewsForVariant: number;
1870
1831
  totalVisitorsForVariant: number;
1871
- segment: string | null;
1872
- previewSegment: string | null;
1832
+ segment: string;
1833
+ previewSegment: string;
1873
1834
  };
1874
1835
  visitors: number;
1875
1836
  goalCompletions: number;
1876
1837
  benchmarkVisitors: number;
1877
1838
  benchmarkGoalCompletions: number;
1878
1839
  conversionRate: number;
1879
- mainGoalComparisons:
1880
- | {
1881
- mainGoalId: number;
1882
- mainGoalCompletions: number;
1883
- mainGoalCompletionsTotalValue: number;
1884
- benchmarkMainGoalCompletions: number;
1885
- isInvertedGoal: boolean;
1886
- hurtingThreshold: number;
1887
- mainGoalDifference: number;
1888
- warning: boolean;
1889
- mainGoalRatio?: number | null;
1890
- isHurting: boolean;
1891
- }[]
1892
- | 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
+ }[];
1893
1852
  }[];
1894
1853
  currentVisitorsPerVariant: number;
1895
1854
  currentVisitors: number;
@@ -1913,28 +1872,26 @@ export interface PostAbTestStartOutput {
1913
1872
  isBenchmark: boolean;
1914
1873
  totalPageviewsForVariant: number;
1915
1874
  totalVisitorsForVariant: number;
1916
- segment: string | null;
1917
- previewSegment: string | null;
1875
+ segment: string;
1876
+ previewSegment: string;
1918
1877
  };
1919
1878
  visitors: number;
1920
1879
  goalCompletions: number;
1921
1880
  benchmarkVisitors: number;
1922
1881
  benchmarkGoalCompletions: number;
1923
1882
  conversionRate: number;
1924
- mainGoalComparisons:
1925
- | {
1926
- mainGoalId: number;
1927
- mainGoalCompletions: number;
1928
- mainGoalCompletionsTotalValue: number;
1929
- benchmarkMainGoalCompletions: number;
1930
- isInvertedGoal: boolean;
1931
- hurtingThreshold: number;
1932
- mainGoalDifference: number;
1933
- warning: boolean;
1934
- mainGoalRatio?: number | null;
1935
- isHurting: boolean;
1936
- }[]
1937
- | 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
+ }[];
1938
1895
  };
1939
1896
  bestNonBenchmarkVariant?: null | {
1940
1897
  abTestVariant: {
@@ -1953,28 +1910,26 @@ export interface PostAbTestStartOutput {
1953
1910
  isBenchmark: boolean;
1954
1911
  totalPageviewsForVariant: number;
1955
1912
  totalVisitorsForVariant: number;
1956
- segment: string | null;
1957
- previewSegment: string | null;
1913
+ segment: string;
1914
+ previewSegment: string;
1958
1915
  };
1959
1916
  visitors: number;
1960
1917
  goalCompletions: number;
1961
1918
  benchmarkVisitors: number;
1962
1919
  benchmarkGoalCompletions: number;
1963
1920
  conversionRate: number;
1964
- mainGoalComparisons:
1965
- | {
1966
- mainGoalId: number;
1967
- mainGoalCompletions: number;
1968
- mainGoalCompletionsTotalValue: number;
1969
- benchmarkMainGoalCompletions: number;
1970
- isInvertedGoal: boolean;
1971
- hurtingThreshold: number;
1972
- mainGoalDifference: number;
1973
- warning: boolean;
1974
- mainGoalRatio?: number | null;
1975
- isHurting: boolean;
1976
- }[]
1977
- | 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
+ }[];
1978
1933
  };
1979
1934
  earliestReliableVariant?: null | {
1980
1935
  abTestVariant: {
@@ -1993,28 +1948,26 @@ export interface PostAbTestStartOutput {
1993
1948
  isBenchmark: boolean;
1994
1949
  totalPageviewsForVariant: number;
1995
1950
  totalVisitorsForVariant: number;
1996
- segment: string | null;
1997
- previewSegment: string | null;
1951
+ segment: string;
1952
+ previewSegment: string;
1998
1953
  };
1999
1954
  visitors: number;
2000
1955
  goalCompletions: number;
2001
1956
  benchmarkVisitors: number;
2002
1957
  benchmarkGoalCompletions: number;
2003
1958
  conversionRate: number;
2004
- mainGoalComparisons:
2005
- | {
2006
- mainGoalId: number;
2007
- mainGoalCompletions: number;
2008
- mainGoalCompletionsTotalValue: number;
2009
- benchmarkMainGoalCompletions: number;
2010
- isInvertedGoal: boolean;
2011
- hurtingThreshold: number;
2012
- mainGoalDifference: number;
2013
- warning: boolean;
2014
- mainGoalRatio?: number | null;
2015
- isHurting: boolean;
2016
- }[]
2017
- | 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
+ }[];
2018
1971
  };
2019
1972
  bestPrognosis: {
2020
1973
  variantId: number;
@@ -2044,28 +1997,26 @@ export interface PostAbTestStartOutput {
2044
1997
  isBenchmark: boolean;
2045
1998
  totalPageviewsForVariant: number;
2046
1999
  totalVisitorsForVariant: number;
2047
- segment: string | null;
2048
- previewSegment: string | null;
2000
+ segment: string;
2001
+ previewSegment: string;
2049
2002
  };
2050
2003
  visitors: number;
2051
2004
  goalCompletions: number;
2052
2005
  benchmarkVisitors: number;
2053
2006
  benchmarkGoalCompletions: number;
2054
2007
  conversionRate: number;
2055
- mainGoalComparisons:
2056
- | {
2057
- mainGoalId: number;
2058
- mainGoalCompletions: number;
2059
- mainGoalCompletionsTotalValue: number;
2060
- benchmarkMainGoalCompletions: number;
2061
- isInvertedGoal: boolean;
2062
- hurtingThreshold: number;
2063
- mainGoalDifference: number;
2064
- warning: boolean;
2065
- mainGoalRatio?: number | null;
2066
- isHurting: boolean;
2067
- }[]
2068
- | 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
+ }[];
2069
2020
  };
2070
2021
  winningVariantConversionChange: number;
2071
2022
  bestNonWinningVariantConversionChange: number;
@@ -2137,8 +2088,8 @@ export interface PostAbTestStartOutput {
2137
2088
  };
2138
2089
  validationResults: {
2139
2090
  isValid: boolean;
2140
- warnings: string[] | null;
2141
- errors: string[] | null;
2091
+ warnings: string[];
2092
+ errors: string[];
2142
2093
  };
2143
2094
  }
2144
2095
 
@@ -2277,28 +2228,26 @@ export interface PostAbTestStopOutput {
2277
2228
  isBenchmark: boolean;
2278
2229
  totalPageviewsForVariant: number;
2279
2230
  totalVisitorsForVariant: number;
2280
- segment: string | null;
2281
- previewSegment: string | null;
2231
+ segment: string;
2232
+ previewSegment: string;
2282
2233
  };
2283
2234
  visitors: number;
2284
2235
  goalCompletions: number;
2285
2236
  benchmarkVisitors: number;
2286
2237
  benchmarkGoalCompletions: number;
2287
2238
  conversionRate: number;
2288
- mainGoalComparisons:
2289
- | {
2290
- mainGoalId: number;
2291
- mainGoalCompletions: number;
2292
- mainGoalCompletionsTotalValue: number;
2293
- benchmarkMainGoalCompletions: number;
2294
- isInvertedGoal: boolean;
2295
- hurtingThreshold: number;
2296
- mainGoalDifference: number;
2297
- warning: boolean;
2298
- mainGoalRatio?: number | null;
2299
- isHurting: boolean;
2300
- }[]
2301
- | 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
+ }[];
2302
2251
  }[];
2303
2252
  currentVisitorsPerVariant: number;
2304
2253
  currentVisitors: number;
@@ -2322,28 +2271,26 @@ export interface PostAbTestStopOutput {
2322
2271
  isBenchmark: boolean;
2323
2272
  totalPageviewsForVariant: number;
2324
2273
  totalVisitorsForVariant: number;
2325
- segment: string | null;
2326
- previewSegment: string | null;
2274
+ segment: string;
2275
+ previewSegment: string;
2327
2276
  };
2328
2277
  visitors: number;
2329
2278
  goalCompletions: number;
2330
2279
  benchmarkVisitors: number;
2331
2280
  benchmarkGoalCompletions: number;
2332
2281
  conversionRate: number;
2333
- mainGoalComparisons:
2334
- | {
2335
- mainGoalId: number;
2336
- mainGoalCompletions: number;
2337
- mainGoalCompletionsTotalValue: number;
2338
- benchmarkMainGoalCompletions: number;
2339
- isInvertedGoal: boolean;
2340
- hurtingThreshold: number;
2341
- mainGoalDifference: number;
2342
- warning: boolean;
2343
- mainGoalRatio?: number | null;
2344
- isHurting: boolean;
2345
- }[]
2346
- | 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
+ }[];
2347
2294
  };
2348
2295
  bestNonBenchmarkVariant?: null | {
2349
2296
  abTestVariant: {
@@ -2362,28 +2309,26 @@ export interface PostAbTestStopOutput {
2362
2309
  isBenchmark: boolean;
2363
2310
  totalPageviewsForVariant: number;
2364
2311
  totalVisitorsForVariant: number;
2365
- segment: string | null;
2366
- previewSegment: string | null;
2312
+ segment: string;
2313
+ previewSegment: string;
2367
2314
  };
2368
2315
  visitors: number;
2369
2316
  goalCompletions: number;
2370
2317
  benchmarkVisitors: number;
2371
2318
  benchmarkGoalCompletions: number;
2372
2319
  conversionRate: number;
2373
- mainGoalComparisons:
2374
- | {
2375
- mainGoalId: number;
2376
- mainGoalCompletions: number;
2377
- mainGoalCompletionsTotalValue: number;
2378
- benchmarkMainGoalCompletions: number;
2379
- isInvertedGoal: boolean;
2380
- hurtingThreshold: number;
2381
- mainGoalDifference: number;
2382
- warning: boolean;
2383
- mainGoalRatio?: number | null;
2384
- isHurting: boolean;
2385
- }[]
2386
- | 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
+ }[];
2387
2332
  };
2388
2333
  earliestReliableVariant?: null | {
2389
2334
  abTestVariant: {
@@ -2402,28 +2347,26 @@ export interface PostAbTestStopOutput {
2402
2347
  isBenchmark: boolean;
2403
2348
  totalPageviewsForVariant: number;
2404
2349
  totalVisitorsForVariant: number;
2405
- segment: string | null;
2406
- previewSegment: string | null;
2350
+ segment: string;
2351
+ previewSegment: string;
2407
2352
  };
2408
2353
  visitors: number;
2409
2354
  goalCompletions: number;
2410
2355
  benchmarkVisitors: number;
2411
2356
  benchmarkGoalCompletions: number;
2412
2357
  conversionRate: number;
2413
- mainGoalComparisons:
2414
- | {
2415
- mainGoalId: number;
2416
- mainGoalCompletions: number;
2417
- mainGoalCompletionsTotalValue: number;
2418
- benchmarkMainGoalCompletions: number;
2419
- isInvertedGoal: boolean;
2420
- hurtingThreshold: number;
2421
- mainGoalDifference: number;
2422
- warning: boolean;
2423
- mainGoalRatio?: number | null;
2424
- isHurting: boolean;
2425
- }[]
2426
- | 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
+ }[];
2427
2370
  };
2428
2371
  bestPrognosis: {
2429
2372
  variantId: number;
@@ -2453,28 +2396,26 @@ export interface PostAbTestStopOutput {
2453
2396
  isBenchmark: boolean;
2454
2397
  totalPageviewsForVariant: number;
2455
2398
  totalVisitorsForVariant: number;
2456
- segment: string | null;
2457
- previewSegment: string | null;
2399
+ segment: string;
2400
+ previewSegment: string;
2458
2401
  };
2459
2402
  visitors: number;
2460
2403
  goalCompletions: number;
2461
2404
  benchmarkVisitors: number;
2462
2405
  benchmarkGoalCompletions: number;
2463
2406
  conversionRate: number;
2464
- mainGoalComparisons:
2465
- | {
2466
- mainGoalId: number;
2467
- mainGoalCompletions: number;
2468
- mainGoalCompletionsTotalValue: number;
2469
- benchmarkMainGoalCompletions: number;
2470
- isInvertedGoal: boolean;
2471
- hurtingThreshold: number;
2472
- mainGoalDifference: number;
2473
- warning: boolean;
2474
- mainGoalRatio?: number | null;
2475
- isHurting: boolean;
2476
- }[]
2477
- | 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
+ }[];
2478
2419
  };
2479
2420
  winningVariantConversionChange: number;
2480
2421
  bestNonWinningVariantConversionChange: number;
@@ -2546,43 +2487,43 @@ export interface PostAbTestStopOutput {
2546
2487
  };
2547
2488
  validationResults: {
2548
2489
  isValid: boolean;
2549
- warnings: string[] | null;
2550
- errors: string[] | null;
2490
+ warnings: string[];
2491
+ errors: string[];
2551
2492
  };
2552
2493
  }
2553
2494
 
2554
2495
  export interface PostAbTestArchiveInput {
2555
2496
  /**
2556
- * The real, existing A/B test's `unique` guid (from post-ab-test's response, or get-ab-test-all).
2497
+ * The A/B test's `unique` guid (from post-ab-test's response, or get-ab-test-all).
2557
2498
  */
2558
2499
  unique: string;
2559
2500
  /**
2560
- * true archives the test, false restores a previously archived test.
2501
+ * true to archive the test, false to restore an archived test.
2561
2502
  */
2562
2503
  archived: boolean;
2563
2504
  }
2564
2505
 
2565
2506
  export interface PostAbTestArchiveOutput {
2566
2507
  isValid: boolean;
2567
- warnings: string[] | null;
2568
- errors: string[] | null;
2508
+ warnings: string[];
2509
+ errors: string[];
2569
2510
  }
2570
2511
 
2571
2512
  export interface PostAbTestEndInput {
2572
2513
  /**
2573
- * The real, existing A/B test's `unique` guid (from post-ab-test's response, or get-ab-test-all).
2514
+ * The A/B test's `unique` guid (from post-ab-test's response, or get-ab-test-all).
2574
2515
  */
2575
2516
  unique: string;
2576
2517
  /**
2577
- * The status to end the test with: `Stopped` (halted, no winner chosen) or `Completed` (finished, usually with a `winnerKey`).
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.
2578
2519
  */
2579
2520
  status: "Stopped" | "Completed";
2580
2521
  /**
2581
- * The `unique` of the winning variant (from get-ab-test-variant-all / get-ab-test-view-model). Used when status is `Completed`.
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.
2582
2523
  */
2583
2524
  winnerKey?: string;
2584
2525
  /**
2585
- * What to do with the winning variant's page when completing: `Nothing`, `Publish` or `Draft`.
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.
2586
2527
  */
2587
2528
  onCompleteAction?: "Nothing" | "Publish" | "Draft";
2588
2529
  }
@@ -2699,28 +2640,26 @@ export interface PostAbTestEndOutput {
2699
2640
  isBenchmark: boolean;
2700
2641
  totalPageviewsForVariant: number;
2701
2642
  totalVisitorsForVariant: number;
2702
- segment: string | null;
2703
- previewSegment: string | null;
2643
+ segment: string;
2644
+ previewSegment: string;
2704
2645
  };
2705
2646
  visitors: number;
2706
2647
  goalCompletions: number;
2707
2648
  benchmarkVisitors: number;
2708
2649
  benchmarkGoalCompletions: number;
2709
2650
  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;
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
+ }[];
2724
2663
  }[];
2725
2664
  currentVisitorsPerVariant: number;
2726
2665
  currentVisitors: number;
@@ -2744,28 +2683,26 @@ export interface PostAbTestEndOutput {
2744
2683
  isBenchmark: boolean;
2745
2684
  totalPageviewsForVariant: number;
2746
2685
  totalVisitorsForVariant: number;
2747
- segment: string | null;
2748
- previewSegment: string | null;
2686
+ segment: string;
2687
+ previewSegment: string;
2749
2688
  };
2750
2689
  visitors: number;
2751
2690
  goalCompletions: number;
2752
2691
  benchmarkVisitors: number;
2753
2692
  benchmarkGoalCompletions: number;
2754
2693
  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;
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
+ }[];
2769
2706
  };
2770
2707
  bestNonBenchmarkVariant?: null | {
2771
2708
  abTestVariant: {
@@ -2784,28 +2721,26 @@ export interface PostAbTestEndOutput {
2784
2721
  isBenchmark: boolean;
2785
2722
  totalPageviewsForVariant: number;
2786
2723
  totalVisitorsForVariant: number;
2787
- segment: string | null;
2788
- previewSegment: string | null;
2724
+ segment: string;
2725
+ previewSegment: string;
2789
2726
  };
2790
2727
  visitors: number;
2791
2728
  goalCompletions: number;
2792
2729
  benchmarkVisitors: number;
2793
2730
  benchmarkGoalCompletions: number;
2794
2731
  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;
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
+ }[];
2809
2744
  };
2810
2745
  earliestReliableVariant?: null | {
2811
2746
  abTestVariant: {
@@ -2824,28 +2759,26 @@ export interface PostAbTestEndOutput {
2824
2759
  isBenchmark: boolean;
2825
2760
  totalPageviewsForVariant: number;
2826
2761
  totalVisitorsForVariant: number;
2827
- segment: string | null;
2828
- previewSegment: string | null;
2762
+ segment: string;
2763
+ previewSegment: string;
2829
2764
  };
2830
2765
  visitors: number;
2831
2766
  goalCompletions: number;
2832
2767
  benchmarkVisitors: number;
2833
2768
  benchmarkGoalCompletions: number;
2834
2769
  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;
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
+ }[];
2849
2782
  };
2850
2783
  bestPrognosis: {
2851
2784
  variantId: number;
@@ -2875,28 +2808,26 @@ export interface PostAbTestEndOutput {
2875
2808
  isBenchmark: boolean;
2876
2809
  totalPageviewsForVariant: number;
2877
2810
  totalVisitorsForVariant: number;
2878
- segment: string | null;
2879
- previewSegment: string | null;
2811
+ segment: string;
2812
+ previewSegment: string;
2880
2813
  };
2881
2814
  visitors: number;
2882
2815
  goalCompletions: number;
2883
2816
  benchmarkVisitors: number;
2884
2817
  benchmarkGoalCompletions: number;
2885
2818
  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;
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
+ }[];
2900
2831
  };
2901
2832
  winningVariantConversionChange: number;
2902
2833
  bestNonWinningVariantConversionChange: number;
@@ -2968,14 +2899,14 @@ export interface PostAbTestEndOutput {
2968
2899
  };
2969
2900
  validationResults: {
2970
2901
  isValid: boolean;
2971
- warnings: string[] | null;
2972
- errors: string[] | null;
2902
+ warnings: string[];
2903
+ errors: string[];
2973
2904
  };
2974
2905
  }
2975
2906
 
2976
2907
  export interface PostAbTestUnscheduleInput {
2977
2908
  /**
2978
- * The real, existing A/B test's `unique` guid (from post-ab-test's response, or get-ab-test-all).
2909
+ * The Scheduled A/B test's `unique` guid (from post-ab-test's response, or get-ab-test-all).
2979
2910
  */
2980
2911
  unique: string;
2981
2912
  }
@@ -3064,8 +2995,8 @@ export interface PostAbTestUnscheduleOutput {
3064
2995
  };
3065
2996
  validationResults: {
3066
2997
  isValid: boolean;
3067
- warnings: string[] | null;
3068
- errors: string[] | null;
2998
+ warnings: string[];
2999
+ errors: string[];
3069
3000
  };
3070
3001
  }
3071
3002
 
@@ -3906,7 +3837,6 @@ export interface PostAnalyticsQueryInput {
3906
3837
  | "umbracoFormsFieldAbandons"
3907
3838
  | "umbracoFormsFieldErrors"
3908
3839
  | "avgEngagedTimeOnPage"
3909
- | "pageviewsBot"
3910
3840
  | "pageSessions"
3911
3841
  | "pageVisitors"
3912
3842
  | "pageSessionsWithSubpages"
@@ -4138,7 +4068,6 @@ export interface PostAnalyticsQueryInput {
4138
4068
  | "umbracoFormsFieldAbandons"
4139
4069
  | "umbracoFormsFieldErrors"
4140
4070
  | "avgEngagedTimeOnPage"
4141
- | "pageviewsBot"
4142
4071
  | "pageSessions"
4143
4072
  | "pageVisitors"
4144
4073
  | "pageSessionsWithSubpages"
@@ -4167,12 +4096,18 @@ export interface PostAnalyticsQueryInput {
4167
4096
  | "entrySessions"
4168
4097
  );
4169
4098
  ascending?: boolean;
4170
- page?: number;
4171
- pageSize?: number;
4172
4099
  search?: string | null;
4173
4100
  includeTotals?: boolean | null;
4174
4101
  includeTotalRows?: boolean | null;
4175
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;
4176
4111
  }
4177
4112
 
4178
4113
  export interface PostAnalyticsQueryOutput {
@@ -4291,7 +4226,195 @@ export interface PostAnalyticsQueryOutput {
4291
4226
  | "umbracoFormsFieldAbandons"
4292
4227
  | "umbracoFormsFieldErrors"
4293
4228
  | "avgEngagedTimeOnPage"
4294
- | "pageviewsBot"
4229
+ | "pageSessions"
4230
+ | "pageVisitors"
4231
+ | "pageSessionsWithSubpages"
4232
+ | "pageVisitorsWithSubpages"
4233
+ | "activeSegmentPageviews"
4234
+ | "inactiveSegmentPageviews"
4235
+ | "activeSegmentSessions"
4236
+ | "inactiveSegmentSessions"
4237
+ | "activeSegmentProfiles"
4238
+ | "inactiveSegmentProfiles"
4239
+ | "activePersonalizedSegmentPageviews"
4240
+ | "inactivePersonalizedSegmentPageviews"
4241
+ | "activePersonalizedSegmentSessions"
4242
+ | "inactivePersonalizedSegmentSessions"
4243
+ | "activePersonalizedSegmentProfiles"
4244
+ | "inactivePersonalizedSegmentProfiles"
4245
+ | "searchVolume"
4246
+ | "searchVolumeWithSubpages"
4247
+ | "visitors"
4248
+ | "campaignEntries"
4249
+ | "campaignVisitors"
4250
+ | "campaignGoals"
4251
+ | "campaignGoalValue"
4252
+ | "campaignFormSubmissions"
4253
+ | "campaignCommerceOrders"
4254
+ | "entrySessions"
4255
+ )[];
4256
+ currentPage: number;
4257
+ rows: unknown[][];
4258
+ rowsPerPage: number;
4259
+ totalRows: number;
4260
+ totalPages: number;
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"
4295
4418
  | "pageSessions"
4296
4419
  | "pageVisitors"
4297
4420
  | "pageSessionsWithSubpages"
@@ -4853,9 +4976,8 @@ export interface GetConfigurationInput {}
4853
4976
 
4854
4977
  export interface GetConfigurationOutput {
4855
4978
  settings: {
4856
- databaseConnectionStringName: string | null;
4979
+ databaseConnectionStringName: string;
4857
4980
  enabled: boolean;
4858
- useLegacySegmentNames: boolean;
4859
4981
  suspiciousActivity: {
4860
4982
  pageviewThreshold: number;
4861
4983
  };
@@ -4863,8 +4985,8 @@ export interface GetConfigurationOutput {
4863
4985
  analytics: {
4864
4986
  visitorCookie: {
4865
4987
  expirationInDays: number;
4866
- cookieName: string | null;
4867
- legacyCookieName: string | null;
4988
+ cookieName: string;
4989
+ legacyCookieName: string;
4868
4990
  includeSubdomains: boolean;
4869
4991
  };
4870
4992
  dataCollection: {
@@ -4875,9 +4997,9 @@ export interface GetConfigurationOutput {
4875
4997
  regexTimeoutInMilliseconds: number;
4876
4998
  internalSiteSearch: {
4877
4999
  automaticSearchTracking: boolean;
4878
- searchTermParameters: string[] | null;
4879
- searchBoxParameters: string[] | null;
4880
- categoryParameters: string[] | null;
5000
+ searchTermParameters: string[];
5001
+ searchBoxParameters: string[];
5002
+ categoryParameters: string[];
4881
5003
  };
4882
5004
  };
4883
5005
  dataStorage: {
@@ -4894,13 +5016,10 @@ export interface GetConfigurationOutput {
4894
5016
  };
4895
5017
  dataCleanup: {
4896
5018
  enabled: boolean;
4897
- firstRunTime: string | null;
5019
+ firstRunTime: string;
4898
5020
  startupDelay: string;
4899
5021
  interval: string;
4900
5022
  commandTimeout: number;
4901
- startAfterSeconds: number;
4902
- intervalInSeconds: number;
4903
- numberOfRows: number;
4904
5023
  };
4905
5024
  };
4906
5025
  abTesting: {
@@ -4914,8 +5033,8 @@ export interface GetConfigurationOutput {
4914
5033
  engagedThresholdNumberOfSessions: number;
4915
5034
  };
4916
5035
  identification: {
4917
- name: string | null;
4918
- abbreviation: string | null;
5036
+ name: string;
5037
+ abbreviation: string;
4919
5038
  };
4920
5039
  };
4921
5040
  reporting: {
@@ -4923,11 +5042,11 @@ export interface GetConfigurationOutput {
4923
5042
  dataGenerationTime?: string | null;
4924
5043
  timezone?: string | null;
4925
5044
  reportingTimeZone: {
4926
- id: string | null;
5045
+ id: string;
4927
5046
  hasIanaId: boolean;
4928
- displayName: string | null;
4929
- standardName: string | null;
4930
- daylightName: string | null;
5047
+ displayName: string;
5048
+ standardName: string;
5049
+ daylightName: string;
4931
5050
  baseUtcOffset: string;
4932
5051
  supportsDaylightSavingTime: boolean;
4933
5052
  };
@@ -4960,11 +5079,11 @@ export interface GetConfigurationOutput {
4960
5079
  cleanupIntervalMinutes: number;
4961
5080
  tokenRetentionBufferMinutes: number;
4962
5081
  sessionRetentionBufferMinutes: number;
4963
- sessionCookieSameSite: string | null;
5082
+ sessionCookieSameSite: string;
4964
5083
  };
4965
5084
  };
4966
5085
  segmentation: {
4967
- excludedPropertyAliases: string[] | null;
5086
+ excludedPropertyAliases: string[];
4968
5087
  };
4969
5088
  }
4970
5089
 
@@ -5062,8 +5181,8 @@ export interface DeleteCustomerJourneyInput {
5062
5181
 
5063
5182
  export interface DeleteCustomerJourneyOutput {
5064
5183
  isValid: boolean;
5065
- warnings: string[] | null;
5066
- errors: string[] | null;
5184
+ warnings: string[];
5185
+ errors: string[];
5067
5186
  }
5068
5187
 
5069
5188
  export interface PostCustomerJourneyInput {
@@ -5120,8 +5239,8 @@ export interface PostCustomerJourneyOutput {
5120
5239
  };
5121
5240
  validationResults: {
5122
5241
  isValid: boolean;
5123
- warnings: string[] | null;
5124
- errors: string[] | null;
5242
+ warnings: string[];
5243
+ errors: string[];
5125
5244
  };
5126
5245
  }
5127
5246
 
@@ -5451,9 +5570,9 @@ export interface GetGoalAllTypesInput {}
5451
5570
 
5452
5571
  export interface GetGoalAllTypesOutput {
5453
5572
  items: {
5454
- configurationEditorAlias: string | null;
5573
+ configurationEditorAlias: string;
5455
5574
  id: string;
5456
- name: string | null;
5575
+ name: string;
5457
5576
  }[];
5458
5577
  }
5459
5578
 
@@ -5467,10 +5586,10 @@ export interface GetGoalDetailsInput {
5467
5586
  export interface GetGoalDetailsOutput {
5468
5587
  id: number;
5469
5588
  unique: string;
5470
- name: string | null;
5589
+ name: string;
5471
5590
  value: number;
5472
5591
  goalTypeId: string;
5473
- goalTypeConfig: string | null;
5592
+ goalTypeConfig: string;
5474
5593
  isMain: boolean;
5475
5594
  isInverted: boolean;
5476
5595
  isActive: boolean;
@@ -5628,8 +5747,8 @@ export interface DeletePersonaInput {
5628
5747
 
5629
5748
  export interface DeletePersonaOutput {
5630
5749
  isValid: boolean;
5631
- warnings: string[] | null;
5632
- errors: string[] | null;
5750
+ warnings: string[];
5751
+ errors: string[];
5633
5752
  }
5634
5753
 
5635
5754
  export interface PostPersonaInput {
@@ -5689,8 +5808,8 @@ export interface PostPersonaOutput {
5689
5808
  };
5690
5809
  validationResults: {
5691
5810
  isValid: boolean;
5692
- warnings: string[] | null;
5693
- errors: string[] | null;
5811
+ warnings: string[];
5812
+ errors: string[];
5694
5813
  };
5695
5814
  }
5696
5815
 
@@ -6362,14 +6481,12 @@ export interface PostReferralScoringScoredOutput {
6362
6481
  totalPages: number;
6363
6482
  totalRowCount: number;
6364
6483
  itemsPerPage: number;
6365
- rows:
6366
- | {
6367
- id: number;
6368
- referralGroupId?: number | null;
6369
- url?: string | null;
6370
- referrals: number;
6371
- }[]
6372
- | null;
6484
+ rows: {
6485
+ id: number;
6486
+ referralGroupId?: number | null;
6487
+ url?: string | null;
6488
+ referrals: number;
6489
+ }[];
6373
6490
  }
6374
6491
 
6375
6492
  export interface PostReferralScoringUnscoredInput {
@@ -6383,14 +6500,12 @@ export interface PostReferralScoringUnscoredOutput {
6383
6500
  totalPages: number;
6384
6501
  totalRowCount: number;
6385
6502
  itemsPerPage: number;
6386
- rows:
6387
- | {
6388
- id: number;
6389
- referralGroupId?: number | null;
6390
- url?: string | null;
6391
- referrals: number;
6392
- }[]
6393
- | null;
6503
+ rows: {
6504
+ id: number;
6505
+ referralGroupId?: number | null;
6506
+ url?: string | null;
6507
+ referrals: number;
6508
+ }[];
6394
6509
  }
6395
6510
 
6396
6511
  export interface GetReportingInput {
@@ -6627,6 +6742,39 @@ export interface PostSegmentsUpdatePriorityInput {
6627
6742
  }[];
6628
6743
  }
6629
6744
 
6745
+ export interface GetSegmentsEditableSegmentsInput {
6746
+ /**
6747
+ * 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.
6748
+ */
6749
+ id?: string;
6750
+ /**
6751
+ * The content item's document type unique guid, as a string. Required by the API.
6752
+ */
6753
+ contentType: string;
6754
+ /**
6755
+ * The content item's entity type. Defaults to document.
6756
+ */
6757
+ entityType?: string;
6758
+ }
6759
+
6760
+ export interface GetSegmentsEditableSegmentsOutput {
6761
+ items: {
6762
+ alias: string;
6763
+ name: string;
6764
+ cultures?: string[] | null;
6765
+ }[];
6766
+ }
6767
+
6768
+ export interface GetStartPageSetupStatusInput {}
6769
+
6770
+ export interface GetStartPageSetupStatusOutput {
6771
+ pageviewRecorded: boolean;
6772
+ segmentExists: boolean;
6773
+ goalExists: boolean;
6774
+ abTestExists: boolean;
6775
+ personalizationExists: boolean;
6776
+ }
6777
+
6630
6778
  export interface GetStatisticsInput {}
6631
6779
 
6632
6780
  export interface GetStatisticsOutput {
@@ -6772,6 +6920,7 @@ export interface EngageTools {
6772
6920
  "get-ab-test-variant-segment": { input: GetAbTestVariantSegmentInput; output: GetAbTestVariantSegmentOutput };
6773
6921
  "get-analytics-distinct": { input: GetAnalyticsDistinctInput; output: GetAnalyticsDistinctOutput };
6774
6922
  "post-analytics-query": { input: PostAnalyticsQueryInput; output: PostAnalyticsQueryOutput };
6923
+ "post-analytics-rendered-segments": { input: PostAnalyticsRenderedSegmentsInput; output: PostAnalyticsRenderedSegmentsOutput };
6775
6924
  "delete-annotations": { input: DeleteAnnotationsInput; output: unknown };
6776
6925
  "post-annotations": { input: PostAnnotationsInput; output: PostAnnotationsOutput };
6777
6926
  "get-annotations-all": { input: GetAnnotationsAllInput; output: GetAnnotationsAllOutput };
@@ -6869,6 +7018,8 @@ export interface EngageTools {
6869
7018
  "get-segments-all": { input: GetSegmentsAllInput; output: GetSegmentsAllOutput };
6870
7019
  "get-segments-locations-data": { input: GetSegmentsLocationsDataInput; output: GetSegmentsLocationsDataOutput };
6871
7020
  "post-segments-update-priority": { input: PostSegmentsUpdatePriorityInput; output: unknown };
7021
+ "get-segments-editable-segments": { input: GetSegmentsEditableSegmentsInput; output: GetSegmentsEditableSegmentsOutput };
7022
+ "get-start-page-setup-status": { input: GetStartPageSetupStatusInput; output: GetStartPageSetupStatusOutput };
6872
7023
  "get-statistics": { input: GetStatisticsInput; output: GetStatisticsOutput };
6873
7024
  "get-suspicious-activity-overview": { input: GetSuspiciousActivityOverviewInput; output: GetSuspiciousActivityOverviewOutput };
6874
7025
  "delete-traffic-filter": { input: DeleteTrafficFilterInput; output: unknown };