@umbraco-engage/mcp 17.5.0 → 18.2.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;
8
- domains: string[];
7
+ tierName: string | null;
8
+ domains: string[] | null;
9
9
  featureAnalyticsEnabled: boolean;
10
10
  featureAbTestingEnabled: boolean;
11
11
  featurePersonalizationEnabled: boolean;
@@ -18,7 +18,7 @@ export interface GetPackageOutput {
18
18
  monthlyPageviewLimit: number;
19
19
  currentPageviewsThisMonth: number;
20
20
  version?: string | null;
21
- whitelistedDomainRegexes: string[];
21
+ whitelistedDomainRegexes: string[] | null;
22
22
  }
23
23
 
24
24
  export interface DeleteAbTestInput {
@@ -27,8 +27,8 @@ export interface DeleteAbTestInput {
27
27
 
28
28
  export interface DeleteAbTestOutput {
29
29
  isValid: boolean;
30
- warnings: string[];
31
- errors: string[];
30
+ warnings: string[] | null;
31
+ errors: string[] | null;
32
32
  }
33
33
 
34
34
  export interface GetAbTestInput {
@@ -36,16 +36,14 @@ export interface GetAbTestInput {
36
36
  }
37
37
 
38
38
  export interface GetAbTestOutput {
39
- id: number;
40
- created: string;
41
39
  unique: string;
42
40
  projectKey?: string | null;
43
41
  goalKey?: string | null;
44
- status: "Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft";
42
+ status?: null | ("Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft" | null);
45
43
  name?: string | null;
46
44
  description?: string | null;
47
45
  createdByUmbracoUserName?: string | null;
48
- testType: "SinglePage" | "MultiPage" | "ContentType" | "SplitUrl";
46
+ testType?: null | ("SinglePage" | "MultiPage" | "ContentType" | "SplitUrl" | null);
49
47
  startTime?: string | null;
50
48
  endTime?: string | null;
51
49
  participationPercentage?: number | null;
@@ -85,7 +83,7 @@ export interface GetAbTestOutput {
85
83
  contentTypeName?: string | null;
86
84
  culture?: string | null;
87
85
  }[];
88
- winner?: {
86
+ winner?: null | {
89
87
  id: number;
90
88
  unique: string;
91
89
  abTestId: number;
@@ -104,7 +102,7 @@ export interface GetAbTestOutput {
104
102
  previewSegment?: string | null;
105
103
  totalPageviewsForVariant: number;
106
104
  totalVisitorsForVariant: number;
107
- } | null;
105
+ };
108
106
  isCompleted: boolean;
109
107
  completedOn?: string | null;
110
108
  completedByUmbracoUserKey?: string | null;
@@ -114,6 +112,8 @@ export interface GetAbTestOutput {
114
112
  viableVisitorThreshold?: number | null;
115
113
  previewNodeKey?: string | null;
116
114
  onCompleteAction: "Nothing" | "Publish" | "Draft";
115
+ id: number;
116
+ created: string;
117
117
  }
118
118
 
119
119
  export interface PostAbTestInput {
@@ -145,16 +145,14 @@ export interface PostAbTestInput {
145
145
  export interface PostAbTestOutput {
146
146
  test: {
147
147
  test: {
148
- id: number;
149
- created: string;
150
148
  unique: string;
151
149
  projectKey?: string | null;
152
150
  goalKey?: string | null;
153
- status: "Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft";
151
+ status?: null | ("Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft" | null);
154
152
  name?: string | null;
155
153
  description?: string | null;
156
154
  createdByUmbracoUserName?: string | null;
157
- testType: "SinglePage" | "MultiPage" | "ContentType" | "SplitUrl";
155
+ testType?: null | ("SinglePage" | "MultiPage" | "ContentType" | "SplitUrl" | null);
158
156
  startTime?: string | null;
159
157
  endTime?: string | null;
160
158
  participationPercentage?: number | null;
@@ -194,7 +192,7 @@ export interface PostAbTestOutput {
194
192
  contentTypeName?: string | null;
195
193
  culture?: string | null;
196
194
  }[];
197
- winner?: {
195
+ winner?: null | {
198
196
  id: number;
199
197
  unique: string;
200
198
  abTestId: number;
@@ -213,7 +211,7 @@ export interface PostAbTestOutput {
213
211
  previewSegment?: string | null;
214
212
  totalPageviewsForVariant: number;
215
213
  totalVisitorsForVariant: number;
216
- } | null;
214
+ };
217
215
  isCompleted: boolean;
218
216
  completedOn?: string | null;
219
217
  completedByUmbracoUserKey?: string | null;
@@ -223,8 +221,10 @@ export interface PostAbTestOutput {
223
221
  viableVisitorThreshold?: number | null;
224
222
  previewNodeKey?: string | null;
225
223
  onCompleteAction: "Nothing" | "Publish" | "Draft";
224
+ id: number;
225
+ created: string;
226
226
  };
227
- indication?: {
227
+ indication?: null | {
228
228
  estimatedRuntimeInDays?: number | null;
229
229
  estimatedRequiredRuntimeRemainingInDays?: number | null;
230
230
  currentRuntimeInDays: number;
@@ -235,7 +235,7 @@ export interface PostAbTestOutput {
235
235
  requiredVisitorsTotal?: number | null;
236
236
  requiredVisitorsPerVariant?: number | null;
237
237
  expectedDailyVisitors: number;
238
- status: "Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft";
238
+ status: "Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft" | null;
239
239
  hurtingVariants: {
240
240
  abTestVariant: {
241
241
  id: number;
@@ -253,33 +253,35 @@ export interface PostAbTestOutput {
253
253
  isBenchmark: boolean;
254
254
  totalPageviewsForVariant: number;
255
255
  totalVisitorsForVariant: number;
256
- segment: string;
257
- previewSegment: string;
256
+ segment: string | null;
257
+ previewSegment: string | null;
258
258
  };
259
259
  visitors: number;
260
260
  goalCompletions: number;
261
261
  benchmarkVisitors: number;
262
262
  benchmarkGoalCompletions: number;
263
263
  conversionRate: number;
264
- mainGoalComparisons: {
265
- mainGoalId: number;
266
- mainGoalCompletions: number;
267
- mainGoalCompletionsTotalValue: number;
268
- benchmarkMainGoalCompletions: number;
269
- isInvertedGoal: boolean;
270
- hurtingThreshold: number;
271
- mainGoalDifference: number;
272
- warning: boolean;
273
- mainGoalRatio?: number | null;
274
- isHurting: boolean;
275
- }[];
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;
276
278
  }[];
277
279
  currentVisitorsPerVariant: number;
278
280
  currentVisitors: number;
279
281
  reliableVariants: number;
280
282
  isInvertedGoal: boolean;
281
283
  originalVariantIsWinning: boolean;
282
- winningVariant?: {
284
+ winningVariant?: null | {
283
285
  abTestVariant: {
284
286
  id: number;
285
287
  unique: string;
@@ -296,28 +298,30 @@ export interface PostAbTestOutput {
296
298
  isBenchmark: boolean;
297
299
  totalPageviewsForVariant: number;
298
300
  totalVisitorsForVariant: number;
299
- segment: string;
300
- previewSegment: string;
301
+ segment: string | null;
302
+ previewSegment: string | null;
301
303
  };
302
304
  visitors: number;
303
305
  goalCompletions: number;
304
306
  benchmarkVisitors: number;
305
307
  benchmarkGoalCompletions: number;
306
308
  conversionRate: number;
307
- mainGoalComparisons: {
308
- mainGoalId: number;
309
- mainGoalCompletions: number;
310
- mainGoalCompletionsTotalValue: number;
311
- benchmarkMainGoalCompletions: number;
312
- isInvertedGoal: boolean;
313
- hurtingThreshold: number;
314
- mainGoalDifference: number;
315
- warning: boolean;
316
- mainGoalRatio?: number | null;
317
- isHurting: boolean;
318
- }[];
319
- } | null;
320
- bestNonBenchmarkVariant?: {
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;
323
+ };
324
+ bestNonBenchmarkVariant?: null | {
321
325
  abTestVariant: {
322
326
  id: number;
323
327
  unique: string;
@@ -334,28 +338,30 @@ export interface PostAbTestOutput {
334
338
  isBenchmark: boolean;
335
339
  totalPageviewsForVariant: number;
336
340
  totalVisitorsForVariant: number;
337
- segment: string;
338
- previewSegment: string;
341
+ segment: string | null;
342
+ previewSegment: string | null;
339
343
  };
340
344
  visitors: number;
341
345
  goalCompletions: number;
342
346
  benchmarkVisitors: number;
343
347
  benchmarkGoalCompletions: number;
344
348
  conversionRate: number;
345
- mainGoalComparisons: {
346
- mainGoalId: number;
347
- mainGoalCompletions: number;
348
- mainGoalCompletionsTotalValue: number;
349
- benchmarkMainGoalCompletions: number;
350
- isInvertedGoal: boolean;
351
- hurtingThreshold: number;
352
- mainGoalDifference: number;
353
- warning: boolean;
354
- mainGoalRatio?: number | null;
355
- isHurting: boolean;
356
- }[];
357
- } | null;
358
- earliestReliableVariant?: {
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;
363
+ };
364
+ earliestReliableVariant?: null | {
359
365
  abTestVariant: {
360
366
  id: number;
361
367
  unique: string;
@@ -372,27 +378,29 @@ export interface PostAbTestOutput {
372
378
  isBenchmark: boolean;
373
379
  totalPageviewsForVariant: number;
374
380
  totalVisitorsForVariant: number;
375
- segment: string;
376
- previewSegment: string;
381
+ segment: string | null;
382
+ previewSegment: string | null;
377
383
  };
378
384
  visitors: number;
379
385
  goalCompletions: number;
380
386
  benchmarkVisitors: number;
381
387
  benchmarkGoalCompletions: number;
382
388
  conversionRate: number;
383
- mainGoalComparisons: {
384
- mainGoalId: number;
385
- mainGoalCompletions: number;
386
- mainGoalCompletionsTotalValue: number;
387
- benchmarkMainGoalCompletions: number;
388
- isInvertedGoal: boolean;
389
- hurtingThreshold: number;
390
- mainGoalDifference: number;
391
- warning: boolean;
392
- mainGoalRatio?: number | null;
393
- isHurting: boolean;
394
- }[];
395
- } | null;
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;
403
+ };
396
404
  bestPrognosis: {
397
405
  variantId: number;
398
406
  conversionIncrease: number;
@@ -404,7 +412,7 @@ export interface PostAbTestOutput {
404
412
  remainingVisitors?: number | null;
405
413
  isReliable: boolean;
406
414
  };
407
- winner?: {
415
+ winner?: null | {
408
416
  abTestVariant: {
409
417
  id: number;
410
418
  unique: string;
@@ -421,27 +429,29 @@ export interface PostAbTestOutput {
421
429
  isBenchmark: boolean;
422
430
  totalPageviewsForVariant: number;
423
431
  totalVisitorsForVariant: number;
424
- segment: string;
425
- previewSegment: string;
432
+ segment: string | null;
433
+ previewSegment: string | null;
426
434
  };
427
435
  visitors: number;
428
436
  goalCompletions: number;
429
437
  benchmarkVisitors: number;
430
438
  benchmarkGoalCompletions: number;
431
439
  conversionRate: number;
432
- mainGoalComparisons: {
433
- mainGoalId: number;
434
- mainGoalCompletions: number;
435
- mainGoalCompletionsTotalValue: number;
436
- benchmarkMainGoalCompletions: number;
437
- isInvertedGoal: boolean;
438
- hurtingThreshold: number;
439
- mainGoalDifference: number;
440
- warning: boolean;
441
- mainGoalRatio?: number | null;
442
- isHurting: boolean;
443
- }[];
444
- } | null;
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;
454
+ };
445
455
  winningVariantConversionChange: number;
446
456
  bestNonWinningVariantConversionChange: number;
447
457
  winnerConversionChange: number;
@@ -455,27 +465,9 @@ export interface PostAbTestOutput {
455
465
  variantStatus: {
456
466
  [k: string]: "Running" | "Warning" | "Disabled" | "Reliable" | "Stopped" | "Scheduled" | "Completed" | "Draft";
457
467
  };
458
- } | null;
468
+ };
459
469
  variants?:
460
470
  | {
461
- id: number;
462
- unique: string;
463
- abTestId: number;
464
- name?: string | null;
465
- description?: string | null;
466
- redirectNodeKey?: string | null;
467
- css?: string | null;
468
- javascript?: string | null;
469
- created: string;
470
- createdByUmbracoUserKey: string;
471
- isBenchmark: boolean;
472
- disabled?: string | null;
473
- disabledByUmbracoUserKey?: string | null;
474
- isDisabled: boolean;
475
- segment?: string | null;
476
- previewSegment?: string | null;
477
- totalPageviewsForVariant: number;
478
- totalVisitorsForVariant: number;
479
471
  label?: string | null;
480
472
  currentTotalParticipantCount: number;
481
473
  currentTotalPageviewCount: number;
@@ -505,6 +497,24 @@ export interface PostAbTestOutput {
505
497
  status: "Running" | "Warning" | "Disabled" | "Reliable" | "Stopped" | "Scheduled" | "Completed" | "Draft";
506
498
  isWinner: boolean;
507
499
  isLeading: boolean;
500
+ id: number;
501
+ unique: string;
502
+ abTestId: number;
503
+ name?: string | null;
504
+ description?: string | null;
505
+ redirectNodeKey?: string | null;
506
+ css?: string | null;
507
+ javascript?: string | null;
508
+ created: string;
509
+ createdByUmbracoUserKey: string;
510
+ isBenchmark: boolean;
511
+ disabled?: string | null;
512
+ disabledByUmbracoUserKey?: string | null;
513
+ isDisabled: boolean;
514
+ segment?: string | null;
515
+ previewSegment?: string | null;
516
+ totalPageviewsForVariant: number;
517
+ totalVisitorsForVariant: number;
508
518
  }[]
509
519
  | null;
510
520
  isInvertedGoal: boolean;
@@ -512,8 +522,8 @@ export interface PostAbTestOutput {
512
522
  };
513
523
  validationResults: {
514
524
  isValid: boolean;
515
- warnings: string[];
516
- errors: string[];
525
+ warnings: string[] | null;
526
+ errors: string[] | null;
517
527
  };
518
528
  }
519
529
 
@@ -521,16 +531,14 @@ export interface GetAbTestAllInput {}
521
531
 
522
532
  export interface GetAbTestAllOutput {
523
533
  items: {
524
- id: number;
525
- created: string;
526
534
  unique: string;
527
535
  projectKey?: string | null;
528
536
  goalKey?: string | null;
529
- status: "Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft";
537
+ status?: null | ("Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft" | null);
530
538
  name?: string | null;
531
539
  description?: string | null;
532
540
  createdByUmbracoUserName?: string | null;
533
- testType: "SinglePage" | "MultiPage" | "ContentType" | "SplitUrl";
541
+ testType?: null | ("SinglePage" | "MultiPage" | "ContentType" | "SplitUrl" | null);
534
542
  startTime?: string | null;
535
543
  endTime?: string | null;
536
544
  participationPercentage?: number | null;
@@ -570,7 +578,7 @@ export interface GetAbTestAllOutput {
570
578
  contentTypeName?: string | null;
571
579
  culture?: string | null;
572
580
  }[];
573
- winner?: {
581
+ winner?: null | {
574
582
  id: number;
575
583
  unique: string;
576
584
  abTestId: number;
@@ -589,7 +597,7 @@ export interface GetAbTestAllOutput {
589
597
  previewSegment?: string | null;
590
598
  totalPageviewsForVariant: number;
591
599
  totalVisitorsForVariant: number;
592
- } | null;
600
+ };
593
601
  isCompleted: boolean;
594
602
  completedOn?: string | null;
595
603
  completedByUmbracoUserKey?: string | null;
@@ -599,29 +607,29 @@ export interface GetAbTestAllOutput {
599
607
  viableVisitorThreshold?: number | null;
600
608
  previewNodeKey?: string | null;
601
609
  onCompleteAction: "Nothing" | "Publish" | "Draft";
610
+ id: number;
611
+ created: string;
602
612
  }[];
603
613
  }
604
614
 
605
615
  export interface GetAbTestEmptyInput {
606
616
  testType?: "SinglePage" | "MultiPage" | "ContentType" | "SplitUrl";
607
617
  /**
608
- * Optional key of the content page the test will target. Engage 17.5 accepts it to tailor the template to that page (its `cultureSharedSegmentedProperties`); for a page without segmented properties the template is the same as without it.
618
+ * Optional key of the content page the test will target. Engage 18 accepts it to tailor the template to that page (its `cultureSharedSegmentedProperties`); for a page without segmented properties the template is the same as without it.
609
619
  */
610
620
  nodeKey?: string;
611
621
  }
612
622
 
613
623
  export interface GetAbTestEmptyOutput {
614
624
  test: {
615
- id: number;
616
- created: string;
617
625
  unique: string;
618
626
  projectKey?: string | null;
619
627
  goalKey?: string | null;
620
- status: "Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft";
628
+ status?: null | ("Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft" | null);
621
629
  name?: string | null;
622
630
  description?: string | null;
623
631
  createdByUmbracoUserName?: string | null;
624
- testType: "SinglePage" | "MultiPage" | "ContentType" | "SplitUrl";
632
+ testType?: null | ("SinglePage" | "MultiPage" | "ContentType" | "SplitUrl" | null);
625
633
  startTime?: string | null;
626
634
  endTime?: string | null;
627
635
  participationPercentage?: number | null;
@@ -661,7 +669,7 @@ export interface GetAbTestEmptyOutput {
661
669
  contentTypeName?: string | null;
662
670
  culture?: string | null;
663
671
  }[];
664
- winner?: {
672
+ winner?: null | {
665
673
  id: number;
666
674
  unique: string;
667
675
  abTestId: number;
@@ -680,7 +688,7 @@ export interface GetAbTestEmptyOutput {
680
688
  previewSegment?: string | null;
681
689
  totalPageviewsForVariant: number;
682
690
  totalVisitorsForVariant: number;
683
- } | null;
691
+ };
684
692
  isCompleted: boolean;
685
693
  completedOn?: string | null;
686
694
  completedByUmbracoUserKey?: string | null;
@@ -690,8 +698,10 @@ export interface GetAbTestEmptyOutput {
690
698
  viableVisitorThreshold?: number | null;
691
699
  previewNodeKey?: string | null;
692
700
  onCompleteAction: "Nothing" | "Publish" | "Draft";
701
+ id: number;
702
+ created: string;
693
703
  };
694
- indication?: {
704
+ indication?: null | {
695
705
  estimatedRuntimeInDays?: number | null;
696
706
  estimatedRequiredRuntimeRemainingInDays?: number | null;
697
707
  currentRuntimeInDays: number;
@@ -702,7 +712,7 @@ export interface GetAbTestEmptyOutput {
702
712
  requiredVisitorsTotal?: number | null;
703
713
  requiredVisitorsPerVariant?: number | null;
704
714
  expectedDailyVisitors: number;
705
- status: "Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft";
715
+ status: "Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft" | null;
706
716
  hurtingVariants: {
707
717
  abTestVariant: {
708
718
  id: number;
@@ -720,33 +730,35 @@ export interface GetAbTestEmptyOutput {
720
730
  isBenchmark: boolean;
721
731
  totalPageviewsForVariant: number;
722
732
  totalVisitorsForVariant: number;
723
- segment: string;
724
- previewSegment: string;
733
+ segment: string | null;
734
+ previewSegment: string | null;
725
735
  };
726
736
  visitors: number;
727
737
  goalCompletions: number;
728
738
  benchmarkVisitors: number;
729
739
  benchmarkGoalCompletions: number;
730
740
  conversionRate: number;
731
- mainGoalComparisons: {
732
- mainGoalId: number;
733
- mainGoalCompletions: number;
734
- mainGoalCompletionsTotalValue: number;
735
- benchmarkMainGoalCompletions: number;
736
- isInvertedGoal: boolean;
737
- hurtingThreshold: number;
738
- mainGoalDifference: number;
739
- warning: boolean;
740
- mainGoalRatio?: number | null;
741
- isHurting: boolean;
742
- }[];
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;
743
755
  }[];
744
756
  currentVisitorsPerVariant: number;
745
757
  currentVisitors: number;
746
758
  reliableVariants: number;
747
759
  isInvertedGoal: boolean;
748
760
  originalVariantIsWinning: boolean;
749
- winningVariant?: {
761
+ winningVariant?: null | {
750
762
  abTestVariant: {
751
763
  id: number;
752
764
  unique: string;
@@ -763,28 +775,30 @@ export interface GetAbTestEmptyOutput {
763
775
  isBenchmark: boolean;
764
776
  totalPageviewsForVariant: number;
765
777
  totalVisitorsForVariant: number;
766
- segment: string;
767
- previewSegment: string;
778
+ segment: string | null;
779
+ previewSegment: string | null;
768
780
  };
769
781
  visitors: number;
770
782
  goalCompletions: number;
771
783
  benchmarkVisitors: number;
772
784
  benchmarkGoalCompletions: number;
773
785
  conversionRate: number;
774
- mainGoalComparisons: {
775
- mainGoalId: number;
776
- mainGoalCompletions: number;
777
- mainGoalCompletionsTotalValue: number;
778
- benchmarkMainGoalCompletions: number;
779
- isInvertedGoal: boolean;
780
- hurtingThreshold: number;
781
- mainGoalDifference: number;
782
- warning: boolean;
783
- mainGoalRatio?: number | null;
784
- isHurting: boolean;
785
- }[];
786
- } | null;
787
- bestNonBenchmarkVariant?: {
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;
800
+ };
801
+ bestNonBenchmarkVariant?: null | {
788
802
  abTestVariant: {
789
803
  id: number;
790
804
  unique: string;
@@ -801,28 +815,30 @@ export interface GetAbTestEmptyOutput {
801
815
  isBenchmark: boolean;
802
816
  totalPageviewsForVariant: number;
803
817
  totalVisitorsForVariant: number;
804
- segment: string;
805
- previewSegment: string;
818
+ segment: string | null;
819
+ previewSegment: string | null;
806
820
  };
807
821
  visitors: number;
808
822
  goalCompletions: number;
809
823
  benchmarkVisitors: number;
810
824
  benchmarkGoalCompletions: number;
811
825
  conversionRate: number;
812
- mainGoalComparisons: {
813
- mainGoalId: number;
814
- mainGoalCompletions: number;
815
- mainGoalCompletionsTotalValue: number;
816
- benchmarkMainGoalCompletions: number;
817
- isInvertedGoal: boolean;
818
- hurtingThreshold: number;
819
- mainGoalDifference: number;
820
- warning: boolean;
821
- mainGoalRatio?: number | null;
822
- isHurting: boolean;
823
- }[];
824
- } | null;
825
- earliestReliableVariant?: {
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;
840
+ };
841
+ earliestReliableVariant?: null | {
826
842
  abTestVariant: {
827
843
  id: number;
828
844
  unique: string;
@@ -839,27 +855,29 @@ export interface GetAbTestEmptyOutput {
839
855
  isBenchmark: boolean;
840
856
  totalPageviewsForVariant: number;
841
857
  totalVisitorsForVariant: number;
842
- segment: string;
843
- previewSegment: string;
858
+ segment: string | null;
859
+ previewSegment: string | null;
844
860
  };
845
861
  visitors: number;
846
862
  goalCompletions: number;
847
863
  benchmarkVisitors: number;
848
864
  benchmarkGoalCompletions: number;
849
865
  conversionRate: number;
850
- mainGoalComparisons: {
851
- mainGoalId: number;
852
- mainGoalCompletions: number;
853
- mainGoalCompletionsTotalValue: number;
854
- benchmarkMainGoalCompletions: number;
855
- isInvertedGoal: boolean;
856
- hurtingThreshold: number;
857
- mainGoalDifference: number;
858
- warning: boolean;
859
- mainGoalRatio?: number | null;
860
- isHurting: boolean;
861
- }[];
862
- } | null;
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;
880
+ };
863
881
  bestPrognosis: {
864
882
  variantId: number;
865
883
  conversionIncrease: number;
@@ -871,7 +889,7 @@ export interface GetAbTestEmptyOutput {
871
889
  remainingVisitors?: number | null;
872
890
  isReliable: boolean;
873
891
  };
874
- winner?: {
892
+ winner?: null | {
875
893
  abTestVariant: {
876
894
  id: number;
877
895
  unique: string;
@@ -888,27 +906,29 @@ export interface GetAbTestEmptyOutput {
888
906
  isBenchmark: boolean;
889
907
  totalPageviewsForVariant: number;
890
908
  totalVisitorsForVariant: number;
891
- segment: string;
892
- previewSegment: string;
909
+ segment: string | null;
910
+ previewSegment: string | null;
893
911
  };
894
912
  visitors: number;
895
913
  goalCompletions: number;
896
914
  benchmarkVisitors: number;
897
915
  benchmarkGoalCompletions: number;
898
916
  conversionRate: number;
899
- mainGoalComparisons: {
900
- mainGoalId: number;
901
- mainGoalCompletions: number;
902
- mainGoalCompletionsTotalValue: number;
903
- benchmarkMainGoalCompletions: number;
904
- isInvertedGoal: boolean;
905
- hurtingThreshold: number;
906
- mainGoalDifference: number;
907
- warning: boolean;
908
- mainGoalRatio?: number | null;
909
- isHurting: boolean;
910
- }[];
911
- } | null;
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;
931
+ };
912
932
  winningVariantConversionChange: number;
913
933
  bestNonWinningVariantConversionChange: number;
914
934
  winnerConversionChange: number;
@@ -922,27 +942,9 @@ export interface GetAbTestEmptyOutput {
922
942
  variantStatus: {
923
943
  [k: string]: "Running" | "Warning" | "Disabled" | "Reliable" | "Stopped" | "Scheduled" | "Completed" | "Draft";
924
944
  };
925
- } | null;
945
+ };
926
946
  variants?:
927
947
  | {
928
- id: number;
929
- unique: string;
930
- abTestId: number;
931
- name?: string | null;
932
- description?: string | null;
933
- redirectNodeKey?: string | null;
934
- css?: string | null;
935
- javascript?: string | null;
936
- created: string;
937
- createdByUmbracoUserKey: string;
938
- isBenchmark: boolean;
939
- disabled?: string | null;
940
- disabledByUmbracoUserKey?: string | null;
941
- isDisabled: boolean;
942
- segment?: string | null;
943
- previewSegment?: string | null;
944
- totalPageviewsForVariant: number;
945
- totalVisitorsForVariant: number;
946
948
  label?: string | null;
947
949
  currentTotalParticipantCount: number;
948
950
  currentTotalPageviewCount: number;
@@ -972,6 +974,24 @@ export interface GetAbTestEmptyOutput {
972
974
  status: "Running" | "Warning" | "Disabled" | "Reliable" | "Stopped" | "Scheduled" | "Completed" | "Draft";
973
975
  isWinner: boolean;
974
976
  isLeading: boolean;
977
+ id: number;
978
+ unique: string;
979
+ abTestId: number;
980
+ name?: string | null;
981
+ description?: string | null;
982
+ redirectNodeKey?: string | null;
983
+ css?: string | null;
984
+ javascript?: string | null;
985
+ created: string;
986
+ createdByUmbracoUserKey: string;
987
+ isBenchmark: boolean;
988
+ disabled?: string | null;
989
+ disabledByUmbracoUserKey?: string | null;
990
+ isDisabled: boolean;
991
+ segment?: string | null;
992
+ previewSegment?: string | null;
993
+ totalPageviewsForVariant: number;
994
+ totalVisitorsForVariant: number;
975
995
  }[]
976
996
  | null;
977
997
  isInvertedGoal: boolean;
@@ -991,9 +1011,9 @@ export interface GetAbTestPageOutput {
991
1011
  description?: string | null;
992
1012
  createdByUmbracoUserKey?: string | null;
993
1013
  createdByUmbracoUserName?: string | null;
994
- testType: "SinglePage" | "MultiPage" | "ContentType" | "SplitUrl";
1014
+ testType?: null | ("SinglePage" | "MultiPage" | "ContentType" | "SplitUrl" | null);
995
1015
  startTime?: string | null;
996
- status: "Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft";
1016
+ status: "Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft" | null;
997
1017
  endTime?: string | null;
998
1018
  runtimeInDays?: number | null;
999
1019
  totalVariants: number;
@@ -1023,7 +1043,7 @@ export interface PostAbTestRuntimeIndicationOutput {
1023
1043
  requiredVisitorsTotal?: number | null;
1024
1044
  requiredVisitorsPerVariant?: number | null;
1025
1045
  expectedDailyVisitors: number;
1026
- status: "Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft";
1046
+ status: "Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft" | null;
1027
1047
  hurtingVariants: {
1028
1048
  abTestVariant: {
1029
1049
  id: number;
@@ -1041,36 +1061,38 @@ export interface PostAbTestRuntimeIndicationOutput {
1041
1061
  isBenchmark: boolean;
1042
1062
  totalPageviewsForVariant: number;
1043
1063
  totalVisitorsForVariant: number;
1044
- segment: string;
1045
- previewSegment: string;
1064
+ segment: string | null;
1065
+ previewSegment: string | null;
1046
1066
  };
1047
1067
  visitors: number;
1048
1068
  goalCompletions: number;
1049
1069
  benchmarkVisitors: number;
1050
1070
  benchmarkGoalCompletions: number;
1051
1071
  conversionRate: number;
1052
- mainGoalComparisons: {
1053
- mainGoalId: number;
1054
- mainGoalCompletions: number;
1055
- mainGoalCompletionsTotalValue: number;
1056
- benchmarkMainGoalCompletions: number;
1057
- isInvertedGoal: boolean;
1058
- hurtingThreshold: number;
1059
- mainGoalDifference: number;
1060
- warning: boolean;
1061
- mainGoalRatio?: number | null;
1062
- isHurting: boolean;
1063
- }[];
1064
- }[];
1065
- currentVisitorsPerVariant: number;
1066
- currentVisitors: number;
1067
- reliableVariants: number;
1068
- isInvertedGoal: boolean;
1069
- originalVariantIsWinning: boolean;
1070
- winningVariant?: {
1071
- abTestVariant: {
1072
- id: number;
1073
- unique: string;
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;
1086
+ }[];
1087
+ currentVisitorsPerVariant: number;
1088
+ currentVisitors: number;
1089
+ reliableVariants: number;
1090
+ isInvertedGoal: boolean;
1091
+ originalVariantIsWinning: boolean;
1092
+ winningVariant?: null | {
1093
+ abTestVariant: {
1094
+ id: number;
1095
+ unique: string;
1074
1096
  name?: string | null;
1075
1097
  description?: string | null;
1076
1098
  redirectNodeKey?: string | null;
@@ -1084,28 +1106,30 @@ export interface PostAbTestRuntimeIndicationOutput {
1084
1106
  isBenchmark: boolean;
1085
1107
  totalPageviewsForVariant: number;
1086
1108
  totalVisitorsForVariant: number;
1087
- segment: string;
1088
- previewSegment: string;
1109
+ segment: string | null;
1110
+ previewSegment: string | null;
1089
1111
  };
1090
1112
  visitors: number;
1091
1113
  goalCompletions: number;
1092
1114
  benchmarkVisitors: number;
1093
1115
  benchmarkGoalCompletions: number;
1094
1116
  conversionRate: number;
1095
- mainGoalComparisons: {
1096
- mainGoalId: number;
1097
- mainGoalCompletions: number;
1098
- mainGoalCompletionsTotalValue: number;
1099
- benchmarkMainGoalCompletions: number;
1100
- isInvertedGoal: boolean;
1101
- hurtingThreshold: number;
1102
- mainGoalDifference: number;
1103
- warning: boolean;
1104
- mainGoalRatio?: number | null;
1105
- isHurting: boolean;
1106
- }[];
1107
- } | null;
1108
- bestNonBenchmarkVariant?: {
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;
1131
+ };
1132
+ bestNonBenchmarkVariant?: null | {
1109
1133
  abTestVariant: {
1110
1134
  id: number;
1111
1135
  unique: string;
@@ -1122,28 +1146,30 @@ export interface PostAbTestRuntimeIndicationOutput {
1122
1146
  isBenchmark: boolean;
1123
1147
  totalPageviewsForVariant: number;
1124
1148
  totalVisitorsForVariant: number;
1125
- segment: string;
1126
- previewSegment: string;
1149
+ segment: string | null;
1150
+ previewSegment: string | null;
1127
1151
  };
1128
1152
  visitors: number;
1129
1153
  goalCompletions: number;
1130
1154
  benchmarkVisitors: number;
1131
1155
  benchmarkGoalCompletions: number;
1132
1156
  conversionRate: number;
1133
- mainGoalComparisons: {
1134
- mainGoalId: number;
1135
- mainGoalCompletions: number;
1136
- mainGoalCompletionsTotalValue: number;
1137
- benchmarkMainGoalCompletions: number;
1138
- isInvertedGoal: boolean;
1139
- hurtingThreshold: number;
1140
- mainGoalDifference: number;
1141
- warning: boolean;
1142
- mainGoalRatio?: number | null;
1143
- isHurting: boolean;
1144
- }[];
1145
- } | null;
1146
- earliestReliableVariant?: {
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;
1171
+ };
1172
+ earliestReliableVariant?: null | {
1147
1173
  abTestVariant: {
1148
1174
  id: number;
1149
1175
  unique: string;
@@ -1160,27 +1186,29 @@ export interface PostAbTestRuntimeIndicationOutput {
1160
1186
  isBenchmark: boolean;
1161
1187
  totalPageviewsForVariant: number;
1162
1188
  totalVisitorsForVariant: number;
1163
- segment: string;
1164
- previewSegment: string;
1189
+ segment: string | null;
1190
+ previewSegment: string | null;
1165
1191
  };
1166
1192
  visitors: number;
1167
1193
  goalCompletions: number;
1168
1194
  benchmarkVisitors: number;
1169
1195
  benchmarkGoalCompletions: number;
1170
1196
  conversionRate: number;
1171
- mainGoalComparisons: {
1172
- mainGoalId: number;
1173
- mainGoalCompletions: number;
1174
- mainGoalCompletionsTotalValue: number;
1175
- benchmarkMainGoalCompletions: number;
1176
- isInvertedGoal: boolean;
1177
- hurtingThreshold: number;
1178
- mainGoalDifference: number;
1179
- warning: boolean;
1180
- mainGoalRatio?: number | null;
1181
- isHurting: boolean;
1182
- }[];
1183
- } | null;
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;
1211
+ };
1184
1212
  bestPrognosis: {
1185
1213
  variantId: number;
1186
1214
  conversionIncrease: number;
@@ -1192,7 +1220,7 @@ export interface PostAbTestRuntimeIndicationOutput {
1192
1220
  remainingVisitors?: number | null;
1193
1221
  isReliable: boolean;
1194
1222
  };
1195
- winner?: {
1223
+ winner?: null | {
1196
1224
  abTestVariant: {
1197
1225
  id: number;
1198
1226
  unique: string;
@@ -1209,27 +1237,29 @@ export interface PostAbTestRuntimeIndicationOutput {
1209
1237
  isBenchmark: boolean;
1210
1238
  totalPageviewsForVariant: number;
1211
1239
  totalVisitorsForVariant: number;
1212
- segment: string;
1213
- previewSegment: string;
1240
+ segment: string | null;
1241
+ previewSegment: string | null;
1214
1242
  };
1215
1243
  visitors: number;
1216
1244
  goalCompletions: number;
1217
1245
  benchmarkVisitors: number;
1218
1246
  benchmarkGoalCompletions: number;
1219
1247
  conversionRate: number;
1220
- mainGoalComparisons: {
1221
- mainGoalId: number;
1222
- mainGoalCompletions: number;
1223
- mainGoalCompletionsTotalValue: number;
1224
- benchmarkMainGoalCompletions: number;
1225
- isInvertedGoal: boolean;
1226
- hurtingThreshold: number;
1227
- mainGoalDifference: number;
1228
- warning: boolean;
1229
- mainGoalRatio?: number | null;
1230
- isHurting: boolean;
1231
- }[];
1232
- } | null;
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;
1262
+ };
1233
1263
  winningVariantConversionChange: number;
1234
1264
  bestNonWinningVariantConversionChange: number;
1235
1265
  winnerConversionChange: number;
@@ -1269,24 +1299,6 @@ export interface PostAbTestVariantDetailsInput {
1269
1299
 
1270
1300
  export interface PostAbTestVariantDetailsOutput {
1271
1301
  items: {
1272
- id: number;
1273
- unique: string;
1274
- abTestId: number;
1275
- name?: string | null;
1276
- description?: string | null;
1277
- redirectNodeKey?: string | null;
1278
- css?: string | null;
1279
- javascript?: string | null;
1280
- created: string;
1281
- createdByUmbracoUserKey: string;
1282
- isBenchmark: boolean;
1283
- disabled?: string | null;
1284
- disabledByUmbracoUserKey?: string | null;
1285
- isDisabled: boolean;
1286
- segment?: string | null;
1287
- previewSegment?: string | null;
1288
- totalPageviewsForVariant: number;
1289
- totalVisitorsForVariant: number;
1290
1302
  label?: string | null;
1291
1303
  currentTotalParticipantCount: number;
1292
1304
  currentTotalPageviewCount: number;
@@ -1316,6 +1328,24 @@ export interface PostAbTestVariantDetailsOutput {
1316
1328
  status: "Running" | "Warning" | "Disabled" | "Reliable" | "Stopped" | "Scheduled" | "Completed" | "Draft";
1317
1329
  isWinner: boolean;
1318
1330
  isLeading: boolean;
1331
+ id: number;
1332
+ unique: string;
1333
+ abTestId: number;
1334
+ name?: string | null;
1335
+ description?: string | null;
1336
+ redirectNodeKey?: string | null;
1337
+ css?: string | null;
1338
+ javascript?: string | null;
1339
+ created: string;
1340
+ createdByUmbracoUserKey: string;
1341
+ isBenchmark: boolean;
1342
+ disabled?: string | null;
1343
+ disabledByUmbracoUserKey?: string | null;
1344
+ isDisabled: boolean;
1345
+ segment?: string | null;
1346
+ previewSegment?: string | null;
1347
+ totalPageviewsForVariant: number;
1348
+ totalVisitorsForVariant: number;
1319
1349
  }[];
1320
1350
  }
1321
1351
 
@@ -1325,16 +1355,14 @@ export interface GetAbTestViewModelInput {
1325
1355
 
1326
1356
  export interface GetAbTestViewModelOutput {
1327
1357
  test: {
1328
- id: number;
1329
- created: string;
1330
1358
  unique: string;
1331
1359
  projectKey?: string | null;
1332
1360
  goalKey?: string | null;
1333
- status: "Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft";
1361
+ status?: null | ("Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft" | null);
1334
1362
  name?: string | null;
1335
1363
  description?: string | null;
1336
1364
  createdByUmbracoUserName?: string | null;
1337
- testType: "SinglePage" | "MultiPage" | "ContentType" | "SplitUrl";
1365
+ testType?: null | ("SinglePage" | "MultiPage" | "ContentType" | "SplitUrl" | null);
1338
1366
  startTime?: string | null;
1339
1367
  endTime?: string | null;
1340
1368
  participationPercentage?: number | null;
@@ -1374,7 +1402,7 @@ export interface GetAbTestViewModelOutput {
1374
1402
  contentTypeName?: string | null;
1375
1403
  culture?: string | null;
1376
1404
  }[];
1377
- winner?: {
1405
+ winner?: null | {
1378
1406
  id: number;
1379
1407
  unique: string;
1380
1408
  abTestId: number;
@@ -1393,7 +1421,7 @@ export interface GetAbTestViewModelOutput {
1393
1421
  previewSegment?: string | null;
1394
1422
  totalPageviewsForVariant: number;
1395
1423
  totalVisitorsForVariant: number;
1396
- } | null;
1424
+ };
1397
1425
  isCompleted: boolean;
1398
1426
  completedOn?: string | null;
1399
1427
  completedByUmbracoUserKey?: string | null;
@@ -1403,8 +1431,10 @@ export interface GetAbTestViewModelOutput {
1403
1431
  viableVisitorThreshold?: number | null;
1404
1432
  previewNodeKey?: string | null;
1405
1433
  onCompleteAction: "Nothing" | "Publish" | "Draft";
1434
+ id: number;
1435
+ created: string;
1406
1436
  };
1407
- indication?: {
1437
+ indication?: null | {
1408
1438
  estimatedRuntimeInDays?: number | null;
1409
1439
  estimatedRequiredRuntimeRemainingInDays?: number | null;
1410
1440
  currentRuntimeInDays: number;
@@ -1415,7 +1445,7 @@ export interface GetAbTestViewModelOutput {
1415
1445
  requiredVisitorsTotal?: number | null;
1416
1446
  requiredVisitorsPerVariant?: number | null;
1417
1447
  expectedDailyVisitors: number;
1418
- status: "Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft";
1448
+ status: "Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft" | null;
1419
1449
  hurtingVariants: {
1420
1450
  abTestVariant: {
1421
1451
  id: number;
@@ -1433,33 +1463,35 @@ export interface GetAbTestViewModelOutput {
1433
1463
  isBenchmark: boolean;
1434
1464
  totalPageviewsForVariant: number;
1435
1465
  totalVisitorsForVariant: number;
1436
- segment: string;
1437
- previewSegment: string;
1466
+ segment: string | null;
1467
+ previewSegment: string | null;
1438
1468
  };
1439
1469
  visitors: number;
1440
1470
  goalCompletions: number;
1441
1471
  benchmarkVisitors: number;
1442
1472
  benchmarkGoalCompletions: number;
1443
1473
  conversionRate: number;
1444
- mainGoalComparisons: {
1445
- mainGoalId: number;
1446
- mainGoalCompletions: number;
1447
- mainGoalCompletionsTotalValue: number;
1448
- benchmarkMainGoalCompletions: number;
1449
- isInvertedGoal: boolean;
1450
- hurtingThreshold: number;
1451
- mainGoalDifference: number;
1452
- warning: boolean;
1453
- mainGoalRatio?: number | null;
1454
- isHurting: boolean;
1455
- }[];
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;
1456
1488
  }[];
1457
1489
  currentVisitorsPerVariant: number;
1458
1490
  currentVisitors: number;
1459
1491
  reliableVariants: number;
1460
1492
  isInvertedGoal: boolean;
1461
1493
  originalVariantIsWinning: boolean;
1462
- winningVariant?: {
1494
+ winningVariant?: null | {
1463
1495
  abTestVariant: {
1464
1496
  id: number;
1465
1497
  unique: string;
@@ -1476,28 +1508,30 @@ export interface GetAbTestViewModelOutput {
1476
1508
  isBenchmark: boolean;
1477
1509
  totalPageviewsForVariant: number;
1478
1510
  totalVisitorsForVariant: number;
1479
- segment: string;
1480
- previewSegment: string;
1511
+ segment: string | null;
1512
+ previewSegment: string | null;
1481
1513
  };
1482
1514
  visitors: number;
1483
1515
  goalCompletions: number;
1484
1516
  benchmarkVisitors: number;
1485
1517
  benchmarkGoalCompletions: number;
1486
1518
  conversionRate: number;
1487
- mainGoalComparisons: {
1488
- mainGoalId: number;
1489
- mainGoalCompletions: number;
1490
- mainGoalCompletionsTotalValue: number;
1491
- benchmarkMainGoalCompletions: number;
1492
- isInvertedGoal: boolean;
1493
- hurtingThreshold: number;
1494
- mainGoalDifference: number;
1495
- warning: boolean;
1496
- mainGoalRatio?: number | null;
1497
- isHurting: boolean;
1498
- }[];
1499
- } | null;
1500
- bestNonBenchmarkVariant?: {
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;
1533
+ };
1534
+ bestNonBenchmarkVariant?: null | {
1501
1535
  abTestVariant: {
1502
1536
  id: number;
1503
1537
  unique: string;
@@ -1514,28 +1548,30 @@ export interface GetAbTestViewModelOutput {
1514
1548
  isBenchmark: boolean;
1515
1549
  totalPageviewsForVariant: number;
1516
1550
  totalVisitorsForVariant: number;
1517
- segment: string;
1518
- previewSegment: string;
1551
+ segment: string | null;
1552
+ previewSegment: string | null;
1519
1553
  };
1520
1554
  visitors: number;
1521
1555
  goalCompletions: number;
1522
1556
  benchmarkVisitors: number;
1523
1557
  benchmarkGoalCompletions: number;
1524
1558
  conversionRate: number;
1525
- mainGoalComparisons: {
1526
- mainGoalId: number;
1527
- mainGoalCompletions: number;
1528
- mainGoalCompletionsTotalValue: number;
1529
- benchmarkMainGoalCompletions: number;
1530
- isInvertedGoal: boolean;
1531
- hurtingThreshold: number;
1532
- mainGoalDifference: number;
1533
- warning: boolean;
1534
- mainGoalRatio?: number | null;
1535
- isHurting: boolean;
1536
- }[];
1537
- } | null;
1538
- earliestReliableVariant?: {
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;
1573
+ };
1574
+ earliestReliableVariant?: null | {
1539
1575
  abTestVariant: {
1540
1576
  id: number;
1541
1577
  unique: string;
@@ -1552,27 +1588,29 @@ export interface GetAbTestViewModelOutput {
1552
1588
  isBenchmark: boolean;
1553
1589
  totalPageviewsForVariant: number;
1554
1590
  totalVisitorsForVariant: number;
1555
- segment: string;
1556
- previewSegment: string;
1591
+ segment: string | null;
1592
+ previewSegment: string | null;
1557
1593
  };
1558
1594
  visitors: number;
1559
1595
  goalCompletions: number;
1560
1596
  benchmarkVisitors: number;
1561
1597
  benchmarkGoalCompletions: number;
1562
1598
  conversionRate: number;
1563
- mainGoalComparisons: {
1564
- mainGoalId: number;
1565
- mainGoalCompletions: number;
1566
- mainGoalCompletionsTotalValue: number;
1567
- benchmarkMainGoalCompletions: number;
1568
- isInvertedGoal: boolean;
1569
- hurtingThreshold: number;
1570
- mainGoalDifference: number;
1571
- warning: boolean;
1572
- mainGoalRatio?: number | null;
1573
- isHurting: boolean;
1574
- }[];
1575
- } | null;
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;
1613
+ };
1576
1614
  bestPrognosis: {
1577
1615
  variantId: number;
1578
1616
  conversionIncrease: number;
@@ -1584,7 +1622,7 @@ export interface GetAbTestViewModelOutput {
1584
1622
  remainingVisitors?: number | null;
1585
1623
  isReliable: boolean;
1586
1624
  };
1587
- winner?: {
1625
+ winner?: null | {
1588
1626
  abTestVariant: {
1589
1627
  id: number;
1590
1628
  unique: string;
@@ -1601,27 +1639,29 @@ export interface GetAbTestViewModelOutput {
1601
1639
  isBenchmark: boolean;
1602
1640
  totalPageviewsForVariant: number;
1603
1641
  totalVisitorsForVariant: number;
1604
- segment: string;
1605
- previewSegment: string;
1642
+ segment: string | null;
1643
+ previewSegment: string | null;
1606
1644
  };
1607
1645
  visitors: number;
1608
1646
  goalCompletions: number;
1609
1647
  benchmarkVisitors: number;
1610
1648
  benchmarkGoalCompletions: number;
1611
1649
  conversionRate: number;
1612
- mainGoalComparisons: {
1613
- mainGoalId: number;
1614
- mainGoalCompletions: number;
1615
- mainGoalCompletionsTotalValue: number;
1616
- benchmarkMainGoalCompletions: number;
1617
- isInvertedGoal: boolean;
1618
- hurtingThreshold: number;
1619
- mainGoalDifference: number;
1620
- warning: boolean;
1621
- mainGoalRatio?: number | null;
1622
- isHurting: boolean;
1623
- }[];
1624
- } | null;
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;
1664
+ };
1625
1665
  winningVariantConversionChange: number;
1626
1666
  bestNonWinningVariantConversionChange: number;
1627
1667
  winnerConversionChange: number;
@@ -1635,27 +1675,9 @@ export interface GetAbTestViewModelOutput {
1635
1675
  variantStatus: {
1636
1676
  [k: string]: "Running" | "Warning" | "Disabled" | "Reliable" | "Stopped" | "Scheduled" | "Completed" | "Draft";
1637
1677
  };
1638
- } | null;
1678
+ };
1639
1679
  variants?:
1640
1680
  | {
1641
- id: number;
1642
- unique: string;
1643
- abTestId: number;
1644
- name?: string | null;
1645
- description?: string | null;
1646
- redirectNodeKey?: string | null;
1647
- css?: string | null;
1648
- javascript?: string | null;
1649
- created: string;
1650
- createdByUmbracoUserKey: string;
1651
- isBenchmark: boolean;
1652
- disabled?: string | null;
1653
- disabledByUmbracoUserKey?: string | null;
1654
- isDisabled: boolean;
1655
- segment?: string | null;
1656
- previewSegment?: string | null;
1657
- totalPageviewsForVariant: number;
1658
- totalVisitorsForVariant: number;
1659
1681
  label?: string | null;
1660
1682
  currentTotalParticipantCount: number;
1661
1683
  currentTotalPageviewCount: number;
@@ -1685,6 +1707,24 @@ export interface GetAbTestViewModelOutput {
1685
1707
  status: "Running" | "Warning" | "Disabled" | "Reliable" | "Stopped" | "Scheduled" | "Completed" | "Draft";
1686
1708
  isWinner: boolean;
1687
1709
  isLeading: boolean;
1710
+ id: number;
1711
+ unique: string;
1712
+ abTestId: number;
1713
+ name?: string | null;
1714
+ description?: string | null;
1715
+ redirectNodeKey?: string | null;
1716
+ css?: string | null;
1717
+ javascript?: string | null;
1718
+ created: string;
1719
+ createdByUmbracoUserKey: string;
1720
+ isBenchmark: boolean;
1721
+ disabled?: string | null;
1722
+ disabledByUmbracoUserKey?: string | null;
1723
+ isDisabled: boolean;
1724
+ segment?: string | null;
1725
+ previewSegment?: string | null;
1726
+ totalPageviewsForVariant: number;
1727
+ totalVisitorsForVariant: number;
1688
1728
  }[]
1689
1729
  | null;
1690
1730
  isInvertedGoal: boolean;
@@ -1713,16 +1753,14 @@ export interface PostAbTestStartInput {
1713
1753
  export interface PostAbTestStartOutput {
1714
1754
  test: {
1715
1755
  test: {
1716
- id: number;
1717
- created: string;
1718
1756
  unique: string;
1719
1757
  projectKey?: string | null;
1720
1758
  goalKey?: string | null;
1721
- status: "Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft";
1759
+ status?: null | ("Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft" | null);
1722
1760
  name?: string | null;
1723
1761
  description?: string | null;
1724
1762
  createdByUmbracoUserName?: string | null;
1725
- testType: "SinglePage" | "MultiPage" | "ContentType" | "SplitUrl";
1763
+ testType?: null | ("SinglePage" | "MultiPage" | "ContentType" | "SplitUrl" | null);
1726
1764
  startTime?: string | null;
1727
1765
  endTime?: string | null;
1728
1766
  participationPercentage?: number | null;
@@ -1762,7 +1800,7 @@ export interface PostAbTestStartOutput {
1762
1800
  contentTypeName?: string | null;
1763
1801
  culture?: string | null;
1764
1802
  }[];
1765
- winner?: {
1803
+ winner?: null | {
1766
1804
  id: number;
1767
1805
  unique: string;
1768
1806
  abTestId: number;
@@ -1781,7 +1819,7 @@ export interface PostAbTestStartOutput {
1781
1819
  previewSegment?: string | null;
1782
1820
  totalPageviewsForVariant: number;
1783
1821
  totalVisitorsForVariant: number;
1784
- } | null;
1822
+ };
1785
1823
  isCompleted: boolean;
1786
1824
  completedOn?: string | null;
1787
1825
  completedByUmbracoUserKey?: string | null;
@@ -1791,8 +1829,10 @@ export interface PostAbTestStartOutput {
1791
1829
  viableVisitorThreshold?: number | null;
1792
1830
  previewNodeKey?: string | null;
1793
1831
  onCompleteAction: "Nothing" | "Publish" | "Draft";
1832
+ id: number;
1833
+ created: string;
1794
1834
  };
1795
- indication?: {
1835
+ indication?: null | {
1796
1836
  estimatedRuntimeInDays?: number | null;
1797
1837
  estimatedRequiredRuntimeRemainingInDays?: number | null;
1798
1838
  currentRuntimeInDays: number;
@@ -1803,7 +1843,7 @@ export interface PostAbTestStartOutput {
1803
1843
  requiredVisitorsTotal?: number | null;
1804
1844
  requiredVisitorsPerVariant?: number | null;
1805
1845
  expectedDailyVisitors: number;
1806
- status: "Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft";
1846
+ status: "Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft" | null;
1807
1847
  hurtingVariants: {
1808
1848
  abTestVariant: {
1809
1849
  id: number;
@@ -1821,33 +1861,35 @@ export interface PostAbTestStartOutput {
1821
1861
  isBenchmark: boolean;
1822
1862
  totalPageviewsForVariant: number;
1823
1863
  totalVisitorsForVariant: number;
1824
- segment: string;
1825
- previewSegment: string;
1864
+ segment: string | null;
1865
+ previewSegment: string | null;
1826
1866
  };
1827
1867
  visitors: number;
1828
1868
  goalCompletions: number;
1829
1869
  benchmarkVisitors: number;
1830
1870
  benchmarkGoalCompletions: number;
1831
1871
  conversionRate: number;
1832
- mainGoalComparisons: {
1833
- mainGoalId: number;
1834
- mainGoalCompletions: number;
1835
- mainGoalCompletionsTotalValue: number;
1836
- benchmarkMainGoalCompletions: number;
1837
- isInvertedGoal: boolean;
1838
- hurtingThreshold: number;
1839
- mainGoalDifference: number;
1840
- warning: boolean;
1841
- mainGoalRatio?: number | null;
1842
- isHurting: boolean;
1843
- }[];
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;
1844
1886
  }[];
1845
1887
  currentVisitorsPerVariant: number;
1846
1888
  currentVisitors: number;
1847
1889
  reliableVariants: number;
1848
1890
  isInvertedGoal: boolean;
1849
1891
  originalVariantIsWinning: boolean;
1850
- winningVariant?: {
1892
+ winningVariant?: null | {
1851
1893
  abTestVariant: {
1852
1894
  id: number;
1853
1895
  unique: string;
@@ -1864,28 +1906,30 @@ export interface PostAbTestStartOutput {
1864
1906
  isBenchmark: boolean;
1865
1907
  totalPageviewsForVariant: number;
1866
1908
  totalVisitorsForVariant: number;
1867
- segment: string;
1868
- previewSegment: string;
1909
+ segment: string | null;
1910
+ previewSegment: string | null;
1869
1911
  };
1870
1912
  visitors: number;
1871
1913
  goalCompletions: number;
1872
1914
  benchmarkVisitors: number;
1873
1915
  benchmarkGoalCompletions: number;
1874
1916
  conversionRate: number;
1875
- mainGoalComparisons: {
1876
- mainGoalId: number;
1877
- mainGoalCompletions: number;
1878
- mainGoalCompletionsTotalValue: number;
1879
- benchmarkMainGoalCompletions: number;
1880
- isInvertedGoal: boolean;
1881
- hurtingThreshold: number;
1882
- mainGoalDifference: number;
1883
- warning: boolean;
1884
- mainGoalRatio?: number | null;
1885
- isHurting: boolean;
1886
- }[];
1887
- } | null;
1888
- bestNonBenchmarkVariant?: {
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;
1931
+ };
1932
+ bestNonBenchmarkVariant?: null | {
1889
1933
  abTestVariant: {
1890
1934
  id: number;
1891
1935
  unique: string;
@@ -1902,28 +1946,30 @@ export interface PostAbTestStartOutput {
1902
1946
  isBenchmark: boolean;
1903
1947
  totalPageviewsForVariant: number;
1904
1948
  totalVisitorsForVariant: number;
1905
- segment: string;
1906
- previewSegment: string;
1949
+ segment: string | null;
1950
+ previewSegment: string | null;
1907
1951
  };
1908
1952
  visitors: number;
1909
1953
  goalCompletions: number;
1910
1954
  benchmarkVisitors: number;
1911
1955
  benchmarkGoalCompletions: number;
1912
1956
  conversionRate: number;
1913
- mainGoalComparisons: {
1914
- mainGoalId: number;
1915
- mainGoalCompletions: number;
1916
- mainGoalCompletionsTotalValue: number;
1917
- benchmarkMainGoalCompletions: number;
1918
- isInvertedGoal: boolean;
1919
- hurtingThreshold: number;
1920
- mainGoalDifference: number;
1921
- warning: boolean;
1922
- mainGoalRatio?: number | null;
1923
- isHurting: boolean;
1924
- }[];
1925
- } | null;
1926
- earliestReliableVariant?: {
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;
1971
+ };
1972
+ earliestReliableVariant?: null | {
1927
1973
  abTestVariant: {
1928
1974
  id: number;
1929
1975
  unique: string;
@@ -1940,27 +1986,29 @@ export interface PostAbTestStartOutput {
1940
1986
  isBenchmark: boolean;
1941
1987
  totalPageviewsForVariant: number;
1942
1988
  totalVisitorsForVariant: number;
1943
- segment: string;
1944
- previewSegment: string;
1989
+ segment: string | null;
1990
+ previewSegment: string | null;
1945
1991
  };
1946
1992
  visitors: number;
1947
1993
  goalCompletions: number;
1948
1994
  benchmarkVisitors: number;
1949
1995
  benchmarkGoalCompletions: number;
1950
1996
  conversionRate: number;
1951
- mainGoalComparisons: {
1952
- mainGoalId: number;
1953
- mainGoalCompletions: number;
1954
- mainGoalCompletionsTotalValue: number;
1955
- benchmarkMainGoalCompletions: number;
1956
- isInvertedGoal: boolean;
1957
- hurtingThreshold: number;
1958
- mainGoalDifference: number;
1959
- warning: boolean;
1960
- mainGoalRatio?: number | null;
1961
- isHurting: boolean;
1962
- }[];
1963
- } | null;
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;
2011
+ };
1964
2012
  bestPrognosis: {
1965
2013
  variantId: number;
1966
2014
  conversionIncrease: number;
@@ -1972,7 +2020,7 @@ export interface PostAbTestStartOutput {
1972
2020
  remainingVisitors?: number | null;
1973
2021
  isReliable: boolean;
1974
2022
  };
1975
- winner?: {
2023
+ winner?: null | {
1976
2024
  abTestVariant: {
1977
2025
  id: number;
1978
2026
  unique: string;
@@ -1989,27 +2037,29 @@ export interface PostAbTestStartOutput {
1989
2037
  isBenchmark: boolean;
1990
2038
  totalPageviewsForVariant: number;
1991
2039
  totalVisitorsForVariant: number;
1992
- segment: string;
1993
- previewSegment: string;
2040
+ segment: string | null;
2041
+ previewSegment: string | null;
1994
2042
  };
1995
2043
  visitors: number;
1996
2044
  goalCompletions: number;
1997
2045
  benchmarkVisitors: number;
1998
2046
  benchmarkGoalCompletions: number;
1999
2047
  conversionRate: number;
2000
- mainGoalComparisons: {
2001
- mainGoalId: number;
2002
- mainGoalCompletions: number;
2003
- mainGoalCompletionsTotalValue: number;
2004
- benchmarkMainGoalCompletions: number;
2005
- isInvertedGoal: boolean;
2006
- hurtingThreshold: number;
2007
- mainGoalDifference: number;
2008
- warning: boolean;
2009
- mainGoalRatio?: number | null;
2010
- isHurting: boolean;
2011
- }[];
2012
- } | null;
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;
2062
+ };
2013
2063
  winningVariantConversionChange: number;
2014
2064
  bestNonWinningVariantConversionChange: number;
2015
2065
  winnerConversionChange: number;
@@ -2023,27 +2073,9 @@ export interface PostAbTestStartOutput {
2023
2073
  variantStatus: {
2024
2074
  [k: string]: "Running" | "Warning" | "Disabled" | "Reliable" | "Stopped" | "Scheduled" | "Completed" | "Draft";
2025
2075
  };
2026
- } | null;
2076
+ };
2027
2077
  variants?:
2028
2078
  | {
2029
- id: number;
2030
- unique: string;
2031
- abTestId: number;
2032
- name?: string | null;
2033
- description?: string | null;
2034
- redirectNodeKey?: string | null;
2035
- css?: string | null;
2036
- javascript?: string | null;
2037
- created: string;
2038
- createdByUmbracoUserKey: string;
2039
- isBenchmark: boolean;
2040
- disabled?: string | null;
2041
- disabledByUmbracoUserKey?: string | null;
2042
- isDisabled: boolean;
2043
- segment?: string | null;
2044
- previewSegment?: string | null;
2045
- totalPageviewsForVariant: number;
2046
- totalVisitorsForVariant: number;
2047
2079
  label?: string | null;
2048
2080
  currentTotalParticipantCount: number;
2049
2081
  currentTotalPageviewCount: number;
@@ -2073,6 +2105,24 @@ export interface PostAbTestStartOutput {
2073
2105
  status: "Running" | "Warning" | "Disabled" | "Reliable" | "Stopped" | "Scheduled" | "Completed" | "Draft";
2074
2106
  isWinner: boolean;
2075
2107
  isLeading: boolean;
2108
+ id: number;
2109
+ unique: string;
2110
+ abTestId: number;
2111
+ name?: string | null;
2112
+ description?: string | null;
2113
+ redirectNodeKey?: string | null;
2114
+ css?: string | null;
2115
+ javascript?: string | null;
2116
+ created: string;
2117
+ createdByUmbracoUserKey: string;
2118
+ isBenchmark: boolean;
2119
+ disabled?: string | null;
2120
+ disabledByUmbracoUserKey?: string | null;
2121
+ isDisabled: boolean;
2122
+ segment?: string | null;
2123
+ previewSegment?: string | null;
2124
+ totalPageviewsForVariant: number;
2125
+ totalVisitorsForVariant: number;
2076
2126
  }[]
2077
2127
  | null;
2078
2128
  isInvertedGoal: boolean;
@@ -2080,8 +2130,8 @@ export interface PostAbTestStartOutput {
2080
2130
  };
2081
2131
  validationResults: {
2082
2132
  isValid: boolean;
2083
- warnings: string[];
2084
- errors: string[];
2133
+ warnings: string[] | null;
2134
+ errors: string[] | null;
2085
2135
  };
2086
2136
  }
2087
2137
 
@@ -2111,16 +2161,14 @@ export interface PostAbTestStopInput {
2111
2161
  export interface PostAbTestStopOutput {
2112
2162
  test: {
2113
2163
  test: {
2114
- id: number;
2115
- created: string;
2116
2164
  unique: string;
2117
2165
  projectKey?: string | null;
2118
2166
  goalKey?: string | null;
2119
- status: "Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft";
2167
+ status?: null | ("Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft" | null);
2120
2168
  name?: string | null;
2121
2169
  description?: string | null;
2122
2170
  createdByUmbracoUserName?: string | null;
2123
- testType: "SinglePage" | "MultiPage" | "ContentType" | "SplitUrl";
2171
+ testType?: null | ("SinglePage" | "MultiPage" | "ContentType" | "SplitUrl" | null);
2124
2172
  startTime?: string | null;
2125
2173
  endTime?: string | null;
2126
2174
  participationPercentage?: number | null;
@@ -2160,7 +2208,7 @@ export interface PostAbTestStopOutput {
2160
2208
  contentTypeName?: string | null;
2161
2209
  culture?: string | null;
2162
2210
  }[];
2163
- winner?: {
2211
+ winner?: null | {
2164
2212
  id: number;
2165
2213
  unique: string;
2166
2214
  abTestId: number;
@@ -2179,7 +2227,7 @@ export interface PostAbTestStopOutput {
2179
2227
  previewSegment?: string | null;
2180
2228
  totalPageviewsForVariant: number;
2181
2229
  totalVisitorsForVariant: number;
2182
- } | null;
2230
+ };
2183
2231
  isCompleted: boolean;
2184
2232
  completedOn?: string | null;
2185
2233
  completedByUmbracoUserKey?: string | null;
@@ -2189,8 +2237,10 @@ export interface PostAbTestStopOutput {
2189
2237
  viableVisitorThreshold?: number | null;
2190
2238
  previewNodeKey?: string | null;
2191
2239
  onCompleteAction: "Nothing" | "Publish" | "Draft";
2240
+ id: number;
2241
+ created: string;
2192
2242
  };
2193
- indication?: {
2243
+ indication?: null | {
2194
2244
  estimatedRuntimeInDays?: number | null;
2195
2245
  estimatedRequiredRuntimeRemainingInDays?: number | null;
2196
2246
  currentRuntimeInDays: number;
@@ -2201,7 +2251,7 @@ export interface PostAbTestStopOutput {
2201
2251
  requiredVisitorsTotal?: number | null;
2202
2252
  requiredVisitorsPerVariant?: number | null;
2203
2253
  expectedDailyVisitors: number;
2204
- status: "Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft";
2254
+ status: "Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft" | null;
2205
2255
  hurtingVariants: {
2206
2256
  abTestVariant: {
2207
2257
  id: number;
@@ -2219,33 +2269,35 @@ export interface PostAbTestStopOutput {
2219
2269
  isBenchmark: boolean;
2220
2270
  totalPageviewsForVariant: number;
2221
2271
  totalVisitorsForVariant: number;
2222
- segment: string;
2223
- previewSegment: string;
2272
+ segment: string | null;
2273
+ previewSegment: string | null;
2224
2274
  };
2225
2275
  visitors: number;
2226
2276
  goalCompletions: number;
2227
2277
  benchmarkVisitors: number;
2228
2278
  benchmarkGoalCompletions: number;
2229
2279
  conversionRate: number;
2230
- mainGoalComparisons: {
2231
- mainGoalId: number;
2232
- mainGoalCompletions: number;
2233
- mainGoalCompletionsTotalValue: number;
2234
- benchmarkMainGoalCompletions: number;
2235
- isInvertedGoal: boolean;
2236
- hurtingThreshold: number;
2237
- mainGoalDifference: number;
2238
- warning: boolean;
2239
- mainGoalRatio?: number | null;
2240
- isHurting: boolean;
2241
- }[];
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;
2242
2294
  }[];
2243
2295
  currentVisitorsPerVariant: number;
2244
2296
  currentVisitors: number;
2245
2297
  reliableVariants: number;
2246
2298
  isInvertedGoal: boolean;
2247
2299
  originalVariantIsWinning: boolean;
2248
- winningVariant?: {
2300
+ winningVariant?: null | {
2249
2301
  abTestVariant: {
2250
2302
  id: number;
2251
2303
  unique: string;
@@ -2262,28 +2314,30 @@ export interface PostAbTestStopOutput {
2262
2314
  isBenchmark: boolean;
2263
2315
  totalPageviewsForVariant: number;
2264
2316
  totalVisitorsForVariant: number;
2265
- segment: string;
2266
- previewSegment: string;
2317
+ segment: string | null;
2318
+ previewSegment: string | null;
2267
2319
  };
2268
2320
  visitors: number;
2269
2321
  goalCompletions: number;
2270
2322
  benchmarkVisitors: number;
2271
2323
  benchmarkGoalCompletions: number;
2272
2324
  conversionRate: number;
2273
- mainGoalComparisons: {
2274
- mainGoalId: number;
2275
- mainGoalCompletions: number;
2276
- mainGoalCompletionsTotalValue: number;
2277
- benchmarkMainGoalCompletions: number;
2278
- isInvertedGoal: boolean;
2279
- hurtingThreshold: number;
2280
- mainGoalDifference: number;
2281
- warning: boolean;
2282
- mainGoalRatio?: number | null;
2283
- isHurting: boolean;
2284
- }[];
2285
- } | null;
2286
- bestNonBenchmarkVariant?: {
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;
2339
+ };
2340
+ bestNonBenchmarkVariant?: null | {
2287
2341
  abTestVariant: {
2288
2342
  id: number;
2289
2343
  unique: string;
@@ -2300,28 +2354,30 @@ export interface PostAbTestStopOutput {
2300
2354
  isBenchmark: boolean;
2301
2355
  totalPageviewsForVariant: number;
2302
2356
  totalVisitorsForVariant: number;
2303
- segment: string;
2304
- previewSegment: string;
2357
+ segment: string | null;
2358
+ previewSegment: string | null;
2305
2359
  };
2306
2360
  visitors: number;
2307
2361
  goalCompletions: number;
2308
2362
  benchmarkVisitors: number;
2309
2363
  benchmarkGoalCompletions: number;
2310
2364
  conversionRate: number;
2311
- mainGoalComparisons: {
2312
- mainGoalId: number;
2313
- mainGoalCompletions: number;
2314
- mainGoalCompletionsTotalValue: number;
2315
- benchmarkMainGoalCompletions: number;
2316
- isInvertedGoal: boolean;
2317
- hurtingThreshold: number;
2318
- mainGoalDifference: number;
2319
- warning: boolean;
2320
- mainGoalRatio?: number | null;
2321
- isHurting: boolean;
2322
- }[];
2323
- } | null;
2324
- earliestReliableVariant?: {
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;
2379
+ };
2380
+ earliestReliableVariant?: null | {
2325
2381
  abTestVariant: {
2326
2382
  id: number;
2327
2383
  unique: string;
@@ -2338,27 +2394,29 @@ export interface PostAbTestStopOutput {
2338
2394
  isBenchmark: boolean;
2339
2395
  totalPageviewsForVariant: number;
2340
2396
  totalVisitorsForVariant: number;
2341
- segment: string;
2342
- previewSegment: string;
2397
+ segment: string | null;
2398
+ previewSegment: string | null;
2343
2399
  };
2344
2400
  visitors: number;
2345
2401
  goalCompletions: number;
2346
2402
  benchmarkVisitors: number;
2347
2403
  benchmarkGoalCompletions: number;
2348
2404
  conversionRate: number;
2349
- mainGoalComparisons: {
2350
- mainGoalId: number;
2351
- mainGoalCompletions: number;
2352
- mainGoalCompletionsTotalValue: number;
2353
- benchmarkMainGoalCompletions: number;
2354
- isInvertedGoal: boolean;
2355
- hurtingThreshold: number;
2356
- mainGoalDifference: number;
2357
- warning: boolean;
2358
- mainGoalRatio?: number | null;
2359
- isHurting: boolean;
2360
- }[];
2361
- } | null;
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;
2419
+ };
2362
2420
  bestPrognosis: {
2363
2421
  variantId: number;
2364
2422
  conversionIncrease: number;
@@ -2370,7 +2428,7 @@ export interface PostAbTestStopOutput {
2370
2428
  remainingVisitors?: number | null;
2371
2429
  isReliable: boolean;
2372
2430
  };
2373
- winner?: {
2431
+ winner?: null | {
2374
2432
  abTestVariant: {
2375
2433
  id: number;
2376
2434
  unique: string;
@@ -2387,27 +2445,29 @@ export interface PostAbTestStopOutput {
2387
2445
  isBenchmark: boolean;
2388
2446
  totalPageviewsForVariant: number;
2389
2447
  totalVisitorsForVariant: number;
2390
- segment: string;
2391
- previewSegment: string;
2448
+ segment: string | null;
2449
+ previewSegment: string | null;
2392
2450
  };
2393
2451
  visitors: number;
2394
2452
  goalCompletions: number;
2395
2453
  benchmarkVisitors: number;
2396
- benchmarkGoalCompletions: number;
2397
- conversionRate: number;
2398
- mainGoalComparisons: {
2399
- mainGoalId: number;
2400
- mainGoalCompletions: number;
2401
- mainGoalCompletionsTotalValue: number;
2402
- benchmarkMainGoalCompletions: number;
2403
- isInvertedGoal: boolean;
2404
- hurtingThreshold: number;
2405
- mainGoalDifference: number;
2406
- warning: boolean;
2407
- mainGoalRatio?: number | null;
2408
- isHurting: boolean;
2409
- }[];
2410
- } | null;
2454
+ benchmarkGoalCompletions: number;
2455
+ 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;
2470
+ };
2411
2471
  winningVariantConversionChange: number;
2412
2472
  bestNonWinningVariantConversionChange: number;
2413
2473
  winnerConversionChange: number;
@@ -2421,27 +2481,9 @@ export interface PostAbTestStopOutput {
2421
2481
  variantStatus: {
2422
2482
  [k: string]: "Running" | "Warning" | "Disabled" | "Reliable" | "Stopped" | "Scheduled" | "Completed" | "Draft";
2423
2483
  };
2424
- } | null;
2484
+ };
2425
2485
  variants?:
2426
2486
  | {
2427
- id: number;
2428
- unique: string;
2429
- abTestId: number;
2430
- name?: string | null;
2431
- description?: string | null;
2432
- redirectNodeKey?: string | null;
2433
- css?: string | null;
2434
- javascript?: string | null;
2435
- created: string;
2436
- createdByUmbracoUserKey: string;
2437
- isBenchmark: boolean;
2438
- disabled?: string | null;
2439
- disabledByUmbracoUserKey?: string | null;
2440
- isDisabled: boolean;
2441
- segment?: string | null;
2442
- previewSegment?: string | null;
2443
- totalPageviewsForVariant: number;
2444
- totalVisitorsForVariant: number;
2445
2487
  label?: string | null;
2446
2488
  currentTotalParticipantCount: number;
2447
2489
  currentTotalPageviewCount: number;
@@ -2471,6 +2513,24 @@ export interface PostAbTestStopOutput {
2471
2513
  status: "Running" | "Warning" | "Disabled" | "Reliable" | "Stopped" | "Scheduled" | "Completed" | "Draft";
2472
2514
  isWinner: boolean;
2473
2515
  isLeading: boolean;
2516
+ id: number;
2517
+ unique: string;
2518
+ abTestId: number;
2519
+ name?: string | null;
2520
+ description?: string | null;
2521
+ redirectNodeKey?: string | null;
2522
+ css?: string | null;
2523
+ javascript?: string | null;
2524
+ created: string;
2525
+ createdByUmbracoUserKey: string;
2526
+ isBenchmark: boolean;
2527
+ disabled?: string | null;
2528
+ disabledByUmbracoUserKey?: string | null;
2529
+ isDisabled: boolean;
2530
+ segment?: string | null;
2531
+ previewSegment?: string | null;
2532
+ totalPageviewsForVariant: number;
2533
+ totalVisitorsForVariant: number;
2474
2534
  }[]
2475
2535
  | null;
2476
2536
  isInvertedGoal: boolean;
@@ -2478,8 +2538,8 @@ export interface PostAbTestStopOutput {
2478
2538
  };
2479
2539
  validationResults: {
2480
2540
  isValid: boolean;
2481
- warnings: string[];
2482
- errors: string[];
2541
+ warnings: string[] | null;
2542
+ errors: string[] | null;
2483
2543
  };
2484
2544
  }
2485
2545
 
@@ -2489,8 +2549,6 @@ export interface PostAbTestProjectInput {
2489
2549
  }
2490
2550
 
2491
2551
  export interface PostAbTestProjectOutput {
2492
- id: number;
2493
- created: string;
2494
2552
  unique: string;
2495
2553
  name?: string | null;
2496
2554
  description?: string | null;
@@ -2500,16 +2558,14 @@ export interface PostAbTestProjectOutput {
2500
2558
  invalid: boolean;
2501
2559
  archived: boolean;
2502
2560
  abTests: {
2503
- id: number;
2504
- created: string;
2505
2561
  unique: string;
2506
2562
  projectKey?: string | null;
2507
2563
  goalKey?: string | null;
2508
- status: "Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft";
2564
+ status?: null | ("Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft" | null);
2509
2565
  name?: string | null;
2510
2566
  description?: string | null;
2511
2567
  createdByUmbracoUserName?: string | null;
2512
- testType: "SinglePage" | "MultiPage" | "ContentType" | "SplitUrl";
2568
+ testType?: null | ("SinglePage" | "MultiPage" | "ContentType" | "SplitUrl" | null);
2513
2569
  startTime?: string | null;
2514
2570
  endTime?: string | null;
2515
2571
  participationPercentage?: number | null;
@@ -2549,7 +2605,7 @@ export interface PostAbTestProjectOutput {
2549
2605
  contentTypeName?: string | null;
2550
2606
  culture?: string | null;
2551
2607
  }[];
2552
- winner?: {
2608
+ winner?: null | {
2553
2609
  id: number;
2554
2610
  unique: string;
2555
2611
  abTestId: number;
@@ -2568,7 +2624,7 @@ export interface PostAbTestProjectOutput {
2568
2624
  previewSegment?: string | null;
2569
2625
  totalPageviewsForVariant: number;
2570
2626
  totalVisitorsForVariant: number;
2571
- } | null;
2627
+ };
2572
2628
  isCompleted: boolean;
2573
2629
  completedOn?: string | null;
2574
2630
  completedByUmbracoUserKey?: string | null;
@@ -2578,7 +2634,11 @@ export interface PostAbTestProjectOutput {
2578
2634
  viableVisitorThreshold?: number | null;
2579
2635
  previewNodeKey?: string | null;
2580
2636
  onCompleteAction: "Nothing" | "Publish" | "Draft";
2637
+ id: number;
2638
+ created: string;
2581
2639
  }[];
2640
+ id: number;
2641
+ created: string;
2582
2642
  }
2583
2643
 
2584
2644
  export interface DeleteAbTestProjectInput {
@@ -2590,8 +2650,6 @@ export interface GetAbTestProjectInput {
2590
2650
  }
2591
2651
 
2592
2652
  export interface GetAbTestProjectOutput {
2593
- id: number;
2594
- created: string;
2595
2653
  unique: string;
2596
2654
  name?: string | null;
2597
2655
  description?: string | null;
@@ -2601,16 +2659,14 @@ export interface GetAbTestProjectOutput {
2601
2659
  invalid: boolean;
2602
2660
  archived: boolean;
2603
2661
  abTests: {
2604
- id: number;
2605
- created: string;
2606
2662
  unique: string;
2607
2663
  projectKey?: string | null;
2608
2664
  goalKey?: string | null;
2609
- status: "Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft";
2665
+ status?: null | ("Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft" | null);
2610
2666
  name?: string | null;
2611
2667
  description?: string | null;
2612
2668
  createdByUmbracoUserName?: string | null;
2613
- testType: "SinglePage" | "MultiPage" | "ContentType" | "SplitUrl";
2669
+ testType?: null | ("SinglePage" | "MultiPage" | "ContentType" | "SplitUrl" | null);
2614
2670
  startTime?: string | null;
2615
2671
  endTime?: string | null;
2616
2672
  participationPercentage?: number | null;
@@ -2650,7 +2706,7 @@ export interface GetAbTestProjectOutput {
2650
2706
  contentTypeName?: string | null;
2651
2707
  culture?: string | null;
2652
2708
  }[];
2653
- winner?: {
2709
+ winner?: null | {
2654
2710
  id: number;
2655
2711
  unique: string;
2656
2712
  abTestId: number;
@@ -2669,7 +2725,7 @@ export interface GetAbTestProjectOutput {
2669
2725
  previewSegment?: string | null;
2670
2726
  totalPageviewsForVariant: number;
2671
2727
  totalVisitorsForVariant: number;
2672
- } | null;
2728
+ };
2673
2729
  isCompleted: boolean;
2674
2730
  completedOn?: string | null;
2675
2731
  completedByUmbracoUserKey?: string | null;
@@ -2679,12 +2735,14 @@ export interface GetAbTestProjectOutput {
2679
2735
  viableVisitorThreshold?: number | null;
2680
2736
  previewNodeKey?: string | null;
2681
2737
  onCompleteAction: "Nothing" | "Publish" | "Draft";
2738
+ id: number;
2739
+ created: string;
2682
2740
  }[];
2741
+ id: number;
2742
+ created: string;
2683
2743
  }
2684
2744
 
2685
2745
  export interface PutAbTestProjectInput {
2686
- id: number;
2687
- created: string;
2688
2746
  unique: string;
2689
2747
  name?: string | null;
2690
2748
  description?: string | null;
@@ -2694,16 +2752,14 @@ export interface PutAbTestProjectInput {
2694
2752
  invalid: boolean;
2695
2753
  archived: boolean;
2696
2754
  abTests: {
2697
- id: number;
2698
- created: string;
2699
2755
  unique: string;
2700
2756
  projectKey?: string | null;
2701
2757
  goalKey?: string | null;
2702
- status: "Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft";
2758
+ status?: null | ("Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft" | null);
2703
2759
  name?: string | null;
2704
2760
  description?: string | null;
2705
2761
  createdByUmbracoUserName?: string | null;
2706
- testType: "SinglePage" | "MultiPage" | "ContentType" | "SplitUrl";
2762
+ testType?: null | ("SinglePage" | "MultiPage" | "ContentType" | "SplitUrl" | null);
2707
2763
  startTime?: string | null;
2708
2764
  endTime?: string | null;
2709
2765
  participationPercentage?: number | null;
@@ -2743,7 +2799,7 @@ export interface PutAbTestProjectInput {
2743
2799
  contentTypeName?: string | null;
2744
2800
  culture?: string | null;
2745
2801
  }[];
2746
- winner?: {
2802
+ winner?: null | {
2747
2803
  id: number;
2748
2804
  unique: string;
2749
2805
  abTestId: number;
@@ -2762,7 +2818,7 @@ export interface PutAbTestProjectInput {
2762
2818
  previewSegment?: string | null;
2763
2819
  totalPageviewsForVariant: number;
2764
2820
  totalVisitorsForVariant: number;
2765
- } | null;
2821
+ };
2766
2822
  isCompleted: boolean;
2767
2823
  completedOn?: string | null;
2768
2824
  completedByUmbracoUserKey?: string | null;
@@ -2772,12 +2828,14 @@ export interface PutAbTestProjectInput {
2772
2828
  viableVisitorThreshold?: number | null;
2773
2829
  previewNodeKey?: string | null;
2774
2830
  onCompleteAction: "Nothing" | "Publish" | "Draft";
2831
+ id: number;
2832
+ created: string;
2775
2833
  }[];
2834
+ id: number;
2835
+ created: string;
2776
2836
  }
2777
2837
 
2778
2838
  export interface PutAbTestProjectOutput {
2779
- id: number;
2780
- created: string;
2781
2839
  unique: string;
2782
2840
  name?: string | null;
2783
2841
  description?: string | null;
@@ -2787,16 +2845,14 @@ export interface PutAbTestProjectOutput {
2787
2845
  invalid: boolean;
2788
2846
  archived: boolean;
2789
2847
  abTests: {
2790
- id: number;
2791
- created: string;
2792
2848
  unique: string;
2793
2849
  projectKey?: string | null;
2794
2850
  goalKey?: string | null;
2795
- status: "Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft";
2851
+ status?: null | ("Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft" | null);
2796
2852
  name?: string | null;
2797
2853
  description?: string | null;
2798
2854
  createdByUmbracoUserName?: string | null;
2799
- testType: "SinglePage" | "MultiPage" | "ContentType" | "SplitUrl";
2855
+ testType?: null | ("SinglePage" | "MultiPage" | "ContentType" | "SplitUrl" | null);
2800
2856
  startTime?: string | null;
2801
2857
  endTime?: string | null;
2802
2858
  participationPercentage?: number | null;
@@ -2836,7 +2892,7 @@ export interface PutAbTestProjectOutput {
2836
2892
  contentTypeName?: string | null;
2837
2893
  culture?: string | null;
2838
2894
  }[];
2839
- winner?: {
2895
+ winner?: null | {
2840
2896
  id: number;
2841
2897
  unique: string;
2842
2898
  abTestId: number;
@@ -2855,7 +2911,7 @@ export interface PutAbTestProjectOutput {
2855
2911
  previewSegment?: string | null;
2856
2912
  totalPageviewsForVariant: number;
2857
2913
  totalVisitorsForVariant: number;
2858
- } | null;
2914
+ };
2859
2915
  isCompleted: boolean;
2860
2916
  completedOn?: string | null;
2861
2917
  completedByUmbracoUserKey?: string | null;
@@ -2865,15 +2921,17 @@ export interface PutAbTestProjectOutput {
2865
2921
  viableVisitorThreshold?: number | null;
2866
2922
  previewNodeKey?: string | null;
2867
2923
  onCompleteAction: "Nothing" | "Publish" | "Draft";
2924
+ id: number;
2925
+ created: string;
2868
2926
  }[];
2927
+ id: number;
2928
+ created: string;
2869
2929
  }
2870
2930
 
2871
2931
  export interface GetAbTestProjectAllInput {}
2872
2932
 
2873
2933
  export interface GetAbTestProjectAllOutput {
2874
2934
  items: {
2875
- id: number;
2876
- created: string;
2877
2935
  unique: string;
2878
2936
  name?: string | null;
2879
2937
  description?: string | null;
@@ -2883,16 +2941,14 @@ export interface GetAbTestProjectAllOutput {
2883
2941
  invalid: boolean;
2884
2942
  archived: boolean;
2885
2943
  abTests: {
2886
- id: number;
2887
- created: string;
2888
2944
  unique: string;
2889
2945
  projectKey?: string | null;
2890
2946
  goalKey?: string | null;
2891
- status: "Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft";
2947
+ status?: null | ("Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft" | null);
2892
2948
  name?: string | null;
2893
2949
  description?: string | null;
2894
2950
  createdByUmbracoUserName?: string | null;
2895
- testType: "SinglePage" | "MultiPage" | "ContentType" | "SplitUrl";
2951
+ testType?: null | ("SinglePage" | "MultiPage" | "ContentType" | "SplitUrl" | null);
2896
2952
  startTime?: string | null;
2897
2953
  endTime?: string | null;
2898
2954
  participationPercentage?: number | null;
@@ -2932,7 +2988,7 @@ export interface GetAbTestProjectAllOutput {
2932
2988
  contentTypeName?: string | null;
2933
2989
  culture?: string | null;
2934
2990
  }[];
2935
- winner?: {
2991
+ winner?: null | {
2936
2992
  id: number;
2937
2993
  unique: string;
2938
2994
  abTestId: number;
@@ -2951,7 +3007,7 @@ export interface GetAbTestProjectAllOutput {
2951
3007
  previewSegment?: string | null;
2952
3008
  totalPageviewsForVariant: number;
2953
3009
  totalVisitorsForVariant: number;
2954
- } | null;
3010
+ };
2955
3011
  isCompleted: boolean;
2956
3012
  completedOn?: string | null;
2957
3013
  completedByUmbracoUserKey?: string | null;
@@ -2961,7 +3017,11 @@ export interface GetAbTestProjectAllOutput {
2961
3017
  viableVisitorThreshold?: number | null;
2962
3018
  previewNodeKey?: string | null;
2963
3019
  onCompleteAction: "Nothing" | "Publish" | "Draft";
3020
+ id: number;
3021
+ created: string;
2964
3022
  }[];
3023
+ id: number;
3024
+ created: string;
2965
3025
  }[];
2966
3026
  }
2967
3027
 
@@ -2989,9 +3049,9 @@ export interface GetAbTestProjectDetailsOutput {
2989
3049
  description?: string | null;
2990
3050
  createdByUmbracoUserKey?: string | null;
2991
3051
  createdByUmbracoUserName?: string | null;
2992
- testType: "SinglePage" | "MultiPage" | "ContentType" | "SplitUrl";
3052
+ testType?: null | ("SinglePage" | "MultiPage" | "ContentType" | "SplitUrl" | null);
2993
3053
  startTime?: string | null;
2994
- status: "Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft";
3054
+ status: "Unknown" | "Scheduled" | "Running" | "Stopped" | "Completed" | "Draft" | null;
2995
3055
  endTime?: string | null;
2996
3056
  runtimeInDays?: number | null;
2997
3057
  totalVariants: number;
@@ -3274,14 +3334,18 @@ export interface GetAnalyticsDistinctOutput {
3274
3334
  }
3275
3335
 
3276
3336
  export interface PostAnalyticsQueryInput {
3337
+ /**
3338
+ * Free-text filter expression - syntax is not documented by the underlying API; omit unless the exact syntax is already known.
3339
+ */
3340
+ filter?: string | null;
3277
3341
  /**
3278
3342
  * ISO 8601 datetime, e.g. 2026-01-01T00:00:00Z
3279
3343
  */
3280
- startDate: string;
3344
+ startDate: string | null;
3281
3345
  /**
3282
3346
  * ISO 8601 datetime, e.g. 2026-01-31T23:59:59Z
3283
3347
  */
3284
- endDate: string;
3348
+ endDate: string | null;
3285
3349
  metrics: (
3286
3350
  | "UNDEFINED"
3287
3351
  | "users"
@@ -3433,147 +3497,150 @@ export interface PostAnalyticsQueryInput {
3433
3497
  * Defaults to the first dimension, or the first metric if there are no dimensions.
3434
3498
  */
3435
3499
  sort?:
3436
- | "UNDEFINED"
3437
- | "usertype"
3438
- | "referralPath"
3439
- | "fullReferrer"
3440
- | "campaign"
3441
- | "source"
3442
- | "medium"
3443
- | "sourceMedium"
3444
- | "browser"
3445
- | "browserVersion"
3446
- | "operatingSystem"
3447
- | "operatingSystemVersion"
3448
- | "deviceCategory"
3449
- | "country"
3450
- | "city"
3451
- | "hostname"
3452
- | "pageUrl"
3453
- | "pageId"
3454
- | "NodeId"
3455
- | "NodeCulture"
3456
- | "NodeSegment"
3457
- | "NodeContentType"
3458
- | "pagePath"
3459
- | "eventCategory"
3460
- | "eventAction"
3461
- | "eventLabel"
3462
- | "date"
3463
- | "year"
3464
- | "month"
3465
- | "week"
3466
- | "day"
3467
- | "hour"
3468
- | "minute"
3469
- | "nthMonth"
3470
- | "nthWeek"
3471
- | "nthDay"
3472
- | "nthMinute"
3473
- | "nthHour"
3474
- | "abTest"
3475
- | "abTestVariant"
3476
- | "goal"
3477
- | "goalId"
3478
- | "goalType"
3479
- | "isMainGoal"
3480
- | "visitorType"
3481
- | "bot"
3482
- | "botId"
3483
- | "botVersion"
3484
- | "botVersionId"
3485
- | "referralHostname"
3486
- | "referralIsInternalPage"
3487
- | "referralPathAndQuery"
3488
- | "browserId"
3489
- | "datetime"
3490
- | "pageviewSegmentId"
3491
- | "pageviewSegmentName"
3492
- | "pageviewAppliedSegmentId"
3493
- | "pageviewAppliedSegmentName"
3494
- | "pageviewAppliedPersonalizationId"
3495
- | "pageviewAppliedPersonalizationName"
3496
- | "videoName"
3497
- | "videoUrl"
3498
- | "videoEventType"
3499
- | "videoEventTypeName"
3500
- | "umbracoFormsName"
3501
- | "umbracoFormsId"
3502
- | "umbracoFormsFieldName"
3503
- | "umbracoFormsFieldId"
3504
- | "umbracoFormsFieldError"
3505
- | "cityId"
3506
- | "countryId"
3507
- | "province"
3508
- | "provinceId"
3509
- | "county"
3510
- | "countyId"
3511
- | "sourcePlatform"
3512
- | "creativeFormat"
3513
- | "marketingTactic"
3514
- | "segmentId"
3515
- | "segmentName"
3516
- | "searchTerm"
3517
- | "users"
3518
- | "newVisitors"
3519
- | "percentNewSessions"
3520
- | "sessions"
3521
- | "bounceRate"
3522
- | "sessionDuration"
3523
- | "avgSessionDuration"
3524
- | "goalCompletionsAll"
3525
- | "goalValueAll"
3526
- | "pageviews"
3527
- | "pageviewsWithSubpages"
3528
- | "pageviewsPerSession"
3529
- | "uniquePageviews"
3530
- | "avgTimeOnPage"
3531
- | "totalEvents"
3532
- | "eventValue"
3533
- | "avgEventValue"
3534
- | "abTestVariantVisitors"
3535
- | "abTestVariantCompletionsAll"
3536
- | "videoPlays"
3537
- | "videoPlaytime"
3538
- | "avgVideoPlaytime"
3539
- | "avgRelativeVideoPlaytime"
3540
- | "videoEvents"
3541
- | "umbracoFormsViews"
3542
- | "umbracoFormsSubmissions"
3543
- | "umbracoFormsStarts"
3544
- | "umbracoFormsAbandons"
3545
- | "umbracoFormsErrors"
3546
- | "umbracoFormsFieldFocusses"
3547
- | "umbracoFormsFieldAbandons"
3548
- | "umbracoFormsFieldErrors"
3549
- | "avgEngagedTimeOnPage"
3550
- | "pageviewsBot"
3551
- | "pageSessions"
3552
- | "pageVisitors"
3553
- | "pageSessionsWithSubpages"
3554
- | "pageVisitorsWithSubpages"
3555
- | "activeSegmentPageviews"
3556
- | "inactiveSegmentPageviews"
3557
- | "activeSegmentSessions"
3558
- | "inactiveSegmentSessions"
3559
- | "activeSegmentProfiles"
3560
- | "inactiveSegmentProfiles"
3561
- | "activePersonalizedSegmentPageviews"
3562
- | "inactivePersonalizedSegmentPageviews"
3563
- | "activePersonalizedSegmentSessions"
3564
- | "inactivePersonalizedSegmentSessions"
3565
- | "activePersonalizedSegmentProfiles"
3566
- | "inactivePersonalizedSegmentProfiles"
3567
- | "searchVolume"
3568
- | "searchVolumeWithSubpages"
3569
- | "visitors"
3570
- | "campaignEntries"
3571
- | "campaignVisitors"
3572
- | "campaignGoals"
3573
- | "campaignGoalValue"
3574
- | "campaignFormSubmissions"
3575
- | "campaignCommerceOrders"
3576
- | "entrySessions";
3500
+ | null
3501
+ | (
3502
+ | "UNDEFINED"
3503
+ | "usertype"
3504
+ | "referralPath"
3505
+ | "fullReferrer"
3506
+ | "campaign"
3507
+ | "source"
3508
+ | "medium"
3509
+ | "sourceMedium"
3510
+ | "browser"
3511
+ | "browserVersion"
3512
+ | "operatingSystem"
3513
+ | "operatingSystemVersion"
3514
+ | "deviceCategory"
3515
+ | "country"
3516
+ | "city"
3517
+ | "hostname"
3518
+ | "pageUrl"
3519
+ | "pageId"
3520
+ | "NodeId"
3521
+ | "NodeCulture"
3522
+ | "NodeSegment"
3523
+ | "NodeContentType"
3524
+ | "pagePath"
3525
+ | "eventCategory"
3526
+ | "eventAction"
3527
+ | "eventLabel"
3528
+ | "date"
3529
+ | "year"
3530
+ | "month"
3531
+ | "week"
3532
+ | "day"
3533
+ | "hour"
3534
+ | "minute"
3535
+ | "nthMonth"
3536
+ | "nthWeek"
3537
+ | "nthDay"
3538
+ | "nthMinute"
3539
+ | "nthHour"
3540
+ | "abTest"
3541
+ | "abTestVariant"
3542
+ | "goal"
3543
+ | "goalId"
3544
+ | "goalType"
3545
+ | "isMainGoal"
3546
+ | "visitorType"
3547
+ | "bot"
3548
+ | "botId"
3549
+ | "botVersion"
3550
+ | "botVersionId"
3551
+ | "referralHostname"
3552
+ | "referralIsInternalPage"
3553
+ | "referralPathAndQuery"
3554
+ | "browserId"
3555
+ | "datetime"
3556
+ | "pageviewSegmentId"
3557
+ | "pageviewSegmentName"
3558
+ | "pageviewAppliedSegmentId"
3559
+ | "pageviewAppliedSegmentName"
3560
+ | "pageviewAppliedPersonalizationId"
3561
+ | "pageviewAppliedPersonalizationName"
3562
+ | "videoName"
3563
+ | "videoUrl"
3564
+ | "videoEventType"
3565
+ | "videoEventTypeName"
3566
+ | "umbracoFormsName"
3567
+ | "umbracoFormsId"
3568
+ | "umbracoFormsFieldName"
3569
+ | "umbracoFormsFieldId"
3570
+ | "umbracoFormsFieldError"
3571
+ | "cityId"
3572
+ | "countryId"
3573
+ | "province"
3574
+ | "provinceId"
3575
+ | "county"
3576
+ | "countyId"
3577
+ | "sourcePlatform"
3578
+ | "creativeFormat"
3579
+ | "marketingTactic"
3580
+ | "segmentId"
3581
+ | "segmentName"
3582
+ | "searchTerm"
3583
+ | "users"
3584
+ | "newVisitors"
3585
+ | "percentNewSessions"
3586
+ | "sessions"
3587
+ | "bounceRate"
3588
+ | "sessionDuration"
3589
+ | "avgSessionDuration"
3590
+ | "goalCompletionsAll"
3591
+ | "goalValueAll"
3592
+ | "pageviews"
3593
+ | "pageviewsWithSubpages"
3594
+ | "pageviewsPerSession"
3595
+ | "uniquePageviews"
3596
+ | "avgTimeOnPage"
3597
+ | "totalEvents"
3598
+ | "eventValue"
3599
+ | "avgEventValue"
3600
+ | "abTestVariantVisitors"
3601
+ | "abTestVariantCompletionsAll"
3602
+ | "videoPlays"
3603
+ | "videoPlaytime"
3604
+ | "avgVideoPlaytime"
3605
+ | "avgRelativeVideoPlaytime"
3606
+ | "videoEvents"
3607
+ | "umbracoFormsViews"
3608
+ | "umbracoFormsSubmissions"
3609
+ | "umbracoFormsStarts"
3610
+ | "umbracoFormsAbandons"
3611
+ | "umbracoFormsErrors"
3612
+ | "umbracoFormsFieldFocusses"
3613
+ | "umbracoFormsFieldAbandons"
3614
+ | "umbracoFormsFieldErrors"
3615
+ | "avgEngagedTimeOnPage"
3616
+ | "pageviewsBot"
3617
+ | "pageSessions"
3618
+ | "pageVisitors"
3619
+ | "pageSessionsWithSubpages"
3620
+ | "pageVisitorsWithSubpages"
3621
+ | "activeSegmentPageviews"
3622
+ | "inactiveSegmentPageviews"
3623
+ | "activeSegmentSessions"
3624
+ | "inactiveSegmentSessions"
3625
+ | "activeSegmentProfiles"
3626
+ | "inactiveSegmentProfiles"
3627
+ | "activePersonalizedSegmentPageviews"
3628
+ | "inactivePersonalizedSegmentPageviews"
3629
+ | "activePersonalizedSegmentSessions"
3630
+ | "inactivePersonalizedSegmentSessions"
3631
+ | "activePersonalizedSegmentProfiles"
3632
+ | "inactivePersonalizedSegmentProfiles"
3633
+ | "searchVolume"
3634
+ | "searchVolumeWithSubpages"
3635
+ | "visitors"
3636
+ | "campaignEntries"
3637
+ | "campaignVisitors"
3638
+ | "campaignGoals"
3639
+ | "campaignGoalValue"
3640
+ | "campaignFormSubmissions"
3641
+ | "campaignCommerceOrders"
3642
+ | "entrySessions"
3643
+ );
3577
3644
  ascending?: boolean;
3578
3645
  page?: number;
3579
3646
  pageSize?: number;
@@ -3581,10 +3648,6 @@ export interface PostAnalyticsQueryInput {
3581
3648
  includeTotals?: boolean | null;
3582
3649
  includeTotalRows?: boolean | null;
3583
3650
  includeSubpages?: boolean;
3584
- /**
3585
- * Free-text filter expression - syntax is not documented by the underlying API; omit unless the exact syntax is already known.
3586
- */
3587
- filter?: string | null;
3588
3651
  }
3589
3652
 
3590
3653
  export interface PostAnalyticsQueryOutput {
@@ -3768,8 +3831,6 @@ export interface PostAnnotationsInput {
3768
3831
  }
3769
3832
 
3770
3833
  export interface PostAnnotationsOutput {
3771
- id: number;
3772
- created: string;
3773
3834
  timestamp: string;
3774
3835
  description: string;
3775
3836
  createdByUserName: string;
@@ -3779,6 +3840,8 @@ export interface PostAnnotationsOutput {
3779
3840
  unique: string;
3780
3841
  culture?: string | null;
3781
3842
  }[];
3843
+ id: number;
3844
+ created: string;
3782
3845
  }
3783
3846
 
3784
3847
  export interface GetAnnotationsAllInput {
@@ -3788,8 +3851,6 @@ export interface GetAnnotationsAllInput {
3788
3851
 
3789
3852
  export interface GetAnnotationsAllOutput {
3790
3853
  items: {
3791
- id: number;
3792
- created: string;
3793
3854
  timestamp: string;
3794
3855
  description: string;
3795
3856
  createdByUserName: string;
@@ -3799,14 +3860,14 @@ export interface GetAnnotationsAllOutput {
3799
3860
  unique: string;
3800
3861
  culture?: string | null;
3801
3862
  }[];
3863
+ id: number;
3864
+ created: string;
3802
3865
  }[];
3803
3866
  }
3804
3867
 
3805
3868
  export interface GetAnnotationsEmptyInput {}
3806
3869
 
3807
3870
  export interface GetAnnotationsEmptyOutput {
3808
- id: number;
3809
- created: string;
3810
3871
  timestamp: string;
3811
3872
  description: string;
3812
3873
  createdByUserName: string;
@@ -3816,6 +3877,8 @@ export interface GetAnnotationsEmptyOutput {
3816
3877
  unique: string;
3817
3878
  culture?: string | null;
3818
3879
  }[];
3880
+ id: number;
3881
+ created: string;
3819
3882
  }
3820
3883
 
3821
3884
  export interface GetAnnotationsGlobalInput {
@@ -3824,9 +3887,7 @@ export interface GetAnnotationsGlobalInput {
3824
3887
  }
3825
3888
 
3826
3889
  export interface GetAnnotationsGlobalOutput {
3827
- items: {
3828
- id: number;
3829
- created: string;
3890
+ items: {
3830
3891
  timestamp: string;
3831
3892
  description: string;
3832
3893
  createdByUserName: string;
@@ -3836,6 +3897,8 @@ export interface GetAnnotationsGlobalOutput {
3836
3897
  unique: string;
3837
3898
  culture?: string | null;
3838
3899
  }[];
3900
+ id: number;
3901
+ created: string;
3839
3902
  }[];
3840
3903
  }
3841
3904
 
@@ -3848,8 +3911,6 @@ export interface GetAnnotationsPageInput {
3848
3911
 
3849
3912
  export interface GetAnnotationsPageOutput {
3850
3913
  items: {
3851
- id: number;
3852
- created: string;
3853
3914
  timestamp: string;
3854
3915
  description: string;
3855
3916
  createdByUserName: string;
@@ -3859,6 +3920,8 @@ export interface GetAnnotationsPageOutput {
3859
3920
  unique: string;
3860
3921
  culture?: string | null;
3861
3922
  }[];
3923
+ id: number;
3924
+ created: string;
3862
3925
  }[];
3863
3926
  }
3864
3927
 
@@ -3869,7 +3932,7 @@ export interface DeleteAppliedPersonalizationInput {
3869
3932
  export interface PostAppliedPersonalizationInput {
3870
3933
  name?: string | null;
3871
3934
  description?: string | null;
3872
- type: "SinglePage" | "MultiPage" | "ContentType";
3935
+ type?: null | ("SinglePage" | "MultiPage" | "ContentType" | null);
3873
3936
  isActive?: boolean;
3874
3937
  css?: string | null;
3875
3938
  javascript?: string | null;
@@ -3895,11 +3958,9 @@ export interface PostAppliedPersonalizationInput {
3895
3958
  }
3896
3959
 
3897
3960
  export interface PostAppliedPersonalizationOutput {
3898
- id: number;
3899
- created: string;
3900
3961
  unique: string;
3901
3962
  segmentKey?: string | null;
3902
- type: "SinglePage" | "MultiPage" | "ContentType";
3963
+ type?: null | ("SinglePage" | "MultiPage" | "ContentType" | null);
3903
3964
  umbracoSegmentAlias?: string | null;
3904
3965
  name?: string | null;
3905
3966
  description?: string | null;
@@ -3925,17 +3986,17 @@ export interface PostAppliedPersonalizationOutput {
3925
3986
  }[];
3926
3987
  previewSegment?: string | null;
3927
3988
  previewNodeKey?: string | null;
3989
+ id: number;
3990
+ created: string;
3928
3991
  }
3929
3992
 
3930
3993
  export interface GetAppliedPersonalizationAllInput {}
3931
3994
 
3932
3995
  export interface GetAppliedPersonalizationAllOutput {
3933
3996
  items: {
3934
- id: number;
3935
- created: string;
3936
3997
  unique: string;
3937
3998
  segmentKey?: string | null;
3938
- type: "SinglePage" | "MultiPage" | "ContentType";
3999
+ type?: null | ("SinglePage" | "MultiPage" | "ContentType" | null);
3939
4000
  umbracoSegmentAlias?: string | null;
3940
4001
  name?: string | null;
3941
4002
  description?: string | null;
@@ -3961,6 +4022,8 @@ export interface GetAppliedPersonalizationAllOutput {
3961
4022
  }[];
3962
4023
  previewSegment?: string | null;
3963
4024
  previewNodeKey?: string | null;
4025
+ id: number;
4026
+ created: string;
3964
4027
  }[];
3965
4028
  }
3966
4029
 
@@ -3969,11 +4032,9 @@ export interface GetAppliedPersonalizationIdInput {
3969
4032
  }
3970
4033
 
3971
4034
  export interface GetAppliedPersonalizationIdOutput {
3972
- id: number;
3973
- created: string;
3974
4035
  unique: string;
3975
4036
  segmentKey?: string | null;
3976
- type: "SinglePage" | "MultiPage" | "ContentType";
4037
+ type?: null | ("SinglePage" | "MultiPage" | "ContentType" | null);
3977
4038
  umbracoSegmentAlias?: string | null;
3978
4039
  name?: string | null;
3979
4040
  description?: string | null;
@@ -3999,6 +4060,8 @@ export interface GetAppliedPersonalizationIdOutput {
3999
4060
  }[];
4000
4061
  previewSegment?: string | null;
4001
4062
  previewNodeKey?: string | null;
4063
+ id: number;
4064
+ created: string;
4002
4065
  }
4003
4066
 
4004
4067
  export interface PostAppliedPersonalizationSegmentInput {
@@ -4017,11 +4080,9 @@ export interface GetAppliedPersonalizationSegmentInput {
4017
4080
  }
4018
4081
 
4019
4082
  export interface GetAppliedPersonalizationSegmentOutput {
4020
- id: number;
4021
- created: string;
4022
4083
  unique: string;
4023
4084
  segmentKey?: string | null;
4024
- type: "SinglePage" | "MultiPage" | "ContentType";
4085
+ type?: null | ("SinglePage" | "MultiPage" | "ContentType" | null);
4025
4086
  umbracoSegmentAlias?: string | null;
4026
4087
  name?: string | null;
4027
4088
  description?: string | null;
@@ -4047,6 +4108,8 @@ export interface GetAppliedPersonalizationSegmentOutput {
4047
4108
  }[];
4048
4109
  previewSegment?: string | null;
4049
4110
  previewNodeKey?: string | null;
4111
+ id: number;
4112
+ created: string;
4050
4113
  }
4051
4114
 
4052
4115
  export interface DeleteCampaignGroupInput {
@@ -4058,15 +4121,11 @@ export interface GetCampaignGroupInput {
4058
4121
  }
4059
4122
 
4060
4123
  export interface GetCampaignGroupOutput {
4061
- id: number;
4062
- created: string;
4063
4124
  unique: string;
4064
4125
  name?: string | null;
4065
4126
  description?: string | null;
4066
4127
  invalid: boolean;
4067
4128
  campaigns: {
4068
- id: number;
4069
- created: string;
4070
4129
  unique?: string | null;
4071
4130
  campaignGroupId: number;
4072
4131
  utmSource?: string | null;
@@ -4077,23 +4136,27 @@ export interface GetCampaignGroupOutput {
4077
4136
  utmSourcePlatform?: string | null;
4078
4137
  utmCreativeFormat?: string | null;
4079
4138
  utmMarketingTactic?: string | null;
4139
+ id: number;
4140
+ created: string;
4080
4141
  }[];
4081
4142
  customerJourneyScoring: {
4143
+ groupId: number;
4144
+ customerJourneyStepId: number;
4082
4145
  id: number;
4083
4146
  unique: string;
4084
4147
  score: number;
4085
4148
  isLocked: boolean;
4086
- groupId: number;
4087
- customerJourneyStepId: number;
4088
4149
  }[];
4089
4150
  personaScoring: {
4151
+ groupId: number;
4152
+ personaId: number;
4090
4153
  id: number;
4091
4154
  unique: string;
4092
4155
  score: number;
4093
4156
  isLocked: boolean;
4094
- groupId: number;
4095
- personaId: number;
4096
4157
  }[];
4158
+ id: number;
4159
+ created: string;
4097
4160
  }
4098
4161
 
4099
4162
  export interface PostCampaignGroupInput {
@@ -4109,8 +4172,6 @@ export interface PostCampaignGroupInput {
4109
4172
  description?: string | null;
4110
4173
  invalid?: boolean;
4111
4174
  campaigns?: {
4112
- id: number;
4113
- created: string;
4114
4175
  unique?: string | null;
4115
4176
  campaignGroupId: number;
4116
4177
  utmSource?: string | null;
@@ -4121,35 +4182,33 @@ export interface PostCampaignGroupInput {
4121
4182
  utmSourcePlatform?: string | null;
4122
4183
  utmCreativeFormat?: string | null;
4123
4184
  utmMarketingTactic?: string | null;
4185
+ id: number;
4186
+ created: string;
4124
4187
  }[];
4125
4188
  customerJourneyScoring?: {
4189
+ groupId: number;
4190
+ customerJourneyStepId: number;
4126
4191
  id: number;
4127
4192
  unique: string;
4128
4193
  score: number;
4129
4194
  isLocked: boolean;
4130
- groupId: number;
4131
- customerJourneyStepId: number;
4132
4195
  }[];
4133
4196
  personaScoring?: {
4197
+ groupId: number;
4198
+ personaId: number;
4134
4199
  id: number;
4135
4200
  unique: string;
4136
4201
  score: number;
4137
4202
  isLocked: boolean;
4138
- groupId: number;
4139
- personaId: number;
4140
4203
  }[];
4141
4204
  }
4142
4205
 
4143
4206
  export interface PostCampaignGroupOutput {
4144
- id: number;
4145
- created: string;
4146
4207
  unique: string;
4147
4208
  name?: string | null;
4148
4209
  description?: string | null;
4149
4210
  invalid: boolean;
4150
4211
  campaigns: {
4151
- id: number;
4152
- created: string;
4153
4212
  unique?: string | null;
4154
4213
  campaignGroupId: number;
4155
4214
  utmSource?: string | null;
@@ -4160,38 +4219,38 @@ export interface PostCampaignGroupOutput {
4160
4219
  utmSourcePlatform?: string | null;
4161
4220
  utmCreativeFormat?: string | null;
4162
4221
  utmMarketingTactic?: string | null;
4222
+ id: number;
4223
+ created: string;
4163
4224
  }[];
4164
4225
  customerJourneyScoring: {
4226
+ groupId: number;
4227
+ customerJourneyStepId: number;
4165
4228
  id: number;
4166
4229
  unique: string;
4167
4230
  score: number;
4168
4231
  isLocked: boolean;
4169
- groupId: number;
4170
- customerJourneyStepId: number;
4171
4232
  }[];
4172
4233
  personaScoring: {
4234
+ groupId: number;
4235
+ personaId: number;
4173
4236
  id: number;
4174
4237
  unique: string;
4175
4238
  score: number;
4176
4239
  isLocked: boolean;
4177
- groupId: number;
4178
- personaId: number;
4179
4240
  }[];
4241
+ id: number;
4242
+ created: string;
4180
4243
  }
4181
4244
 
4182
4245
  export interface GetCampaignGroupAllInput {}
4183
4246
 
4184
4247
  export interface GetCampaignGroupAllOutput {
4185
4248
  items: {
4186
- id: number;
4187
- created: string;
4188
4249
  unique: string;
4189
4250
  name?: string | null;
4190
4251
  description?: string | null;
4191
4252
  invalid: boolean;
4192
4253
  campaigns: {
4193
- id: number;
4194
- created: string;
4195
4254
  unique?: string | null;
4196
4255
  campaignGroupId: number;
4197
4256
  utmSource?: string | null;
@@ -4202,23 +4261,27 @@ export interface GetCampaignGroupAllOutput {
4202
4261
  utmSourcePlatform?: string | null;
4203
4262
  utmCreativeFormat?: string | null;
4204
4263
  utmMarketingTactic?: string | null;
4264
+ id: number;
4265
+ created: string;
4205
4266
  }[];
4206
4267
  customerJourneyScoring: {
4268
+ groupId: number;
4269
+ customerJourneyStepId: number;
4207
4270
  id: number;
4208
4271
  unique: string;
4209
4272
  score: number;
4210
4273
  isLocked: boolean;
4211
- groupId: number;
4212
- customerJourneyStepId: number;
4213
4274
  }[];
4214
4275
  personaScoring: {
4276
+ groupId: number;
4277
+ personaId: number;
4215
4278
  id: number;
4216
4279
  unique: string;
4217
4280
  score: number;
4218
4281
  isLocked: boolean;
4219
- groupId: number;
4220
- personaId: number;
4221
4282
  }[];
4283
+ id: number;
4284
+ created: string;
4222
4285
  }[];
4223
4286
  }
4224
4287
 
@@ -4264,253 +4327,95 @@ export interface GetCampaignsOutput {
4264
4327
  export interface GetConfigurationInput {}
4265
4328
 
4266
4329
  export interface GetConfigurationOutput {
4267
- settings:
4268
- | {
4269
- DatabaseConnectionStringName: string;
4270
- Enabled: boolean;
4271
- UseLegacySegmentNames: boolean;
4272
- SuspiciousActivity: {
4273
- PageviewThreshold: number;
4274
- };
4275
- }
4276
- | {
4277
- databaseConnectionStringName: string;
4278
- enabled: boolean;
4279
- useLegacySegmentNames: boolean;
4280
- suspiciousActivity: {
4281
- pageviewThreshold: number;
4282
- };
4283
- };
4284
- analytics:
4285
- | {
4286
- VisitorCookie: {
4287
- ExpirationInDays: number;
4288
- CookieName: string;
4289
- LegacyCookieName: string;
4290
- IncludeSubdomains: boolean;
4291
- };
4292
- DataCollection: {
4293
- AnonymizeIPAddress: boolean;
4294
- RequireAnalyticsPermissionForMemberTracking: boolean;
4295
- FlushRateInRecords: number;
4296
- FlushIntervalInSeconds: number;
4297
- RegexTimeoutInMilliseconds: number;
4298
- InternalSiteSearch: {
4299
- AutomaticSearchTracking: boolean;
4300
- SearchTermParameters: string;
4301
- SearchBoxParameters?: string | null;
4302
- CategoryParameters?: string | null;
4303
- };
4304
- };
4305
- DataStorage: {
4306
- AnonymizeAnalyticsDataAfterDays: number;
4307
- DeleteAnalyticsDataAfterDays: number;
4308
- deleteControlGroupDataAfterDays: number;
4309
- DeleteRawDataAfterDays: number;
4310
- };
4311
- DataProcessing: {
4312
- IntervalInSeconds: number;
4313
- SessionLengthInMinutes: number;
4314
- IsProcessingServer: boolean;
4315
- };
4316
- DataCleanup: {
4317
- Enabled: boolean;
4318
- FirstRunTime: string;
4319
- StartupDelay: string;
4320
- Interval: string;
4321
- CommandTimeout: number;
4322
- StartAfterSeconds: number;
4323
- IntervalInSeconds: number;
4324
- NumberOfRows: number;
4325
- };
4326
- }
4327
- | {
4328
- visitorCookie:
4329
- | {
4330
- ExpirationInDays: number;
4331
- CookieName: string;
4332
- LegacyCookieName: string;
4333
- IncludeSubdomains: boolean;
4334
- }
4335
- | {
4336
- expirationInDays: number;
4337
- cookieName: string;
4338
- legacyCookieName: string;
4339
- includeSubdomains: boolean;
4340
- };
4341
- dataCollection:
4342
- | {
4343
- AnonymizeIPAddress: boolean;
4344
- RequireAnalyticsPermissionForMemberTracking: boolean;
4345
- FlushRateInRecords: number;
4346
- FlushIntervalInSeconds: number;
4347
- RegexTimeoutInMilliseconds: number;
4348
- InternalSiteSearch: {
4349
- AutomaticSearchTracking: boolean;
4350
- SearchTermParameters: string;
4351
- SearchBoxParameters?: string | null;
4352
- CategoryParameters?: string | null;
4353
- };
4354
- }
4355
- | {
4356
- anonymizeIPAddress: boolean;
4357
- requireAnalyticsPermissionForMemberTracking: boolean;
4358
- flushRateInRecords: number;
4359
- flushIntervalInSeconds: number;
4360
- regexTimeoutInMilliseconds: number;
4361
- internalSiteSearch:
4362
- | {
4363
- AutomaticSearchTracking: boolean;
4364
- SearchTermParameters: string;
4365
- SearchBoxParameters?: string | null;
4366
- CategoryParameters?: string | null;
4367
- }
4368
- | {
4369
- automaticSearchTracking: boolean;
4370
- searchTermParameters: string[];
4371
- searchBoxParameters: string[];
4372
- categoryParameters: string[];
4373
- };
4374
- };
4375
- dataStorage:
4376
- | {
4377
- AnonymizeAnalyticsDataAfterDays: number;
4378
- DeleteAnalyticsDataAfterDays: number;
4379
- deleteControlGroupDataAfterDays: number;
4380
- DeleteRawDataAfterDays: number;
4381
- }
4382
- | {
4383
- anonymizeAnalyticsDataAfterDays: number;
4384
- deleteAnalyticsDataAfterDays: number;
4385
- deleteControlGroupDataAfterDays: number;
4386
- deleteRawDataAfterDays: number;
4387
- };
4388
- dataProcessing:
4389
- | {
4390
- IntervalInSeconds: number;
4391
- SessionLengthInMinutes: number;
4392
- IsProcessingServer: boolean;
4393
- }
4394
- | {
4395
- intervalInSeconds: number;
4396
- sessionLengthInMinutes: number;
4397
- isProcessingServer: boolean;
4398
- };
4399
- dataCleanup:
4400
- | {
4401
- Enabled: boolean;
4402
- FirstRunTime: string;
4403
- StartupDelay: string;
4404
- Interval: string;
4405
- CommandTimeout: number;
4406
- StartAfterSeconds: number;
4407
- IntervalInSeconds: number;
4408
- NumberOfRows: number;
4409
- }
4410
- | {
4411
- enabled: boolean;
4412
- firstRunTime: string;
4413
- startupDelay: string;
4414
- interval: string;
4415
- commandTimeout: number;
4416
- startAfterSeconds: number;
4417
- intervalInSeconds: number;
4418
- numberOfRows: number;
4419
- };
4420
- };
4421
- abTesting:
4422
- | {
4423
- RequiredVisitorPercentageBeforeShowingAdvice: number;
4424
- MinimumPercentageMacroGoalWarning: number;
4425
- }
4426
- | {
4427
- requiredVisitorPercentageBeforeShowingAdvice: number;
4428
- minimumPercentageMacroGoalWarning: number;
4429
- };
4430
- profiles:
4431
- | {
4432
- Potential: {
4433
- ActiveThresholdInDays: number;
4434
- EngagedThresholdInSeconds: number;
4435
- EngagedThresholdNumberOfSessions: number;
4436
- };
4437
- Identification: {
4438
- Name: string;
4439
- Abbreviation: string;
4440
- };
4441
- }
4442
- | {
4443
- potential:
4444
- | {
4445
- ActiveThresholdInDays: number;
4446
- EngagedThresholdInSeconds: number;
4447
- EngagedThresholdNumberOfSessions: number;
4448
- }
4449
- | {
4450
- activeThresholdInDays: number;
4451
- engagedThresholdInSeconds: number;
4452
- engagedThresholdNumberOfSessions: number;
4453
- };
4454
- identification:
4455
- | {
4456
- Name: string;
4457
- Abbreviation: string;
4458
- }
4459
- | {
4460
- name: string;
4461
- abbreviation: string;
4462
- };
4463
- };
4464
- reporting:
4465
- | {
4466
- dataGenerationEnabled: boolean;
4467
- dataGenerationTime: string;
4468
- timezone?: string | null;
4469
- reportingTimeZone: {
4470
- id: string;
4471
- hasIanaId: boolean;
4472
- displayName: string;
4473
- standardName: string;
4474
- daylightName: string;
4475
- baseUtcOffset: string;
4476
- supportsDaylightSavingTime: boolean;
4477
- };
4478
- }
4479
- | {
4480
- dataGenerationEnabled: boolean;
4481
- dataGenerationTime?: string | null;
4482
- timezone?: string | null;
4483
- reportingTimeZone: {
4484
- id: string;
4485
- hasIanaId: boolean;
4486
- displayName: string;
4487
- standardName: string;
4488
- daylightName: string;
4489
- baseUtcOffset: string;
4490
- supportsDaylightSavingTime: boolean;
4491
- };
4492
- };
4493
- deliveryApi:
4494
- | {
4495
- DisableVisitorCookie: boolean;
4496
- Segmentation: {
4497
- ContentByQuery: boolean;
4498
- ContentById: boolean;
4499
- ContentByIds: boolean;
4500
- ContentByPath: boolean;
4501
- anySegmentationEnabled: boolean;
4502
- };
4503
- }
4504
- | {
4505
- disableVisitorCookie: boolean;
4506
- segmentation: {
4507
- contentByQuery: boolean;
4508
- contentById: boolean;
4509
- contentByIds: boolean;
4510
- contentByPath: boolean;
4511
- anySegmentationEnabled: boolean;
4512
- };
4330
+ settings: {
4331
+ databaseConnectionStringName: string | null;
4332
+ enabled: boolean;
4333
+ useLegacySegmentNames: boolean;
4334
+ suspiciousActivity: {
4335
+ pageviewThreshold: number;
4336
+ };
4337
+ };
4338
+ analytics: {
4339
+ visitorCookie: {
4340
+ expirationInDays: number;
4341
+ cookieName: string | null;
4342
+ legacyCookieName: string | null;
4343
+ includeSubdomains: boolean;
4344
+ };
4345
+ dataCollection: {
4346
+ anonymizeIPAddress: boolean;
4347
+ requireAnalyticsPermissionForMemberTracking: boolean;
4348
+ flushRateInRecords: number;
4349
+ flushIntervalInSeconds: number;
4350
+ regexTimeoutInMilliseconds: number;
4351
+ internalSiteSearch: {
4352
+ automaticSearchTracking: boolean;
4353
+ searchTermParameters: string[] | null;
4354
+ searchBoxParameters: string[] | null;
4355
+ categoryParameters: string[] | null;
4513
4356
  };
4357
+ };
4358
+ dataStorage: {
4359
+ anonymizeAnalyticsDataAfterDays: number;
4360
+ deleteAnalyticsDataAfterDays: number;
4361
+ deleteControlGroupDataAfterDays: number;
4362
+ deleteRawDataAfterDays: number;
4363
+ };
4364
+ dataProcessing: {
4365
+ intervalInSeconds: number;
4366
+ sessionLengthInMinutes: number;
4367
+ isProcessingServer: boolean;
4368
+ };
4369
+ dataCleanup: {
4370
+ enabled: boolean;
4371
+ firstRunTime: string | null;
4372
+ startupDelay: string;
4373
+ interval: string;
4374
+ commandTimeout: number;
4375
+ startAfterSeconds: number;
4376
+ intervalInSeconds: number;
4377
+ numberOfRows: number;
4378
+ };
4379
+ };
4380
+ abTesting: {
4381
+ requiredVisitorPercentageBeforeShowingAdvice: number;
4382
+ minimumPercentageMacroGoalWarning: number;
4383
+ };
4384
+ profiles: {
4385
+ potential: {
4386
+ activeThresholdInDays: number;
4387
+ engagedThresholdInSeconds: number;
4388
+ engagedThresholdNumberOfSessions: number;
4389
+ };
4390
+ identification: {
4391
+ name: string | null;
4392
+ abbreviation: string | null;
4393
+ };
4394
+ };
4395
+ reporting: {
4396
+ dataGenerationEnabled: boolean;
4397
+ dataGenerationTime?: string | null;
4398
+ timezone?: string | null;
4399
+ reportingTimeZone: {
4400
+ id: string | null;
4401
+ hasIanaId: boolean;
4402
+ displayName: string | null;
4403
+ standardName: string | null;
4404
+ daylightName: string | null;
4405
+ baseUtcOffset: string;
4406
+ supportsDaylightSavingTime: boolean;
4407
+ };
4408
+ };
4409
+ deliveryApi: {
4410
+ disableVisitorCookie: boolean;
4411
+ segmentation: {
4412
+ contentByQuery: boolean;
4413
+ contentById: boolean;
4414
+ contentByIds: boolean;
4415
+ contentByPath: boolean;
4416
+ anySegmentationEnabled: boolean;
4417
+ };
4418
+ };
4514
4419
  backoffice: {
4515
4420
  personaGroupColorPicker: string;
4516
4421
  personaGroupMediaPicker: string;
@@ -4526,11 +4431,11 @@ export interface GetConfigurationOutput {
4526
4431
  cleanupIntervalMinutes: number;
4527
4432
  tokenRetentionBufferMinutes: number;
4528
4433
  sessionRetentionBufferMinutes: number;
4529
- sessionCookieSameSite: string;
4434
+ sessionCookieSameSite: string | null;
4530
4435
  };
4531
4436
  };
4532
4437
  segmentation: {
4533
- excludedPropertyAliases: string[];
4438
+ excludedPropertyAliases: string[] | null;
4534
4439
  };
4535
4440
  }
4536
4441
 
@@ -4628,8 +4533,8 @@ export interface DeleteCustomerJourneyInput {
4628
4533
 
4629
4534
  export interface DeleteCustomerJourneyOutput {
4630
4535
  isValid: boolean;
4631
- warnings: string[];
4632
- errors: string[];
4536
+ warnings: string[] | null;
4537
+ errors: string[] | null;
4633
4538
  }
4634
4539
 
4635
4540
  export interface PostCustomerJourneyInput {
@@ -4643,15 +4548,15 @@ export interface PostCustomerJourneyInput {
4643
4548
  color?: string | null;
4644
4549
  }[];
4645
4550
  minimumParticipationScoreThreshold?: number;
4646
- minimumDeviationType?: "Absolute" | "Percent";
4551
+ minimumDeviationType?: null | ("Absolute" | "Percent" | null);
4647
4552
  minimumDeviation?: number;
4648
- expirationType?: "days" | "sessions" | "never";
4553
+ expirationType?: null | ("days" | "sessions" | "never" | null);
4649
4554
  expiration?: number;
4650
4555
  upperScoreLimit?: number;
4651
4556
  }
4652
4557
 
4653
4558
  export interface PostCustomerJourneyOutput {
4654
- journey: {
4559
+ journey: null | {
4655
4560
  id: number;
4656
4561
  unique: string;
4657
4562
  title?: string | null;
@@ -4678,16 +4583,16 @@ export interface PostCustomerJourneyOutput {
4678
4583
  updatedByUmbracoUserKey?: string | null;
4679
4584
  updatedByUmbracoUserName?: string | null;
4680
4585
  minimumParticipationScoreThreshold?: number | null;
4681
- minimumDeviationType: "Absolute" | "Percent";
4586
+ minimumDeviationType?: null | ("Absolute" | "Percent" | null);
4682
4587
  minimumDeviation?: number | null;
4683
- expirationType: "days" | "sessions" | "never";
4588
+ expirationType?: null | ("days" | "sessions" | "never" | null);
4684
4589
  expiration?: number | null;
4685
4590
  upperScoreLimit?: number | null;
4686
- } | null;
4591
+ };
4687
4592
  validationResults: {
4688
4593
  isValid: boolean;
4689
- warnings: string[];
4690
- errors: string[];
4594
+ warnings: string[] | null;
4595
+ errors: string[] | null;
4691
4596
  };
4692
4597
  }
4693
4598
 
@@ -4721,9 +4626,9 @@ export interface GetCustomerJourneyAllOutput {
4721
4626
  updatedByUmbracoUserKey?: string | null;
4722
4627
  updatedByUmbracoUserName?: string | null;
4723
4628
  minimumParticipationScoreThreshold?: number | null;
4724
- minimumDeviationType: "Absolute" | "Percent";
4629
+ minimumDeviationType?: null | ("Absolute" | "Percent" | null);
4725
4630
  minimumDeviation?: number | null;
4726
- expirationType: "days" | "sessions" | "never";
4631
+ expirationType?: null | ("days" | "sessions" | "never" | null);
4727
4632
  expiration?: number | null;
4728
4633
  upperScoreLimit?: number | null;
4729
4634
  }[];
@@ -4760,9 +4665,9 @@ export interface GetCustomerJourneyDetailsOutput {
4760
4665
  updatedByUmbracoUserKey?: string | null;
4761
4666
  updatedByUmbracoUserName?: string | null;
4762
4667
  minimumParticipationScoreThreshold?: number | null;
4763
- minimumDeviationType: "Absolute" | "Percent";
4668
+ minimumDeviationType?: null | ("Absolute" | "Percent" | null);
4764
4669
  minimumDeviation?: number | null;
4765
- expirationType: "days" | "sessions" | "never";
4670
+ expirationType?: null | ("days" | "sessions" | "never" | null);
4766
4671
  expiration?: number | null;
4767
4672
  upperScoreLimit?: number | null;
4768
4673
  }
@@ -4796,9 +4701,9 @@ export interface GetCustomerJourneyEmptyOutput {
4796
4701
  updatedByUmbracoUserKey?: string | null;
4797
4702
  updatedByUmbracoUserName?: string | null;
4798
4703
  minimumParticipationScoreThreshold?: number | null;
4799
- minimumDeviationType: "Absolute" | "Percent";
4704
+ minimumDeviationType?: null | ("Absolute" | "Percent" | null);
4800
4705
  minimumDeviation?: number | null;
4801
- expirationType: "days" | "sessions" | "never";
4706
+ expirationType?: null | ("days" | "sessions" | "never" | null);
4802
4707
  expiration?: number | null;
4803
4708
  upperScoreLimit?: number | null;
4804
4709
  }
@@ -4937,13 +4842,13 @@ export interface GetPermissionsDocumentTypeAllOutput {
4937
4842
  }
4938
4843
 
4939
4844
  export interface PostGoalInput {
4940
- name: string;
4941
- value: number;
4845
+ name: string | null;
4846
+ value: number | null;
4942
4847
  /**
4943
4848
  * A real goal type id, from get-goal-all-types.
4944
4849
  */
4945
- goalTypeId: string;
4946
- goalTypeConfig: string;
4850
+ goalTypeId: string | null;
4851
+ goalTypeConfig: string | null;
4947
4852
  isMain?: boolean;
4948
4853
  isInverted?: boolean;
4949
4854
  isActive?: boolean;
@@ -5017,9 +4922,9 @@ export interface GetGoalAllTypesInput {}
5017
4922
 
5018
4923
  export interface GetGoalAllTypesOutput {
5019
4924
  items: {
5020
- configurationEditorAlias: string;
4925
+ configurationEditorAlias: string | null;
5021
4926
  id: string;
5022
- name: string;
4927
+ name: string | null;
5023
4928
  }[];
5024
4929
  }
5025
4930
 
@@ -5033,17 +4938,20 @@ export interface GetGoalDetailsInput {
5033
4938
  export interface GetGoalDetailsOutput {
5034
4939
  id: number;
5035
4940
  unique: string;
5036
- name: string;
4941
+ name: string | null;
5037
4942
  value: number;
5038
- isImplicitScoringEnabled: boolean;
5039
4943
  goalTypeId: string;
5040
- goalTypeConfig: string;
4944
+ goalTypeConfig: string | null;
5041
4945
  isMain: boolean;
5042
4946
  isInverted: boolean;
5043
4947
  isActive: boolean;
5044
4948
  isInvalid: boolean;
4949
+ isImplicitScoringEnabled: boolean;
5045
4950
  implicitPersonaScoring?:
5046
4951
  | {
4952
+ personaId: number;
4953
+ scoreType: "UNDEFINED" | "Content" | "Referral" | "Searchterm" | "Custom" | "Campaign" | "GoalCompletion";
4954
+ entityId: number;
5047
4955
  id: number;
5048
4956
  unique: string;
5049
4957
  nodeId: number;
@@ -5052,13 +4960,13 @@ export interface GetGoalDetailsOutput {
5052
4960
  updated?: string | null;
5053
4961
  score: number;
5054
4962
  isLocked: boolean;
5055
- personaId: number;
5056
- scoreType: "UNDEFINED" | "Content" | "Referral" | "Searchterm" | "Custom" | "Campaign" | "GoalCompletion";
5057
- entityId: number;
5058
4963
  }[]
5059
4964
  | null;
5060
4965
  implicitCustomerJourneyStepScoring?:
5061
4966
  | {
4967
+ customerJourneyStepId: number;
4968
+ scoreType: "UNDEFINED" | "Content" | "Referral" | "Searchterm" | "Custom" | "Campaign" | "GoalCompletion";
4969
+ entityId: number;
5062
4970
  id: number;
5063
4971
  unique: string;
5064
4972
  nodeId: number;
@@ -5067,11 +4975,12 @@ export interface GetGoalDetailsOutput {
5067
4975
  updated?: string | null;
5068
4976
  score: number;
5069
4977
  isLocked: boolean;
5070
- customerJourneyStepId: number;
5071
- scoreType: "UNDEFINED" | "Content" | "Referral" | "Searchterm" | "Custom" | "Campaign" | "GoalCompletion";
5072
- entityId: number;
5073
4978
  }[]
5074
4979
  | null;
4980
+ created: string;
4981
+ createdByUmbracoUserKey: string;
4982
+ updated?: string | null;
4983
+ updatedByUmbracoUserKey?: string | null;
5075
4984
  }
5076
4985
 
5077
4986
  export interface GetGoalsAllInput {}
@@ -5190,8 +5099,8 @@ export interface DeletePersonaInput {
5190
5099
 
5191
5100
  export interface DeletePersonaOutput {
5192
5101
  isValid: boolean;
5193
- warnings: string[];
5194
- errors: string[];
5102
+ warnings: string[] | null;
5103
+ errors: string[] | null;
5195
5104
  }
5196
5105
 
5197
5106
  export interface PostPersonaInput {
@@ -5208,15 +5117,15 @@ export interface PostPersonaInput {
5208
5117
  color?: string | null;
5209
5118
  }[];
5210
5119
  minimumParticipationScoreThreshold?: number;
5211
- minimumDeviationType?: "Absolute" | "Percent";
5120
+ minimumDeviationType?: null | ("Absolute" | "Percent" | null);
5212
5121
  minimumDeviation?: number;
5213
- expirationType?: "days" | "sessions" | "never";
5122
+ expirationType?: null | ("days" | "sessions" | "never" | null);
5214
5123
  expiration?: number | null;
5215
5124
  upperScoreLimit?: number;
5216
5125
  }
5217
5126
 
5218
5127
  export interface PostPersonaOutput {
5219
- persona: {
5128
+ persona: null | {
5220
5129
  id: number;
5221
5130
  unique: string;
5222
5131
  title?: string | null;
@@ -5243,16 +5152,16 @@ export interface PostPersonaOutput {
5243
5152
  updatedByUmbracoUserKey?: string | null;
5244
5153
  updatedByUmbracoUserName?: string | null;
5245
5154
  minimumParticipationScoreThreshold?: number | null;
5246
- minimumDeviationType: "Absolute" | "Percent";
5155
+ minimumDeviationType?: null | ("Absolute" | "Percent" | null);
5247
5156
  minimumDeviation?: number | null;
5248
- expirationType: "days" | "sessions" | "never";
5157
+ expirationType?: null | ("days" | "sessions" | "never" | null);
5249
5158
  expiration?: number | null;
5250
5159
  upperScoreLimit?: number | null;
5251
- } | null;
5160
+ };
5252
5161
  validationResults: {
5253
5162
  isValid: boolean;
5254
- warnings: string[];
5255
- errors: string[];
5163
+ warnings: string[] | null;
5164
+ errors: string[] | null;
5256
5165
  };
5257
5166
  }
5258
5167
 
@@ -5286,9 +5195,9 @@ export interface GetPersonaAllOutput {
5286
5195
  updatedByUmbracoUserKey?: string | null;
5287
5196
  updatedByUmbracoUserName?: string | null;
5288
5197
  minimumParticipationScoreThreshold?: number | null;
5289
- minimumDeviationType: "Absolute" | "Percent";
5198
+ minimumDeviationType?: null | ("Absolute" | "Percent" | null);
5290
5199
  minimumDeviation?: number | null;
5291
- expirationType: "days" | "sessions" | "never";
5200
+ expirationType?: null | ("days" | "sessions" | "never" | null);
5292
5201
  expiration?: number | null;
5293
5202
  upperScoreLimit?: number | null;
5294
5203
  }[];
@@ -5328,9 +5237,9 @@ export interface GetPersonaDetailsOutput {
5328
5237
  updatedByUmbracoUserKey?: string | null;
5329
5238
  updatedByUmbracoUserName?: string | null;
5330
5239
  minimumParticipationScoreThreshold?: number | null;
5331
- minimumDeviationType: "Absolute" | "Percent";
5240
+ minimumDeviationType?: null | ("Absolute" | "Percent" | null);
5332
5241
  minimumDeviation?: number | null;
5333
- expirationType: "days" | "sessions" | "never";
5242
+ expirationType?: null | ("days" | "sessions" | "never" | null);
5334
5243
  expiration?: number | null;
5335
5244
  upperScoreLimit?: number | null;
5336
5245
  }
@@ -5364,9 +5273,9 @@ export interface GetPersonaEmptyOutput {
5364
5273
  updatedByUmbracoUserKey?: string | null;
5365
5274
  updatedByUmbracoUserName?: string | null;
5366
5275
  minimumParticipationScoreThreshold?: number | null;
5367
- minimumDeviationType: "Absolute" | "Percent";
5276
+ minimumDeviationType?: null | ("Absolute" | "Percent" | null);
5368
5277
  minimumDeviation?: number | null;
5369
- expirationType: "days" | "sessions" | "never";
5278
+ expirationType?: null | ("days" | "sessions" | "never" | null);
5370
5279
  expiration?: number | null;
5371
5280
  upperScoreLimit?: number | null;
5372
5281
  }
@@ -5393,11 +5302,11 @@ export interface GetProfileCustomerJourneyStepScoresInput {
5393
5302
 
5394
5303
  export interface GetProfileCustomerJourneyStepScoresOutput {
5395
5304
  items: {
5305
+ customerJourneyStepId: number;
5396
5306
  groupId: number;
5397
5307
  score: number;
5398
5308
  isActive: boolean;
5399
5309
  isLocked: boolean;
5400
- customerJourneyStepId: number;
5401
5310
  }[];
5402
5311
  }
5403
5312
 
@@ -5637,11 +5546,11 @@ export interface GetProfilePersonaScoresInput {
5637
5546
 
5638
5547
  export interface GetProfilePersonaScoresOutput {
5639
5548
  items: {
5549
+ personaId: number;
5640
5550
  groupId: number;
5641
5551
  score: number;
5642
5552
  isActive: boolean;
5643
5553
  isLocked: boolean;
5644
- personaId: number;
5645
5554
  }[];
5646
5555
  }
5647
5556
 
@@ -5761,8 +5670,6 @@ export interface GetReferralGroupInput {
5761
5670
  }
5762
5671
 
5763
5672
  export interface GetReferralGroupOutput {
5764
- id: number;
5765
- created: string;
5766
5673
  unique: string;
5767
5674
  name?: string | null;
5768
5675
  description?: string | null;
@@ -5776,21 +5683,23 @@ export interface GetReferralGroupOutput {
5776
5683
  pageUrl?: string | null;
5777
5684
  }[];
5778
5685
  customerJourneyScoring: {
5686
+ groupId: number;
5687
+ customerJourneyStepId: number;
5779
5688
  id: number;
5780
5689
  unique: string;
5781
5690
  score: number;
5782
5691
  isLocked: boolean;
5783
- groupId: number;
5784
- customerJourneyStepId: number;
5785
5692
  }[];
5786
5693
  personaScoring: {
5694
+ groupId: number;
5695
+ personaId: number;
5787
5696
  id: number;
5788
5697
  unique: string;
5789
5698
  score: number;
5790
5699
  isLocked: boolean;
5791
- groupId: number;
5792
- personaId: number;
5793
5700
  }[];
5701
+ id: number;
5702
+ created: string;
5794
5703
  }
5795
5704
 
5796
5705
  export interface PostReferralGroupInput {
@@ -5814,26 +5723,24 @@ export interface PostReferralGroupInput {
5814
5723
  pageUrl?: string | null;
5815
5724
  }[];
5816
5725
  customerJourneyScoring?: {
5726
+ groupId: number;
5727
+ customerJourneyStepId: number;
5817
5728
  id: number;
5818
5729
  unique: string;
5819
5730
  score: number;
5820
5731
  isLocked: boolean;
5821
- groupId: number;
5822
- customerJourneyStepId: number;
5823
5732
  }[];
5824
5733
  personaScoring?: {
5734
+ groupId: number;
5735
+ personaId: number;
5825
5736
  id: number;
5826
5737
  unique: string;
5827
5738
  score: number;
5828
5739
  isLocked: boolean;
5829
- groupId: number;
5830
- personaId: number;
5831
5740
  }[];
5832
5741
  }
5833
5742
 
5834
5743
  export interface PostReferralGroupOutput {
5835
- id: number;
5836
- created: string;
5837
5744
  unique: string;
5838
5745
  name?: string | null;
5839
5746
  description?: string | null;
@@ -5847,29 +5754,29 @@ export interface PostReferralGroupOutput {
5847
5754
  pageUrl?: string | null;
5848
5755
  }[];
5849
5756
  customerJourneyScoring: {
5757
+ groupId: number;
5758
+ customerJourneyStepId: number;
5850
5759
  id: number;
5851
5760
  unique: string;
5852
5761
  score: number;
5853
5762
  isLocked: boolean;
5854
- groupId: number;
5855
- customerJourneyStepId: number;
5856
5763
  }[];
5857
5764
  personaScoring: {
5765
+ groupId: number;
5766
+ personaId: number;
5858
5767
  id: number;
5859
5768
  unique: string;
5860
5769
  score: number;
5861
5770
  isLocked: boolean;
5862
- groupId: number;
5863
- personaId: number;
5864
5771
  }[];
5772
+ id: number;
5773
+ created: string;
5865
5774
  }
5866
5775
 
5867
5776
  export interface GetReferralGroupAllInput {}
5868
5777
 
5869
5778
  export interface GetReferralGroupAllOutput {
5870
5779
  items: {
5871
- id: number;
5872
- created: string;
5873
5780
  unique: string;
5874
5781
  name?: string | null;
5875
5782
  description?: string | null;
@@ -5883,21 +5790,23 @@ export interface GetReferralGroupAllOutput {
5883
5790
  pageUrl?: string | null;
5884
5791
  }[];
5885
5792
  customerJourneyScoring: {
5793
+ groupId: number;
5794
+ customerJourneyStepId: number;
5886
5795
  id: number;
5887
5796
  unique: string;
5888
5797
  score: number;
5889
5798
  isLocked: boolean;
5890
- groupId: number;
5891
- customerJourneyStepId: number;
5892
5799
  }[];
5893
5800
  personaScoring: {
5801
+ groupId: number;
5802
+ personaId: number;
5894
5803
  id: number;
5895
5804
  unique: string;
5896
5805
  score: number;
5897
5806
  isLocked: boolean;
5898
- groupId: number;
5899
- personaId: number;
5900
5807
  }[];
5808
+ id: number;
5809
+ created: string;
5901
5810
  }[];
5902
5811
  }
5903
5812
 
@@ -5920,12 +5829,14 @@ export interface PostReferralScoringScoredOutput {
5920
5829
  totalPages: number;
5921
5830
  totalRowCount: number;
5922
5831
  itemsPerPage: number;
5923
- rows: {
5924
- id: number;
5925
- referralGroupId?: number | null;
5926
- url?: string | null;
5927
- referrals: number;
5928
- }[];
5832
+ rows:
5833
+ | {
5834
+ id: number;
5835
+ referralGroupId?: number | null;
5836
+ url?: string | null;
5837
+ referrals: number;
5838
+ }[]
5839
+ | null;
5929
5840
  }
5930
5841
 
5931
5842
  export interface PostReferralScoringUnscoredInput {
@@ -5939,12 +5850,14 @@ export interface PostReferralScoringUnscoredOutput {
5939
5850
  totalPages: number;
5940
5851
  totalRowCount: number;
5941
5852
  itemsPerPage: number;
5942
- rows: {
5943
- id: number;
5944
- referralGroupId?: number | null;
5945
- url?: string | null;
5946
- referrals: number;
5947
- }[];
5853
+ rows:
5854
+ | {
5855
+ id: number;
5856
+ referralGroupId?: number | null;
5857
+ url?: string | null;
5858
+ referrals: number;
5859
+ }[]
5860
+ | null;
5948
5861
  }
5949
5862
 
5950
5863
  export interface GetReportingInput {
@@ -6059,8 +5972,6 @@ export interface GetSegmentsInput {
6059
5972
  }
6060
5973
 
6061
5974
  export interface GetSegmentsOutput {
6062
- id: number;
6063
- created: string;
6064
5975
  unique: string;
6065
5976
  name?: string | null;
6066
5977
  description?: string | null;
@@ -6077,6 +5988,8 @@ export interface GetSegmentsOutput {
6077
5988
  created: string;
6078
5989
  }[];
6079
5990
  controlGroupSize: number;
5991
+ id: number;
5992
+ created: string;
6080
5993
  }
6081
5994
 
6082
5995
  export interface PostSegmentsInput {
@@ -6108,8 +6021,6 @@ export interface PostSegmentsInput {
6108
6021
  }
6109
6022
 
6110
6023
  export interface PostSegmentsOutput {
6111
- id: number;
6112
- created: string;
6113
6024
  unique: string;
6114
6025
  name?: string | null;
6115
6026
  description?: string | null;
@@ -6126,6 +6037,8 @@ export interface PostSegmentsOutput {
6126
6037
  created: string;
6127
6038
  }[];
6128
6039
  controlGroupSize: number;
6040
+ id: number;
6041
+ created: string;
6129
6042
  }
6130
6043
 
6131
6044
  export interface GetSegmentsAllInput {
@@ -6135,8 +6048,6 @@ export interface GetSegmentsAllInput {
6135
6048
 
6136
6049
  export interface GetSegmentsAllOutput {
6137
6050
  items: {
6138
- id: number;
6139
- created: string;
6140
6051
  unique: string;
6141
6052
  name?: string | null;
6142
6053
  description?: string | null;
@@ -6153,6 +6064,8 @@ export interface GetSegmentsAllOutput {
6153
6064
  created: string;
6154
6065
  }[];
6155
6066
  controlGroupSize: number;
6067
+ id: number;
6068
+ created: string;
6156
6069
  }[];
6157
6070
  }
6158
6071
 
@@ -6223,8 +6136,6 @@ export interface GetTrafficFilterInput {
6223
6136
  }
6224
6137
 
6225
6138
  export interface GetTrafficFilterOutput {
6226
- id: number;
6227
- created: string;
6228
6139
  key: string;
6229
6140
  createdByUmbracoUserName?: string | null;
6230
6141
  name: string;
@@ -6235,6 +6146,8 @@ export interface GetTrafficFilterOutput {
6235
6146
  value?: string | null;
6236
6147
  values: string[];
6237
6148
  isActive: boolean;
6149
+ id: number;
6150
+ created: string;
6238
6151
  }
6239
6152
 
6240
6153
  export interface PostTrafficFilterInput {
@@ -6262,8 +6175,6 @@ export interface GetTrafficFilterAllInput {}
6262
6175
 
6263
6176
  export interface GetTrafficFilterAllOutput {
6264
6177
  items: {
6265
- id: number;
6266
- created: string;
6267
6178
  key: string;
6268
6179
  createdByUmbracoUserName?: string | null;
6269
6180
  name: string;
@@ -6274,14 +6185,14 @@ export interface GetTrafficFilterAllOutput {
6274
6185
  value?: string | null;
6275
6186
  values: string[];
6276
6187
  isActive: boolean;
6188
+ id: number;
6189
+ created: string;
6277
6190
  }[];
6278
6191
  }
6279
6192
 
6280
6193
  export interface GetTrafficFilterEmptyInput {}
6281
6194
 
6282
6195
  export interface GetTrafficFilterEmptyOutput {
6283
- id: number;
6284
- created: string;
6285
6196
  key: string;
6286
6197
  createdByUmbracoUserName?: string | null;
6287
6198
  name: string;
@@ -6292,6 +6203,8 @@ export interface GetTrafficFilterEmptyOutput {
6292
6203
  value?: string | null;
6293
6204
  values: string[];
6294
6205
  isActive: boolean;
6206
+ id: number;
6207
+ created: string;
6295
6208
  }
6296
6209
 
6297
6210
  export interface GetPermissionsUserGroupInput {