@umbraco-engage/mcp 17.5.2 → 17.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -86,6 +86,7 @@ zod.object({
86
86
  "totalPageviewsForVariant": zod.int(),
87
87
  "totalVisitorsForVariant": zod.int()
88
88
  }).nullish(),
89
+ "isArchived": zod.boolean(),
89
90
  "isCompleted": zod.boolean(),
90
91
  "completedOn": zod.iso.datetime({ "offset": true }).nullish(),
91
92
  "completedByUmbracoUserKey": zod.guid().nullish(),
@@ -178,6 +179,7 @@ var postAbTestProjectResponse = zod.object({
178
179
  "totalPageviewsForVariant": zod.int(),
179
180
  "totalVisitorsForVariant": zod.int()
180
181
  }).nullish(),
182
+ "isArchived": zod.boolean(),
181
183
  "isCompleted": zod.boolean(),
182
184
  "completedOn": zod.iso.datetime({ "offset": true }).nullish(),
183
185
  "completedByUmbracoUserKey": zod.guid().nullish(),
@@ -277,6 +279,7 @@ var getAbTestProjectResponse = zod.object({
277
279
  "totalPageviewsForVariant": zod.int(),
278
280
  "totalVisitorsForVariant": zod.int()
279
281
  }).nullish(),
282
+ "isArchived": zod.boolean(),
280
283
  "isCompleted": zod.boolean(),
281
284
  "completedOn": zod.iso.datetime({ "offset": true }).nullish(),
282
285
  "completedByUmbracoUserKey": zod.guid().nullish(),
@@ -369,6 +372,7 @@ var putAbTestProjectBody = zod.object({
369
372
  "totalPageviewsForVariant": zod.int(),
370
373
  "totalVisitorsForVariant": zod.int()
371
374
  }).nullish(),
375
+ "isArchived": zod.boolean(),
372
376
  "isCompleted": zod.boolean(),
373
377
  "completedOn": zod.iso.datetime({ "offset": true }).nullish(),
374
378
  "completedByUmbracoUserKey": zod.guid().nullish(),
@@ -461,6 +465,7 @@ var putAbTestProjectResponse = zod.object({
461
465
  "totalPageviewsForVariant": zod.int(),
462
466
  "totalVisitorsForVariant": zod.int()
463
467
  }).nullish(),
468
+ "isArchived": zod.boolean(),
464
469
  "isCompleted": zod.boolean(),
465
470
  "completedOn": zod.iso.datetime({ "offset": true }).nullish(),
466
471
  "completedByUmbracoUserKey": zod.guid().nullish(),
@@ -553,6 +558,7 @@ var getAbTestProjectAllResponseItem = zod.object({
553
558
  "totalPageviewsForVariant": zod.int(),
554
559
  "totalVisitorsForVariant": zod.int()
555
560
  }).nullish(),
561
+ "isArchived": zod.boolean(),
556
562
  "isCompleted": zod.boolean(),
557
563
  "completedOn": zod.iso.datetime({ "offset": true }).nullish(),
558
564
  "completedByUmbracoUserKey": zod.guid().nullish(),
@@ -566,7 +572,8 @@ var getAbTestProjectAllResponseItem = zod.object({
566
572
  });
567
573
  var getAbTestProjectAllResponse = zod.array(getAbTestProjectAllResponseItem);
568
574
  zod.object({
569
- "id": zod.guid().optional()
575
+ "id": zod.guid().optional(),
576
+ "includeArchived": zod.boolean().optional()
570
577
  });
571
578
  var getAbTestProjectDetailsResponse = zod.object({
572
579
  "id": zod.int(),
@@ -596,7 +603,8 @@ var getAbTestProjectDetailsResponse = zod.object({
596
603
  "totalVariants": zod.int(),
597
604
  "totalVisitors": zod.int(),
598
605
  "winner": zod.string().nullish(),
599
- "winnerDescription": zod.string().nullish()
606
+ "winnerDescription": zod.string().nullish(),
607
+ "isArchived": zod.boolean()
600
608
  })),
601
609
  "amountOfActiveTests": zod.int(),
602
610
  "amountOfTests": zod.int(),
@@ -858,6 +866,7 @@ var getAbTestResponse = zod.object({
858
866
  "totalPageviewsForVariant": zod.int(),
859
867
  "totalVisitorsForVariant": zod.int()
860
868
  }).nullish(),
869
+ "isArchived": zod.boolean(),
861
870
  "isCompleted": zod.boolean(),
862
871
  "completedOn": zod.iso.datetime({ "offset": true }).nullish(),
863
872
  "completedByUmbracoUserKey": zod.guid().nullish(),
@@ -939,6 +948,7 @@ zod.object({
939
948
  "totalPageviewsForVariant": zod.int(),
940
949
  "totalVisitorsForVariant": zod.int()
941
950
  }).nullish(),
951
+ "isArchived": zod.boolean(),
942
952
  "isCompleted": zod.boolean(),
943
953
  "completedOn": zod.iso.datetime({ "offset": true }).nullish(),
944
954
  "completedByUmbracoUserKey": zod.guid().nullish(),
@@ -1303,6 +1313,7 @@ var postAbTestResponse = zod.object({
1303
1313
  "totalPageviewsForVariant": zod.int(),
1304
1314
  "totalVisitorsForVariant": zod.int()
1305
1315
  }).nullish(),
1316
+ "isArchived": zod.boolean(),
1306
1317
  "isCompleted": zod.boolean(),
1307
1318
  "completedOn": zod.iso.datetime({ "offset": true }).nullish(),
1308
1319
  "completedByUmbracoUserKey": zod.guid().nullish(),
@@ -1671,6 +1682,7 @@ var getAbTestAllResponseItem = zod.object({
1671
1682
  "totalPageviewsForVariant": zod.int(),
1672
1683
  "totalVisitorsForVariant": zod.int()
1673
1684
  }).nullish(),
1685
+ "isArchived": zod.boolean(),
1674
1686
  "isCompleted": zod.boolean(),
1675
1687
  "completedOn": zod.iso.datetime({ "offset": true }).nullish(),
1676
1688
  "completedByUmbracoUserKey": zod.guid().nullish(),
@@ -1682,6 +1694,15 @@ var getAbTestAllResponseItem = zod.object({
1682
1694
  "onCompleteAction": zod.enum(["Nothing", "Publish", "Draft"])
1683
1695
  });
1684
1696
  var getAbTestAllResponse = zod.array(getAbTestAllResponseItem);
1697
+ zod.object({
1698
+ "unique": zod.guid().optional(),
1699
+ "archived": zod.boolean().optional()
1700
+ });
1701
+ var postAbTestArchiveResponse = zod.object({
1702
+ "isValid": zod.boolean(),
1703
+ "warnings": zod.array(zod.string()),
1704
+ "errors": zod.array(zod.string())
1705
+ });
1685
1706
  zod.object({
1686
1707
  "testType": zod.enum(["SinglePage", "MultiPage", "ContentType", "SplitUrl"]).optional(),
1687
1708
  "nodeKey": zod.guid().optional()
@@ -1757,6 +1778,7 @@ var getAbTestEmptyResponse = zod.object({
1757
1778
  "totalPageviewsForVariant": zod.int(),
1758
1779
  "totalVisitorsForVariant": zod.int()
1759
1780
  }).nullish(),
1781
+ "isArchived": zod.boolean(),
1760
1782
  "isCompleted": zod.boolean(),
1761
1783
  "completedOn": zod.iso.datetime({ "offset": true }).nullish(),
1762
1784
  "completedByUmbracoUserKey": zod.guid().nullish(),
@@ -2049,186 +2071,566 @@ var getAbTestEmptyResponse = zod.object({
2049
2071
  "isInvertedGoal": zod.boolean(),
2050
2072
  "cultureSharedSegmentedProperties": zod.array(zod.string()).nullish()
2051
2073
  });
2052
- zod.object({
2053
- "unique": zod.guid().optional()
2054
- });
2055
- var getAbTestPageResponseItem = zod.object({
2056
- "unique": zod.guid(),
2057
- "created": zod.iso.datetime({ "offset": true }).nullish(),
2058
- "abTestId": zod.int(),
2059
- "name": zod.string().nullish(),
2060
- "description": zod.string().nullish(),
2061
- "createdByUmbracoUserKey": zod.guid().nullish(),
2062
- "createdByUmbracoUserName": zod.string().nullish(),
2063
- "testType": zod.enum(["SinglePage", "MultiPage", "ContentType", "SplitUrl"]),
2064
- "startTime": zod.iso.datetime({ "offset": true }).nullish(),
2065
- "status": zod.enum(["Unknown", "Scheduled", "Running", "Stopped", "Completed", "Draft"]),
2066
- "endTime": zod.iso.datetime({ "offset": true }).nullish(),
2067
- "runtimeInDays": zod.int().nullish(),
2068
- "totalVariants": zod.int(),
2069
- "totalVisitors": zod.int(),
2070
- "winner": zod.string().nullish(),
2071
- "winnerDescription": zod.string().nullish()
2072
- });
2073
- var getAbTestPageResponse = zod.array(getAbTestPageResponseItem);
2074
- zod.object({
2075
- "id": zod.int(),
2076
- "created": zod.iso.datetime({ "offset": true }),
2077
- "unique": zod.guid(),
2078
- "projectKey": zod.guid().nullish(),
2079
- "goalKey": zod.guid().nullish(),
2080
- "status": zod.enum(["Unknown", "Scheduled", "Running", "Stopped", "Completed", "Draft"]),
2081
- "name": zod.string().nullish(),
2082
- "description": zod.string().nullish(),
2083
- "createdByUmbracoUserName": zod.string().nullish(),
2084
- "testType": zod.enum(["SinglePage", "MultiPage", "ContentType", "SplitUrl"]),
2085
- "startTime": zod.iso.datetime({ "offset": true }).nullish(),
2086
- "endTime": zod.iso.datetime({ "offset": true }).nullish(),
2087
- "participationPercentage": zod.number().nullish(),
2088
- "minimumDetectableEffect": zod.number().nullish(),
2089
- "variants": zod.array(zod.object({
2090
- "id": zod.int(),
2091
- "unique": zod.guid(),
2092
- "abTestId": zod.int(),
2093
- "name": zod.string().nullish(),
2094
- "description": zod.string().nullish(),
2095
- "redirectNodeKey": zod.guid().nullish(),
2096
- "css": zod.string().nullish(),
2097
- "javascript": zod.string().nullish(),
2098
- "created": zod.iso.datetime({ "offset": true }),
2099
- "createdByUmbracoUserKey": zod.guid(),
2100
- "isBenchmark": zod.boolean(),
2101
- "disabled": zod.iso.datetime({ "offset": true }).nullish(),
2102
- "disabledByUmbracoUserKey": zod.guid().nullish(),
2103
- "isDisabled": zod.boolean(),
2104
- "segment": zod.string().nullish(),
2105
- "previewSegment": zod.string().nullish(),
2106
- "totalPageviewsForVariant": zod.int(),
2107
- "totalVisitorsForVariant": zod.int()
2108
- })),
2109
- "umbracoPageVariants": zod.array(zod.object({
2110
- "id": zod.int(),
2111
- "unique": zod.guid(),
2112
- "nodeKey": zod.guid(),
2113
- "nodeName": zod.string().nullish(),
2114
- "culture": zod.string().nullish(),
2115
- "abTestId": zod.int().nullish(),
2116
- "variesBySegment": zod.boolean(),
2117
- "contentTypeKey": zod.guid()
2118
- })),
2119
- "contentTypes": zod.array(zod.object({
2120
- "contentTypeId": zod.int(),
2121
- "contentTypeName": zod.string().nullish(),
2122
- "culture": zod.string().nullish()
2123
- })),
2124
- "winner": zod.object({
2125
- "id": zod.int(),
2126
- "unique": zod.guid(),
2127
- "abTestId": zod.int(),
2128
- "name": zod.string().nullish(),
2129
- "description": zod.string().nullish(),
2130
- "redirectNodeKey": zod.guid().nullish(),
2131
- "css": zod.string().nullish(),
2132
- "javascript": zod.string().nullish(),
2133
- "created": zod.iso.datetime({ "offset": true }),
2134
- "createdByUmbracoUserKey": zod.guid(),
2135
- "isBenchmark": zod.boolean(),
2136
- "disabled": zod.iso.datetime({ "offset": true }).nullish(),
2137
- "disabledByUmbracoUserKey": zod.guid().nullish(),
2138
- "isDisabled": zod.boolean(),
2139
- "segment": zod.string().nullish(),
2140
- "previewSegment": zod.string().nullish(),
2141
- "totalPageviewsForVariant": zod.int(),
2142
- "totalVisitorsForVariant": zod.int()
2143
- }).nullish(),
2144
- "isCompleted": zod.boolean(),
2145
- "completedOn": zod.iso.datetime({ "offset": true }).nullish(),
2146
- "completedByUmbracoUserKey": zod.guid().nullish(),
2147
- "stoppedByUmbracoUserKey": zod.guid().nullish(),
2148
- "estimatedDailyVisitors": zod.int().nullish(),
2149
- "baselineConversionRate": zod.number().nullish(),
2150
- "viableVisitorThreshold": zod.int().nullish(),
2151
- "previewNodeKey": zod.guid().nullish(),
2152
- "onCompleteAction": zod.enum(["Nothing", "Publish", "Draft"])
2074
+ var postAbTestEndQueryParams = zod.object({
2075
+ "unique": zod.guid().optional(),
2076
+ "status": zod.enum(["Unknown", "Scheduled", "Running", "Stopped", "Completed", "Draft"]).optional(),
2077
+ "winnerKey": zod.guid().optional(),
2078
+ "onCompleteAction": zod.enum(["Nothing", "Publish", "Draft"]).optional()
2153
2079
  });
2154
- var postAbTestRuntimeIndicationResponse = zod.object({
2155
- "estimatedRuntimeInDays": zod.int().nullish(),
2156
- "estimatedRequiredRuntimeRemainingInDays": zod.int().nullish(),
2157
- "currentRuntimeInDays": zod.int(),
2158
- "mde": zod.number(),
2159
- "benchmarkConversionRate": zod.number(),
2160
- "targetConversionRate": zod.number(),
2161
- "variantCount": zod.int(),
2162
- "requiredVisitorsTotal": zod.int().nullish(),
2163
- "requiredVisitorsPerVariant": zod.int().nullish(),
2164
- "expectedDailyVisitors": zod.int(),
2165
- "status": zod.enum(["Unknown", "Scheduled", "Running", "Stopped", "Completed", "Draft"]),
2166
- "hurtingVariants": zod.array(zod.object({
2167
- "abTestVariant": zod.object({
2080
+ var postAbTestEndResponse = zod.object({
2081
+ "test": zod.object({
2082
+ "test": zod.object({
2168
2083
  "id": zod.int(),
2169
- "unique": zod.guid(),
2170
- "name": zod.string().nullish(),
2171
- "description": zod.string().nullish(),
2172
- "redirectNodeKey": zod.guid().nullish(),
2173
- "css": zod.string().nullish(),
2174
- "javascript": zod.string().nullish(),
2175
2084
  "created": zod.iso.datetime({ "offset": true }),
2176
- "createdByUmbracoUserKey": zod.guid(),
2177
- "disabled": zod.iso.datetime({ "offset": true }).nullish(),
2178
- "disabledByUmbracoUserKey": zod.guid().nullish(),
2179
- "isDisabled": zod.boolean(),
2180
- "isBenchmark": zod.boolean(),
2181
- "totalPageviewsForVariant": zod.int(),
2182
- "totalVisitorsForVariant": zod.int(),
2183
- "segment": zod.string(),
2184
- "previewSegment": zod.string()
2185
- }),
2186
- "visitors": zod.int(),
2187
- "goalCompletions": zod.int(),
2188
- "benchmarkVisitors": zod.int(),
2189
- "benchmarkGoalCompletions": zod.int(),
2190
- "conversionRate": zod.number(),
2191
- "mainGoalComparisons": zod.array(zod.object({
2192
- "mainGoalId": zod.int(),
2193
- "mainGoalCompletions": zod.int(),
2194
- "mainGoalCompletionsTotalValue": zod.int(),
2195
- "benchmarkMainGoalCompletions": zod.int(),
2196
- "isInvertedGoal": zod.boolean(),
2197
- "hurtingThreshold": zod.number(),
2198
- "mainGoalDifference": zod.int(),
2199
- "warning": zod.boolean(),
2200
- "mainGoalRatio": zod.number().nullish(),
2201
- "isHurting": zod.boolean()
2202
- }))
2203
- })),
2204
- "currentVisitorsPerVariant": zod.int(),
2205
- "currentVisitors": zod.int(),
2206
- "reliableVariants": zod.int(),
2207
- "isInvertedGoal": zod.boolean(),
2208
- "originalVariantIsWinning": zod.boolean(),
2209
- "winningVariant": zod.object({
2210
- "abTestVariant": zod.object({
2211
- "id": zod.int(),
2212
2085
  "unique": zod.guid(),
2086
+ "projectKey": zod.guid().nullish(),
2087
+ "goalKey": zod.guid().nullish(),
2088
+ "status": zod.enum(["Unknown", "Scheduled", "Running", "Stopped", "Completed", "Draft"]),
2213
2089
  "name": zod.string().nullish(),
2214
2090
  "description": zod.string().nullish(),
2215
- "redirectNodeKey": zod.guid().nullish(),
2216
- "css": zod.string().nullish(),
2217
- "javascript": zod.string().nullish(),
2218
- "created": zod.iso.datetime({ "offset": true }),
2219
- "createdByUmbracoUserKey": zod.guid(),
2220
- "disabled": zod.iso.datetime({ "offset": true }).nullish(),
2221
- "disabledByUmbracoUserKey": zod.guid().nullish(),
2222
- "isDisabled": zod.boolean(),
2223
- "isBenchmark": zod.boolean(),
2224
- "totalPageviewsForVariant": zod.int(),
2225
- "totalVisitorsForVariant": zod.int(),
2226
- "segment": zod.string(),
2227
- "previewSegment": zod.string()
2091
+ "createdByUmbracoUserName": zod.string().nullish(),
2092
+ "testType": zod.enum(["SinglePage", "MultiPage", "ContentType", "SplitUrl"]),
2093
+ "startTime": zod.iso.datetime({ "offset": true }).nullish(),
2094
+ "endTime": zod.iso.datetime({ "offset": true }).nullish(),
2095
+ "participationPercentage": zod.number().nullish(),
2096
+ "minimumDetectableEffect": zod.number().nullish(),
2097
+ "variants": zod.array(zod.object({
2098
+ "id": zod.int(),
2099
+ "unique": zod.guid(),
2100
+ "abTestId": zod.int(),
2101
+ "name": zod.string().nullish(),
2102
+ "description": zod.string().nullish(),
2103
+ "redirectNodeKey": zod.guid().nullish(),
2104
+ "css": zod.string().nullish(),
2105
+ "javascript": zod.string().nullish(),
2106
+ "created": zod.iso.datetime({ "offset": true }),
2107
+ "createdByUmbracoUserKey": zod.guid(),
2108
+ "isBenchmark": zod.boolean(),
2109
+ "disabled": zod.iso.datetime({ "offset": true }).nullish(),
2110
+ "disabledByUmbracoUserKey": zod.guid().nullish(),
2111
+ "isDisabled": zod.boolean(),
2112
+ "segment": zod.string().nullish(),
2113
+ "previewSegment": zod.string().nullish(),
2114
+ "totalPageviewsForVariant": zod.int(),
2115
+ "totalVisitorsForVariant": zod.int()
2116
+ })),
2117
+ "umbracoPageVariants": zod.array(zod.object({
2118
+ "id": zod.int(),
2119
+ "unique": zod.guid(),
2120
+ "nodeKey": zod.guid(),
2121
+ "nodeName": zod.string().nullish(),
2122
+ "culture": zod.string().nullish(),
2123
+ "abTestId": zod.int().nullish(),
2124
+ "variesBySegment": zod.boolean(),
2125
+ "contentTypeKey": zod.guid()
2126
+ })),
2127
+ "contentTypes": zod.array(zod.object({
2128
+ "contentTypeId": zod.int(),
2129
+ "contentTypeName": zod.string().nullish(),
2130
+ "culture": zod.string().nullish()
2131
+ })),
2132
+ "winner": zod.object({
2133
+ "id": zod.int(),
2134
+ "unique": zod.guid(),
2135
+ "abTestId": zod.int(),
2136
+ "name": zod.string().nullish(),
2137
+ "description": zod.string().nullish(),
2138
+ "redirectNodeKey": zod.guid().nullish(),
2139
+ "css": zod.string().nullish(),
2140
+ "javascript": zod.string().nullish(),
2141
+ "created": zod.iso.datetime({ "offset": true }),
2142
+ "createdByUmbracoUserKey": zod.guid(),
2143
+ "isBenchmark": zod.boolean(),
2144
+ "disabled": zod.iso.datetime({ "offset": true }).nullish(),
2145
+ "disabledByUmbracoUserKey": zod.guid().nullish(),
2146
+ "isDisabled": zod.boolean(),
2147
+ "segment": zod.string().nullish(),
2148
+ "previewSegment": zod.string().nullish(),
2149
+ "totalPageviewsForVariant": zod.int(),
2150
+ "totalVisitorsForVariant": zod.int()
2151
+ }).nullish(),
2152
+ "isArchived": zod.boolean(),
2153
+ "isCompleted": zod.boolean(),
2154
+ "completedOn": zod.iso.datetime({ "offset": true }).nullish(),
2155
+ "completedByUmbracoUserKey": zod.guid().nullish(),
2156
+ "stoppedByUmbracoUserKey": zod.guid().nullish(),
2157
+ "estimatedDailyVisitors": zod.int().nullish(),
2158
+ "baselineConversionRate": zod.number().nullish(),
2159
+ "viableVisitorThreshold": zod.int().nullish(),
2160
+ "previewNodeKey": zod.guid().nullish(),
2161
+ "onCompleteAction": zod.enum(["Nothing", "Publish", "Draft"])
2228
2162
  }),
2229
- "visitors": zod.int(),
2230
- "goalCompletions": zod.int(),
2231
- "benchmarkVisitors": zod.int(),
2163
+ "indication": zod.object({
2164
+ "estimatedRuntimeInDays": zod.int().nullish(),
2165
+ "estimatedRequiredRuntimeRemainingInDays": zod.int().nullish(),
2166
+ "currentRuntimeInDays": zod.int(),
2167
+ "mde": zod.number(),
2168
+ "benchmarkConversionRate": zod.number(),
2169
+ "targetConversionRate": zod.number(),
2170
+ "variantCount": zod.int(),
2171
+ "requiredVisitorsTotal": zod.int().nullish(),
2172
+ "requiredVisitorsPerVariant": zod.int().nullish(),
2173
+ "expectedDailyVisitors": zod.int(),
2174
+ "status": zod.enum(["Unknown", "Scheduled", "Running", "Stopped", "Completed", "Draft"]),
2175
+ "hurtingVariants": zod.array(zod.object({
2176
+ "abTestVariant": zod.object({
2177
+ "id": zod.int(),
2178
+ "unique": zod.guid(),
2179
+ "name": zod.string().nullish(),
2180
+ "description": zod.string().nullish(),
2181
+ "redirectNodeKey": zod.guid().nullish(),
2182
+ "css": zod.string().nullish(),
2183
+ "javascript": zod.string().nullish(),
2184
+ "created": zod.iso.datetime({ "offset": true }),
2185
+ "createdByUmbracoUserKey": zod.guid(),
2186
+ "disabled": zod.iso.datetime({ "offset": true }).nullish(),
2187
+ "disabledByUmbracoUserKey": zod.guid().nullish(),
2188
+ "isDisabled": zod.boolean(),
2189
+ "isBenchmark": zod.boolean(),
2190
+ "totalPageviewsForVariant": zod.int(),
2191
+ "totalVisitorsForVariant": zod.int(),
2192
+ "segment": zod.string(),
2193
+ "previewSegment": zod.string()
2194
+ }),
2195
+ "visitors": zod.int(),
2196
+ "goalCompletions": zod.int(),
2197
+ "benchmarkVisitors": zod.int(),
2198
+ "benchmarkGoalCompletions": zod.int(),
2199
+ "conversionRate": zod.number(),
2200
+ "mainGoalComparisons": zod.array(zod.object({
2201
+ "mainGoalId": zod.int(),
2202
+ "mainGoalCompletions": zod.int(),
2203
+ "mainGoalCompletionsTotalValue": zod.int(),
2204
+ "benchmarkMainGoalCompletions": zod.int(),
2205
+ "isInvertedGoal": zod.boolean(),
2206
+ "hurtingThreshold": zod.number(),
2207
+ "mainGoalDifference": zod.int(),
2208
+ "warning": zod.boolean(),
2209
+ "mainGoalRatio": zod.number().nullish(),
2210
+ "isHurting": zod.boolean()
2211
+ }))
2212
+ })),
2213
+ "currentVisitorsPerVariant": zod.int(),
2214
+ "currentVisitors": zod.int(),
2215
+ "reliableVariants": zod.int(),
2216
+ "isInvertedGoal": zod.boolean(),
2217
+ "originalVariantIsWinning": zod.boolean(),
2218
+ "winningVariant": zod.object({
2219
+ "abTestVariant": zod.object({
2220
+ "id": zod.int(),
2221
+ "unique": zod.guid(),
2222
+ "name": zod.string().nullish(),
2223
+ "description": zod.string().nullish(),
2224
+ "redirectNodeKey": zod.guid().nullish(),
2225
+ "css": zod.string().nullish(),
2226
+ "javascript": zod.string().nullish(),
2227
+ "created": zod.iso.datetime({ "offset": true }),
2228
+ "createdByUmbracoUserKey": zod.guid(),
2229
+ "disabled": zod.iso.datetime({ "offset": true }).nullish(),
2230
+ "disabledByUmbracoUserKey": zod.guid().nullish(),
2231
+ "isDisabled": zod.boolean(),
2232
+ "isBenchmark": zod.boolean(),
2233
+ "totalPageviewsForVariant": zod.int(),
2234
+ "totalVisitorsForVariant": zod.int(),
2235
+ "segment": zod.string(),
2236
+ "previewSegment": zod.string()
2237
+ }),
2238
+ "visitors": zod.int(),
2239
+ "goalCompletions": zod.int(),
2240
+ "benchmarkVisitors": zod.int(),
2241
+ "benchmarkGoalCompletions": zod.int(),
2242
+ "conversionRate": zod.number(),
2243
+ "mainGoalComparisons": zod.array(zod.object({
2244
+ "mainGoalId": zod.int(),
2245
+ "mainGoalCompletions": zod.int(),
2246
+ "mainGoalCompletionsTotalValue": zod.int(),
2247
+ "benchmarkMainGoalCompletions": zod.int(),
2248
+ "isInvertedGoal": zod.boolean(),
2249
+ "hurtingThreshold": zod.number(),
2250
+ "mainGoalDifference": zod.int(),
2251
+ "warning": zod.boolean(),
2252
+ "mainGoalRatio": zod.number().nullish(),
2253
+ "isHurting": zod.boolean()
2254
+ }))
2255
+ }).nullish(),
2256
+ "bestNonBenchmarkVariant": zod.object({
2257
+ "abTestVariant": zod.object({
2258
+ "id": zod.int(),
2259
+ "unique": zod.guid(),
2260
+ "name": zod.string().nullish(),
2261
+ "description": zod.string().nullish(),
2262
+ "redirectNodeKey": zod.guid().nullish(),
2263
+ "css": zod.string().nullish(),
2264
+ "javascript": zod.string().nullish(),
2265
+ "created": zod.iso.datetime({ "offset": true }),
2266
+ "createdByUmbracoUserKey": zod.guid(),
2267
+ "disabled": zod.iso.datetime({ "offset": true }).nullish(),
2268
+ "disabledByUmbracoUserKey": zod.guid().nullish(),
2269
+ "isDisabled": zod.boolean(),
2270
+ "isBenchmark": zod.boolean(),
2271
+ "totalPageviewsForVariant": zod.int(),
2272
+ "totalVisitorsForVariant": zod.int(),
2273
+ "segment": zod.string(),
2274
+ "previewSegment": zod.string()
2275
+ }),
2276
+ "visitors": zod.int(),
2277
+ "goalCompletions": zod.int(),
2278
+ "benchmarkVisitors": zod.int(),
2279
+ "benchmarkGoalCompletions": zod.int(),
2280
+ "conversionRate": zod.number(),
2281
+ "mainGoalComparisons": zod.array(zod.object({
2282
+ "mainGoalId": zod.int(),
2283
+ "mainGoalCompletions": zod.int(),
2284
+ "mainGoalCompletionsTotalValue": zod.int(),
2285
+ "benchmarkMainGoalCompletions": zod.int(),
2286
+ "isInvertedGoal": zod.boolean(),
2287
+ "hurtingThreshold": zod.number(),
2288
+ "mainGoalDifference": zod.int(),
2289
+ "warning": zod.boolean(),
2290
+ "mainGoalRatio": zod.number().nullish(),
2291
+ "isHurting": zod.boolean()
2292
+ }))
2293
+ }).nullish(),
2294
+ "earliestReliableVariant": zod.object({
2295
+ "abTestVariant": zod.object({
2296
+ "id": zod.int(),
2297
+ "unique": zod.guid(),
2298
+ "name": zod.string().nullish(),
2299
+ "description": zod.string().nullish(),
2300
+ "redirectNodeKey": zod.guid().nullish(),
2301
+ "css": zod.string().nullish(),
2302
+ "javascript": zod.string().nullish(),
2303
+ "created": zod.iso.datetime({ "offset": true }),
2304
+ "createdByUmbracoUserKey": zod.guid(),
2305
+ "disabled": zod.iso.datetime({ "offset": true }).nullish(),
2306
+ "disabledByUmbracoUserKey": zod.guid().nullish(),
2307
+ "isDisabled": zod.boolean(),
2308
+ "isBenchmark": zod.boolean(),
2309
+ "totalPageviewsForVariant": zod.int(),
2310
+ "totalVisitorsForVariant": zod.int(),
2311
+ "segment": zod.string(),
2312
+ "previewSegment": zod.string()
2313
+ }),
2314
+ "visitors": zod.int(),
2315
+ "goalCompletions": zod.int(),
2316
+ "benchmarkVisitors": zod.int(),
2317
+ "benchmarkGoalCompletions": zod.int(),
2318
+ "conversionRate": zod.number(),
2319
+ "mainGoalComparisons": zod.array(zod.object({
2320
+ "mainGoalId": zod.int(),
2321
+ "mainGoalCompletions": zod.int(),
2322
+ "mainGoalCompletionsTotalValue": zod.int(),
2323
+ "benchmarkMainGoalCompletions": zod.int(),
2324
+ "isInvertedGoal": zod.boolean(),
2325
+ "hurtingThreshold": zod.number(),
2326
+ "mainGoalDifference": zod.int(),
2327
+ "warning": zod.boolean(),
2328
+ "mainGoalRatio": zod.number().nullish(),
2329
+ "isHurting": zod.boolean()
2330
+ }))
2331
+ }).nullish(),
2332
+ "bestPrognosis": zod.object({
2333
+ "variantId": zod.int(),
2334
+ "conversionIncrease": zod.number(),
2335
+ "currentVisitors": zod.int(),
2336
+ "requiredVisitorsTotal": zod.int().nullish(),
2337
+ "expectedDailyVisitors": zod.number(),
2338
+ "estimatedRuntimeInDays": zod.int().nullish(),
2339
+ "isHurtingMainConversion": zod.boolean(),
2340
+ "remainingVisitors": zod.int().nullish(),
2341
+ "isReliable": zod.boolean()
2342
+ }),
2343
+ "winner": zod.object({
2344
+ "abTestVariant": zod.object({
2345
+ "id": zod.int(),
2346
+ "unique": zod.guid(),
2347
+ "name": zod.string().nullish(),
2348
+ "description": zod.string().nullish(),
2349
+ "redirectNodeKey": zod.guid().nullish(),
2350
+ "css": zod.string().nullish(),
2351
+ "javascript": zod.string().nullish(),
2352
+ "created": zod.iso.datetime({ "offset": true }),
2353
+ "createdByUmbracoUserKey": zod.guid(),
2354
+ "disabled": zod.iso.datetime({ "offset": true }).nullish(),
2355
+ "disabledByUmbracoUserKey": zod.guid().nullish(),
2356
+ "isDisabled": zod.boolean(),
2357
+ "isBenchmark": zod.boolean(),
2358
+ "totalPageviewsForVariant": zod.int(),
2359
+ "totalVisitorsForVariant": zod.int(),
2360
+ "segment": zod.string(),
2361
+ "previewSegment": zod.string()
2362
+ }),
2363
+ "visitors": zod.int(),
2364
+ "goalCompletions": zod.int(),
2365
+ "benchmarkVisitors": zod.int(),
2366
+ "benchmarkGoalCompletions": zod.int(),
2367
+ "conversionRate": zod.number(),
2368
+ "mainGoalComparisons": zod.array(zod.object({
2369
+ "mainGoalId": zod.int(),
2370
+ "mainGoalCompletions": zod.int(),
2371
+ "mainGoalCompletionsTotalValue": zod.int(),
2372
+ "benchmarkMainGoalCompletions": zod.int(),
2373
+ "isInvertedGoal": zod.boolean(),
2374
+ "hurtingThreshold": zod.number(),
2375
+ "mainGoalDifference": zod.int(),
2376
+ "warning": zod.boolean(),
2377
+ "mainGoalRatio": zod.number().nullish(),
2378
+ "isHurting": zod.boolean()
2379
+ }))
2380
+ }).nullish(),
2381
+ "winningVariantConversionChange": zod.number(),
2382
+ "bestNonWinningVariantConversionChange": zod.number(),
2383
+ "winnerConversionChange": zod.number(),
2384
+ "stoppedOn": zod.iso.datetime({ "offset": true }).nullish(),
2385
+ "startTime": zod.iso.datetime({ "offset": true }).nullish(),
2386
+ "completedOn": zod.iso.datetime({ "offset": true }).nullish(),
2387
+ "hasSelectedWinner": zod.boolean(),
2388
+ "completedByUsername": zod.string().nullish(),
2389
+ "stoppedByUsername": zod.string().nullish(),
2390
+ "hasSurpassedViableVisitorThreshold": zod.boolean(),
2391
+ "variantStatus": zod.record(zod.string(), zod.enum(["Running", "Warning", "Disabled", "Reliable", "Stopped", "Scheduled", "Completed", "Draft"]))
2392
+ }).nullish(),
2393
+ "variants": zod.array(zod.object({
2394
+ "id": zod.int(),
2395
+ "unique": zod.guid(),
2396
+ "abTestId": zod.int(),
2397
+ "name": zod.string().nullish(),
2398
+ "description": zod.string().nullish(),
2399
+ "redirectNodeKey": zod.guid().nullish(),
2400
+ "css": zod.string().nullish(),
2401
+ "javascript": zod.string().nullish(),
2402
+ "created": zod.iso.datetime({ "offset": true }),
2403
+ "createdByUmbracoUserKey": zod.guid(),
2404
+ "isBenchmark": zod.boolean(),
2405
+ "disabled": zod.iso.datetime({ "offset": true }).nullish(),
2406
+ "disabledByUmbracoUserKey": zod.guid().nullish(),
2407
+ "isDisabled": zod.boolean(),
2408
+ "segment": zod.string().nullish(),
2409
+ "previewSegment": zod.string().nullish(),
2410
+ "totalPageviewsForVariant": zod.int(),
2411
+ "totalVisitorsForVariant": zod.int(),
2412
+ "label": zod.string().nullish(),
2413
+ "currentTotalParticipantCount": zod.int(),
2414
+ "currentTotalPageviewCount": zod.int(),
2415
+ "requiredTotalVisitorCount": zod.int().nullish(),
2416
+ "goalCompletions": zod.int(),
2417
+ "goalValue": zod.number(),
2418
+ "difference": zod.number(),
2419
+ "participantPortion": zod.number(),
2420
+ "visitorsPortion": zod.number(),
2421
+ "conversionRate": zod.number(),
2422
+ "conversionRateImprovement": zod.number(),
2423
+ "conversionRateImprovementRelative": zod.number(),
2424
+ "mainGoalComparisons": zod.array(zod.object({
2425
+ "mainGoalId": zod.int(),
2426
+ "mainGoalCompletions": zod.int(),
2427
+ "mainGoalCompletionsTotalValue": zod.int(),
2428
+ "benchmarkMainGoalCompletions": zod.int(),
2429
+ "isInvertedGoal": zod.boolean(),
2430
+ "hurtingThreshold": zod.number(),
2431
+ "mainGoalDifference": zod.int(),
2432
+ "warning": zod.boolean(),
2433
+ "mainGoalRatio": zod.number().nullish(),
2434
+ "isHurting": zod.boolean()
2435
+ })),
2436
+ "mainGoalWarning": zod.boolean(),
2437
+ "goalWarning": zod.boolean(),
2438
+ "status": zod.enum(["Running", "Warning", "Disabled", "Reliable", "Stopped", "Scheduled", "Completed", "Draft"]),
2439
+ "isWinner": zod.boolean(),
2440
+ "isLeading": zod.boolean()
2441
+ })).nullish(),
2442
+ "isInvertedGoal": zod.boolean(),
2443
+ "cultureSharedSegmentedProperties": zod.array(zod.string()).nullish()
2444
+ }).nullish(),
2445
+ "validationResults": zod.object({
2446
+ "isValid": zod.boolean(),
2447
+ "warnings": zod.array(zod.string()),
2448
+ "errors": zod.array(zod.string())
2449
+ })
2450
+ });
2451
+ zod.object({
2452
+ "unique": zod.guid().optional(),
2453
+ "includeArchived": zod.boolean().optional()
2454
+ });
2455
+ var getAbTestPageResponseItem = zod.object({
2456
+ "unique": zod.guid(),
2457
+ "created": zod.iso.datetime({ "offset": true }).nullish(),
2458
+ "abTestId": zod.int(),
2459
+ "name": zod.string().nullish(),
2460
+ "description": zod.string().nullish(),
2461
+ "createdByUmbracoUserKey": zod.guid().nullish(),
2462
+ "createdByUmbracoUserName": zod.string().nullish(),
2463
+ "testType": zod.enum(["SinglePage", "MultiPage", "ContentType", "SplitUrl"]),
2464
+ "startTime": zod.iso.datetime({ "offset": true }).nullish(),
2465
+ "status": zod.enum(["Unknown", "Scheduled", "Running", "Stopped", "Completed", "Draft"]),
2466
+ "endTime": zod.iso.datetime({ "offset": true }).nullish(),
2467
+ "runtimeInDays": zod.int().nullish(),
2468
+ "totalVariants": zod.int(),
2469
+ "totalVisitors": zod.int(),
2470
+ "winner": zod.string().nullish(),
2471
+ "winnerDescription": zod.string().nullish(),
2472
+ "isArchived": zod.boolean()
2473
+ });
2474
+ var getAbTestPageResponse = zod.array(getAbTestPageResponseItem);
2475
+ zod.object({
2476
+ "id": zod.int(),
2477
+ "created": zod.iso.datetime({ "offset": true }),
2478
+ "unique": zod.guid(),
2479
+ "projectKey": zod.guid().nullish(),
2480
+ "goalKey": zod.guid().nullish(),
2481
+ "status": zod.enum(["Unknown", "Scheduled", "Running", "Stopped", "Completed", "Draft"]),
2482
+ "name": zod.string().nullish(),
2483
+ "description": zod.string().nullish(),
2484
+ "createdByUmbracoUserName": zod.string().nullish(),
2485
+ "testType": zod.enum(["SinglePage", "MultiPage", "ContentType", "SplitUrl"]),
2486
+ "startTime": zod.iso.datetime({ "offset": true }).nullish(),
2487
+ "endTime": zod.iso.datetime({ "offset": true }).nullish(),
2488
+ "participationPercentage": zod.number().nullish(),
2489
+ "minimumDetectableEffect": zod.number().nullish(),
2490
+ "variants": zod.array(zod.object({
2491
+ "id": zod.int(),
2492
+ "unique": zod.guid(),
2493
+ "abTestId": zod.int(),
2494
+ "name": zod.string().nullish(),
2495
+ "description": zod.string().nullish(),
2496
+ "redirectNodeKey": zod.guid().nullish(),
2497
+ "css": zod.string().nullish(),
2498
+ "javascript": zod.string().nullish(),
2499
+ "created": zod.iso.datetime({ "offset": true }),
2500
+ "createdByUmbracoUserKey": zod.guid(),
2501
+ "isBenchmark": zod.boolean(),
2502
+ "disabled": zod.iso.datetime({ "offset": true }).nullish(),
2503
+ "disabledByUmbracoUserKey": zod.guid().nullish(),
2504
+ "isDisabled": zod.boolean(),
2505
+ "segment": zod.string().nullish(),
2506
+ "previewSegment": zod.string().nullish(),
2507
+ "totalPageviewsForVariant": zod.int(),
2508
+ "totalVisitorsForVariant": zod.int()
2509
+ })),
2510
+ "umbracoPageVariants": zod.array(zod.object({
2511
+ "id": zod.int(),
2512
+ "unique": zod.guid(),
2513
+ "nodeKey": zod.guid(),
2514
+ "nodeName": zod.string().nullish(),
2515
+ "culture": zod.string().nullish(),
2516
+ "abTestId": zod.int().nullish(),
2517
+ "variesBySegment": zod.boolean(),
2518
+ "contentTypeKey": zod.guid()
2519
+ })),
2520
+ "contentTypes": zod.array(zod.object({
2521
+ "contentTypeId": zod.int(),
2522
+ "contentTypeName": zod.string().nullish(),
2523
+ "culture": zod.string().nullish()
2524
+ })),
2525
+ "winner": zod.object({
2526
+ "id": zod.int(),
2527
+ "unique": zod.guid(),
2528
+ "abTestId": zod.int(),
2529
+ "name": zod.string().nullish(),
2530
+ "description": zod.string().nullish(),
2531
+ "redirectNodeKey": zod.guid().nullish(),
2532
+ "css": zod.string().nullish(),
2533
+ "javascript": zod.string().nullish(),
2534
+ "created": zod.iso.datetime({ "offset": true }),
2535
+ "createdByUmbracoUserKey": zod.guid(),
2536
+ "isBenchmark": zod.boolean(),
2537
+ "disabled": zod.iso.datetime({ "offset": true }).nullish(),
2538
+ "disabledByUmbracoUserKey": zod.guid().nullish(),
2539
+ "isDisabled": zod.boolean(),
2540
+ "segment": zod.string().nullish(),
2541
+ "previewSegment": zod.string().nullish(),
2542
+ "totalPageviewsForVariant": zod.int(),
2543
+ "totalVisitorsForVariant": zod.int()
2544
+ }).nullish(),
2545
+ "isArchived": zod.boolean(),
2546
+ "isCompleted": zod.boolean(),
2547
+ "completedOn": zod.iso.datetime({ "offset": true }).nullish(),
2548
+ "completedByUmbracoUserKey": zod.guid().nullish(),
2549
+ "stoppedByUmbracoUserKey": zod.guid().nullish(),
2550
+ "estimatedDailyVisitors": zod.int().nullish(),
2551
+ "baselineConversionRate": zod.number().nullish(),
2552
+ "viableVisitorThreshold": zod.int().nullish(),
2553
+ "previewNodeKey": zod.guid().nullish(),
2554
+ "onCompleteAction": zod.enum(["Nothing", "Publish", "Draft"])
2555
+ });
2556
+ var postAbTestRuntimeIndicationResponse = zod.object({
2557
+ "estimatedRuntimeInDays": zod.int().nullish(),
2558
+ "estimatedRequiredRuntimeRemainingInDays": zod.int().nullish(),
2559
+ "currentRuntimeInDays": zod.int(),
2560
+ "mde": zod.number(),
2561
+ "benchmarkConversionRate": zod.number(),
2562
+ "targetConversionRate": zod.number(),
2563
+ "variantCount": zod.int(),
2564
+ "requiredVisitorsTotal": zod.int().nullish(),
2565
+ "requiredVisitorsPerVariant": zod.int().nullish(),
2566
+ "expectedDailyVisitors": zod.int(),
2567
+ "status": zod.enum(["Unknown", "Scheduled", "Running", "Stopped", "Completed", "Draft"]),
2568
+ "hurtingVariants": zod.array(zod.object({
2569
+ "abTestVariant": zod.object({
2570
+ "id": zod.int(),
2571
+ "unique": zod.guid(),
2572
+ "name": zod.string().nullish(),
2573
+ "description": zod.string().nullish(),
2574
+ "redirectNodeKey": zod.guid().nullish(),
2575
+ "css": zod.string().nullish(),
2576
+ "javascript": zod.string().nullish(),
2577
+ "created": zod.iso.datetime({ "offset": true }),
2578
+ "createdByUmbracoUserKey": zod.guid(),
2579
+ "disabled": zod.iso.datetime({ "offset": true }).nullish(),
2580
+ "disabledByUmbracoUserKey": zod.guid().nullish(),
2581
+ "isDisabled": zod.boolean(),
2582
+ "isBenchmark": zod.boolean(),
2583
+ "totalPageviewsForVariant": zod.int(),
2584
+ "totalVisitorsForVariant": zod.int(),
2585
+ "segment": zod.string(),
2586
+ "previewSegment": zod.string()
2587
+ }),
2588
+ "visitors": zod.int(),
2589
+ "goalCompletions": zod.int(),
2590
+ "benchmarkVisitors": zod.int(),
2591
+ "benchmarkGoalCompletions": zod.int(),
2592
+ "conversionRate": zod.number(),
2593
+ "mainGoalComparisons": zod.array(zod.object({
2594
+ "mainGoalId": zod.int(),
2595
+ "mainGoalCompletions": zod.int(),
2596
+ "mainGoalCompletionsTotalValue": zod.int(),
2597
+ "benchmarkMainGoalCompletions": zod.int(),
2598
+ "isInvertedGoal": zod.boolean(),
2599
+ "hurtingThreshold": zod.number(),
2600
+ "mainGoalDifference": zod.int(),
2601
+ "warning": zod.boolean(),
2602
+ "mainGoalRatio": zod.number().nullish(),
2603
+ "isHurting": zod.boolean()
2604
+ }))
2605
+ })),
2606
+ "currentVisitorsPerVariant": zod.int(),
2607
+ "currentVisitors": zod.int(),
2608
+ "reliableVariants": zod.int(),
2609
+ "isInvertedGoal": zod.boolean(),
2610
+ "originalVariantIsWinning": zod.boolean(),
2611
+ "winningVariant": zod.object({
2612
+ "abTestVariant": zod.object({
2613
+ "id": zod.int(),
2614
+ "unique": zod.guid(),
2615
+ "name": zod.string().nullish(),
2616
+ "description": zod.string().nullish(),
2617
+ "redirectNodeKey": zod.guid().nullish(),
2618
+ "css": zod.string().nullish(),
2619
+ "javascript": zod.string().nullish(),
2620
+ "created": zod.iso.datetime({ "offset": true }),
2621
+ "createdByUmbracoUserKey": zod.guid(),
2622
+ "disabled": zod.iso.datetime({ "offset": true }).nullish(),
2623
+ "disabledByUmbracoUserKey": zod.guid().nullish(),
2624
+ "isDisabled": zod.boolean(),
2625
+ "isBenchmark": zod.boolean(),
2626
+ "totalPageviewsForVariant": zod.int(),
2627
+ "totalVisitorsForVariant": zod.int(),
2628
+ "segment": zod.string(),
2629
+ "previewSegment": zod.string()
2630
+ }),
2631
+ "visitors": zod.int(),
2632
+ "goalCompletions": zod.int(),
2633
+ "benchmarkVisitors": zod.int(),
2232
2634
  "benchmarkGoalCompletions": zod.int(),
2233
2635
  "conversionRate": zod.number(),
2234
2636
  "mainGoalComparisons": zod.array(zod.object({
@@ -2369,26 +2771,117 @@ var postAbTestRuntimeIndicationResponse = zod.object({
2369
2771
  "isHurting": zod.boolean()
2370
2772
  }))
2371
2773
  }).nullish(),
2372
- "winningVariantConversionChange": zod.number(),
2373
- "bestNonWinningVariantConversionChange": zod.number(),
2374
- "winnerConversionChange": zod.number(),
2375
- "stoppedOn": zod.iso.datetime({ "offset": true }).nullish(),
2376
- "startTime": zod.iso.datetime({ "offset": true }).nullish(),
2377
- "completedOn": zod.iso.datetime({ "offset": true }).nullish(),
2378
- "hasSelectedWinner": zod.boolean(),
2379
- "completedByUsername": zod.string().nullish(),
2380
- "stoppedByUsername": zod.string().nullish(),
2381
- "hasSurpassedViableVisitorThreshold": zod.boolean(),
2382
- "variantStatus": zod.record(zod.string(), zod.enum(["Running", "Warning", "Disabled", "Reliable", "Stopped", "Scheduled", "Completed", "Draft"]))
2383
- });
2384
- zod.object({
2385
- "unique": zod.guid().optional(),
2386
- "culture": zod.string().optional(),
2387
- "segment": zod.string().optional()
2388
- });
2389
- var postAbTestSegmentResponse = zod.object({
2390
- "created": zod.boolean(),
2391
- "cultureSharedSegmentedProperties": zod.array(zod.string())
2774
+ "winningVariantConversionChange": zod.number(),
2775
+ "bestNonWinningVariantConversionChange": zod.number(),
2776
+ "winnerConversionChange": zod.number(),
2777
+ "stoppedOn": zod.iso.datetime({ "offset": true }).nullish(),
2778
+ "startTime": zod.iso.datetime({ "offset": true }).nullish(),
2779
+ "completedOn": zod.iso.datetime({ "offset": true }).nullish(),
2780
+ "hasSelectedWinner": zod.boolean(),
2781
+ "completedByUsername": zod.string().nullish(),
2782
+ "stoppedByUsername": zod.string().nullish(),
2783
+ "hasSurpassedViableVisitorThreshold": zod.boolean(),
2784
+ "variantStatus": zod.record(zod.string(), zod.enum(["Running", "Warning", "Disabled", "Reliable", "Stopped", "Scheduled", "Completed", "Draft"]))
2785
+ });
2786
+ zod.object({
2787
+ "unique": zod.guid().optional(),
2788
+ "culture": zod.string().optional(),
2789
+ "segment": zod.string().optional()
2790
+ });
2791
+ var postAbTestSegmentResponse = zod.object({
2792
+ "created": zod.boolean(),
2793
+ "cultureSharedSegmentedProperties": zod.array(zod.string())
2794
+ });
2795
+ zod.object({
2796
+ "unique": zod.guid().optional()
2797
+ });
2798
+ var postAbTestUnscheduleResponse = zod.object({
2799
+ "test": zod.object({
2800
+ "id": zod.int(),
2801
+ "created": zod.iso.datetime({ "offset": true }),
2802
+ "unique": zod.guid(),
2803
+ "projectKey": zod.guid().nullish(),
2804
+ "goalKey": zod.guid().nullish(),
2805
+ "status": zod.enum(["Unknown", "Scheduled", "Running", "Stopped", "Completed", "Draft"]),
2806
+ "name": zod.string().nullish(),
2807
+ "description": zod.string().nullish(),
2808
+ "createdByUmbracoUserName": zod.string().nullish(),
2809
+ "testType": zod.enum(["SinglePage", "MultiPage", "ContentType", "SplitUrl"]),
2810
+ "startTime": zod.iso.datetime({ "offset": true }).nullish(),
2811
+ "endTime": zod.iso.datetime({ "offset": true }).nullish(),
2812
+ "participationPercentage": zod.number().nullish(),
2813
+ "minimumDetectableEffect": zod.number().nullish(),
2814
+ "variants": zod.array(zod.object({
2815
+ "id": zod.int(),
2816
+ "unique": zod.guid(),
2817
+ "abTestId": zod.int(),
2818
+ "name": zod.string().nullish(),
2819
+ "description": zod.string().nullish(),
2820
+ "redirectNodeKey": zod.guid().nullish(),
2821
+ "css": zod.string().nullish(),
2822
+ "javascript": zod.string().nullish(),
2823
+ "created": zod.iso.datetime({ "offset": true }),
2824
+ "createdByUmbracoUserKey": zod.guid(),
2825
+ "isBenchmark": zod.boolean(),
2826
+ "disabled": zod.iso.datetime({ "offset": true }).nullish(),
2827
+ "disabledByUmbracoUserKey": zod.guid().nullish(),
2828
+ "isDisabled": zod.boolean(),
2829
+ "segment": zod.string().nullish(),
2830
+ "previewSegment": zod.string().nullish(),
2831
+ "totalPageviewsForVariant": zod.int(),
2832
+ "totalVisitorsForVariant": zod.int()
2833
+ })),
2834
+ "umbracoPageVariants": zod.array(zod.object({
2835
+ "id": zod.int(),
2836
+ "unique": zod.guid(),
2837
+ "nodeKey": zod.guid(),
2838
+ "nodeName": zod.string().nullish(),
2839
+ "culture": zod.string().nullish(),
2840
+ "abTestId": zod.int().nullish(),
2841
+ "variesBySegment": zod.boolean(),
2842
+ "contentTypeKey": zod.guid()
2843
+ })),
2844
+ "contentTypes": zod.array(zod.object({
2845
+ "contentTypeId": zod.int(),
2846
+ "contentTypeName": zod.string().nullish(),
2847
+ "culture": zod.string().nullish()
2848
+ })),
2849
+ "winner": zod.object({
2850
+ "id": zod.int(),
2851
+ "unique": zod.guid(),
2852
+ "abTestId": zod.int(),
2853
+ "name": zod.string().nullish(),
2854
+ "description": zod.string().nullish(),
2855
+ "redirectNodeKey": zod.guid().nullish(),
2856
+ "css": zod.string().nullish(),
2857
+ "javascript": zod.string().nullish(),
2858
+ "created": zod.iso.datetime({ "offset": true }),
2859
+ "createdByUmbracoUserKey": zod.guid(),
2860
+ "isBenchmark": zod.boolean(),
2861
+ "disabled": zod.iso.datetime({ "offset": true }).nullish(),
2862
+ "disabledByUmbracoUserKey": zod.guid().nullish(),
2863
+ "isDisabled": zod.boolean(),
2864
+ "segment": zod.string().nullish(),
2865
+ "previewSegment": zod.string().nullish(),
2866
+ "totalPageviewsForVariant": zod.int(),
2867
+ "totalVisitorsForVariant": zod.int()
2868
+ }).nullish(),
2869
+ "isArchived": zod.boolean(),
2870
+ "isCompleted": zod.boolean(),
2871
+ "completedOn": zod.iso.datetime({ "offset": true }).nullish(),
2872
+ "completedByUmbracoUserKey": zod.guid().nullish(),
2873
+ "stoppedByUmbracoUserKey": zod.guid().nullish(),
2874
+ "estimatedDailyVisitors": zod.int().nullish(),
2875
+ "baselineConversionRate": zod.number().nullish(),
2876
+ "viableVisitorThreshold": zod.int().nullish(),
2877
+ "previewNodeKey": zod.guid().nullish(),
2878
+ "onCompleteAction": zod.enum(["Nothing", "Publish", "Draft"])
2879
+ }).nullish(),
2880
+ "validationResults": zod.object({
2881
+ "isValid": zod.boolean(),
2882
+ "warnings": zod.array(zod.string()),
2883
+ "errors": zod.array(zod.string())
2884
+ })
2392
2885
  });
2393
2886
  zod.object({
2394
2887
  "id": zod.int(),
@@ -2460,6 +2953,7 @@ zod.object({
2460
2953
  "totalPageviewsForVariant": zod.int(),
2461
2954
  "totalVisitorsForVariant": zod.int()
2462
2955
  }).nullish(),
2956
+ "isArchived": zod.boolean(),
2463
2957
  "isCompleted": zod.boolean(),
2464
2958
  "completedOn": zod.iso.datetime({ "offset": true }).nullish(),
2465
2959
  "completedByUmbracoUserKey": zod.guid().nullish(),
@@ -2594,6 +3088,7 @@ var getAbTestViewModelResponse = zod.object({
2594
3088
  "totalPageviewsForVariant": zod.int(),
2595
3089
  "totalVisitorsForVariant": zod.int()
2596
3090
  }).nullish(),
3091
+ "isArchived": zod.boolean(),
2597
3092
  "isCompleted": zod.boolean(),
2598
3093
  "completedOn": zod.iso.datetime({ "offset": true }).nullish(),
2599
3094
  "completedByUmbracoUserKey": zod.guid().nullish(),
@@ -2886,10 +3381,6 @@ var getAbTestViewModelResponse = zod.object({
2886
3381
  "isInvertedGoal": zod.boolean(),
2887
3382
  "cultureSharedSegmentedProperties": zod.array(zod.string()).nullish()
2888
3383
  });
2889
- var getAddOnsResponse = zod.object({
2890
- "umbracoForms": zod.boolean(),
2891
- "umbracoCommerce": zod.boolean()
2892
- });
2893
3384
  var getAnalyticsDistinctQueryParams = zod.object({
2894
3385
  "dimension": zod.enum(["UNDEFINED", "usertype", "referralPath", "fullReferrer", "campaign", "source", "medium", "sourceMedium", "browser", "browserVersion", "operatingSystem", "operatingSystemVersion", "deviceCategory", "country", "city", "hostname", "pageUrl", "pageId", "NodeId", "NodeCulture", "NodeSegment", "NodeContentType", "pagePath", "eventCategory", "eventAction", "eventLabel", "date", "year", "month", "week", "day", "hour", "minute", "nthMonth", "nthWeek", "nthDay", "nthMinute", "nthHour", "abTest", "abTestVariant", "goal", "goalId", "goalType", "isMainGoal", "visitorType", "bot", "botId", "botVersion", "botVersionId", "referralHostname", "referralIsInternalPage", "referralPathAndQuery", "browserId", "datetime", "pageviewSegmentId", "pageviewSegmentName", "pageviewAppliedSegmentId", "pageviewAppliedSegmentName", "pageviewAppliedPersonalizationId", "pageviewAppliedPersonalizationName", "videoName", "videoUrl", "videoEventType", "videoEventTypeName", "umbracoFormsName", "umbracoFormsId", "umbracoFormsFieldName", "umbracoFormsFieldId", "umbracoFormsFieldError", "cityId", "countryId", "province", "provinceId", "county", "countyId", "sourcePlatform", "creativeFormat", "marketingTactic", "segmentId", "segmentName", "searchTerm"]).optional()
2895
3386
  });
@@ -2927,7 +3418,7 @@ var postAnalyticsQueryResponse = zod.object({
2927
3418
  "rowsPerPage": zod.int(),
2928
3419
  "totalRows": zod.int(),
2929
3420
  "totalPages": zod.int(),
2930
- "metricTotals": zod.array(zod.number()).nullish(),
3421
+ "metricTotals": zod.array(zod.number().nullable()).nullish(),
2931
3422
  "fromRow": zod.int(),
2932
3423
  "toRow": zod.int(),
2933
3424
  "reportsExist": zod.boolean()
@@ -3425,14 +3916,93 @@ zod.object({
3425
3916
  "token": zod.string(),
3426
3917
  "expires": zod.iso.datetime({ "offset": true })
3427
3918
  });
3919
+ var getConfigurationResponseOneSettingsOneDatabaseConnectionStringNameDefault = `umbracoDbDSN`;
3920
+ var getConfigurationResponseOneSettingsOneEnabledDefault = true;
3921
+ var getConfigurationResponseOneSettingsOneSuspiciousActivityOnePageviewThresholdDefault = 250;
3922
+ var getConfigurationResponseOneAnalyticsOneVisitorCookieOneExpirationInDaysDefault = 365;
3923
+ var getConfigurationResponseOneAnalyticsOneVisitorCookieOneCookieNameDefault = `umbracoEngageAnalyticsVisitorId`;
3924
+ var getConfigurationResponseOneAnalyticsOneVisitorCookieOneLegacyCookieNameDefault = `uMarketingSuiteAnalyticsVisitorId`;
3925
+ var getConfigurationResponseOneAnalyticsOneDataCollectionOneAnonymizeIPAddressDefault = true;
3926
+ var getConfigurationResponseOneAnalyticsOneDataCollectionOneFlushRateInRecordsDefault = 100;
3927
+ var getConfigurationResponseOneAnalyticsOneDataCollectionOneFlushIntervalInSecondsDefault = 30;
3928
+ var getConfigurationResponseOneAnalyticsOneDataCollectionOneRegexTimeoutInMillisecondsDefault = 100;
3929
+ var getConfigurationResponseOneAnalyticsOneDataCollectionOneInternalSiteSearchOneAutomaticSearchTrackingDefault = true;
3930
+ var getConfigurationResponseOneAnalyticsOneDataCollectionOneInternalSiteSearchOneSearchTermParametersDefault = `q`;
3931
+ var getConfigurationResponseOneAnalyticsOneDataStorageOneAnonymizeAnalyticsDataAfterDaysDefault = 730;
3932
+ var getConfigurationResponseOneAnalyticsOneDataStorageOneDeleteAnalyticsDataAfterDaysDefault = 1095;
3933
+ var getConfigurationResponseOneAnalyticsOneDataStorageOneDeleteControlGroupDataAfterDaysDefault = 180;
3934
+ var getConfigurationResponseOneAnalyticsOneDataStorageOneDeleteRawDataAfterDaysDefault = 2;
3935
+ var getConfigurationResponseOneAnalyticsOneDataProcessingOneIntervalInSecondsDefault = 30;
3936
+ var getConfigurationResponseOneAnalyticsOneDataProcessingOneSessionLengthInMinutesDefault = 30;
3937
+ var getConfigurationResponseOneAnalyticsOneDataProcessingOneIsProcessingServerDefault = true;
3938
+ var getConfigurationResponseOneAnalyticsOneDataProcessingOneProfileBuildCommandTimeoutDefault = 5;
3939
+ var getConfigurationResponseOneAnalyticsOneDataCleanupOneEnabledDefault = true;
3940
+ var getConfigurationResponseOneAnalyticsOneDataCleanupOneStartupDelayDefault = `00:05:00`;
3941
+ var getConfigurationResponseOneAnalyticsOneDataCleanupOneIntervalDefault = `1.00:00:00`;
3942
+ var getConfigurationResponseOneAnalyticsOneDataCleanupOneCommandTimeoutDefault = 1200;
3943
+ var getConfigurationResponseOneAnalyticsOneDataCleanupOneStartAfterSecondsDefault = 300;
3944
+ var getConfigurationResponseOneAnalyticsOneDataCleanupOneIntervalInSecondsDefault = 86400;
3945
+ var getConfigurationResponseOneAnalyticsOneDataCleanupOneNumberOfRowsDefault = 1e3;
3946
+ var getConfigurationResponseOneAnalyticsTwoVisitorCookieOneExpirationInDaysDefault = 365;
3947
+ var getConfigurationResponseOneAnalyticsTwoVisitorCookieOneCookieNameDefault = `umbracoEngageAnalyticsVisitorId`;
3948
+ var getConfigurationResponseOneAnalyticsTwoVisitorCookieOneLegacyCookieNameDefault = `uMarketingSuiteAnalyticsVisitorId`;
3949
+ var getConfigurationResponseOneAnalyticsTwoDataCollectionOneAnonymizeIPAddressDefault = true;
3950
+ var getConfigurationResponseOneAnalyticsTwoDataCollectionOneFlushRateInRecordsDefault = 100;
3951
+ var getConfigurationResponseOneAnalyticsTwoDataCollectionOneFlushIntervalInSecondsDefault = 30;
3952
+ var getConfigurationResponseOneAnalyticsTwoDataCollectionOneRegexTimeoutInMillisecondsDefault = 100;
3953
+ var getConfigurationResponseOneAnalyticsTwoDataCollectionOneInternalSiteSearchOneAutomaticSearchTrackingDefault = true;
3954
+ var getConfigurationResponseOneAnalyticsTwoDataCollectionOneInternalSiteSearchOneSearchTermParametersDefault = `q`;
3955
+ var getConfigurationResponseOneAnalyticsTwoDataCollectionTwoInternalSiteSearchOneAutomaticSearchTrackingDefault = true;
3956
+ var getConfigurationResponseOneAnalyticsTwoDataCollectionTwoInternalSiteSearchOneSearchTermParametersDefault = `q`;
3957
+ var getConfigurationResponseOneAnalyticsTwoDataStorageOneAnonymizeAnalyticsDataAfterDaysDefault = 730;
3958
+ var getConfigurationResponseOneAnalyticsTwoDataStorageOneDeleteAnalyticsDataAfterDaysDefault = 1095;
3959
+ var getConfigurationResponseOneAnalyticsTwoDataStorageOneDeleteControlGroupDataAfterDaysDefault = 180;
3960
+ var getConfigurationResponseOneAnalyticsTwoDataStorageOneDeleteRawDataAfterDaysDefault = 2;
3961
+ var getConfigurationResponseOneAnalyticsTwoDataProcessingOneIntervalInSecondsDefault = 30;
3962
+ var getConfigurationResponseOneAnalyticsTwoDataProcessingOneSessionLengthInMinutesDefault = 30;
3963
+ var getConfigurationResponseOneAnalyticsTwoDataProcessingOneIsProcessingServerDefault = true;
3964
+ var getConfigurationResponseOneAnalyticsTwoDataProcessingOneProfileBuildCommandTimeoutDefault = 5;
3965
+ var getConfigurationResponseOneAnalyticsTwoDataCleanupOneEnabledDefault = true;
3966
+ var getConfigurationResponseOneAnalyticsTwoDataCleanupOneStartupDelayDefault = `00:05:00`;
3967
+ var getConfigurationResponseOneAnalyticsTwoDataCleanupOneIntervalDefault = `1.00:00:00`;
3968
+ var getConfigurationResponseOneAnalyticsTwoDataCleanupOneCommandTimeoutDefault = 1200;
3969
+ var getConfigurationResponseOneAnalyticsTwoDataCleanupOneStartAfterSecondsDefault = 300;
3970
+ var getConfigurationResponseOneAnalyticsTwoDataCleanupOneIntervalInSecondsDefault = 86400;
3971
+ var getConfigurationResponseOneAnalyticsTwoDataCleanupOneNumberOfRowsDefault = 1e3;
3972
+ var getConfigurationResponseOneAbTestingOneRequiredVisitorPercentageBeforeShowingAdviceDefault = 10;
3973
+ var getConfigurationResponseOneAbTestingOneMinimumPercentageMacroGoalWarningDefault = 10;
3974
+ var getConfigurationResponseOneProfilesOnePotentialOneActiveThresholdInDaysDefault = 30;
3975
+ var getConfigurationResponseOneProfilesOnePotentialOneEngagedThresholdInSecondsDefault = 300;
3976
+ var getConfigurationResponseOneProfilesOnePotentialOneEngagedThresholdNumberOfSessionsDefault = 3;
3977
+ var getConfigurationResponseOneProfilesOneIdentificationOneNameDefault = `{{name}}`;
3978
+ var getConfigurationResponseOneProfilesOneIdentificationOneAbbreviationDefault = `{{name[0]}}`;
3979
+ var getConfigurationResponseOneProfilesTwoPotentialOneActiveThresholdInDaysDefault = 30;
3980
+ var getConfigurationResponseOneProfilesTwoPotentialOneEngagedThresholdInSecondsDefault = 300;
3981
+ var getConfigurationResponseOneProfilesTwoPotentialOneEngagedThresholdNumberOfSessionsDefault = 3;
3982
+ var getConfigurationResponseOneProfilesTwoIdentificationOneNameDefault = `{{name}}`;
3983
+ var getConfigurationResponseOneProfilesTwoIdentificationOneAbbreviationDefault = `{{name[0]}}`;
3984
+ var getConfigurationResponseOneReportingOneDataGenerationEnabledDefault = true;
3985
+ var getConfigurationResponseOneReportingOneQueryCommandTimeoutDefault = 120;
3986
+ var getConfigurationResponseOneDeliveryApiOneSegmentationOneContentByQueryDefault = true;
3987
+ var getConfigurationResponseOneDeliveryApiOneSegmentationOneContentByIdDefault = true;
3988
+ var getConfigurationResponseOneDeliveryApiOneSegmentationOneContentByIdsDefault = true;
3989
+ var getConfigurationResponseOneDeliveryApiOneSegmentationOneContentByPathDefault = true;
3990
+ var getConfigurationResponseOneCockpitOneEnableInjectionDefault = true;
3991
+ var getConfigurationResponseOneCockpitOneAuthenticationOneTokenLifetimeSecondsDefault = 60;
3992
+ var getConfigurationResponseOneCockpitOneAuthenticationOneSessionLifetimeMinutesDefault = 30;
3993
+ var getConfigurationResponseOneCockpitOneAuthenticationOneRequireHttpsDefault = true;
3994
+ var getConfigurationResponseOneCockpitOneAuthenticationOneCleanupIntervalMinutesDefault = 60;
3995
+ var getConfigurationResponseOneCockpitOneAuthenticationOneTokenRetentionBufferMinutesDefault = 5;
3996
+ var getConfigurationResponseOneCockpitOneAuthenticationOneSessionRetentionBufferMinutesDefault = 1440;
3997
+ var getConfigurationResponseOneCockpitOneAuthenticationOneSessionCookieSameSiteDefault = `Lax`;
3428
3998
  var getConfigurationResponse = zod.object({
3429
3999
  "settings": zod.union([zod.object({
3430
- "DatabaseConnectionStringName": zod.string(),
3431
- "Enabled": zod.boolean(),
3432
- "UseLegacySegmentNames": zod.boolean(),
4000
+ "DatabaseConnectionStringName": zod.string().default(getConfigurationResponseOneSettingsOneDatabaseConnectionStringNameDefault).describe("The name of the connection string in the application configuration file used for database connection."),
4001
+ "Enabled": zod.boolean().default(getConfigurationResponseOneSettingsOneEnabledDefault).describe("Indicates whether Umbraco Engage is enabled or not."),
4002
+ "UseLegacySegmentNames": zod.boolean().optional().describe("Enforces the use of prefixing segments with 'umarketingsuite' instead of 'engage' for backwards compatibility."),
3433
4003
  "SuspiciousActivity": zod.object({
3434
- "PageviewThreshold": zod.int()
3435
- })
4004
+ "PageviewThreshold": zod.int().default(getConfigurationResponseOneSettingsOneSuspiciousActivityOnePageviewThresholdDefault).describe("The number of pageviews from a single visitor above which the activity is treated as suspicious.")
4005
+ }).describe("Settings for detecting suspicious visitor activity.")
3436
4006
  }), zod.object({
3437
4007
  "databaseConnectionStringName": zod.string(),
3438
4008
  "enabled": zod.boolean(),
@@ -3443,51 +4013,52 @@ var getConfigurationResponse = zod.object({
3443
4013
  })]),
3444
4014
  "analytics": zod.union([zod.object({
3445
4015
  "VisitorCookie": zod.object({
3446
- "ExpirationInDays": zod.int(),
3447
- "CookieName": zod.string(),
3448
- "LegacyCookieName": zod.string(),
3449
- "IncludeSubdomains": zod.boolean()
3450
- }),
4016
+ "ExpirationInDays": zod.int().default(getConfigurationResponseOneAnalyticsOneVisitorCookieOneExpirationInDaysDefault).describe("The number of days before the visitor tracking cookie expires."),
4017
+ "CookieName": zod.string().default(getConfigurationResponseOneAnalyticsOneVisitorCookieOneCookieNameDefault).describe("The name of the visitor tracking cookie."),
4018
+ "LegacyCookieName": zod.string().default(getConfigurationResponseOneAnalyticsOneVisitorCookieOneLegacyCookieNameDefault).describe("The name of the legacy uMarketingSuite visitor tracking cookie."),
4019
+ "IncludeSubdomains": zod.boolean().optional().describe("Indicates whether the visitor cookie should include subdomains.")
4020
+ }).describe("Configuration for the visitor tracking cookie."),
3451
4021
  "DataCollection": zod.object({
3452
- "AnonymizeIPAddress": zod.boolean(),
3453
- "RequireAnalyticsPermissionForMemberTracking": zod.boolean(),
3454
- "FlushRateInRecords": zod.int(),
3455
- "FlushIntervalInSeconds": zod.int(),
3456
- "RegexTimeoutInMilliseconds": zod.int(),
4022
+ "AnonymizeIPAddress": zod.boolean().default(getConfigurationResponseOneAnalyticsOneDataCollectionOneAnonymizeIPAddressDefault).describe("Indicates whether IP addresses should be anonymized in collected data."),
4023
+ "RequireAnalyticsPermissionForMemberTracking": zod.boolean().optional().describe("When enabled, an Umbraco member key is attached to a pageview only for requests where IModulePermissions.AnalyticsIsAllowed returns true."),
4024
+ "FlushRateInRecords": zod.int().default(getConfigurationResponseOneAnalyticsOneDataCollectionOneFlushRateInRecordsDefault).describe("The number of records triggering a data flush to the storage."),
4025
+ "FlushIntervalInSeconds": zod.int().default(getConfigurationResponseOneAnalyticsOneDataCollectionOneFlushIntervalInSecondsDefault).describe("The time interval (in seconds) for periodic data flushing."),
4026
+ "RegexTimeoutInMilliseconds": zod.int().default(getConfigurationResponseOneAnalyticsOneDataCollectionOneRegexTimeoutInMillisecondsDefault).describe("The timeout (in milliseconds) for regular expressions evaluated during data collection."),
3457
4027
  "InternalSiteSearch": zod.object({
3458
- "AutomaticSearchTracking": zod.boolean(),
3459
- "SearchTermParameters": zod.string(),
3460
- "SearchBoxParameters": zod.string().nullish(),
3461
- "CategoryParameters": zod.string().nullish()
3462
- })
3463
- }),
4028
+ "AutomaticSearchTracking": zod.boolean().default(getConfigurationResponseOneAnalyticsOneDataCollectionOneInternalSiteSearchOneAutomaticSearchTrackingDefault).describe("Enables or disables automatic tracking of internal site searches."),
4029
+ "SearchTermParameters": zod.string().default(getConfigurationResponseOneAnalyticsOneDataCollectionOneInternalSiteSearchOneSearchTermParametersDefault).describe("The parameter name for search terms in URL queries."),
4030
+ "SearchBoxParameters": zod.string().nullish().describe("Comma-separated list of parameters representing search boxes."),
4031
+ "CategoryParameters": zod.string().nullish().describe("Comma-separated list of parameters representing search categories.")
4032
+ }).describe("Configuration for internal site search tracking.")
4033
+ }).describe("Settings for data collection and tracking."),
3464
4034
  "DataStorage": zod.object({
3465
- "AnonymizeAnalyticsDataAfterDays": zod.int(),
3466
- "DeleteAnalyticsDataAfterDays": zod.int(),
3467
- "deleteControlGroupDataAfterDays": zod.int(),
3468
- "DeleteRawDataAfterDays": zod.int()
3469
- }),
4035
+ "AnonymizeAnalyticsDataAfterDays": zod.int().default(getConfigurationResponseOneAnalyticsOneDataStorageOneAnonymizeAnalyticsDataAfterDaysDefault).describe("The number of days before data is anonymized in the processing."),
4036
+ "DeleteAnalyticsDataAfterDays": zod.int().default(getConfigurationResponseOneAnalyticsOneDataStorageOneDeleteAnalyticsDataAfterDaysDefault).describe("The number of days before processed data is deleted."),
4037
+ "deleteControlGroupDataAfterDays": zod.int().default(getConfigurationResponseOneAnalyticsOneDataStorageOneDeleteControlGroupDataAfterDaysDefault).describe("The number of days before control group data is deleted."),
4038
+ "DeleteRawDataAfterDays": zod.int().default(getConfigurationResponseOneAnalyticsOneDataStorageOneDeleteRawDataAfterDaysDefault).describe("The number of days to retain raw data before deletion.")
4039
+ }).describe("Settings for data storage and retention."),
3470
4040
  "DataProcessing": zod.object({
3471
- "IntervalInSeconds": zod.int(),
3472
- "SessionLengthInMinutes": zod.int(),
3473
- "IsProcessingServer": zod.boolean()
3474
- }),
4041
+ "IntervalInSeconds": zod.int().default(getConfigurationResponseOneAnalyticsOneDataProcessingOneIntervalInSecondsDefault).describe("The time interval (in seconds) for periodic data processing."),
4042
+ "SessionLengthInMinutes": zod.int().default(getConfigurationResponseOneAnalyticsOneDataProcessingOneSessionLengthInMinutesDefault).describe("The session length threshold (in minutes) for data processing."),
4043
+ "IsProcessingServer": zod.boolean().default(getConfigurationResponseOneAnalyticsOneDataProcessingOneIsProcessingServerDefault).describe("Indicates whether data processing is handled on the server."),
4044
+ "ProfileBuildCommandTimeout": zod.int().default(getConfigurationResponseOneAnalyticsOneDataProcessingOneProfileBuildCommandTimeoutDefault).describe("The timeout (in seconds) for profile build commands. Values below 5 are raised to 5.")
4045
+ }).describe("Settings for data processing intervals and cleanup."),
3475
4046
  "DataCleanup": zod.object({
3476
- "Enabled": zod.boolean(),
3477
- "FirstRunTime": zod.string(),
3478
- "StartupDelay": zod.string(),
3479
- "Interval": zod.string(),
3480
- "CommandTimeout": zod.int(),
3481
- "StartAfterSeconds": zod.int(),
3482
- "IntervalInSeconds": zod.int(),
3483
- "NumberOfRows": zod.int()
3484
- })
4047
+ "Enabled": zod.boolean().default(getConfigurationResponseOneAnalyticsOneDataCleanupOneEnabledDefault).describe("Whether the periodic data cleanup process is enabled."),
4048
+ "FirstRunTime": zod.string().describe("A crontab expression that specifies when the first data cleanup should run. When configured, this takes precedence over the StartupDelay setting."),
4049
+ "StartupDelay": zod.string().default(getConfigurationResponseOneAnalyticsOneDataCleanupOneStartupDelayDefault).describe("The delay before starting the first cleanup run after application startup."),
4050
+ "Interval": zod.string().default(getConfigurationResponseOneAnalyticsOneDataCleanupOneIntervalDefault).describe("The time interval between periodic cleanup runs."),
4051
+ "CommandTimeout": zod.int().default(getConfigurationResponseOneAnalyticsOneDataCleanupOneCommandTimeoutDefault).describe("The timeout (in seconds) used for database commands in cleanup processes."),
4052
+ "StartAfterSeconds": zod.int().default(getConfigurationResponseOneAnalyticsOneDataCleanupOneStartAfterSecondsDefault).describe("The number of seconds to wait before starting the cleanup process."),
4053
+ "IntervalInSeconds": zod.int().default(getConfigurationResponseOneAnalyticsOneDataCleanupOneIntervalInSecondsDefault).describe("The time interval (in seconds) between cleanup processes."),
4054
+ "NumberOfRows": zod.int().default(getConfigurationResponseOneAnalyticsOneDataCleanupOneNumberOfRowsDefault).describe("The number of rows processed in each cleanup iteration.")
4055
+ }).describe("Settings for data cleanup process.")
3485
4056
  }), zod.object({
3486
4057
  "visitorCookie": zod.union([zod.object({
3487
- "ExpirationInDays": zod.int(),
3488
- "CookieName": zod.string(),
3489
- "LegacyCookieName": zod.string(),
3490
- "IncludeSubdomains": zod.boolean()
4058
+ "ExpirationInDays": zod.int().default(getConfigurationResponseOneAnalyticsTwoVisitorCookieOneExpirationInDaysDefault).describe("The number of days before the visitor tracking cookie expires."),
4059
+ "CookieName": zod.string().default(getConfigurationResponseOneAnalyticsTwoVisitorCookieOneCookieNameDefault).describe("The name of the visitor tracking cookie."),
4060
+ "LegacyCookieName": zod.string().default(getConfigurationResponseOneAnalyticsTwoVisitorCookieOneLegacyCookieNameDefault).describe("The name of the legacy uMarketingSuite visitor tracking cookie."),
4061
+ "IncludeSubdomains": zod.boolean().optional().describe("Indicates whether the visitor cookie should include subdomains.")
3491
4062
  }), zod.object({
3492
4063
  "expirationInDays": zod.int(),
3493
4064
  "cookieName": zod.string(),
@@ -3495,17 +4066,17 @@ var getConfigurationResponse = zod.object({
3495
4066
  "includeSubdomains": zod.boolean()
3496
4067
  })]),
3497
4068
  "dataCollection": zod.union([zod.object({
3498
- "AnonymizeIPAddress": zod.boolean(),
3499
- "RequireAnalyticsPermissionForMemberTracking": zod.boolean(),
3500
- "FlushRateInRecords": zod.int(),
3501
- "FlushIntervalInSeconds": zod.int(),
3502
- "RegexTimeoutInMilliseconds": zod.int(),
4069
+ "AnonymizeIPAddress": zod.boolean().default(getConfigurationResponseOneAnalyticsTwoDataCollectionOneAnonymizeIPAddressDefault).describe("Indicates whether IP addresses should be anonymized in collected data."),
4070
+ "RequireAnalyticsPermissionForMemberTracking": zod.boolean().optional().describe("When enabled, an Umbraco member key is attached to a pageview only for requests where IModulePermissions.AnalyticsIsAllowed returns true."),
4071
+ "FlushRateInRecords": zod.int().default(getConfigurationResponseOneAnalyticsTwoDataCollectionOneFlushRateInRecordsDefault).describe("The number of records triggering a data flush to the storage."),
4072
+ "FlushIntervalInSeconds": zod.int().default(getConfigurationResponseOneAnalyticsTwoDataCollectionOneFlushIntervalInSecondsDefault).describe("The time interval (in seconds) for periodic data flushing."),
4073
+ "RegexTimeoutInMilliseconds": zod.int().default(getConfigurationResponseOneAnalyticsTwoDataCollectionOneRegexTimeoutInMillisecondsDefault).describe("The timeout (in milliseconds) for regular expressions evaluated during data collection."),
3503
4074
  "InternalSiteSearch": zod.object({
3504
- "AutomaticSearchTracking": zod.boolean(),
3505
- "SearchTermParameters": zod.string(),
3506
- "SearchBoxParameters": zod.string().nullish(),
3507
- "CategoryParameters": zod.string().nullish()
3508
- })
4075
+ "AutomaticSearchTracking": zod.boolean().default(getConfigurationResponseOneAnalyticsTwoDataCollectionOneInternalSiteSearchOneAutomaticSearchTrackingDefault).describe("Enables or disables automatic tracking of internal site searches."),
4076
+ "SearchTermParameters": zod.string().default(getConfigurationResponseOneAnalyticsTwoDataCollectionOneInternalSiteSearchOneSearchTermParametersDefault).describe("The parameter name for search terms in URL queries."),
4077
+ "SearchBoxParameters": zod.string().nullish().describe("Comma-separated list of parameters representing search boxes."),
4078
+ "CategoryParameters": zod.string().nullish().describe("Comma-separated list of parameters representing search categories.")
4079
+ }).describe("Configuration for internal site search tracking.")
3509
4080
  }), zod.object({
3510
4081
  "anonymizeIPAddress": zod.boolean(),
3511
4082
  "requireAnalyticsPermissionForMemberTracking": zod.boolean(),
@@ -3513,10 +4084,10 @@ var getConfigurationResponse = zod.object({
3513
4084
  "flushIntervalInSeconds": zod.int(),
3514
4085
  "regexTimeoutInMilliseconds": zod.int(),
3515
4086
  "internalSiteSearch": zod.union([zod.object({
3516
- "AutomaticSearchTracking": zod.boolean(),
3517
- "SearchTermParameters": zod.string(),
3518
- "SearchBoxParameters": zod.string().nullish(),
3519
- "CategoryParameters": zod.string().nullish()
4087
+ "AutomaticSearchTracking": zod.boolean().default(getConfigurationResponseOneAnalyticsTwoDataCollectionTwoInternalSiteSearchOneAutomaticSearchTrackingDefault).describe("Enables or disables automatic tracking of internal site searches."),
4088
+ "SearchTermParameters": zod.string().default(getConfigurationResponseOneAnalyticsTwoDataCollectionTwoInternalSiteSearchOneSearchTermParametersDefault).describe("The parameter name for search terms in URL queries."),
4089
+ "SearchBoxParameters": zod.string().nullish().describe("Comma-separated list of parameters representing search boxes."),
4090
+ "CategoryParameters": zod.string().nullish().describe("Comma-separated list of parameters representing search categories.")
3520
4091
  }), zod.object({
3521
4092
  "automaticSearchTracking": zod.boolean(),
3522
4093
  "searchTermParameters": zod.array(zod.string()),
@@ -3525,10 +4096,10 @@ var getConfigurationResponse = zod.object({
3525
4096
  })])
3526
4097
  })]),
3527
4098
  "dataStorage": zod.union([zod.object({
3528
- "AnonymizeAnalyticsDataAfterDays": zod.int(),
3529
- "DeleteAnalyticsDataAfterDays": zod.int(),
3530
- "deleteControlGroupDataAfterDays": zod.int(),
3531
- "DeleteRawDataAfterDays": zod.int()
4099
+ "AnonymizeAnalyticsDataAfterDays": zod.int().default(getConfigurationResponseOneAnalyticsTwoDataStorageOneAnonymizeAnalyticsDataAfterDaysDefault).describe("The number of days before data is anonymized in the processing."),
4100
+ "DeleteAnalyticsDataAfterDays": zod.int().default(getConfigurationResponseOneAnalyticsTwoDataStorageOneDeleteAnalyticsDataAfterDaysDefault).describe("The number of days before processed data is deleted."),
4101
+ "deleteControlGroupDataAfterDays": zod.int().default(getConfigurationResponseOneAnalyticsTwoDataStorageOneDeleteControlGroupDataAfterDaysDefault).describe("The number of days before control group data is deleted."),
4102
+ "DeleteRawDataAfterDays": zod.int().default(getConfigurationResponseOneAnalyticsTwoDataStorageOneDeleteRawDataAfterDaysDefault).describe("The number of days to retain raw data before deletion.")
3532
4103
  }), zod.object({
3533
4104
  "anonymizeAnalyticsDataAfterDays": zod.int(),
3534
4105
  "deleteAnalyticsDataAfterDays": zod.int(),
@@ -3536,23 +4107,25 @@ var getConfigurationResponse = zod.object({
3536
4107
  "deleteRawDataAfterDays": zod.int()
3537
4108
  })]),
3538
4109
  "dataProcessing": zod.union([zod.object({
3539
- "IntervalInSeconds": zod.int(),
3540
- "SessionLengthInMinutes": zod.int(),
3541
- "IsProcessingServer": zod.boolean()
4110
+ "IntervalInSeconds": zod.int().default(getConfigurationResponseOneAnalyticsTwoDataProcessingOneIntervalInSecondsDefault).describe("The time interval (in seconds) for periodic data processing."),
4111
+ "SessionLengthInMinutes": zod.int().default(getConfigurationResponseOneAnalyticsTwoDataProcessingOneSessionLengthInMinutesDefault).describe("The session length threshold (in minutes) for data processing."),
4112
+ "IsProcessingServer": zod.boolean().default(getConfigurationResponseOneAnalyticsTwoDataProcessingOneIsProcessingServerDefault).describe("Indicates whether data processing is handled on the server."),
4113
+ "ProfileBuildCommandTimeout": zod.int().default(getConfigurationResponseOneAnalyticsTwoDataProcessingOneProfileBuildCommandTimeoutDefault).describe("The timeout (in seconds) for profile build commands. Values below 5 are raised to 5.")
3542
4114
  }), zod.object({
3543
4115
  "intervalInSeconds": zod.int(),
3544
4116
  "sessionLengthInMinutes": zod.int(),
3545
- "isProcessingServer": zod.boolean()
4117
+ "isProcessingServer": zod.boolean(),
4118
+ "profileBuildCommandTimeout": zod.int()
3546
4119
  })]),
3547
4120
  "dataCleanup": zod.union([zod.object({
3548
- "Enabled": zod.boolean(),
3549
- "FirstRunTime": zod.string(),
3550
- "StartupDelay": zod.string(),
3551
- "Interval": zod.string(),
3552
- "CommandTimeout": zod.int(),
3553
- "StartAfterSeconds": zod.int(),
3554
- "IntervalInSeconds": zod.int(),
3555
- "NumberOfRows": zod.int()
4121
+ "Enabled": zod.boolean().default(getConfigurationResponseOneAnalyticsTwoDataCleanupOneEnabledDefault).describe("Whether the periodic data cleanup process is enabled."),
4122
+ "FirstRunTime": zod.string().describe("A crontab expression that specifies when the first data cleanup should run. When configured, this takes precedence over the StartupDelay setting."),
4123
+ "StartupDelay": zod.string().default(getConfigurationResponseOneAnalyticsTwoDataCleanupOneStartupDelayDefault).describe("The delay before starting the first cleanup run after application startup."),
4124
+ "Interval": zod.string().default(getConfigurationResponseOneAnalyticsTwoDataCleanupOneIntervalDefault).describe("The time interval between periodic cleanup runs."),
4125
+ "CommandTimeout": zod.int().default(getConfigurationResponseOneAnalyticsTwoDataCleanupOneCommandTimeoutDefault).describe("The timeout (in seconds) used for database commands in cleanup processes."),
4126
+ "StartAfterSeconds": zod.int().default(getConfigurationResponseOneAnalyticsTwoDataCleanupOneStartAfterSecondsDefault).describe("The number of seconds to wait before starting the cleanup process."),
4127
+ "IntervalInSeconds": zod.int().default(getConfigurationResponseOneAnalyticsTwoDataCleanupOneIntervalInSecondsDefault).describe("The time interval (in seconds) between cleanup processes."),
4128
+ "NumberOfRows": zod.int().default(getConfigurationResponseOneAnalyticsTwoDataCleanupOneNumberOfRowsDefault).describe("The number of rows processed in each cleanup iteration.")
3556
4129
  }), zod.object({
3557
4130
  "enabled": zod.boolean(),
3558
4131
  "firstRunTime": zod.string(),
@@ -3565,44 +4138,45 @@ var getConfigurationResponse = zod.object({
3565
4138
  })])
3566
4139
  })]),
3567
4140
  "abTesting": zod.union([zod.object({
3568
- "RequiredVisitorPercentageBeforeShowingAdvice": zod.int(),
3569
- "MinimumPercentageMacroGoalWarning": zod.int()
4141
+ "RequiredVisitorPercentageBeforeShowingAdvice": zod.int().default(getConfigurationResponseOneAbTestingOneRequiredVisitorPercentageBeforeShowingAdviceDefault).describe("The minimum percentage for advice with predicted runtime in A/B testing."),
4142
+ "MinimumPercentageMacroGoalWarning": zod.int().default(getConfigurationResponseOneAbTestingOneMinimumPercentageMacroGoalWarningDefault).describe("The minimum percentage for macro goal warning in A/B testing.")
3570
4143
  }), zod.object({
3571
4144
  "requiredVisitorPercentageBeforeShowingAdvice": zod.int(),
3572
4145
  "minimumPercentageMacroGoalWarning": zod.int()
3573
4146
  })]),
3574
4147
  "profiles": zod.union([zod.object({
3575
4148
  "Potential": zod.object({
3576
- "ActiveThresholdInDays": zod.int(),
3577
- "EngagedThresholdInSeconds": zod.int(),
3578
- "EngagedThresholdNumberOfSessions": zod.int()
3579
- }),
4149
+ "ActiveThresholdInDays": zod.int().default(getConfigurationResponseOneProfilesOnePotentialOneActiveThresholdInDaysDefault).describe("The threshold (in days) for considering a user as potentially active."),
4150
+ "EngagedThresholdInSeconds": zod.int().default(getConfigurationResponseOneProfilesOnePotentialOneEngagedThresholdInSecondsDefault).describe("The threshold (in seconds) for considering a user as engaged."),
4151
+ "EngagedThresholdNumberOfSessions": zod.int().default(getConfigurationResponseOneProfilesOnePotentialOneEngagedThresholdNumberOfSessionsDefault).describe("The threshold for the number of sessions to consider a user as engaged.")
4152
+ }).describe("Configuration for potential user profiles."),
3580
4153
  "Identification": zod.object({
3581
- "Name": zod.string(),
3582
- "Abbreviation": zod.string()
3583
- })
4154
+ "Name": zod.string().default(getConfigurationResponseOneProfilesOneIdentificationOneNameDefault).describe("The template for the user's name in identification."),
4155
+ "Abbreviation": zod.string().default(getConfigurationResponseOneProfilesOneIdentificationOneAbbreviationDefault).describe("The template for the user's abbreviation in identification.")
4156
+ }).describe("Configuration for user identification.")
3584
4157
  }), zod.object({
3585
4158
  "potential": zod.union([zod.object({
3586
- "ActiveThresholdInDays": zod.int(),
3587
- "EngagedThresholdInSeconds": zod.int(),
3588
- "EngagedThresholdNumberOfSessions": zod.int()
4159
+ "ActiveThresholdInDays": zod.int().default(getConfigurationResponseOneProfilesTwoPotentialOneActiveThresholdInDaysDefault).describe("The threshold (in days) for considering a user as potentially active."),
4160
+ "EngagedThresholdInSeconds": zod.int().default(getConfigurationResponseOneProfilesTwoPotentialOneEngagedThresholdInSecondsDefault).describe("The threshold (in seconds) for considering a user as engaged."),
4161
+ "EngagedThresholdNumberOfSessions": zod.int().default(getConfigurationResponseOneProfilesTwoPotentialOneEngagedThresholdNumberOfSessionsDefault).describe("The threshold for the number of sessions to consider a user as engaged.")
3589
4162
  }), zod.object({
3590
4163
  "activeThresholdInDays": zod.int(),
3591
4164
  "engagedThresholdInSeconds": zod.int(),
3592
4165
  "engagedThresholdNumberOfSessions": zod.int()
3593
4166
  })]),
3594
4167
  "identification": zod.union([zod.object({
3595
- "Name": zod.string(),
3596
- "Abbreviation": zod.string()
4168
+ "Name": zod.string().default(getConfigurationResponseOneProfilesTwoIdentificationOneNameDefault).describe("The template for the user's name in identification."),
4169
+ "Abbreviation": zod.string().default(getConfigurationResponseOneProfilesTwoIdentificationOneAbbreviationDefault).describe("The template for the user's abbreviation in identification.")
3597
4170
  }), zod.object({
3598
4171
  "name": zod.string(),
3599
4172
  "abbreviation": zod.string()
3600
4173
  })])
3601
4174
  })]),
3602
4175
  "reporting": zod.union([zod.object({
3603
- "dataGenerationEnabled": zod.boolean(),
3604
- "dataGenerationTime": zod.string(),
3605
- "timezone": zod.string().nullish(),
4176
+ "dataGenerationEnabled": zod.boolean().default(getConfigurationResponseOneReportingOneDataGenerationEnabledDefault).describe("Indicates whether data generation for reporting is enabled or not."),
4177
+ "dataGenerationTime": zod.string().optional().describe("The time of day, in the reporting time zone, when data generation for reporting should occur. When empty, a time between 01:00 and 05:00 is chosen once and kept."),
4178
+ "timezone": zod.string().nullish().describe("The time zone used for reporting. If not specified or not found, the local system time zone is used."),
4179
+ "queryCommandTimeout": zod.int().default(getConfigurationResponseOneReportingOneQueryCommandTimeoutDefault).describe("The timeout, in seconds, of each SQL command an analytics report query runs (per command, not per request). Values below 30 are raised to 30."),
3606
4180
  "reportingTimeZone": zod.object({
3607
4181
  "id": zod.string(),
3608
4182
  "hasIanaId": zod.boolean(),
@@ -3624,17 +4198,20 @@ var getConfigurationResponse = zod.object({
3624
4198
  "daylightName": zod.string(),
3625
4199
  "baseUtcOffset": zod.string(),
3626
4200
  "supportsDaylightSavingTime": zod.boolean()
3627
- })
4201
+ }),
4202
+ "queryCommandTimeout": zod.int(),
4203
+ "resolvedDataGenerationTime": zod.string().nullish(),
4204
+ "isDataGenerationTimeAutomatic": zod.boolean()
3628
4205
  })]),
3629
4206
  "deliveryApi": zod.union([zod.object({
3630
- "DisableVisitorCookie": zod.boolean(),
4207
+ "DisableVisitorCookie": zod.boolean().optional().describe("When set to true, the umbracoEngageAnalyticsVisitorId cookie will not be set or read on headless (Content Delivery API and Engage API) requests. Clients must use the External-Visitor-Id header instead."),
3631
4208
  "Segmentation": zod.object({
3632
- "ContentByQuery": zod.boolean(),
3633
- "ContentById": zod.boolean(),
3634
- "ContentByIds": zod.boolean(),
3635
- "ContentByPath": zod.boolean(),
4209
+ "ContentByQuery": zod.boolean().default(getConfigurationResponseOneDeliveryApiOneSegmentationOneContentByQueryDefault).describe("Enables or disables content segmentation by query in the Delivery API."),
4210
+ "ContentById": zod.boolean().default(getConfigurationResponseOneDeliveryApiOneSegmentationOneContentByIdDefault).describe("Enables or disables content segmentation by ID in the Delivery API."),
4211
+ "ContentByIds": zod.boolean().default(getConfigurationResponseOneDeliveryApiOneSegmentationOneContentByIdsDefault).describe("Enables or disables content segmentation by multiple IDs in the Delivery API."),
4212
+ "ContentByPath": zod.boolean().default(getConfigurationResponseOneDeliveryApiOneSegmentationOneContentByPathDefault).describe("Enables or disables content segmentation by path in the Delivery API."),
3636
4213
  "anySegmentationEnabled": zod.boolean()
3637
- })
4214
+ }).describe("Configuration for content segmentation in the Delivery API.")
3638
4215
  }), zod.object({
3639
4216
  "disableVisitorCookie": zod.boolean(),
3640
4217
  "segmentation": zod.object({
@@ -3652,16 +4229,16 @@ var getConfigurationResponse = zod.object({
3652
4229
  "customerJourneyIconPicker": zod.guid()
3653
4230
  }),
3654
4231
  "cockpit": zod.union([zod.object({
3655
- "enableInjection": zod.boolean(),
4232
+ "enableInjection": zod.boolean().default(getConfigurationResponseOneCockpitOneEnableInjectionDefault).describe("Indicates whether automatic Cockpit injection is enabled or not."),
3656
4233
  "authentication": zod.object({
3657
- "tokenLifetimeSeconds": zod.int(),
3658
- "sessionLifetimeMinutes": zod.int(),
3659
- "requireHttps": zod.boolean(),
3660
- "cleanupIntervalMinutes": zod.int(),
3661
- "tokenRetentionBufferMinutes": zod.int(),
3662
- "sessionRetentionBufferMinutes": zod.int(),
3663
- "sessionCookieSameSite": zod.string()
3664
- })
4234
+ "tokenLifetimeSeconds": zod.int().default(getConfigurationResponseOneCockpitOneAuthenticationOneTokenLifetimeSecondsDefault).describe("How long authentication tokens are valid in seconds. Tokens are single-use and should be consumed quickly."),
4235
+ "sessionLifetimeMinutes": zod.int().default(getConfigurationResponseOneCockpitOneAuthenticationOneSessionLifetimeMinutesDefault).describe("How long cockpit sessions remain valid in minutes before requiring re-authentication."),
4236
+ "requireHttps": zod.boolean().default(getConfigurationResponseOneCockpitOneAuthenticationOneRequireHttpsDefault).describe("Whether HTTPS is required for cockpit authentication. Should be enabled in production environments."),
4237
+ "cleanupIntervalMinutes": zod.int().default(getConfigurationResponseOneCockpitOneAuthenticationOneCleanupIntervalMinutesDefault).describe("How often expired tokens and sessions are cleaned up from the database."),
4238
+ "tokenRetentionBufferMinutes": zod.int().default(getConfigurationResponseOneCockpitOneAuthenticationOneTokenRetentionBufferMinutesDefault).describe("Retention period in minutes after token expiry before deletion. Provides safety margin."),
4239
+ "sessionRetentionBufferMinutes": zod.int().default(getConfigurationResponseOneCockpitOneAuthenticationOneSessionRetentionBufferMinutesDefault).describe("Retention period in minutes after session expiry/revocation before deletion. Preserves audit trail."),
4240
+ "sessionCookieSameSite": zod.string().default(getConfigurationResponseOneCockpitOneAuthenticationOneSessionCookieSameSiteDefault).describe("SameSite mode for the session cookie. Valid values: None, Lax, Strict. Invalid values fall back to Lax.")
4241
+ }).describe("Configuration for cockpit authentication in CM/CD environments.")
3665
4242
  }), zod.object({
3666
4243
  "enableInjection": zod.boolean(),
3667
4244
  "authentication": zod.object({
@@ -3675,7 +4252,7 @@ var getConfigurationResponse = zod.object({
3675
4252
  })
3676
4253
  })]),
3677
4254
  "segmentation": zod.union([zod.object({
3678
- "excludedPropertyAliases": zod.array(zod.string())
4255
+ "excludedPropertyAliases": zod.array(zod.string()).describe("A list of property aliases to exclude from segmentation. umbracoNaviHide, umbracoRedirectUrl and umbracoUrlAlias are excluded by default so no need to add them here.")
3679
4256
  }), zod.object({
3680
4257
  "excludedPropertyAliases": zod.array(zod.string())
3681
4258
  })])
@@ -4215,6 +4792,7 @@ var getGoalsTreeRootResponseItem = zod.object({
4215
4792
  "description": zod.string().nullish()
4216
4793
  });
4217
4794
  zod.array(getGoalsTreeRootResponseItem);
4795
+ zod.unknown();
4218
4796
  var postHeatmapsGenerateScrollHeatmapBody = zod.object({
4219
4797
  "from": zod.iso.datetime({ "offset": true }).nullish(),
4220
4798
  "to": zod.iso.datetime({ "offset": true }).nullish(),
@@ -4234,6 +4812,7 @@ var postHeatmapsGenerateScrollHeatmapResponse = zod.object({
4234
4812
  "seenByVisitorPercentage": zod.number()
4235
4813
  }))
4236
4814
  });
4815
+ zod.unknown();
4237
4816
  var getHeatmapsVariantsQueryParams = zod.object({
4238
4817
  "unique": zod.guid().optional(),
4239
4818
  "culture": zod.string().optional()
@@ -4475,8 +5054,6 @@ var postPersonaUnlockBody = zod.object({
4475
5054
  "visitorId": zod.int()
4476
5055
  });
4477
5056
  zod.unknown();
4478
- zod.unknown();
4479
- zod.unknown();
4480
5057
  var getProfileBotVisitorsResponse = zod.record(zod.string(), zod.string());
4481
5058
  var getProfileCustomerJourneyStepScoresQueryParams = zod.object({
4482
5059
  "visitorId": zod.int().optional()
@@ -5206,42 +5783,8 @@ var getTrafficFilterEmptyResponse = zod.object({
5206
5783
  zod.object({
5207
5784
  "userGroupKey": zod.guid().optional()
5208
5785
  });
5209
- var getPermissionsUserGroupResponse = zod.object({
5210
- "id": zod.int(),
5211
- "unique": zod.guid(),
5212
- "userGroupKey": zod.guid(),
5213
- "userGroupName": zod.string().nullish(),
5214
- "userGroupAlias": zod.string().nullish(),
5215
- "userGroupIconUrl": zod.string().nullish(),
5216
- "accessToAnalytics": zod.boolean(),
5217
- "accessToAbTesting": zod.boolean(),
5218
- "accessToPersonalization": zod.boolean(),
5219
- "accessToSettings": zod.boolean(),
5220
- "accessToProfiles": zod.boolean(),
5221
- "accessToReporting": zod.boolean(),
5222
- "updated": zod.iso.datetime({ "offset": true }),
5223
- "updatedByUmbracoUserKey": zod.guid(),
5224
- "updatedByUmbracoUser": zod.string().nullish()
5225
- });
5226
- var postPermissionsUserGroupBody = zod.object({
5227
- "id": zod.int(),
5228
- "unique": zod.guid(),
5229
- "userGroupKey": zod.guid(),
5230
- "userGroupName": zod.string().nullish(),
5231
- "userGroupAlias": zod.string().nullish(),
5232
- "userGroupIconUrl": zod.string().nullish(),
5233
- "accessToAnalytics": zod.boolean(),
5234
- "accessToAbTesting": zod.boolean(),
5235
- "accessToPersonalization": zod.boolean(),
5236
- "accessToSettings": zod.boolean(),
5237
- "accessToProfiles": zod.boolean(),
5238
- "accessToReporting": zod.boolean(),
5239
- "updated": zod.iso.datetime({ "offset": true }),
5240
- "updatedByUmbracoUserKey": zod.guid(),
5241
- "updatedByUmbracoUser": zod.string().nullish()
5242
- });
5243
- zod.unknown();
5244
- var getPermissionsUserGroupAllResponseItem = zod.object({
5786
+ zod.void();
5787
+ zod.object({
5245
5788
  "id": zod.int(),
5246
5789
  "unique": zod.guid(),
5247
5790
  "userGroupKey": zod.guid(),
@@ -5258,7 +5801,8 @@ var getPermissionsUserGroupAllResponseItem = zod.object({
5258
5801
  "updatedByUmbracoUserKey": zod.guid(),
5259
5802
  "updatedByUmbracoUser": zod.string().nullish()
5260
5803
  });
5261
- var getPermissionsUserGroupAllResponse = zod.array(getPermissionsUserGroupAllResponseItem);
5804
+ zod.void();
5805
+ zod.void();
5262
5806
 
5263
5807
  // src/umbraco-api/tools/package/get/get-package.ts
5264
5808
  var inputSchema = z.object({});
@@ -5427,6 +5971,7 @@ var tool4 = {
5427
5971
  name: params.name,
5428
5972
  description: null,
5429
5973
  createdByUmbracoUserName: null,
5974
+ isArchived: false,
5430
5975
  testType: params.testType,
5431
5976
  startTime: null,
5432
5977
  endTime: null,
@@ -5579,6 +6124,7 @@ var tool8 = {
5579
6124
  name: null,
5580
6125
  description: null,
5581
6126
  createdByUmbracoUserName: null,
6127
+ isArchived: false,
5582
6128
  testType: params.testType,
5583
6129
  startTime: null,
5584
6130
  endTime: null,
@@ -5671,6 +6217,7 @@ var tool10 = {
5671
6217
  name: null,
5672
6218
  description: null,
5673
6219
  createdByUmbracoUserName: null,
6220
+ isArchived: false,
5674
6221
  testType: params.testType,
5675
6222
  startTime: null,
5676
6223
  endTime: null,
@@ -5834,6 +6381,79 @@ var tool13 = {
5834
6381
  }
5835
6382
  };
5836
6383
  var post_ab_test_stop_default = withStandardDecorators(tool13);
6384
+ var inputSchema14 = z.object({
6385
+ unique: z.uuid().describe("The real, existing A/B test's `unique` guid (from post-ab-test's response, or get-ab-test-all)."),
6386
+ archived: z.boolean().describe("true archives the test, false restores a previously archived test.")
6387
+ });
6388
+ var outputSchema14 = postAbTestArchiveResponse;
6389
+ var tool14 = {
6390
+ name: "post-ab-test-archive",
6391
+ description: "Archive or restore an existing A/B test (sets its `isArchived` flag). Requires Umbraco Engage 18.3.0 or later. Engage only archives tests whose status is Stopped or Completed. It reports a refusal (a Draft, Scheduled or Running test, or a `unique` that matches no test) in the returned validation result rather than as an HTTP error, so always check `isValid` and `errors`.",
6392
+ inputSchema: inputSchema14.shape,
6393
+ outputSchema: outputSchema14,
6394
+ slices: ["update"],
6395
+ annotations: { destructiveHint: false, idempotentHint: true },
6396
+ handler: async (params) => {
6397
+ return executeGetApiCall(
6398
+ (client) => client.postAbTestArchive(
6399
+ { unique: params.unique, archived: params.archived },
6400
+ CAPTURE_RAW_HTTP_RESPONSE
6401
+ )
6402
+ );
6403
+ }
6404
+ };
6405
+ var post_ab_test_archive_default = withStandardDecorators(tool14);
6406
+ var inputSchema15 = z.object({
6407
+ unique: z.uuid().describe("The real, existing A/B test's `unique` guid (from post-ab-test's response, or get-ab-test-all)."),
6408
+ status: z.enum(["Stopped", "Completed"]).describe(
6409
+ "The status to end the test with: `Stopped` (halted, no winner chosen) or `Completed` (finished, usually with a `winnerKey`)."
6410
+ ),
6411
+ winnerKey: z.uuid().optional().describe("The `unique` of the winning variant (from get-ab-test-variant-all / get-ab-test-view-model). Used when status is `Completed`."),
6412
+ onCompleteAction: postAbTestEndQueryParams.shape.onCompleteAction.describe(
6413
+ "What to do with the winning variant's page when completing: `Nothing`, `Publish` or `Draft`."
6414
+ )
6415
+ });
6416
+ var outputSchema15 = postAbTestEndResponse;
6417
+ var tool15 = {
6418
+ name: "post-ab-test-end",
6419
+ description: "End an A/B test through Engage's dedicated end endpoint, optionally choosing a winning variant and what to do with it. Requires Umbraco Engage 18.3.0 or later. Unlike post-ab-test-stop (which resubmits the whole test through the save endpoint and needs the page uniques again), this takes just the test, the final `status` and the optional winner. Only a started test can be ended (a Draft test is refused). Engage reports a refusal (or a `unique` that matches no test) in `validationResults` rather than as an HTTP error, so always check `validationResults.isValid` and `errors`; `test` is null when refused.",
6420
+ inputSchema: inputSchema15.shape,
6421
+ outputSchema: outputSchema15,
6422
+ slices: ["update"],
6423
+ annotations: { destructiveHint: true, idempotentHint: false },
6424
+ handler: async (params) => {
6425
+ return executeGetApiCall(
6426
+ (client) => client.postAbTestEnd(
6427
+ {
6428
+ unique: params.unique,
6429
+ status: params.status,
6430
+ winnerKey: params.winnerKey,
6431
+ onCompleteAction: params.onCompleteAction
6432
+ },
6433
+ CAPTURE_RAW_HTTP_RESPONSE
6434
+ )
6435
+ );
6436
+ }
6437
+ };
6438
+ var post_ab_test_end_default = withStandardDecorators(tool15);
6439
+ var inputSchema16 = z.object({
6440
+ unique: z.uuid().describe("The real, existing A/B test's `unique` guid (from post-ab-test's response, or get-ab-test-all).")
6441
+ });
6442
+ var outputSchema16 = postAbTestUnscheduleResponse;
6443
+ var tool16 = {
6444
+ name: "post-ab-test-unschedule",
6445
+ description: "Cancel the scheduled start of an A/B test so it goes back to Draft, using Engage's dedicated unschedule endpoint. Requires Umbraco Engage 18.3.0 or later. Only a test whose status is Scheduled (start time in the future) can be unscheduled; the returned `test` then has status Draft and no start time. Engage reports a refusal (a Draft, Running or Stopped test, or a `unique` that matches no test) in `validationResults` rather than as an HTTP error, so always check `validationResults.isValid` and `errors`.",
6446
+ inputSchema: inputSchema16.shape,
6447
+ outputSchema: outputSchema16,
6448
+ slices: ["update"],
6449
+ annotations: { destructiveHint: false, idempotentHint: true },
6450
+ handler: async (params) => {
6451
+ return executeGetApiCall(
6452
+ (client) => client.postAbTestUnschedule({ unique: params.unique }, CAPTURE_RAW_HTTP_RESPONSE)
6453
+ );
6454
+ }
6455
+ };
6456
+ var post_ab_test_unschedule_default = withStandardDecorators(tool16);
5837
6457
 
5838
6458
  // src/umbraco-api/tools/ab-test/index.ts
5839
6459
  var collection2 = {
@@ -5842,19 +6462,19 @@ var collection2 = {
5842
6462
  displayName: "Ab Test",
5843
6463
  description: "Umbraco Engage Ab Test tools"
5844
6464
  },
5845
- tools: () => [delete_ab_test_default, get_ab_test_default, post_ab_test_default, get_ab_test_all_default, get_ab_test_empty_default, get_ab_test_page_default, post_ab_test_runtime_indication_default, post_ab_test_segment_default, post_ab_test_variant_details_default, get_ab_test_view_model_default, post_ab_test_start_default, post_ab_test_stop_default]
6465
+ tools: () => [delete_ab_test_default, get_ab_test_default, post_ab_test_default, get_ab_test_all_default, get_ab_test_empty_default, get_ab_test_page_default, post_ab_test_runtime_indication_default, post_ab_test_segment_default, post_ab_test_variant_details_default, get_ab_test_view_model_default, post_ab_test_start_default, post_ab_test_stop_default, post_ab_test_archive_default, post_ab_test_end_default, post_ab_test_unschedule_default]
5846
6466
  };
5847
6467
  var ab_test_default = collection2;
5848
- var inputSchema14 = z.object({
6468
+ var inputSchema17 = z.object({
5849
6469
  name: z.string().nullish(),
5850
6470
  description: z.string().nullish()
5851
6471
  });
5852
- var outputSchema14 = postAbTestProjectResponse;
5853
- var tool14 = {
6472
+ var outputSchema17 = postAbTestProjectResponse;
6473
+ var tool17 = {
5854
6474
  name: "post-ab-test-project",
5855
6475
  description: "Create a new, empty A/B test project (a named container that A/B tests can be grouped under). Individual A/B tests are added afterwards via the ab-test collection's own tools, not through this one.",
5856
- inputSchema: inputSchema14.shape,
5857
- outputSchema: outputSchema14,
6476
+ inputSchema: inputSchema17.shape,
6477
+ outputSchema: outputSchema17,
5858
6478
  slices: ["create"],
5859
6479
  annotations: { destructiveHint: false, idempotentHint: false },
5860
6480
  handler: async (params) => {
@@ -5876,12 +6496,12 @@ var tool14 = {
5876
6496
  );
5877
6497
  }
5878
6498
  };
5879
- var post_ab_test_project_default = withStandardDecorators(tool14);
5880
- var inputSchema15 = z.object({ id: z.uuid() });
5881
- var tool15 = {
6499
+ var post_ab_test_project_default = withStandardDecorators(tool17);
6500
+ var inputSchema18 = z.object({ id: z.uuid() });
6501
+ var tool18 = {
5882
6502
  name: "delete-ab-test-project",
5883
6503
  description: "Delete an A/B test project by its `id` - which is the project's `unique` guid, not the numeric `id` field on the entity. Not idempotent - deleting a project id that doesn't exist returns an error, unlike some other delete tools in this server.",
5884
- inputSchema: inputSchema15.shape,
6504
+ inputSchema: inputSchema18.shape,
5885
6505
  slices: ["delete"],
5886
6506
  annotations: { destructiveHint: true },
5887
6507
  handler: async (params) => {
@@ -5890,14 +6510,14 @@ var tool15 = {
5890
6510
  );
5891
6511
  }
5892
6512
  };
5893
- var delete_ab_test_project_default = withStandardDecorators(tool15);
5894
- var inputSchema16 = z.object({ id: z.uuid() });
5895
- var outputSchema15 = getAbTestProjectResponse;
5896
- var tool16 = {
6513
+ var delete_ab_test_project_default = withStandardDecorators(tool18);
6514
+ var inputSchema19 = z.object({ id: z.uuid() });
6515
+ var outputSchema18 = getAbTestProjectResponse;
6516
+ var tool19 = {
5897
6517
  name: "get-ab-test-project",
5898
6518
  description: "Get a single A/B test project (including every A/B test nested under it, in full detail) by its `id` - which is the project's `unique` guid, not the numeric `id` field on the returned entity. Prefer get-ab-test-project-details for a lighter-weight summary (test counts, runtime, winner name) when full nested test detail isn't needed.",
5899
- inputSchema: inputSchema16.shape,
5900
- outputSchema: outputSchema15,
6519
+ inputSchema: inputSchema19.shape,
6520
+ outputSchema: outputSchema18,
5901
6521
  slices: ["read"],
5902
6522
  annotations: { readOnlyHint: true },
5903
6523
  handler: async (params) => {
@@ -5906,14 +6526,14 @@ var tool16 = {
5906
6526
  );
5907
6527
  }
5908
6528
  };
5909
- var get_ab_test_project_default = withStandardDecorators(tool16);
5910
- var inputSchema17 = putAbTestProjectBody;
5911
- var outputSchema16 = putAbTestProjectResponse;
5912
- var tool17 = {
6529
+ var get_ab_test_project_default = withStandardDecorators(tool19);
6530
+ var inputSchema20 = putAbTestProjectBody;
6531
+ var outputSchema19 = putAbTestProjectResponse;
6532
+ var tool20 = {
5913
6533
  name: "put-ab-test-project",
5914
6534
  description: "Update an existing A/B test project's fields. This is a full replace, not a partial patch - call get-ab-test-project first with the same `unique` to fetch current values for every field (amountOfTests, amountOfActiveTests, invalid, archived, abTests, etc.), then resupply all of them here with only your intended changes (e.g. `name`) modified. Omitting or zeroing a field you didn't intend to change will overwrite it on the server.",
5915
- inputSchema: inputSchema17.shape,
5916
- outputSchema: outputSchema16,
6535
+ inputSchema: inputSchema20.shape,
6536
+ outputSchema: outputSchema19,
5917
6537
  slices: ["update"],
5918
6538
  annotations: { idempotentHint: true },
5919
6539
  handler: async (params) => {
@@ -5922,14 +6542,14 @@ var tool17 = {
5922
6542
  );
5923
6543
  }
5924
6544
  };
5925
- var put_ab_test_project_default = withStandardDecorators(tool17);
5926
- var inputSchema18 = z.object({});
5927
- var outputSchema17 = z.object({ items: getAbTestProjectAllResponse });
5928
- var tool18 = {
6545
+ var put_ab_test_project_default = withStandardDecorators(tool20);
6546
+ var inputSchema21 = z.object({});
6547
+ var outputSchema20 = z.object({ items: getAbTestProjectAllResponse });
6548
+ var tool21 = {
5929
6549
  name: "get-ab-test-project-all",
5930
6550
  description: "List every A/B test project, each with its full nested A/B tests (goal, variants, winner, etc. per test). Each item's `unique` guid is what get-ab-test-project/get-ab-test-project-details/put-ab-test-project/delete-ab-test-project expect as `id` - not the numeric `id` field.",
5931
- inputSchema: inputSchema18.shape,
5932
- outputSchema: outputSchema17,
6551
+ inputSchema: inputSchema21.shape,
6552
+ outputSchema: outputSchema20,
5933
6553
  slices: ["list"],
5934
6554
  annotations: { readOnlyHint: true },
5935
6555
  handler: async () => {
@@ -5942,14 +6562,14 @@ var tool18 = {
5942
6562
  return result;
5943
6563
  }
5944
6564
  };
5945
- var get_ab_test_project_all_default = withStandardDecorators(tool18);
5946
- var inputSchema19 = z.object({ id: z.uuid() });
5947
- var outputSchema18 = getAbTestProjectDetailsResponse;
5948
- var tool19 = {
6565
+ var get_ab_test_project_all_default = withStandardDecorators(tool21);
6566
+ var inputSchema22 = z.object({ id: z.uuid() });
6567
+ var outputSchema21 = getAbTestProjectDetailsResponse;
6568
+ var tool22 = {
5949
6569
  name: "get-ab-test-project-details",
5950
6570
  description: "Get a summarized overview of an A/B test project (test/active-test counts, total runtime in days, winner's name) by its `id` - which is the project's `unique` guid, not the numeric `id` field on the returned entity. Prefer this over get-ab-test-project unless the full nested detail of every test in the project is needed. Returns an empty (undefined) result, not an error, if no project matches the id - check for a defined response rather than relying on isError.",
5951
- inputSchema: inputSchema19.shape,
5952
- outputSchema: outputSchema18,
6571
+ inputSchema: inputSchema22.shape,
6572
+ outputSchema: outputSchema21,
5953
6573
  slices: ["read"],
5954
6574
  annotations: { readOnlyHint: true },
5955
6575
  handler: async (params) => {
@@ -5958,7 +6578,7 @@ var tool19 = {
5958
6578
  );
5959
6579
  }
5960
6580
  };
5961
- var get_ab_test_project_details_default = withStandardDecorators(tool19);
6581
+ var get_ab_test_project_details_default = withStandardDecorators(tool22);
5962
6582
 
5963
6583
  // src/umbraco-api/tools/ab-test-project/index.ts
5964
6584
  var collection3 = {
@@ -5970,11 +6590,11 @@ var collection3 = {
5970
6590
  tools: () => [post_ab_test_project_default, delete_ab_test_project_default, get_ab_test_project_default, put_ab_test_project_default, get_ab_test_project_all_default, get_ab_test_project_details_default]
5971
6591
  };
5972
6592
  var ab_test_project_default = collection3;
5973
- var inputSchema20 = z.object({ variantId: z.number() });
5974
- var tool20 = {
6593
+ var inputSchema23 = z.object({ variantId: z.number() });
6594
+ var tool23 = {
5975
6595
  name: "delete-ab-test-variant",
5976
6596
  description: "Delete an A/B test variant by its numeric `variantId`.",
5977
- inputSchema: inputSchema20.shape,
6597
+ inputSchema: inputSchema23.shape,
5978
6598
  slices: ["delete"],
5979
6599
  annotations: { destructiveHint: true },
5980
6600
  handler: async (params) => {
@@ -5983,14 +6603,14 @@ var tool20 = {
5983
6603
  );
5984
6604
  }
5985
6605
  };
5986
- var delete_ab_test_variant_default = withStandardDecorators(tool20);
5987
- var inputSchema21 = z.object({ id: z.number() });
5988
- var outputSchema19 = getAbTestVariantResponse;
5989
- var tool21 = {
6606
+ var delete_ab_test_variant_default = withStandardDecorators(tool23);
6607
+ var inputSchema24 = z.object({ id: z.number() });
6608
+ var outputSchema22 = getAbTestVariantResponse;
6609
+ var tool24 = {
5990
6610
  name: "get-ab-test-variant",
5991
6611
  description: "Get a single A/B test variant (one treatment/control arm of an A/B test) by its numeric `id` - the same `id` used by delete-ab-test-variant and post-ab-test-variant-disable. Call this before post-ab-test-variant to fetch current field values, since that tool requires a full replace, not a partial patch.",
5992
- inputSchema: inputSchema21.shape,
5993
- outputSchema: outputSchema19,
6612
+ inputSchema: inputSchema24.shape,
6613
+ outputSchema: outputSchema22,
5994
6614
  slices: ["read"],
5995
6615
  annotations: { readOnlyHint: true },
5996
6616
  handler: async (params) => {
@@ -5999,14 +6619,14 @@ var tool21 = {
5999
6619
  );
6000
6620
  }
6001
6621
  };
6002
- var get_ab_test_variant_default = withStandardDecorators(tool21);
6003
- var inputSchema22 = postAbTestVariantBody;
6004
- var outputSchema20 = postAbTestVariantResponse;
6005
- var tool22 = {
6622
+ var get_ab_test_variant_default = withStandardDecorators(tool24);
6623
+ var inputSchema25 = postAbTestVariantBody;
6624
+ var outputSchema23 = postAbTestVariantResponse;
6625
+ var tool25 = {
6006
6626
  name: "post-ab-test-variant",
6007
6627
  description: "Update an existing A/B test variant's fields (name, description, css, javascript, redirectNodeKey, etc.). This does NOT create a new variant - use post-ab-test-variant-create for that. This is a full replace, not a partial patch: call get-ab-test-variant first with the same `id` to fetch current values (including `totalPageviewsForVariant`/`totalVisitorsForVariant`, which will be reset if omitted/zeroed), then resupply all fields with only your intended changes modified. A non-existent `abTestId` fails as a raw foreign-key-violation error, not a clean validation message.",
6008
- inputSchema: inputSchema22.shape,
6009
- outputSchema: outputSchema20,
6628
+ inputSchema: inputSchema25.shape,
6629
+ outputSchema: outputSchema23,
6010
6630
  slices: ["update"],
6011
6631
  annotations: { destructiveHint: false, idempotentHint: true },
6012
6632
  handler: async (params) => {
@@ -6015,14 +6635,14 @@ var tool22 = {
6015
6635
  );
6016
6636
  }
6017
6637
  };
6018
- var post_ab_test_variant_default = withStandardDecorators(tool22);
6019
- var inputSchema23 = getAbTestVariantAllQueryParams;
6020
- var outputSchema21 = z.object({ items: getAbTestVariantAllResponse });
6021
- var tool23 = {
6638
+ var post_ab_test_variant_default = withStandardDecorators(tool25);
6639
+ var inputSchema26 = getAbTestVariantAllQueryParams;
6640
+ var outputSchema24 = z.object({ items: getAbTestVariantAllResponse });
6641
+ var tool26 = {
6022
6642
  name: "get-ab-test-variant-all",
6023
6643
  description: "List A/B test variants (the treatment/control arms of an A/B test), optionally scoped to a single test via `abTestId` - omit `abTestId` to list every variant across every test.",
6024
- inputSchema: inputSchema23.shape,
6025
- outputSchema: outputSchema21,
6644
+ inputSchema: inputSchema26.shape,
6645
+ outputSchema: outputSchema24,
6026
6646
  slices: ["list"],
6027
6647
  annotations: { readOnlyHint: true },
6028
6648
  handler: async (params) => {
@@ -6035,14 +6655,14 @@ var tool23 = {
6035
6655
  return result;
6036
6656
  }
6037
6657
  };
6038
- var get_ab_test_variant_all_default = withStandardDecorators(tool23);
6039
- var inputSchema24 = z.object({ testId: z.number() });
6040
- var outputSchema22 = postAbTestVariantCreateResponse;
6041
- var tool24 = {
6658
+ var get_ab_test_variant_all_default = withStandardDecorators(tool26);
6659
+ var inputSchema27 = z.object({ testId: z.number() });
6660
+ var outputSchema25 = postAbTestVariantCreateResponse;
6661
+ var tool27 = {
6042
6662
  name: "post-ab-test-variant-create",
6043
6663
  description: "Add a new, blank variant to an existing A/B test (by its numeric `testId`) - the server generates the variant's id/unique/name and other fields. Use post-ab-test-variant afterwards to set its name/content; use this tool, not post-ab-test-variant, to actually create a new variant. A non-existent `testId` fails as a raw foreign-key-violation error, not a clean validation message.",
6044
- inputSchema: inputSchema24.shape,
6045
- outputSchema: outputSchema22,
6664
+ inputSchema: inputSchema27.shape,
6665
+ outputSchema: outputSchema25,
6046
6666
  slices: ["create"],
6047
6667
  annotations: { destructiveHint: false, idempotentHint: false },
6048
6668
  handler: async (params) => {
@@ -6051,14 +6671,14 @@ var tool24 = {
6051
6671
  );
6052
6672
  }
6053
6673
  };
6054
- var post_ab_test_variant_create_default = withStandardDecorators(tool24);
6055
- var inputSchema25 = z.object({ variantId: z.number() });
6056
- var outputSchema23 = postAbTestVariantDisableResponse;
6057
- var tool25 = {
6674
+ var post_ab_test_variant_create_default = withStandardDecorators(tool27);
6675
+ var inputSchema28 = z.object({ variantId: z.number() });
6676
+ var outputSchema26 = postAbTestVariantDisableResponse;
6677
+ var tool28 = {
6058
6678
  name: "post-ab-test-variant-disable",
6059
6679
  description: "Disable an existing A/B test variant by its numeric `variantId`, stopping it from being served to visitors. This modifies an existing variant - it does not create one.",
6060
- inputSchema: inputSchema25.shape,
6061
- outputSchema: outputSchema23,
6680
+ inputSchema: inputSchema28.shape,
6681
+ outputSchema: outputSchema26,
6062
6682
  slices: ["update"],
6063
6683
  annotations: { destructiveHint: false, idempotentHint: true },
6064
6684
  handler: async (params) => {
@@ -6067,14 +6687,14 @@ var tool25 = {
6067
6687
  );
6068
6688
  }
6069
6689
  };
6070
- var post_ab_test_variant_disable_default = withStandardDecorators(tool25);
6071
- var inputSchema26 = getAbTestVariantSegmentQueryParams;
6072
- var outputSchema24 = getAbTestVariantSegmentResponse;
6073
- var tool26 = {
6690
+ var post_ab_test_variant_disable_default = withStandardDecorators(tool28);
6691
+ var inputSchema29 = getAbTestVariantSegmentQueryParams;
6692
+ var outputSchema27 = getAbTestVariantSegmentResponse;
6693
+ var tool29 = {
6074
6694
  name: "get-ab-test-variant-segment",
6075
6695
  description: "Get the A/B test variant currently assigned to a given visitor segment (a segment alias/name, not a guid - see the segments collection for discovering valid values).",
6076
- inputSchema: inputSchema26.shape,
6077
- outputSchema: outputSchema24,
6696
+ inputSchema: inputSchema29.shape,
6697
+ outputSchema: outputSchema27,
6078
6698
  slices: ["read"],
6079
6699
  annotations: { readOnlyHint: true },
6080
6700
  handler: async (params) => {
@@ -6083,7 +6703,7 @@ var tool26 = {
6083
6703
  );
6084
6704
  }
6085
6705
  };
6086
- var get_ab_test_variant_segment_default = withStandardDecorators(tool26);
6706
+ var get_ab_test_variant_segment_default = withStandardDecorators(tool29);
6087
6707
 
6088
6708
  // src/umbraco-api/tools/ab-test-variant/index.ts
6089
6709
  var collection4 = {
@@ -6095,40 +6715,13 @@ var collection4 = {
6095
6715
  tools: () => [delete_ab_test_variant_default, get_ab_test_variant_default, post_ab_test_variant_default, get_ab_test_variant_all_default, post_ab_test_variant_create_default, post_ab_test_variant_disable_default, get_ab_test_variant_segment_default]
6096
6716
  };
6097
6717
  var ab_test_variant_default = collection4;
6098
- var inputSchema27 = z.object({});
6099
- var outputSchema25 = getAddOnsResponse;
6100
- var tool27 = {
6101
- name: "get-add-ons",
6102
- description: "Report whether the Umbraco Forms and Umbraco Commerce add-on integrations are currently enabled for this Engage installation.",
6103
- inputSchema: inputSchema27.shape,
6104
- outputSchema: outputSchema25,
6105
- slices: ["read"],
6106
- annotations: { readOnlyHint: true },
6107
- handler: async () => {
6108
- return executeGetApiCall(
6109
- (client) => client.getAddOns(CAPTURE_RAW_HTTP_RESPONSE)
6110
- );
6111
- }
6112
- };
6113
- var get_add_ons_default = withStandardDecorators(tool27);
6114
-
6115
- // src/umbraco-api/tools/add-ons/index.ts
6116
- var collection5 = {
6117
- metadata: {
6118
- name: "add-ons",
6119
- displayName: "Add Ons",
6120
- description: "Umbraco Engage Add Ons tools"
6121
- },
6122
- tools: () => [get_add_ons_default]
6123
- };
6124
- var add_ons_default = collection5;
6125
- var inputSchema28 = getAnalyticsDistinctQueryParams;
6126
- var outputSchema26 = z.object({ items: getAnalyticsDistinctResponse });
6127
- var tool28 = {
6718
+ var inputSchema30 = getAnalyticsDistinctQueryParams;
6719
+ var outputSchema28 = z.object({ items: getAnalyticsDistinctResponse });
6720
+ var tool30 = {
6128
6721
  name: "get-analytics-distinct",
6129
6722
  description: "List the distinct values recorded for a given analytics dimension (e.g. distinct `pageUrl`s, `country`s, or `browser`s seen in tracked traffic). Can return a very large, unbounded list on a high-traffic site with a high-cardinality dimension - there is no pagination.",
6130
- inputSchema: inputSchema28.shape,
6131
- outputSchema: outputSchema26,
6723
+ inputSchema: inputSchema30.shape,
6724
+ outputSchema: outputSchema28,
6132
6725
  slices: ["list"],
6133
6726
  annotations: { readOnlyHint: true },
6134
6727
  handler: async (params) => {
@@ -6141,8 +6734,8 @@ var tool28 = {
6141
6734
  return result;
6142
6735
  }
6143
6736
  };
6144
- var get_analytics_distinct_default = withStandardDecorators(tool28);
6145
- var inputSchema29 = postAnalyticsQueryBody.omit({ paging: true, comparison: true }).extend({
6737
+ var get_analytics_distinct_default = withStandardDecorators(tool30);
6738
+ var inputSchema31 = postAnalyticsQueryBody.omit({ paging: true, comparison: true }).extend({
6146
6739
  startDate: postAnalyticsQueryBody.shape.startDate.describe(
6147
6740
  "ISO 8601 datetime, e.g. 2026-01-01T00:00:00Z"
6148
6741
  ),
@@ -6159,12 +6752,12 @@ var inputSchema29 = postAnalyticsQueryBody.omit({ paging: true, comparison: true
6159
6752
  "Free-text filter expression - syntax is not documented by the underlying API; omit unless the exact syntax is already known."
6160
6753
  )
6161
6754
  });
6162
- var outputSchema27 = postAnalyticsQueryResponse;
6163
- var tool29 = {
6755
+ var outputSchema29 = postAnalyticsQueryResponse;
6756
+ var tool31 = {
6164
6757
  name: "post-analytics-query",
6165
6758
  description: "Run a read-only aggregated analytics report over a date range, grouped by `dimensions` and measured by `metrics`. Returns a paginated table (`columns` + `rows`) with `totalRows`/`totalPages`/`currentPage` to know when to stop paging. Despite the POST verb, this has no side effects.",
6166
- inputSchema: inputSchema29.shape,
6167
- outputSchema: outputSchema27,
6759
+ inputSchema: inputSchema31.shape,
6760
+ outputSchema: outputSchema29,
6168
6761
  slices: ["search"],
6169
6762
  annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true },
6170
6763
  handler: async (params) => {
@@ -6177,10 +6770,10 @@ var tool29 = {
6177
6770
  );
6178
6771
  }
6179
6772
  };
6180
- var post_analytics_query_default = withStandardDecorators(tool29);
6773
+ var post_analytics_query_default = withStandardDecorators(tool31);
6181
6774
 
6182
6775
  // src/umbraco-api/tools/analytics/index.ts
6183
- var collection6 = {
6776
+ var collection5 = {
6184
6777
  metadata: {
6185
6778
  name: "analytics",
6186
6779
  displayName: "Analytics",
@@ -6188,12 +6781,12 @@ var collection6 = {
6188
6781
  },
6189
6782
  tools: () => [get_analytics_distinct_default, post_analytics_query_default]
6190
6783
  };
6191
- var analytics_default = collection6;
6192
- var inputSchema30 = z.object({ id: z.number() });
6193
- var tool30 = {
6784
+ var analytics_default = collection5;
6785
+ var inputSchema32 = z.object({ id: z.number() });
6786
+ var tool32 = {
6194
6787
  name: "delete-annotations",
6195
6788
  description: "Delete an annotation by its numeric `id`. Idempotent - deleting a non-existent id succeeds silently rather than erroring.",
6196
- inputSchema: inputSchema30.shape,
6789
+ inputSchema: inputSchema32.shape,
6197
6790
  slices: ["delete"],
6198
6791
  annotations: { destructiveHint: true },
6199
6792
  handler: async (params) => {
@@ -6202,8 +6795,8 @@ var tool30 = {
6202
6795
  );
6203
6796
  }
6204
6797
  };
6205
- var delete_annotations_default = withStandardDecorators(tool30);
6206
- var inputSchema31 = z.object({
6798
+ var delete_annotations_default = withStandardDecorators(tool32);
6799
+ var inputSchema33 = z.object({
6207
6800
  timestamp: z.iso.datetime().optional().describe("Defaults to now. The point on the analytics timeline this annotation marks - not necessarily when the annotation record itself was created."),
6208
6801
  description: z.string(),
6209
6802
  createdByUserName: z.string().describe("The acting user/system this annotation should be attributed to - not auto-populated or validated by the server."),
@@ -6211,12 +6804,12 @@ var inputSchema31 = z.object({
6211
6804
  invalid: z.boolean().default(false),
6212
6805
  pageVariants: z.array(z.object({ unique: z.uuid(), culture: z.string().nullish() })).default([]).describe("Ties the annotation to specific content nodes - `unique` is the content item's guid (from a content lookup tool), `culture` is optional for variant content. Leave empty for a site-wide annotation.")
6213
6806
  });
6214
- var outputSchema28 = postAnnotationsResponse;
6215
- var tool31 = {
6807
+ var outputSchema30 = postAnnotationsResponse;
6808
+ var tool33 = {
6216
6809
  name: "post-annotations",
6217
6810
  description: "Create a new analytics annotation (a timeline marker/event note, e.g. a deploy or campaign note, attached to analytics data).",
6218
- inputSchema: inputSchema31.shape,
6219
- outputSchema: outputSchema28,
6811
+ inputSchema: inputSchema33.shape,
6812
+ outputSchema: outputSchema30,
6220
6813
  slices: ["create"],
6221
6814
  annotations: { destructiveHint: false, idempotentHint: false },
6222
6815
  handler: async (params) => {
@@ -6235,14 +6828,14 @@ var tool31 = {
6235
6828
  );
6236
6829
  }
6237
6830
  };
6238
- var post_annotations_default = withStandardDecorators(tool31);
6239
- var inputSchema32 = z.object({ from: z.iso.datetime(), to: z.iso.datetime() });
6240
- var outputSchema29 = z.object({ items: getAnnotationsAllResponse });
6241
- var tool32 = {
6831
+ var post_annotations_default = withStandardDecorators(tool33);
6832
+ var inputSchema34 = z.object({ from: z.iso.datetime(), to: z.iso.datetime() });
6833
+ var outputSchema31 = z.object({ items: getAnnotationsAllResponse });
6834
+ var tool34 = {
6242
6835
  name: "get-annotations-all",
6243
6836
  description: "List analytics annotations (timeline markers, e.g. deploys or campaign notes, attached to analytics data) across the whole site within a date range. Both `from` and `to` are required - omitting either causes a server-side date-overflow error on some instances.",
6244
- inputSchema: inputSchema32.shape,
6245
- outputSchema: outputSchema29,
6837
+ inputSchema: inputSchema34.shape,
6838
+ outputSchema: outputSchema31,
6246
6839
  slices: ["list"],
6247
6840
  annotations: { readOnlyHint: true },
6248
6841
  handler: async (params) => {
@@ -6255,14 +6848,14 @@ var tool32 = {
6255
6848
  return result;
6256
6849
  }
6257
6850
  };
6258
- var get_annotations_all_default = withStandardDecorators(tool32);
6259
- var inputSchema33 = z.object({});
6260
- var outputSchema30 = getAnnotationsEmptyResponse;
6261
- var tool33 = {
6851
+ var get_annotations_all_default = withStandardDecorators(tool34);
6852
+ var inputSchema35 = z.object({});
6853
+ var outputSchema32 = getAnnotationsEmptyResponse;
6854
+ var tool35 = {
6262
6855
  name: "get-annotations-empty",
6263
6856
  description: "Get a blank annotation template with default field values (id 0, empty description, visibility 'Always') - a starting point for constructing a new annotation before calling post-annotations. Returns a template, not an existing stored annotation.",
6264
- inputSchema: inputSchema33.shape,
6265
- outputSchema: outputSchema30,
6857
+ inputSchema: inputSchema35.shape,
6858
+ outputSchema: outputSchema32,
6266
6859
  slices: ["other"],
6267
6860
  annotations: { readOnlyHint: true },
6268
6861
  handler: async () => {
@@ -6271,14 +6864,14 @@ var tool33 = {
6271
6864
  );
6272
6865
  }
6273
6866
  };
6274
- var get_annotations_empty_default = withStandardDecorators(tool33);
6275
- var inputSchema34 = z.object({ from: z.iso.datetime(), to: z.iso.datetime() });
6276
- var outputSchema31 = z.object({ items: getAnnotationsGlobalResponse });
6277
- var tool34 = {
6867
+ var get_annotations_empty_default = withStandardDecorators(tool35);
6868
+ var inputSchema36 = z.object({ from: z.iso.datetime(), to: z.iso.datetime() });
6869
+ var outputSchema33 = z.object({ items: getAnnotationsGlobalResponse });
6870
+ var tool36 = {
6278
6871
  name: "get-annotations-global",
6279
6872
  description: "List 'global' analytics annotations (timeline markers, e.g. deploys or campaign notes, attached to analytics data) within a date range - a separate endpoint from get-annotations-all with the same parameters and response shape; the exact distinction between 'all' and 'global' annotations is not documented upstream. Both `from` and `to` are required - omitting either causes a server-side date-overflow error on some instances.",
6280
- inputSchema: inputSchema34.shape,
6281
- outputSchema: outputSchema31,
6873
+ inputSchema: inputSchema36.shape,
6874
+ outputSchema: outputSchema33,
6282
6875
  slices: ["list"],
6283
6876
  annotations: { readOnlyHint: true },
6284
6877
  handler: async (params) => {
@@ -6291,17 +6884,17 @@ var tool34 = {
6291
6884
  return result;
6292
6885
  }
6293
6886
  };
6294
- var get_annotations_global_default = withStandardDecorators(tool34);
6295
- var inputSchema35 = getAnnotationsPageQueryParams.extend({
6887
+ var get_annotations_global_default = withStandardDecorators(tool36);
6888
+ var inputSchema37 = getAnnotationsPageQueryParams.extend({
6296
6889
  unique: z.uuid(),
6297
6890
  culture: getAnnotationsPageQueryParams.shape.culture.default("")
6298
6891
  });
6299
- var outputSchema32 = z.object({ items: getAnnotationsPageResponse });
6300
- var tool35 = {
6892
+ var outputSchema34 = z.object({ items: getAnnotationsPageResponse });
6893
+ var tool37 = {
6301
6894
  name: "get-annotations-page",
6302
6895
  description: "List analytics annotations (timeline markers, e.g. deploys or campaign notes) attached to a specific content page, identified by its `unique` guid. Optionally filter by date range and culture; `culture` defaults to the invariant culture.",
6303
- inputSchema: inputSchema35.shape,
6304
- outputSchema: outputSchema32,
6896
+ inputSchema: inputSchema37.shape,
6897
+ outputSchema: outputSchema34,
6305
6898
  slices: ["list"],
6306
6899
  annotations: { readOnlyHint: true },
6307
6900
  handler: async (params) => {
@@ -6314,10 +6907,10 @@ var tool35 = {
6314
6907
  return result;
6315
6908
  }
6316
6909
  };
6317
- var get_annotations_page_default = withStandardDecorators(tool35);
6910
+ var get_annotations_page_default = withStandardDecorators(tool37);
6318
6911
 
6319
6912
  // src/umbraco-api/tools/annotations/index.ts
6320
- var collection7 = {
6913
+ var collection6 = {
6321
6914
  metadata: {
6322
6915
  name: "annotations",
6323
6916
  displayName: "Annotations",
@@ -6325,12 +6918,12 @@ var collection7 = {
6325
6918
  },
6326
6919
  tools: () => [delete_annotations_default, post_annotations_default, get_annotations_all_default, get_annotations_empty_default, get_annotations_global_default, get_annotations_page_default]
6327
6920
  };
6328
- var annotations_default = collection7;
6329
- var inputSchema36 = z.object({ id: z.uuid() });
6330
- var tool36 = {
6921
+ var annotations_default = collection6;
6922
+ var inputSchema38 = z.object({ id: z.uuid() });
6923
+ var tool38 = {
6331
6924
  name: "delete-applied-personalization",
6332
6925
  description: "Delete an applied personalization by its `id` - the entity's `unique` guid, not any numeric `id` field on the entity itself. This is a soft delete - the guid is never freed for reuse.",
6333
- inputSchema: inputSchema36.shape,
6926
+ inputSchema: inputSchema38.shape,
6334
6927
  slices: ["delete"],
6335
6928
  annotations: { destructiveHint: true },
6336
6929
  handler: async (params) => {
@@ -6339,8 +6932,8 @@ var tool36 = {
6339
6932
  );
6340
6933
  }
6341
6934
  };
6342
- var delete_applied_personalization_default = withStandardDecorators(tool36);
6343
- var inputSchema37 = z.object({
6935
+ var delete_applied_personalization_default = withStandardDecorators(tool38);
6936
+ var inputSchema39 = z.object({
6344
6937
  name: z.string().nullish(),
6345
6938
  description: z.string().nullish(),
6346
6939
  type: postAppliedPersonalizationBody.shape.type,
@@ -6352,12 +6945,12 @@ var inputSchema37 = z.object({
6352
6945
  pages: z.array(z.object({ nodeId: z.number(), culture: z.string().nullish() })).default([]).describe("Content pages (by numeric node id) this personalization targets - relevant when `type` is 'SinglePage'/'MultiPage'."),
6353
6946
  contentTypes: z.array(z.object({ contentTypeId: z.number(), culture: z.string().nullish() })).default([]).describe("Content types this personalization targets - relevant when `type` is 'ContentType'.")
6354
6947
  });
6355
- var outputSchema33 = postAppliedPersonalizationResponse;
6356
- var tool37 = {
6948
+ var outputSchema35 = postAppliedPersonalizationResponse;
6949
+ var tool39 = {
6357
6950
  name: "post-applied-personalization",
6358
6951
  description: "Create a new applied personalization - a rule that shows different content/css/javascript to visitors matching a segment, on a set of pages or content types (per `type`).",
6359
- inputSchema: inputSchema37.shape,
6360
- outputSchema: outputSchema33,
6952
+ inputSchema: inputSchema39.shape,
6953
+ outputSchema: outputSchema35,
6361
6954
  slices: ["create"],
6362
6955
  annotations: { destructiveHint: false, idempotentHint: false },
6363
6956
  handler: async (params) => {
@@ -6396,14 +6989,14 @@ var tool37 = {
6396
6989
  );
6397
6990
  }
6398
6991
  };
6399
- var post_applied_personalization_default = withStandardDecorators(tool37);
6400
- var inputSchema38 = z.object({});
6401
- var outputSchema34 = z.object({ items: getAppliedPersonalizationAllResponse });
6402
- var tool38 = {
6992
+ var post_applied_personalization_default = withStandardDecorators(tool39);
6993
+ var inputSchema40 = z.object({});
6994
+ var outputSchema36 = z.object({ items: getAppliedPersonalizationAllResponse });
6995
+ var tool40 = {
6403
6996
  name: "get-applied-personalization-all",
6404
6997
  description: "List every applied personalization (rules that show different content/css/javascript to visitors matching a segment) across the whole site, unfiltered and unpaginated. Each item's `unique` guid is what get-applied-personalization-id/delete-applied-personalization expect as `id`.",
6405
- inputSchema: inputSchema38.shape,
6406
- outputSchema: outputSchema34,
6998
+ inputSchema: inputSchema40.shape,
6999
+ outputSchema: outputSchema36,
6407
7000
  slices: ["list"],
6408
7001
  annotations: { readOnlyHint: true },
6409
7002
  handler: async () => {
@@ -6416,14 +7009,14 @@ var tool38 = {
6416
7009
  return result;
6417
7010
  }
6418
7011
  };
6419
- var get_applied_personalization_all_default = withStandardDecorators(tool38);
6420
- var inputSchema39 = z.object({ id: z.uuid() });
6421
- var outputSchema35 = getAppliedPersonalizationIdResponse;
6422
- var tool39 = {
7012
+ var get_applied_personalization_all_default = withStandardDecorators(tool40);
7013
+ var inputSchema41 = z.object({ id: z.uuid() });
7014
+ var outputSchema37 = getAppliedPersonalizationIdResponse;
7015
+ var tool41 = {
6423
7016
  name: "get-applied-personalization-id",
6424
7017
  description: "Get a single applied personalization by its `id`, which is the entity's `unique` guid (as returned by post-applied-personalization/get-applied-personalization-all) - not any numeric `id` field on the entity itself. Errors if no match is found (unlike get-applied-personalization-segment, which returns null instead).",
6425
- inputSchema: inputSchema39.shape,
6426
- outputSchema: outputSchema35,
7018
+ inputSchema: inputSchema41.shape,
7019
+ outputSchema: outputSchema37,
6427
7020
  slices: ["read"],
6428
7021
  annotations: { readOnlyHint: true },
6429
7022
  handler: async (params) => {
@@ -6432,18 +7025,18 @@ var tool39 = {
6432
7025
  );
6433
7026
  }
6434
7027
  };
6435
- var get_applied_personalization_id_default = withStandardDecorators(tool39);
6436
- var inputSchema40 = z.object({
7028
+ var get_applied_personalization_id_default = withStandardDecorators(tool41);
7029
+ var inputSchema42 = z.object({
6437
7030
  unique: z.uuid(),
6438
7031
  segment: z.string(),
6439
7032
  culture: z.string().optional()
6440
7033
  });
6441
- var outputSchema36 = postAppliedPersonalizationSegmentResponse;
6442
- var tool40 = {
7034
+ var outputSchema38 = postAppliedPersonalizationSegmentResponse;
7035
+ var tool42 = {
6443
7036
  name: "post-applied-personalization-segment",
6444
7037
  description: "Associate an existing applied personalization (`unique`) with an Umbraco visitor segment (`segment`, an alias/name - not a guid) for an optional culture. Response is `{ created: boolean }` confirming whether the association was made.",
6445
- inputSchema: inputSchema40.shape,
6446
- outputSchema: outputSchema36,
7038
+ inputSchema: inputSchema42.shape,
7039
+ outputSchema: outputSchema38,
6447
7040
  slices: ["create"],
6448
7041
  annotations: { destructiveHint: false, idempotentHint: false },
6449
7042
  handler: async (params) => {
@@ -6452,14 +7045,14 @@ var tool40 = {
6452
7045
  );
6453
7046
  }
6454
7047
  };
6455
- var post_applied_personalization_segment_default = withStandardDecorators(tool40);
6456
- var inputSchema41 = z.object({ segment: z.string() });
6457
- var outputSchema37 = getAppliedPersonalizationSegmentResponse;
6458
- var tool41 = {
7048
+ var post_applied_personalization_segment_default = withStandardDecorators(tool42);
7049
+ var inputSchema43 = z.object({ segment: z.string() });
7050
+ var outputSchema39 = getAppliedPersonalizationSegmentResponse;
7051
+ var tool43 = {
6459
7052
  name: "get-applied-personalization-segment",
6460
7053
  description: "Get the applied personalization currently associated with a segment (a segment alias/name, not a guid). Returns a successful null result (not an error) if no personalization is applied to that segment - unlike get-applied-personalization-id, which errors for an unmatched id.",
6461
- inputSchema: inputSchema41.shape,
6462
- outputSchema: outputSchema37,
7054
+ inputSchema: inputSchema43.shape,
7055
+ outputSchema: outputSchema39,
6463
7056
  slices: ["read"],
6464
7057
  annotations: { readOnlyHint: true },
6465
7058
  handler: async (params) => {
@@ -6468,10 +7061,10 @@ var tool41 = {
6468
7061
  );
6469
7062
  }
6470
7063
  };
6471
- var get_applied_personalization_segment_default = withStandardDecorators(tool41);
7064
+ var get_applied_personalization_segment_default = withStandardDecorators(tool43);
6472
7065
 
6473
7066
  // src/umbraco-api/tools/applied-personalization/index.ts
6474
- var collection8 = {
7067
+ var collection7 = {
6475
7068
  metadata: {
6476
7069
  name: "applied-personalization",
6477
7070
  displayName: "Applied Personalization",
@@ -6479,12 +7072,12 @@ var collection8 = {
6479
7072
  },
6480
7073
  tools: () => [delete_applied_personalization_default, post_applied_personalization_default, get_applied_personalization_all_default, get_applied_personalization_id_default, post_applied_personalization_segment_default, get_applied_personalization_segment_default]
6481
7074
  };
6482
- var applied_personalization_default = collection8;
6483
- var inputSchema42 = z.object({ id: z.uuid() });
6484
- var tool42 = {
7075
+ var applied_personalization_default = collection7;
7076
+ var inputSchema44 = z.object({ id: z.uuid() });
7077
+ var tool44 = {
6485
7078
  name: "delete-campaign-group",
6486
7079
  description: "Delete a campaign group by its `id`, which is the group's `unique` guid, not the numeric `id` field on the entity itself. Idempotent - deleting a non-existent id succeeds rather than erroring.",
6487
- inputSchema: inputSchema42.shape,
7080
+ inputSchema: inputSchema44.shape,
6488
7081
  slices: ["delete"],
6489
7082
  annotations: { destructiveHint: true },
6490
7083
  handler: async (params) => {
@@ -6493,14 +7086,14 @@ var tool42 = {
6493
7086
  );
6494
7087
  }
6495
7088
  };
6496
- var delete_campaign_group_default = withStandardDecorators(tool42);
6497
- var inputSchema43 = z.object({ id: z.uuid() });
6498
- var outputSchema38 = getCampaignGroupResponse;
6499
- var tool43 = {
7089
+ var delete_campaign_group_default = withStandardDecorators(tool44);
7090
+ var inputSchema45 = z.object({ id: z.uuid() });
7091
+ var outputSchema40 = getCampaignGroupResponse;
7092
+ var tool45 = {
6500
7093
  name: "get-campaign-group",
6501
7094
  description: "Get a single campaign group by its `id`, which is the group's `unique` guid (as returned by post-campaign-group/get-campaign-group-all) - not the numeric `id` field on the entity itself. The response's personaScoring[].personaId and customerJourneyScoring[].customerJourneyStepId are bare foreign keys with no name attached - look them up via the persona/customer-journey collections if a human-readable label is needed.",
6502
- inputSchema: inputSchema43.shape,
6503
- outputSchema: outputSchema38,
7095
+ inputSchema: inputSchema45.shape,
7096
+ outputSchema: outputSchema40,
6504
7097
  slices: ["read"],
6505
7098
  annotations: { readOnlyHint: true },
6506
7099
  handler: async (params) => {
@@ -6509,8 +7102,8 @@ var tool43 = {
6509
7102
  );
6510
7103
  }
6511
7104
  };
6512
- var get_campaign_group_default = withStandardDecorators(tool43);
6513
- var inputSchema44 = z.object({
7105
+ var get_campaign_group_default = withStandardDecorators(tool45);
7106
+ var inputSchema46 = z.object({
6514
7107
  id: postCampaignGroupBody.shape.id.optional().describe("Omit to create a new group. Supply the existing numeric id to update it."),
6515
7108
  unique: postCampaignGroupBody.shape.unique.optional().describe("Omit to create a new group (server-generated). Supply the existing guid to update it."),
6516
7109
  name: z.string().nullish(),
@@ -6520,12 +7113,12 @@ var inputSchema44 = z.object({
6520
7113
  customerJourneyScoring: postCampaignGroupBody.shape.customerJourneyScoring.default([]),
6521
7114
  personaScoring: postCampaignGroupBody.shape.personaScoring.default([])
6522
7115
  });
6523
- var outputSchema39 = postCampaignGroupResponse;
6524
- var tool44 = {
7116
+ var outputSchema41 = postCampaignGroupResponse;
7117
+ var tool46 = {
6525
7118
  name: "post-campaign-group",
6526
7119
  description: "Create a new campaign group, or update an existing one (supply its real `id`/`unique` to update instead of create). A campaign group organizes campaigns and optionally links persona/customer-journey scoring rules to them.",
6527
- inputSchema: inputSchema44.shape,
6528
- outputSchema: outputSchema39,
7120
+ inputSchema: inputSchema46.shape,
7121
+ outputSchema: outputSchema41,
6529
7122
  slices: ["create", "update"],
6530
7123
  annotations: { destructiveHint: false, idempotentHint: false },
6531
7124
  handler: async (params) => {
@@ -6545,14 +7138,14 @@ var tool44 = {
6545
7138
  );
6546
7139
  }
6547
7140
  };
6548
- var post_campaign_group_default = withStandardDecorators(tool44);
6549
- var inputSchema45 = z.object({});
6550
- var outputSchema40 = z.object({ items: getCampaignGroupAllResponse });
6551
- var tool45 = {
7141
+ var post_campaign_group_default = withStandardDecorators(tool46);
7142
+ var inputSchema47 = z.object({});
7143
+ var outputSchema42 = z.object({ items: getCampaignGroupAllResponse });
7144
+ var tool47 = {
6552
7145
  name: "get-campaign-group-all",
6553
7146
  description: "List every campaign group, each with its full campaigns/persona-scoring/customer-journey-scoring associations. Unfiltered and unpaginated. Each item's `unique` guid is what get-campaign-group/delete-campaign-group expect as `id`. See get-campaign-group-unscored for UTM tag combinations seen in real traffic that aren't yet assigned to any campaign group.",
6554
- inputSchema: inputSchema45.shape,
6555
- outputSchema: outputSchema40,
7147
+ inputSchema: inputSchema47.shape,
7148
+ outputSchema: outputSchema42,
6556
7149
  slices: ["list"],
6557
7150
  annotations: { readOnlyHint: true },
6558
7151
  handler: async () => {
@@ -6565,14 +7158,14 @@ var tool45 = {
6565
7158
  return result;
6566
7159
  }
6567
7160
  };
6568
- var get_campaign_group_all_default = withStandardDecorators(tool45);
6569
- var inputSchema46 = z.object({});
6570
- var outputSchema41 = z.object({ items: getCampaignGroupUnscoredResponse });
6571
- var tool46 = {
7161
+ var get_campaign_group_all_default = withStandardDecorators(tool47);
7162
+ var inputSchema48 = z.object({});
7163
+ var outputSchema43 = z.object({ items: getCampaignGroupUnscoredResponse });
7164
+ var tool48 = {
6572
7165
  name: "get-campaign-group-unscored",
6573
7166
  description: "List distinct UTM tag combinations (utmSource/utmMedium/utmCampaign/etc.) observed in real traffic that are not yet assigned to any campaign group - each item is a bare UTM tuple with no group/id attached. Use post-campaign-group to create a group and assign these combinations to it via that call's `campaigns` array.",
6574
- inputSchema: inputSchema46.shape,
6575
- outputSchema: outputSchema41,
7167
+ inputSchema: inputSchema48.shape,
7168
+ outputSchema: outputSchema43,
6576
7169
  slices: ["list"],
6577
7170
  annotations: { readOnlyHint: true },
6578
7171
  handler: async () => {
@@ -6585,14 +7178,14 @@ var tool46 = {
6585
7178
  return result;
6586
7179
  }
6587
7180
  };
6588
- var get_campaign_group_unscored_default = withStandardDecorators(tool46);
6589
- var inputSchema47 = getCampaignGroupVisitorsQueryParams;
6590
- var outputSchema42 = getCampaignGroupVisitorsResponse;
6591
- var tool47 = {
7181
+ var get_campaign_group_unscored_default = withStandardDecorators(tool48);
7182
+ var inputSchema49 = getCampaignGroupVisitorsQueryParams;
7183
+ var outputSchema44 = getCampaignGroupVisitorsResponse;
7184
+ var tool49 = {
6592
7185
  name: "get-campaign-group-visitors",
6593
7186
  description: "Get visitor counts per campaign group over the last `amountOfDays` days (default period if omitted is not documented upstream). Response is a string-keyed map to visitor counts - the exact key semantics (campaign group name vs id) are unconfirmed, since this has only been observed returning an empty map on a test instance with no matching data.",
6594
- inputSchema: inputSchema47.shape,
6595
- outputSchema: outputSchema42,
7187
+ inputSchema: inputSchema49.shape,
7188
+ outputSchema: outputSchema44,
6596
7189
  slices: ["read"],
6597
7190
  annotations: { readOnlyHint: true },
6598
7191
  handler: async (params) => {
@@ -6601,10 +7194,10 @@ var tool47 = {
6601
7194
  );
6602
7195
  }
6603
7196
  };
6604
- var get_campaign_group_visitors_default = withStandardDecorators(tool47);
7197
+ var get_campaign_group_visitors_default = withStandardDecorators(tool49);
6605
7198
 
6606
7199
  // src/umbraco-api/tools/campaign-group/index.ts
6607
- var collection9 = {
7200
+ var collection8 = {
6608
7201
  metadata: {
6609
7202
  name: "campaign-group",
6610
7203
  displayName: "Campaign Group",
@@ -6612,18 +7205,18 @@ var collection9 = {
6612
7205
  },
6613
7206
  tools: () => [delete_campaign_group_default, get_campaign_group_default, post_campaign_group_default, get_campaign_group_all_default, get_campaign_group_unscored_default, get_campaign_group_visitors_default]
6614
7207
  };
6615
- var campaign_group_default = collection9;
6616
- var inputSchema48 = getCampaignsQueryParams.extend({
7208
+ var campaign_group_default = collection8;
7209
+ var inputSchema50 = getCampaignsQueryParams.extend({
6617
7210
  visitorId: getCampaignsQueryParams.shape.visitorId.describe(
6618
7211
  "The numeric visitor id (same id used by get-profile-details) to scope results to one visitor's campaign touchpoints. Omitting it returns campaign touchpoints across the entire installation, unfiltered and unpaginated."
6619
7212
  )
6620
7213
  });
6621
- var outputSchema43 = z.object({ items: getCampaignsResponse });
6622
- var tool48 = {
7214
+ var outputSchema45 = z.object({ items: getCampaignsResponse });
7215
+ var tool50 = {
6623
7216
  name: "get-campaigns",
6624
7217
  description: "List UTM campaign-attribution touchpoints (source/medium/campaign name + timestamp) recorded for visitors. Pass `visitorId` to scope to one visitor - omitting it returns every touchpoint across the whole installation.",
6625
- inputSchema: inputSchema48.shape,
6626
- outputSchema: outputSchema43,
7218
+ inputSchema: inputSchema50.shape,
7219
+ outputSchema: outputSchema45,
6627
7220
  slices: ["list"],
6628
7221
  annotations: { readOnlyHint: true },
6629
7222
  handler: async (params) => {
@@ -6636,10 +7229,10 @@ var tool48 = {
6636
7229
  return result;
6637
7230
  }
6638
7231
  };
6639
- var get_campaigns_default = withStandardDecorators(tool48);
7232
+ var get_campaigns_default = withStandardDecorators(tool50);
6640
7233
 
6641
7234
  // src/umbraco-api/tools/campaigns/index.ts
6642
- var collection10 = {
7235
+ var collection9 = {
6643
7236
  metadata: {
6644
7237
  name: "campaigns",
6645
7238
  displayName: "Campaigns",
@@ -6647,14 +7240,14 @@ var collection10 = {
6647
7240
  },
6648
7241
  tools: () => [get_campaigns_default]
6649
7242
  };
6650
- var campaigns_default = collection10;
6651
- var inputSchema49 = z.object({});
6652
- var outputSchema44 = getConfigurationResponse;
6653
- var tool49 = {
7243
+ var campaigns_default = collection9;
7244
+ var inputSchema51 = z.object({});
7245
+ var outputSchema46 = getConfigurationResponse;
7246
+ var tool51 = {
6654
7247
  name: "get-configuration",
6655
7248
  description: "Get Umbraco Engage's installation-wide configuration (analytics tracking, A/B testing, persona profiling, reporting schedule, cockpit auth, data retention, etc.). Read-only - there is no corresponding update tool; settings are changed via server configuration files, not this API.",
6656
- inputSchema: inputSchema49.shape,
6657
- outputSchema: outputSchema44,
7249
+ inputSchema: inputSchema51.shape,
7250
+ outputSchema: outputSchema46,
6658
7251
  slices: ["read"],
6659
7252
  annotations: { readOnlyHint: true },
6660
7253
  handler: async () => {
@@ -6663,10 +7256,10 @@ var tool49 = {
6663
7256
  );
6664
7257
  }
6665
7258
  };
6666
- var get_configuration_default = withStandardDecorators(tool49);
7259
+ var get_configuration_default = withStandardDecorators(tool51);
6667
7260
 
6668
7261
  // src/umbraco-api/tools/configuration/index.ts
6669
- var collection11 = {
7262
+ var collection10 = {
6670
7263
  metadata: {
6671
7264
  name: "configuration",
6672
7265
  displayName: "Configuration",
@@ -6674,14 +7267,14 @@ var collection11 = {
6674
7267
  },
6675
7268
  tools: () => [get_configuration_default]
6676
7269
  };
6677
- var configuration_default = collection11;
6678
- var inputSchema50 = z.object({ unique: z.uuid() });
6679
- var outputSchema45 = getContentScoringAllResponse;
6680
- var tool50 = {
7270
+ var configuration_default = collection10;
7271
+ var inputSchema52 = z.object({ unique: z.uuid() });
7272
+ var outputSchema47 = getContentScoringAllResponse;
7273
+ var tool52 = {
6681
7274
  name: "get-content-scoring-all",
6682
7275
  description: "List content-scoring rows (persona/customer-journey scores) for a specific document, identified by its `unique` id. Each row's `entityId` is a persona-segment or journey-step's own sub-entity id (from get-persona-details/customer-journey tools), not the persona/journey's own id. Use this to check current scores/lock state before saving new ones via post-content-scoring-save, or to find a row's `id` before deleting it.",
6683
- inputSchema: inputSchema50.shape,
6684
- outputSchema: outputSchema45,
7276
+ inputSchema: inputSchema52.shape,
7277
+ outputSchema: outputSchema47,
6685
7278
  slices: ["list"],
6686
7279
  annotations: { readOnlyHint: true },
6687
7280
  handler: async (params) => {
@@ -6690,14 +7283,14 @@ var tool50 = {
6690
7283
  );
6691
7284
  }
6692
7285
  };
6693
- var get_content_scoring_all_default = withStandardDecorators(tool50);
6694
- var inputSchema51 = z.object({});
6695
- var outputSchema46 = z.object({ csv: z.string() });
6696
- var tool51 = {
7286
+ var get_content_scoring_all_default = withStandardDecorators(tool52);
7287
+ var inputSchema53 = z.object({});
7288
+ var outputSchema48 = z.object({ csv: z.string() });
7289
+ var tool53 = {
6697
7290
  name: "get-content-scoring-export-customer-journey",
6698
7291
  description: "Export all customer-journey content-scoring data as CSV text (header row starts with ContentLink, ContentName - further columns depend on which journey steps have scored content). Returns the full, unfiltered dataset - use get-content-scoring-all instead to query scores for one specific document.",
6699
- inputSchema: inputSchema51.shape,
6700
- outputSchema: outputSchema46,
7292
+ inputSchema: inputSchema53.shape,
7293
+ outputSchema: outputSchema48,
6701
7294
  slices: ["read"],
6702
7295
  annotations: { readOnlyHint: true },
6703
7296
  handler: async () => {
@@ -6710,14 +7303,14 @@ var tool51 = {
6710
7303
  return result;
6711
7304
  }
6712
7305
  };
6713
- var get_content_scoring_export_customer_journey_default = withStandardDecorators(tool51);
6714
- var inputSchema52 = z.object({});
6715
- var outputSchema47 = z.object({ csv: z.string() });
6716
- var tool52 = {
7306
+ var get_content_scoring_export_customer_journey_default = withStandardDecorators(tool53);
7307
+ var inputSchema54 = z.object({});
7308
+ var outputSchema49 = z.object({ csv: z.string() });
7309
+ var tool54 = {
6717
7310
  name: "get-content-scoring-export-persona",
6718
7311
  description: "Export all persona content-scoring data as CSV text (header row starts with ContentLink, ContentName - further columns depend on which personas have scored content). Returns the full, unfiltered dataset - use get-content-scoring-all instead to query scores for one specific document.",
6719
- inputSchema: inputSchema52.shape,
6720
- outputSchema: outputSchema47,
7312
+ inputSchema: inputSchema54.shape,
7313
+ outputSchema: outputSchema49,
6721
7314
  slices: ["read"],
6722
7315
  annotations: { readOnlyHint: true },
6723
7316
  handler: async () => {
@@ -6730,12 +7323,12 @@ var tool52 = {
6730
7323
  return result;
6731
7324
  }
6732
7325
  };
6733
- var get_content_scoring_export_persona_default = withStandardDecorators(tool52);
6734
- var inputSchema53 = z.object({ id: z.number() });
6735
- var tool53 = {
7326
+ var get_content_scoring_export_persona_default = withStandardDecorators(tool54);
7327
+ var inputSchema55 = z.object({ id: z.number() });
7328
+ var tool55 = {
6736
7329
  name: "delete-content-scoring-journey",
6737
7330
  description: "Delete a Journey-type content-scoring row by its own `id` (from get-content-scoring-all) - not the document's `documentUnique` or the journey-step's `entityId`. Use delete-content-scoring-persona instead for Persona-type rows. Deleting a non-existent id succeeds without error.",
6738
- inputSchema: inputSchema53.shape,
7331
+ inputSchema: inputSchema55.shape,
6739
7332
  slices: ["delete"],
6740
7333
  annotations: { destructiveHint: true },
6741
7334
  handler: async (params) => {
@@ -6744,12 +7337,12 @@ var tool53 = {
6744
7337
  );
6745
7338
  }
6746
7339
  };
6747
- var delete_content_scoring_journey_default = withStandardDecorators(tool53);
6748
- var inputSchema54 = z.object({ id: z.number() });
6749
- var tool54 = {
7340
+ var delete_content_scoring_journey_default = withStandardDecorators(tool55);
7341
+ var inputSchema56 = z.object({ id: z.number() });
7342
+ var tool56 = {
6750
7343
  name: "delete-content-scoring-persona",
6751
7344
  description: "Delete a Persona-type content-scoring row by its own `id` (from get-content-scoring-all) - not the document's `documentUnique` or the persona-segment's `entityId`. Use delete-content-scoring-journey instead for Journey-type rows. Deleting a non-existent id succeeds without error.",
6752
- inputSchema: inputSchema54.shape,
7345
+ inputSchema: inputSchema56.shape,
6753
7346
  slices: ["delete"],
6754
7347
  annotations: { destructiveHint: true },
6755
7348
  handler: async (params) => {
@@ -6758,8 +7351,8 @@ var tool54 = {
6758
7351
  );
6759
7352
  }
6760
7353
  };
6761
- var delete_content_scoring_persona_default = withStandardDecorators(tool54);
6762
- var inputSchema55 = z.object({
7354
+ var delete_content_scoring_persona_default = withStandardDecorators(tool56);
7355
+ var inputSchema57 = z.object({
6763
7356
  items: postContentScoringSaveBody.element.extend({
6764
7357
  id: postContentScoringSaveBody.element.shape.id.describe(
6765
7358
  "0 to create a new row; an existing row's `id` (from get-content-scoring-all) to update it."
@@ -6772,10 +7365,10 @@ var inputSchema55 = z.object({
6772
7365
  )
6773
7366
  }).array()
6774
7367
  });
6775
- var tool55 = {
7368
+ var tool57 = {
6776
7369
  name: "post-content-scoring-save",
6777
7370
  description: "Save (create or update) one or more content-scoring rows, each linking a document (`documentUnique`) to a persona-segment or customer-journey-step (`entityId`, per `type`) with a numeric `score`. This call is void - it does not return the saved row(s)' real `id`; call get-content-scoring-all afterward and match on `entityId`/`documentUnique` to find it (e.g. before deleting it later). Use delete-content-scoring-persona/-journey (matching `type`) to remove a row.",
6778
- inputSchema: inputSchema55.shape,
7371
+ inputSchema: inputSchema57.shape,
6779
7372
  slices: ["create"],
6780
7373
  annotations: { destructiveHint: false, idempotentHint: false },
6781
7374
  handler: async (params) => {
@@ -6784,10 +7377,10 @@ var tool55 = {
6784
7377
  );
6785
7378
  }
6786
7379
  };
6787
- var post_content_scoring_save_default = withStandardDecorators(tool55);
7380
+ var post_content_scoring_save_default = withStandardDecorators(tool57);
6788
7381
 
6789
7382
  // src/umbraco-api/tools/content-scoring/index.ts
6790
- var collection12 = {
7383
+ var collection11 = {
6791
7384
  metadata: {
6792
7385
  name: "content-scoring",
6793
7386
  displayName: "Content Scoring",
@@ -6795,14 +7388,14 @@ var collection12 = {
6795
7388
  },
6796
7389
  tools: () => [get_content_scoring_all_default, get_content_scoring_export_customer_journey_default, get_content_scoring_export_persona_default, delete_content_scoring_journey_default, delete_content_scoring_persona_default, post_content_scoring_save_default]
6797
7390
  };
6798
- var content_scoring_default = collection12;
6799
- var inputSchema56 = z.object({});
6800
- var outputSchema48 = z.object({ items: getContentTypesAllResponse });
6801
- var tool56 = {
7391
+ var content_scoring_default = collection11;
7392
+ var inputSchema58 = z.object({});
7393
+ var outputSchema50 = z.object({ items: getContentTypesAllResponse });
7394
+ var tool58 = {
6802
7395
  name: "get-content-types-all",
6803
7396
  description: "List the Umbraco document types tracked by Engage, each with its numeric `id`, `alias`, and `name`. Note: get-content-types-segmented-property identifies a document type by a different, guid-shaped `unique` value - not this tool's numeric `id`.",
6804
- inputSchema: inputSchema56.shape,
6805
- outputSchema: outputSchema48,
7397
+ inputSchema: inputSchema58.shape,
7398
+ outputSchema: outputSchema50,
6806
7399
  slices: ["list"],
6807
7400
  annotations: { readOnlyHint: true },
6808
7401
  handler: async () => {
@@ -6815,14 +7408,14 @@ var tool56 = {
6815
7408
  return result;
6816
7409
  }
6817
7410
  };
6818
- var get_content_types_all_default = withStandardDecorators(tool56);
6819
- var inputSchema57 = getContentTypesSegmentedPropertyQueryParams;
6820
- var outputSchema49 = getContentTypesSegmentedPropertyResponse;
6821
- var tool57 = {
7411
+ var get_content_types_all_default = withStandardDecorators(tool58);
7412
+ var inputSchema59 = getContentTypesSegmentedPropertyQueryParams;
7413
+ var outputSchema51 = getContentTypesSegmentedPropertyResponse;
7414
+ var tool59 = {
6822
7415
  name: "get-content-types-segmented-property",
6823
7416
  description: "Check whether a document type (identified by its guid-shaped `unique`, not the numeric `id` from get-content-types-all) has a property configured for Engage content segmentation/personalization. Returns `{ hasSegmentedProperty: boolean, cultureSharedSegmentedProperties: string[] }` - the second lists segmented properties shared across cultures.",
6824
- inputSchema: inputSchema57.shape,
6825
- outputSchema: outputSchema49,
7417
+ inputSchema: inputSchema59.shape,
7418
+ outputSchema: outputSchema51,
6826
7419
  slices: ["read"],
6827
7420
  annotations: { readOnlyHint: true },
6828
7421
  handler: async (params) => {
@@ -6831,10 +7424,10 @@ var tool57 = {
6831
7424
  );
6832
7425
  }
6833
7426
  };
6834
- var get_content_types_segmented_property_default = withStandardDecorators(tool57);
7427
+ var get_content_types_segmented_property_default = withStandardDecorators(tool59);
6835
7428
 
6836
7429
  // src/umbraco-api/tools/content-types/index.ts
6837
- var collection13 = {
7430
+ var collection12 = {
6838
7431
  metadata: {
6839
7432
  name: "content-types",
6840
7433
  displayName: "Content Types",
@@ -6842,18 +7435,18 @@ var collection13 = {
6842
7435
  },
6843
7436
  tools: () => [get_content_types_all_default, get_content_types_segmented_property_default]
6844
7437
  };
6845
- var content_types_default = collection13;
6846
- var inputSchema58 = getCulturesQueryParams.extend({
7438
+ var content_types_default = collection12;
7439
+ var inputSchema60 = getCulturesQueryParams.extend({
6847
7440
  id: getCulturesQueryParams.shape.id.describe(
6848
7441
  "Optional numeric id to filter to a single culture record. Omit to list all cultures."
6849
7442
  )
6850
7443
  });
6851
- var outputSchema50 = z.object({ items: getCulturesResponse });
6852
- var tool58 = {
7444
+ var outputSchema52 = z.object({ items: getCulturesResponse });
7445
+ var tool60 = {
6853
7446
  name: "get-cultures",
6854
7447
  description: "List the visitor cultures/locales tracked by Umbraco Engage analytics.",
6855
- inputSchema: inputSchema58.shape,
6856
- outputSchema: outputSchema50,
7448
+ inputSchema: inputSchema60.shape,
7449
+ outputSchema: outputSchema52,
6857
7450
  slices: ["list"],
6858
7451
  annotations: { readOnlyHint: true },
6859
7452
  handler: async (params) => {
@@ -6866,10 +7459,10 @@ var tool58 = {
6866
7459
  return result;
6867
7460
  }
6868
7461
  };
6869
- var get_cultures_default = withStandardDecorators(tool58);
7462
+ var get_cultures_default = withStandardDecorators(tool60);
6870
7463
 
6871
7464
  // src/umbraco-api/tools/cultures/index.ts
6872
- var collection14 = {
7465
+ var collection13 = {
6873
7466
  metadata: {
6874
7467
  name: "cultures",
6875
7468
  displayName: "Cultures",
@@ -6877,14 +7470,14 @@ var collection14 = {
6877
7470
  },
6878
7471
  tools: () => [get_cultures_default]
6879
7472
  };
6880
- var cultures_default = collection14;
6881
- var inputSchema59 = z.object({ id: z.uuid() });
6882
- var outputSchema51 = deleteCustomerJourneyResponse;
6883
- var tool59 = {
7473
+ var cultures_default = collection13;
7474
+ var inputSchema61 = z.object({ id: z.uuid() });
7475
+ var outputSchema53 = deleteCustomerJourneyResponse;
7476
+ var tool61 = {
6884
7477
  name: "delete-customer-journey",
6885
7478
  description: "Delete a customer journey by its `id` - the journey's `unique` guid, not any other identifier. Returns HTTP 200 with { isValid, warnings, errors } rather than an error result on failure - check `isValid` to confirm deletion succeeded.",
6886
- inputSchema: inputSchema59.shape,
6887
- outputSchema: outputSchema51,
7479
+ inputSchema: inputSchema61.shape,
7480
+ outputSchema: outputSchema53,
6888
7481
  slices: ["delete"],
6889
7482
  annotations: { destructiveHint: true },
6890
7483
  handler: async (params) => {
@@ -6893,8 +7486,8 @@ var tool59 = {
6893
7486
  );
6894
7487
  }
6895
7488
  };
6896
- var delete_customer_journey_default = withStandardDecorators(tool59);
6897
- var inputSchema60 = z.object({
7489
+ var delete_customer_journey_default = withStandardDecorators(tool61);
7490
+ var inputSchema62 = z.object({
6898
7491
  title: z.string().nullish(),
6899
7492
  description: z.string().nullish(),
6900
7493
  steps: z.array(z.object({
@@ -6911,12 +7504,12 @@ var inputSchema60 = z.object({
6911
7504
  expiration: z.number().default(0),
6912
7505
  upperScoreLimit: z.number().default(10)
6913
7506
  });
6914
- var outputSchema52 = postCustomerJourneyResponse;
6915
- var tool60 = {
7507
+ var outputSchema54 = postCustomerJourneyResponse;
7508
+ var tool62 = {
6916
7509
  name: "post-customer-journey",
6917
7510
  description: "Create a new customer journey (a named sequence of steps used to score visitor progression). Threshold/deviation/limit fields default to the same starting values get-customer-journey-empty returns. The server always assigns its own id/unique - this always creates a new journey, it does not update an existing one by id.",
6918
- inputSchema: inputSchema60.shape,
6919
- outputSchema: outputSchema52,
7511
+ inputSchema: inputSchema62.shape,
7512
+ outputSchema: outputSchema54,
6920
7513
  slices: ["create"],
6921
7514
  annotations: { destructiveHint: false, idempotentHint: false },
6922
7515
  handler: async (params) => {
@@ -6959,14 +7552,14 @@ var tool60 = {
6959
7552
  );
6960
7553
  }
6961
7554
  };
6962
- var post_customer_journey_default = withStandardDecorators(tool60);
6963
- var inputSchema61 = z.object({});
6964
- var outputSchema53 = z.object({ items: getCustomerJourneyAllResponse });
6965
- var tool61 = {
7555
+ var post_customer_journey_default = withStandardDecorators(tool62);
7556
+ var inputSchema63 = z.object({});
7557
+ var outputSchema55 = z.object({ items: getCustomerJourneyAllResponse });
7558
+ var tool63 = {
6966
7559
  name: "get-customer-journey-all",
6967
7560
  description: "List all configured customer journeys (named step sequences used to score visitor progression), each with its full steps array. Each item's `unique` guid is what get-customer-journey-details/delete-customer-journey expect as `id`.",
6968
- inputSchema: inputSchema61.shape,
6969
- outputSchema: outputSchema53,
7561
+ inputSchema: inputSchema63.shape,
7562
+ outputSchema: outputSchema55,
6970
7563
  slices: ["list"],
6971
7564
  annotations: { readOnlyHint: true },
6972
7565
  handler: async () => {
@@ -6979,14 +7572,14 @@ var tool61 = {
6979
7572
  return result;
6980
7573
  }
6981
7574
  };
6982
- var get_customer_journey_all_default = withStandardDecorators(tool61);
6983
- var inputSchema62 = z.object({ id: z.uuid() });
6984
- var outputSchema54 = getCustomerJourneyDetailsResponse;
6985
- var tool62 = {
7575
+ var get_customer_journey_all_default = withStandardDecorators(tool63);
7576
+ var inputSchema64 = z.object({ id: z.uuid() });
7577
+ var outputSchema56 = getCustomerJourneyDetailsResponse;
7578
+ var tool64 = {
6986
7579
  name: "get-customer-journey-details",
6987
7580
  description: "Get a single customer journey and its full steps array by its `id` - the journey's `unique` guid (from get-customer-journey-all or a post-customer-journey response), not any other identifier.",
6988
- inputSchema: inputSchema62.shape,
6989
- outputSchema: outputSchema54,
7581
+ inputSchema: inputSchema64.shape,
7582
+ outputSchema: outputSchema56,
6990
7583
  slices: ["read"],
6991
7584
  annotations: { readOnlyHint: true },
6992
7585
  handler: async (params) => {
@@ -6995,14 +7588,14 @@ var tool62 = {
6995
7588
  );
6996
7589
  }
6997
7590
  };
6998
- var get_customer_journey_details_default = withStandardDecorators(tool62);
6999
- var inputSchema63 = z.object({});
7000
- var outputSchema55 = getCustomerJourneyEmptyResponse;
7001
- var tool63 = {
7591
+ var get_customer_journey_details_default = withStandardDecorators(tool64);
7592
+ var inputSchema65 = z.object({});
7593
+ var outputSchema57 = getCustomerJourneyEmptyResponse;
7594
+ var tool65 = {
7002
7595
  name: "get-customer-journey-empty",
7003
7596
  description: "Get a blank customer journey template with default field values (no steps, minimumDeviationType 'Absolute', expirationType 'never'). Useful for inspecting the shape/defaults post-customer-journey expects - not required to create a journey, since post-customer-journey applies the same defaults internally when fields are omitted.",
7004
- inputSchema: inputSchema63.shape,
7005
- outputSchema: outputSchema55,
7597
+ inputSchema: inputSchema65.shape,
7598
+ outputSchema: outputSchema57,
7006
7599
  slices: ["other"],
7007
7600
  annotations: { readOnlyHint: true },
7008
7601
  handler: async () => {
@@ -7011,12 +7604,12 @@ var tool63 = {
7011
7604
  );
7012
7605
  }
7013
7606
  };
7014
- var get_customer_journey_empty_default = withStandardDecorators(tool63);
7015
- var inputSchema64 = postCustomerJourneyLockBody;
7016
- var tool64 = {
7607
+ var get_customer_journey_empty_default = withStandardDecorators(tool65);
7608
+ var inputSchema66 = postCustomerJourneyLockBody;
7609
+ var tool66 = {
7017
7610
  name: "post-customer-journey-lock",
7018
7611
  description: "Lock a visitor's customer-journey-step score assignment (`entityId` is the journey step's id, `visitorId` the visitor's profile id), pinning it so automatic scoring no longer updates it. Requires a real visitor with existing tracking history - a non-existent visitor/entity pair errors.",
7019
- inputSchema: inputSchema64.shape,
7612
+ inputSchema: inputSchema66.shape,
7020
7613
  slices: ["update"],
7021
7614
  annotations: { destructiveHint: false, idempotentHint: true },
7022
7615
  handler: async (params) => {
@@ -7025,12 +7618,12 @@ var tool64 = {
7025
7618
  );
7026
7619
  }
7027
7620
  };
7028
- var post_customer_journey_lock_default = withStandardDecorators(tool64);
7029
- var inputSchema65 = postCustomerJourneyUnlockBody;
7030
- var tool65 = {
7621
+ var post_customer_journey_lock_default = withStandardDecorators(tool66);
7622
+ var inputSchema67 = postCustomerJourneyUnlockBody;
7623
+ var tool67 = {
7031
7624
  name: "post-customer-journey-unlock",
7032
7625
  description: "Unlock a visitor's customer-journey-step score assignment previously locked via post-customer-journey-lock (`entityId` is the journey step's id, `visitorId` the visitor's profile id), letting automatic scoring resume updating it.",
7033
- inputSchema: inputSchema65.shape,
7626
+ inputSchema: inputSchema67.shape,
7034
7627
  slices: ["update"],
7035
7628
  annotations: { destructiveHint: false, idempotentHint: true },
7036
7629
  handler: async (params) => {
@@ -7039,10 +7632,10 @@ var tool65 = {
7039
7632
  );
7040
7633
  }
7041
7634
  };
7042
- var post_customer_journey_unlock_default = withStandardDecorators(tool65);
7635
+ var post_customer_journey_unlock_default = withStandardDecorators(tool67);
7043
7636
 
7044
7637
  // src/umbraco-api/tools/customer-journey/index.ts
7045
- var collection15 = {
7638
+ var collection14 = {
7046
7639
  metadata: {
7047
7640
  name: "customer-journey",
7048
7641
  displayName: "Customer Journey",
@@ -7050,14 +7643,14 @@ var collection15 = {
7050
7643
  },
7051
7644
  tools: () => [delete_customer_journey_default, post_customer_journey_default, get_customer_journey_all_default, get_customer_journey_details_default, get_customer_journey_empty_default, post_customer_journey_lock_default, post_customer_journey_unlock_default]
7052
7645
  };
7053
- var customer_journey_default = collection15;
7054
- var inputSchema66 = z.object({});
7055
- var outputSchema56 = getDataCleanupLastRunResponse;
7056
- var tool66 = {
7646
+ var customer_journey_default = collection14;
7647
+ var inputSchema68 = z.object({});
7648
+ var outputSchema58 = getDataCleanupLastRunResponse;
7649
+ var tool68 = {
7057
7650
  name: "get-data-cleanup-last-run",
7058
7651
  description: "Get the status of the most recently completed Engage data-cleanup job (a single record, not history). See get-data-cleanup-runs for historical runs with per-table breakdown, or get-data-cleanup-logs for flat per-table log entries.",
7059
- inputSchema: inputSchema66.shape,
7060
- outputSchema: outputSchema56,
7652
+ inputSchema: inputSchema68.shape,
7653
+ outputSchema: outputSchema58,
7061
7654
  slices: ["read"],
7062
7655
  annotations: { readOnlyHint: true },
7063
7656
  handler: async () => {
@@ -7066,14 +7659,14 @@ var tool66 = {
7066
7659
  );
7067
7660
  }
7068
7661
  };
7069
- var get_data_cleanup_last_run_default = withStandardDecorators(tool66);
7070
- var inputSchema67 = getDataCleanupLogsQueryParams;
7071
- var outputSchema57 = getDataCleanupLogsResponse;
7072
- var tool67 = {
7662
+ var get_data_cleanup_last_run_default = withStandardDecorators(tool68);
7663
+ var inputSchema69 = getDataCleanupLogsQueryParams;
7664
+ var outputSchema59 = getDataCleanupLogsResponse;
7665
+ var tool69 = {
7073
7666
  name: "get-data-cleanup-logs",
7074
7667
  description: "List flat, per-table Engage data-cleanup log entries (one row per table per run) - finer-grained than get-data-cleanup-runs' per-run breakdown. Supports `skip`/`take` pagination; use the response's `total` to know when to stop paging.",
7075
- inputSchema: inputSchema67.shape,
7076
- outputSchema: outputSchema57,
7668
+ inputSchema: inputSchema69.shape,
7669
+ outputSchema: outputSchema59,
7077
7670
  slices: ["list"],
7078
7671
  annotations: { readOnlyHint: true },
7079
7672
  handler: async (params) => {
@@ -7082,14 +7675,14 @@ var tool67 = {
7082
7675
  );
7083
7676
  }
7084
7677
  };
7085
- var get_data_cleanup_logs_default = withStandardDecorators(tool67);
7086
- var inputSchema68 = getDataCleanupRunsQueryParams;
7087
- var outputSchema58 = getDataCleanupRunsResponse;
7088
- var tool68 = {
7678
+ var get_data_cleanup_logs_default = withStandardDecorators(tool69);
7679
+ var inputSchema70 = getDataCleanupRunsQueryParams;
7680
+ var outputSchema60 = getDataCleanupRunsResponse;
7681
+ var tool70 = {
7089
7682
  name: "get-data-cleanup-runs",
7090
7683
  description: "List historical Engage data-cleanup runs, most recent first, each with a per-table `details` breakdown. Supports `skip`/`take` pagination; use the response's `total` to know when to stop paging. See get-data-cleanup-last-run for just the most recent run.",
7091
- inputSchema: inputSchema68.shape,
7092
- outputSchema: outputSchema58,
7684
+ inputSchema: inputSchema70.shape,
7685
+ outputSchema: outputSchema60,
7093
7686
  slices: ["list"],
7094
7687
  annotations: { readOnlyHint: true },
7095
7688
  handler: async (params) => {
@@ -7098,10 +7691,10 @@ var tool68 = {
7098
7691
  );
7099
7692
  }
7100
7693
  };
7101
- var get_data_cleanup_runs_default = withStandardDecorators(tool68);
7694
+ var get_data_cleanup_runs_default = withStandardDecorators(tool70);
7102
7695
 
7103
7696
  // src/umbraco-api/tools/data-cleanup/index.ts
7104
- var collection16 = {
7697
+ var collection15 = {
7105
7698
  metadata: {
7106
7699
  name: "data-cleanup",
7107
7700
  displayName: "Data Cleanup",
@@ -7109,14 +7702,14 @@ var collection16 = {
7109
7702
  },
7110
7703
  tools: () => [get_data_cleanup_last_run_default, get_data_cleanup_logs_default, get_data_cleanup_runs_default]
7111
7704
  };
7112
- var data_cleanup_default = collection16;
7113
- var inputSchema69 = getPermissionsDocumentTypeQueryParams;
7114
- var outputSchema59 = getPermissionsDocumentTypeResponse;
7115
- var tool69 = {
7705
+ var data_cleanup_default = collection15;
7706
+ var inputSchema71 = getPermissionsDocumentTypeQueryParams;
7707
+ var outputSchema61 = getPermissionsDocumentTypeResponse;
7708
+ var tool71 = {
7116
7709
  name: "get-permissions-document-type",
7117
7710
  description: "Get the Engage access-permissions entry for a document type by its `contentTypeId`. Unlike get-permissions-user-group, a contentTypeId with no stored entry does NOT error - it returns a synthetic default entry (id 0, all permission flags true) rather than a genuine stored record. Call this before post-permissions-document-type to check whether a real entry already exists (that tool is insert-only and creating a duplicate permanently breaks get-permissions-document-type-all) - a default (id 0) response means none exists yet.",
7118
- inputSchema: inputSchema69.shape,
7119
- outputSchema: outputSchema59,
7711
+ inputSchema: inputSchema71.shape,
7712
+ outputSchema: outputSchema61,
7120
7713
  slices: ["read"],
7121
7714
  annotations: { readOnlyHint: true },
7122
7715
  handler: async (params) => {
@@ -7125,7 +7718,7 @@ var tool69 = {
7125
7718
  );
7126
7719
  }
7127
7720
  };
7128
- var get_permissions_document_type_default = withStandardDecorators(tool69);
7721
+ var get_permissions_document_type_default = withStandardDecorators(tool71);
7129
7722
  var itemSchema = z.object({
7130
7723
  contentTypeId: postPermissionsDocumentTypeBodyItem.shape.contentTypeId,
7131
7724
  contentTypeName: z.string().nullish(),
@@ -7135,11 +7728,11 @@ var itemSchema = z.object({
7135
7728
  allowApplyPersonalization: z.boolean().default(true),
7136
7729
  updatedByUmbracoUser: z.string().nullish()
7137
7730
  });
7138
- var inputSchema70 = z.object({ items: z.array(itemSchema) });
7139
- var tool70 = {
7731
+ var inputSchema72 = z.object({ items: z.array(itemSchema) });
7732
+ var tool72 = {
7140
7733
  name: "post-permissions-document-type",
7141
7734
  description: "Create Engage permissions entries for one or more document types. CRITICAL: this endpoint is insert-only, never an upsert - calling it again for a `contentTypeId` that already has a stored entry creates a SECOND row for that id, which permanently crashes get-permissions-document-type-all for every caller, with no delete endpoint to recover. Always call get-permissions-document-type first for each contentTypeId to check whether a real entry already exists (a default response with id 0 means none exists yet) before calling this.",
7142
- inputSchema: inputSchema70.shape,
7735
+ inputSchema: inputSchema72.shape,
7143
7736
  slices: ["create"],
7144
7737
  annotations: { destructiveHint: true, idempotentHint: false },
7145
7738
  handler: async (params) => {
@@ -7161,14 +7754,14 @@ var tool70 = {
7161
7754
  );
7162
7755
  }
7163
7756
  };
7164
- var post_permissions_document_type_default = withStandardDecorators(tool70);
7165
- var inputSchema71 = z.object({});
7166
- var outputSchema60 = z.object({ items: getPermissionsDocumentTypeAllResponse });
7167
- var tool71 = {
7757
+ var post_permissions_document_type_default = withStandardDecorators(tool72);
7758
+ var inputSchema73 = z.object({});
7759
+ var outputSchema62 = z.object({ items: getPermissionsDocumentTypeAllResponse });
7760
+ var tool73 = {
7168
7761
  name: "get-permissions-document-type-all",
7169
7762
  description: "List Engage access permissions (analytics, A/B testing, personalization) for every document type that has a stored entry. Not paginated.",
7170
- inputSchema: inputSchema71.shape,
7171
- outputSchema: outputSchema60,
7763
+ inputSchema: inputSchema73.shape,
7764
+ outputSchema: outputSchema62,
7172
7765
  slices: ["list"],
7173
7766
  annotations: { readOnlyHint: true },
7174
7767
  handler: async () => {
@@ -7181,10 +7774,10 @@ var tool71 = {
7181
7774
  return result;
7182
7775
  }
7183
7776
  };
7184
- var get_permissions_document_type_all_default = withStandardDecorators(tool71);
7777
+ var get_permissions_document_type_all_default = withStandardDecorators(tool73);
7185
7778
 
7186
7779
  // src/umbraco-api/tools/document-type-permissions/index.ts
7187
- var collection17 = {
7780
+ var collection16 = {
7188
7781
  metadata: {
7189
7782
  name: "document-type-permissions",
7190
7783
  displayName: "Document Type Permissions",
@@ -7192,7 +7785,7 @@ var collection17 = {
7192
7785
  },
7193
7786
  tools: () => [get_permissions_document_type_default, post_permissions_document_type_default, get_permissions_document_type_all_default]
7194
7787
  };
7195
- var document_type_permissions_default = collection17;
7788
+ var document_type_permissions_default = collection16;
7196
7789
  var scoreTypeSchema = postGoalBody.shape.implicitPersonaScoring.element.shape.scoreType;
7197
7790
  var personaScoringRuleSchema = z.object({
7198
7791
  personaId: z.number().describe("The persona group's numeric id (from get-persona-all)."),
@@ -7216,7 +7809,7 @@ var journeyScoringRuleSchema = z.object({
7216
7809
  isLocked: z.boolean().default(false),
7217
7810
  scoreType: scoreTypeSchema
7218
7811
  });
7219
- var inputSchema72 = z.object({
7812
+ var inputSchema74 = z.object({
7220
7813
  name: postGoalBody.shape.name,
7221
7814
  value: postGoalBody.shape.value,
7222
7815
  goalTypeId: postGoalBody.shape.goalTypeId.describe("A real goal type id, from get-goal-all-types."),
@@ -7229,12 +7822,12 @@ var inputSchema72 = z.object({
7229
7822
  implicitPersonaScoring: z.array(personaScoringRuleSchema).default([]),
7230
7823
  implicitCustomerJourneyStepScoring: z.array(journeyScoringRuleSchema).default([])
7231
7824
  });
7232
- var outputSchema61 = z.object({ unique: postGoalResponse });
7233
- var tool72 = {
7825
+ var outputSchema63 = z.object({ unique: postGoalResponse });
7826
+ var tool74 = {
7234
7827
  name: "post-goal",
7235
7828
  description: "Create a new goal (a trackable conversion event, e.g. a page visit or custom event, used by A/B tests and scoring). Returns the created goal's `unique` guid - pass it as post-ab-test's `goalKey`.",
7236
- inputSchema: inputSchema72.shape,
7237
- outputSchema: outputSchema61,
7829
+ inputSchema: inputSchema74.shape,
7830
+ outputSchema: outputSchema63,
7238
7831
  slices: ["create"],
7239
7832
  annotations: { destructiveHint: false, idempotentHint: false },
7240
7833
  handler: async (params) => {
@@ -7289,14 +7882,14 @@ var tool72 = {
7289
7882
  return result;
7290
7883
  }
7291
7884
  };
7292
- var post_goal_default = withStandardDecorators(tool72);
7293
- var inputSchema73 = postGoalAllBody;
7294
- var outputSchema62 = postGoalAllResponse;
7295
- var tool73 = {
7885
+ var post_goal_default = withStandardDecorators(tool74);
7886
+ var inputSchema75 = postGoalAllBody;
7887
+ var outputSchema64 = postGoalAllResponse;
7888
+ var tool75 = {
7296
7889
  name: "post-goal-all",
7297
7890
  description: "Search goals with pagination, optional name filtering (`filterBy`), sorting (`orderBy`), and an option to include invalid goals. Despite the POST verb, this is read-only - no goal is created or modified. See get-goals-all/get-goals-main for simpler, unpaginated full-array alternatives over the same underlying goals.",
7298
- inputSchema: inputSchema73.shape,
7299
- outputSchema: outputSchema62,
7891
+ inputSchema: inputSchema75.shape,
7892
+ outputSchema: outputSchema64,
7300
7893
  slices: ["search"],
7301
7894
  annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true },
7302
7895
  handler: async (params) => {
@@ -7305,14 +7898,14 @@ var tool73 = {
7305
7898
  );
7306
7899
  }
7307
7900
  };
7308
- var post_goal_all_default = withStandardDecorators(tool73);
7309
- var inputSchema74 = z.object({});
7310
- var outputSchema63 = z.object({ items: getGoalAllTypesResponse });
7311
- var tool74 = {
7901
+ var post_goal_all_default = withStandardDecorators(tool75);
7902
+ var inputSchema76 = z.object({});
7903
+ var outputSchema65 = z.object({ items: getGoalAllTypesResponse });
7904
+ var tool76 = {
7312
7905
  name: "get-goal-all-types",
7313
7906
  description: "List the catalogue of valid goal types (e.g. 'CustomGoal', identified by `configurationEditorAlias`). Use this to find the `id` to pass as post-goal's `goalTypeId`.",
7314
- inputSchema: inputSchema74.shape,
7315
- outputSchema: outputSchema63,
7907
+ inputSchema: inputSchema76.shape,
7908
+ outputSchema: outputSchema65,
7316
7909
  slices: ["list"],
7317
7910
  annotations: { readOnlyHint: true },
7318
7911
  handler: async () => {
@@ -7325,16 +7918,16 @@ var tool74 = {
7325
7918
  return result;
7326
7919
  }
7327
7920
  };
7328
- var get_goal_all_types_default = withStandardDecorators(tool74);
7329
- var inputSchema75 = z.object({
7921
+ var get_goal_all_types_default = withStandardDecorators(tool76);
7922
+ var inputSchema77 = z.object({
7330
7923
  id: z.uuid().describe("The goal's `unique` guid (e.g. from post-goal's response) - not its numeric `id` field.")
7331
7924
  });
7332
- var outputSchema64 = getGoalDetailsResponse;
7333
- var tool75 = {
7925
+ var outputSchema66 = getGoalDetailsResponse;
7926
+ var tool77 = {
7334
7927
  name: "get-goal-details",
7335
7928
  description: "Get a single goal's full details (including implicit scoring rules) by its `id` - the goal's `unique` guid, not its numeric `id` field. Returns 404 for a non-existent id.",
7336
- inputSchema: inputSchema75.shape,
7337
- outputSchema: outputSchema64,
7929
+ inputSchema: inputSchema77.shape,
7930
+ outputSchema: outputSchema66,
7338
7931
  slices: ["read"],
7339
7932
  annotations: { readOnlyHint: true },
7340
7933
  handler: async (params) => {
@@ -7343,10 +7936,10 @@ var tool75 = {
7343
7936
  );
7344
7937
  }
7345
7938
  };
7346
- var get_goal_details_default = withStandardDecorators(tool75);
7939
+ var get_goal_details_default = withStandardDecorators(tool77);
7347
7940
 
7348
7941
  // src/umbraco-api/tools/goal/index.ts
7349
- var collection18 = {
7942
+ var collection17 = {
7350
7943
  metadata: {
7351
7944
  name: "goal",
7352
7945
  displayName: "Goal",
@@ -7354,14 +7947,14 @@ var collection18 = {
7354
7947
  },
7355
7948
  tools: () => [post_goal_default, post_goal_all_default, get_goal_all_types_default, get_goal_details_default]
7356
7949
  };
7357
- var goal_default = collection18;
7358
- var inputSchema76 = z.object({});
7359
- var outputSchema65 = z.object({ items: getGoalsAllResponse });
7360
- var tool76 = {
7950
+ var goal_default = collection17;
7951
+ var inputSchema78 = z.object({});
7952
+ var outputSchema67 = z.object({ items: getGoalsAllResponse });
7953
+ var tool78 = {
7361
7954
  name: "get-goals-all",
7362
7955
  description: "List every goal, unpaginated. A separate collection from the `goal` (singular) tools despite covering the same underlying data - see post-goal-all for a paginated/filterable/sortable alternative, or get-goals-main for only goals flagged as the site's main goal.",
7363
- inputSchema: inputSchema76.shape,
7364
- outputSchema: outputSchema65,
7956
+ inputSchema: inputSchema78.shape,
7957
+ outputSchema: outputSchema67,
7365
7958
  slices: ["list"],
7366
7959
  annotations: { readOnlyHint: true },
7367
7960
  handler: async () => {
@@ -7374,14 +7967,14 @@ var tool76 = {
7374
7967
  return result;
7375
7968
  }
7376
7969
  };
7377
- var get_goals_all_default = withStandardDecorators(tool76);
7378
- var inputSchema77 = z.object({});
7379
- var outputSchema66 = z.object({ items: getGoalsMainResponse });
7380
- var tool77 = {
7970
+ var get_goals_all_default = withStandardDecorators(tool78);
7971
+ var inputSchema79 = z.object({});
7972
+ var outputSchema68 = z.object({ items: getGoalsMainResponse });
7973
+ var tool79 = {
7381
7974
  name: "get-goals-main",
7382
7975
  description: "List goals flagged as 'main' (isMain: true) - a separate collection from the `goal` (singular) tools despite covering similar data. Confirmed empirically: unlike get-goals-all, this filters server-side to isMain:true goals only.",
7383
- inputSchema: inputSchema77.shape,
7384
- outputSchema: outputSchema66,
7976
+ inputSchema: inputSchema79.shape,
7977
+ outputSchema: outputSchema68,
7385
7978
  slices: ["list"],
7386
7979
  annotations: { readOnlyHint: true },
7387
7980
  handler: async () => {
@@ -7394,10 +7987,10 @@ var tool77 = {
7394
7987
  return result;
7395
7988
  }
7396
7989
  };
7397
- var get_goals_main_default = withStandardDecorators(tool77);
7990
+ var get_goals_main_default = withStandardDecorators(tool79);
7398
7991
 
7399
7992
  // src/umbraco-api/tools/goals/index.ts
7400
- var collection19 = {
7993
+ var collection18 = {
7401
7994
  metadata: {
7402
7995
  name: "goals",
7403
7996
  displayName: "Goals",
@@ -7405,7 +7998,7 @@ var collection19 = {
7405
7998
  },
7406
7999
  tools: () => [get_goals_all_default, get_goals_main_default]
7407
8000
  };
7408
- var goals_default = collection19;
8001
+ var goals_default = collection18;
7409
8002
  var DEVICE_TYPES = [
7410
8003
  "Unknown",
7411
8004
  "Desktop",
@@ -7421,7 +8014,7 @@ var DEVICE_TYPES = [
7421
8014
  "SmartSpeaker",
7422
8015
  "Wearable"
7423
8016
  ];
7424
- var inputSchema78 = z.object({
8017
+ var inputSchema80 = z.object({
7425
8018
  unique: postHeatmapsGenerateScrollHeatmapBody.shape.unique.describe(
7426
8019
  "The content page's `unique` guid."
7427
8020
  ),
@@ -7434,12 +8027,12 @@ var inputSchema78 = z.object({
7434
8027
  "Pixel offsets to report visitor-reach percentages for (e.g. fold lines)."
7435
8028
  )
7436
8029
  });
7437
- var outputSchema67 = postHeatmapsGenerateScrollHeatmapResponse;
7438
- var tool78 = {
8030
+ var outputSchema69 = postHeatmapsGenerateScrollHeatmapResponse;
8031
+ var tool80 = {
7439
8032
  name: "post-heatmaps-generate-scroll-heatmap",
7440
8033
  description: "Generate a scroll-depth heatmap for a page over an optional date range - returns the percentage of visitors who scrolled to each pixel depth. Despite the POST verb, this is a read-only report over existing tracking data, not a mutation.",
7441
- inputSchema: inputSchema78.shape,
7442
- outputSchema: outputSchema67,
8034
+ inputSchema: inputSchema80.shape,
8035
+ outputSchema: outputSchema69,
7443
8036
  slices: ["search"],
7444
8037
  annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true },
7445
8038
  handler: async (params) => {
@@ -7452,14 +8045,14 @@ var tool78 = {
7452
8045
  );
7453
8046
  }
7454
8047
  };
7455
- var post_heatmaps_generate_scroll_heatmap_default = withStandardDecorators(tool78);
7456
- var inputSchema79 = getHeatmapsVariantsQueryParams;
7457
- var outputSchema68 = z.object({ items: getHeatmapsVariantsResponse });
7458
- var tool79 = {
8048
+ var post_heatmaps_generate_scroll_heatmap_default = withStandardDecorators(tool80);
8049
+ var inputSchema81 = getHeatmapsVariantsQueryParams;
8050
+ var outputSchema70 = z.object({ items: getHeatmapsVariantsResponse });
8051
+ var tool81 = {
7459
8052
  name: "get-heatmaps-variants",
7460
8053
  description: "List the distinct URL-variant combinations (query-string permutations) tracked for a page, to pick a variant/culture before calling post-heatmaps-generate-scroll-heatmap.",
7461
- inputSchema: inputSchema79.shape,
7462
- outputSchema: outputSchema68,
8054
+ inputSchema: inputSchema81.shape,
8055
+ outputSchema: outputSchema70,
7463
8056
  slices: ["list"],
7464
8057
  annotations: { readOnlyHint: true },
7465
8058
  handler: async (params) => {
@@ -7472,10 +8065,10 @@ var tool79 = {
7472
8065
  return result;
7473
8066
  }
7474
8067
  };
7475
- var get_heatmaps_variants_default = withStandardDecorators(tool79);
8068
+ var get_heatmaps_variants_default = withStandardDecorators(tool81);
7476
8069
 
7477
8070
  // src/umbraco-api/tools/heatmaps/index.ts
7478
- var collection20 = {
8071
+ var collection19 = {
7479
8072
  metadata: {
7480
8073
  name: "heatmaps",
7481
8074
  displayName: "Heatmaps",
@@ -7483,14 +8076,14 @@ var collection20 = {
7483
8076
  },
7484
8077
  tools: () => [post_heatmaps_generate_scroll_heatmap_default, get_heatmaps_variants_default]
7485
8078
  };
7486
- var heatmaps_default = collection20;
7487
- var inputSchema80 = z.object({});
7488
- var outputSchema69 = getMainSwitchResponse;
7489
- var tool80 = {
8079
+ var heatmaps_default = collection19;
8080
+ var inputSchema82 = z.object({});
8081
+ var outputSchema71 = getMainSwitchResponse;
8082
+ var tool82 = {
7490
8083
  name: "get-main-switch",
7491
8084
  description: "Get whether Umbraco Engage tracking (analytics, A/B testing, personalization data collection) is currently enabled site-wide.",
7492
- inputSchema: inputSchema80.shape,
7493
- outputSchema: outputSchema69,
8085
+ inputSchema: inputSchema82.shape,
8086
+ outputSchema: outputSchema71,
7494
8087
  slices: ["read"],
7495
8088
  annotations: { readOnlyHint: true },
7496
8089
  handler: async () => {
@@ -7499,12 +8092,12 @@ var tool80 = {
7499
8092
  );
7500
8093
  }
7501
8094
  };
7502
- var get_main_switch_default = withStandardDecorators(tool80);
7503
- var inputSchema81 = z.object({});
7504
- var tool81 = {
8095
+ var get_main_switch_default = withStandardDecorators(tool82);
8096
+ var inputSchema83 = z.object({});
8097
+ var tool83 = {
7505
8098
  name: "post-main-switch-turn-off",
7506
8099
  description: "Turn off Umbraco Engage tracking site-wide - disables analytics, A/B testing, and personalization data collection for all visitors until turned back on. This stops data capture for the whole site, not just one feature.",
7507
- inputSchema: inputSchema81.shape,
8100
+ inputSchema: inputSchema83.shape,
7508
8101
  slices: ["update"],
7509
8102
  annotations: { destructiveHint: true, idempotentHint: true },
7510
8103
  handler: async () => {
@@ -7513,12 +8106,12 @@ var tool81 = {
7513
8106
  );
7514
8107
  }
7515
8108
  };
7516
- var post_main_switch_turn_off_default = withStandardDecorators(tool81);
7517
- var inputSchema82 = z.object({});
7518
- var tool82 = {
8109
+ var post_main_switch_turn_off_default = withStandardDecorators(tool83);
8110
+ var inputSchema84 = z.object({});
8111
+ var tool84 = {
7519
8112
  name: "post-main-switch-turn-on",
7520
8113
  description: "Turn on Umbraco Engage tracking site-wide - enables analytics, A/B testing, and personalization data collection for all visitors.",
7521
- inputSchema: inputSchema82.shape,
8114
+ inputSchema: inputSchema84.shape,
7522
8115
  slices: ["update"],
7523
8116
  annotations: { destructiveHint: false, idempotentHint: true },
7524
8117
  handler: async () => {
@@ -7527,10 +8120,10 @@ var tool82 = {
7527
8120
  );
7528
8121
  }
7529
8122
  };
7530
- var post_main_switch_turn_on_default = withStandardDecorators(tool82);
8123
+ var post_main_switch_turn_on_default = withStandardDecorators(tool84);
7531
8124
 
7532
8125
  // src/umbraco-api/tools/main-switch/index.ts
7533
- var collection21 = {
8126
+ var collection20 = {
7534
8127
  metadata: {
7535
8128
  name: "main-switch",
7536
8129
  displayName: "Main Switch",
@@ -7538,16 +8131,16 @@ var collection21 = {
7538
8131
  },
7539
8132
  tools: () => [get_main_switch_default, post_main_switch_turn_off_default, post_main_switch_turn_on_default]
7540
8133
  };
7541
- var main_switch_default = collection21;
7542
- var inputSchema83 = z.object({
8134
+ var main_switch_default = collection20;
8135
+ var inputSchema85 = z.object({
7543
8136
  id: z.uuid().describe("The persona group's `unique` guid - not its numeric `id` field.")
7544
8137
  });
7545
- var outputSchema70 = deletePersonaResponse;
7546
- var tool83 = {
8138
+ var outputSchema72 = deletePersonaResponse;
8139
+ var tool85 = {
7547
8140
  name: "delete-persona",
7548
8141
  description: "Delete a persona group by its `id` - the group's `unique` guid, not its numeric `id` field. Returns HTTP 200 with { isValid, warnings, errors } rather than an error result on failure - check `isValid` to confirm deletion succeeded.",
7549
- inputSchema: inputSchema83.shape,
7550
- outputSchema: outputSchema70,
8142
+ inputSchema: inputSchema85.shape,
8143
+ outputSchema: outputSchema72,
7551
8144
  slices: ["delete"],
7552
8145
  annotations: { destructiveHint: true },
7553
8146
  handler: async (params) => {
@@ -7556,8 +8149,8 @@ var tool83 = {
7556
8149
  );
7557
8150
  }
7558
8151
  };
7559
- var delete_persona_default = withStandardDecorators(tool83);
7560
- var inputSchema84 = z.object({
8152
+ var delete_persona_default = withStandardDecorators(tool85);
8153
+ var inputSchema86 = z.object({
7561
8154
  title: z.string().nullish(),
7562
8155
  description: z.string().nullish(),
7563
8156
  personas: z.array(z.object({
@@ -7574,12 +8167,12 @@ var inputSchema84 = z.object({
7574
8167
  expiration: z.number().nullish(),
7575
8168
  upperScoreLimit: z.number().default(10)
7576
8169
  });
7577
- var outputSchema71 = postPersonaResponse;
7578
- var tool84 = {
8170
+ var outputSchema73 = postPersonaResponse;
8171
+ var tool86 = {
7579
8172
  name: "post-persona",
7580
8173
  description: "Create a new persona group (a named container for one or more individual personas, each scored by visitor behavior). The server always assigns its own id/unique - this always creates a new group, it does not update an existing one by id.",
7581
- inputSchema: inputSchema84.shape,
7582
- outputSchema: outputSchema71,
8174
+ inputSchema: inputSchema86.shape,
8175
+ outputSchema: outputSchema73,
7583
8176
  slices: ["create"],
7584
8177
  annotations: { destructiveHint: false, idempotentHint: false },
7585
8178
  handler: async (params) => {
@@ -7622,14 +8215,14 @@ var tool84 = {
7622
8215
  );
7623
8216
  }
7624
8217
  };
7625
- var post_persona_default = withStandardDecorators(tool84);
7626
- var inputSchema85 = z.object({});
7627
- var outputSchema72 = z.object({ items: getPersonaAllResponse });
7628
- var tool85 = {
8218
+ var post_persona_default = withStandardDecorators(tool86);
8219
+ var inputSchema87 = z.object({});
8220
+ var outputSchema74 = z.object({ items: getPersonaAllResponse });
8221
+ var tool87 = {
7629
8222
  name: "get-persona-all",
7630
8223
  description: "List all persona groups (named containers for one or more individual personas), each with its full nested `personas` array. Each item's `unique` guid is what get-persona-details/delete-persona expect as `id`.",
7631
- inputSchema: inputSchema85.shape,
7632
- outputSchema: outputSchema72,
8224
+ inputSchema: inputSchema87.shape,
8225
+ outputSchema: outputSchema74,
7633
8226
  slices: ["list"],
7634
8227
  annotations: { readOnlyHint: true },
7635
8228
  handler: async () => {
@@ -7642,16 +8235,16 @@ var tool85 = {
7642
8235
  return result;
7643
8236
  }
7644
8237
  };
7645
- var get_persona_all_default = withStandardDecorators(tool85);
7646
- var inputSchema86 = z.object({
8238
+ var get_persona_all_default = withStandardDecorators(tool87);
8239
+ var inputSchema88 = z.object({
7647
8240
  id: z.uuid().describe("The persona group's `unique` guid - not its numeric `id` field.")
7648
8241
  });
7649
- var outputSchema73 = getPersonaDetailsResponse;
7650
- var tool86 = {
8242
+ var outputSchema75 = getPersonaDetailsResponse;
8243
+ var tool88 = {
7651
8244
  name: "get-persona-details",
7652
8245
  description: "Get a single persona group's full details (including its nested `personas` array) by its `id` - the group's `unique` guid, not its numeric `id` field. A given individual persona's own sub-entity id (personas[N].id) is what post-goal/post-content-scoring-save expect as `entityId` - not this group's id/unique.",
7653
- inputSchema: inputSchema86.shape,
7654
- outputSchema: outputSchema73,
8246
+ inputSchema: inputSchema88.shape,
8247
+ outputSchema: outputSchema75,
7655
8248
  slices: ["read"],
7656
8249
  annotations: { readOnlyHint: true },
7657
8250
  handler: async (params) => {
@@ -7660,14 +8253,14 @@ var tool86 = {
7660
8253
  );
7661
8254
  }
7662
8255
  };
7663
- var get_persona_details_default = withStandardDecorators(tool86);
7664
- var inputSchema87 = z.object({});
7665
- var outputSchema74 = getPersonaEmptyResponse;
7666
- var tool87 = {
8256
+ var get_persona_details_default = withStandardDecorators(tool88);
8257
+ var inputSchema89 = z.object({});
8258
+ var outputSchema76 = getPersonaEmptyResponse;
8259
+ var tool89 = {
7667
8260
  name: "get-persona-empty",
7668
8261
  description: "Get a blank persona group template with default field values (no personas, minimumParticipationScoreThreshold 25, minimumDeviationType 'Absolute', expirationType 'never', upperScoreLimit 10). Useful for inspecting the shape/defaults post-persona expects - not required to create a group, since post-persona applies the same defaults internally when fields are omitted.",
7669
- inputSchema: inputSchema87.shape,
7670
- outputSchema: outputSchema74,
8262
+ inputSchema: inputSchema89.shape,
8263
+ outputSchema: outputSchema76,
7671
8264
  slices: ["other"],
7672
8265
  annotations: { readOnlyHint: true },
7673
8266
  handler: async () => {
@@ -7676,12 +8269,12 @@ var tool87 = {
7676
8269
  );
7677
8270
  }
7678
8271
  };
7679
- var get_persona_empty_default = withStandardDecorators(tool87);
7680
- var inputSchema88 = postPersonaLockBody;
7681
- var tool88 = {
8272
+ var get_persona_empty_default = withStandardDecorators(tool89);
8273
+ var inputSchema90 = postPersonaLockBody;
8274
+ var tool90 = {
7682
8275
  name: "post-persona-lock",
7683
8276
  description: "Lock a visitor's persona score assignment (`entityId` is the individual persona's sub-entity id from get-persona-details' `personas[N].id`, `visitorId` the visitor's profile id), pinning it so automatic scoring no longer updates it. Requires a real visitor with existing tracking history - a non-existent visitor/entity pair errors.",
7684
- inputSchema: inputSchema88.shape,
8277
+ inputSchema: inputSchema90.shape,
7685
8278
  slices: ["update"],
7686
8279
  annotations: { destructiveHint: false, idempotentHint: true },
7687
8280
  handler: async (params) => {
@@ -7690,12 +8283,12 @@ var tool88 = {
7690
8283
  );
7691
8284
  }
7692
8285
  };
7693
- var post_persona_lock_default = withStandardDecorators(tool88);
7694
- var inputSchema89 = postPersonaUnlockBody;
7695
- var tool89 = {
8286
+ var post_persona_lock_default = withStandardDecorators(tool90);
8287
+ var inputSchema91 = postPersonaUnlockBody;
8288
+ var tool91 = {
7696
8289
  name: "post-persona-unlock",
7697
8290
  description: "Unlock a visitor's persona score assignment previously locked via post-persona-lock (`entityId` is the individual persona's sub-entity id from get-persona-details' `personas[N].id`, `visitorId` the visitor's profile id), letting automatic scoring resume updating it.",
7698
- inputSchema: inputSchema89.shape,
8291
+ inputSchema: inputSchema91.shape,
7699
8292
  slices: ["update"],
7700
8293
  annotations: { destructiveHint: false, idempotentHint: true },
7701
8294
  handler: async (params) => {
@@ -7704,10 +8297,10 @@ var tool89 = {
7704
8297
  );
7705
8298
  }
7706
8299
  };
7707
- var post_persona_unlock_default = withStandardDecorators(tool89);
8300
+ var post_persona_unlock_default = withStandardDecorators(tool91);
7708
8301
 
7709
8302
  // src/umbraco-api/tools/persona/index.ts
7710
- var collection22 = {
8303
+ var collection21 = {
7711
8304
  metadata: {
7712
8305
  name: "persona",
7713
8306
  displayName: "Persona",
@@ -7715,14 +8308,14 @@ var collection22 = {
7715
8308
  },
7716
8309
  tools: () => [delete_persona_default, post_persona_default, get_persona_all_default, get_persona_details_default, get_persona_empty_default, post_persona_lock_default, post_persona_unlock_default]
7717
8310
  };
7718
- var persona_default = collection22;
7719
- var inputSchema90 = z.object({});
7720
- var outputSchema75 = getProfileBotVisitorsResponse;
7721
- var tool90 = {
8311
+ var persona_default = collection21;
8312
+ var inputSchema92 = z.object({});
8313
+ var outputSchema77 = getProfileBotVisitorsResponse;
8314
+ var tool92 = {
7722
8315
  name: "get-profile-bot-visitors",
7723
8316
  description: "List visitors detected as bots, site-wide (not scoped to a single visitor).",
7724
- inputSchema: inputSchema90.shape,
7725
- outputSchema: outputSchema75,
8317
+ inputSchema: inputSchema92.shape,
8318
+ outputSchema: outputSchema77,
7726
8319
  slices: ["list"],
7727
8320
  annotations: { readOnlyHint: true },
7728
8321
  handler: async () => {
@@ -7731,14 +8324,14 @@ var tool90 = {
7731
8324
  );
7732
8325
  }
7733
8326
  };
7734
- var get_profile_bot_visitors_default = withStandardDecorators(tool90);
7735
- var inputSchema91 = getProfileCustomerJourneyStepScoresQueryParams;
7736
- var outputSchema76 = z.object({ items: getProfileCustomerJourneyStepScoresResponse });
7737
- var tool91 = {
8327
+ var get_profile_bot_visitors_default = withStandardDecorators(tool92);
8328
+ var inputSchema93 = getProfileCustomerJourneyStepScoresQueryParams;
8329
+ var outputSchema78 = z.object({ items: getProfileCustomerJourneyStepScoresResponse });
8330
+ var tool93 = {
7738
8331
  name: "get-profile-customer-journey-step-scores",
7739
8332
  description: "List a visitor's customer-journey-step scores. `visitorId` is required in practice (from get-profile-details or get-profile-related). `groupId`/`customerJourneyStepId` resolve via get-customer-journey-all/-details.",
7740
- inputSchema: inputSchema91.shape,
7741
- outputSchema: outputSchema76,
8333
+ inputSchema: inputSchema93.shape,
8334
+ outputSchema: outputSchema78,
7742
8335
  slices: ["list"],
7743
8336
  annotations: { readOnlyHint: true },
7744
8337
  handler: async (params) => {
@@ -7751,14 +8344,14 @@ var tool91 = {
7751
8344
  return result;
7752
8345
  }
7753
8346
  };
7754
- var get_profile_customer_journey_step_scores_default = withStandardDecorators(tool91);
7755
- var inputSchema92 = getProfileDetailsQueryParams;
7756
- var outputSchema77 = getProfileDetailsResponse;
7757
- var tool92 = {
8347
+ var get_profile_customer_journey_step_scores_default = withStandardDecorators(tool93);
8348
+ var inputSchema94 = getProfileDetailsQueryParams;
8349
+ var outputSchema79 = getProfileDetailsResponse;
8350
+ var tool94 = {
7758
8351
  name: "get-profile-details",
7759
8352
  description: "Get a visitor's profile summary: activity window, totals (pageviews, sessions, goal completions/value), whether they've been personalized/A-B-tested, and linked Umbraco member accounts. `visitorId` is required in practice.",
7760
- inputSchema: inputSchema92.shape,
7761
- outputSchema: outputSchema77,
8353
+ inputSchema: inputSchema94.shape,
8354
+ outputSchema: outputSchema79,
7762
8355
  slices: ["read"],
7763
8356
  annotations: { readOnlyHint: true },
7764
8357
  handler: async (params) => {
@@ -7767,8 +8360,17 @@ var tool92 = {
7767
8360
  );
7768
8361
  }
7769
8362
  };
7770
- var get_profile_details_default = withStandardDecorators(tool92);
7771
- var inputSchema93 = z.object({
8363
+ var get_profile_details_default = withStandardDecorators(tool94);
8364
+
8365
+ // src/umbraco-api/tools/profile/get/to-export-page.ts
8366
+ function toExportPage(rows, skip, take) {
8367
+ const hasMore = rows.length > take;
8368
+ const items = hasMore ? rows.slice(0, take) : [...rows];
8369
+ return { items, total: skip + items.length + (hasMore ? 1 : 0) };
8370
+ }
8371
+
8372
+ // src/umbraco-api/tools/profile/get/get-profile-export.ts
8373
+ var inputSchema95 = z.object({
7772
8374
  skip: z.number().default(0),
7773
8375
  take: z.number().default(25),
7774
8376
  order: getProfileExportQueryParams.shape.Order,
@@ -7783,18 +8385,25 @@ var inputSchema93 = z.object({
7783
8385
  activeTo: z.iso.datetime().nullish(),
7784
8386
  identifiedName: getProfileExportQueryParams.shape.IdentifiedName
7785
8387
  });
7786
- var outputSchema78 = z.object({ items: getProfileExportResponse });
7787
- var tool93 = {
8388
+ var outputSchema80 = z.object({
8389
+ items: getProfileExportResponse,
8390
+ total: z.number().describe(
8391
+ "Lower bound on the number of matching profiles, not an exact count (the endpoint reports none): skip + the rows returned, plus 1 when more rows exist beyond this page. It only drives `nextCursor` - use `nextCursor` to page, not this number."
8392
+ )
8393
+ });
8394
+ var tool95 = {
7788
8395
  name: "get-profile-export",
7789
8396
  description: "Search visitor profiles with the same filters as post-profile-overview (segment, goal thresholds, identification status, active date range), one row per visitor - but with a different, smaller field set (adds `type`/`url`, omits member/personalization detail). Prefer post-profile-overview unless you specifically need this tool's fields. Paginated via `cursor` (pass the previous response's `nextCursor` for the next page; omit for the first page).",
7790
- inputSchema: inputSchema93.shape,
7791
- outputSchema: outputSchema78,
8397
+ inputSchema: inputSchema95.shape,
8398
+ outputSchema: outputSchema80,
7792
8399
  slices: ["search"],
7793
8400
  annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true },
7794
8401
  handler: async (params) => {
7795
8402
  const apiParams = {
7796
8403
  Skip: params.skip,
7797
- Take: params.take,
8404
+ // One extra row tells us whether another page exists: the endpoint returns a
8405
+ // bare array with no total, and the SDK's cursor pagination needs a total.
8406
+ Take: params.take + 1,
7798
8407
  Order: params.order,
7799
8408
  Ascending: params.ascending,
7800
8409
  SegmentId: params.segmentId,
@@ -7811,13 +8420,14 @@ var tool93 = {
7811
8420
  (client) => client.getProfileExport(apiParams, CAPTURE_RAW_HTTP_RESPONSE)
7812
8421
  );
7813
8422
  if (!result.isError && Array.isArray(result.structuredContent)) {
7814
- return { ...result, structuredContent: { items: result.structuredContent } };
8423
+ const structuredContent = toExportPage(result.structuredContent, params.skip, params.take);
8424
+ return { ...result, structuredContent, content: [{ type: "text", text: JSON.stringify(structuredContent) }] };
7815
8425
  }
7816
8426
  return result;
7817
8427
  }
7818
8428
  };
7819
- var get_profile_export_default = withStandardDecorators(tool93);
7820
- var inputSchema94 = z.object({
8429
+ var get_profile_export_default = withStandardDecorators(tool95);
8430
+ var inputSchema96 = z.object({
7821
8431
  skip: postProfileExportCsvBody.shape.skip.default(0),
7822
8432
  take: postProfileExportCsvBody.shape.take.default(25),
7823
8433
  order: postProfileExportCsvBody.shape.order,
@@ -7832,12 +8442,12 @@ var inputSchema94 = z.object({
7832
8442
  activeTo: z.iso.datetime().nullish(),
7833
8443
  identifiedName: postProfileExportCsvBody.shape.identifiedName
7834
8444
  });
7835
- var outputSchema79 = z.object({ csv: z.string() });
7836
- var tool94 = {
8445
+ var outputSchema81 = z.object({ csv: z.string() });
8446
+ var tool96 = {
7837
8447
  name: "post-profile-export-csv",
7838
8448
  description: "Export visitor profiles matching the same filters as post-profile-overview (segment, goal thresholds, identification status, active date range) as CSV text, paginated via `cursor` (pass the previous response's `nextCursor` for the next page; omit for the first page). Use post-profile-overview instead for structured JSON results.",
7839
- inputSchema: inputSchema94.shape,
7840
- outputSchema: outputSchema79,
8449
+ inputSchema: inputSchema96.shape,
8450
+ outputSchema: outputSchema81,
7841
8451
  slices: ["search"],
7842
8452
  annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true },
7843
8453
  handler: async (params) => {
@@ -7864,14 +8474,14 @@ var tool94 = {
7864
8474
  return result;
7865
8475
  }
7866
8476
  };
7867
- var post_profile_export_csv_default = withStandardDecorators(tool94);
7868
- var inputSchema95 = getProfileGoalCompletionsQueryParams;
7869
- var outputSchema80 = z.object({ items: getProfileGoalCompletionsResponse });
7870
- var tool95 = {
8477
+ var post_profile_export_csv_default = withStandardDecorators(tool96);
8478
+ var inputSchema97 = getProfileGoalCompletionsQueryParams;
8479
+ var outputSchema82 = z.object({ items: getProfileGoalCompletionsResponse });
8480
+ var tool97 = {
7871
8481
  name: "get-profile-goal-completions",
7872
8482
  description: "List a visitor's goal completions, with each goal's `unique` guid, completion count, and total value. `visitorId` is required in practice. Resolve `unique` to a goal's name via get-goal-details.",
7873
- inputSchema: inputSchema95.shape,
7874
- outputSchema: outputSchema80,
8483
+ inputSchema: inputSchema97.shape,
8484
+ outputSchema: outputSchema82,
7875
8485
  slices: ["list"],
7876
8486
  annotations: { readOnlyHint: true },
7877
8487
  handler: async (params) => {
@@ -7884,14 +8494,14 @@ var tool95 = {
7884
8494
  return result;
7885
8495
  }
7886
8496
  };
7887
- var get_profile_goal_completions_default = withStandardDecorators(tool95);
7888
- var inputSchema96 = getProfileLastActiveSegmentQueryParams;
7889
- var outputSchema81 = z.object({ items: getProfileLastActiveSegmentResponse });
7890
- var tool96 = {
8497
+ var get_profile_goal_completions_default = withStandardDecorators(tool97);
8498
+ var inputSchema98 = getProfileLastActiveSegmentQueryParams;
8499
+ var outputSchema83 = z.object({ items: getProfileLastActiveSegmentResponse });
8500
+ var tool98 = {
7891
8501
  name: "get-profile-last-active-segment",
7892
8502
  description: "List the segment `unique` guid(s) most recently active for a visitor. `visitorId` is required in practice. Resolve each guid to a segment's name via get-segments-all.",
7893
- inputSchema: inputSchema96.shape,
7894
- outputSchema: outputSchema81,
8503
+ inputSchema: inputSchema98.shape,
8504
+ outputSchema: outputSchema83,
7895
8505
  slices: ["list"],
7896
8506
  annotations: { readOnlyHint: true },
7897
8507
  handler: async (params) => {
@@ -7904,8 +8514,8 @@ var tool96 = {
7904
8514
  return result;
7905
8515
  }
7906
8516
  };
7907
- var get_profile_last_active_segment_default = withStandardDecorators(tool96);
7908
- var inputSchema97 = z.object({
8517
+ var get_profile_last_active_segment_default = withStandardDecorators(tool98);
8518
+ var inputSchema99 = z.object({
7909
8519
  skip: postProfileOverviewBody.shape.skip.default(0),
7910
8520
  take: postProfileOverviewBody.shape.take.default(25),
7911
8521
  order: postProfileOverviewBody.shape.order,
@@ -7920,12 +8530,12 @@ var inputSchema97 = z.object({
7920
8530
  activeTo: z.iso.datetime().nullish(),
7921
8531
  identifiedName: postProfileOverviewBody.shape.identifiedName
7922
8532
  });
7923
- var outputSchema82 = postProfileOverviewResponse;
7924
- var tool97 = {
8533
+ var outputSchema84 = postProfileOverviewResponse;
8534
+ var tool99 = {
7925
8535
  name: "post-profile-overview",
7926
8536
  description: "Search visitor profiles with filters (segment, goal thresholds, identification status, active date range), paginated via `cursor` (pass the previous response's `nextCursor` for the next page; omit for the first page). Despite the POST verb, this is read-only. See post-profile-export-csv for a CSV export of the same search.",
7927
- inputSchema: inputSchema97.shape,
7928
- outputSchema: outputSchema82,
8537
+ inputSchema: inputSchema99.shape,
8538
+ outputSchema: outputSchema84,
7929
8539
  slices: ["search"],
7930
8540
  annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true },
7931
8541
  handler: async (params) => {
@@ -7948,14 +8558,14 @@ var tool97 = {
7948
8558
  );
7949
8559
  }
7950
8560
  };
7951
- var post_profile_overview_default = withStandardDecorators(tool97);
7952
- var inputSchema98 = getProfilePageEventsQueryParams;
7953
- var outputSchema83 = z.object({ items: getProfilePageEventsResponse });
7954
- var tool98 = {
8561
+ var post_profile_overview_default = withStandardDecorators(tool99);
8562
+ var inputSchema100 = getProfilePageEventsQueryParams;
8563
+ var outputSchema85 = z.object({ items: getProfilePageEventsResponse });
8564
+ var tool100 = {
7955
8565
  name: "get-profile-page-events",
7956
8566
  description: "List events (start/end/scroll-depth/goal-completion/out-click/video/form, etc.) recorded within a single pageview. `pageviewId` comes from get-profile-pageviews.",
7957
- inputSchema: inputSchema98.shape,
7958
- outputSchema: outputSchema83,
8567
+ inputSchema: inputSchema100.shape,
8568
+ outputSchema: outputSchema85,
7959
8569
  slices: ["list"],
7960
8570
  annotations: { readOnlyHint: true },
7961
8571
  handler: async (params) => {
@@ -7968,14 +8578,14 @@ var tool98 = {
7968
8578
  return result;
7969
8579
  }
7970
8580
  };
7971
- var get_profile_page_events_default = withStandardDecorators(tool98);
7972
- var inputSchema99 = getProfilePageviewsQueryParams;
7973
- var outputSchema84 = z.object({ items: getProfilePageviewsResponse });
7974
- var tool99 = {
8581
+ var get_profile_page_events_default = withStandardDecorators(tool100);
8582
+ var inputSchema101 = getProfilePageviewsQueryParams;
8583
+ var outputSchema86 = z.object({ items: getProfilePageviewsResponse });
8584
+ var tool101 = {
7975
8585
  name: "get-profile-pageviews",
7976
8586
  description: "List the pageviews within a single browsing session. `sessionId` comes from get-profile-sessions. Each pageview's `id` is what get-profile-page-events expects as `pageviewId`. Response includes visitor IP address, country, and city - be mindful of this PII when relaying results.",
7977
- inputSchema: inputSchema99.shape,
7978
- outputSchema: outputSchema84,
8587
+ inputSchema: inputSchema101.shape,
8588
+ outputSchema: outputSchema86,
7979
8589
  slices: ["list"],
7980
8590
  annotations: { readOnlyHint: true },
7981
8591
  handler: async (params) => {
@@ -7988,14 +8598,14 @@ var tool99 = {
7988
8598
  return result;
7989
8599
  }
7990
8600
  };
7991
- var get_profile_pageviews_default = withStandardDecorators(tool99);
7992
- var inputSchema100 = getProfilePersonaScoresQueryParams;
7993
- var outputSchema85 = z.object({ items: getProfilePersonaScoresResponse });
7994
- var tool100 = {
8601
+ var get_profile_pageviews_default = withStandardDecorators(tool101);
8602
+ var inputSchema102 = getProfilePersonaScoresQueryParams;
8603
+ var outputSchema87 = z.object({ items: getProfilePersonaScoresResponse });
8604
+ var tool102 = {
7995
8605
  name: "get-profile-persona-scores",
7996
8606
  description: "List a visitor's persona scores. `visitorId` is required in practice. `groupId`/`personaId` resolve via get-persona-all/-details (`personaId` is the persona's sub-entity id within its group, `groupId` the group's own numeric id).",
7997
- inputSchema: inputSchema100.shape,
7998
- outputSchema: outputSchema85,
8607
+ inputSchema: inputSchema102.shape,
8608
+ outputSchema: outputSchema87,
7999
8609
  slices: ["list"],
8000
8610
  annotations: { readOnlyHint: true },
8001
8611
  handler: async (params) => {
@@ -8008,14 +8618,14 @@ var tool100 = {
8008
8618
  return result;
8009
8619
  }
8010
8620
  };
8011
- var get_profile_persona_scores_default = withStandardDecorators(tool100);
8012
- var inputSchema101 = getProfilePotentialQueryParams;
8013
- var outputSchema86 = getProfilePotentialResponse;
8014
- var tool101 = {
8621
+ var get_profile_persona_scores_default = withStandardDecorators(tool102);
8622
+ var inputSchema103 = getProfilePotentialQueryParams;
8623
+ var outputSchema88 = getProfilePotentialResponse;
8624
+ var tool103 = {
8015
8625
  name: "get-profile-potential",
8016
8626
  description: "Get a visitor's `active` and `engaged` potential scores. `visitorId` is required in practice. The scale/units of these scores are not documented upstream.",
8017
- inputSchema: inputSchema101.shape,
8018
- outputSchema: outputSchema86,
8627
+ inputSchema: inputSchema103.shape,
8628
+ outputSchema: outputSchema88,
8019
8629
  slices: ["read"],
8020
8630
  annotations: { readOnlyHint: true },
8021
8631
  handler: async (params) => {
@@ -8024,18 +8634,18 @@ var tool101 = {
8024
8634
  );
8025
8635
  }
8026
8636
  };
8027
- var get_profile_potential_default = withStandardDecorators(tool101);
8028
- var inputSchema102 = getProfileRelatedQueryParams.extend({
8637
+ var get_profile_potential_default = withStandardDecorators(tool103);
8638
+ var inputSchema104 = getProfileRelatedQueryParams.extend({
8029
8639
  memberId: getProfileRelatedQueryParams.shape.memberId.describe(
8030
8640
  "An Umbraco member's guid - finds other visitor profiles linked to the same member (e.g. across devices/browsers)."
8031
8641
  )
8032
8642
  });
8033
- var outputSchema87 = z.object({ relatedVisitorIds: getProfileRelatedResponse });
8034
- var tool102 = {
8643
+ var outputSchema89 = z.object({ relatedVisitorIds: getProfileRelatedResponse });
8644
+ var tool104 = {
8035
8645
  name: "get-profile-related",
8036
8646
  description: "List numeric visitor ids related to the given member (e.g. other devices/browsers linked to the same member account). Pass each returned id as `visitorId` to other profile tools to inspect that visitor's own activity.",
8037
- inputSchema: inputSchema102.shape,
8038
- outputSchema: outputSchema87,
8647
+ inputSchema: inputSchema104.shape,
8648
+ outputSchema: outputSchema89,
8039
8649
  slices: ["list"],
8040
8650
  annotations: { readOnlyHint: true },
8041
8651
  handler: async (params) => {
@@ -8048,20 +8658,20 @@ var tool102 = {
8048
8658
  return result;
8049
8659
  }
8050
8660
  };
8051
- var get_profile_related_default = withStandardDecorators(tool102);
8052
- var inputSchema103 = z.object({
8661
+ var get_profile_related_default = withStandardDecorators(tool104);
8662
+ var inputSchema105 = z.object({
8053
8663
  visitorId: getProfileSessionsQueryParams.shape.VisitorId.describe(
8054
8664
  "Required in practice - omitting it is untested/undocumented behavior."
8055
8665
  ),
8056
8666
  pageIndex: z.number().int().min(0).default(0),
8057
8667
  pageSize: z.number().int().min(1).max(200).default(25)
8058
8668
  });
8059
- var outputSchema88 = getProfileSessionsResponse;
8060
- var tool103 = {
8669
+ var outputSchema90 = getProfileSessionsResponse;
8670
+ var tool105 = {
8061
8671
  name: "get-profile-sessions",
8062
8672
  description: "List a visitor's browsing sessions, paginated (`pageIndex` is 0-based). Use the response's `totalResults` to know when to stop paging.",
8063
- inputSchema: inputSchema103.shape,
8064
- outputSchema: outputSchema88,
8673
+ inputSchema: inputSchema105.shape,
8674
+ outputSchema: outputSchema90,
8065
8675
  slices: ["list"],
8066
8676
  annotations: { readOnlyHint: true },
8067
8677
  handler: async (params) => {
@@ -8075,14 +8685,14 @@ var tool103 = {
8075
8685
  );
8076
8686
  }
8077
8687
  };
8078
- var get_profile_sessions_default = withStandardDecorators(tool103);
8079
- var inputSchema104 = getProfileStatisticsGrowthQueryParams;
8080
- var outputSchema89 = getProfileStatisticsGrowthResponse;
8081
- var tool104 = {
8688
+ var get_profile_sessions_default = withStandardDecorators(tool105);
8689
+ var inputSchema106 = getProfileStatisticsGrowthQueryParams;
8690
+ var outputSchema91 = getProfileStatisticsGrowthResponse;
8691
+ var tool106 = {
8082
8692
  name: "get-profile-statistics-growth",
8083
8693
  description: "Get monthly visitor-growth counts (identified vs. unknown visitors) over the last `numberOfMonths` months (default 12).",
8084
- inputSchema: inputSchema104.shape,
8085
- outputSchema: outputSchema89,
8694
+ inputSchema: inputSchema106.shape,
8695
+ outputSchema: outputSchema91,
8086
8696
  slices: ["read"],
8087
8697
  annotations: { readOnlyHint: true },
8088
8698
  handler: async (params) => {
@@ -8091,14 +8701,14 @@ var tool104 = {
8091
8701
  );
8092
8702
  }
8093
8703
  };
8094
- var get_profile_statistics_growth_default = withStandardDecorators(tool104);
8095
- var inputSchema105 = getProfileStatisticsIdentificationQueryParams;
8096
- var outputSchema90 = getProfileStatisticsIdentificationResponse;
8097
- var tool105 = {
8704
+ var get_profile_statistics_growth_default = withStandardDecorators(tool106);
8705
+ var inputSchema107 = getProfileStatisticsIdentificationQueryParams;
8706
+ var outputSchema92 = getProfileStatisticsIdentificationResponse;
8707
+ var tool107 = {
8098
8708
  name: "get-profile-statistics-identification",
8099
8709
  description: "Get visitor identification counts over the last `numberOfDays` days (default 30): `newlyIdentified`, `formerlyUnknown`, and `unknown` visitor counts.",
8100
- inputSchema: inputSchema105.shape,
8101
- outputSchema: outputSchema90,
8710
+ inputSchema: inputSchema107.shape,
8711
+ outputSchema: outputSchema92,
8102
8712
  slices: ["read"],
8103
8713
  annotations: { readOnlyHint: true },
8104
8714
  handler: async (params) => {
@@ -8107,14 +8717,14 @@ var tool105 = {
8107
8717
  );
8108
8718
  }
8109
8719
  };
8110
- var get_profile_statistics_identification_default = withStandardDecorators(tool105);
8111
- var inputSchema106 = z.object({});
8112
- var outputSchema91 = getProfileStatisticsTotalResponse;
8113
- var tool106 = {
8720
+ var get_profile_statistics_identification_default = withStandardDecorators(tool107);
8721
+ var inputSchema108 = z.object({});
8722
+ var outputSchema93 = getProfileStatisticsTotalResponse;
8723
+ var tool108 = {
8114
8724
  name: "get-profile-statistics-total",
8115
8725
  description: "Get the total count of identified vs. unknown visitor profiles, site-wide.",
8116
- inputSchema: inputSchema106.shape,
8117
- outputSchema: outputSchema91,
8726
+ inputSchema: inputSchema108.shape,
8727
+ outputSchema: outputSchema93,
8118
8728
  slices: ["read"],
8119
8729
  annotations: { readOnlyHint: true },
8120
8730
  handler: async () => {
@@ -8123,10 +8733,10 @@ var tool106 = {
8123
8733
  );
8124
8734
  }
8125
8735
  };
8126
- var get_profile_statistics_total_default = withStandardDecorators(tool106);
8736
+ var get_profile_statistics_total_default = withStandardDecorators(tool108);
8127
8737
 
8128
8738
  // src/umbraco-api/tools/profile/index.ts
8129
- var collection23 = {
8739
+ var collection22 = {
8130
8740
  metadata: {
8131
8741
  name: "profile",
8132
8742
  displayName: "Profile",
@@ -8134,14 +8744,14 @@ var collection23 = {
8134
8744
  },
8135
8745
  tools: () => [get_profile_bot_visitors_default, get_profile_customer_journey_step_scores_default, get_profile_details_default, get_profile_export_default, post_profile_export_csv_default, get_profile_goal_completions_default, get_profile_last_active_segment_default, post_profile_overview_default, get_profile_page_events_default, get_profile_pageviews_default, get_profile_persona_scores_default, get_profile_potential_default, get_profile_related_default, get_profile_sessions_default, get_profile_statistics_growth_default, get_profile_statistics_identification_default, get_profile_statistics_total_default]
8136
8746
  };
8137
- var profile_default = collection23;
8138
- var inputSchema107 = z.object({
8747
+ var profile_default = collection22;
8748
+ var inputSchema109 = z.object({
8139
8749
  id: z.uuid().describe("The group's `unique` guid - not the numeric `id` field on the entity.")
8140
8750
  });
8141
- var tool107 = {
8751
+ var tool109 = {
8142
8752
  name: "delete-referral-group",
8143
8753
  description: "Delete a referral group by its `id` - the group's `unique` guid, not the numeric `id` field on the entity. Idempotent - deleting a non-existent id succeeds rather than erroring.",
8144
- inputSchema: inputSchema107.shape,
8754
+ inputSchema: inputSchema109.shape,
8145
8755
  slices: ["delete"],
8146
8756
  annotations: { destructiveHint: true },
8147
8757
  handler: async (params) => {
@@ -8150,16 +8760,16 @@ var tool107 = {
8150
8760
  );
8151
8761
  }
8152
8762
  };
8153
- var delete_referral_group_default = withStandardDecorators(tool107);
8154
- var inputSchema108 = z.object({
8763
+ var delete_referral_group_default = withStandardDecorators(tool109);
8764
+ var inputSchema110 = z.object({
8155
8765
  id: z.uuid().describe("The group's `unique` guid - not the numeric `id` field on the returned entity.")
8156
8766
  });
8157
- var outputSchema92 = getReferralGroupResponse;
8158
- var tool108 = {
8767
+ var outputSchema94 = getReferralGroupResponse;
8768
+ var tool110 = {
8159
8769
  name: "get-referral-group",
8160
8770
  description: "Get a single referral group by its `id` - the group's `unique` guid, not the numeric `id` field on the entity itself. The response's personaScoring[].personaId and customerJourneyScoring[].customerJourneyStepId are bare foreign keys with no name attached - look them up via the persona/customer-journey collections if a human-readable label is needed.",
8161
- inputSchema: inputSchema108.shape,
8162
- outputSchema: outputSchema92,
8771
+ inputSchema: inputSchema110.shape,
8772
+ outputSchema: outputSchema94,
8163
8773
  slices: ["read"],
8164
8774
  annotations: { readOnlyHint: true },
8165
8775
  handler: async (params) => {
@@ -8168,8 +8778,8 @@ var tool108 = {
8168
8778
  );
8169
8779
  }
8170
8780
  };
8171
- var get_referral_group_default = withStandardDecorators(tool108);
8172
- var inputSchema109 = z.object({
8781
+ var get_referral_group_default = withStandardDecorators(tool110);
8782
+ var inputSchema111 = z.object({
8173
8783
  id: postReferralGroupBody.shape.id.optional().describe("Omit to create a new group. Supply the existing numeric id to update it."),
8174
8784
  unique: postReferralGroupBody.shape.unique.optional().describe("Omit to create a new group (server-generated). Supply the existing guid to update it."),
8175
8785
  name: z.string().nullish(),
@@ -8179,12 +8789,12 @@ var inputSchema109 = z.object({
8179
8789
  customerJourneyScoring: postReferralGroupBody.shape.customerJourneyScoring.default([]),
8180
8790
  personaScoring: postReferralGroupBody.shape.personaScoring.default([])
8181
8791
  });
8182
- var outputSchema93 = postReferralGroupResponse;
8183
- var tool109 = {
8792
+ var outputSchema95 = postReferralGroupResponse;
8793
+ var tool111 = {
8184
8794
  name: "post-referral-group",
8185
8795
  description: "Create a new referral group, or update an existing one (supply its real `id`/`unique` to update instead of create). A referral group organizes referring pages and optionally links persona/customer-journey scoring rules to them.",
8186
- inputSchema: inputSchema109.shape,
8187
- outputSchema: outputSchema93,
8796
+ inputSchema: inputSchema111.shape,
8797
+ outputSchema: outputSchema95,
8188
8798
  slices: ["create", "update"],
8189
8799
  annotations: { destructiveHint: false, idempotentHint: false },
8190
8800
  handler: async (params) => {
@@ -8204,14 +8814,14 @@ var tool109 = {
8204
8814
  );
8205
8815
  }
8206
8816
  };
8207
- var post_referral_group_default = withStandardDecorators(tool109);
8208
- var inputSchema110 = z.object({});
8209
- var outputSchema94 = z.object({ items: getReferralGroupAllResponse });
8210
- var tool110 = {
8817
+ var post_referral_group_default = withStandardDecorators(tool111);
8818
+ var inputSchema112 = z.object({});
8819
+ var outputSchema96 = z.object({ items: getReferralGroupAllResponse });
8820
+ var tool112 = {
8211
8821
  name: "get-referral-group-all",
8212
8822
  description: "List every referral group, each with its full pages/persona-scoring/customer-journey-scoring associations. Unfiltered and unpaginated. Each item's `unique` guid is what get-referral-group/delete-referral-group expect as `id`.",
8213
- inputSchema: inputSchema110.shape,
8214
- outputSchema: outputSchema94,
8823
+ inputSchema: inputSchema112.shape,
8824
+ outputSchema: outputSchema96,
8215
8825
  slices: ["list"],
8216
8826
  annotations: { readOnlyHint: true },
8217
8827
  handler: async () => {
@@ -8224,14 +8834,14 @@ var tool110 = {
8224
8834
  return result;
8225
8835
  }
8226
8836
  };
8227
- var get_referral_group_all_default = withStandardDecorators(tool110);
8228
- var inputSchema111 = getReferralGroupVisitorsQueryParams;
8229
- var outputSchema95 = getReferralGroupVisitorsResponse;
8230
- var tool111 = {
8837
+ var get_referral_group_all_default = withStandardDecorators(tool112);
8838
+ var inputSchema113 = getReferralGroupVisitorsQueryParams;
8839
+ var outputSchema97 = getReferralGroupVisitorsResponse;
8840
+ var tool113 = {
8231
8841
  name: "get-referral-group-visitors",
8232
8842
  description: "Get visitor counts per referral group over the last `amountOfDays` days (default period if omitted is not documented upstream). Response is a string-keyed map to visitor counts - the exact key semantics (group name vs id) are unconfirmed.",
8233
- inputSchema: inputSchema111.shape,
8234
- outputSchema: outputSchema95,
8843
+ inputSchema: inputSchema113.shape,
8844
+ outputSchema: outputSchema97,
8235
8845
  slices: ["read"],
8236
8846
  annotations: { readOnlyHint: true },
8237
8847
  handler: async (params) => {
@@ -8240,10 +8850,10 @@ var tool111 = {
8240
8850
  );
8241
8851
  }
8242
8852
  };
8243
- var get_referral_group_visitors_default = withStandardDecorators(tool111);
8853
+ var get_referral_group_visitors_default = withStandardDecorators(tool113);
8244
8854
 
8245
8855
  // src/umbraco-api/tools/referral-group/index.ts
8246
- var collection24 = {
8856
+ var collection23 = {
8247
8857
  metadata: {
8248
8858
  name: "referral-group",
8249
8859
  displayName: "Referral Group",
@@ -8251,18 +8861,18 @@ var collection24 = {
8251
8861
  },
8252
8862
  tools: () => [delete_referral_group_default, get_referral_group_default, post_referral_group_default, get_referral_group_all_default, get_referral_group_visitors_default]
8253
8863
  };
8254
- var referral_group_default = collection24;
8255
- var inputSchema112 = postReferralScoringScoredBody.extend({
8864
+ var referral_group_default = collection23;
8865
+ var inputSchema114 = postReferralScoringScoredBody.extend({
8256
8866
  page: postReferralScoringScoredBody.shape.page.int().min(1).default(1),
8257
8867
  pageSize: postReferralScoringScoredBody.shape.pageSize.int().min(1).max(200).default(25),
8258
8868
  amountOfDays: postReferralScoringScoredBody.shape.amountOfDays.default(30)
8259
8869
  });
8260
- var outputSchema96 = postReferralScoringScoredResponse;
8261
- var tool112 = {
8870
+ var outputSchema98 = postReferralScoringScoredResponse;
8871
+ var tool114 = {
8262
8872
  name: "post-referral-scoring-scored",
8263
8873
  description: "List referral URLs that have been assigned a referral score, paginated, over the last `amountOfDays` days. Despite the POST verb, this is read-only. Use `currentPage`/`totalPages`/`totalRowCount` to know when to stop paging. See post-referral-scoring-unscored for referral URLs not yet scored.",
8264
- inputSchema: inputSchema112.shape,
8265
- outputSchema: outputSchema96,
8874
+ inputSchema: inputSchema114.shape,
8875
+ outputSchema: outputSchema98,
8266
8876
  slices: ["search"],
8267
8877
  annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true },
8268
8878
  handler: async (params) => {
@@ -8271,18 +8881,18 @@ var tool112 = {
8271
8881
  );
8272
8882
  }
8273
8883
  };
8274
- var post_referral_scoring_scored_default = withStandardDecorators(tool112);
8275
- var inputSchema113 = postReferralScoringUnscoredBody.extend({
8884
+ var post_referral_scoring_scored_default = withStandardDecorators(tool114);
8885
+ var inputSchema115 = postReferralScoringUnscoredBody.extend({
8276
8886
  page: postReferralScoringUnscoredBody.shape.page.int().min(1).default(1),
8277
8887
  pageSize: postReferralScoringUnscoredBody.shape.pageSize.int().min(1).max(200).default(25),
8278
8888
  amountOfDays: postReferralScoringUnscoredBody.shape.amountOfDays.default(30)
8279
8889
  });
8280
- var outputSchema97 = postReferralScoringUnscoredResponse;
8281
- var tool113 = {
8890
+ var outputSchema99 = postReferralScoringUnscoredResponse;
8891
+ var tool115 = {
8282
8892
  name: "post-referral-scoring-unscored",
8283
8893
  description: "List referral URLs seen in traffic that have NOT yet been assigned a referral score, paginated, over the last `amountOfDays` days. Despite the POST verb, this is read-only. Use `currentPage`/`totalPages`/`totalRowCount` to know when to stop paging. See post-referral-scoring-scored for already-scored referral URLs.",
8284
- inputSchema: inputSchema113.shape,
8285
- outputSchema: outputSchema97,
8894
+ inputSchema: inputSchema115.shape,
8895
+ outputSchema: outputSchema99,
8286
8896
  slices: ["search"],
8287
8897
  annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true },
8288
8898
  handler: async (params) => {
@@ -8291,10 +8901,10 @@ var tool113 = {
8291
8901
  );
8292
8902
  }
8293
8903
  };
8294
- var post_referral_scoring_unscored_default = withStandardDecorators(tool113);
8904
+ var post_referral_scoring_unscored_default = withStandardDecorators(tool115);
8295
8905
 
8296
8906
  // src/umbraco-api/tools/referral-scoring/index.ts
8297
- var collection25 = {
8907
+ var collection24 = {
8298
8908
  metadata: {
8299
8909
  name: "referral-scoring",
8300
8910
  displayName: "Referral Scoring",
@@ -8302,16 +8912,16 @@ var collection25 = {
8302
8912
  },
8303
8913
  tools: () => [post_referral_scoring_scored_default, post_referral_scoring_unscored_default]
8304
8914
  };
8305
- var referral_scoring_default = collection25;
8306
- var inputSchema114 = z.object({
8915
+ var referral_scoring_default = collection24;
8916
+ var inputSchema116 = z.object({
8307
8917
  segmentId: z.number().describe("The segment's numeric id (from get-segments-all), not its unique guid.")
8308
8918
  });
8309
- var outputSchema98 = z.object({ items: getReportingResponse });
8310
- var tool114 = {
8919
+ var outputSchema100 = z.object({ items: getReportingResponse });
8920
+ var tool116 = {
8311
8921
  name: "get-reporting",
8312
8922
  description: "List goal-personalization performance rows (control group vs. personalized group completions/value) for a segment. Same response shape as get-reporting-goal-personalization-performance-by-segment-id - the functional difference between the two, if any, is undocumented upstream.",
8313
- inputSchema: inputSchema114.shape,
8314
- outputSchema: outputSchema98,
8923
+ inputSchema: inputSchema116.shape,
8924
+ outputSchema: outputSchema100,
8315
8925
  slices: ["list"],
8316
8926
  annotations: { readOnlyHint: true },
8317
8927
  handler: async (params) => {
@@ -8324,12 +8934,12 @@ var tool114 = {
8324
8934
  return result;
8325
8935
  }
8326
8936
  };
8327
- var get_reporting_default = withStandardDecorators(tool114);
8328
- var inputSchema115 = z.object({});
8329
- var tool115 = {
8937
+ var get_reporting_default = withStandardDecorators(tool116);
8938
+ var inputSchema117 = z.object({});
8939
+ var tool117 = {
8330
8940
  name: "post-reporting-generation-start",
8331
8941
  description: "Start an asynchronous reporting-table generation job. Call get-reporting-generation-status afterward to check progress (`isGenerating`) and completion (`reportingTablesExist`, `lastGenerated`).",
8332
- inputSchema: inputSchema115.shape,
8942
+ inputSchema: inputSchema117.shape,
8333
8943
  slices: ["create"],
8334
8944
  annotations: { destructiveHint: false, idempotentHint: false },
8335
8945
  handler: async () => {
@@ -8345,14 +8955,14 @@ var tool115 = {
8345
8955
  return result;
8346
8956
  }
8347
8957
  };
8348
- var post_reporting_generation_start_default = withStandardDecorators(tool115);
8349
- var inputSchema116 = z.object({});
8350
- var outputSchema99 = getReportingGenerationStatusResponse;
8351
- var tool116 = {
8958
+ var post_reporting_generation_start_default = withStandardDecorators(tool117);
8959
+ var inputSchema118 = z.object({});
8960
+ var outputSchema101 = getReportingGenerationStatusResponse;
8961
+ var tool118 = {
8352
8962
  name: "get-reporting-generation-status",
8353
8963
  description: "Check the status of Engage's reporting-table generation job: whether the tables exist yet (`reportingTablesExist`), whether generation is currently running (`isGenerating`), and when it last completed (`lastGenerated`). Use after calling post-reporting-generation-start.",
8354
- inputSchema: inputSchema116.shape,
8355
- outputSchema: outputSchema99,
8964
+ inputSchema: inputSchema118.shape,
8965
+ outputSchema: outputSchema101,
8356
8966
  slices: ["read"],
8357
8967
  annotations: { readOnlyHint: true },
8358
8968
  handler: async () => {
@@ -8361,16 +8971,16 @@ var tool116 = {
8361
8971
  );
8362
8972
  }
8363
8973
  };
8364
- var get_reporting_generation_status_default = withStandardDecorators(tool116);
8365
- var inputSchema117 = z.object({
8974
+ var get_reporting_generation_status_default = withStandardDecorators(tool118);
8975
+ var inputSchema119 = z.object({
8366
8976
  segmentId: z.number().describe("The segment's numeric id (from get-segments-all), not its unique guid.")
8367
8977
  });
8368
- var outputSchema100 = z.object({ items: getReportingGoalPersonalizationPerformanceBySegmentIdResponse });
8369
- var tool117 = {
8978
+ var outputSchema102 = z.object({ items: getReportingGoalPersonalizationPerformanceBySegmentIdResponse });
8979
+ var tool119 = {
8370
8980
  name: "get-reporting-goal-personalization-performance-by-segment-id",
8371
8981
  description: "List goal-personalization performance rows (control group vs. personalized group completions/value) for a segment. Same response shape as get-reporting - the functional difference between the two, if any, is undocumented upstream.",
8372
- inputSchema: inputSchema117.shape,
8373
- outputSchema: outputSchema100,
8982
+ inputSchema: inputSchema119.shape,
8983
+ outputSchema: outputSchema102,
8374
8984
  slices: ["list"],
8375
8985
  annotations: { readOnlyHint: true },
8376
8986
  handler: async (params) => {
@@ -8383,16 +8993,16 @@ var tool117 = {
8383
8993
  return result;
8384
8994
  }
8385
8995
  };
8386
- var get_reporting_goal_personalization_performance_by_segment_id_default = withStandardDecorators(tool117);
8387
- var inputSchema118 = z.object({
8996
+ var get_reporting_goal_personalization_performance_by_segment_id_default = withStandardDecorators(tool119);
8997
+ var inputSchema120 = z.object({
8388
8998
  segmentId: z.number().describe("The segment's numeric id (from get-segments-all), not its unique guid.")
8389
8999
  });
8390
- var outputSchema101 = getReportingSegmentSessionsPersonalizationBySegmentIdResponse;
8391
- var tool118 = {
9000
+ var outputSchema103 = getReportingSegmentSessionsPersonalizationBySegmentIdResponse;
9001
+ var tool120 = {
8392
9002
  name: "get-reporting-segment-sessions-personalization-by-segment-id",
8393
9003
  description: "Get session-count buckets (`one`/`two`/`three`/`four`/`moreThanFour` sessions) for a segment's 'personalization' view - i.e. how many visitors had exactly that many sessions. See get-reporting-segment-sessions-potential-by-segment-id for the 'potential' view over the same segment; the precise distinction between the two is not documented upstream.",
8394
- inputSchema: inputSchema118.shape,
8395
- outputSchema: outputSchema101,
9004
+ inputSchema: inputSchema120.shape,
9005
+ outputSchema: outputSchema103,
8396
9006
  slices: ["read"],
8397
9007
  annotations: { readOnlyHint: true },
8398
9008
  handler: async (params) => {
@@ -8401,16 +9011,16 @@ var tool118 = {
8401
9011
  );
8402
9012
  }
8403
9013
  };
8404
- var get_reporting_segment_sessions_personalization_by_segment_id_default = withStandardDecorators(tool118);
8405
- var inputSchema119 = z.object({
9014
+ var get_reporting_segment_sessions_personalization_by_segment_id_default = withStandardDecorators(tool120);
9015
+ var inputSchema121 = z.object({
8406
9016
  segmentId: z.number().describe("The segment's numeric id (from get-segments-all), not its unique guid.")
8407
9017
  });
8408
- var outputSchema102 = getReportingSegmentSessionsPotentialBySegmentIdResponse;
8409
- var tool119 = {
9018
+ var outputSchema104 = getReportingSegmentSessionsPotentialBySegmentIdResponse;
9019
+ var tool121 = {
8410
9020
  name: "get-reporting-segment-sessions-potential-by-segment-id",
8411
9021
  description: "Get session-count buckets (`one`/`two`/`three`/`four`/`moreThanFour` sessions) for a segment's 'potential' view - i.e. how many visitors had exactly that many sessions. See get-reporting-segment-sessions-personalization-by-segment-id for the 'personalization' view over the same segment; the precise distinction between the two is not documented upstream.",
8412
- inputSchema: inputSchema119.shape,
8413
- outputSchema: outputSchema102,
9022
+ inputSchema: inputSchema121.shape,
9023
+ outputSchema: outputSchema104,
8414
9024
  slices: ["read"],
8415
9025
  annotations: { readOnlyHint: true },
8416
9026
  handler: async (params) => {
@@ -8419,10 +9029,10 @@ var tool119 = {
8419
9029
  );
8420
9030
  }
8421
9031
  };
8422
- var get_reporting_segment_sessions_potential_by_segment_id_default = withStandardDecorators(tool119);
9032
+ var get_reporting_segment_sessions_potential_by_segment_id_default = withStandardDecorators(tool121);
8423
9033
 
8424
9034
  // src/umbraco-api/tools/reporting/index.ts
8425
- var collection26 = {
9035
+ var collection25 = {
8426
9036
  metadata: {
8427
9037
  name: "reporting",
8428
9038
  displayName: "Reporting",
@@ -8430,18 +9040,18 @@ var collection26 = {
8430
9040
  },
8431
9041
  tools: () => [get_reporting_default, post_reporting_generation_start_default, get_reporting_generation_status_default, get_reporting_goal_personalization_performance_by_segment_id_default, get_reporting_segment_sessions_personalization_by_segment_id_default, get_reporting_segment_sessions_potential_by_segment_id_default]
8432
9042
  };
8433
- var reporting_default = collection26;
8434
- var inputSchema120 = getSearchTermsQueryParams.extend({
9043
+ var reporting_default = collection25;
9044
+ var inputSchema122 = getSearchTermsQueryParams.extend({
8435
9045
  visitorId: getSearchTermsQueryParams.shape.visitorId.describe(
8436
9046
  "Scope results to one visitor's search terms. Omitting it returns search terms across all visitors, unfiltered and unpaginated."
8437
9047
  )
8438
9048
  });
8439
- var outputSchema103 = z.object({ items: getSearchTermsResponse });
8440
- var tool120 = {
9049
+ var outputSchema105 = z.object({ items: getSearchTermsResponse });
9050
+ var tool122 = {
8441
9051
  name: "get-search-terms",
8442
9052
  description: "List on-site search queries recorded by Umbraco Engage, with their timestamps. Pass `visitorId` to scope to one visitor.",
8443
- inputSchema: inputSchema120.shape,
8444
- outputSchema: outputSchema103,
9053
+ inputSchema: inputSchema122.shape,
9054
+ outputSchema: outputSchema105,
8445
9055
  slices: ["list"],
8446
9056
  annotations: { readOnlyHint: true },
8447
9057
  handler: async (params) => {
@@ -8454,10 +9064,10 @@ var tool120 = {
8454
9064
  return result;
8455
9065
  }
8456
9066
  };
8457
- var get_search_terms_default = withStandardDecorators(tool120);
9067
+ var get_search_terms_default = withStandardDecorators(tool122);
8458
9068
 
8459
9069
  // src/umbraco-api/tools/search-terms/index.ts
8460
- var collection27 = {
9070
+ var collection26 = {
8461
9071
  metadata: {
8462
9072
  name: "search-terms",
8463
9073
  displayName: "Search Terms",
@@ -8465,14 +9075,14 @@ var collection27 = {
8465
9075
  },
8466
9076
  tools: () => [get_search_terms_default]
8467
9077
  };
8468
- var search_terms_default = collection27;
8469
- var inputSchema121 = z.object({
9078
+ var search_terms_default = collection26;
9079
+ var inputSchema123 = z.object({
8470
9080
  id: z.uuid().describe("The segment's unique guid (from get-segments-all's `unique` field, not its numeric `id`).")
8471
9081
  });
8472
- var tool121 = {
9082
+ var tool123 = {
8473
9083
  name: "delete-segments",
8474
9084
  description: "Delete a segment by its unique guid. Idempotent - deleting an already-deleted or non-existent guid still succeeds.",
8475
- inputSchema: inputSchema121.shape,
9085
+ inputSchema: inputSchema123.shape,
8476
9086
  slices: ["delete"],
8477
9087
  annotations: { destructiveHint: true },
8478
9088
  handler: async (params) => {
@@ -8481,16 +9091,16 @@ var tool121 = {
8481
9091
  );
8482
9092
  }
8483
9093
  };
8484
- var delete_segments_default = withStandardDecorators(tool121);
8485
- var inputSchema122 = z.object({
9094
+ var delete_segments_default = withStandardDecorators(tool123);
9095
+ var inputSchema124 = z.object({
8486
9096
  id: z.uuid().describe("The segment's unique guid (from get-segments-all's `unique` field, not its numeric `id`).")
8487
9097
  });
8488
- var outputSchema104 = getSegmentsResponse;
8489
- var tool122 = {
9098
+ var outputSchema106 = getSegmentsResponse;
9099
+ var tool124 = {
8490
9100
  name: "get-segments",
8491
9101
  description: "Get a single segment by its unique guid. Omitting `id` or supplying a non-existent one silently returns no data rather than an error, so always pass a real guid from get-segments-all.",
8492
- inputSchema: inputSchema122.shape,
8493
- outputSchema: outputSchema104,
9102
+ inputSchema: inputSchema124.shape,
9103
+ outputSchema: outputSchema106,
8494
9104
  slices: ["read"],
8495
9105
  annotations: { readOnlyHint: true },
8496
9106
  handler: async (params) => {
@@ -8499,8 +9109,8 @@ var tool122 = {
8499
9109
  );
8500
9110
  }
8501
9111
  };
8502
- var get_segments_default = withStandardDecorators(tool122);
8503
- var inputSchema123 = z.object({
9112
+ var get_segments_default = withStandardDecorators(tool124);
9113
+ var inputSchema125 = z.object({
8504
9114
  id: postSegmentsBody.shape.id.optional().describe("Omit to create a new segment. Supply the existing numeric id (from get-segments-all) to update it."),
8505
9115
  unique: postSegmentsBody.shape.unique.optional().describe("Omit to create a new segment (server-generated). Supply the existing guid to update it."),
8506
9116
  name: z.string().nullish(),
@@ -8517,12 +9127,12 @@ var inputSchema123 = z.object({
8517
9127
  })
8518
9128
  ).default([]).describe("Targeting rules for this segment. WARNING: on update this replaces the full rule list - omitting it wipes existing rules.")
8519
9129
  });
8520
- var outputSchema105 = postSegmentsResponse;
8521
- var tool123 = {
9130
+ var outputSchema107 = postSegmentsResponse;
9131
+ var tool125 = {
8522
9132
  name: "post-segments",
8523
9133
  description: "Create a new visitor segment, or update an existing one (supply its real `id`/`unique` to update instead of create). A segment groups visitors by targeting rules and is used for reporting and personalization.",
8524
- inputSchema: inputSchema123.shape,
8525
- outputSchema: outputSchema105,
9134
+ inputSchema: inputSchema125.shape,
9135
+ outputSchema: outputSchema107,
8526
9136
  slices: ["create", "update"],
8527
9137
  annotations: { destructiveHint: false, idempotentHint: false },
8528
9138
  handler: async (params) => {
@@ -8553,14 +9163,14 @@ var tool123 = {
8553
9163
  );
8554
9164
  }
8555
9165
  };
8556
- var post_segments_default = withStandardDecorators(tool123);
8557
- var inputSchema124 = getSegmentsAllQueryParams;
8558
- var outputSchema106 = z.object({ items: getSegmentsAllResponse });
8559
- var tool124 = {
9166
+ var post_segments_default = withStandardDecorators(tool125);
9167
+ var inputSchema126 = getSegmentsAllQueryParams;
9168
+ var outputSchema108 = z.object({ items: getSegmentsAllResponse });
9169
+ var tool126 = {
8560
9170
  name: "get-segments-all",
8561
9171
  description: "List all visitor segments, including each segment's numeric `id` (used by post-segments-update-priority) and `unique` guid (used by get-segments/delete-segments/post-segments' update path). Optionally filter by `isTemporary` or `amountOfDays`.",
8562
- inputSchema: inputSchema124.shape,
8563
- outputSchema: outputSchema106,
9172
+ inputSchema: inputSchema126.shape,
9173
+ outputSchema: outputSchema108,
8564
9174
  slices: ["list"],
8565
9175
  annotations: { readOnlyHint: true },
8566
9176
  handler: async (params) => {
@@ -8573,14 +9183,14 @@ var tool124 = {
8573
9183
  return result;
8574
9184
  }
8575
9185
  };
8576
- var get_segments_all_default = withStandardDecorators(tool124);
8577
- var inputSchema125 = z.object({});
8578
- var outputSchema107 = getSegmentsLocationsDataResponse;
8579
- var tool125 = {
9186
+ var get_segments_all_default = withStandardDecorators(tool126);
9187
+ var inputSchema127 = z.object({});
9188
+ var outputSchema109 = getSegmentsLocationsDataResponse;
9189
+ var tool127 = {
8580
9190
  name: "get-segments-locations-data",
8581
9191
  description: "List all countries, provinces, cities, and counties seen across visitor traffic - the reference values available for building location-based segment targeting rules.",
8582
- inputSchema: inputSchema125.shape,
8583
- outputSchema: outputSchema107,
9192
+ inputSchema: inputSchema127.shape,
9193
+ outputSchema: outputSchema109,
8584
9194
  slices: ["read"],
8585
9195
  annotations: { readOnlyHint: true },
8586
9196
  handler: async () => {
@@ -8589,16 +9199,16 @@ var tool125 = {
8589
9199
  );
8590
9200
  }
8591
9201
  };
8592
- var get_segments_locations_data_default = withStandardDecorators(tool125);
8593
- var inputSchema126 = z.object({
9202
+ var get_segments_locations_data_default = withStandardDecorators(tool127);
9203
+ var inputSchema128 = z.object({
8594
9204
  items: postSegmentsUpdatePriorityBody.describe(
8595
9205
  "Segments to reorder, each identified by its numeric `id` (from get-segments-all, not its `unique` guid) with the new `sortOrder` to apply."
8596
9206
  )
8597
9207
  });
8598
- var tool126 = {
9208
+ var tool128 = {
8599
9209
  name: "post-segments-update-priority",
8600
9210
  description: "Reorder segments by updating their `sortOrder` values. Pass one or more {id, sortOrder} pairs; only the listed segments are changed.",
8601
- inputSchema: inputSchema126.shape,
9211
+ inputSchema: inputSchema128.shape,
8602
9212
  slices: ["update"],
8603
9213
  annotations: { destructiveHint: false, idempotentHint: true },
8604
9214
  handler: async (params) => {
@@ -8607,10 +9217,10 @@ var tool126 = {
8607
9217
  );
8608
9218
  }
8609
9219
  };
8610
- var post_segments_update_priority_default = withStandardDecorators(tool126);
9220
+ var post_segments_update_priority_default = withStandardDecorators(tool128);
8611
9221
 
8612
9222
  // src/umbraco-api/tools/segments/index.ts
8613
- var collection28 = {
9223
+ var collection27 = {
8614
9224
  metadata: {
8615
9225
  name: "segments",
8616
9226
  displayName: "Segments",
@@ -8618,14 +9228,14 @@ var collection28 = {
8618
9228
  },
8619
9229
  tools: () => [delete_segments_default, get_segments_default, post_segments_default, get_segments_all_default, get_segments_locations_data_default, post_segments_update_priority_default]
8620
9230
  };
8621
- var segments_default = collection28;
8622
- var inputSchema127 = z.object({});
8623
- var outputSchema108 = getStatisticsResponse;
8624
- var tool127 = {
9231
+ var segments_default = collection27;
9232
+ var inputSchema129 = z.object({});
9233
+ var outputSchema110 = getStatisticsResponse;
9234
+ var tool129 = {
8625
9235
  name: "get-statistics",
8626
9236
  description: "Get site-wide Umbraco Engage totals: pageview count, person vs. bot visitor counts, tracked event count, and configured segment-setting count.",
8627
- inputSchema: inputSchema127.shape,
8628
- outputSchema: outputSchema108,
9237
+ inputSchema: inputSchema129.shape,
9238
+ outputSchema: outputSchema110,
8629
9239
  slices: ["read"],
8630
9240
  annotations: { readOnlyHint: true },
8631
9241
  handler: async () => {
@@ -8634,10 +9244,10 @@ var tool127 = {
8634
9244
  );
8635
9245
  }
8636
9246
  };
8637
- var get_statistics_default = withStandardDecorators(tool127);
9247
+ var get_statistics_default = withStandardDecorators(tool129);
8638
9248
 
8639
9249
  // src/umbraco-api/tools/statistics/index.ts
8640
- var collection29 = {
9250
+ var collection28 = {
8641
9251
  metadata: {
8642
9252
  name: "statistics",
8643
9253
  displayName: "Statistics",
@@ -8645,14 +9255,14 @@ var collection29 = {
8645
9255
  },
8646
9256
  tools: () => [get_statistics_default]
8647
9257
  };
8648
- var statistics_default = collection29;
8649
- var inputSchema128 = getSuspiciousActivityOverviewQueryParams;
8650
- var outputSchema109 = getSuspiciousActivityOverviewResponse;
8651
- var tool128 = {
9258
+ var statistics_default = collection28;
9259
+ var inputSchema130 = getSuspiciousActivityOverviewQueryParams;
9260
+ var outputSchema111 = getSuspiciousActivityOverviewResponse;
9261
+ var tool130 = {
8652
9262
  name: "get-suspicious-activity-overview",
8653
9263
  description: "List visitors flagged with unusually high pageview counts (possible bots/scrapers), with their IP address and user agent. Each visitor carries a `visitorType` (Person or NonPerson); pass `filter` ('All' by default, 'Person' or 'NonPerson') to narrow the list. Supports `skip`/`take` pagination; use the response's `totalResults` to know when to stop paging.",
8654
- inputSchema: inputSchema128.shape,
8655
- outputSchema: outputSchema109,
9264
+ inputSchema: inputSchema130.shape,
9265
+ outputSchema: outputSchema111,
8656
9266
  slices: ["list"],
8657
9267
  annotations: { readOnlyHint: true },
8658
9268
  handler: async (params) => {
@@ -8661,10 +9271,10 @@ var tool128 = {
8661
9271
  );
8662
9272
  }
8663
9273
  };
8664
- var get_suspicious_activity_overview_default = withStandardDecorators(tool128);
9274
+ var get_suspicious_activity_overview_default = withStandardDecorators(tool130);
8665
9275
 
8666
9276
  // src/umbraco-api/tools/suspicious-activity/index.ts
8667
- var collection30 = {
9277
+ var collection29 = {
8668
9278
  metadata: {
8669
9279
  name: "suspicious-activity",
8670
9280
  displayName: "Suspicious Activity",
@@ -8672,12 +9282,12 @@ var collection30 = {
8672
9282
  },
8673
9283
  tools: () => [get_suspicious_activity_overview_default]
8674
9284
  };
8675
- var suspicious_activity_default = collection30;
8676
- var inputSchema129 = z.object({ key: z.uuid() });
8677
- var tool129 = {
9285
+ var suspicious_activity_default = collection29;
9286
+ var inputSchema131 = z.object({ key: z.uuid() });
9287
+ var tool131 = {
8678
9288
  name: "delete-traffic-filter",
8679
9289
  description: "Delete a traffic filter rule by its `key` guid.",
8680
- inputSchema: inputSchema129.shape,
9290
+ inputSchema: inputSchema131.shape,
8681
9291
  slices: ["delete"],
8682
9292
  annotations: { destructiveHint: true },
8683
9293
  handler: async (params) => {
@@ -8686,14 +9296,14 @@ var tool129 = {
8686
9296
  );
8687
9297
  }
8688
9298
  };
8689
- var delete_traffic_filter_default = withStandardDecorators(tool129);
8690
- var inputSchema130 = z.object({ key: z.uuid() });
8691
- var outputSchema110 = getTrafficFilterResponse;
8692
- var tool130 = {
9299
+ var delete_traffic_filter_default = withStandardDecorators(tool131);
9300
+ var inputSchema132 = z.object({ key: z.uuid() });
9301
+ var outputSchema112 = getTrafficFilterResponse;
9302
+ var tool132 = {
8693
9303
  name: "get-traffic-filter",
8694
9304
  description: "Get a single traffic filter rule by its `key` guid.",
8695
- inputSchema: inputSchema130.shape,
8696
- outputSchema: outputSchema110,
9305
+ inputSchema: inputSchema132.shape,
9306
+ outputSchema: outputSchema112,
8697
9307
  slices: ["read"],
8698
9308
  annotations: { readOnlyHint: true },
8699
9309
  handler: async (params) => {
@@ -8702,8 +9312,8 @@ var tool130 = {
8702
9312
  );
8703
9313
  }
8704
9314
  };
8705
- var get_traffic_filter_default = withStandardDecorators(tool130);
8706
- var inputSchema131 = z.object({
9315
+ var get_traffic_filter_default = withStandardDecorators(tool132);
9316
+ var inputSchema133 = z.object({
8707
9317
  name: postTrafficFilterBody.shape.name,
8708
9318
  description: postTrafficFilterBody.shape.description,
8709
9319
  type: postTrafficFilterBody.shape.type.describe("e.g. 'UserAgent' - the category of request attribute this filter inspects."),
@@ -8713,12 +9323,12 @@ var inputSchema131 = z.object({
8713
9323
  values: postTrafficFilterBody.shape.values.default([]),
8714
9324
  isActive: postTrafficFilterBody.shape.isActive.default(true)
8715
9325
  });
8716
- var outputSchema111 = z.object({ key: postTrafficFilterResponse });
8717
- var tool131 = {
9326
+ var outputSchema113 = z.object({ key: postTrafficFilterResponse });
9327
+ var tool133 = {
8718
9328
  name: "post-traffic-filter",
8719
9329
  description: "Create a new traffic filter rule (blocks or filters incoming traffic matching a condition, e.g. a user-agent pattern). Returns the created filter's `key` guid.",
8720
- inputSchema: inputSchema131.shape,
8721
- outputSchema: outputSchema111,
9330
+ inputSchema: inputSchema133.shape,
9331
+ outputSchema: outputSchema113,
8722
9332
  slices: ["create"],
8723
9333
  annotations: { destructiveHint: false, idempotentHint: false },
8724
9334
  handler: async (params) => {
@@ -8745,14 +9355,14 @@ var tool131 = {
8745
9355
  return result;
8746
9356
  }
8747
9357
  };
8748
- var post_traffic_filter_default = withStandardDecorators(tool131);
8749
- var inputSchema132 = z.object({});
8750
- var outputSchema112 = z.object({ items: getTrafficFilterAllResponse });
8751
- var tool132 = {
9358
+ var post_traffic_filter_default = withStandardDecorators(tool133);
9359
+ var inputSchema134 = z.object({});
9360
+ var outputSchema114 = z.object({ items: getTrafficFilterAllResponse });
9361
+ var tool134 = {
8752
9362
  name: "get-traffic-filter-all",
8753
9363
  description: "List every traffic filter rule (rules that block or filter incoming traffic matching a condition, e.g. a user-agent pattern). Includes a built-in default rule always present on a fresh install. Each item's `key` guid is what get-traffic-filter/delete-traffic-filter expect.",
8754
- inputSchema: inputSchema132.shape,
8755
- outputSchema: outputSchema112,
9364
+ inputSchema: inputSchema134.shape,
9365
+ outputSchema: outputSchema114,
8756
9366
  slices: ["list"],
8757
9367
  annotations: { readOnlyHint: true },
8758
9368
  handler: async () => {
@@ -8765,14 +9375,14 @@ var tool132 = {
8765
9375
  return result;
8766
9376
  }
8767
9377
  };
8768
- var get_traffic_filter_all_default = withStandardDecorators(tool132);
8769
- var inputSchema133 = z.object({});
8770
- var outputSchema113 = getTrafficFilterEmptyResponse;
8771
- var tool133 = {
9378
+ var get_traffic_filter_all_default = withStandardDecorators(tool134);
9379
+ var inputSchema135 = z.object({});
9380
+ var outputSchema115 = getTrafficFilterEmptyResponse;
9381
+ var tool135 = {
8772
9382
  name: "get-traffic-filter-empty",
8773
9383
  description: "Get a blank traffic filter template with default field values. Useful for inspecting the shape/defaults post-traffic-filter expects - not required to create a filter, since post-traffic-filter applies its own defaults internally when fields are omitted.",
8774
- inputSchema: inputSchema133.shape,
8775
- outputSchema: outputSchema113,
9384
+ inputSchema: inputSchema135.shape,
9385
+ outputSchema: outputSchema115,
8776
9386
  slices: ["other"],
8777
9387
  annotations: { readOnlyHint: true },
8778
9388
  handler: async () => {
@@ -8781,10 +9391,10 @@ var tool133 = {
8781
9391
  );
8782
9392
  }
8783
9393
  };
8784
- var get_traffic_filter_empty_default = withStandardDecorators(tool133);
9394
+ var get_traffic_filter_empty_default = withStandardDecorators(tool135);
8785
9395
 
8786
9396
  // src/umbraco-api/tools/traffic-filter/index.ts
8787
- var collection31 = {
9397
+ var collection30 = {
8788
9398
  metadata: {
8789
9399
  name: "traffic-filter",
8790
9400
  displayName: "Traffic Filter",
@@ -8792,97 +9402,7 @@ var collection31 = {
8792
9402
  },
8793
9403
  tools: () => [delete_traffic_filter_default, get_traffic_filter_default, post_traffic_filter_default, get_traffic_filter_all_default, get_traffic_filter_empty_default]
8794
9404
  };
8795
- var traffic_filter_default = collection31;
8796
- var inputSchema134 = z.object({ userGroupKey: z.uuid() });
8797
- var outputSchema114 = getPermissionsUserGroupResponse;
8798
- var tool134 = {
8799
- name: "get-permissions-user-group",
8800
- description: "Get the Engage access-permissions entry for a specific Umbraco user group by its `userGroupKey`. Errors if that user group has no stored entry - call this before post-permissions-user-group to check whether an entry already exists (that tool is insert-only and creating a duplicate permanently breaks get-permissions-user-group-all).",
8801
- inputSchema: inputSchema134.shape,
8802
- outputSchema: outputSchema114,
8803
- slices: ["read"],
8804
- annotations: { readOnlyHint: true },
8805
- handler: async (params) => {
8806
- return executeGetApiCall(
8807
- (client) => client.getPermissionsUserGroup(params, CAPTURE_RAW_HTTP_RESPONSE)
8808
- );
8809
- }
8810
- };
8811
- var get_permissions_user_group_default = withStandardDecorators(tool134);
8812
- var inputSchema135 = z.object({
8813
- userGroupKey: postPermissionsUserGroupBody.shape.userGroupKey,
8814
- userGroupName: z.string().nullish(),
8815
- userGroupAlias: z.string().nullish(),
8816
- userGroupIconUrl: z.string().nullish(),
8817
- accessToAnalytics: z.boolean().default(false),
8818
- accessToAbTesting: z.boolean().default(false),
8819
- accessToPersonalization: z.boolean().default(false),
8820
- accessToSettings: z.boolean().default(false),
8821
- accessToProfiles: z.boolean().default(false),
8822
- accessToReporting: z.boolean().default(false),
8823
- updatedByUmbracoUser: z.string().nullish()
8824
- });
8825
- var tool135 = {
8826
- name: "post-permissions-user-group",
8827
- description: "Create an Engage permissions entry for an Umbraco user group. CRITICAL: this endpoint is insert-only, never an upsert - calling it again for a `userGroupKey` that already has a stored entry creates a SECOND row for that key, which permanently crashes get-permissions-user-group-all (500 error) for every caller, with no delete endpoint to recover. Always call get-permissions-user-group first to check whether the user group already has an entry before calling this.",
8828
- inputSchema: inputSchema135.shape,
8829
- slices: ["create"],
8830
- annotations: { destructiveHint: true, idempotentHint: false },
8831
- handler: async (params) => {
8832
- const body = {
8833
- id: 0,
8834
- unique: randomUUID(),
8835
- userGroupKey: params.userGroupKey,
8836
- userGroupName: params.userGroupName ?? null,
8837
- userGroupAlias: params.userGroupAlias ?? null,
8838
- userGroupIconUrl: params.userGroupIconUrl ?? null,
8839
- accessToAnalytics: params.accessToAnalytics,
8840
- accessToAbTesting: params.accessToAbTesting,
8841
- accessToPersonalization: params.accessToPersonalization,
8842
- accessToSettings: params.accessToSettings,
8843
- accessToProfiles: params.accessToProfiles,
8844
- accessToReporting: params.accessToReporting,
8845
- updated: (/* @__PURE__ */ new Date()).toISOString(),
8846
- updatedByUmbracoUserKey: randomUUID(),
8847
- updatedByUmbracoUser: params.updatedByUmbracoUser ?? null
8848
- };
8849
- return executeVoidApiCall(
8850
- (client) => client.postPermissionsUserGroup(body, CAPTURE_RAW_HTTP_RESPONSE)
8851
- );
8852
- }
8853
- };
8854
- var post_permissions_user_group_default = withStandardDecorators(tool135);
8855
- var inputSchema136 = z.object({});
8856
- var outputSchema115 = z.object({ items: getPermissionsUserGroupAllResponse });
8857
- var tool136 = {
8858
- name: "get-permissions-user-group-all",
8859
- description: "List Engage access permissions (analytics, A/B testing, personalization, settings, profiles, reporting) for every Umbraco user group that has a stored entry. Not paginated.",
8860
- inputSchema: inputSchema136.shape,
8861
- outputSchema: outputSchema115,
8862
- slices: ["list"],
8863
- annotations: { readOnlyHint: true },
8864
- handler: async () => {
8865
- const result = await executeGetApiCall(
8866
- (client) => client.getPermissionsUserGroupAll(CAPTURE_RAW_HTTP_RESPONSE)
8867
- );
8868
- if (!result.isError && Array.isArray(result.structuredContent)) {
8869
- return { ...result, structuredContent: { items: result.structuredContent } };
8870
- }
8871
- return result;
8872
- }
8873
- };
8874
- var get_permissions_user_group_all_default = withStandardDecorators(tool136);
8875
-
8876
- // src/umbraco-api/tools/user-group-permissions/index.ts
8877
- var collection32 = {
8878
- metadata: {
8879
- name: "user-group-permissions",
8880
- displayName: "User Group Permissions",
8881
- description: "Umbraco Engage User Group Permissions tools"
8882
- },
8883
- tools: () => [get_permissions_user_group_default, post_permissions_user_group_default, get_permissions_user_group_all_default]
8884
- };
8885
- var user_group_permissions_default = collection32;
9405
+ var traffic_filter_default = collection30;
8886
9406
 
8887
9407
  // src/config/mode-registry.ts
8888
9408
  var toolModes = [
@@ -8919,16 +9439,14 @@ var toolModes = [
8919
9439
  {
8920
9440
  name: "administration",
8921
9441
  displayName: "Administration",
8922
- description: "Configuration, permissions, data cleanup, main switch, package and add-ons",
9442
+ description: "Configuration, permissions, data cleanup, main switch and package",
8923
9443
  collections: [
8924
9444
  "configuration",
8925
9445
  "main-switch",
8926
9446
  "package",
8927
- "add-ons",
8928
9447
  "cultures",
8929
9448
  "content-types",
8930
9449
  "document-type-permissions",
8931
- "user-group-permissions",
8932
9450
  "data-cleanup",
8933
9451
  "traffic-filter",
8934
9452
  "suspicious-activity"
@@ -9242,6 +9760,16 @@ var getUmbracoEngageManagementAPI = () => {
9242
9760
  options
9243
9761
  );
9244
9762
  };
9763
+ const postAbTestArchive = (params, options) => {
9764
+ return customInstance(
9765
+ {
9766
+ url: `/umbraco/engage/management/api/v1/ab-test/archive`,
9767
+ method: "POST",
9768
+ params
9769
+ },
9770
+ options
9771
+ );
9772
+ };
9245
9773
  const getAbTestEmpty = (params, options) => {
9246
9774
  return customInstance(
9247
9775
  {
@@ -9252,6 +9780,16 @@ var getUmbracoEngageManagementAPI = () => {
9252
9780
  options
9253
9781
  );
9254
9782
  };
9783
+ const postAbTestEnd = (params, options) => {
9784
+ return customInstance(
9785
+ {
9786
+ url: `/umbraco/engage/management/api/v1/ab-test/end`,
9787
+ method: "POST",
9788
+ params
9789
+ },
9790
+ options
9791
+ );
9792
+ };
9255
9793
  const getAbTestPage = (params, options) => {
9256
9794
  return customInstance(
9257
9795
  {
@@ -9283,6 +9821,16 @@ var getUmbracoEngageManagementAPI = () => {
9283
9821
  options
9284
9822
  );
9285
9823
  };
9824
+ const postAbTestUnschedule = (params, options) => {
9825
+ return customInstance(
9826
+ {
9827
+ url: `/umbraco/engage/management/api/v1/ab-test/unschedule`,
9828
+ method: "POST",
9829
+ params
9830
+ },
9831
+ options
9832
+ );
9833
+ };
9286
9834
  const postAbTestVariantDetails = (abTestDtoModel, options) => {
9287
9835
  return customInstance(
9288
9836
  {
@@ -9304,15 +9852,6 @@ var getUmbracoEngageManagementAPI = () => {
9304
9852
  options
9305
9853
  );
9306
9854
  };
9307
- const getAddOns = (options) => {
9308
- return customInstance(
9309
- {
9310
- url: `/umbraco/engage/management/api/v1/add-ons`,
9311
- method: "GET"
9312
- },
9313
- options
9314
- );
9315
- };
9316
9855
  const getAnalyticsDistinct = (params, options) => {
9317
9856
  return customInstance(
9318
9857
  {
@@ -9875,6 +10414,15 @@ var getUmbracoEngageManagementAPI = () => {
9875
10414
  options
9876
10415
  );
9877
10416
  };
10417
+ const postHeatmapsEnd = (options) => {
10418
+ return customInstance(
10419
+ {
10420
+ url: `/umbraco/engage/management/api/v1/heatmaps/end`,
10421
+ method: "POST"
10422
+ },
10423
+ options
10424
+ );
10425
+ };
9878
10426
  const postHeatmapsGenerateScrollHeatmap = (heatmapSettingsRequestModel, options) => {
9879
10427
  return customInstance(
9880
10428
  {
@@ -9886,6 +10434,15 @@ var getUmbracoEngageManagementAPI = () => {
9886
10434
  options
9887
10435
  );
9888
10436
  };
10437
+ const postHeatmapsStart = (options) => {
10438
+ return customInstance(
10439
+ {
10440
+ url: `/umbraco/engage/management/api/v1/heatmaps/start`,
10441
+ method: "POST"
10442
+ },
10443
+ options
10444
+ );
10445
+ };
9889
10446
  const getHeatmapsVariants = (params, options) => {
9890
10447
  return customInstance(
9891
10448
  {
@@ -10042,24 +10599,6 @@ var getUmbracoEngageManagementAPI = () => {
10042
10599
  options
10043
10600
  );
10044
10601
  };
10045
- const postPreviewEnd = (options) => {
10046
- return customInstance(
10047
- {
10048
- url: `/umbraco/engage/management/api/v1/preview/end`,
10049
- method: "POST"
10050
- },
10051
- options
10052
- );
10053
- };
10054
- const postPreviewStart = (options) => {
10055
- return customInstance(
10056
- {
10057
- url: `/umbraco/engage/management/api/v1/preview/start`,
10058
- method: "POST"
10059
- },
10060
- options
10061
- );
10062
- };
10063
10602
  const getProfileBotVisitors = (options) => {
10064
10603
  return customInstance(
10065
10604
  {
@@ -10566,7 +11105,7 @@ var getUmbracoEngageManagementAPI = () => {
10566
11105
  options
10567
11106
  );
10568
11107
  };
10569
- return { postAbTestProject, deleteAbTestProject, getAbTestProject, putAbTestProject, getAbTestProjectAll, getAbTestProjectDetails, getAbTestProjectItem, getAbTestProjectTreeRoot, deleteAbTestVariant, getAbTestVariant, postAbTestVariant, getAbTestVariantAll, postAbTestVariantCreate, postAbTestVariantDisable, getAbTestVariantSegment, deleteAbTest, getAbTest, postAbTest, getAbTestAll, getAbTestEmpty, getAbTestPage, postAbTestRuntimeIndication, postAbTestSegment, postAbTestVariantDetails, getAbTestViewModel, getAddOns, getAnalyticsDistinct, postAnalyticsQuery, deleteAnnotations, postAnnotations, getAnnotationsAll, getAnnotationsEmpty, getAnnotationsGlobal, getAnnotationsPage, deleteAppliedPersonalization, postAppliedPersonalization, getAppliedPersonalizationAll, getAppliedPersonalizationId, postAppliedPersonalizationSegment, getAppliedPersonalizationSegment, deleteCampaignGroup, getCampaignGroup, postCampaignGroup, getCampaignGroupAll, getCampaignGroupUnscored, getCampaignGroupVisitors, getCampaigns, postCockpitDeleteCookie, getCockpitGetUmbracoPageInfo, getCockpitAuthDomains, postCockpitAuthGenerateToken, getConfiguration, getContentScoringAll, getContentScoringExportCustomerJourney, getContentScoringExportPersona, deleteContentScoringJourney, deleteContentScoringPersona, postContentScoringSave, getContentTypesAll, getContentTypesSegmentedProperty, getCultures, deleteCustomerJourney, postCustomerJourney, getCustomerJourneyAll, getCustomerJourneyDetails, getCustomerJourneyEmpty, postCustomerJourneyLock, postCustomerJourneyUnlock, getDataCleanupLastRun, getDataCleanupLogs, getDataCleanupRuns, getDataGenerationLogs, getPermissionsDocumentType, postPermissionsDocumentType, getPermissionsDocumentTypeAll, postGoal, postGoalAll, getGoalAllTypes, getGoalDetails, getGoalsAll, getGoalsItem, getGoalsMain, getGoalsTreeRoot, postHeatmapsGenerateScrollHeatmap, getHeatmapsVariants, getMainSwitch, postMainSwitchTurnOff, postMainSwitchTurnOn, getPackage, postUmbracoEngagePagedataCollect, postUmbracoEngagePagedataCollectEvent, getUmbracoEngagePagedataPing, postUmbracoEngagePagedataPing, deletePersona, postPersona, getPersonaAll, getPersonaDetails, getPersonaEmpty, postPersonaLock, postPersonaUnlock, postPreviewEnd, postPreviewStart, getProfileBotVisitors, getProfileCustomerJourneyStepScores, getProfileDetails, getProfileExport, postProfileExportCsv, getProfileGoalCompletions, getProfileLastActiveSegment, postProfileOverview, getProfilePageEvents, getProfilePageviews, getProfilePersonaScores, getProfilePotential, getProfileRelated, getProfileSessions, getProfileStatisticsGrowth, getProfileStatisticsIdentification, getProfileStatisticsTotal, deleteReferralGroup, getReferralGroup, postReferralGroup, getReferralGroupAll, getReferralGroupVisitors, postReferralScoringScored, postReferralScoringUnscored, getReporting, postReportingGenerationStart, getReportingGenerationStatus, getReportingGoalPersonalizationPerformanceBySegmentId, getReportingSegmentSessionsPersonalizationBySegmentId, getReportingSegmentSessionsPotentialBySegmentId, getSearchTerms, deleteSegments, getSegments, postSegments, getSegmentsAll, getSegmentsItem, getSegmentsLocationsData, getSegmentsPreviewableSegments, getSegmentsTreeRoot, postSegmentsUpdatePriority, getStatistics, getSuspiciousActivityOverview, putSuspiciousActivityVisitorsByVisitorIdVisitorType, deleteTrafficFilter, getTrafficFilter, postTrafficFilter, getTrafficFilterAll, getTrafficFilterEmpty, getPermissionsUserGroup, postPermissionsUserGroup, getPermissionsUserGroupAll };
11108
+ return { postAbTestProject, deleteAbTestProject, getAbTestProject, putAbTestProject, getAbTestProjectAll, getAbTestProjectDetails, getAbTestProjectItem, getAbTestProjectTreeRoot, deleteAbTestVariant, getAbTestVariant, postAbTestVariant, getAbTestVariantAll, postAbTestVariantCreate, postAbTestVariantDisable, getAbTestVariantSegment, deleteAbTest, getAbTest, postAbTest, getAbTestAll, postAbTestArchive, getAbTestEmpty, postAbTestEnd, getAbTestPage, postAbTestRuntimeIndication, postAbTestSegment, postAbTestUnschedule, postAbTestVariantDetails, getAbTestViewModel, getAnalyticsDistinct, postAnalyticsQuery, deleteAnnotations, postAnnotations, getAnnotationsAll, getAnnotationsEmpty, getAnnotationsGlobal, getAnnotationsPage, deleteAppliedPersonalization, postAppliedPersonalization, getAppliedPersonalizationAll, getAppliedPersonalizationId, postAppliedPersonalizationSegment, getAppliedPersonalizationSegment, deleteCampaignGroup, getCampaignGroup, postCampaignGroup, getCampaignGroupAll, getCampaignGroupUnscored, getCampaignGroupVisitors, getCampaigns, postCockpitDeleteCookie, getCockpitGetUmbracoPageInfo, getCockpitAuthDomains, postCockpitAuthGenerateToken, getConfiguration, getContentScoringAll, getContentScoringExportCustomerJourney, getContentScoringExportPersona, deleteContentScoringJourney, deleteContentScoringPersona, postContentScoringSave, getContentTypesAll, getContentTypesSegmentedProperty, getCultures, deleteCustomerJourney, postCustomerJourney, getCustomerJourneyAll, getCustomerJourneyDetails, getCustomerJourneyEmpty, postCustomerJourneyLock, postCustomerJourneyUnlock, getDataCleanupLastRun, getDataCleanupLogs, getDataCleanupRuns, getDataGenerationLogs, getPermissionsDocumentType, postPermissionsDocumentType, getPermissionsDocumentTypeAll, postGoal, postGoalAll, getGoalAllTypes, getGoalDetails, getGoalsAll, getGoalsItem, getGoalsMain, getGoalsTreeRoot, postHeatmapsEnd, postHeatmapsGenerateScrollHeatmap, postHeatmapsStart, getHeatmapsVariants, getMainSwitch, postMainSwitchTurnOff, postMainSwitchTurnOn, getPackage, postUmbracoEngagePagedataCollect, postUmbracoEngagePagedataCollectEvent, getUmbracoEngagePagedataPing, postUmbracoEngagePagedataPing, deletePersona, postPersona, getPersonaAll, getPersonaDetails, getPersonaEmpty, postPersonaLock, postPersonaUnlock, getProfileBotVisitors, getProfileCustomerJourneyStepScores, getProfileDetails, getProfileExport, postProfileExportCsv, getProfileGoalCompletions, getProfileLastActiveSegment, postProfileOverview, getProfilePageEvents, getProfilePageviews, getProfilePersonaScores, getProfilePotential, getProfileRelated, getProfileSessions, getProfileStatisticsGrowth, getProfileStatisticsIdentification, getProfileStatisticsTotal, deleteReferralGroup, getReferralGroup, postReferralGroup, getReferralGroupAll, getReferralGroupVisitors, postReferralScoringScored, postReferralScoringUnscored, getReporting, postReportingGenerationStart, getReportingGenerationStatus, getReportingGoalPersonalizationPerformanceBySegmentId, getReportingSegmentSessionsPersonalizationBySegmentId, getReportingSegmentSessionsPotentialBySegmentId, getSearchTerms, deleteSegments, getSegments, postSegments, getSegmentsAll, getSegmentsItem, getSegmentsLocationsData, getSegmentsPreviewableSegments, getSegmentsTreeRoot, postSegmentsUpdatePriority, getStatistics, getSuspiciousActivityOverview, putSuspiciousActivityVisitorsByVisitorIdVisitorType, deleteTrafficFilter, getTrafficFilter, postTrafficFilter, getTrafficFilterAll, getTrafficFilterEmpty, getPermissionsUserGroup, postPermissionsUserGroup, getPermissionsUserGroupAll };
10570
11109
  };
10571
11110
 
10572
11111
  // src/collections.ts
@@ -10575,7 +11114,6 @@ var collections = [
10575
11114
  ab_test_default,
10576
11115
  ab_test_project_default,
10577
11116
  ab_test_variant_default,
10578
- add_ons_default,
10579
11117
  analytics_default,
10580
11118
  annotations_default,
10581
11119
  applied_personalization_default,
@@ -10601,8 +11139,7 @@ var collections = [
10601
11139
  segments_default,
10602
11140
  statistics_default,
10603
11141
  suspicious_activity_default,
10604
- traffic_filter_default,
10605
- user_group_permissions_default
11142
+ traffic_filter_default
10606
11143
  ];
10607
11144
 
10608
11145
  export { allModeNames, allModes, allSliceNames, collections, getUmbracoEngageManagementAPI as createApiClient };