@umbraco-engage/mcp 18.3.0 → 19.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -9
- package/dist/collections.js +1729 -1096
- package/dist/collections.js.map +1 -1
- package/dist/index.js +1674 -1028
- package/dist/index.js.map +1 -1
- package/dist/tool-types.d.ts +787 -636
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import { randomUUID } from 'crypto';
|
|
|
12
12
|
|
|
13
13
|
// package.json
|
|
14
14
|
var package_default = {
|
|
15
|
-
version: "
|
|
15
|
+
version: "19.0.0-beta.2"};
|
|
16
16
|
var isMockMode = () => process.env.USE_MOCK_API === "true" && !process.env.JEST_WORKER_ID;
|
|
17
17
|
var mockItems = /* @__PURE__ */ new Map();
|
|
18
18
|
function initializeMockData() {
|
|
@@ -121,36 +121,6 @@ var getUmbracoEngageManagementAPI = () => {
|
|
|
121
121
|
options
|
|
122
122
|
);
|
|
123
123
|
};
|
|
124
|
-
const getPermissionsUserGroupAll = (options) => {
|
|
125
|
-
return customInstance(
|
|
126
|
-
{
|
|
127
|
-
url: `/umbraco/engage/management/api/v1/permissions/user-group/all`,
|
|
128
|
-
method: "GET"
|
|
129
|
-
},
|
|
130
|
-
options
|
|
131
|
-
);
|
|
132
|
-
};
|
|
133
|
-
const getPermissionsUserGroup = (params, options) => {
|
|
134
|
-
return customInstance(
|
|
135
|
-
{
|
|
136
|
-
url: `/umbraco/engage/management/api/v1/permissions/user-group`,
|
|
137
|
-
method: "GET",
|
|
138
|
-
params
|
|
139
|
-
},
|
|
140
|
-
options
|
|
141
|
-
);
|
|
142
|
-
};
|
|
143
|
-
const postPermissionsUserGroup = (userGroupPermissionDtoModel, options) => {
|
|
144
|
-
return customInstance(
|
|
145
|
-
{
|
|
146
|
-
url: `/umbraco/engage/management/api/v1/permissions/user-group`,
|
|
147
|
-
method: "POST",
|
|
148
|
-
headers: { "Content-Type": "application/json" },
|
|
149
|
-
data: userGroupPermissionDtoModel
|
|
150
|
-
},
|
|
151
|
-
options
|
|
152
|
-
);
|
|
153
|
-
};
|
|
154
124
|
const getTrafficFilter = (params, options) => {
|
|
155
125
|
return customInstance(
|
|
156
126
|
{
|
|
@@ -230,6 +200,15 @@ var getUmbracoEngageManagementAPI = () => {
|
|
|
230
200
|
options
|
|
231
201
|
);
|
|
232
202
|
};
|
|
203
|
+
const getStartPageSetupStatus = (options) => {
|
|
204
|
+
return customInstance(
|
|
205
|
+
{
|
|
206
|
+
url: `/umbraco/engage/management/api/v1/start-page/setup-status`,
|
|
207
|
+
method: "GET"
|
|
208
|
+
},
|
|
209
|
+
options
|
|
210
|
+
);
|
|
211
|
+
};
|
|
233
212
|
const deleteSegments = (params, options) => {
|
|
234
213
|
return customInstance(
|
|
235
214
|
{
|
|
@@ -271,6 +250,16 @@ var getUmbracoEngageManagementAPI = () => {
|
|
|
271
250
|
options
|
|
272
251
|
);
|
|
273
252
|
};
|
|
253
|
+
const getSegmentsEditableSegments = (params, options) => {
|
|
254
|
+
return customInstance(
|
|
255
|
+
{
|
|
256
|
+
url: `/umbraco/engage/management/api/v1/segments/editable-segments`,
|
|
257
|
+
method: "GET",
|
|
258
|
+
params
|
|
259
|
+
},
|
|
260
|
+
options
|
|
261
|
+
);
|
|
262
|
+
};
|
|
274
263
|
const getSegmentsLocationsData = (options) => {
|
|
275
264
|
return customInstance(
|
|
276
265
|
{
|
|
@@ -472,7 +461,8 @@ var getUmbracoEngageManagementAPI = () => {
|
|
|
472
461
|
url: `/umbraco/engage/management/api/v1/profile/export/csv`,
|
|
473
462
|
method: "POST",
|
|
474
463
|
headers: { "Content-Type": "application/json" },
|
|
475
|
-
data: nullGetProfileOverviewRequestModel
|
|
464
|
+
data: nullGetProfileOverviewRequestModel,
|
|
465
|
+
responseType: "blob"
|
|
476
466
|
},
|
|
477
467
|
{ responseType: "blob", ...options }
|
|
478
468
|
);
|
|
@@ -1074,7 +1064,8 @@ var getUmbracoEngageManagementAPI = () => {
|
|
|
1074
1064
|
return customInstance(
|
|
1075
1065
|
{
|
|
1076
1066
|
url: `/umbraco/engage/management/api/v1/content-scoring/export/customer-journey`,
|
|
1077
|
-
method: "GET"
|
|
1067
|
+
method: "GET",
|
|
1068
|
+
responseType: "blob"
|
|
1078
1069
|
},
|
|
1079
1070
|
{ responseType: "blob", ...options }
|
|
1080
1071
|
);
|
|
@@ -1083,7 +1074,8 @@ var getUmbracoEngageManagementAPI = () => {
|
|
|
1083
1074
|
return customInstance(
|
|
1084
1075
|
{
|
|
1085
1076
|
url: `/umbraco/engage/management/api/v1/content-scoring/export/persona`,
|
|
1086
|
-
method: "GET"
|
|
1077
|
+
method: "GET",
|
|
1078
|
+
responseType: "blob"
|
|
1087
1079
|
},
|
|
1088
1080
|
{ responseType: "blob", ...options }
|
|
1089
1081
|
);
|
|
@@ -1145,6 +1137,55 @@ var getUmbracoEngageManagementAPI = () => {
|
|
|
1145
1137
|
options
|
|
1146
1138
|
);
|
|
1147
1139
|
};
|
|
1140
|
+
const getCockpitGetAbTests = (params, options) => {
|
|
1141
|
+
return customInstance(
|
|
1142
|
+
{
|
|
1143
|
+
url: `/umbraco/engage/management/api/v1/cockpit/get-ab-tests`,
|
|
1144
|
+
method: "GET",
|
|
1145
|
+
params
|
|
1146
|
+
},
|
|
1147
|
+
options
|
|
1148
|
+
);
|
|
1149
|
+
};
|
|
1150
|
+
const getCockpitCustomerJourneyAll = (options) => {
|
|
1151
|
+
return customInstance(
|
|
1152
|
+
{
|
|
1153
|
+
url: `/umbraco/engage/management/api/v1/cockpit/customer-journey/all`,
|
|
1154
|
+
method: "GET"
|
|
1155
|
+
},
|
|
1156
|
+
options
|
|
1157
|
+
);
|
|
1158
|
+
};
|
|
1159
|
+
const postCockpitGoalAll = (tableFilterModel, options) => {
|
|
1160
|
+
return customInstance(
|
|
1161
|
+
{
|
|
1162
|
+
url: `/umbraco/engage/management/api/v1/cockpit/goal/all`,
|
|
1163
|
+
method: "POST",
|
|
1164
|
+
headers: { "Content-Type": "application/json" },
|
|
1165
|
+
data: tableFilterModel
|
|
1166
|
+
},
|
|
1167
|
+
options
|
|
1168
|
+
);
|
|
1169
|
+
};
|
|
1170
|
+
const getCockpitGetPageStats = (params, options) => {
|
|
1171
|
+
return customInstance(
|
|
1172
|
+
{
|
|
1173
|
+
url: `/umbraco/engage/management/api/v1/cockpit/get-page-stats`,
|
|
1174
|
+
method: "GET",
|
|
1175
|
+
params
|
|
1176
|
+
},
|
|
1177
|
+
options
|
|
1178
|
+
);
|
|
1179
|
+
};
|
|
1180
|
+
const getCockpitPersonaAll = (options) => {
|
|
1181
|
+
return customInstance(
|
|
1182
|
+
{
|
|
1183
|
+
url: `/umbraco/engage/management/api/v1/cockpit/persona/all`,
|
|
1184
|
+
method: "GET"
|
|
1185
|
+
},
|
|
1186
|
+
options
|
|
1187
|
+
);
|
|
1188
|
+
};
|
|
1148
1189
|
const getCockpitGetUmbracoPageInfo = (params, options) => {
|
|
1149
1190
|
return customInstance(
|
|
1150
1191
|
{
|
|
@@ -1365,6 +1406,17 @@ var getUmbracoEngageManagementAPI = () => {
|
|
|
1365
1406
|
options
|
|
1366
1407
|
);
|
|
1367
1408
|
};
|
|
1409
|
+
const postAnalyticsRenderedSegments = (analyticsQueryGetModel, options) => {
|
|
1410
|
+
return customInstance(
|
|
1411
|
+
{
|
|
1412
|
+
url: `/umbraco/engage/management/api/v1/analytics/rendered-segments`,
|
|
1413
|
+
method: "POST",
|
|
1414
|
+
headers: { "Content-Type": "application/json" },
|
|
1415
|
+
data: analyticsQueryGetModel
|
|
1416
|
+
},
|
|
1417
|
+
options
|
|
1418
|
+
);
|
|
1419
|
+
};
|
|
1368
1420
|
const postAbTestVariantCreate = (params, options) => {
|
|
1369
1421
|
return customInstance(
|
|
1370
1422
|
{
|
|
@@ -1648,7 +1700,7 @@ var getUmbracoEngageManagementAPI = () => {
|
|
|
1648
1700
|
options
|
|
1649
1701
|
);
|
|
1650
1702
|
};
|
|
1651
|
-
return { getPackage,
|
|
1703
|
+
return { getPackage, getTrafficFilter, deleteTrafficFilter, postTrafficFilter, getTrafficFilterEmpty, getTrafficFilterAll, getSuspiciousActivityOverview, putSuspiciousActivityVisitorsByVisitorIdVisitorType, getStatistics, getStartPageSetupStatus, deleteSegments, getSegments, postSegments, getSegmentsAll, getSegmentsEditableSegments, getSegmentsLocationsData, getSegmentsPreviewableSegments, postSegmentsUpdatePriority, getSegmentsTreeRoot, getSegmentsItem, getSearchTerms, getReportingGenerationStatus, getReportingGoalPersonalizationPerformanceBySegmentId, getReportingSegmentSessionsPersonalizationBySegmentId, getReportingSegmentSessionsPotentialBySegmentId, getReporting, postReportingGenerationStart, postReferralScoringScored, postReferralScoringUnscored, deleteReferralGroup, getReferralGroup, postReferralGroup, getReferralGroupAll, getReferralGroupVisitors, getProfileBotVisitors, postProfileExportCsv, getProfileCustomerJourneyStepScores, getProfileDetails, getProfilePageEvents, getProfileExport, getProfileGoalCompletions, getProfileStatisticsGrowth, getProfileStatisticsIdentification, getProfileLastActiveSegment, postProfileOverview, getProfilePageviews, getProfilePersonaScores, getProfilePotential, getProfileRelated, getProfileSessions, getProfileStatisticsTotal, postPersonaLock, getPersonaEmpty, deletePersona, postPersona, getPersonaAll, getPersonaDetails, postPersonaUnlock, postUmbracoEngagePagedataCollectEvent, postUmbracoEngagePagedataCollect, getUmbracoEngagePagedataPing, postUmbracoEngagePagedataPing, getMainSwitch, postMainSwitchTurnOff, postMainSwitchTurnOn, postHeatmapsEnd, postHeatmapsGenerateScrollHeatmap, getHeatmapsVariants, postHeatmapsStart, getGoalsAll, getGoalsMain, getGoalsTreeRoot, getGoalsItem, postGoalAll, getGoalAllTypes, getGoalDetails, postGoal, getPermissionsDocumentTypeAll, getPermissionsDocumentType, postPermissionsDocumentType, getDataGenerationLogs, getDataCleanupLastRun, getDataCleanupLogs, getDataCleanupRuns, postCustomerJourneyLock, getCustomerJourneyEmpty, deleteCustomerJourney, postCustomerJourney, getCustomerJourneyAll, getCustomerJourneyDetails, postCustomerJourneyUnlock, getCultures, getContentTypesAll, getContentTypesSegmentedProperty, deleteContentScoringJourney, deleteContentScoringPersona, getContentScoringExportCustomerJourney, getContentScoringExportPersona, getContentScoringAll, postContentScoringSave, getConfiguration, postCockpitAuthGenerateToken, getCockpitAuthDomains, postCockpitDeleteCookie, getCockpitGetAbTests, getCockpitCustomerJourneyAll, postCockpitGoalAll, getCockpitGetPageStats, getCockpitPersonaAll, getCockpitGetUmbracoPageInfo, getCampaigns, deleteCampaignGroup, getCampaignGroup, postCampaignGroup, getCampaignGroupAll, getCampaignGroupUnscored, getCampaignGroupVisitors, postAppliedPersonalizationSegment, getAppliedPersonalizationSegment, deleteAppliedPersonalization, postAppliedPersonalization, getAppliedPersonalizationAll, getAppliedPersonalizationId, deleteAnnotations, postAnnotations, getAnnotationsAll, getAnnotationsEmpty, getAnnotationsGlobal, getAnnotationsPage, getAnalyticsDistinct, postAnalyticsQuery, postAnalyticsRenderedSegments, postAbTestVariantCreate, deleteAbTestVariant, getAbTestVariant, postAbTestVariant, postAbTestVariantDisable, getAbTestVariantAll, getAbTestVariantSegment, postAbTestProject, deleteAbTestProject, getAbTestProject, putAbTestProject, getAbTestProjectAll, getAbTestProjectDetails, getAbTestProjectTreeRoot, getAbTestProjectItem, postAbTestArchive, getAbTestEmpty, postAbTestSegment, deleteAbTest, getAbTest, postAbTest, postAbTestEnd, getAbTestAll, getAbTestPage, postAbTestVariantDetails, getAbTestViewModel, postAbTestRuntimeIndication, postAbTestUnschedule };
|
|
1652
1704
|
};
|
|
1653
1705
|
var __filename$1 = fileURLToPath(import.meta.url);
|
|
1654
1706
|
var __dirname$1 = path.dirname(__filename$1);
|
|
@@ -1666,7 +1718,7 @@ var mockCmsServer = {
|
|
|
1666
1718
|
var realCmsServer = {
|
|
1667
1719
|
name: "cms",
|
|
1668
1720
|
command: "npx",
|
|
1669
|
-
args: ["-y", "@umbraco-cms/mcp-dev
|
|
1721
|
+
args: ["-y", "@umbraco-cms/mcp-dev@^19.0.0-beta.3"],
|
|
1670
1722
|
env: {
|
|
1671
1723
|
UMBRACO_BASE_URL: process.env.UMBRACO_BASE_URL || "",
|
|
1672
1724
|
UMBRACO_CLIENT_ID: process.env.UMBRACO_CLIENT_ID || "",
|
|
@@ -1744,8 +1796,8 @@ var collection = {
|
|
|
1744
1796
|
};
|
|
1745
1797
|
var chained_default = collection;
|
|
1746
1798
|
var getPackageResponse = zod.object({
|
|
1747
|
-
"tierName": zod.string()
|
|
1748
|
-
"domains": zod.array(zod.string())
|
|
1799
|
+
"tierName": zod.string(),
|
|
1800
|
+
"domains": zod.array(zod.string()),
|
|
1749
1801
|
"featureAnalyticsEnabled": zod.boolean(),
|
|
1750
1802
|
"featureAbTestingEnabled": zod.boolean(),
|
|
1751
1803
|
"featurePersonalizationEnabled": zod.boolean(),
|
|
@@ -1758,31 +1810,9 @@ var getPackageResponse = zod.object({
|
|
|
1758
1810
|
"monthlyPageviewLimit": zod.int(),
|
|
1759
1811
|
"currentPageviewsThisMonth": zod.int(),
|
|
1760
1812
|
"version": zod.string().nullish(),
|
|
1761
|
-
"whitelistedDomainRegexes": zod.array(zod.string())
|
|
1762
|
-
|
|
1763
|
-
zod.void();
|
|
1764
|
-
zod.object({
|
|
1765
|
-
"userGroupKey": zod.guid().optional()
|
|
1766
|
-
});
|
|
1767
|
-
zod.void();
|
|
1768
|
-
zod.object({
|
|
1769
|
-
"id": zod.int(),
|
|
1770
|
-
"unique": zod.guid(),
|
|
1771
|
-
"userGroupKey": zod.guid(),
|
|
1772
|
-
"userGroupName": zod.string().nullish(),
|
|
1773
|
-
"userGroupAlias": zod.string().nullish(),
|
|
1774
|
-
"userGroupIconUrl": zod.string().nullish(),
|
|
1775
|
-
"accessToAnalytics": zod.boolean(),
|
|
1776
|
-
"accessToAbTesting": zod.boolean(),
|
|
1777
|
-
"accessToPersonalization": zod.boolean(),
|
|
1778
|
-
"accessToSettings": zod.boolean(),
|
|
1779
|
-
"accessToProfiles": zod.boolean(),
|
|
1780
|
-
"accessToReporting": zod.boolean(),
|
|
1781
|
-
"updated": zod.iso.datetime({ "offset": true }),
|
|
1782
|
-
"updatedByUmbracoUserKey": zod.guid(),
|
|
1783
|
-
"updatedByUmbracoUser": zod.string().nullish()
|
|
1813
|
+
"whitelistedDomainRegexes": zod.array(zod.string()),
|
|
1814
|
+
"invalidTrialDomains": zod.array(zod.string())
|
|
1784
1815
|
});
|
|
1785
|
-
zod.void();
|
|
1786
1816
|
zod.object({
|
|
1787
1817
|
"key": zod.guid().optional()
|
|
1788
1818
|
});
|
|
@@ -1878,6 +1908,13 @@ var getStatisticsResponse = zod.object({
|
|
|
1878
1908
|
"numberOfEvents": zod.int(),
|
|
1879
1909
|
"numberOfSegmentSettings": zod.int()
|
|
1880
1910
|
});
|
|
1911
|
+
var getStartPageSetupStatusResponse = zod.object({
|
|
1912
|
+
"pageviewRecorded": zod.boolean(),
|
|
1913
|
+
"segmentExists": zod.boolean(),
|
|
1914
|
+
"goalExists": zod.boolean(),
|
|
1915
|
+
"abTestExists": zod.boolean(),
|
|
1916
|
+
"personalizationExists": zod.boolean()
|
|
1917
|
+
});
|
|
1881
1918
|
zod.object({
|
|
1882
1919
|
"id": zod.guid().optional()
|
|
1883
1920
|
});
|
|
@@ -1970,6 +2007,20 @@ var getSegmentsAllResponseItem = zod.object({
|
|
|
1970
2007
|
"created": zod.iso.datetime({ "offset": true })
|
|
1971
2008
|
});
|
|
1972
2009
|
var getSegmentsAllResponse = zod.array(getSegmentsAllResponseItem);
|
|
2010
|
+
var getSegmentsEditableSegmentsQueryTakeDefault = 100;
|
|
2011
|
+
var getSegmentsEditableSegmentsQueryParams = zod.object({
|
|
2012
|
+
"id": zod.guid().optional(),
|
|
2013
|
+
"contentType": zod.string().optional(),
|
|
2014
|
+
"entityType": zod.string().optional(),
|
|
2015
|
+
"skip": zod.int().optional(),
|
|
2016
|
+
"take": zod.int().default(getSegmentsEditableSegmentsQueryTakeDefault)
|
|
2017
|
+
});
|
|
2018
|
+
var getSegmentsEditableSegmentsResponseItem = zod.object({
|
|
2019
|
+
"alias": zod.string(),
|
|
2020
|
+
"name": zod.string(),
|
|
2021
|
+
"cultures": zod.array(zod.string()).nullish()
|
|
2022
|
+
});
|
|
2023
|
+
var getSegmentsEditableSegmentsResponse = zod.array(getSegmentsEditableSegmentsResponseItem);
|
|
1973
2024
|
var getSegmentsLocationsDataResponse = zod.object({
|
|
1974
2025
|
"countries": zod.array(zod.string()),
|
|
1975
2026
|
"provinces": zod.record(zod.string(), zod.array(zod.string())),
|
|
@@ -1981,7 +2032,7 @@ zod.object({
|
|
|
1981
2032
|
});
|
|
1982
2033
|
var getSegmentsPreviewableSegmentsResponseItem = zod.object({
|
|
1983
2034
|
"alias": zod.string(),
|
|
1984
|
-
"name": zod.string()
|
|
2035
|
+
"name": zod.string(),
|
|
1985
2036
|
"cultures": zod.array(zod.string()).nullish()
|
|
1986
2037
|
});
|
|
1987
2038
|
zod.array(getSegmentsPreviewableSegmentsResponseItem);
|
|
@@ -2086,7 +2137,7 @@ var postReferralScoringScoredResponse = zod.object({
|
|
|
2086
2137
|
"referralGroupId": zod.int().nullish(),
|
|
2087
2138
|
"url": zod.string().nullish(),
|
|
2088
2139
|
"referrals": zod.int()
|
|
2089
|
-
}))
|
|
2140
|
+
}))
|
|
2090
2141
|
});
|
|
2091
2142
|
var postReferralScoringUnscoredBody = zod.object({
|
|
2092
2143
|
"page": zod.int(),
|
|
@@ -2103,7 +2154,7 @@ var postReferralScoringUnscoredResponse = zod.object({
|
|
|
2103
2154
|
"referralGroupId": zod.int().nullish(),
|
|
2104
2155
|
"url": zod.string().nullish(),
|
|
2105
2156
|
"referrals": zod.int()
|
|
2106
|
-
}))
|
|
2157
|
+
}))
|
|
2107
2158
|
});
|
|
2108
2159
|
zod.object({
|
|
2109
2160
|
"id": zod.guid().optional()
|
|
@@ -2263,23 +2314,7 @@ var postProfileExportCsvBody = zod.union([zod.null(), zod.object({
|
|
|
2263
2314
|
})]).optional(),
|
|
2264
2315
|
"identifiedName": zod.string().nullish()
|
|
2265
2316
|
})]);
|
|
2266
|
-
zod.
|
|
2267
|
-
"fileStream": zod.instanceof(Blob),
|
|
2268
|
-
"contentType": zod.string().nullable(),
|
|
2269
|
-
"fileDownloadName": zod.string().nullable(),
|
|
2270
|
-
"lastModified": zod.iso.datetime({ "offset": true }).nullish(),
|
|
2271
|
-
"entityTag": zod.union([zod.null(), zod.object({
|
|
2272
|
-
"tag": zod.object({
|
|
2273
|
-
"buffer": zod.string().nullish(),
|
|
2274
|
-
"offset": zod.int(),
|
|
2275
|
-
"length": zod.int(),
|
|
2276
|
-
"value": zod.string().nullish(),
|
|
2277
|
-
"hasValue": zod.boolean()
|
|
2278
|
-
}),
|
|
2279
|
-
"isWeak": zod.boolean()
|
|
2280
|
-
})]).optional(),
|
|
2281
|
-
"enableRangeProcessing": zod.boolean()
|
|
2282
|
-
});
|
|
2317
|
+
zod.instanceof(Blob);
|
|
2283
2318
|
var getProfileCustomerJourneyStepScoresQueryParams = zod.object({
|
|
2284
2319
|
"visitorId": zod.int().optional()
|
|
2285
2320
|
});
|
|
@@ -2568,8 +2603,8 @@ zod.object({
|
|
|
2568
2603
|
});
|
|
2569
2604
|
var deletePersonaResponse = zod.object({
|
|
2570
2605
|
"isValid": zod.boolean(),
|
|
2571
|
-
"warnings": zod.array(zod.string())
|
|
2572
|
-
"errors": zod.array(zod.string())
|
|
2606
|
+
"warnings": zod.array(zod.string()),
|
|
2607
|
+
"errors": zod.array(zod.string())
|
|
2573
2608
|
});
|
|
2574
2609
|
var postPersonaBody = zod.object({
|
|
2575
2610
|
"id": zod.int(),
|
|
@@ -2640,8 +2675,8 @@ var postPersonaResponse = zod.object({
|
|
|
2640
2675
|
})]),
|
|
2641
2676
|
"validationResults": zod.object({
|
|
2642
2677
|
"isValid": zod.boolean(),
|
|
2643
|
-
"warnings": zod.array(zod.string())
|
|
2644
|
-
"errors": zod.array(zod.string())
|
|
2678
|
+
"warnings": zod.array(zod.string()),
|
|
2679
|
+
"errors": zod.array(zod.string())
|
|
2645
2680
|
})
|
|
2646
2681
|
});
|
|
2647
2682
|
var getPersonaAllResponseItem = zod.object({
|
|
@@ -2846,9 +2881,9 @@ var postGoalAllResponse = zod.object({
|
|
|
2846
2881
|
"toRow": zod.int()
|
|
2847
2882
|
});
|
|
2848
2883
|
var getGoalAllTypesResponseItem = zod.object({
|
|
2849
|
-
"configurationEditorAlias": zod.string()
|
|
2884
|
+
"configurationEditorAlias": zod.string(),
|
|
2850
2885
|
"id": zod.guid(),
|
|
2851
|
-
"name": zod.string()
|
|
2886
|
+
"name": zod.string()
|
|
2852
2887
|
});
|
|
2853
2888
|
var getGoalAllTypesResponse = zod.array(getGoalAllTypesResponseItem);
|
|
2854
2889
|
zod.object({
|
|
@@ -2857,10 +2892,10 @@ zod.object({
|
|
|
2857
2892
|
var getGoalDetailsResponse = zod.object({
|
|
2858
2893
|
"id": zod.int(),
|
|
2859
2894
|
"unique": zod.guid(),
|
|
2860
|
-
"name": zod.string()
|
|
2895
|
+
"name": zod.string(),
|
|
2861
2896
|
"value": zod.number(),
|
|
2862
2897
|
"goalTypeId": zod.guid(),
|
|
2863
|
-
"goalTypeConfig": zod.string()
|
|
2898
|
+
"goalTypeConfig": zod.string(),
|
|
2864
2899
|
"isMain": zod.boolean(),
|
|
2865
2900
|
"isInverted": zod.boolean(),
|
|
2866
2901
|
"isActive": zod.boolean(),
|
|
@@ -3096,8 +3131,8 @@ zod.object({
|
|
|
3096
3131
|
});
|
|
3097
3132
|
var deleteCustomerJourneyResponse = zod.object({
|
|
3098
3133
|
"isValid": zod.boolean(),
|
|
3099
|
-
"warnings": zod.array(zod.string())
|
|
3100
|
-
"errors": zod.array(zod.string())
|
|
3134
|
+
"warnings": zod.array(zod.string()),
|
|
3135
|
+
"errors": zod.array(zod.string())
|
|
3101
3136
|
});
|
|
3102
3137
|
var postCustomerJourneyBody = zod.object({
|
|
3103
3138
|
"id": zod.int(),
|
|
@@ -3168,8 +3203,8 @@ var postCustomerJourneyResponse = zod.object({
|
|
|
3168
3203
|
})]),
|
|
3169
3204
|
"validationResults": zod.object({
|
|
3170
3205
|
"isValid": zod.boolean(),
|
|
3171
|
-
"warnings": zod.array(zod.string())
|
|
3172
|
-
"errors": zod.array(zod.string())
|
|
3206
|
+
"warnings": zod.array(zod.string()),
|
|
3207
|
+
"errors": zod.array(zod.string())
|
|
3173
3208
|
})
|
|
3174
3209
|
});
|
|
3175
3210
|
var getCustomerJourneyAllResponseItem = zod.object({
|
|
@@ -3273,40 +3308,8 @@ zod.object({
|
|
|
3273
3308
|
"id": zod.int().optional()
|
|
3274
3309
|
});
|
|
3275
3310
|
zod.unknown();
|
|
3276
|
-
zod.
|
|
3277
|
-
|
|
3278
|
-
"contentType": zod.string().nullable(),
|
|
3279
|
-
"fileDownloadName": zod.string().nullable(),
|
|
3280
|
-
"lastModified": zod.iso.datetime({ "offset": true }).nullish(),
|
|
3281
|
-
"entityTag": zod.union([zod.null(), zod.object({
|
|
3282
|
-
"tag": zod.object({
|
|
3283
|
-
"buffer": zod.string().nullish(),
|
|
3284
|
-
"offset": zod.int(),
|
|
3285
|
-
"length": zod.int(),
|
|
3286
|
-
"value": zod.string().nullish(),
|
|
3287
|
-
"hasValue": zod.boolean()
|
|
3288
|
-
}),
|
|
3289
|
-
"isWeak": zod.boolean()
|
|
3290
|
-
})]).optional(),
|
|
3291
|
-
"enableRangeProcessing": zod.boolean()
|
|
3292
|
-
});
|
|
3293
|
-
zod.object({
|
|
3294
|
-
"fileStream": zod.instanceof(Blob),
|
|
3295
|
-
"contentType": zod.string().nullable(),
|
|
3296
|
-
"fileDownloadName": zod.string().nullable(),
|
|
3297
|
-
"lastModified": zod.iso.datetime({ "offset": true }).nullish(),
|
|
3298
|
-
"entityTag": zod.union([zod.null(), zod.object({
|
|
3299
|
-
"tag": zod.object({
|
|
3300
|
-
"buffer": zod.string().nullish(),
|
|
3301
|
-
"offset": zod.int(),
|
|
3302
|
-
"length": zod.int(),
|
|
3303
|
-
"value": zod.string().nullish(),
|
|
3304
|
-
"hasValue": zod.boolean()
|
|
3305
|
-
}),
|
|
3306
|
-
"isWeak": zod.boolean()
|
|
3307
|
-
})]).optional(),
|
|
3308
|
-
"enableRangeProcessing": zod.boolean()
|
|
3309
|
-
});
|
|
3311
|
+
zod.instanceof(Blob);
|
|
3312
|
+
zod.instanceof(Blob);
|
|
3310
3313
|
zod.object({
|
|
3311
3314
|
"unique": zod.guid().optional()
|
|
3312
3315
|
});
|
|
@@ -3339,9 +3342,8 @@ var getConfigurationResponseReportingDataGenerationTimeRegExp = new RegExp("^-?(
|
|
|
3339
3342
|
var getConfigurationResponseReportingReportingTimeZoneBaseUtcOffsetRegExp = new RegExp("^-?(\\d+\\.)?\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,7})?$");
|
|
3340
3343
|
var getConfigurationResponse = zod.object({
|
|
3341
3344
|
"settings": zod.object({
|
|
3342
|
-
"databaseConnectionStringName": zod.string()
|
|
3345
|
+
"databaseConnectionStringName": zod.string(),
|
|
3343
3346
|
"enabled": zod.boolean(),
|
|
3344
|
-
"useLegacySegmentNames": zod.boolean(),
|
|
3345
3347
|
"suspiciousActivity": zod.object({
|
|
3346
3348
|
"pageviewThreshold": zod.int()
|
|
3347
3349
|
})
|
|
@@ -3349,8 +3351,8 @@ var getConfigurationResponse = zod.object({
|
|
|
3349
3351
|
"analytics": zod.object({
|
|
3350
3352
|
"visitorCookie": zod.object({
|
|
3351
3353
|
"expirationInDays": zod.int(),
|
|
3352
|
-
"cookieName": zod.string()
|
|
3353
|
-
"legacyCookieName": zod.string()
|
|
3354
|
+
"cookieName": zod.string(),
|
|
3355
|
+
"legacyCookieName": zod.string(),
|
|
3354
3356
|
"includeSubdomains": zod.boolean()
|
|
3355
3357
|
}),
|
|
3356
3358
|
"dataCollection": zod.object({
|
|
@@ -3361,9 +3363,9 @@ var getConfigurationResponse = zod.object({
|
|
|
3361
3363
|
"regexTimeoutInMilliseconds": zod.int(),
|
|
3362
3364
|
"internalSiteSearch": zod.object({
|
|
3363
3365
|
"automaticSearchTracking": zod.boolean(),
|
|
3364
|
-
"searchTermParameters": zod.array(zod.string())
|
|
3365
|
-
"searchBoxParameters": zod.array(zod.string())
|
|
3366
|
-
"categoryParameters": zod.array(zod.string())
|
|
3366
|
+
"searchTermParameters": zod.array(zod.string()),
|
|
3367
|
+
"searchBoxParameters": zod.array(zod.string()),
|
|
3368
|
+
"categoryParameters": zod.array(zod.string())
|
|
3367
3369
|
})
|
|
3368
3370
|
}),
|
|
3369
3371
|
"dataStorage": zod.object({
|
|
@@ -3380,13 +3382,10 @@ var getConfigurationResponse = zod.object({
|
|
|
3380
3382
|
}),
|
|
3381
3383
|
"dataCleanup": zod.object({
|
|
3382
3384
|
"enabled": zod.boolean(),
|
|
3383
|
-
"firstRunTime": zod.string()
|
|
3385
|
+
"firstRunTime": zod.string(),
|
|
3384
3386
|
"startupDelay": zod.string().regex(getConfigurationResponseAnalyticsDataCleanupStartupDelayRegExp),
|
|
3385
3387
|
"interval": zod.string().regex(getConfigurationResponseAnalyticsDataCleanupIntervalRegExp),
|
|
3386
|
-
"commandTimeout": zod.int()
|
|
3387
|
-
"startAfterSeconds": zod.int(),
|
|
3388
|
-
"intervalInSeconds": zod.int(),
|
|
3389
|
-
"numberOfRows": zod.int()
|
|
3388
|
+
"commandTimeout": zod.int()
|
|
3390
3389
|
})
|
|
3391
3390
|
}),
|
|
3392
3391
|
"abTesting": zod.object({
|
|
@@ -3400,8 +3399,8 @@ var getConfigurationResponse = zod.object({
|
|
|
3400
3399
|
"engagedThresholdNumberOfSessions": zod.int()
|
|
3401
3400
|
}),
|
|
3402
3401
|
"identification": zod.object({
|
|
3403
|
-
"name": zod.string()
|
|
3404
|
-
"abbreviation": zod.string()
|
|
3402
|
+
"name": zod.string(),
|
|
3403
|
+
"abbreviation": zod.string()
|
|
3405
3404
|
})
|
|
3406
3405
|
}),
|
|
3407
3406
|
"reporting": zod.object({
|
|
@@ -3409,11 +3408,11 @@ var getConfigurationResponse = zod.object({
|
|
|
3409
3408
|
"dataGenerationTime": zod.string().regex(getConfigurationResponseReportingDataGenerationTimeRegExp).nullish(),
|
|
3410
3409
|
"timezone": zod.string().nullish(),
|
|
3411
3410
|
"reportingTimeZone": zod.object({
|
|
3412
|
-
"id": zod.string()
|
|
3411
|
+
"id": zod.string(),
|
|
3413
3412
|
"hasIanaId": zod.boolean(),
|
|
3414
|
-
"displayName": zod.string()
|
|
3415
|
-
"standardName": zod.string()
|
|
3416
|
-
"daylightName": zod.string()
|
|
3413
|
+
"displayName": zod.string(),
|
|
3414
|
+
"standardName": zod.string(),
|
|
3415
|
+
"daylightName": zod.string(),
|
|
3417
3416
|
"baseUtcOffset": zod.string().regex(getConfigurationResponseReportingReportingTimeZoneBaseUtcOffsetRegExp),
|
|
3418
3417
|
"supportsDaylightSavingTime": zod.boolean()
|
|
3419
3418
|
}),
|
|
@@ -3446,11 +3445,11 @@ var getConfigurationResponse = zod.object({
|
|
|
3446
3445
|
"cleanupIntervalMinutes": zod.int(),
|
|
3447
3446
|
"tokenRetentionBufferMinutes": zod.int(),
|
|
3448
3447
|
"sessionRetentionBufferMinutes": zod.int(),
|
|
3449
|
-
"sessionCookieSameSite": zod.string()
|
|
3448
|
+
"sessionCookieSameSite": zod.string()
|
|
3450
3449
|
})
|
|
3451
3450
|
}),
|
|
3452
3451
|
"segmentation": zod.object({
|
|
3453
|
-
"excludedPropertyAliases": zod.array(zod.string())
|
|
3452
|
+
"excludedPropertyAliases": zod.array(zod.string())
|
|
3454
3453
|
})
|
|
3455
3454
|
});
|
|
3456
3455
|
zod.object({
|
|
@@ -3470,128 +3469,606 @@ zod.object({
|
|
|
3470
3469
|
"culture": zod.string().optional()
|
|
3471
3470
|
});
|
|
3472
3471
|
zod.object({
|
|
3473
|
-
"
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
})
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
zod.
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
zod.
|
|
3499
|
-
zod.
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
"
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3472
|
+
"tests": zod.array(zod.object({
|
|
3473
|
+
"test": zod.object({
|
|
3474
|
+
"unique": zod.guid(),
|
|
3475
|
+
"projectKey": zod.guid().nullish(),
|
|
3476
|
+
"goalKey": zod.guid().nullish(),
|
|
3477
|
+
"status": zod.union([zod.null(), zod.union([zod.literal("Unknown"), zod.literal("Scheduled"), zod.literal("Running"), zod.literal("Stopped"), zod.literal("Completed"), zod.literal("Draft"), zod.literal(null)])]).optional(),
|
|
3478
|
+
"name": zod.string().nullish(),
|
|
3479
|
+
"description": zod.string().nullish(),
|
|
3480
|
+
"createdByUmbracoUserName": zod.string().nullish(),
|
|
3481
|
+
"testType": zod.union([zod.null(), zod.union([zod.literal("SinglePage"), zod.literal("MultiPage"), zod.literal("ContentType"), zod.literal("SplitUrl"), zod.literal(null)])]).optional(),
|
|
3482
|
+
"startTime": zod.iso.datetime({ "offset": true }).nullish(),
|
|
3483
|
+
"endTime": zod.iso.datetime({ "offset": true }).nullish(),
|
|
3484
|
+
"participationPercentage": zod.number().nullish(),
|
|
3485
|
+
"minimumDetectableEffect": zod.number().nullish(),
|
|
3486
|
+
"variants": zod.array(zod.object({
|
|
3487
|
+
"id": zod.int(),
|
|
3488
|
+
"unique": zod.guid(),
|
|
3489
|
+
"abTestId": zod.int(),
|
|
3490
|
+
"name": zod.string().nullish(),
|
|
3491
|
+
"description": zod.string().nullish(),
|
|
3492
|
+
"redirectNodeKey": zod.guid().nullish(),
|
|
3493
|
+
"css": zod.string().nullish(),
|
|
3494
|
+
"javascript": zod.string().nullish(),
|
|
3495
|
+
"created": zod.iso.datetime({ "offset": true }),
|
|
3496
|
+
"createdByUmbracoUserKey": zod.guid(),
|
|
3497
|
+
"isBenchmark": zod.boolean(),
|
|
3498
|
+
"disabled": zod.iso.datetime({ "offset": true }).nullish(),
|
|
3499
|
+
"disabledByUmbracoUserKey": zod.guid().nullish(),
|
|
3500
|
+
"isDisabled": zod.boolean(),
|
|
3501
|
+
"segment": zod.string().nullish(),
|
|
3502
|
+
"previewSegment": zod.string().nullish(),
|
|
3503
|
+
"totalPageviewsForVariant": zod.int(),
|
|
3504
|
+
"totalVisitorsForVariant": zod.int()
|
|
3505
|
+
})),
|
|
3506
|
+
"umbracoPageVariants": zod.array(zod.object({
|
|
3507
|
+
"id": zod.int(),
|
|
3508
|
+
"unique": zod.guid(),
|
|
3509
|
+
"nodeKey": zod.guid(),
|
|
3510
|
+
"nodeName": zod.string().nullish(),
|
|
3511
|
+
"culture": zod.string().nullish(),
|
|
3512
|
+
"abTestId": zod.int().nullish(),
|
|
3513
|
+
"variesBySegment": zod.boolean(),
|
|
3514
|
+
"contentTypeKey": zod.guid()
|
|
3515
|
+
})),
|
|
3516
|
+
"contentTypes": zod.array(zod.object({
|
|
3517
|
+
"contentTypeId": zod.int(),
|
|
3518
|
+
"contentTypeName": zod.string().nullish(),
|
|
3519
|
+
"culture": zod.string().nullish()
|
|
3520
|
+
})),
|
|
3521
|
+
"winner": zod.union([zod.null(), zod.object({
|
|
3522
|
+
"id": zod.int(),
|
|
3523
|
+
"unique": zod.guid(),
|
|
3524
|
+
"abTestId": zod.int(),
|
|
3525
|
+
"name": zod.string().nullish(),
|
|
3526
|
+
"description": zod.string().nullish(),
|
|
3527
|
+
"redirectNodeKey": zod.guid().nullish(),
|
|
3528
|
+
"css": zod.string().nullish(),
|
|
3529
|
+
"javascript": zod.string().nullish(),
|
|
3530
|
+
"created": zod.iso.datetime({ "offset": true }),
|
|
3531
|
+
"createdByUmbracoUserKey": zod.guid(),
|
|
3532
|
+
"isBenchmark": zod.boolean(),
|
|
3533
|
+
"disabled": zod.iso.datetime({ "offset": true }).nullish(),
|
|
3534
|
+
"disabledByUmbracoUserKey": zod.guid().nullish(),
|
|
3535
|
+
"isDisabled": zod.boolean(),
|
|
3536
|
+
"segment": zod.string().nullish(),
|
|
3537
|
+
"previewSegment": zod.string().nullish(),
|
|
3538
|
+
"totalPageviewsForVariant": zod.int(),
|
|
3539
|
+
"totalVisitorsForVariant": zod.int()
|
|
3540
|
+
})]).optional(),
|
|
3541
|
+
"isArchived": zod.boolean(),
|
|
3542
|
+
"isCompleted": zod.boolean(),
|
|
3543
|
+
"completedOn": zod.iso.datetime({ "offset": true }).nullish(),
|
|
3544
|
+
"completedByUmbracoUserKey": zod.guid().nullish(),
|
|
3545
|
+
"stoppedByUmbracoUserKey": zod.guid().nullish(),
|
|
3546
|
+
"estimatedDailyVisitors": zod.int().nullish(),
|
|
3547
|
+
"baselineConversionRate": zod.number().nullish(),
|
|
3548
|
+
"viableVisitorThreshold": zod.int().nullish(),
|
|
3549
|
+
"previewNodeKey": zod.guid().nullish(),
|
|
3550
|
+
"onCompleteAction": zod.enum(["Nothing", "Publish", "Draft"]),
|
|
3551
|
+
"id": zod.int(),
|
|
3552
|
+
"created": zod.iso.datetime({ "offset": true })
|
|
3553
|
+
}),
|
|
3554
|
+
"indication": zod.union([zod.null(), zod.object({
|
|
3555
|
+
"estimatedRuntimeInDays": zod.int().nullish(),
|
|
3556
|
+
"estimatedRequiredRuntimeRemainingInDays": zod.int().nullish(),
|
|
3557
|
+
"currentRuntimeInDays": zod.int(),
|
|
3558
|
+
"mde": zod.number(),
|
|
3559
|
+
"benchmarkConversionRate": zod.number(),
|
|
3560
|
+
"targetConversionRate": zod.number(),
|
|
3561
|
+
"variantCount": zod.int(),
|
|
3562
|
+
"requiredVisitorsTotal": zod.int().nullish(),
|
|
3563
|
+
"requiredVisitorsPerVariant": zod.int().nullish(),
|
|
3564
|
+
"expectedDailyVisitors": zod.int(),
|
|
3565
|
+
"status": zod.union([zod.literal("Unknown"), zod.literal("Scheduled"), zod.literal("Running"), zod.literal("Stopped"), zod.literal("Completed"), zod.literal("Draft"), zod.literal(null)]),
|
|
3566
|
+
"hurtingVariants": zod.array(zod.object({
|
|
3567
|
+
"abTestVariant": zod.object({
|
|
3568
|
+
"id": zod.int(),
|
|
3569
|
+
"unique": zod.guid(),
|
|
3570
|
+
"name": zod.string().nullish(),
|
|
3571
|
+
"description": zod.string().nullish(),
|
|
3572
|
+
"redirectNodeKey": zod.guid().nullish(),
|
|
3573
|
+
"css": zod.string().nullish(),
|
|
3574
|
+
"javascript": zod.string().nullish(),
|
|
3575
|
+
"created": zod.iso.datetime({ "offset": true }),
|
|
3576
|
+
"createdByUmbracoUserKey": zod.guid(),
|
|
3577
|
+
"disabled": zod.iso.datetime({ "offset": true }).nullish(),
|
|
3578
|
+
"disabledByUmbracoUserKey": zod.guid().nullish(),
|
|
3579
|
+
"isDisabled": zod.boolean(),
|
|
3580
|
+
"isBenchmark": zod.boolean(),
|
|
3581
|
+
"totalPageviewsForVariant": zod.int(),
|
|
3582
|
+
"totalVisitorsForVariant": zod.int(),
|
|
3583
|
+
"segment": zod.string(),
|
|
3584
|
+
"previewSegment": zod.string()
|
|
3585
|
+
}),
|
|
3586
|
+
"visitors": zod.int(),
|
|
3587
|
+
"goalCompletions": zod.int(),
|
|
3588
|
+
"benchmarkVisitors": zod.int(),
|
|
3589
|
+
"benchmarkGoalCompletions": zod.int(),
|
|
3590
|
+
"conversionRate": zod.number(),
|
|
3591
|
+
"mainGoalComparisons": zod.array(zod.object({
|
|
3592
|
+
"mainGoalId": zod.int(),
|
|
3593
|
+
"mainGoalCompletions": zod.int(),
|
|
3594
|
+
"mainGoalCompletionsTotalValue": zod.int(),
|
|
3595
|
+
"benchmarkMainGoalCompletions": zod.int(),
|
|
3596
|
+
"isInvertedGoal": zod.boolean(),
|
|
3597
|
+
"hurtingThreshold": zod.number(),
|
|
3598
|
+
"mainGoalDifference": zod.int(),
|
|
3599
|
+
"warning": zod.boolean(),
|
|
3600
|
+
"mainGoalRatio": zod.number().nullish(),
|
|
3601
|
+
"isHurting": zod.boolean()
|
|
3602
|
+
}))
|
|
3603
|
+
})),
|
|
3604
|
+
"currentVisitorsPerVariant": zod.int(),
|
|
3605
|
+
"currentVisitors": zod.int(),
|
|
3606
|
+
"reliableVariants": zod.int(),
|
|
3607
|
+
"isInvertedGoal": zod.boolean(),
|
|
3608
|
+
"originalVariantIsWinning": zod.boolean(),
|
|
3609
|
+
"winningVariant": zod.union([zod.null(), zod.object({
|
|
3610
|
+
"abTestVariant": zod.object({
|
|
3611
|
+
"id": zod.int(),
|
|
3612
|
+
"unique": zod.guid(),
|
|
3613
|
+
"name": zod.string().nullish(),
|
|
3614
|
+
"description": zod.string().nullish(),
|
|
3615
|
+
"redirectNodeKey": zod.guid().nullish(),
|
|
3616
|
+
"css": zod.string().nullish(),
|
|
3617
|
+
"javascript": zod.string().nullish(),
|
|
3618
|
+
"created": zod.iso.datetime({ "offset": true }),
|
|
3619
|
+
"createdByUmbracoUserKey": zod.guid(),
|
|
3620
|
+
"disabled": zod.iso.datetime({ "offset": true }).nullish(),
|
|
3621
|
+
"disabledByUmbracoUserKey": zod.guid().nullish(),
|
|
3622
|
+
"isDisabled": zod.boolean(),
|
|
3623
|
+
"isBenchmark": zod.boolean(),
|
|
3624
|
+
"totalPageviewsForVariant": zod.int(),
|
|
3625
|
+
"totalVisitorsForVariant": zod.int(),
|
|
3626
|
+
"segment": zod.string(),
|
|
3627
|
+
"previewSegment": zod.string()
|
|
3628
|
+
}),
|
|
3629
|
+
"visitors": zod.int(),
|
|
3630
|
+
"goalCompletions": zod.int(),
|
|
3631
|
+
"benchmarkVisitors": zod.int(),
|
|
3632
|
+
"benchmarkGoalCompletions": zod.int(),
|
|
3633
|
+
"conversionRate": zod.number(),
|
|
3634
|
+
"mainGoalComparisons": zod.array(zod.object({
|
|
3635
|
+
"mainGoalId": zod.int(),
|
|
3636
|
+
"mainGoalCompletions": zod.int(),
|
|
3637
|
+
"mainGoalCompletionsTotalValue": zod.int(),
|
|
3638
|
+
"benchmarkMainGoalCompletions": zod.int(),
|
|
3639
|
+
"isInvertedGoal": zod.boolean(),
|
|
3640
|
+
"hurtingThreshold": zod.number(),
|
|
3641
|
+
"mainGoalDifference": zod.int(),
|
|
3642
|
+
"warning": zod.boolean(),
|
|
3643
|
+
"mainGoalRatio": zod.number().nullish(),
|
|
3644
|
+
"isHurting": zod.boolean()
|
|
3645
|
+
}))
|
|
3646
|
+
})]).optional(),
|
|
3647
|
+
"bestNonBenchmarkVariant": zod.union([zod.null(), zod.object({
|
|
3648
|
+
"abTestVariant": zod.object({
|
|
3649
|
+
"id": zod.int(),
|
|
3650
|
+
"unique": zod.guid(),
|
|
3651
|
+
"name": zod.string().nullish(),
|
|
3652
|
+
"description": zod.string().nullish(),
|
|
3653
|
+
"redirectNodeKey": zod.guid().nullish(),
|
|
3654
|
+
"css": zod.string().nullish(),
|
|
3655
|
+
"javascript": zod.string().nullish(),
|
|
3656
|
+
"created": zod.iso.datetime({ "offset": true }),
|
|
3657
|
+
"createdByUmbracoUserKey": zod.guid(),
|
|
3658
|
+
"disabled": zod.iso.datetime({ "offset": true }).nullish(),
|
|
3659
|
+
"disabledByUmbracoUserKey": zod.guid().nullish(),
|
|
3660
|
+
"isDisabled": zod.boolean(),
|
|
3661
|
+
"isBenchmark": zod.boolean(),
|
|
3662
|
+
"totalPageviewsForVariant": zod.int(),
|
|
3663
|
+
"totalVisitorsForVariant": zod.int(),
|
|
3664
|
+
"segment": zod.string(),
|
|
3665
|
+
"previewSegment": zod.string()
|
|
3666
|
+
}),
|
|
3667
|
+
"visitors": zod.int(),
|
|
3668
|
+
"goalCompletions": zod.int(),
|
|
3669
|
+
"benchmarkVisitors": zod.int(),
|
|
3670
|
+
"benchmarkGoalCompletions": zod.int(),
|
|
3671
|
+
"conversionRate": zod.number(),
|
|
3672
|
+
"mainGoalComparisons": zod.array(zod.object({
|
|
3673
|
+
"mainGoalId": zod.int(),
|
|
3674
|
+
"mainGoalCompletions": zod.int(),
|
|
3675
|
+
"mainGoalCompletionsTotalValue": zod.int(),
|
|
3676
|
+
"benchmarkMainGoalCompletions": zod.int(),
|
|
3677
|
+
"isInvertedGoal": zod.boolean(),
|
|
3678
|
+
"hurtingThreshold": zod.number(),
|
|
3679
|
+
"mainGoalDifference": zod.int(),
|
|
3680
|
+
"warning": zod.boolean(),
|
|
3681
|
+
"mainGoalRatio": zod.number().nullish(),
|
|
3682
|
+
"isHurting": zod.boolean()
|
|
3683
|
+
}))
|
|
3684
|
+
})]).optional(),
|
|
3685
|
+
"earliestReliableVariant": zod.union([zod.null(), zod.object({
|
|
3686
|
+
"abTestVariant": zod.object({
|
|
3687
|
+
"id": zod.int(),
|
|
3688
|
+
"unique": zod.guid(),
|
|
3689
|
+
"name": zod.string().nullish(),
|
|
3690
|
+
"description": zod.string().nullish(),
|
|
3691
|
+
"redirectNodeKey": zod.guid().nullish(),
|
|
3692
|
+
"css": zod.string().nullish(),
|
|
3693
|
+
"javascript": zod.string().nullish(),
|
|
3694
|
+
"created": zod.iso.datetime({ "offset": true }),
|
|
3695
|
+
"createdByUmbracoUserKey": zod.guid(),
|
|
3696
|
+
"disabled": zod.iso.datetime({ "offset": true }).nullish(),
|
|
3697
|
+
"disabledByUmbracoUserKey": zod.guid().nullish(),
|
|
3698
|
+
"isDisabled": zod.boolean(),
|
|
3699
|
+
"isBenchmark": zod.boolean(),
|
|
3700
|
+
"totalPageviewsForVariant": zod.int(),
|
|
3701
|
+
"totalVisitorsForVariant": zod.int(),
|
|
3702
|
+
"segment": zod.string(),
|
|
3703
|
+
"previewSegment": zod.string()
|
|
3704
|
+
}),
|
|
3705
|
+
"visitors": zod.int(),
|
|
3706
|
+
"goalCompletions": zod.int(),
|
|
3707
|
+
"benchmarkVisitors": zod.int(),
|
|
3708
|
+
"benchmarkGoalCompletions": zod.int(),
|
|
3709
|
+
"conversionRate": zod.number(),
|
|
3710
|
+
"mainGoalComparisons": zod.array(zod.object({
|
|
3711
|
+
"mainGoalId": zod.int(),
|
|
3712
|
+
"mainGoalCompletions": zod.int(),
|
|
3713
|
+
"mainGoalCompletionsTotalValue": zod.int(),
|
|
3714
|
+
"benchmarkMainGoalCompletions": zod.int(),
|
|
3715
|
+
"isInvertedGoal": zod.boolean(),
|
|
3716
|
+
"hurtingThreshold": zod.number(),
|
|
3717
|
+
"mainGoalDifference": zod.int(),
|
|
3718
|
+
"warning": zod.boolean(),
|
|
3719
|
+
"mainGoalRatio": zod.number().nullish(),
|
|
3720
|
+
"isHurting": zod.boolean()
|
|
3721
|
+
}))
|
|
3722
|
+
})]).optional(),
|
|
3723
|
+
"bestPrognosis": zod.object({
|
|
3724
|
+
"variantId": zod.int(),
|
|
3725
|
+
"conversionIncrease": zod.number(),
|
|
3726
|
+
"currentVisitors": zod.int(),
|
|
3727
|
+
"requiredVisitorsTotal": zod.int().nullish(),
|
|
3728
|
+
"expectedDailyVisitors": zod.number(),
|
|
3729
|
+
"estimatedRuntimeInDays": zod.int().nullish(),
|
|
3730
|
+
"isHurtingMainConversion": zod.boolean(),
|
|
3731
|
+
"remainingVisitors": zod.int().nullish(),
|
|
3732
|
+
"isReliable": zod.boolean()
|
|
3733
|
+
}),
|
|
3734
|
+
"winner": zod.union([zod.null(), zod.object({
|
|
3735
|
+
"abTestVariant": zod.object({
|
|
3736
|
+
"id": zod.int(),
|
|
3737
|
+
"unique": zod.guid(),
|
|
3738
|
+
"name": zod.string().nullish(),
|
|
3739
|
+
"description": zod.string().nullish(),
|
|
3740
|
+
"redirectNodeKey": zod.guid().nullish(),
|
|
3741
|
+
"css": zod.string().nullish(),
|
|
3742
|
+
"javascript": zod.string().nullish(),
|
|
3743
|
+
"created": zod.iso.datetime({ "offset": true }),
|
|
3744
|
+
"createdByUmbracoUserKey": zod.guid(),
|
|
3745
|
+
"disabled": zod.iso.datetime({ "offset": true }).nullish(),
|
|
3746
|
+
"disabledByUmbracoUserKey": zod.guid().nullish(),
|
|
3747
|
+
"isDisabled": zod.boolean(),
|
|
3748
|
+
"isBenchmark": zod.boolean(),
|
|
3749
|
+
"totalPageviewsForVariant": zod.int(),
|
|
3750
|
+
"totalVisitorsForVariant": zod.int(),
|
|
3751
|
+
"segment": zod.string(),
|
|
3752
|
+
"previewSegment": zod.string()
|
|
3753
|
+
}),
|
|
3754
|
+
"visitors": zod.int(),
|
|
3755
|
+
"goalCompletions": zod.int(),
|
|
3756
|
+
"benchmarkVisitors": zod.int(),
|
|
3757
|
+
"benchmarkGoalCompletions": zod.int(),
|
|
3758
|
+
"conversionRate": zod.number(),
|
|
3759
|
+
"mainGoalComparisons": zod.array(zod.object({
|
|
3760
|
+
"mainGoalId": zod.int(),
|
|
3761
|
+
"mainGoalCompletions": zod.int(),
|
|
3762
|
+
"mainGoalCompletionsTotalValue": zod.int(),
|
|
3763
|
+
"benchmarkMainGoalCompletions": zod.int(),
|
|
3764
|
+
"isInvertedGoal": zod.boolean(),
|
|
3765
|
+
"hurtingThreshold": zod.number(),
|
|
3766
|
+
"mainGoalDifference": zod.int(),
|
|
3767
|
+
"warning": zod.boolean(),
|
|
3768
|
+
"mainGoalRatio": zod.number().nullish(),
|
|
3769
|
+
"isHurting": zod.boolean()
|
|
3770
|
+
}))
|
|
3771
|
+
})]).optional(),
|
|
3772
|
+
"winningVariantConversionChange": zod.number(),
|
|
3773
|
+
"bestNonWinningVariantConversionChange": zod.number(),
|
|
3774
|
+
"winnerConversionChange": zod.number(),
|
|
3775
|
+
"stoppedOn": zod.iso.datetime({ "offset": true }).nullish(),
|
|
3776
|
+
"startTime": zod.iso.datetime({ "offset": true }).nullish(),
|
|
3777
|
+
"completedOn": zod.iso.datetime({ "offset": true }).nullish(),
|
|
3778
|
+
"hasSelectedWinner": zod.boolean(),
|
|
3779
|
+
"completedByUsername": zod.string().nullish(),
|
|
3780
|
+
"stoppedByUsername": zod.string().nullish(),
|
|
3781
|
+
"hasSurpassedViableVisitorThreshold": zod.boolean(),
|
|
3782
|
+
"variantStatus": zod.record(zod.string(), zod.enum(["Running", "Warning", "Disabled", "Reliable", "Stopped", "Scheduled", "Completed", "Draft"]))
|
|
3783
|
+
})]).optional(),
|
|
3784
|
+
"variants": zod.array(zod.object({
|
|
3785
|
+
"label": zod.string().nullish(),
|
|
3786
|
+
"currentTotalParticipantCount": zod.int(),
|
|
3787
|
+
"currentTotalPageviewCount": zod.int(),
|
|
3788
|
+
"requiredTotalVisitorCount": zod.int().nullish(),
|
|
3789
|
+
"goalCompletions": zod.int(),
|
|
3790
|
+
"goalValue": zod.number(),
|
|
3791
|
+
"difference": zod.number(),
|
|
3792
|
+
"participantPortion": zod.number(),
|
|
3793
|
+
"visitorsPortion": zod.number(),
|
|
3794
|
+
"conversionRate": zod.number(),
|
|
3795
|
+
"conversionRateImprovement": zod.number(),
|
|
3796
|
+
"conversionRateImprovementRelative": zod.number(),
|
|
3797
|
+
"mainGoalComparisons": zod.array(zod.object({
|
|
3798
|
+
"mainGoalId": zod.int(),
|
|
3799
|
+
"mainGoalCompletions": zod.int(),
|
|
3800
|
+
"mainGoalCompletionsTotalValue": zod.int(),
|
|
3801
|
+
"benchmarkMainGoalCompletions": zod.int(),
|
|
3802
|
+
"isInvertedGoal": zod.boolean(),
|
|
3803
|
+
"hurtingThreshold": zod.number(),
|
|
3804
|
+
"mainGoalDifference": zod.int(),
|
|
3805
|
+
"warning": zod.boolean(),
|
|
3806
|
+
"mainGoalRatio": zod.number().nullish(),
|
|
3807
|
+
"isHurting": zod.boolean()
|
|
3808
|
+
})),
|
|
3809
|
+
"mainGoalWarning": zod.boolean(),
|
|
3810
|
+
"goalWarning": zod.boolean(),
|
|
3811
|
+
"status": zod.enum(["Running", "Warning", "Disabled", "Reliable", "Stopped", "Scheduled", "Completed", "Draft"]),
|
|
3812
|
+
"isWinner": zod.boolean(),
|
|
3813
|
+
"isLeading": zod.boolean(),
|
|
3814
|
+
"id": zod.int(),
|
|
3815
|
+
"unique": zod.guid(),
|
|
3816
|
+
"abTestId": zod.int(),
|
|
3817
|
+
"name": zod.string().nullish(),
|
|
3818
|
+
"description": zod.string().nullish(),
|
|
3819
|
+
"redirectNodeKey": zod.guid().nullish(),
|
|
3820
|
+
"css": zod.string().nullish(),
|
|
3821
|
+
"javascript": zod.string().nullish(),
|
|
3822
|
+
"created": zod.iso.datetime({ "offset": true }),
|
|
3823
|
+
"createdByUmbracoUserKey": zod.guid(),
|
|
3824
|
+
"isBenchmark": zod.boolean(),
|
|
3825
|
+
"disabled": zod.iso.datetime({ "offset": true }).nullish(),
|
|
3826
|
+
"disabledByUmbracoUserKey": zod.guid().nullish(),
|
|
3827
|
+
"isDisabled": zod.boolean(),
|
|
3828
|
+
"segment": zod.string().nullish(),
|
|
3829
|
+
"previewSegment": zod.string().nullish(),
|
|
3830
|
+
"totalPageviewsForVariant": zod.int(),
|
|
3831
|
+
"totalVisitorsForVariant": zod.int()
|
|
3832
|
+
})).nullish(),
|
|
3833
|
+
"isInvertedGoal": zod.boolean(),
|
|
3834
|
+
"cultureSharedSegmentedProperties": zod.array(zod.string()).nullish()
|
|
3835
|
+
})),
|
|
3836
|
+
"mainGoals": zod.array(zod.object({
|
|
3837
|
+
"id": zod.int(),
|
|
3838
|
+
"name": zod.string().nullish()
|
|
3839
|
+
})),
|
|
3840
|
+
"lastGenerated": zod.iso.datetime({ "offset": true }).nullish()
|
|
3841
|
+
});
|
|
3842
|
+
var getCockpitCustomerJourneyAllResponseItem = zod.object({
|
|
3843
|
+
"id": zod.int(),
|
|
3844
|
+
"unique": zod.guid(),
|
|
3845
|
+
"title": zod.string().nullish(),
|
|
3846
|
+
"description": zod.string().nullish(),
|
|
3847
|
+
"steps": zod.array(zod.object({
|
|
3848
|
+
"id": zod.int(),
|
|
3849
|
+
"unique": zod.guid(),
|
|
3850
|
+
"title": zod.string().nullish(),
|
|
3851
|
+
"description": zod.string().nullish(),
|
|
3852
|
+
"icon": zod.string().nullish(),
|
|
3853
|
+
"iconUrl": zod.string().nullish(),
|
|
3854
|
+
"color": zod.string().nullish(),
|
|
3855
|
+
"createdOn": zod.iso.datetime({ "offset": true }).nullish(),
|
|
3856
|
+
"createdByUmbracoUserKey": zod.guid().nullish(),
|
|
3857
|
+
"createdByUmbracoUserName": zod.string().nullish(),
|
|
3858
|
+
"updatedOn": zod.iso.datetime({ "offset": true }).nullish(),
|
|
3859
|
+
"updatedByUmbracoUserKey": zod.guid().nullish(),
|
|
3860
|
+
"updatedByUmbracoUserName": zod.string().nullish()
|
|
3861
|
+
})),
|
|
3862
|
+
"createdOn": zod.iso.datetime({ "offset": true }).nullish(),
|
|
3863
|
+
"createdByUmbracoUserKey": zod.guid().nullish(),
|
|
3864
|
+
"createdByUmbracoUserName": zod.string().nullish(),
|
|
3865
|
+
"updatedOn": zod.iso.datetime({ "offset": true }).nullish(),
|
|
3866
|
+
"updatedByUmbracoUserKey": zod.guid().nullish(),
|
|
3867
|
+
"updatedByUmbracoUserName": zod.string().nullish(),
|
|
3868
|
+
"minimumParticipationScoreThreshold": zod.int().nullish(),
|
|
3869
|
+
"minimumDeviationType": zod.union([zod.null(), zod.union([zod.literal("Absolute"), zod.literal("Percent"), zod.literal(null)])]).optional(),
|
|
3870
|
+
"minimumDeviation": zod.int().nullish(),
|
|
3871
|
+
"expirationType": zod.union([zod.null(), zod.union([zod.literal("days"), zod.literal("sessions"), zod.literal("never"), zod.literal(null)])]).optional(),
|
|
3872
|
+
"expiration": zod.int().nullish(),
|
|
3873
|
+
"upperScoreLimit": zod.int().nullish()
|
|
3874
|
+
});
|
|
3875
|
+
zod.array(getCockpitCustomerJourneyAllResponseItem);
|
|
3876
|
+
zod.object({
|
|
3877
|
+
"page": zod.int(),
|
|
3878
|
+
"pageSize": zod.int(),
|
|
3879
|
+
"filterBy": zod.string().nullish(),
|
|
3880
|
+
"orderBy": zod.string().nullish(),
|
|
3881
|
+
"includeInvalid": zod.boolean().nullish()
|
|
3882
|
+
});
|
|
3883
|
+
zod.object({
|
|
3884
|
+
"currentPage": zod.int(),
|
|
3885
|
+
"totalPages": zod.int(),
|
|
3886
|
+
"totalRowCount": zod.int(),
|
|
3887
|
+
"itemsPerPage": zod.int(),
|
|
3888
|
+
"rows": zod.array(zod.object({
|
|
3889
|
+
"id": zod.int(),
|
|
3890
|
+
"unique": zod.guid(),
|
|
3891
|
+
"name": zod.string().nullish(),
|
|
3892
|
+
"typeText": zod.string().nullish(),
|
|
3893
|
+
"completionCount": zod.int(),
|
|
3894
|
+
"isMain": zod.boolean(),
|
|
3895
|
+
"isActive": zod.boolean(),
|
|
3896
|
+
"isInverted": zod.boolean(),
|
|
3897
|
+
"isImplicitScoringEnabled": zod.boolean()
|
|
3898
|
+
})),
|
|
3899
|
+
"fromRow": zod.int(),
|
|
3900
|
+
"toRow": zod.int()
|
|
3901
|
+
});
|
|
3902
|
+
zod.object({
|
|
3903
|
+
"pageId": zod.guid().optional(),
|
|
3904
|
+
"culture": zod.string().optional()
|
|
3905
|
+
});
|
|
3906
|
+
zod.object({
|
|
3907
|
+
"pageviews": zod.int(),
|
|
3908
|
+
"averageTimeOnPageSeconds": zod.number(),
|
|
3909
|
+
"lastGenerated": zod.iso.datetime({ "offset": true }).nullish()
|
|
3910
|
+
});
|
|
3911
|
+
var getCockpitPersonaAllResponseItem = zod.object({
|
|
3912
|
+
"id": zod.int(),
|
|
3913
|
+
"unique": zod.guid(),
|
|
3914
|
+
"title": zod.string().nullish(),
|
|
3915
|
+
"description": zod.string().nullish(),
|
|
3916
|
+
"personas": zod.array(zod.object({
|
|
3917
|
+
"id": zod.int(),
|
|
3918
|
+
"unique": zod.guid(),
|
|
3919
|
+
"title": zod.string().nullish(),
|
|
3920
|
+
"description": zod.string().nullish(),
|
|
3921
|
+
"icon": zod.string().nullish(),
|
|
3922
|
+
"iconUrl": zod.string().nullish(),
|
|
3923
|
+
"color": zod.string().nullish(),
|
|
3924
|
+
"createdOn": zod.iso.datetime({ "offset": true }).nullish(),
|
|
3925
|
+
"createdByUmbracoUserKey": zod.guid().nullish(),
|
|
3926
|
+
"createdByUmbracoUserName": zod.string().nullish(),
|
|
3927
|
+
"updatedOn": zod.iso.datetime({ "offset": true }).nullish(),
|
|
3928
|
+
"updatedByUmbracoUserKey": zod.guid().nullish(),
|
|
3929
|
+
"updatedByUmbracoUserName": zod.string().nullish()
|
|
3930
|
+
})),
|
|
3931
|
+
"createdOn": zod.iso.datetime({ "offset": true }).nullish(),
|
|
3932
|
+
"createdByUmbracoUserKey": zod.guid().nullish(),
|
|
3933
|
+
"createdByUmbracoUserName": zod.string().nullish(),
|
|
3934
|
+
"updatedOn": zod.iso.datetime({ "offset": true }).nullish(),
|
|
3935
|
+
"updatedByUmbracoUserKey": zod.guid().nullish(),
|
|
3936
|
+
"updatedByUmbracoUserName": zod.string().nullish(),
|
|
3937
|
+
"minimumParticipationScoreThreshold": zod.int().nullish(),
|
|
3938
|
+
"minimumDeviationType": zod.union([zod.null(), zod.union([zod.literal("Absolute"), zod.literal("Percent"), zod.literal(null)])]).optional(),
|
|
3939
|
+
"minimumDeviation": zod.int().nullish(),
|
|
3940
|
+
"expirationType": zod.union([zod.null(), zod.union([zod.literal("days"), zod.literal("sessions"), zod.literal("never"), zod.literal(null)])]).optional(),
|
|
3941
|
+
"expiration": zod.int().nullish(),
|
|
3942
|
+
"upperScoreLimit": zod.int().nullish()
|
|
3943
|
+
});
|
|
3944
|
+
zod.array(getCockpitPersonaAllResponseItem);
|
|
3945
|
+
zod.object({
|
|
3946
|
+
"pageId": zod.guid().optional(),
|
|
3947
|
+
"culture": zod.string().optional()
|
|
3948
|
+
});
|
|
3949
|
+
zod.object({
|
|
3950
|
+
"status": zod.string().nullish(),
|
|
3951
|
+
"documentType": zod.string().nullish(),
|
|
3952
|
+
"template": zod.string().nullish(),
|
|
3953
|
+
"id": zod.int(),
|
|
3954
|
+
"url": zod.string().nullish(),
|
|
3955
|
+
"editor": zod.union([zod.null(), zod.object({
|
|
3956
|
+
"createdBy": zod.string().nullish(),
|
|
3957
|
+
"createdDate": zod.iso.datetime({ "offset": true }),
|
|
3958
|
+
"editedBy": zod.string().nullish(),
|
|
3959
|
+
"editedDate": zod.iso.datetime({ "offset": true }).nullish()
|
|
3960
|
+
})]).optional()
|
|
3961
|
+
});
|
|
3962
|
+
var getCampaignsQueryParams = zod.object({
|
|
3963
|
+
"visitorId": zod.int().optional()
|
|
3964
|
+
});
|
|
3965
|
+
var getCampaignsResponseItem = zod.object({
|
|
3966
|
+
"timestamp": zod.iso.datetime({ "offset": true }),
|
|
3967
|
+
"utmCampaign": zod.string().nullish(),
|
|
3968
|
+
"utmSource": zod.string().nullish(),
|
|
3969
|
+
"utmMedium": zod.string().nullish()
|
|
3970
|
+
});
|
|
3971
|
+
var getCampaignsResponse = zod.array(getCampaignsResponseItem);
|
|
3972
|
+
zod.object({
|
|
3973
|
+
"id": zod.guid().optional()
|
|
3974
|
+
});
|
|
3975
|
+
zod.unknown();
|
|
3976
|
+
zod.object({
|
|
3977
|
+
"id": zod.guid().optional()
|
|
3978
|
+
});
|
|
3979
|
+
var getCampaignGroupResponse = zod.object({
|
|
3980
|
+
"unique": zod.guid(),
|
|
3981
|
+
"name": zod.string().nullish(),
|
|
3982
|
+
"description": zod.string().nullish(),
|
|
3983
|
+
"invalid": zod.boolean(),
|
|
3984
|
+
"campaigns": zod.array(zod.object({
|
|
3985
|
+
"unique": zod.guid().nullish(),
|
|
3986
|
+
"campaignGroupId": zod.int(),
|
|
3987
|
+
"utmSource": zod.string().nullish(),
|
|
3988
|
+
"utmMedium": zod.string().nullish(),
|
|
3989
|
+
"utmCampaign": zod.string().nullish(),
|
|
3990
|
+
"utmTerm": zod.string().nullish(),
|
|
3991
|
+
"utmContent": zod.string().nullish(),
|
|
3992
|
+
"utmSourcePlatform": zod.string().nullish(),
|
|
3993
|
+
"utmCreativeFormat": zod.string().nullish(),
|
|
3994
|
+
"utmMarketingTactic": zod.string().nullish(),
|
|
3995
|
+
"id": zod.int(),
|
|
3996
|
+
"created": zod.iso.datetime({ "offset": true })
|
|
3997
|
+
})),
|
|
3998
|
+
"customerJourneyScoring": zod.array(zod.object({
|
|
3999
|
+
"groupId": zod.int(),
|
|
4000
|
+
"customerJourneyStepId": zod.int(),
|
|
4001
|
+
"id": zod.int(),
|
|
4002
|
+
"unique": zod.guid(),
|
|
4003
|
+
"score": zod.int(),
|
|
4004
|
+
"isLocked": zod.boolean()
|
|
4005
|
+
})),
|
|
4006
|
+
"personaScoring": zod.array(zod.object({
|
|
4007
|
+
"groupId": zod.int(),
|
|
4008
|
+
"personaId": zod.int(),
|
|
4009
|
+
"id": zod.int(),
|
|
4010
|
+
"unique": zod.guid(),
|
|
4011
|
+
"score": zod.int(),
|
|
4012
|
+
"isLocked": zod.boolean()
|
|
4013
|
+
})),
|
|
4014
|
+
"id": zod.int(),
|
|
4015
|
+
"created": zod.iso.datetime({ "offset": true })
|
|
4016
|
+
});
|
|
4017
|
+
var postCampaignGroupBody = zod.object({
|
|
4018
|
+
"unique": zod.guid(),
|
|
4019
|
+
"name": zod.string().nullish(),
|
|
4020
|
+
"description": zod.string().nullish(),
|
|
4021
|
+
"invalid": zod.boolean(),
|
|
4022
|
+
"campaigns": zod.array(zod.object({
|
|
4023
|
+
"unique": zod.guid().nullish(),
|
|
4024
|
+
"campaignGroupId": zod.int(),
|
|
4025
|
+
"utmSource": zod.string().nullish(),
|
|
4026
|
+
"utmMedium": zod.string().nullish(),
|
|
4027
|
+
"utmCampaign": zod.string().nullish(),
|
|
4028
|
+
"utmTerm": zod.string().nullish(),
|
|
4029
|
+
"utmContent": zod.string().nullish(),
|
|
4030
|
+
"utmSourcePlatform": zod.string().nullish(),
|
|
4031
|
+
"utmCreativeFormat": zod.string().nullish(),
|
|
4032
|
+
"utmMarketingTactic": zod.string().nullish(),
|
|
4033
|
+
"id": zod.int(),
|
|
4034
|
+
"created": zod.iso.datetime({ "offset": true })
|
|
4035
|
+
})),
|
|
4036
|
+
"customerJourneyScoring": zod.array(zod.object({
|
|
4037
|
+
"groupId": zod.int(),
|
|
4038
|
+
"customerJourneyStepId": zod.int(),
|
|
4039
|
+
"id": zod.int(),
|
|
4040
|
+
"unique": zod.guid(),
|
|
4041
|
+
"score": zod.int(),
|
|
4042
|
+
"isLocked": zod.boolean()
|
|
4043
|
+
})),
|
|
4044
|
+
"personaScoring": zod.array(zod.object({
|
|
4045
|
+
"groupId": zod.int(),
|
|
4046
|
+
"personaId": zod.int(),
|
|
4047
|
+
"id": zod.int(),
|
|
4048
|
+
"unique": zod.guid(),
|
|
4049
|
+
"score": zod.int(),
|
|
4050
|
+
"isLocked": zod.boolean()
|
|
4051
|
+
})),
|
|
4052
|
+
"id": zod.int(),
|
|
4053
|
+
"created": zod.iso.datetime({ "offset": true })
|
|
4054
|
+
});
|
|
4055
|
+
var postCampaignGroupResponse = zod.object({
|
|
4056
|
+
"unique": zod.guid(),
|
|
4057
|
+
"name": zod.string().nullish(),
|
|
4058
|
+
"description": zod.string().nullish(),
|
|
4059
|
+
"invalid": zod.boolean(),
|
|
4060
|
+
"campaigns": zod.array(zod.object({
|
|
4061
|
+
"unique": zod.guid().nullish(),
|
|
4062
|
+
"campaignGroupId": zod.int(),
|
|
4063
|
+
"utmSource": zod.string().nullish(),
|
|
4064
|
+
"utmMedium": zod.string().nullish(),
|
|
4065
|
+
"utmCampaign": zod.string().nullish(),
|
|
4066
|
+
"utmTerm": zod.string().nullish(),
|
|
4067
|
+
"utmContent": zod.string().nullish(),
|
|
4068
|
+
"utmSourcePlatform": zod.string().nullish(),
|
|
4069
|
+
"utmCreativeFormat": zod.string().nullish(),
|
|
4070
|
+
"utmMarketingTactic": zod.string().nullish(),
|
|
4071
|
+
"id": zod.int(),
|
|
3595
4072
|
"created": zod.iso.datetime({ "offset": true })
|
|
3596
4073
|
})),
|
|
3597
4074
|
"customerJourneyScoring": zod.array(zod.object({
|
|
@@ -3955,13 +4432,11 @@ var postAnalyticsQueryBody = zod.object({
|
|
|
3955
4432
|
"filter": zod.string().nullish(),
|
|
3956
4433
|
"startDate": zod.iso.datetime({ "offset": true }).nullable(),
|
|
3957
4434
|
"endDate": zod.iso.datetime({ "offset": true }).nullable(),
|
|
3958
|
-
"metrics": zod.array(zod.enum(["UNDEFINED", "users", "newVisitors", "percentNewSessions", "sessions", "bounceRate", "sessionDuration", "avgSessionDuration", "goalCompletionsAll", "goalValueAll", "pageviews", "pageviewsWithSubpages", "pageviewsPerSession", "uniquePageviews", "avgTimeOnPage", "totalEvents", "eventValue", "avgEventValue", "abTestVariantVisitors", "abTestVariantCompletionsAll", "videoPlays", "videoPlaytime", "avgVideoPlaytime", "avgRelativeVideoPlaytime", "videoEvents", "umbracoFormsViews", "umbracoFormsSubmissions", "umbracoFormsStarts", "umbracoFormsAbandons", "umbracoFormsErrors", "umbracoFormsFieldFocusses", "umbracoFormsFieldAbandons", "umbracoFormsFieldErrors", "avgEngagedTimeOnPage", "
|
|
4435
|
+
"metrics": zod.array(zod.enum(["UNDEFINED", "users", "newVisitors", "percentNewSessions", "sessions", "bounceRate", "sessionDuration", "avgSessionDuration", "goalCompletionsAll", "goalValueAll", "pageviews", "pageviewsWithSubpages", "pageviewsPerSession", "uniquePageviews", "avgTimeOnPage", "totalEvents", "eventValue", "avgEventValue", "abTestVariantVisitors", "abTestVariantCompletionsAll", "videoPlays", "videoPlaytime", "avgVideoPlaytime", "avgRelativeVideoPlaytime", "videoEvents", "umbracoFormsViews", "umbracoFormsSubmissions", "umbracoFormsStarts", "umbracoFormsAbandons", "umbracoFormsErrors", "umbracoFormsFieldFocusses", "umbracoFormsFieldAbandons", "umbracoFormsFieldErrors", "avgEngagedTimeOnPage", "pageSessions", "pageVisitors", "pageSessionsWithSubpages", "pageVisitorsWithSubpages", "activeSegmentPageviews", "inactiveSegmentPageviews", "activeSegmentSessions", "inactiveSegmentSessions", "activeSegmentProfiles", "inactiveSegmentProfiles", "activePersonalizedSegmentPageviews", "inactivePersonalizedSegmentPageviews", "activePersonalizedSegmentSessions", "inactivePersonalizedSegmentSessions", "activePersonalizedSegmentProfiles", "inactivePersonalizedSegmentProfiles", "searchVolume", "searchVolumeWithSubpages", "visitors", "campaignEntries", "campaignVisitors", "campaignGoals", "campaignGoalValue", "campaignFormSubmissions", "campaignCommerceOrders", "entrySessions"])),
|
|
3959
4436
|
"dimensions": zod.array(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"])),
|
|
3960
4437
|
"realtime": zod.boolean(),
|
|
3961
|
-
"sort": zod.union([zod.null(), 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", "users", "newVisitors", "percentNewSessions", "sessions", "bounceRate", "sessionDuration", "avgSessionDuration", "goalCompletionsAll", "goalValueAll", "pageviews", "pageviewsWithSubpages", "pageviewsPerSession", "uniquePageviews", "avgTimeOnPage", "totalEvents", "eventValue", "avgEventValue", "abTestVariantVisitors", "abTestVariantCompletionsAll", "videoPlays", "videoPlaytime", "avgVideoPlaytime", "avgRelativeVideoPlaytime", "videoEvents", "umbracoFormsViews", "umbracoFormsSubmissions", "umbracoFormsStarts", "umbracoFormsAbandons", "umbracoFormsErrors", "umbracoFormsFieldFocusses", "umbracoFormsFieldAbandons", "umbracoFormsFieldErrors", "avgEngagedTimeOnPage", "
|
|
4438
|
+
"sort": zod.union([zod.null(), 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", "users", "newVisitors", "percentNewSessions", "sessions", "bounceRate", "sessionDuration", "avgSessionDuration", "goalCompletionsAll", "goalValueAll", "pageviews", "pageviewsWithSubpages", "pageviewsPerSession", "uniquePageviews", "avgTimeOnPage", "totalEvents", "eventValue", "avgEventValue", "abTestVariantVisitors", "abTestVariantCompletionsAll", "videoPlays", "videoPlaytime", "avgVideoPlaytime", "avgRelativeVideoPlaytime", "videoEvents", "umbracoFormsViews", "umbracoFormsSubmissions", "umbracoFormsStarts", "umbracoFormsAbandons", "umbracoFormsErrors", "umbracoFormsFieldFocusses", "umbracoFormsFieldAbandons", "umbracoFormsFieldErrors", "avgEngagedTimeOnPage", "pageSessions", "pageVisitors", "pageSessionsWithSubpages", "pageVisitorsWithSubpages", "activeSegmentPageviews", "inactiveSegmentPageviews", "activeSegmentSessions", "inactiveSegmentSessions", "activeSegmentProfiles", "inactiveSegmentProfiles", "activePersonalizedSegmentPageviews", "inactivePersonalizedSegmentPageviews", "activePersonalizedSegmentSessions", "inactivePersonalizedSegmentSessions", "activePersonalizedSegmentProfiles", "inactivePersonalizedSegmentProfiles", "searchVolume", "searchVolumeWithSubpages", "visitors", "campaignEntries", "campaignVisitors", "campaignGoals", "campaignGoalValue", "campaignFormSubmissions", "campaignCommerceOrders", "entrySessions"])]).optional(),
|
|
3962
4439
|
"ascending": zod.boolean(),
|
|
3963
|
-
"page": zod.int(),
|
|
3964
|
-
"pageSize": zod.int(),
|
|
3965
4440
|
"paging": zod.union([zod.null(), zod.object({
|
|
3966
4441
|
"page": zod.int(),
|
|
3967
4442
|
"pageSize": zod.int(),
|
|
@@ -3977,7 +4452,42 @@ var postAnalyticsQueryBody = zod.object({
|
|
|
3977
4452
|
"includeSubpages": zod.boolean()
|
|
3978
4453
|
});
|
|
3979
4454
|
var postAnalyticsQueryResponse = zod.object({
|
|
3980
|
-
"columns": zod.array(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", "users", "newVisitors", "percentNewSessions", "sessions", "bounceRate", "sessionDuration", "avgSessionDuration", "goalCompletionsAll", "goalValueAll", "pageviews", "pageviewsWithSubpages", "pageviewsPerSession", "uniquePageviews", "avgTimeOnPage", "totalEvents", "eventValue", "avgEventValue", "abTestVariantVisitors", "abTestVariantCompletionsAll", "videoPlays", "videoPlaytime", "avgVideoPlaytime", "avgRelativeVideoPlaytime", "videoEvents", "umbracoFormsViews", "umbracoFormsSubmissions", "umbracoFormsStarts", "umbracoFormsAbandons", "umbracoFormsErrors", "umbracoFormsFieldFocusses", "umbracoFormsFieldAbandons", "umbracoFormsFieldErrors", "avgEngagedTimeOnPage", "
|
|
4455
|
+
"columns": zod.array(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", "users", "newVisitors", "percentNewSessions", "sessions", "bounceRate", "sessionDuration", "avgSessionDuration", "goalCompletionsAll", "goalValueAll", "pageviews", "pageviewsWithSubpages", "pageviewsPerSession", "uniquePageviews", "avgTimeOnPage", "totalEvents", "eventValue", "avgEventValue", "abTestVariantVisitors", "abTestVariantCompletionsAll", "videoPlays", "videoPlaytime", "avgVideoPlaytime", "avgRelativeVideoPlaytime", "videoEvents", "umbracoFormsViews", "umbracoFormsSubmissions", "umbracoFormsStarts", "umbracoFormsAbandons", "umbracoFormsErrors", "umbracoFormsFieldFocusses", "umbracoFormsFieldAbandons", "umbracoFormsFieldErrors", "avgEngagedTimeOnPage", "pageSessions", "pageVisitors", "pageSessionsWithSubpages", "pageVisitorsWithSubpages", "activeSegmentPageviews", "inactiveSegmentPageviews", "activeSegmentSessions", "inactiveSegmentSessions", "activeSegmentProfiles", "inactiveSegmentProfiles", "activePersonalizedSegmentPageviews", "inactivePersonalizedSegmentPageviews", "activePersonalizedSegmentSessions", "inactivePersonalizedSegmentSessions", "activePersonalizedSegmentProfiles", "inactivePersonalizedSegmentProfiles", "searchVolume", "searchVolumeWithSubpages", "visitors", "campaignEntries", "campaignVisitors", "campaignGoals", "campaignGoalValue", "campaignFormSubmissions", "campaignCommerceOrders", "entrySessions"])),
|
|
4456
|
+
"currentPage": zod.int(),
|
|
4457
|
+
"rows": zod.array(zod.array(zod.unknown())),
|
|
4458
|
+
"rowsPerPage": zod.int(),
|
|
4459
|
+
"totalRows": zod.int(),
|
|
4460
|
+
"totalPages": zod.int(),
|
|
4461
|
+
"metricTotals": zod.array(zod.number().nullable()).nullish(),
|
|
4462
|
+
"fromRow": zod.int(),
|
|
4463
|
+
"toRow": zod.int(),
|
|
4464
|
+
"reportsExist": zod.boolean()
|
|
4465
|
+
});
|
|
4466
|
+
var postAnalyticsRenderedSegmentsBody = zod.object({
|
|
4467
|
+
"filter": zod.string().nullish(),
|
|
4468
|
+
"startDate": zod.iso.datetime({ "offset": true }).nullable(),
|
|
4469
|
+
"endDate": zod.iso.datetime({ "offset": true }).nullable(),
|
|
4470
|
+
"metrics": zod.array(zod.enum(["UNDEFINED", "users", "newVisitors", "percentNewSessions", "sessions", "bounceRate", "sessionDuration", "avgSessionDuration", "goalCompletionsAll", "goalValueAll", "pageviews", "pageviewsWithSubpages", "pageviewsPerSession", "uniquePageviews", "avgTimeOnPage", "totalEvents", "eventValue", "avgEventValue", "abTestVariantVisitors", "abTestVariantCompletionsAll", "videoPlays", "videoPlaytime", "avgVideoPlaytime", "avgRelativeVideoPlaytime", "videoEvents", "umbracoFormsViews", "umbracoFormsSubmissions", "umbracoFormsStarts", "umbracoFormsAbandons", "umbracoFormsErrors", "umbracoFormsFieldFocusses", "umbracoFormsFieldAbandons", "umbracoFormsFieldErrors", "avgEngagedTimeOnPage", "pageSessions", "pageVisitors", "pageSessionsWithSubpages", "pageVisitorsWithSubpages", "activeSegmentPageviews", "inactiveSegmentPageviews", "activeSegmentSessions", "inactiveSegmentSessions", "activeSegmentProfiles", "inactiveSegmentProfiles", "activePersonalizedSegmentPageviews", "inactivePersonalizedSegmentPageviews", "activePersonalizedSegmentSessions", "inactivePersonalizedSegmentSessions", "activePersonalizedSegmentProfiles", "inactivePersonalizedSegmentProfiles", "searchVolume", "searchVolumeWithSubpages", "visitors", "campaignEntries", "campaignVisitors", "campaignGoals", "campaignGoalValue", "campaignFormSubmissions", "campaignCommerceOrders", "entrySessions"])),
|
|
4471
|
+
"dimensions": zod.array(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"])),
|
|
4472
|
+
"realtime": zod.boolean(),
|
|
4473
|
+
"sort": zod.union([zod.null(), 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", "users", "newVisitors", "percentNewSessions", "sessions", "bounceRate", "sessionDuration", "avgSessionDuration", "goalCompletionsAll", "goalValueAll", "pageviews", "pageviewsWithSubpages", "pageviewsPerSession", "uniquePageviews", "avgTimeOnPage", "totalEvents", "eventValue", "avgEventValue", "abTestVariantVisitors", "abTestVariantCompletionsAll", "videoPlays", "videoPlaytime", "avgVideoPlaytime", "avgRelativeVideoPlaytime", "videoEvents", "umbracoFormsViews", "umbracoFormsSubmissions", "umbracoFormsStarts", "umbracoFormsAbandons", "umbracoFormsErrors", "umbracoFormsFieldFocusses", "umbracoFormsFieldAbandons", "umbracoFormsFieldErrors", "avgEngagedTimeOnPage", "pageSessions", "pageVisitors", "pageSessionsWithSubpages", "pageVisitorsWithSubpages", "activeSegmentPageviews", "inactiveSegmentPageviews", "activeSegmentSessions", "inactiveSegmentSessions", "activeSegmentProfiles", "inactiveSegmentProfiles", "activePersonalizedSegmentPageviews", "inactivePersonalizedSegmentPageviews", "activePersonalizedSegmentSessions", "inactivePersonalizedSegmentSessions", "activePersonalizedSegmentProfiles", "inactivePersonalizedSegmentProfiles", "searchVolume", "searchVolumeWithSubpages", "visitors", "campaignEntries", "campaignVisitors", "campaignGoals", "campaignGoalValue", "campaignFormSubmissions", "campaignCommerceOrders", "entrySessions"])]).optional(),
|
|
4474
|
+
"ascending": zod.boolean(),
|
|
4475
|
+
"paging": zod.union([zod.null(), zod.object({
|
|
4476
|
+
"page": zod.int(),
|
|
4477
|
+
"pageSize": zod.int(),
|
|
4478
|
+
"includeTotals": zod.boolean()
|
|
4479
|
+
})]).optional(),
|
|
4480
|
+
"search": zod.string().nullish(),
|
|
4481
|
+
"includeTotals": zod.boolean().nullish(),
|
|
4482
|
+
"includeTotalRows": zod.boolean().nullish(),
|
|
4483
|
+
"comparison": zod.union([zod.null(), zod.object({
|
|
4484
|
+
"startDate": zod.iso.datetime({ "offset": true }).nullable(),
|
|
4485
|
+
"endDate": zod.iso.datetime({ "offset": true }).nullable()
|
|
4486
|
+
})]).optional(),
|
|
4487
|
+
"includeSubpages": zod.boolean()
|
|
4488
|
+
});
|
|
4489
|
+
var postAnalyticsRenderedSegmentsResponse = zod.object({
|
|
4490
|
+
"columns": zod.array(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", "users", "newVisitors", "percentNewSessions", "sessions", "bounceRate", "sessionDuration", "avgSessionDuration", "goalCompletionsAll", "goalValueAll", "pageviews", "pageviewsWithSubpages", "pageviewsPerSession", "uniquePageviews", "avgTimeOnPage", "totalEvents", "eventValue", "avgEventValue", "abTestVariantVisitors", "abTestVariantCompletionsAll", "videoPlays", "videoPlaytime", "avgVideoPlaytime", "avgRelativeVideoPlaytime", "videoEvents", "umbracoFormsViews", "umbracoFormsSubmissions", "umbracoFormsStarts", "umbracoFormsAbandons", "umbracoFormsErrors", "umbracoFormsFieldFocusses", "umbracoFormsFieldAbandons", "umbracoFormsFieldErrors", "avgEngagedTimeOnPage", "pageSessions", "pageVisitors", "pageSessionsWithSubpages", "pageVisitorsWithSubpages", "activeSegmentPageviews", "inactiveSegmentPageviews", "activeSegmentSessions", "inactiveSegmentSessions", "activeSegmentProfiles", "inactiveSegmentProfiles", "activePersonalizedSegmentPageviews", "inactivePersonalizedSegmentPageviews", "activePersonalizedSegmentSessions", "inactivePersonalizedSegmentSessions", "activePersonalizedSegmentProfiles", "inactivePersonalizedSegmentProfiles", "searchVolume", "searchVolumeWithSubpages", "visitors", "campaignEntries", "campaignVisitors", "campaignGoals", "campaignGoalValue", "campaignFormSubmissions", "campaignCommerceOrders", "entrySessions"])),
|
|
3981
4491
|
"currentPage": zod.int(),
|
|
3982
4492
|
"rows": zod.array(zod.array(zod.unknown())),
|
|
3983
4493
|
"rowsPerPage": zod.int(),
|
|
@@ -4774,8 +5284,8 @@ zod.object({
|
|
|
4774
5284
|
});
|
|
4775
5285
|
var postAbTestArchiveResponse = zod.object({
|
|
4776
5286
|
"isValid": zod.boolean(),
|
|
4777
|
-
"warnings": zod.array(zod.string())
|
|
4778
|
-
"errors": zod.array(zod.string())
|
|
5287
|
+
"warnings": zod.array(zod.string()),
|
|
5288
|
+
"errors": zod.array(zod.string())
|
|
4779
5289
|
});
|
|
4780
5290
|
zod.object({
|
|
4781
5291
|
"testType": zod.union([zod.literal("SinglePage"), zod.literal("MultiPage"), zod.literal("ContentType"), zod.literal("SplitUrl"), zod.literal(null)]).optional(),
|
|
@@ -4892,8 +5402,8 @@ var getAbTestEmptyResponse = zod.object({
|
|
|
4892
5402
|
"isBenchmark": zod.boolean(),
|
|
4893
5403
|
"totalPageviewsForVariant": zod.int(),
|
|
4894
5404
|
"totalVisitorsForVariant": zod.int(),
|
|
4895
|
-
"segment": zod.string()
|
|
4896
|
-
"previewSegment": zod.string()
|
|
5405
|
+
"segment": zod.string(),
|
|
5406
|
+
"previewSegment": zod.string()
|
|
4897
5407
|
}),
|
|
4898
5408
|
"visitors": zod.int(),
|
|
4899
5409
|
"goalCompletions": zod.int(),
|
|
@@ -4911,7 +5421,7 @@ var getAbTestEmptyResponse = zod.object({
|
|
|
4911
5421
|
"warning": zod.boolean(),
|
|
4912
5422
|
"mainGoalRatio": zod.number().nullish(),
|
|
4913
5423
|
"isHurting": zod.boolean()
|
|
4914
|
-
}))
|
|
5424
|
+
}))
|
|
4915
5425
|
})),
|
|
4916
5426
|
"currentVisitorsPerVariant": zod.int(),
|
|
4917
5427
|
"currentVisitors": zod.int(),
|
|
@@ -4935,8 +5445,8 @@ var getAbTestEmptyResponse = zod.object({
|
|
|
4935
5445
|
"isBenchmark": zod.boolean(),
|
|
4936
5446
|
"totalPageviewsForVariant": zod.int(),
|
|
4937
5447
|
"totalVisitorsForVariant": zod.int(),
|
|
4938
|
-
"segment": zod.string()
|
|
4939
|
-
"previewSegment": zod.string()
|
|
5448
|
+
"segment": zod.string(),
|
|
5449
|
+
"previewSegment": zod.string()
|
|
4940
5450
|
}),
|
|
4941
5451
|
"visitors": zod.int(),
|
|
4942
5452
|
"goalCompletions": zod.int(),
|
|
@@ -4954,7 +5464,7 @@ var getAbTestEmptyResponse = zod.object({
|
|
|
4954
5464
|
"warning": zod.boolean(),
|
|
4955
5465
|
"mainGoalRatio": zod.number().nullish(),
|
|
4956
5466
|
"isHurting": zod.boolean()
|
|
4957
|
-
}))
|
|
5467
|
+
}))
|
|
4958
5468
|
})]).optional(),
|
|
4959
5469
|
"bestNonBenchmarkVariant": zod.union([zod.null(), zod.object({
|
|
4960
5470
|
"abTestVariant": zod.object({
|
|
@@ -4973,8 +5483,8 @@ var getAbTestEmptyResponse = zod.object({
|
|
|
4973
5483
|
"isBenchmark": zod.boolean(),
|
|
4974
5484
|
"totalPageviewsForVariant": zod.int(),
|
|
4975
5485
|
"totalVisitorsForVariant": zod.int(),
|
|
4976
|
-
"segment": zod.string()
|
|
4977
|
-
"previewSegment": zod.string()
|
|
5486
|
+
"segment": zod.string(),
|
|
5487
|
+
"previewSegment": zod.string()
|
|
4978
5488
|
}),
|
|
4979
5489
|
"visitors": zod.int(),
|
|
4980
5490
|
"goalCompletions": zod.int(),
|
|
@@ -4992,7 +5502,7 @@ var getAbTestEmptyResponse = zod.object({
|
|
|
4992
5502
|
"warning": zod.boolean(),
|
|
4993
5503
|
"mainGoalRatio": zod.number().nullish(),
|
|
4994
5504
|
"isHurting": zod.boolean()
|
|
4995
|
-
}))
|
|
5505
|
+
}))
|
|
4996
5506
|
})]).optional(),
|
|
4997
5507
|
"earliestReliableVariant": zod.union([zod.null(), zod.object({
|
|
4998
5508
|
"abTestVariant": zod.object({
|
|
@@ -5011,8 +5521,8 @@ var getAbTestEmptyResponse = zod.object({
|
|
|
5011
5521
|
"isBenchmark": zod.boolean(),
|
|
5012
5522
|
"totalPageviewsForVariant": zod.int(),
|
|
5013
5523
|
"totalVisitorsForVariant": zod.int(),
|
|
5014
|
-
"segment": zod.string()
|
|
5015
|
-
"previewSegment": zod.string()
|
|
5524
|
+
"segment": zod.string(),
|
|
5525
|
+
"previewSegment": zod.string()
|
|
5016
5526
|
}),
|
|
5017
5527
|
"visitors": zod.int(),
|
|
5018
5528
|
"goalCompletions": zod.int(),
|
|
@@ -5030,7 +5540,7 @@ var getAbTestEmptyResponse = zod.object({
|
|
|
5030
5540
|
"warning": zod.boolean(),
|
|
5031
5541
|
"mainGoalRatio": zod.number().nullish(),
|
|
5032
5542
|
"isHurting": zod.boolean()
|
|
5033
|
-
}))
|
|
5543
|
+
}))
|
|
5034
5544
|
})]).optional(),
|
|
5035
5545
|
"bestPrognosis": zod.object({
|
|
5036
5546
|
"variantId": zod.int(),
|
|
@@ -5060,8 +5570,8 @@ var getAbTestEmptyResponse = zod.object({
|
|
|
5060
5570
|
"isBenchmark": zod.boolean(),
|
|
5061
5571
|
"totalPageviewsForVariant": zod.int(),
|
|
5062
5572
|
"totalVisitorsForVariant": zod.int(),
|
|
5063
|
-
"segment": zod.string()
|
|
5064
|
-
"previewSegment": zod.string()
|
|
5573
|
+
"segment": zod.string(),
|
|
5574
|
+
"previewSegment": zod.string()
|
|
5065
5575
|
}),
|
|
5066
5576
|
"visitors": zod.int(),
|
|
5067
5577
|
"goalCompletions": zod.int(),
|
|
@@ -5079,7 +5589,7 @@ var getAbTestEmptyResponse = zod.object({
|
|
|
5079
5589
|
"warning": zod.boolean(),
|
|
5080
5590
|
"mainGoalRatio": zod.number().nullish(),
|
|
5081
5591
|
"isHurting": zod.boolean()
|
|
5082
|
-
}))
|
|
5592
|
+
}))
|
|
5083
5593
|
})]).optional(),
|
|
5084
5594
|
"winningVariantConversionChange": zod.number(),
|
|
5085
5595
|
"bestNonWinningVariantConversionChange": zod.number(),
|
|
@@ -5159,8 +5669,8 @@ zod.object({
|
|
|
5159
5669
|
});
|
|
5160
5670
|
var deleteAbTestResponse = zod.object({
|
|
5161
5671
|
"isValid": zod.boolean(),
|
|
5162
|
-
"warnings": zod.array(zod.string())
|
|
5163
|
-
"errors": zod.array(zod.string())
|
|
5672
|
+
"warnings": zod.array(zod.string()),
|
|
5673
|
+
"errors": zod.array(zod.string())
|
|
5164
5674
|
});
|
|
5165
5675
|
zod.object({
|
|
5166
5676
|
"id": zod.int().optional()
|
|
@@ -5357,8 +5867,8 @@ zod.object({
|
|
|
5357
5867
|
"isBenchmark": zod.boolean(),
|
|
5358
5868
|
"totalPageviewsForVariant": zod.int(),
|
|
5359
5869
|
"totalVisitorsForVariant": zod.int(),
|
|
5360
|
-
"segment": zod.string()
|
|
5361
|
-
"previewSegment": zod.string()
|
|
5870
|
+
"segment": zod.string(),
|
|
5871
|
+
"previewSegment": zod.string()
|
|
5362
5872
|
}),
|
|
5363
5873
|
"visitors": zod.int(),
|
|
5364
5874
|
"goalCompletions": zod.int(),
|
|
@@ -5376,7 +5886,7 @@ zod.object({
|
|
|
5376
5886
|
"warning": zod.boolean(),
|
|
5377
5887
|
"mainGoalRatio": zod.number().nullish(),
|
|
5378
5888
|
"isHurting": zod.boolean()
|
|
5379
|
-
}))
|
|
5889
|
+
}))
|
|
5380
5890
|
})),
|
|
5381
5891
|
"currentVisitorsPerVariant": zod.int(),
|
|
5382
5892
|
"currentVisitors": zod.int(),
|
|
@@ -5400,8 +5910,8 @@ zod.object({
|
|
|
5400
5910
|
"isBenchmark": zod.boolean(),
|
|
5401
5911
|
"totalPageviewsForVariant": zod.int(),
|
|
5402
5912
|
"totalVisitorsForVariant": zod.int(),
|
|
5403
|
-
"segment": zod.string()
|
|
5404
|
-
"previewSegment": zod.string()
|
|
5913
|
+
"segment": zod.string(),
|
|
5914
|
+
"previewSegment": zod.string()
|
|
5405
5915
|
}),
|
|
5406
5916
|
"visitors": zod.int(),
|
|
5407
5917
|
"goalCompletions": zod.int(),
|
|
@@ -5419,7 +5929,7 @@ zod.object({
|
|
|
5419
5929
|
"warning": zod.boolean(),
|
|
5420
5930
|
"mainGoalRatio": zod.number().nullish(),
|
|
5421
5931
|
"isHurting": zod.boolean()
|
|
5422
|
-
}))
|
|
5932
|
+
}))
|
|
5423
5933
|
})]).optional(),
|
|
5424
5934
|
"bestNonBenchmarkVariant": zod.union([zod.null(), zod.object({
|
|
5425
5935
|
"abTestVariant": zod.object({
|
|
@@ -5438,8 +5948,8 @@ zod.object({
|
|
|
5438
5948
|
"isBenchmark": zod.boolean(),
|
|
5439
5949
|
"totalPageviewsForVariant": zod.int(),
|
|
5440
5950
|
"totalVisitorsForVariant": zod.int(),
|
|
5441
|
-
"segment": zod.string()
|
|
5442
|
-
"previewSegment": zod.string()
|
|
5951
|
+
"segment": zod.string(),
|
|
5952
|
+
"previewSegment": zod.string()
|
|
5443
5953
|
}),
|
|
5444
5954
|
"visitors": zod.int(),
|
|
5445
5955
|
"goalCompletions": zod.int(),
|
|
@@ -5457,7 +5967,7 @@ zod.object({
|
|
|
5457
5967
|
"warning": zod.boolean(),
|
|
5458
5968
|
"mainGoalRatio": zod.number().nullish(),
|
|
5459
5969
|
"isHurting": zod.boolean()
|
|
5460
|
-
}))
|
|
5970
|
+
}))
|
|
5461
5971
|
})]).optional(),
|
|
5462
5972
|
"earliestReliableVariant": zod.union([zod.null(), zod.object({
|
|
5463
5973
|
"abTestVariant": zod.object({
|
|
@@ -5476,8 +5986,8 @@ zod.object({
|
|
|
5476
5986
|
"isBenchmark": zod.boolean(),
|
|
5477
5987
|
"totalPageviewsForVariant": zod.int(),
|
|
5478
5988
|
"totalVisitorsForVariant": zod.int(),
|
|
5479
|
-
"segment": zod.string()
|
|
5480
|
-
"previewSegment": zod.string()
|
|
5989
|
+
"segment": zod.string(),
|
|
5990
|
+
"previewSegment": zod.string()
|
|
5481
5991
|
}),
|
|
5482
5992
|
"visitors": zod.int(),
|
|
5483
5993
|
"goalCompletions": zod.int(),
|
|
@@ -5495,7 +6005,7 @@ zod.object({
|
|
|
5495
6005
|
"warning": zod.boolean(),
|
|
5496
6006
|
"mainGoalRatio": zod.number().nullish(),
|
|
5497
6007
|
"isHurting": zod.boolean()
|
|
5498
|
-
}))
|
|
6008
|
+
}))
|
|
5499
6009
|
})]).optional(),
|
|
5500
6010
|
"bestPrognosis": zod.object({
|
|
5501
6011
|
"variantId": zod.int(),
|
|
@@ -5525,8 +6035,8 @@ zod.object({
|
|
|
5525
6035
|
"isBenchmark": zod.boolean(),
|
|
5526
6036
|
"totalPageviewsForVariant": zod.int(),
|
|
5527
6037
|
"totalVisitorsForVariant": zod.int(),
|
|
5528
|
-
"segment": zod.string()
|
|
5529
|
-
"previewSegment": zod.string()
|
|
6038
|
+
"segment": zod.string(),
|
|
6039
|
+
"previewSegment": zod.string()
|
|
5530
6040
|
}),
|
|
5531
6041
|
"visitors": zod.int(),
|
|
5532
6042
|
"goalCompletions": zod.int(),
|
|
@@ -5544,7 +6054,7 @@ zod.object({
|
|
|
5544
6054
|
"warning": zod.boolean(),
|
|
5545
6055
|
"mainGoalRatio": zod.number().nullish(),
|
|
5546
6056
|
"isHurting": zod.boolean()
|
|
5547
|
-
}))
|
|
6057
|
+
}))
|
|
5548
6058
|
})]).optional(),
|
|
5549
6059
|
"winningVariantConversionChange": zod.number(),
|
|
5550
6060
|
"bestNonWinningVariantConversionChange": zod.number(),
|
|
@@ -5722,8 +6232,8 @@ var postAbTestResponse = zod.object({
|
|
|
5722
6232
|
"isBenchmark": zod.boolean(),
|
|
5723
6233
|
"totalPageviewsForVariant": zod.int(),
|
|
5724
6234
|
"totalVisitorsForVariant": zod.int(),
|
|
5725
|
-
"segment": zod.string()
|
|
5726
|
-
"previewSegment": zod.string()
|
|
6235
|
+
"segment": zod.string(),
|
|
6236
|
+
"previewSegment": zod.string()
|
|
5727
6237
|
}),
|
|
5728
6238
|
"visitors": zod.int(),
|
|
5729
6239
|
"goalCompletions": zod.int(),
|
|
@@ -5741,7 +6251,7 @@ var postAbTestResponse = zod.object({
|
|
|
5741
6251
|
"warning": zod.boolean(),
|
|
5742
6252
|
"mainGoalRatio": zod.number().nullish(),
|
|
5743
6253
|
"isHurting": zod.boolean()
|
|
5744
|
-
}))
|
|
6254
|
+
}))
|
|
5745
6255
|
})),
|
|
5746
6256
|
"currentVisitorsPerVariant": zod.int(),
|
|
5747
6257
|
"currentVisitors": zod.int(),
|
|
@@ -5765,8 +6275,8 @@ var postAbTestResponse = zod.object({
|
|
|
5765
6275
|
"isBenchmark": zod.boolean(),
|
|
5766
6276
|
"totalPageviewsForVariant": zod.int(),
|
|
5767
6277
|
"totalVisitorsForVariant": zod.int(),
|
|
5768
|
-
"segment": zod.string()
|
|
5769
|
-
"previewSegment": zod.string()
|
|
6278
|
+
"segment": zod.string(),
|
|
6279
|
+
"previewSegment": zod.string()
|
|
5770
6280
|
}),
|
|
5771
6281
|
"visitors": zod.int(),
|
|
5772
6282
|
"goalCompletions": zod.int(),
|
|
@@ -5784,7 +6294,7 @@ var postAbTestResponse = zod.object({
|
|
|
5784
6294
|
"warning": zod.boolean(),
|
|
5785
6295
|
"mainGoalRatio": zod.number().nullish(),
|
|
5786
6296
|
"isHurting": zod.boolean()
|
|
5787
|
-
}))
|
|
6297
|
+
}))
|
|
5788
6298
|
})]).optional(),
|
|
5789
6299
|
"bestNonBenchmarkVariant": zod.union([zod.null(), zod.object({
|
|
5790
6300
|
"abTestVariant": zod.object({
|
|
@@ -5803,8 +6313,8 @@ var postAbTestResponse = zod.object({
|
|
|
5803
6313
|
"isBenchmark": zod.boolean(),
|
|
5804
6314
|
"totalPageviewsForVariant": zod.int(),
|
|
5805
6315
|
"totalVisitorsForVariant": zod.int(),
|
|
5806
|
-
"segment": zod.string()
|
|
5807
|
-
"previewSegment": zod.string()
|
|
6316
|
+
"segment": zod.string(),
|
|
6317
|
+
"previewSegment": zod.string()
|
|
5808
6318
|
}),
|
|
5809
6319
|
"visitors": zod.int(),
|
|
5810
6320
|
"goalCompletions": zod.int(),
|
|
@@ -5822,7 +6332,7 @@ var postAbTestResponse = zod.object({
|
|
|
5822
6332
|
"warning": zod.boolean(),
|
|
5823
6333
|
"mainGoalRatio": zod.number().nullish(),
|
|
5824
6334
|
"isHurting": zod.boolean()
|
|
5825
|
-
}))
|
|
6335
|
+
}))
|
|
5826
6336
|
})]).optional(),
|
|
5827
6337
|
"earliestReliableVariant": zod.union([zod.null(), zod.object({
|
|
5828
6338
|
"abTestVariant": zod.object({
|
|
@@ -5841,8 +6351,8 @@ var postAbTestResponse = zod.object({
|
|
|
5841
6351
|
"isBenchmark": zod.boolean(),
|
|
5842
6352
|
"totalPageviewsForVariant": zod.int(),
|
|
5843
6353
|
"totalVisitorsForVariant": zod.int(),
|
|
5844
|
-
"segment": zod.string()
|
|
5845
|
-
"previewSegment": zod.string()
|
|
6354
|
+
"segment": zod.string(),
|
|
6355
|
+
"previewSegment": zod.string()
|
|
5846
6356
|
}),
|
|
5847
6357
|
"visitors": zod.int(),
|
|
5848
6358
|
"goalCompletions": zod.int(),
|
|
@@ -5860,7 +6370,7 @@ var postAbTestResponse = zod.object({
|
|
|
5860
6370
|
"warning": zod.boolean(),
|
|
5861
6371
|
"mainGoalRatio": zod.number().nullish(),
|
|
5862
6372
|
"isHurting": zod.boolean()
|
|
5863
|
-
}))
|
|
6373
|
+
}))
|
|
5864
6374
|
})]).optional(),
|
|
5865
6375
|
"bestPrognosis": zod.object({
|
|
5866
6376
|
"variantId": zod.int(),
|
|
@@ -5890,8 +6400,8 @@ var postAbTestResponse = zod.object({
|
|
|
5890
6400
|
"isBenchmark": zod.boolean(),
|
|
5891
6401
|
"totalPageviewsForVariant": zod.int(),
|
|
5892
6402
|
"totalVisitorsForVariant": zod.int(),
|
|
5893
|
-
"segment": zod.string()
|
|
5894
|
-
"previewSegment": zod.string()
|
|
6403
|
+
"segment": zod.string(),
|
|
6404
|
+
"previewSegment": zod.string()
|
|
5895
6405
|
}),
|
|
5896
6406
|
"visitors": zod.int(),
|
|
5897
6407
|
"goalCompletions": zod.int(),
|
|
@@ -5909,7 +6419,7 @@ var postAbTestResponse = zod.object({
|
|
|
5909
6419
|
"warning": zod.boolean(),
|
|
5910
6420
|
"mainGoalRatio": zod.number().nullish(),
|
|
5911
6421
|
"isHurting": zod.boolean()
|
|
5912
|
-
}))
|
|
6422
|
+
}))
|
|
5913
6423
|
})]).optional(),
|
|
5914
6424
|
"winningVariantConversionChange": zod.number(),
|
|
5915
6425
|
"bestNonWinningVariantConversionChange": zod.number(),
|
|
@@ -5977,8 +6487,8 @@ var postAbTestResponse = zod.object({
|
|
|
5977
6487
|
}),
|
|
5978
6488
|
"validationResults": zod.object({
|
|
5979
6489
|
"isValid": zod.boolean(),
|
|
5980
|
-
"warnings": zod.array(zod.string())
|
|
5981
|
-
"errors": zod.array(zod.string())
|
|
6490
|
+
"warnings": zod.array(zod.string()),
|
|
6491
|
+
"errors": zod.array(zod.string())
|
|
5982
6492
|
})
|
|
5983
6493
|
});
|
|
5984
6494
|
var postAbTestEndQueryParams = zod.object({
|
|
@@ -6099,8 +6609,8 @@ var postAbTestEndResponse = zod.object({
|
|
|
6099
6609
|
"isBenchmark": zod.boolean(),
|
|
6100
6610
|
"totalPageviewsForVariant": zod.int(),
|
|
6101
6611
|
"totalVisitorsForVariant": zod.int(),
|
|
6102
|
-
"segment": zod.string()
|
|
6103
|
-
"previewSegment": zod.string()
|
|
6612
|
+
"segment": zod.string(),
|
|
6613
|
+
"previewSegment": zod.string()
|
|
6104
6614
|
}),
|
|
6105
6615
|
"visitors": zod.int(),
|
|
6106
6616
|
"goalCompletions": zod.int(),
|
|
@@ -6118,7 +6628,7 @@ var postAbTestEndResponse = zod.object({
|
|
|
6118
6628
|
"warning": zod.boolean(),
|
|
6119
6629
|
"mainGoalRatio": zod.number().nullish(),
|
|
6120
6630
|
"isHurting": zod.boolean()
|
|
6121
|
-
}))
|
|
6631
|
+
}))
|
|
6122
6632
|
})),
|
|
6123
6633
|
"currentVisitorsPerVariant": zod.int(),
|
|
6124
6634
|
"currentVisitors": zod.int(),
|
|
@@ -6142,8 +6652,8 @@ var postAbTestEndResponse = zod.object({
|
|
|
6142
6652
|
"isBenchmark": zod.boolean(),
|
|
6143
6653
|
"totalPageviewsForVariant": zod.int(),
|
|
6144
6654
|
"totalVisitorsForVariant": zod.int(),
|
|
6145
|
-
"segment": zod.string()
|
|
6146
|
-
"previewSegment": zod.string()
|
|
6655
|
+
"segment": zod.string(),
|
|
6656
|
+
"previewSegment": zod.string()
|
|
6147
6657
|
}),
|
|
6148
6658
|
"visitors": zod.int(),
|
|
6149
6659
|
"goalCompletions": zod.int(),
|
|
@@ -6161,7 +6671,7 @@ var postAbTestEndResponse = zod.object({
|
|
|
6161
6671
|
"warning": zod.boolean(),
|
|
6162
6672
|
"mainGoalRatio": zod.number().nullish(),
|
|
6163
6673
|
"isHurting": zod.boolean()
|
|
6164
|
-
}))
|
|
6674
|
+
}))
|
|
6165
6675
|
})]).optional(),
|
|
6166
6676
|
"bestNonBenchmarkVariant": zod.union([zod.null(), zod.object({
|
|
6167
6677
|
"abTestVariant": zod.object({
|
|
@@ -6180,8 +6690,8 @@ var postAbTestEndResponse = zod.object({
|
|
|
6180
6690
|
"isBenchmark": zod.boolean(),
|
|
6181
6691
|
"totalPageviewsForVariant": zod.int(),
|
|
6182
6692
|
"totalVisitorsForVariant": zod.int(),
|
|
6183
|
-
"segment": zod.string()
|
|
6184
|
-
"previewSegment": zod.string()
|
|
6693
|
+
"segment": zod.string(),
|
|
6694
|
+
"previewSegment": zod.string()
|
|
6185
6695
|
}),
|
|
6186
6696
|
"visitors": zod.int(),
|
|
6187
6697
|
"goalCompletions": zod.int(),
|
|
@@ -6199,7 +6709,7 @@ var postAbTestEndResponse = zod.object({
|
|
|
6199
6709
|
"warning": zod.boolean(),
|
|
6200
6710
|
"mainGoalRatio": zod.number().nullish(),
|
|
6201
6711
|
"isHurting": zod.boolean()
|
|
6202
|
-
}))
|
|
6712
|
+
}))
|
|
6203
6713
|
})]).optional(),
|
|
6204
6714
|
"earliestReliableVariant": zod.union([zod.null(), zod.object({
|
|
6205
6715
|
"abTestVariant": zod.object({
|
|
@@ -6218,8 +6728,8 @@ var postAbTestEndResponse = zod.object({
|
|
|
6218
6728
|
"isBenchmark": zod.boolean(),
|
|
6219
6729
|
"totalPageviewsForVariant": zod.int(),
|
|
6220
6730
|
"totalVisitorsForVariant": zod.int(),
|
|
6221
|
-
"segment": zod.string()
|
|
6222
|
-
"previewSegment": zod.string()
|
|
6731
|
+
"segment": zod.string(),
|
|
6732
|
+
"previewSegment": zod.string()
|
|
6223
6733
|
}),
|
|
6224
6734
|
"visitors": zod.int(),
|
|
6225
6735
|
"goalCompletions": zod.int(),
|
|
@@ -6237,7 +6747,7 @@ var postAbTestEndResponse = zod.object({
|
|
|
6237
6747
|
"warning": zod.boolean(),
|
|
6238
6748
|
"mainGoalRatio": zod.number().nullish(),
|
|
6239
6749
|
"isHurting": zod.boolean()
|
|
6240
|
-
}))
|
|
6750
|
+
}))
|
|
6241
6751
|
})]).optional(),
|
|
6242
6752
|
"bestPrognosis": zod.object({
|
|
6243
6753
|
"variantId": zod.int(),
|
|
@@ -6267,8 +6777,8 @@ var postAbTestEndResponse = zod.object({
|
|
|
6267
6777
|
"isBenchmark": zod.boolean(),
|
|
6268
6778
|
"totalPageviewsForVariant": zod.int(),
|
|
6269
6779
|
"totalVisitorsForVariant": zod.int(),
|
|
6270
|
-
"segment": zod.string()
|
|
6271
|
-
"previewSegment": zod.string()
|
|
6780
|
+
"segment": zod.string(),
|
|
6781
|
+
"previewSegment": zod.string()
|
|
6272
6782
|
}),
|
|
6273
6783
|
"visitors": zod.int(),
|
|
6274
6784
|
"goalCompletions": zod.int(),
|
|
@@ -6286,7 +6796,7 @@ var postAbTestEndResponse = zod.object({
|
|
|
6286
6796
|
"warning": zod.boolean(),
|
|
6287
6797
|
"mainGoalRatio": zod.number().nullish(),
|
|
6288
6798
|
"isHurting": zod.boolean()
|
|
6289
|
-
}))
|
|
6799
|
+
}))
|
|
6290
6800
|
})]).optional(),
|
|
6291
6801
|
"winningVariantConversionChange": zod.number(),
|
|
6292
6802
|
"bestNonWinningVariantConversionChange": zod.number(),
|
|
@@ -6354,8 +6864,8 @@ var postAbTestEndResponse = zod.object({
|
|
|
6354
6864
|
})]).optional(),
|
|
6355
6865
|
"validationResults": zod.object({
|
|
6356
6866
|
"isValid": zod.boolean(),
|
|
6357
|
-
"warnings": zod.array(zod.string())
|
|
6358
|
-
"errors": zod.array(zod.string())
|
|
6867
|
+
"warnings": zod.array(zod.string()),
|
|
6868
|
+
"errors": zod.array(zod.string())
|
|
6359
6869
|
})
|
|
6360
6870
|
});
|
|
6361
6871
|
var getAbTestAllResponseItem = zod.object({
|
|
@@ -6709,8 +7219,8 @@ var getAbTestViewModelResponse = zod.object({
|
|
|
6709
7219
|
"isBenchmark": zod.boolean(),
|
|
6710
7220
|
"totalPageviewsForVariant": zod.int(),
|
|
6711
7221
|
"totalVisitorsForVariant": zod.int(),
|
|
6712
|
-
"segment": zod.string()
|
|
6713
|
-
"previewSegment": zod.string()
|
|
7222
|
+
"segment": zod.string(),
|
|
7223
|
+
"previewSegment": zod.string()
|
|
6714
7224
|
}),
|
|
6715
7225
|
"visitors": zod.int(),
|
|
6716
7226
|
"goalCompletions": zod.int(),
|
|
@@ -6728,7 +7238,7 @@ var getAbTestViewModelResponse = zod.object({
|
|
|
6728
7238
|
"warning": zod.boolean(),
|
|
6729
7239
|
"mainGoalRatio": zod.number().nullish(),
|
|
6730
7240
|
"isHurting": zod.boolean()
|
|
6731
|
-
}))
|
|
7241
|
+
}))
|
|
6732
7242
|
})),
|
|
6733
7243
|
"currentVisitorsPerVariant": zod.int(),
|
|
6734
7244
|
"currentVisitors": zod.int(),
|
|
@@ -6752,8 +7262,8 @@ var getAbTestViewModelResponse = zod.object({
|
|
|
6752
7262
|
"isBenchmark": zod.boolean(),
|
|
6753
7263
|
"totalPageviewsForVariant": zod.int(),
|
|
6754
7264
|
"totalVisitorsForVariant": zod.int(),
|
|
6755
|
-
"segment": zod.string()
|
|
6756
|
-
"previewSegment": zod.string()
|
|
7265
|
+
"segment": zod.string(),
|
|
7266
|
+
"previewSegment": zod.string()
|
|
6757
7267
|
}),
|
|
6758
7268
|
"visitors": zod.int(),
|
|
6759
7269
|
"goalCompletions": zod.int(),
|
|
@@ -6771,7 +7281,7 @@ var getAbTestViewModelResponse = zod.object({
|
|
|
6771
7281
|
"warning": zod.boolean(),
|
|
6772
7282
|
"mainGoalRatio": zod.number().nullish(),
|
|
6773
7283
|
"isHurting": zod.boolean()
|
|
6774
|
-
}))
|
|
7284
|
+
}))
|
|
6775
7285
|
})]).optional(),
|
|
6776
7286
|
"bestNonBenchmarkVariant": zod.union([zod.null(), zod.object({
|
|
6777
7287
|
"abTestVariant": zod.object({
|
|
@@ -6790,8 +7300,8 @@ var getAbTestViewModelResponse = zod.object({
|
|
|
6790
7300
|
"isBenchmark": zod.boolean(),
|
|
6791
7301
|
"totalPageviewsForVariant": zod.int(),
|
|
6792
7302
|
"totalVisitorsForVariant": zod.int(),
|
|
6793
|
-
"segment": zod.string()
|
|
6794
|
-
"previewSegment": zod.string()
|
|
7303
|
+
"segment": zod.string(),
|
|
7304
|
+
"previewSegment": zod.string()
|
|
6795
7305
|
}),
|
|
6796
7306
|
"visitors": zod.int(),
|
|
6797
7307
|
"goalCompletions": zod.int(),
|
|
@@ -6809,7 +7319,7 @@ var getAbTestViewModelResponse = zod.object({
|
|
|
6809
7319
|
"warning": zod.boolean(),
|
|
6810
7320
|
"mainGoalRatio": zod.number().nullish(),
|
|
6811
7321
|
"isHurting": zod.boolean()
|
|
6812
|
-
}))
|
|
7322
|
+
}))
|
|
6813
7323
|
})]).optional(),
|
|
6814
7324
|
"earliestReliableVariant": zod.union([zod.null(), zod.object({
|
|
6815
7325
|
"abTestVariant": zod.object({
|
|
@@ -6828,8 +7338,8 @@ var getAbTestViewModelResponse = zod.object({
|
|
|
6828
7338
|
"isBenchmark": zod.boolean(),
|
|
6829
7339
|
"totalPageviewsForVariant": zod.int(),
|
|
6830
7340
|
"totalVisitorsForVariant": zod.int(),
|
|
6831
|
-
"segment": zod.string()
|
|
6832
|
-
"previewSegment": zod.string()
|
|
7341
|
+
"segment": zod.string(),
|
|
7342
|
+
"previewSegment": zod.string()
|
|
6833
7343
|
}),
|
|
6834
7344
|
"visitors": zod.int(),
|
|
6835
7345
|
"goalCompletions": zod.int(),
|
|
@@ -6847,7 +7357,7 @@ var getAbTestViewModelResponse = zod.object({
|
|
|
6847
7357
|
"warning": zod.boolean(),
|
|
6848
7358
|
"mainGoalRatio": zod.number().nullish(),
|
|
6849
7359
|
"isHurting": zod.boolean()
|
|
6850
|
-
}))
|
|
7360
|
+
}))
|
|
6851
7361
|
})]).optional(),
|
|
6852
7362
|
"bestPrognosis": zod.object({
|
|
6853
7363
|
"variantId": zod.int(),
|
|
@@ -6877,8 +7387,8 @@ var getAbTestViewModelResponse = zod.object({
|
|
|
6877
7387
|
"isBenchmark": zod.boolean(),
|
|
6878
7388
|
"totalPageviewsForVariant": zod.int(),
|
|
6879
7389
|
"totalVisitorsForVariant": zod.int(),
|
|
6880
|
-
"segment": zod.string()
|
|
6881
|
-
"previewSegment": zod.string()
|
|
7390
|
+
"segment": zod.string(),
|
|
7391
|
+
"previewSegment": zod.string()
|
|
6882
7392
|
}),
|
|
6883
7393
|
"visitors": zod.int(),
|
|
6884
7394
|
"goalCompletions": zod.int(),
|
|
@@ -6896,7 +7406,7 @@ var getAbTestViewModelResponse = zod.object({
|
|
|
6896
7406
|
"warning": zod.boolean(),
|
|
6897
7407
|
"mainGoalRatio": zod.number().nullish(),
|
|
6898
7408
|
"isHurting": zod.boolean()
|
|
6899
|
-
}))
|
|
7409
|
+
}))
|
|
6900
7410
|
})]).optional(),
|
|
6901
7411
|
"winningVariantConversionChange": zod.number(),
|
|
6902
7412
|
"bestNonWinningVariantConversionChange": zod.number(),
|
|
@@ -7072,8 +7582,8 @@ var postAbTestRuntimeIndicationResponse = zod.object({
|
|
|
7072
7582
|
"isBenchmark": zod.boolean(),
|
|
7073
7583
|
"totalPageviewsForVariant": zod.int(),
|
|
7074
7584
|
"totalVisitorsForVariant": zod.int(),
|
|
7075
|
-
"segment": zod.string()
|
|
7076
|
-
"previewSegment": zod.string()
|
|
7585
|
+
"segment": zod.string(),
|
|
7586
|
+
"previewSegment": zod.string()
|
|
7077
7587
|
}),
|
|
7078
7588
|
"visitors": zod.int(),
|
|
7079
7589
|
"goalCompletions": zod.int(),
|
|
@@ -7091,7 +7601,7 @@ var postAbTestRuntimeIndicationResponse = zod.object({
|
|
|
7091
7601
|
"warning": zod.boolean(),
|
|
7092
7602
|
"mainGoalRatio": zod.number().nullish(),
|
|
7093
7603
|
"isHurting": zod.boolean()
|
|
7094
|
-
}))
|
|
7604
|
+
}))
|
|
7095
7605
|
})),
|
|
7096
7606
|
"currentVisitorsPerVariant": zod.int(),
|
|
7097
7607
|
"currentVisitors": zod.int(),
|
|
@@ -7115,8 +7625,8 @@ var postAbTestRuntimeIndicationResponse = zod.object({
|
|
|
7115
7625
|
"isBenchmark": zod.boolean(),
|
|
7116
7626
|
"totalPageviewsForVariant": zod.int(),
|
|
7117
7627
|
"totalVisitorsForVariant": zod.int(),
|
|
7118
|
-
"segment": zod.string()
|
|
7119
|
-
"previewSegment": zod.string()
|
|
7628
|
+
"segment": zod.string(),
|
|
7629
|
+
"previewSegment": zod.string()
|
|
7120
7630
|
}),
|
|
7121
7631
|
"visitors": zod.int(),
|
|
7122
7632
|
"goalCompletions": zod.int(),
|
|
@@ -7134,7 +7644,7 @@ var postAbTestRuntimeIndicationResponse = zod.object({
|
|
|
7134
7644
|
"warning": zod.boolean(),
|
|
7135
7645
|
"mainGoalRatio": zod.number().nullish(),
|
|
7136
7646
|
"isHurting": zod.boolean()
|
|
7137
|
-
}))
|
|
7647
|
+
}))
|
|
7138
7648
|
})]).optional(),
|
|
7139
7649
|
"bestNonBenchmarkVariant": zod.union([zod.null(), zod.object({
|
|
7140
7650
|
"abTestVariant": zod.object({
|
|
@@ -7153,8 +7663,8 @@ var postAbTestRuntimeIndicationResponse = zod.object({
|
|
|
7153
7663
|
"isBenchmark": zod.boolean(),
|
|
7154
7664
|
"totalPageviewsForVariant": zod.int(),
|
|
7155
7665
|
"totalVisitorsForVariant": zod.int(),
|
|
7156
|
-
"segment": zod.string()
|
|
7157
|
-
"previewSegment": zod.string()
|
|
7666
|
+
"segment": zod.string(),
|
|
7667
|
+
"previewSegment": zod.string()
|
|
7158
7668
|
}),
|
|
7159
7669
|
"visitors": zod.int(),
|
|
7160
7670
|
"goalCompletions": zod.int(),
|
|
@@ -7172,7 +7682,7 @@ var postAbTestRuntimeIndicationResponse = zod.object({
|
|
|
7172
7682
|
"warning": zod.boolean(),
|
|
7173
7683
|
"mainGoalRatio": zod.number().nullish(),
|
|
7174
7684
|
"isHurting": zod.boolean()
|
|
7175
|
-
}))
|
|
7685
|
+
}))
|
|
7176
7686
|
})]).optional(),
|
|
7177
7687
|
"earliestReliableVariant": zod.union([zod.null(), zod.object({
|
|
7178
7688
|
"abTestVariant": zod.object({
|
|
@@ -7191,8 +7701,8 @@ var postAbTestRuntimeIndicationResponse = zod.object({
|
|
|
7191
7701
|
"isBenchmark": zod.boolean(),
|
|
7192
7702
|
"totalPageviewsForVariant": zod.int(),
|
|
7193
7703
|
"totalVisitorsForVariant": zod.int(),
|
|
7194
|
-
"segment": zod.string()
|
|
7195
|
-
"previewSegment": zod.string()
|
|
7704
|
+
"segment": zod.string(),
|
|
7705
|
+
"previewSegment": zod.string()
|
|
7196
7706
|
}),
|
|
7197
7707
|
"visitors": zod.int(),
|
|
7198
7708
|
"goalCompletions": zod.int(),
|
|
@@ -7210,7 +7720,7 @@ var postAbTestRuntimeIndicationResponse = zod.object({
|
|
|
7210
7720
|
"warning": zod.boolean(),
|
|
7211
7721
|
"mainGoalRatio": zod.number().nullish(),
|
|
7212
7722
|
"isHurting": zod.boolean()
|
|
7213
|
-
}))
|
|
7723
|
+
}))
|
|
7214
7724
|
})]).optional(),
|
|
7215
7725
|
"bestPrognosis": zod.object({
|
|
7216
7726
|
"variantId": zod.int(),
|
|
@@ -7240,8 +7750,8 @@ var postAbTestRuntimeIndicationResponse = zod.object({
|
|
|
7240
7750
|
"isBenchmark": zod.boolean(),
|
|
7241
7751
|
"totalPageviewsForVariant": zod.int(),
|
|
7242
7752
|
"totalVisitorsForVariant": zod.int(),
|
|
7243
|
-
"segment": zod.string()
|
|
7244
|
-
"previewSegment": zod.string()
|
|
7753
|
+
"segment": zod.string(),
|
|
7754
|
+
"previewSegment": zod.string()
|
|
7245
7755
|
}),
|
|
7246
7756
|
"visitors": zod.int(),
|
|
7247
7757
|
"goalCompletions": zod.int(),
|
|
@@ -7259,7 +7769,7 @@ var postAbTestRuntimeIndicationResponse = zod.object({
|
|
|
7259
7769
|
"warning": zod.boolean(),
|
|
7260
7770
|
"mainGoalRatio": zod.number().nullish(),
|
|
7261
7771
|
"isHurting": zod.boolean()
|
|
7262
|
-
}))
|
|
7772
|
+
}))
|
|
7263
7773
|
})]).optional(),
|
|
7264
7774
|
"winningVariantConversionChange": zod.number(),
|
|
7265
7775
|
"bestNonWinningVariantConversionChange": zod.number(),
|
|
@@ -7360,8 +7870,8 @@ var postAbTestUnscheduleResponse = zod.object({
|
|
|
7360
7870
|
})]).optional(),
|
|
7361
7871
|
"validationResults": zod.object({
|
|
7362
7872
|
"isValid": zod.boolean(),
|
|
7363
|
-
"warnings": zod.array(zod.string())
|
|
7364
|
-
"errors": zod.array(zod.string())
|
|
7873
|
+
"warnings": zod.array(zod.string()),
|
|
7874
|
+
"errors": zod.array(zod.string())
|
|
7365
7875
|
})
|
|
7366
7876
|
});
|
|
7367
7877
|
|
|
@@ -7532,7 +8042,6 @@ var tool4 = {
|
|
|
7532
8042
|
name: params.name,
|
|
7533
8043
|
description: null,
|
|
7534
8044
|
createdByUmbracoUserName: null,
|
|
7535
|
-
isArchived: false,
|
|
7536
8045
|
testType: params.testType,
|
|
7537
8046
|
startTime: null,
|
|
7538
8047
|
endTime: null,
|
|
@@ -7550,6 +8059,8 @@ var tool4 = {
|
|
|
7550
8059
|
contentTypes: [],
|
|
7551
8060
|
winner: null,
|
|
7552
8061
|
isCompleted: false,
|
|
8062
|
+
// Required since Engage 19; a test built here is never archived.
|
|
8063
|
+
isArchived: false,
|
|
7553
8064
|
completedOn: null,
|
|
7554
8065
|
completedByUmbracoUserKey: null,
|
|
7555
8066
|
stoppedByUmbracoUserKey: null,
|
|
@@ -7684,7 +8195,6 @@ var tool8 = {
|
|
|
7684
8195
|
name: null,
|
|
7685
8196
|
description: null,
|
|
7686
8197
|
createdByUmbracoUserName: null,
|
|
7687
|
-
isArchived: false,
|
|
7688
8198
|
testType: params.testType,
|
|
7689
8199
|
startTime: null,
|
|
7690
8200
|
endTime: null,
|
|
@@ -7695,6 +8205,8 @@ var tool8 = {
|
|
|
7695
8205
|
contentTypes: [],
|
|
7696
8206
|
winner: null,
|
|
7697
8207
|
isCompleted: false,
|
|
8208
|
+
// Required since Engage 19; a test built here is never archived.
|
|
8209
|
+
isArchived: false,
|
|
7698
8210
|
completedOn: null,
|
|
7699
8211
|
completedByUmbracoUserKey: null,
|
|
7700
8212
|
stoppedByUmbracoUserKey: null,
|
|
@@ -7777,7 +8289,6 @@ var tool10 = {
|
|
|
7777
8289
|
name: null,
|
|
7778
8290
|
description: null,
|
|
7779
8291
|
createdByUmbracoUserName: null,
|
|
7780
|
-
isArchived: false,
|
|
7781
8292
|
testType: params.testType,
|
|
7782
8293
|
startTime: null,
|
|
7783
8294
|
endTime: null,
|
|
@@ -7788,6 +8299,8 @@ var tool10 = {
|
|
|
7788
8299
|
contentTypes: [],
|
|
7789
8300
|
winner: null,
|
|
7790
8301
|
isCompleted: false,
|
|
8302
|
+
// Required since Engage 19; a test built here is never archived.
|
|
8303
|
+
isArchived: false,
|
|
7791
8304
|
completedOn: null,
|
|
7792
8305
|
completedByUmbracoUserKey: null,
|
|
7793
8306
|
stoppedByUmbracoUserKey: null,
|
|
@@ -7942,74 +8455,65 @@ var tool13 = {
|
|
|
7942
8455
|
};
|
|
7943
8456
|
var post_ab_test_stop_default = withStandardDecorators(tool13);
|
|
7944
8457
|
var inputSchema15 = z.object({
|
|
7945
|
-
unique: z.uuid().describe("The
|
|
7946
|
-
archived: z.boolean().describe("true
|
|
8458
|
+
unique: z.uuid().describe("The A/B test's `unique` guid (from post-ab-test's response, or get-ab-test-all)."),
|
|
8459
|
+
archived: z.boolean().describe("true to archive the test, false to restore an archived test.")
|
|
7947
8460
|
});
|
|
7948
8461
|
var outputSchema15 = postAbTestArchiveResponse;
|
|
7949
8462
|
var tool14 = {
|
|
7950
8463
|
name: "post-ab-test-archive",
|
|
7951
|
-
description: "Archive or
|
|
8464
|
+
description: "Archive (or unarchive) a finished A/B test, hiding it from the active A/B test overview without deleting it. Only tests whose status is Stopped or Completed can be archived - use post-ab-test-end (or post-ab-test-stop) first; a Draft, Scheduled or Running test is rejected. Archiving changes nothing else about the test (status, results and winner stay as they were) and is reversible with `archived: false`; check get-ab-test-view-model's `isArchived` to see the current state. Returns HTTP 200 with { isValid: false, errors: [...] } (not an error result) when the test doesn't exist or can't be archived - check `isValid`.",
|
|
7952
8465
|
inputSchema: inputSchema15.shape,
|
|
7953
8466
|
outputSchema: outputSchema15,
|
|
7954
8467
|
slices: ["update"],
|
|
7955
8468
|
annotations: { destructiveHint: false, idempotentHint: true },
|
|
7956
8469
|
handler: async (params) => {
|
|
7957
8470
|
return executeGetApiCall(
|
|
7958
|
-
(client) => client.postAbTestArchive(
|
|
7959
|
-
{ unique: params.unique, archived: params.archived },
|
|
7960
|
-
CAPTURE_RAW_HTTP_RESPONSE
|
|
7961
|
-
)
|
|
8471
|
+
(client) => client.postAbTestArchive(params, CAPTURE_RAW_HTTP_RESPONSE)
|
|
7962
8472
|
);
|
|
7963
8473
|
}
|
|
7964
8474
|
};
|
|
7965
8475
|
var post_ab_test_archive_default = withStandardDecorators(tool14);
|
|
7966
8476
|
var inputSchema16 = z.object({
|
|
7967
|
-
unique: z.uuid().describe("The
|
|
8477
|
+
unique: z.uuid().describe("The A/B test's `unique` guid (from post-ab-test's response, or get-ab-test-all)."),
|
|
7968
8478
|
status: z.enum(["Stopped", "Completed"]).describe(
|
|
7969
|
-
"The
|
|
8479
|
+
"The end state. Stopped halts a Running test without picking a winner (it can still be completed later). Completed finishes a Running or Stopped test for good, optionally with a winner."
|
|
8480
|
+
),
|
|
8481
|
+
winnerKey: z.uuid().optional().describe(
|
|
8482
|
+
"Only with status Completed: the `unique` of the winning variant (from get-ab-test-view-model's `variants`). Must be one of this test's own variants. Omit to complete without declaring a winner."
|
|
7970
8483
|
),
|
|
7971
|
-
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`."),
|
|
7972
8484
|
onCompleteAction: postAbTestEndQueryParams.shape.onCompleteAction.describe(
|
|
7973
|
-
"
|
|
8485
|
+
"Only with status Completed and a winnerKey: what Engage does with the winning variant's content on the page - Nothing (leave the page as it is), Publish (apply it and publish), or Draft (apply it as an unpublished draft). Omit or use Nothing to leave content untouched."
|
|
7974
8486
|
)
|
|
7975
8487
|
});
|
|
7976
8488
|
var outputSchema16 = postAbTestEndResponse;
|
|
7977
8489
|
var tool15 = {
|
|
7978
8490
|
name: "post-ab-test-end",
|
|
7979
|
-
description: "End an A/B test
|
|
8491
|
+
description: "End an A/B test: stop a Running test (status Stopped), or complete a Running or Stopped test (status Completed), optionally declaring the winning variant. This is Engage's own end/select-winner action. It cannot be undone: a stopped or completed test can't be restarted, and Engage only deletes Draft or Scheduled tests, so an ended test can afterwards only be archived (post-ab-test-archive). Draft and Scheduled tests can't be ended - use post-ab-test-unschedule or delete-ab-test for those. Returns the updated test under `test`. Rejections (unknown test, a transition the current status doesn't allow, a winnerKey that isn't one of the test's variants) come back as HTTP 200 with `test: null` and `validationResults.isValid: false` rather than an error result - check `validationResults`.",
|
|
7980
8492
|
inputSchema: inputSchema16.shape,
|
|
7981
8493
|
outputSchema: outputSchema16,
|
|
7982
8494
|
slices: ["update"],
|
|
7983
|
-
annotations: { destructiveHint: true, idempotentHint:
|
|
8495
|
+
annotations: { destructiveHint: true, idempotentHint: true },
|
|
7984
8496
|
handler: async (params) => {
|
|
7985
8497
|
return executeGetApiCall(
|
|
7986
|
-
(client) => client.postAbTestEnd(
|
|
7987
|
-
{
|
|
7988
|
-
unique: params.unique,
|
|
7989
|
-
status: params.status,
|
|
7990
|
-
winnerKey: params.winnerKey,
|
|
7991
|
-
onCompleteAction: params.onCompleteAction
|
|
7992
|
-
},
|
|
7993
|
-
CAPTURE_RAW_HTTP_RESPONSE
|
|
7994
|
-
)
|
|
8498
|
+
(client) => client.postAbTestEnd(params, CAPTURE_RAW_HTTP_RESPONSE)
|
|
7995
8499
|
);
|
|
7996
8500
|
}
|
|
7997
8501
|
};
|
|
7998
8502
|
var post_ab_test_end_default = withStandardDecorators(tool15);
|
|
7999
8503
|
var inputSchema17 = z.object({
|
|
8000
|
-
unique: z.uuid().describe("The
|
|
8504
|
+
unique: z.uuid().describe("The Scheduled A/B test's `unique` guid (from post-ab-test's response, or get-ab-test-all).")
|
|
8001
8505
|
});
|
|
8002
8506
|
var outputSchema17 = postAbTestUnscheduleResponse;
|
|
8003
8507
|
var tool16 = {
|
|
8004
8508
|
name: "post-ab-test-unschedule",
|
|
8005
|
-
description: "Cancel
|
|
8509
|
+
description: "Cancel a Scheduled A/B test's planned start: clears its startTime and returns it to Draft, so it can be edited, rescheduled (post-ab-test-start) or deleted again. Only works on a test whose status is Scheduled (a future startTime set by post-ab-test-start) - a Draft, Running, Stopped or Completed test is rejected; use post-ab-test-end to stop a test that is already Running. Returns the updated test under `test`. Rejections (unknown test, wrong status) come back as HTTP 200 with `test: null` and `validationResults.isValid: false` rather than an error result - check `validationResults`.",
|
|
8006
8510
|
inputSchema: inputSchema17.shape,
|
|
8007
8511
|
outputSchema: outputSchema17,
|
|
8008
8512
|
slices: ["update"],
|
|
8009
8513
|
annotations: { destructiveHint: false, idempotentHint: true },
|
|
8010
8514
|
handler: async (params) => {
|
|
8011
8515
|
return executeGetApiCall(
|
|
8012
|
-
(client) => client.postAbTestUnschedule(
|
|
8516
|
+
(client) => client.postAbTestUnschedule(params, CAPTURE_RAW_HTTP_RESPONSE)
|
|
8013
8517
|
);
|
|
8014
8518
|
}
|
|
8015
8519
|
};
|
|
@@ -8305,8 +8809,8 @@ var inputSchema32 = postAnalyticsQueryBody.omit({ paging: true, comparison: true
|
|
|
8305
8809
|
realtime: postAnalyticsQueryBody.shape.realtime.default(false),
|
|
8306
8810
|
sort: postAnalyticsQueryBody.shape.sort.optional().describe("Defaults to the first dimension, or the first metric if there are no dimensions."),
|
|
8307
8811
|
ascending: postAnalyticsQueryBody.shape.ascending.default(true),
|
|
8308
|
-
page:
|
|
8309
|
-
pageSize:
|
|
8812
|
+
page: z.int().min(1).default(1).describe("1-based page of rows to return."),
|
|
8813
|
+
pageSize: z.int().min(1).max(500).default(25).describe("Rows per page."),
|
|
8310
8814
|
includeSubpages: postAnalyticsQueryBody.shape.includeSubpages.default(false),
|
|
8311
8815
|
filter: postAnalyticsQueryBody.shape.filter.describe(
|
|
8312
8816
|
"Free-text filter expression - syntax is not documented by the underlying API; omit unless the exact syntax is already known."
|
|
@@ -8321,9 +8825,11 @@ var tool31 = {
|
|
|
8321
8825
|
slices: ["search"],
|
|
8322
8826
|
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true },
|
|
8323
8827
|
handler: async (params) => {
|
|
8828
|
+
const { page, pageSize, ...query } = params;
|
|
8324
8829
|
const body = {
|
|
8325
|
-
...
|
|
8326
|
-
sort: params.sort ?? params.dimensions[0] ?? params.metrics[0]
|
|
8830
|
+
...query,
|
|
8831
|
+
sort: params.sort ?? params.dimensions[0] ?? params.metrics[0],
|
|
8832
|
+
paging: { page, pageSize, includeTotals: false }
|
|
8327
8833
|
};
|
|
8328
8834
|
return executeGetApiCall(
|
|
8329
8835
|
(client) => client.postAnalyticsQuery(body, CAPTURE_RAW_HTTP_RESPONSE)
|
|
@@ -8331,6 +8837,59 @@ var tool31 = {
|
|
|
8331
8837
|
}
|
|
8332
8838
|
};
|
|
8333
8839
|
var post_analytics_query_default = withStandardDecorators(tool31);
|
|
8840
|
+
var TABLE_DIMENSIONS = ["pageviewAppliedSegmentId", "pageviewAppliedSegmentName"];
|
|
8841
|
+
var CHART_DIMENSIONS = ["date", "pageviewAppliedSegmentName"];
|
|
8842
|
+
var EXCLUDE_DELETED_SEGMENTS = "pageviewAppliedSegmentName!~'(deleted segment:'";
|
|
8843
|
+
var inputSchema33 = z.object({
|
|
8844
|
+
view: z.enum(["table", "chart"]).default("table").describe(
|
|
8845
|
+
"table: one row per segment that was rendered - [segment id, segment name, pageviews] - with deleted segments left out. chart: one row per day and segment - [date, segment name, pageviews] - for a time series."
|
|
8846
|
+
),
|
|
8847
|
+
startDate: postAnalyticsRenderedSegmentsBody.shape.startDate.describe(
|
|
8848
|
+
"ISO 8601 datetime, e.g. 2026-01-01T00:00:00Z"
|
|
8849
|
+
),
|
|
8850
|
+
endDate: postAnalyticsRenderedSegmentsBody.shape.endDate.describe(
|
|
8851
|
+
"ISO 8601 datetime, e.g. 2026-01-31T23:59:59Z"
|
|
8852
|
+
),
|
|
8853
|
+
pageUnique: z.uuid().optional().describe("Limit to pageviews of this content page (its document key). Omit for the whole site."),
|
|
8854
|
+
includeSubpages: z.boolean().default(false).describe("With pageUnique: also count pageviews of the page's descendants."),
|
|
8855
|
+
culture: z.string().regex(/^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,8})*$/, "Expected a culture code such as en-US.").optional().describe("With pageUnique: limit to one culture of the page, e.g. en-US."),
|
|
8856
|
+
page: z.int().min(1).default(1).describe("table view only: 1-based page of rows to return."),
|
|
8857
|
+
pageSize: z.int().min(1).max(500).default(25).describe("table view only: rows per page.")
|
|
8858
|
+
});
|
|
8859
|
+
var outputSchema31 = postAnalyticsRenderedSegmentsResponse;
|
|
8860
|
+
var tool32 = {
|
|
8861
|
+
name: "post-analytics-rendered-segments",
|
|
8862
|
+
description: "Report which personalization segments were actually rendered (applied) to visitors over a date range, and how many pageviews each got - Engage's 'Rendered segments' analytics panel, site-wide or for one page. Use view 'table' for a per-segment total, 'chart' for a per-day breakdown. Unlike post-analytics-query, metrics and dimensions are fixed by Engage for this report and can't be chosen. Returns a table (`columns` + `rows`); empty `rows` means nothing was rendered in the range. Despite the POST verb, this is a read-only report.",
|
|
8863
|
+
inputSchema: inputSchema33.shape,
|
|
8864
|
+
outputSchema: outputSchema31,
|
|
8865
|
+
slices: ["search"],
|
|
8866
|
+
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true },
|
|
8867
|
+
handler: async (params) => {
|
|
8868
|
+
const isTable = params.view === "table";
|
|
8869
|
+
const filters = isTable ? [EXCLUDE_DELETED_SEGMENTS] : [];
|
|
8870
|
+
if (params.pageUnique) {
|
|
8871
|
+
filters.push(`NodeId=='${params.pageUnique}${params.includeSubpages ? "+" : ""}'`);
|
|
8872
|
+
if (params.culture) filters.push(`NodeCulture=='${params.culture}'`);
|
|
8873
|
+
}
|
|
8874
|
+
const dimensions = isTable ? TABLE_DIMENSIONS : CHART_DIMENSIONS;
|
|
8875
|
+
const body = {
|
|
8876
|
+
startDate: params.startDate,
|
|
8877
|
+
endDate: params.endDate,
|
|
8878
|
+
metrics: ["pageviews"],
|
|
8879
|
+
dimensions,
|
|
8880
|
+
filter: filters.length ? filters.join(";") : null,
|
|
8881
|
+
realtime: true,
|
|
8882
|
+
sort: dimensions[0],
|
|
8883
|
+
ascending: true,
|
|
8884
|
+
includeSubpages: params.includeSubpages,
|
|
8885
|
+
paging: isTable ? { page: params.page, pageSize: params.pageSize, includeTotals: false } : null
|
|
8886
|
+
};
|
|
8887
|
+
return executeGetApiCall(
|
|
8888
|
+
(client) => client.postAnalyticsRenderedSegments(body, CAPTURE_RAW_HTTP_RESPONSE)
|
|
8889
|
+
);
|
|
8890
|
+
}
|
|
8891
|
+
};
|
|
8892
|
+
var post_analytics_rendered_segments_default = withStandardDecorators(tool32);
|
|
8334
8893
|
|
|
8335
8894
|
// src/umbraco-api/tools/analytics/index.ts
|
|
8336
8895
|
var collection6 = {
|
|
@@ -8339,14 +8898,14 @@ var collection6 = {
|
|
|
8339
8898
|
displayName: "Analytics",
|
|
8340
8899
|
description: "Umbraco Engage Analytics tools"
|
|
8341
8900
|
},
|
|
8342
|
-
tools: () => [get_analytics_distinct_default, post_analytics_query_default]
|
|
8901
|
+
tools: () => [get_analytics_distinct_default, post_analytics_query_default, post_analytics_rendered_segments_default]
|
|
8343
8902
|
};
|
|
8344
8903
|
var analytics_default = collection6;
|
|
8345
|
-
var
|
|
8346
|
-
var
|
|
8904
|
+
var inputSchema34 = z.object({ id: z.number() });
|
|
8905
|
+
var tool33 = {
|
|
8347
8906
|
name: "delete-annotations",
|
|
8348
8907
|
description: "Delete an annotation by its numeric `id`. Idempotent - deleting a non-existent id succeeds silently rather than erroring.",
|
|
8349
|
-
inputSchema:
|
|
8908
|
+
inputSchema: inputSchema34.shape,
|
|
8350
8909
|
slices: ["delete"],
|
|
8351
8910
|
annotations: { destructiveHint: true },
|
|
8352
8911
|
handler: async (params) => {
|
|
@@ -8355,8 +8914,8 @@ var tool32 = {
|
|
|
8355
8914
|
);
|
|
8356
8915
|
}
|
|
8357
8916
|
};
|
|
8358
|
-
var delete_annotations_default = withStandardDecorators(
|
|
8359
|
-
var
|
|
8917
|
+
var delete_annotations_default = withStandardDecorators(tool33);
|
|
8918
|
+
var inputSchema35 = z.object({
|
|
8360
8919
|
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."),
|
|
8361
8920
|
description: z.string(),
|
|
8362
8921
|
createdByUserName: z.string().describe("The acting user/system this annotation should be attributed to - not auto-populated or validated by the server."),
|
|
@@ -8364,12 +8923,12 @@ var inputSchema34 = z.object({
|
|
|
8364
8923
|
invalid: z.boolean().default(false),
|
|
8365
8924
|
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.")
|
|
8366
8925
|
});
|
|
8367
|
-
var
|
|
8368
|
-
var
|
|
8926
|
+
var outputSchema32 = postAnnotationsResponse;
|
|
8927
|
+
var tool34 = {
|
|
8369
8928
|
name: "post-annotations",
|
|
8370
8929
|
description: "Create a new analytics annotation (a timeline marker/event note, e.g. a deploy or campaign note, attached to analytics data).",
|
|
8371
|
-
inputSchema:
|
|
8372
|
-
outputSchema:
|
|
8930
|
+
inputSchema: inputSchema35.shape,
|
|
8931
|
+
outputSchema: outputSchema32,
|
|
8373
8932
|
slices: ["create"],
|
|
8374
8933
|
annotations: { destructiveHint: false, idempotentHint: false },
|
|
8375
8934
|
handler: async (params) => {
|
|
@@ -8388,14 +8947,14 @@ var tool33 = {
|
|
|
8388
8947
|
);
|
|
8389
8948
|
}
|
|
8390
8949
|
};
|
|
8391
|
-
var post_annotations_default = withStandardDecorators(
|
|
8392
|
-
var
|
|
8393
|
-
var
|
|
8394
|
-
var
|
|
8950
|
+
var post_annotations_default = withStandardDecorators(tool34);
|
|
8951
|
+
var inputSchema36 = z.object({ from: z.iso.datetime(), to: z.iso.datetime() });
|
|
8952
|
+
var outputSchema33 = z.object({ items: getAnnotationsAllResponse });
|
|
8953
|
+
var tool35 = {
|
|
8395
8954
|
name: "get-annotations-all",
|
|
8396
8955
|
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.",
|
|
8397
|
-
inputSchema:
|
|
8398
|
-
outputSchema:
|
|
8956
|
+
inputSchema: inputSchema36.shape,
|
|
8957
|
+
outputSchema: outputSchema33,
|
|
8399
8958
|
slices: ["list"],
|
|
8400
8959
|
annotations: { readOnlyHint: true },
|
|
8401
8960
|
handler: async (params) => {
|
|
@@ -8408,14 +8967,14 @@ var tool34 = {
|
|
|
8408
8967
|
return result;
|
|
8409
8968
|
}
|
|
8410
8969
|
};
|
|
8411
|
-
var get_annotations_all_default = withStandardDecorators(
|
|
8412
|
-
var
|
|
8413
|
-
var
|
|
8414
|
-
var
|
|
8970
|
+
var get_annotations_all_default = withStandardDecorators(tool35);
|
|
8971
|
+
var inputSchema37 = z.object({});
|
|
8972
|
+
var outputSchema34 = getAnnotationsEmptyResponse;
|
|
8973
|
+
var tool36 = {
|
|
8415
8974
|
name: "get-annotations-empty",
|
|
8416
8975
|
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.",
|
|
8417
|
-
inputSchema:
|
|
8418
|
-
outputSchema:
|
|
8976
|
+
inputSchema: inputSchema37.shape,
|
|
8977
|
+
outputSchema: outputSchema34,
|
|
8419
8978
|
slices: ["other"],
|
|
8420
8979
|
annotations: { readOnlyHint: true },
|
|
8421
8980
|
handler: async () => {
|
|
@@ -8424,14 +8983,14 @@ var tool35 = {
|
|
|
8424
8983
|
);
|
|
8425
8984
|
}
|
|
8426
8985
|
};
|
|
8427
|
-
var get_annotations_empty_default = withStandardDecorators(
|
|
8428
|
-
var
|
|
8429
|
-
var
|
|
8430
|
-
var
|
|
8986
|
+
var get_annotations_empty_default = withStandardDecorators(tool36);
|
|
8987
|
+
var inputSchema38 = z.object({ from: z.iso.datetime(), to: z.iso.datetime() });
|
|
8988
|
+
var outputSchema35 = z.object({ items: getAnnotationsGlobalResponse });
|
|
8989
|
+
var tool37 = {
|
|
8431
8990
|
name: "get-annotations-global",
|
|
8432
8991
|
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.",
|
|
8433
|
-
inputSchema:
|
|
8434
|
-
outputSchema:
|
|
8992
|
+
inputSchema: inputSchema38.shape,
|
|
8993
|
+
outputSchema: outputSchema35,
|
|
8435
8994
|
slices: ["list"],
|
|
8436
8995
|
annotations: { readOnlyHint: true },
|
|
8437
8996
|
handler: async (params) => {
|
|
@@ -8444,17 +9003,17 @@ var tool36 = {
|
|
|
8444
9003
|
return result;
|
|
8445
9004
|
}
|
|
8446
9005
|
};
|
|
8447
|
-
var get_annotations_global_default = withStandardDecorators(
|
|
8448
|
-
var
|
|
9006
|
+
var get_annotations_global_default = withStandardDecorators(tool37);
|
|
9007
|
+
var inputSchema39 = getAnnotationsPageQueryParams.extend({
|
|
8449
9008
|
unique: z.uuid(),
|
|
8450
9009
|
culture: getAnnotationsPageQueryParams.shape.culture.default("")
|
|
8451
9010
|
});
|
|
8452
|
-
var
|
|
8453
|
-
var
|
|
9011
|
+
var outputSchema36 = z.object({ items: getAnnotationsPageResponse });
|
|
9012
|
+
var tool38 = {
|
|
8454
9013
|
name: "get-annotations-page",
|
|
8455
9014
|
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.",
|
|
8456
|
-
inputSchema:
|
|
8457
|
-
outputSchema:
|
|
9015
|
+
inputSchema: inputSchema39.shape,
|
|
9016
|
+
outputSchema: outputSchema36,
|
|
8458
9017
|
slices: ["list"],
|
|
8459
9018
|
annotations: { readOnlyHint: true },
|
|
8460
9019
|
handler: async (params) => {
|
|
@@ -8467,7 +9026,7 @@ var tool37 = {
|
|
|
8467
9026
|
return result;
|
|
8468
9027
|
}
|
|
8469
9028
|
};
|
|
8470
|
-
var get_annotations_page_default = withStandardDecorators(
|
|
9029
|
+
var get_annotations_page_default = withStandardDecorators(tool38);
|
|
8471
9030
|
|
|
8472
9031
|
// src/umbraco-api/tools/annotations/index.ts
|
|
8473
9032
|
var collection7 = {
|
|
@@ -8479,11 +9038,11 @@ var collection7 = {
|
|
|
8479
9038
|
tools: () => [delete_annotations_default, post_annotations_default, get_annotations_all_default, get_annotations_empty_default, get_annotations_global_default, get_annotations_page_default]
|
|
8480
9039
|
};
|
|
8481
9040
|
var annotations_default = collection7;
|
|
8482
|
-
var
|
|
8483
|
-
var
|
|
9041
|
+
var inputSchema40 = z.object({ id: z.uuid() });
|
|
9042
|
+
var tool39 = {
|
|
8484
9043
|
name: "delete-applied-personalization",
|
|
8485
9044
|
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.",
|
|
8486
|
-
inputSchema:
|
|
9045
|
+
inputSchema: inputSchema40.shape,
|
|
8487
9046
|
slices: ["delete"],
|
|
8488
9047
|
annotations: { destructiveHint: true },
|
|
8489
9048
|
handler: async (params) => {
|
|
@@ -8492,8 +9051,8 @@ var tool38 = {
|
|
|
8492
9051
|
);
|
|
8493
9052
|
}
|
|
8494
9053
|
};
|
|
8495
|
-
var delete_applied_personalization_default = withStandardDecorators(
|
|
8496
|
-
var
|
|
9054
|
+
var delete_applied_personalization_default = withStandardDecorators(tool39);
|
|
9055
|
+
var inputSchema41 = z.object({
|
|
8497
9056
|
name: z.string().nullish(),
|
|
8498
9057
|
description: z.string().nullish(),
|
|
8499
9058
|
type: postAppliedPersonalizationBody.shape.type,
|
|
@@ -8505,12 +9064,12 @@ var inputSchema40 = z.object({
|
|
|
8505
9064
|
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'."),
|
|
8506
9065
|
contentTypes: z.array(z.object({ contentTypeId: z.number(), culture: z.string().nullish() })).default([]).describe("Content types this personalization targets - relevant when `type` is 'ContentType'.")
|
|
8507
9066
|
});
|
|
8508
|
-
var
|
|
8509
|
-
var
|
|
9067
|
+
var outputSchema37 = postAppliedPersonalizationResponse;
|
|
9068
|
+
var tool40 = {
|
|
8510
9069
|
name: "post-applied-personalization",
|
|
8511
9070
|
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`).",
|
|
8512
|
-
inputSchema:
|
|
8513
|
-
outputSchema:
|
|
9071
|
+
inputSchema: inputSchema41.shape,
|
|
9072
|
+
outputSchema: outputSchema37,
|
|
8514
9073
|
slices: ["create"],
|
|
8515
9074
|
annotations: { destructiveHint: false, idempotentHint: false },
|
|
8516
9075
|
handler: async (params) => {
|
|
@@ -8549,14 +9108,14 @@ var tool39 = {
|
|
|
8549
9108
|
);
|
|
8550
9109
|
}
|
|
8551
9110
|
};
|
|
8552
|
-
var post_applied_personalization_default = withStandardDecorators(
|
|
8553
|
-
var
|
|
8554
|
-
var
|
|
8555
|
-
var
|
|
9111
|
+
var post_applied_personalization_default = withStandardDecorators(tool40);
|
|
9112
|
+
var inputSchema42 = z.object({});
|
|
9113
|
+
var outputSchema38 = z.object({ items: getAppliedPersonalizationAllResponse });
|
|
9114
|
+
var tool41 = {
|
|
8556
9115
|
name: "get-applied-personalization-all",
|
|
8557
9116
|
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`.",
|
|
8558
|
-
inputSchema:
|
|
8559
|
-
outputSchema:
|
|
9117
|
+
inputSchema: inputSchema42.shape,
|
|
9118
|
+
outputSchema: outputSchema38,
|
|
8560
9119
|
slices: ["list"],
|
|
8561
9120
|
annotations: { readOnlyHint: true },
|
|
8562
9121
|
handler: async () => {
|
|
@@ -8569,14 +9128,14 @@ var tool40 = {
|
|
|
8569
9128
|
return result;
|
|
8570
9129
|
}
|
|
8571
9130
|
};
|
|
8572
|
-
var get_applied_personalization_all_default = withStandardDecorators(
|
|
8573
|
-
var
|
|
8574
|
-
var
|
|
8575
|
-
var
|
|
9131
|
+
var get_applied_personalization_all_default = withStandardDecorators(tool41);
|
|
9132
|
+
var inputSchema43 = z.object({ id: z.uuid() });
|
|
9133
|
+
var outputSchema39 = getAppliedPersonalizationIdResponse;
|
|
9134
|
+
var tool42 = {
|
|
8576
9135
|
name: "get-applied-personalization-id",
|
|
8577
9136
|
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).",
|
|
8578
|
-
inputSchema:
|
|
8579
|
-
outputSchema:
|
|
9137
|
+
inputSchema: inputSchema43.shape,
|
|
9138
|
+
outputSchema: outputSchema39,
|
|
8580
9139
|
slices: ["read"],
|
|
8581
9140
|
annotations: { readOnlyHint: true },
|
|
8582
9141
|
handler: async (params) => {
|
|
@@ -8585,18 +9144,18 @@ var tool41 = {
|
|
|
8585
9144
|
);
|
|
8586
9145
|
}
|
|
8587
9146
|
};
|
|
8588
|
-
var get_applied_personalization_id_default = withStandardDecorators(
|
|
8589
|
-
var
|
|
9147
|
+
var get_applied_personalization_id_default = withStandardDecorators(tool42);
|
|
9148
|
+
var inputSchema44 = z.object({
|
|
8590
9149
|
unique: z.uuid(),
|
|
8591
9150
|
segment: z.string(),
|
|
8592
9151
|
culture: z.string().optional()
|
|
8593
9152
|
});
|
|
8594
|
-
var
|
|
8595
|
-
var
|
|
9153
|
+
var outputSchema40 = postAppliedPersonalizationSegmentResponse;
|
|
9154
|
+
var tool43 = {
|
|
8596
9155
|
name: "post-applied-personalization-segment",
|
|
8597
9156
|
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.",
|
|
8598
|
-
inputSchema:
|
|
8599
|
-
outputSchema:
|
|
9157
|
+
inputSchema: inputSchema44.shape,
|
|
9158
|
+
outputSchema: outputSchema40,
|
|
8600
9159
|
slices: ["create"],
|
|
8601
9160
|
annotations: { destructiveHint: false, idempotentHint: false },
|
|
8602
9161
|
handler: async (params) => {
|
|
@@ -8605,14 +9164,14 @@ var tool42 = {
|
|
|
8605
9164
|
);
|
|
8606
9165
|
}
|
|
8607
9166
|
};
|
|
8608
|
-
var post_applied_personalization_segment_default = withStandardDecorators(
|
|
8609
|
-
var
|
|
8610
|
-
var
|
|
8611
|
-
var
|
|
9167
|
+
var post_applied_personalization_segment_default = withStandardDecorators(tool43);
|
|
9168
|
+
var inputSchema45 = z.object({ segment: z.string() });
|
|
9169
|
+
var outputSchema41 = getAppliedPersonalizationSegmentResponse;
|
|
9170
|
+
var tool44 = {
|
|
8612
9171
|
name: "get-applied-personalization-segment",
|
|
8613
9172
|
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.",
|
|
8614
|
-
inputSchema:
|
|
8615
|
-
outputSchema:
|
|
9173
|
+
inputSchema: inputSchema45.shape,
|
|
9174
|
+
outputSchema: outputSchema41,
|
|
8616
9175
|
slices: ["read"],
|
|
8617
9176
|
annotations: { readOnlyHint: true },
|
|
8618
9177
|
handler: async (params) => {
|
|
@@ -8621,7 +9180,7 @@ var tool43 = {
|
|
|
8621
9180
|
);
|
|
8622
9181
|
}
|
|
8623
9182
|
};
|
|
8624
|
-
var get_applied_personalization_segment_default = withStandardDecorators(
|
|
9183
|
+
var get_applied_personalization_segment_default = withStandardDecorators(tool44);
|
|
8625
9184
|
|
|
8626
9185
|
// src/umbraco-api/tools/applied-personalization/index.ts
|
|
8627
9186
|
var collection8 = {
|
|
@@ -8633,11 +9192,11 @@ var collection8 = {
|
|
|
8633
9192
|
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]
|
|
8634
9193
|
};
|
|
8635
9194
|
var applied_personalization_default = collection8;
|
|
8636
|
-
var
|
|
8637
|
-
var
|
|
9195
|
+
var inputSchema46 = z.object({ id: z.uuid() });
|
|
9196
|
+
var tool45 = {
|
|
8638
9197
|
name: "delete-campaign-group",
|
|
8639
9198
|
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.",
|
|
8640
|
-
inputSchema:
|
|
9199
|
+
inputSchema: inputSchema46.shape,
|
|
8641
9200
|
slices: ["delete"],
|
|
8642
9201
|
annotations: { destructiveHint: true },
|
|
8643
9202
|
handler: async (params) => {
|
|
@@ -8646,14 +9205,14 @@ var tool44 = {
|
|
|
8646
9205
|
);
|
|
8647
9206
|
}
|
|
8648
9207
|
};
|
|
8649
|
-
var delete_campaign_group_default = withStandardDecorators(
|
|
8650
|
-
var
|
|
8651
|
-
var
|
|
8652
|
-
var
|
|
9208
|
+
var delete_campaign_group_default = withStandardDecorators(tool45);
|
|
9209
|
+
var inputSchema47 = z.object({ id: z.uuid() });
|
|
9210
|
+
var outputSchema42 = getCampaignGroupResponse;
|
|
9211
|
+
var tool46 = {
|
|
8653
9212
|
name: "get-campaign-group",
|
|
8654
9213
|
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.",
|
|
8655
|
-
inputSchema:
|
|
8656
|
-
outputSchema:
|
|
9214
|
+
inputSchema: inputSchema47.shape,
|
|
9215
|
+
outputSchema: outputSchema42,
|
|
8657
9216
|
slices: ["read"],
|
|
8658
9217
|
annotations: { readOnlyHint: true },
|
|
8659
9218
|
handler: async (params) => {
|
|
@@ -8662,8 +9221,8 @@ var tool45 = {
|
|
|
8662
9221
|
);
|
|
8663
9222
|
}
|
|
8664
9223
|
};
|
|
8665
|
-
var get_campaign_group_default = withStandardDecorators(
|
|
8666
|
-
var
|
|
9224
|
+
var get_campaign_group_default = withStandardDecorators(tool46);
|
|
9225
|
+
var inputSchema48 = z.object({
|
|
8667
9226
|
id: postCampaignGroupBody.shape.id.optional().describe("Omit to create a new group. Supply the existing numeric id to update it."),
|
|
8668
9227
|
unique: postCampaignGroupBody.shape.unique.optional().describe("Omit to create a new group (server-generated). Supply the existing guid to update it."),
|
|
8669
9228
|
name: z.string().nullish(),
|
|
@@ -8673,12 +9232,12 @@ var inputSchema47 = z.object({
|
|
|
8673
9232
|
customerJourneyScoring: postCampaignGroupBody.shape.customerJourneyScoring.default([]),
|
|
8674
9233
|
personaScoring: postCampaignGroupBody.shape.personaScoring.default([])
|
|
8675
9234
|
});
|
|
8676
|
-
var
|
|
8677
|
-
var
|
|
9235
|
+
var outputSchema43 = postCampaignGroupResponse;
|
|
9236
|
+
var tool47 = {
|
|
8678
9237
|
name: "post-campaign-group",
|
|
8679
9238
|
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.",
|
|
8680
|
-
inputSchema:
|
|
8681
|
-
outputSchema:
|
|
9239
|
+
inputSchema: inputSchema48.shape,
|
|
9240
|
+
outputSchema: outputSchema43,
|
|
8682
9241
|
slices: ["create", "update"],
|
|
8683
9242
|
annotations: { destructiveHint: false, idempotentHint: false },
|
|
8684
9243
|
handler: async (params) => {
|
|
@@ -8698,14 +9257,14 @@ var tool46 = {
|
|
|
8698
9257
|
);
|
|
8699
9258
|
}
|
|
8700
9259
|
};
|
|
8701
|
-
var post_campaign_group_default = withStandardDecorators(
|
|
8702
|
-
var
|
|
8703
|
-
var
|
|
8704
|
-
var
|
|
9260
|
+
var post_campaign_group_default = withStandardDecorators(tool47);
|
|
9261
|
+
var inputSchema49 = z.object({});
|
|
9262
|
+
var outputSchema44 = z.object({ items: getCampaignGroupAllResponse });
|
|
9263
|
+
var tool48 = {
|
|
8705
9264
|
name: "get-campaign-group-all",
|
|
8706
9265
|
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.",
|
|
8707
|
-
inputSchema:
|
|
8708
|
-
outputSchema:
|
|
9266
|
+
inputSchema: inputSchema49.shape,
|
|
9267
|
+
outputSchema: outputSchema44,
|
|
8709
9268
|
slices: ["list"],
|
|
8710
9269
|
annotations: { readOnlyHint: true },
|
|
8711
9270
|
handler: async () => {
|
|
@@ -8718,14 +9277,14 @@ var tool47 = {
|
|
|
8718
9277
|
return result;
|
|
8719
9278
|
}
|
|
8720
9279
|
};
|
|
8721
|
-
var get_campaign_group_all_default = withStandardDecorators(
|
|
8722
|
-
var
|
|
8723
|
-
var
|
|
8724
|
-
var
|
|
9280
|
+
var get_campaign_group_all_default = withStandardDecorators(tool48);
|
|
9281
|
+
var inputSchema50 = z.object({});
|
|
9282
|
+
var outputSchema45 = z.object({ items: getCampaignGroupUnscoredResponse });
|
|
9283
|
+
var tool49 = {
|
|
8725
9284
|
name: "get-campaign-group-unscored",
|
|
8726
9285
|
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.",
|
|
8727
|
-
inputSchema:
|
|
8728
|
-
outputSchema:
|
|
9286
|
+
inputSchema: inputSchema50.shape,
|
|
9287
|
+
outputSchema: outputSchema45,
|
|
8729
9288
|
slices: ["list"],
|
|
8730
9289
|
annotations: { readOnlyHint: true },
|
|
8731
9290
|
handler: async () => {
|
|
@@ -8738,14 +9297,14 @@ var tool48 = {
|
|
|
8738
9297
|
return result;
|
|
8739
9298
|
}
|
|
8740
9299
|
};
|
|
8741
|
-
var get_campaign_group_unscored_default = withStandardDecorators(
|
|
8742
|
-
var
|
|
8743
|
-
var
|
|
8744
|
-
var
|
|
9300
|
+
var get_campaign_group_unscored_default = withStandardDecorators(tool49);
|
|
9301
|
+
var inputSchema51 = getCampaignGroupVisitorsQueryParams;
|
|
9302
|
+
var outputSchema46 = getCampaignGroupVisitorsResponse;
|
|
9303
|
+
var tool50 = {
|
|
8745
9304
|
name: "get-campaign-group-visitors",
|
|
8746
9305
|
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.",
|
|
8747
|
-
inputSchema:
|
|
8748
|
-
outputSchema:
|
|
9306
|
+
inputSchema: inputSchema51.shape,
|
|
9307
|
+
outputSchema: outputSchema46,
|
|
8749
9308
|
slices: ["read"],
|
|
8750
9309
|
annotations: { readOnlyHint: true },
|
|
8751
9310
|
handler: async (params) => {
|
|
@@ -8754,7 +9313,7 @@ var tool49 = {
|
|
|
8754
9313
|
);
|
|
8755
9314
|
}
|
|
8756
9315
|
};
|
|
8757
|
-
var get_campaign_group_visitors_default = withStandardDecorators(
|
|
9316
|
+
var get_campaign_group_visitors_default = withStandardDecorators(tool50);
|
|
8758
9317
|
|
|
8759
9318
|
// src/umbraco-api/tools/campaign-group/index.ts
|
|
8760
9319
|
var collection9 = {
|
|
@@ -8766,17 +9325,17 @@ var collection9 = {
|
|
|
8766
9325
|
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]
|
|
8767
9326
|
};
|
|
8768
9327
|
var campaign_group_default = collection9;
|
|
8769
|
-
var
|
|
9328
|
+
var inputSchema52 = getCampaignsQueryParams.extend({
|
|
8770
9329
|
visitorId: getCampaignsQueryParams.shape.visitorId.describe(
|
|
8771
9330
|
"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."
|
|
8772
9331
|
)
|
|
8773
9332
|
});
|
|
8774
|
-
var
|
|
8775
|
-
var
|
|
9333
|
+
var outputSchema47 = z.object({ items: getCampaignsResponse });
|
|
9334
|
+
var tool51 = {
|
|
8776
9335
|
name: "get-campaigns",
|
|
8777
9336
|
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.",
|
|
8778
|
-
inputSchema:
|
|
8779
|
-
outputSchema:
|
|
9337
|
+
inputSchema: inputSchema52.shape,
|
|
9338
|
+
outputSchema: outputSchema47,
|
|
8780
9339
|
slices: ["list"],
|
|
8781
9340
|
annotations: { readOnlyHint: true },
|
|
8782
9341
|
handler: async (params) => {
|
|
@@ -8789,7 +9348,7 @@ var tool50 = {
|
|
|
8789
9348
|
return result;
|
|
8790
9349
|
}
|
|
8791
9350
|
};
|
|
8792
|
-
var get_campaigns_default = withStandardDecorators(
|
|
9351
|
+
var get_campaigns_default = withStandardDecorators(tool51);
|
|
8793
9352
|
|
|
8794
9353
|
// src/umbraco-api/tools/campaigns/index.ts
|
|
8795
9354
|
var collection10 = {
|
|
@@ -8801,13 +9360,13 @@ var collection10 = {
|
|
|
8801
9360
|
tools: () => [get_campaigns_default]
|
|
8802
9361
|
};
|
|
8803
9362
|
var campaigns_default = collection10;
|
|
8804
|
-
var
|
|
8805
|
-
var
|
|
8806
|
-
var
|
|
9363
|
+
var inputSchema53 = z.object({});
|
|
9364
|
+
var outputSchema48 = getConfigurationResponse;
|
|
9365
|
+
var tool52 = {
|
|
8807
9366
|
name: "get-configuration",
|
|
8808
9367
|
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.",
|
|
8809
|
-
inputSchema:
|
|
8810
|
-
outputSchema:
|
|
9368
|
+
inputSchema: inputSchema53.shape,
|
|
9369
|
+
outputSchema: outputSchema48,
|
|
8811
9370
|
slices: ["read"],
|
|
8812
9371
|
annotations: { readOnlyHint: true },
|
|
8813
9372
|
handler: async () => {
|
|
@@ -8816,7 +9375,7 @@ var tool51 = {
|
|
|
8816
9375
|
);
|
|
8817
9376
|
}
|
|
8818
9377
|
};
|
|
8819
|
-
var get_configuration_default = withStandardDecorators(
|
|
9378
|
+
var get_configuration_default = withStandardDecorators(tool52);
|
|
8820
9379
|
|
|
8821
9380
|
// src/umbraco-api/tools/configuration/index.ts
|
|
8822
9381
|
var collection11 = {
|
|
@@ -8828,13 +9387,13 @@ var collection11 = {
|
|
|
8828
9387
|
tools: () => [get_configuration_default]
|
|
8829
9388
|
};
|
|
8830
9389
|
var configuration_default = collection11;
|
|
8831
|
-
var
|
|
8832
|
-
var
|
|
8833
|
-
var
|
|
9390
|
+
var inputSchema54 = z.object({ unique: z.uuid() });
|
|
9391
|
+
var outputSchema49 = getContentScoringAllResponse;
|
|
9392
|
+
var tool53 = {
|
|
8834
9393
|
name: "get-content-scoring-all",
|
|
8835
9394
|
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.",
|
|
8836
|
-
inputSchema:
|
|
8837
|
-
outputSchema:
|
|
9395
|
+
inputSchema: inputSchema54.shape,
|
|
9396
|
+
outputSchema: outputSchema49,
|
|
8838
9397
|
slices: ["list"],
|
|
8839
9398
|
annotations: { readOnlyHint: true },
|
|
8840
9399
|
handler: async (params) => {
|
|
@@ -8843,14 +9402,14 @@ var tool52 = {
|
|
|
8843
9402
|
);
|
|
8844
9403
|
}
|
|
8845
9404
|
};
|
|
8846
|
-
var get_content_scoring_all_default = withStandardDecorators(
|
|
8847
|
-
var
|
|
8848
|
-
var
|
|
8849
|
-
var
|
|
9405
|
+
var get_content_scoring_all_default = withStandardDecorators(tool53);
|
|
9406
|
+
var inputSchema55 = z.object({});
|
|
9407
|
+
var outputSchema50 = z.object({ csv: z.string() });
|
|
9408
|
+
var tool54 = {
|
|
8850
9409
|
name: "get-content-scoring-export-customer-journey",
|
|
8851
9410
|
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.",
|
|
8852
|
-
inputSchema:
|
|
8853
|
-
outputSchema:
|
|
9411
|
+
inputSchema: inputSchema55.shape,
|
|
9412
|
+
outputSchema: outputSchema50,
|
|
8854
9413
|
slices: ["read"],
|
|
8855
9414
|
annotations: { readOnlyHint: true },
|
|
8856
9415
|
handler: async () => {
|
|
@@ -8863,14 +9422,14 @@ var tool53 = {
|
|
|
8863
9422
|
return result;
|
|
8864
9423
|
}
|
|
8865
9424
|
};
|
|
8866
|
-
var get_content_scoring_export_customer_journey_default = withStandardDecorators(
|
|
8867
|
-
var
|
|
8868
|
-
var
|
|
8869
|
-
var
|
|
9425
|
+
var get_content_scoring_export_customer_journey_default = withStandardDecorators(tool54);
|
|
9426
|
+
var inputSchema56 = z.object({});
|
|
9427
|
+
var outputSchema51 = z.object({ csv: z.string() });
|
|
9428
|
+
var tool55 = {
|
|
8870
9429
|
name: "get-content-scoring-export-persona",
|
|
8871
9430
|
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.",
|
|
8872
|
-
inputSchema:
|
|
8873
|
-
outputSchema:
|
|
9431
|
+
inputSchema: inputSchema56.shape,
|
|
9432
|
+
outputSchema: outputSchema51,
|
|
8874
9433
|
slices: ["read"],
|
|
8875
9434
|
annotations: { readOnlyHint: true },
|
|
8876
9435
|
handler: async () => {
|
|
@@ -8883,12 +9442,12 @@ var tool54 = {
|
|
|
8883
9442
|
return result;
|
|
8884
9443
|
}
|
|
8885
9444
|
};
|
|
8886
|
-
var get_content_scoring_export_persona_default = withStandardDecorators(
|
|
8887
|
-
var
|
|
8888
|
-
var
|
|
9445
|
+
var get_content_scoring_export_persona_default = withStandardDecorators(tool55);
|
|
9446
|
+
var inputSchema57 = z.object({ id: z.number() });
|
|
9447
|
+
var tool56 = {
|
|
8889
9448
|
name: "delete-content-scoring-journey",
|
|
8890
9449
|
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.",
|
|
8891
|
-
inputSchema:
|
|
9450
|
+
inputSchema: inputSchema57.shape,
|
|
8892
9451
|
slices: ["delete"],
|
|
8893
9452
|
annotations: { destructiveHint: true },
|
|
8894
9453
|
handler: async (params) => {
|
|
@@ -8897,12 +9456,12 @@ var tool55 = {
|
|
|
8897
9456
|
);
|
|
8898
9457
|
}
|
|
8899
9458
|
};
|
|
8900
|
-
var delete_content_scoring_journey_default = withStandardDecorators(
|
|
8901
|
-
var
|
|
8902
|
-
var
|
|
9459
|
+
var delete_content_scoring_journey_default = withStandardDecorators(tool56);
|
|
9460
|
+
var inputSchema58 = z.object({ id: z.number() });
|
|
9461
|
+
var tool57 = {
|
|
8903
9462
|
name: "delete-content-scoring-persona",
|
|
8904
9463
|
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.",
|
|
8905
|
-
inputSchema:
|
|
9464
|
+
inputSchema: inputSchema58.shape,
|
|
8906
9465
|
slices: ["delete"],
|
|
8907
9466
|
annotations: { destructiveHint: true },
|
|
8908
9467
|
handler: async (params) => {
|
|
@@ -8911,8 +9470,8 @@ var tool56 = {
|
|
|
8911
9470
|
);
|
|
8912
9471
|
}
|
|
8913
9472
|
};
|
|
8914
|
-
var delete_content_scoring_persona_default = withStandardDecorators(
|
|
8915
|
-
var
|
|
9473
|
+
var delete_content_scoring_persona_default = withStandardDecorators(tool57);
|
|
9474
|
+
var inputSchema59 = z.object({
|
|
8916
9475
|
items: postContentScoringSaveBody.element.extend({
|
|
8917
9476
|
id: postContentScoringSaveBody.element.shape.id.describe(
|
|
8918
9477
|
"0 to create a new row; an existing row's `id` (from get-content-scoring-all) to update it."
|
|
@@ -8925,10 +9484,10 @@ var inputSchema58 = z.object({
|
|
|
8925
9484
|
)
|
|
8926
9485
|
}).array()
|
|
8927
9486
|
});
|
|
8928
|
-
var
|
|
9487
|
+
var tool58 = {
|
|
8929
9488
|
name: "post-content-scoring-save",
|
|
8930
9489
|
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.",
|
|
8931
|
-
inputSchema:
|
|
9490
|
+
inputSchema: inputSchema59.shape,
|
|
8932
9491
|
slices: ["create"],
|
|
8933
9492
|
annotations: { destructiveHint: false, idempotentHint: false },
|
|
8934
9493
|
handler: async (params) => {
|
|
@@ -8937,7 +9496,7 @@ var tool57 = {
|
|
|
8937
9496
|
);
|
|
8938
9497
|
}
|
|
8939
9498
|
};
|
|
8940
|
-
var post_content_scoring_save_default = withStandardDecorators(
|
|
9499
|
+
var post_content_scoring_save_default = withStandardDecorators(tool58);
|
|
8941
9500
|
|
|
8942
9501
|
// src/umbraco-api/tools/content-scoring/index.ts
|
|
8943
9502
|
var collection12 = {
|
|
@@ -8949,13 +9508,13 @@ var collection12 = {
|
|
|
8949
9508
|
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]
|
|
8950
9509
|
};
|
|
8951
9510
|
var content_scoring_default = collection12;
|
|
8952
|
-
var
|
|
8953
|
-
var
|
|
8954
|
-
var
|
|
9511
|
+
var inputSchema60 = z.object({});
|
|
9512
|
+
var outputSchema52 = z.object({ items: getContentTypesAllResponse });
|
|
9513
|
+
var tool59 = {
|
|
8955
9514
|
name: "get-content-types-all",
|
|
8956
9515
|
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`.",
|
|
8957
|
-
inputSchema:
|
|
8958
|
-
outputSchema:
|
|
9516
|
+
inputSchema: inputSchema60.shape,
|
|
9517
|
+
outputSchema: outputSchema52,
|
|
8959
9518
|
slices: ["list"],
|
|
8960
9519
|
annotations: { readOnlyHint: true },
|
|
8961
9520
|
handler: async () => {
|
|
@@ -8968,14 +9527,14 @@ var tool58 = {
|
|
|
8968
9527
|
return result;
|
|
8969
9528
|
}
|
|
8970
9529
|
};
|
|
8971
|
-
var get_content_types_all_default = withStandardDecorators(
|
|
8972
|
-
var
|
|
8973
|
-
var
|
|
8974
|
-
var
|
|
9530
|
+
var get_content_types_all_default = withStandardDecorators(tool59);
|
|
9531
|
+
var inputSchema61 = getContentTypesSegmentedPropertyQueryParams;
|
|
9532
|
+
var outputSchema53 = getContentTypesSegmentedPropertyResponse;
|
|
9533
|
+
var tool60 = {
|
|
8975
9534
|
name: "get-content-types-segmented-property",
|
|
8976
9535
|
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.",
|
|
8977
|
-
inputSchema:
|
|
8978
|
-
outputSchema:
|
|
9536
|
+
inputSchema: inputSchema61.shape,
|
|
9537
|
+
outputSchema: outputSchema53,
|
|
8979
9538
|
slices: ["read"],
|
|
8980
9539
|
annotations: { readOnlyHint: true },
|
|
8981
9540
|
handler: async (params) => {
|
|
@@ -8984,7 +9543,7 @@ var tool59 = {
|
|
|
8984
9543
|
);
|
|
8985
9544
|
}
|
|
8986
9545
|
};
|
|
8987
|
-
var get_content_types_segmented_property_default = withStandardDecorators(
|
|
9546
|
+
var get_content_types_segmented_property_default = withStandardDecorators(tool60);
|
|
8988
9547
|
|
|
8989
9548
|
// src/umbraco-api/tools/content-types/index.ts
|
|
8990
9549
|
var collection13 = {
|
|
@@ -8996,17 +9555,17 @@ var collection13 = {
|
|
|
8996
9555
|
tools: () => [get_content_types_all_default, get_content_types_segmented_property_default]
|
|
8997
9556
|
};
|
|
8998
9557
|
var content_types_default = collection13;
|
|
8999
|
-
var
|
|
9558
|
+
var inputSchema62 = getCulturesQueryParams.extend({
|
|
9000
9559
|
id: getCulturesQueryParams.shape.id.describe(
|
|
9001
9560
|
"Optional numeric id to filter to a single culture record. Omit to list all cultures."
|
|
9002
9561
|
)
|
|
9003
9562
|
});
|
|
9004
|
-
var
|
|
9005
|
-
var
|
|
9563
|
+
var outputSchema54 = z.object({ items: getCulturesResponse });
|
|
9564
|
+
var tool61 = {
|
|
9006
9565
|
name: "get-cultures",
|
|
9007
9566
|
description: "List the visitor cultures/locales tracked by Umbraco Engage analytics.",
|
|
9008
|
-
inputSchema:
|
|
9009
|
-
outputSchema:
|
|
9567
|
+
inputSchema: inputSchema62.shape,
|
|
9568
|
+
outputSchema: outputSchema54,
|
|
9010
9569
|
slices: ["list"],
|
|
9011
9570
|
annotations: { readOnlyHint: true },
|
|
9012
9571
|
handler: async (params) => {
|
|
@@ -9019,7 +9578,7 @@ var tool60 = {
|
|
|
9019
9578
|
return result;
|
|
9020
9579
|
}
|
|
9021
9580
|
};
|
|
9022
|
-
var get_cultures_default = withStandardDecorators(
|
|
9581
|
+
var get_cultures_default = withStandardDecorators(tool61);
|
|
9023
9582
|
|
|
9024
9583
|
// src/umbraco-api/tools/cultures/index.ts
|
|
9025
9584
|
var collection14 = {
|
|
@@ -9031,13 +9590,13 @@ var collection14 = {
|
|
|
9031
9590
|
tools: () => [get_cultures_default]
|
|
9032
9591
|
};
|
|
9033
9592
|
var cultures_default = collection14;
|
|
9034
|
-
var
|
|
9035
|
-
var
|
|
9036
|
-
var
|
|
9593
|
+
var inputSchema63 = z.object({ id: z.uuid() });
|
|
9594
|
+
var outputSchema55 = deleteCustomerJourneyResponse;
|
|
9595
|
+
var tool62 = {
|
|
9037
9596
|
name: "delete-customer-journey",
|
|
9038
9597
|
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.",
|
|
9039
|
-
inputSchema:
|
|
9040
|
-
outputSchema:
|
|
9598
|
+
inputSchema: inputSchema63.shape,
|
|
9599
|
+
outputSchema: outputSchema55,
|
|
9041
9600
|
slices: ["delete"],
|
|
9042
9601
|
annotations: { destructiveHint: true },
|
|
9043
9602
|
handler: async (params) => {
|
|
@@ -9046,8 +9605,8 @@ var tool61 = {
|
|
|
9046
9605
|
);
|
|
9047
9606
|
}
|
|
9048
9607
|
};
|
|
9049
|
-
var delete_customer_journey_default = withStandardDecorators(
|
|
9050
|
-
var
|
|
9608
|
+
var delete_customer_journey_default = withStandardDecorators(tool62);
|
|
9609
|
+
var inputSchema64 = z.object({
|
|
9051
9610
|
title: z.string().nullish(),
|
|
9052
9611
|
description: z.string().nullish(),
|
|
9053
9612
|
steps: z.array(z.object({
|
|
@@ -9064,12 +9623,12 @@ var inputSchema63 = z.object({
|
|
|
9064
9623
|
expiration: z.number().default(0),
|
|
9065
9624
|
upperScoreLimit: z.number().default(10)
|
|
9066
9625
|
});
|
|
9067
|
-
var
|
|
9068
|
-
var
|
|
9626
|
+
var outputSchema56 = postCustomerJourneyResponse;
|
|
9627
|
+
var tool63 = {
|
|
9069
9628
|
name: "post-customer-journey",
|
|
9070
9629
|
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.",
|
|
9071
|
-
inputSchema:
|
|
9072
|
-
outputSchema:
|
|
9630
|
+
inputSchema: inputSchema64.shape,
|
|
9631
|
+
outputSchema: outputSchema56,
|
|
9073
9632
|
slices: ["create"],
|
|
9074
9633
|
annotations: { destructiveHint: false, idempotentHint: false },
|
|
9075
9634
|
handler: async (params) => {
|
|
@@ -9112,14 +9671,14 @@ var tool62 = {
|
|
|
9112
9671
|
);
|
|
9113
9672
|
}
|
|
9114
9673
|
};
|
|
9115
|
-
var post_customer_journey_default = withStandardDecorators(
|
|
9116
|
-
var
|
|
9117
|
-
var
|
|
9118
|
-
var
|
|
9674
|
+
var post_customer_journey_default = withStandardDecorators(tool63);
|
|
9675
|
+
var inputSchema65 = z.object({});
|
|
9676
|
+
var outputSchema57 = z.object({ items: getCustomerJourneyAllResponse });
|
|
9677
|
+
var tool64 = {
|
|
9119
9678
|
name: "get-customer-journey-all",
|
|
9120
9679
|
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`.",
|
|
9121
|
-
inputSchema:
|
|
9122
|
-
outputSchema:
|
|
9680
|
+
inputSchema: inputSchema65.shape,
|
|
9681
|
+
outputSchema: outputSchema57,
|
|
9123
9682
|
slices: ["list"],
|
|
9124
9683
|
annotations: { readOnlyHint: true },
|
|
9125
9684
|
handler: async () => {
|
|
@@ -9132,14 +9691,14 @@ var tool63 = {
|
|
|
9132
9691
|
return result;
|
|
9133
9692
|
}
|
|
9134
9693
|
};
|
|
9135
|
-
var get_customer_journey_all_default = withStandardDecorators(
|
|
9136
|
-
var
|
|
9137
|
-
var
|
|
9138
|
-
var
|
|
9694
|
+
var get_customer_journey_all_default = withStandardDecorators(tool64);
|
|
9695
|
+
var inputSchema66 = z.object({ id: z.uuid() });
|
|
9696
|
+
var outputSchema58 = getCustomerJourneyDetailsResponse;
|
|
9697
|
+
var tool65 = {
|
|
9139
9698
|
name: "get-customer-journey-details",
|
|
9140
9699
|
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.",
|
|
9141
|
-
inputSchema:
|
|
9142
|
-
outputSchema:
|
|
9700
|
+
inputSchema: inputSchema66.shape,
|
|
9701
|
+
outputSchema: outputSchema58,
|
|
9143
9702
|
slices: ["read"],
|
|
9144
9703
|
annotations: { readOnlyHint: true },
|
|
9145
9704
|
handler: async (params) => {
|
|
@@ -9148,14 +9707,14 @@ var tool64 = {
|
|
|
9148
9707
|
);
|
|
9149
9708
|
}
|
|
9150
9709
|
};
|
|
9151
|
-
var get_customer_journey_details_default = withStandardDecorators(
|
|
9152
|
-
var
|
|
9153
|
-
var
|
|
9154
|
-
var
|
|
9710
|
+
var get_customer_journey_details_default = withStandardDecorators(tool65);
|
|
9711
|
+
var inputSchema67 = z.object({});
|
|
9712
|
+
var outputSchema59 = getCustomerJourneyEmptyResponse;
|
|
9713
|
+
var tool66 = {
|
|
9155
9714
|
name: "get-customer-journey-empty",
|
|
9156
9715
|
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.",
|
|
9157
|
-
inputSchema:
|
|
9158
|
-
outputSchema:
|
|
9716
|
+
inputSchema: inputSchema67.shape,
|
|
9717
|
+
outputSchema: outputSchema59,
|
|
9159
9718
|
slices: ["other"],
|
|
9160
9719
|
annotations: { readOnlyHint: true },
|
|
9161
9720
|
handler: async () => {
|
|
@@ -9164,12 +9723,12 @@ var tool65 = {
|
|
|
9164
9723
|
);
|
|
9165
9724
|
}
|
|
9166
9725
|
};
|
|
9167
|
-
var get_customer_journey_empty_default = withStandardDecorators(
|
|
9168
|
-
var
|
|
9169
|
-
var
|
|
9726
|
+
var get_customer_journey_empty_default = withStandardDecorators(tool66);
|
|
9727
|
+
var inputSchema68 = postCustomerJourneyLockBody;
|
|
9728
|
+
var tool67 = {
|
|
9170
9729
|
name: "post-customer-journey-lock",
|
|
9171
9730
|
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.",
|
|
9172
|
-
inputSchema:
|
|
9731
|
+
inputSchema: inputSchema68.shape,
|
|
9173
9732
|
slices: ["update"],
|
|
9174
9733
|
annotations: { destructiveHint: false, idempotentHint: true },
|
|
9175
9734
|
handler: async (params) => {
|
|
@@ -9178,12 +9737,12 @@ var tool66 = {
|
|
|
9178
9737
|
);
|
|
9179
9738
|
}
|
|
9180
9739
|
};
|
|
9181
|
-
var post_customer_journey_lock_default = withStandardDecorators(
|
|
9182
|
-
var
|
|
9183
|
-
var
|
|
9740
|
+
var post_customer_journey_lock_default = withStandardDecorators(tool67);
|
|
9741
|
+
var inputSchema69 = postCustomerJourneyUnlockBody;
|
|
9742
|
+
var tool68 = {
|
|
9184
9743
|
name: "post-customer-journey-unlock",
|
|
9185
9744
|
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.",
|
|
9186
|
-
inputSchema:
|
|
9745
|
+
inputSchema: inputSchema69.shape,
|
|
9187
9746
|
slices: ["update"],
|
|
9188
9747
|
annotations: { destructiveHint: false, idempotentHint: true },
|
|
9189
9748
|
handler: async (params) => {
|
|
@@ -9192,7 +9751,7 @@ var tool67 = {
|
|
|
9192
9751
|
);
|
|
9193
9752
|
}
|
|
9194
9753
|
};
|
|
9195
|
-
var post_customer_journey_unlock_default = withStandardDecorators(
|
|
9754
|
+
var post_customer_journey_unlock_default = withStandardDecorators(tool68);
|
|
9196
9755
|
|
|
9197
9756
|
// src/umbraco-api/tools/customer-journey/index.ts
|
|
9198
9757
|
var collection15 = {
|
|
@@ -9204,13 +9763,13 @@ var collection15 = {
|
|
|
9204
9763
|
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]
|
|
9205
9764
|
};
|
|
9206
9765
|
var customer_journey_default = collection15;
|
|
9207
|
-
var
|
|
9208
|
-
var
|
|
9209
|
-
var
|
|
9766
|
+
var inputSchema70 = z.object({});
|
|
9767
|
+
var outputSchema60 = getDataCleanupLastRunResponse;
|
|
9768
|
+
var tool69 = {
|
|
9210
9769
|
name: "get-data-cleanup-last-run",
|
|
9211
9770
|
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.",
|
|
9212
|
-
inputSchema:
|
|
9213
|
-
outputSchema:
|
|
9771
|
+
inputSchema: inputSchema70.shape,
|
|
9772
|
+
outputSchema: outputSchema60,
|
|
9214
9773
|
slices: ["read"],
|
|
9215
9774
|
annotations: { readOnlyHint: true },
|
|
9216
9775
|
handler: async () => {
|
|
@@ -9219,14 +9778,14 @@ var tool68 = {
|
|
|
9219
9778
|
);
|
|
9220
9779
|
}
|
|
9221
9780
|
};
|
|
9222
|
-
var get_data_cleanup_last_run_default = withStandardDecorators(
|
|
9223
|
-
var
|
|
9224
|
-
var
|
|
9225
|
-
var
|
|
9781
|
+
var get_data_cleanup_last_run_default = withStandardDecorators(tool69);
|
|
9782
|
+
var inputSchema71 = getDataCleanupLogsQueryParams;
|
|
9783
|
+
var outputSchema61 = getDataCleanupLogsResponse;
|
|
9784
|
+
var tool70 = {
|
|
9226
9785
|
name: "get-data-cleanup-logs",
|
|
9227
9786
|
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.",
|
|
9228
|
-
inputSchema:
|
|
9229
|
-
outputSchema:
|
|
9787
|
+
inputSchema: inputSchema71.shape,
|
|
9788
|
+
outputSchema: outputSchema61,
|
|
9230
9789
|
slices: ["list"],
|
|
9231
9790
|
annotations: { readOnlyHint: true },
|
|
9232
9791
|
handler: async (params) => {
|
|
@@ -9235,14 +9794,14 @@ var tool69 = {
|
|
|
9235
9794
|
);
|
|
9236
9795
|
}
|
|
9237
9796
|
};
|
|
9238
|
-
var get_data_cleanup_logs_default = withStandardDecorators(
|
|
9239
|
-
var
|
|
9240
|
-
var
|
|
9241
|
-
var
|
|
9797
|
+
var get_data_cleanup_logs_default = withStandardDecorators(tool70);
|
|
9798
|
+
var inputSchema72 = getDataCleanupRunsQueryParams;
|
|
9799
|
+
var outputSchema62 = getDataCleanupRunsResponse;
|
|
9800
|
+
var tool71 = {
|
|
9242
9801
|
name: "get-data-cleanup-runs",
|
|
9243
9802
|
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.",
|
|
9244
|
-
inputSchema:
|
|
9245
|
-
outputSchema:
|
|
9803
|
+
inputSchema: inputSchema72.shape,
|
|
9804
|
+
outputSchema: outputSchema62,
|
|
9246
9805
|
slices: ["list"],
|
|
9247
9806
|
annotations: { readOnlyHint: true },
|
|
9248
9807
|
handler: async (params) => {
|
|
@@ -9251,7 +9810,7 @@ var tool70 = {
|
|
|
9251
9810
|
);
|
|
9252
9811
|
}
|
|
9253
9812
|
};
|
|
9254
|
-
var get_data_cleanup_runs_default = withStandardDecorators(
|
|
9813
|
+
var get_data_cleanup_runs_default = withStandardDecorators(tool71);
|
|
9255
9814
|
|
|
9256
9815
|
// src/umbraco-api/tools/data-cleanup/index.ts
|
|
9257
9816
|
var collection16 = {
|
|
@@ -9263,13 +9822,13 @@ var collection16 = {
|
|
|
9263
9822
|
tools: () => [get_data_cleanup_last_run_default, get_data_cleanup_logs_default, get_data_cleanup_runs_default]
|
|
9264
9823
|
};
|
|
9265
9824
|
var data_cleanup_default = collection16;
|
|
9266
|
-
var
|
|
9267
|
-
var
|
|
9268
|
-
var
|
|
9825
|
+
var inputSchema73 = getPermissionsDocumentTypeQueryParams;
|
|
9826
|
+
var outputSchema63 = getPermissionsDocumentTypeResponse;
|
|
9827
|
+
var tool72 = {
|
|
9269
9828
|
name: "get-permissions-document-type",
|
|
9270
|
-
description: "Get the Engage access-permissions entry for a document type by its `contentTypeId`.
|
|
9271
|
-
inputSchema:
|
|
9272
|
-
outputSchema:
|
|
9829
|
+
description: "Get the Engage access-permissions entry for a document type by its `contentTypeId`. 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.",
|
|
9830
|
+
inputSchema: inputSchema73.shape,
|
|
9831
|
+
outputSchema: outputSchema63,
|
|
9273
9832
|
slices: ["read"],
|
|
9274
9833
|
annotations: { readOnlyHint: true },
|
|
9275
9834
|
handler: async (params) => {
|
|
@@ -9278,7 +9837,7 @@ var tool71 = {
|
|
|
9278
9837
|
);
|
|
9279
9838
|
}
|
|
9280
9839
|
};
|
|
9281
|
-
var get_permissions_document_type_default = withStandardDecorators(
|
|
9840
|
+
var get_permissions_document_type_default = withStandardDecorators(tool72);
|
|
9282
9841
|
var itemSchema = z.object({
|
|
9283
9842
|
contentTypeId: postPermissionsDocumentTypeBodyItem.shape.contentTypeId,
|
|
9284
9843
|
contentTypeName: z.string().nullish(),
|
|
@@ -9288,11 +9847,11 @@ var itemSchema = z.object({
|
|
|
9288
9847
|
allowApplyPersonalization: z.boolean().default(true),
|
|
9289
9848
|
updatedByUmbracoUser: z.string().nullish()
|
|
9290
9849
|
});
|
|
9291
|
-
var
|
|
9292
|
-
var
|
|
9850
|
+
var inputSchema74 = z.object({ items: z.array(itemSchema) });
|
|
9851
|
+
var tool73 = {
|
|
9293
9852
|
name: "post-permissions-document-type",
|
|
9294
9853
|
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.",
|
|
9295
|
-
inputSchema:
|
|
9854
|
+
inputSchema: inputSchema74.shape,
|
|
9296
9855
|
slices: ["create"],
|
|
9297
9856
|
annotations: { destructiveHint: true, idempotentHint: false },
|
|
9298
9857
|
handler: async (params) => {
|
|
@@ -9314,14 +9873,14 @@ var tool72 = {
|
|
|
9314
9873
|
);
|
|
9315
9874
|
}
|
|
9316
9875
|
};
|
|
9317
|
-
var post_permissions_document_type_default = withStandardDecorators(
|
|
9318
|
-
var
|
|
9319
|
-
var
|
|
9320
|
-
var
|
|
9876
|
+
var post_permissions_document_type_default = withStandardDecorators(tool73);
|
|
9877
|
+
var inputSchema75 = z.object({});
|
|
9878
|
+
var outputSchema64 = z.object({ items: getPermissionsDocumentTypeAllResponse });
|
|
9879
|
+
var tool74 = {
|
|
9321
9880
|
name: "get-permissions-document-type-all",
|
|
9322
9881
|
description: "List Engage access permissions (analytics, A/B testing, personalization) for every document type that has a stored entry. Not paginated.",
|
|
9323
|
-
inputSchema:
|
|
9324
|
-
outputSchema:
|
|
9882
|
+
inputSchema: inputSchema75.shape,
|
|
9883
|
+
outputSchema: outputSchema64,
|
|
9325
9884
|
slices: ["list"],
|
|
9326
9885
|
annotations: { readOnlyHint: true },
|
|
9327
9886
|
handler: async () => {
|
|
@@ -9334,7 +9893,7 @@ var tool73 = {
|
|
|
9334
9893
|
return result;
|
|
9335
9894
|
}
|
|
9336
9895
|
};
|
|
9337
|
-
var get_permissions_document_type_all_default = withStandardDecorators(
|
|
9896
|
+
var get_permissions_document_type_all_default = withStandardDecorators(tool74);
|
|
9338
9897
|
|
|
9339
9898
|
// src/umbraco-api/tools/document-type-permissions/index.ts
|
|
9340
9899
|
var collection17 = {
|
|
@@ -9369,7 +9928,7 @@ var journeyScoringRuleSchema = z.object({
|
|
|
9369
9928
|
isLocked: z.boolean().default(false),
|
|
9370
9929
|
scoreType: scoreTypeSchema
|
|
9371
9930
|
});
|
|
9372
|
-
var
|
|
9931
|
+
var inputSchema76 = z.object({
|
|
9373
9932
|
name: postGoalBody.shape.name,
|
|
9374
9933
|
value: postGoalBody.shape.value,
|
|
9375
9934
|
goalTypeId: postGoalBody.shape.goalTypeId.describe("A real goal type id, from get-goal-all-types."),
|
|
@@ -9382,12 +9941,12 @@ var inputSchema75 = z.object({
|
|
|
9382
9941
|
implicitPersonaScoring: z.array(personaScoringRuleSchema).default([]),
|
|
9383
9942
|
implicitCustomerJourneyStepScoring: z.array(journeyScoringRuleSchema).default([])
|
|
9384
9943
|
});
|
|
9385
|
-
var
|
|
9386
|
-
var
|
|
9944
|
+
var outputSchema65 = z.object({ unique: postGoalResponse });
|
|
9945
|
+
var tool75 = {
|
|
9387
9946
|
name: "post-goal",
|
|
9388
9947
|
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`.",
|
|
9389
|
-
inputSchema:
|
|
9390
|
-
outputSchema:
|
|
9948
|
+
inputSchema: inputSchema76.shape,
|
|
9949
|
+
outputSchema: outputSchema65,
|
|
9391
9950
|
slices: ["create"],
|
|
9392
9951
|
annotations: { destructiveHint: false, idempotentHint: false },
|
|
9393
9952
|
handler: async (params) => {
|
|
@@ -9442,14 +10001,14 @@ var tool74 = {
|
|
|
9442
10001
|
return result;
|
|
9443
10002
|
}
|
|
9444
10003
|
};
|
|
9445
|
-
var post_goal_default = withStandardDecorators(
|
|
9446
|
-
var
|
|
9447
|
-
var
|
|
9448
|
-
var
|
|
10004
|
+
var post_goal_default = withStandardDecorators(tool75);
|
|
10005
|
+
var inputSchema77 = postGoalAllBody;
|
|
10006
|
+
var outputSchema66 = postGoalAllResponse;
|
|
10007
|
+
var tool76 = {
|
|
9449
10008
|
name: "post-goal-all",
|
|
9450
10009
|
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.",
|
|
9451
|
-
inputSchema:
|
|
9452
|
-
outputSchema:
|
|
10010
|
+
inputSchema: inputSchema77.shape,
|
|
10011
|
+
outputSchema: outputSchema66,
|
|
9453
10012
|
slices: ["search"],
|
|
9454
10013
|
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true },
|
|
9455
10014
|
handler: async (params) => {
|
|
@@ -9458,14 +10017,14 @@ var tool75 = {
|
|
|
9458
10017
|
);
|
|
9459
10018
|
}
|
|
9460
10019
|
};
|
|
9461
|
-
var post_goal_all_default = withStandardDecorators(
|
|
9462
|
-
var
|
|
9463
|
-
var
|
|
9464
|
-
var
|
|
10020
|
+
var post_goal_all_default = withStandardDecorators(tool76);
|
|
10021
|
+
var inputSchema78 = z.object({});
|
|
10022
|
+
var outputSchema67 = z.object({ items: getGoalAllTypesResponse });
|
|
10023
|
+
var tool77 = {
|
|
9465
10024
|
name: "get-goal-all-types",
|
|
9466
10025
|
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`.",
|
|
9467
|
-
inputSchema:
|
|
9468
|
-
outputSchema:
|
|
10026
|
+
inputSchema: inputSchema78.shape,
|
|
10027
|
+
outputSchema: outputSchema67,
|
|
9469
10028
|
slices: ["list"],
|
|
9470
10029
|
annotations: { readOnlyHint: true },
|
|
9471
10030
|
handler: async () => {
|
|
@@ -9478,16 +10037,16 @@ var tool76 = {
|
|
|
9478
10037
|
return result;
|
|
9479
10038
|
}
|
|
9480
10039
|
};
|
|
9481
|
-
var get_goal_all_types_default = withStandardDecorators(
|
|
9482
|
-
var
|
|
10040
|
+
var get_goal_all_types_default = withStandardDecorators(tool77);
|
|
10041
|
+
var inputSchema79 = z.object({
|
|
9483
10042
|
id: z.uuid().describe("The goal's `unique` guid (e.g. from post-goal's response) - not its numeric `id` field.")
|
|
9484
10043
|
});
|
|
9485
|
-
var
|
|
9486
|
-
var
|
|
10044
|
+
var outputSchema68 = getGoalDetailsResponse;
|
|
10045
|
+
var tool78 = {
|
|
9487
10046
|
name: "get-goal-details",
|
|
9488
10047
|
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.",
|
|
9489
|
-
inputSchema:
|
|
9490
|
-
outputSchema:
|
|
10048
|
+
inputSchema: inputSchema79.shape,
|
|
10049
|
+
outputSchema: outputSchema68,
|
|
9491
10050
|
slices: ["read"],
|
|
9492
10051
|
annotations: { readOnlyHint: true },
|
|
9493
10052
|
handler: async (params) => {
|
|
@@ -9496,7 +10055,7 @@ var tool77 = {
|
|
|
9496
10055
|
);
|
|
9497
10056
|
}
|
|
9498
10057
|
};
|
|
9499
|
-
var get_goal_details_default = withStandardDecorators(
|
|
10058
|
+
var get_goal_details_default = withStandardDecorators(tool78);
|
|
9500
10059
|
|
|
9501
10060
|
// src/umbraco-api/tools/goal/index.ts
|
|
9502
10061
|
var collection18 = {
|
|
@@ -9508,13 +10067,13 @@ var collection18 = {
|
|
|
9508
10067
|
tools: () => [post_goal_default, post_goal_all_default, get_goal_all_types_default, get_goal_details_default]
|
|
9509
10068
|
};
|
|
9510
10069
|
var goal_default = collection18;
|
|
9511
|
-
var
|
|
9512
|
-
var
|
|
9513
|
-
var
|
|
10070
|
+
var inputSchema80 = z.object({});
|
|
10071
|
+
var outputSchema69 = z.object({ items: getGoalsAllResponse });
|
|
10072
|
+
var tool79 = {
|
|
9514
10073
|
name: "get-goals-all",
|
|
9515
10074
|
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.",
|
|
9516
|
-
inputSchema:
|
|
9517
|
-
outputSchema:
|
|
10075
|
+
inputSchema: inputSchema80.shape,
|
|
10076
|
+
outputSchema: outputSchema69,
|
|
9518
10077
|
slices: ["list"],
|
|
9519
10078
|
annotations: { readOnlyHint: true },
|
|
9520
10079
|
handler: async () => {
|
|
@@ -9527,14 +10086,14 @@ var tool78 = {
|
|
|
9527
10086
|
return result;
|
|
9528
10087
|
}
|
|
9529
10088
|
};
|
|
9530
|
-
var get_goals_all_default = withStandardDecorators(
|
|
9531
|
-
var
|
|
9532
|
-
var
|
|
9533
|
-
var
|
|
10089
|
+
var get_goals_all_default = withStandardDecorators(tool79);
|
|
10090
|
+
var inputSchema81 = z.object({});
|
|
10091
|
+
var outputSchema70 = z.object({ items: getGoalsMainResponse });
|
|
10092
|
+
var tool80 = {
|
|
9534
10093
|
name: "get-goals-main",
|
|
9535
10094
|
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.",
|
|
9536
|
-
inputSchema:
|
|
9537
|
-
outputSchema:
|
|
10095
|
+
inputSchema: inputSchema81.shape,
|
|
10096
|
+
outputSchema: outputSchema70,
|
|
9538
10097
|
slices: ["list"],
|
|
9539
10098
|
annotations: { readOnlyHint: true },
|
|
9540
10099
|
handler: async () => {
|
|
@@ -9547,7 +10106,7 @@ var tool79 = {
|
|
|
9547
10106
|
return result;
|
|
9548
10107
|
}
|
|
9549
10108
|
};
|
|
9550
|
-
var get_goals_main_default = withStandardDecorators(
|
|
10109
|
+
var get_goals_main_default = withStandardDecorators(tool80);
|
|
9551
10110
|
|
|
9552
10111
|
// src/umbraco-api/tools/goals/index.ts
|
|
9553
10112
|
var collection19 = {
|
|
@@ -9574,7 +10133,7 @@ var DEVICE_TYPES = [
|
|
|
9574
10133
|
"SmartSpeaker",
|
|
9575
10134
|
"Wearable"
|
|
9576
10135
|
];
|
|
9577
|
-
var
|
|
10136
|
+
var inputSchema82 = z.object({
|
|
9578
10137
|
unique: postHeatmapsGenerateScrollHeatmapBody.shape.unique.describe(
|
|
9579
10138
|
"The content page's `unique` guid."
|
|
9580
10139
|
),
|
|
@@ -9587,12 +10146,12 @@ var inputSchema81 = z.object({
|
|
|
9587
10146
|
"Pixel offsets to report visitor-reach percentages for (e.g. fold lines)."
|
|
9588
10147
|
)
|
|
9589
10148
|
});
|
|
9590
|
-
var
|
|
9591
|
-
var
|
|
10149
|
+
var outputSchema71 = postHeatmapsGenerateScrollHeatmapResponse;
|
|
10150
|
+
var tool81 = {
|
|
9592
10151
|
name: "post-heatmaps-generate-scroll-heatmap",
|
|
9593
10152
|
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.",
|
|
9594
|
-
inputSchema:
|
|
9595
|
-
outputSchema:
|
|
10153
|
+
inputSchema: inputSchema82.shape,
|
|
10154
|
+
outputSchema: outputSchema71,
|
|
9596
10155
|
slices: ["search"],
|
|
9597
10156
|
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true },
|
|
9598
10157
|
handler: async (params) => {
|
|
@@ -9605,14 +10164,14 @@ var tool80 = {
|
|
|
9605
10164
|
);
|
|
9606
10165
|
}
|
|
9607
10166
|
};
|
|
9608
|
-
var post_heatmaps_generate_scroll_heatmap_default = withStandardDecorators(
|
|
9609
|
-
var
|
|
9610
|
-
var
|
|
9611
|
-
var
|
|
10167
|
+
var post_heatmaps_generate_scroll_heatmap_default = withStandardDecorators(tool81);
|
|
10168
|
+
var inputSchema83 = getHeatmapsVariantsQueryParams;
|
|
10169
|
+
var outputSchema72 = z.object({ items: getHeatmapsVariantsResponse });
|
|
10170
|
+
var tool82 = {
|
|
9612
10171
|
name: "get-heatmaps-variants",
|
|
9613
10172
|
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.",
|
|
9614
|
-
inputSchema:
|
|
9615
|
-
outputSchema:
|
|
10173
|
+
inputSchema: inputSchema83.shape,
|
|
10174
|
+
outputSchema: outputSchema72,
|
|
9616
10175
|
slices: ["list"],
|
|
9617
10176
|
annotations: { readOnlyHint: true },
|
|
9618
10177
|
handler: async (params) => {
|
|
@@ -9625,7 +10184,7 @@ var tool81 = {
|
|
|
9625
10184
|
return result;
|
|
9626
10185
|
}
|
|
9627
10186
|
};
|
|
9628
|
-
var get_heatmaps_variants_default = withStandardDecorators(
|
|
10187
|
+
var get_heatmaps_variants_default = withStandardDecorators(tool82);
|
|
9629
10188
|
|
|
9630
10189
|
// src/umbraco-api/tools/heatmaps/index.ts
|
|
9631
10190
|
var collection20 = {
|
|
@@ -9637,13 +10196,13 @@ var collection20 = {
|
|
|
9637
10196
|
tools: () => [post_heatmaps_generate_scroll_heatmap_default, get_heatmaps_variants_default]
|
|
9638
10197
|
};
|
|
9639
10198
|
var heatmaps_default = collection20;
|
|
9640
|
-
var
|
|
9641
|
-
var
|
|
9642
|
-
var
|
|
10199
|
+
var inputSchema84 = z.object({});
|
|
10200
|
+
var outputSchema73 = getMainSwitchResponse;
|
|
10201
|
+
var tool83 = {
|
|
9643
10202
|
name: "get-main-switch",
|
|
9644
10203
|
description: "Get whether Umbraco Engage tracking (analytics, A/B testing, personalization data collection) is currently enabled site-wide.",
|
|
9645
|
-
inputSchema:
|
|
9646
|
-
outputSchema:
|
|
10204
|
+
inputSchema: inputSchema84.shape,
|
|
10205
|
+
outputSchema: outputSchema73,
|
|
9647
10206
|
slices: ["read"],
|
|
9648
10207
|
annotations: { readOnlyHint: true },
|
|
9649
10208
|
handler: async () => {
|
|
@@ -9652,12 +10211,12 @@ var tool82 = {
|
|
|
9652
10211
|
);
|
|
9653
10212
|
}
|
|
9654
10213
|
};
|
|
9655
|
-
var get_main_switch_default = withStandardDecorators(
|
|
9656
|
-
var
|
|
9657
|
-
var
|
|
10214
|
+
var get_main_switch_default = withStandardDecorators(tool83);
|
|
10215
|
+
var inputSchema85 = z.object({});
|
|
10216
|
+
var tool84 = {
|
|
9658
10217
|
name: "post-main-switch-turn-off",
|
|
9659
10218
|
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.",
|
|
9660
|
-
inputSchema:
|
|
10219
|
+
inputSchema: inputSchema85.shape,
|
|
9661
10220
|
slices: ["update"],
|
|
9662
10221
|
annotations: { destructiveHint: true, idempotentHint: true },
|
|
9663
10222
|
handler: async () => {
|
|
@@ -9666,12 +10225,12 @@ var tool83 = {
|
|
|
9666
10225
|
);
|
|
9667
10226
|
}
|
|
9668
10227
|
};
|
|
9669
|
-
var post_main_switch_turn_off_default = withStandardDecorators(
|
|
9670
|
-
var
|
|
9671
|
-
var
|
|
10228
|
+
var post_main_switch_turn_off_default = withStandardDecorators(tool84);
|
|
10229
|
+
var inputSchema86 = z.object({});
|
|
10230
|
+
var tool85 = {
|
|
9672
10231
|
name: "post-main-switch-turn-on",
|
|
9673
10232
|
description: "Turn on Umbraco Engage tracking site-wide - enables analytics, A/B testing, and personalization data collection for all visitors.",
|
|
9674
|
-
inputSchema:
|
|
10233
|
+
inputSchema: inputSchema86.shape,
|
|
9675
10234
|
slices: ["update"],
|
|
9676
10235
|
annotations: { destructiveHint: false, idempotentHint: true },
|
|
9677
10236
|
handler: async () => {
|
|
@@ -9680,7 +10239,7 @@ var tool84 = {
|
|
|
9680
10239
|
);
|
|
9681
10240
|
}
|
|
9682
10241
|
};
|
|
9683
|
-
var post_main_switch_turn_on_default = withStandardDecorators(
|
|
10242
|
+
var post_main_switch_turn_on_default = withStandardDecorators(tool85);
|
|
9684
10243
|
|
|
9685
10244
|
// src/umbraco-api/tools/main-switch/index.ts
|
|
9686
10245
|
var collection21 = {
|
|
@@ -9692,15 +10251,15 @@ var collection21 = {
|
|
|
9692
10251
|
tools: () => [get_main_switch_default, post_main_switch_turn_off_default, post_main_switch_turn_on_default]
|
|
9693
10252
|
};
|
|
9694
10253
|
var main_switch_default = collection21;
|
|
9695
|
-
var
|
|
10254
|
+
var inputSchema87 = z.object({
|
|
9696
10255
|
id: z.uuid().describe("The persona group's `unique` guid - not its numeric `id` field.")
|
|
9697
10256
|
});
|
|
9698
|
-
var
|
|
9699
|
-
var
|
|
10257
|
+
var outputSchema74 = deletePersonaResponse;
|
|
10258
|
+
var tool86 = {
|
|
9700
10259
|
name: "delete-persona",
|
|
9701
10260
|
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.",
|
|
9702
|
-
inputSchema:
|
|
9703
|
-
outputSchema:
|
|
10261
|
+
inputSchema: inputSchema87.shape,
|
|
10262
|
+
outputSchema: outputSchema74,
|
|
9704
10263
|
slices: ["delete"],
|
|
9705
10264
|
annotations: { destructiveHint: true },
|
|
9706
10265
|
handler: async (params) => {
|
|
@@ -9709,8 +10268,8 @@ var tool85 = {
|
|
|
9709
10268
|
);
|
|
9710
10269
|
}
|
|
9711
10270
|
};
|
|
9712
|
-
var delete_persona_default = withStandardDecorators(
|
|
9713
|
-
var
|
|
10271
|
+
var delete_persona_default = withStandardDecorators(tool86);
|
|
10272
|
+
var inputSchema88 = z.object({
|
|
9714
10273
|
title: z.string().nullish(),
|
|
9715
10274
|
description: z.string().nullish(),
|
|
9716
10275
|
personas: z.array(z.object({
|
|
@@ -9727,12 +10286,12 @@ var inputSchema87 = z.object({
|
|
|
9727
10286
|
expiration: z.number().nullish(),
|
|
9728
10287
|
upperScoreLimit: z.number().default(10)
|
|
9729
10288
|
});
|
|
9730
|
-
var
|
|
9731
|
-
var
|
|
10289
|
+
var outputSchema75 = postPersonaResponse;
|
|
10290
|
+
var tool87 = {
|
|
9732
10291
|
name: "post-persona",
|
|
9733
10292
|
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.",
|
|
9734
|
-
inputSchema:
|
|
9735
|
-
outputSchema:
|
|
10293
|
+
inputSchema: inputSchema88.shape,
|
|
10294
|
+
outputSchema: outputSchema75,
|
|
9736
10295
|
slices: ["create"],
|
|
9737
10296
|
annotations: { destructiveHint: false, idempotentHint: false },
|
|
9738
10297
|
handler: async (params) => {
|
|
@@ -9775,14 +10334,14 @@ var tool86 = {
|
|
|
9775
10334
|
);
|
|
9776
10335
|
}
|
|
9777
10336
|
};
|
|
9778
|
-
var post_persona_default = withStandardDecorators(
|
|
9779
|
-
var
|
|
9780
|
-
var
|
|
9781
|
-
var
|
|
10337
|
+
var post_persona_default = withStandardDecorators(tool87);
|
|
10338
|
+
var inputSchema89 = z.object({});
|
|
10339
|
+
var outputSchema76 = z.object({ items: getPersonaAllResponse });
|
|
10340
|
+
var tool88 = {
|
|
9782
10341
|
name: "get-persona-all",
|
|
9783
10342
|
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`.",
|
|
9784
|
-
inputSchema:
|
|
9785
|
-
outputSchema:
|
|
10343
|
+
inputSchema: inputSchema89.shape,
|
|
10344
|
+
outputSchema: outputSchema76,
|
|
9786
10345
|
slices: ["list"],
|
|
9787
10346
|
annotations: { readOnlyHint: true },
|
|
9788
10347
|
handler: async () => {
|
|
@@ -9795,16 +10354,16 @@ var tool87 = {
|
|
|
9795
10354
|
return result;
|
|
9796
10355
|
}
|
|
9797
10356
|
};
|
|
9798
|
-
var get_persona_all_default = withStandardDecorators(
|
|
9799
|
-
var
|
|
10357
|
+
var get_persona_all_default = withStandardDecorators(tool88);
|
|
10358
|
+
var inputSchema90 = z.object({
|
|
9800
10359
|
id: z.uuid().describe("The persona group's `unique` guid - not its numeric `id` field.")
|
|
9801
10360
|
});
|
|
9802
|
-
var
|
|
9803
|
-
var
|
|
10361
|
+
var outputSchema77 = getPersonaDetailsResponse;
|
|
10362
|
+
var tool89 = {
|
|
9804
10363
|
name: "get-persona-details",
|
|
9805
10364
|
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.",
|
|
9806
|
-
inputSchema:
|
|
9807
|
-
outputSchema:
|
|
10365
|
+
inputSchema: inputSchema90.shape,
|
|
10366
|
+
outputSchema: outputSchema77,
|
|
9808
10367
|
slices: ["read"],
|
|
9809
10368
|
annotations: { readOnlyHint: true },
|
|
9810
10369
|
handler: async (params) => {
|
|
@@ -9813,14 +10372,14 @@ var tool88 = {
|
|
|
9813
10372
|
);
|
|
9814
10373
|
}
|
|
9815
10374
|
};
|
|
9816
|
-
var get_persona_details_default = withStandardDecorators(
|
|
9817
|
-
var
|
|
9818
|
-
var
|
|
9819
|
-
var
|
|
10375
|
+
var get_persona_details_default = withStandardDecorators(tool89);
|
|
10376
|
+
var inputSchema91 = z.object({});
|
|
10377
|
+
var outputSchema78 = getPersonaEmptyResponse;
|
|
10378
|
+
var tool90 = {
|
|
9820
10379
|
name: "get-persona-empty",
|
|
9821
10380
|
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.",
|
|
9822
|
-
inputSchema:
|
|
9823
|
-
outputSchema:
|
|
10381
|
+
inputSchema: inputSchema91.shape,
|
|
10382
|
+
outputSchema: outputSchema78,
|
|
9824
10383
|
slices: ["other"],
|
|
9825
10384
|
annotations: { readOnlyHint: true },
|
|
9826
10385
|
handler: async () => {
|
|
@@ -9829,12 +10388,12 @@ var tool89 = {
|
|
|
9829
10388
|
);
|
|
9830
10389
|
}
|
|
9831
10390
|
};
|
|
9832
|
-
var get_persona_empty_default = withStandardDecorators(
|
|
9833
|
-
var
|
|
9834
|
-
var
|
|
10391
|
+
var get_persona_empty_default = withStandardDecorators(tool90);
|
|
10392
|
+
var inputSchema92 = postPersonaLockBody;
|
|
10393
|
+
var tool91 = {
|
|
9835
10394
|
name: "post-persona-lock",
|
|
9836
10395
|
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.",
|
|
9837
|
-
inputSchema:
|
|
10396
|
+
inputSchema: inputSchema92.shape,
|
|
9838
10397
|
slices: ["update"],
|
|
9839
10398
|
annotations: { destructiveHint: false, idempotentHint: true },
|
|
9840
10399
|
handler: async (params) => {
|
|
@@ -9843,12 +10402,12 @@ var tool90 = {
|
|
|
9843
10402
|
);
|
|
9844
10403
|
}
|
|
9845
10404
|
};
|
|
9846
|
-
var post_persona_lock_default = withStandardDecorators(
|
|
9847
|
-
var
|
|
9848
|
-
var
|
|
10405
|
+
var post_persona_lock_default = withStandardDecorators(tool91);
|
|
10406
|
+
var inputSchema93 = postPersonaUnlockBody;
|
|
10407
|
+
var tool92 = {
|
|
9849
10408
|
name: "post-persona-unlock",
|
|
9850
10409
|
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.",
|
|
9851
|
-
inputSchema:
|
|
10410
|
+
inputSchema: inputSchema93.shape,
|
|
9852
10411
|
slices: ["update"],
|
|
9853
10412
|
annotations: { destructiveHint: false, idempotentHint: true },
|
|
9854
10413
|
handler: async (params) => {
|
|
@@ -9857,7 +10416,7 @@ var tool91 = {
|
|
|
9857
10416
|
);
|
|
9858
10417
|
}
|
|
9859
10418
|
};
|
|
9860
|
-
var post_persona_unlock_default = withStandardDecorators(
|
|
10419
|
+
var post_persona_unlock_default = withStandardDecorators(tool92);
|
|
9861
10420
|
|
|
9862
10421
|
// src/umbraco-api/tools/persona/index.ts
|
|
9863
10422
|
var collection22 = {
|
|
@@ -9869,13 +10428,13 @@ var collection22 = {
|
|
|
9869
10428
|
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]
|
|
9870
10429
|
};
|
|
9871
10430
|
var persona_default = collection22;
|
|
9872
|
-
var
|
|
9873
|
-
var
|
|
9874
|
-
var
|
|
10431
|
+
var inputSchema94 = z.object({});
|
|
10432
|
+
var outputSchema79 = getProfileBotVisitorsResponse;
|
|
10433
|
+
var tool93 = {
|
|
9875
10434
|
name: "get-profile-bot-visitors",
|
|
9876
10435
|
description: "List visitors detected as bots, site-wide (not scoped to a single visitor).",
|
|
9877
|
-
inputSchema:
|
|
9878
|
-
outputSchema:
|
|
10436
|
+
inputSchema: inputSchema94.shape,
|
|
10437
|
+
outputSchema: outputSchema79,
|
|
9879
10438
|
slices: ["list"],
|
|
9880
10439
|
annotations: { readOnlyHint: true },
|
|
9881
10440
|
handler: async () => {
|
|
@@ -9884,14 +10443,14 @@ var tool92 = {
|
|
|
9884
10443
|
);
|
|
9885
10444
|
}
|
|
9886
10445
|
};
|
|
9887
|
-
var get_profile_bot_visitors_default = withStandardDecorators(
|
|
9888
|
-
var
|
|
9889
|
-
var
|
|
9890
|
-
var
|
|
10446
|
+
var get_profile_bot_visitors_default = withStandardDecorators(tool93);
|
|
10447
|
+
var inputSchema95 = getProfileCustomerJourneyStepScoresQueryParams;
|
|
10448
|
+
var outputSchema80 = z.object({ items: getProfileCustomerJourneyStepScoresResponse });
|
|
10449
|
+
var tool94 = {
|
|
9891
10450
|
name: "get-profile-customer-journey-step-scores",
|
|
9892
10451
|
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.",
|
|
9893
|
-
inputSchema:
|
|
9894
|
-
outputSchema:
|
|
10452
|
+
inputSchema: inputSchema95.shape,
|
|
10453
|
+
outputSchema: outputSchema80,
|
|
9895
10454
|
slices: ["list"],
|
|
9896
10455
|
annotations: { readOnlyHint: true },
|
|
9897
10456
|
handler: async (params) => {
|
|
@@ -9904,14 +10463,14 @@ var tool93 = {
|
|
|
9904
10463
|
return result;
|
|
9905
10464
|
}
|
|
9906
10465
|
};
|
|
9907
|
-
var get_profile_customer_journey_step_scores_default = withStandardDecorators(
|
|
9908
|
-
var
|
|
9909
|
-
var
|
|
9910
|
-
var
|
|
10466
|
+
var get_profile_customer_journey_step_scores_default = withStandardDecorators(tool94);
|
|
10467
|
+
var inputSchema96 = getProfileDetailsQueryParams;
|
|
10468
|
+
var outputSchema81 = getProfileDetailsResponse;
|
|
10469
|
+
var tool95 = {
|
|
9911
10470
|
name: "get-profile-details",
|
|
9912
10471
|
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.",
|
|
9913
|
-
inputSchema:
|
|
9914
|
-
outputSchema:
|
|
10472
|
+
inputSchema: inputSchema96.shape,
|
|
10473
|
+
outputSchema: outputSchema81,
|
|
9915
10474
|
slices: ["read"],
|
|
9916
10475
|
annotations: { readOnlyHint: true },
|
|
9917
10476
|
handler: async (params) => {
|
|
@@ -9920,7 +10479,7 @@ var tool94 = {
|
|
|
9920
10479
|
);
|
|
9921
10480
|
}
|
|
9922
10481
|
};
|
|
9923
|
-
var get_profile_details_default = withStandardDecorators(
|
|
10482
|
+
var get_profile_details_default = withStandardDecorators(tool95);
|
|
9924
10483
|
|
|
9925
10484
|
// src/umbraco-api/tools/profile/get/to-export-page.ts
|
|
9926
10485
|
function toExportPage(rows, skip, take) {
|
|
@@ -9930,7 +10489,7 @@ function toExportPage(rows, skip, take) {
|
|
|
9930
10489
|
}
|
|
9931
10490
|
|
|
9932
10491
|
// src/umbraco-api/tools/profile/get/get-profile-export.ts
|
|
9933
|
-
var
|
|
10492
|
+
var inputSchema97 = z.object({
|
|
9934
10493
|
skip: z.number().default(0),
|
|
9935
10494
|
take: z.number().default(25),
|
|
9936
10495
|
order: getProfileExportQueryParams.shape.Order,
|
|
@@ -9945,17 +10504,17 @@ var inputSchema96 = z.object({
|
|
|
9945
10504
|
activeTo: z.iso.datetime().nullish(),
|
|
9946
10505
|
identifiedName: getProfileExportQueryParams.shape.IdentifiedName
|
|
9947
10506
|
});
|
|
9948
|
-
var
|
|
10507
|
+
var outputSchema82 = z.object({
|
|
9949
10508
|
items: getProfileExportResponse,
|
|
9950
10509
|
total: z.number().describe(
|
|
9951
10510
|
"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."
|
|
9952
10511
|
)
|
|
9953
10512
|
});
|
|
9954
|
-
var
|
|
10513
|
+
var tool96 = {
|
|
9955
10514
|
name: "get-profile-export",
|
|
9956
10515
|
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).",
|
|
9957
|
-
inputSchema:
|
|
9958
|
-
outputSchema:
|
|
10516
|
+
inputSchema: inputSchema97.shape,
|
|
10517
|
+
outputSchema: outputSchema82,
|
|
9959
10518
|
slices: ["search"],
|
|
9960
10519
|
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true },
|
|
9961
10520
|
handler: async (params) => {
|
|
@@ -9986,9 +10545,9 @@ var tool95 = {
|
|
|
9986
10545
|
return result;
|
|
9987
10546
|
}
|
|
9988
10547
|
};
|
|
9989
|
-
var get_profile_export_default = withStandardDecorators(
|
|
10548
|
+
var get_profile_export_default = withStandardDecorators(tool96);
|
|
9990
10549
|
var requestBody = postProfileExportCsvBody.options[1];
|
|
9991
|
-
var
|
|
10550
|
+
var inputSchema98 = z.object({
|
|
9992
10551
|
skip: requestBody.shape.skip.default(0),
|
|
9993
10552
|
take: requestBody.shape.take.default(25),
|
|
9994
10553
|
order: requestBody.shape.order,
|
|
@@ -10003,12 +10562,12 @@ var inputSchema97 = z.object({
|
|
|
10003
10562
|
activeTo: z.iso.datetime().nullish(),
|
|
10004
10563
|
identifiedName: requestBody.shape.identifiedName
|
|
10005
10564
|
});
|
|
10006
|
-
var
|
|
10007
|
-
var
|
|
10565
|
+
var outputSchema83 = z.object({ csv: z.string() });
|
|
10566
|
+
var tool97 = {
|
|
10008
10567
|
name: "post-profile-export-csv",
|
|
10009
10568
|
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.",
|
|
10010
|
-
inputSchema:
|
|
10011
|
-
outputSchema:
|
|
10569
|
+
inputSchema: inputSchema98.shape,
|
|
10570
|
+
outputSchema: outputSchema83,
|
|
10012
10571
|
slices: ["search"],
|
|
10013
10572
|
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true },
|
|
10014
10573
|
handler: async (params) => {
|
|
@@ -10035,14 +10594,14 @@ var tool96 = {
|
|
|
10035
10594
|
return result;
|
|
10036
10595
|
}
|
|
10037
10596
|
};
|
|
10038
|
-
var post_profile_export_csv_default = withStandardDecorators(
|
|
10039
|
-
var
|
|
10040
|
-
var
|
|
10041
|
-
var
|
|
10597
|
+
var post_profile_export_csv_default = withStandardDecorators(tool97);
|
|
10598
|
+
var inputSchema99 = getProfileGoalCompletionsQueryParams;
|
|
10599
|
+
var outputSchema84 = z.object({ items: getProfileGoalCompletionsResponse });
|
|
10600
|
+
var tool98 = {
|
|
10042
10601
|
name: "get-profile-goal-completions",
|
|
10043
10602
|
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.",
|
|
10044
|
-
inputSchema:
|
|
10045
|
-
outputSchema:
|
|
10603
|
+
inputSchema: inputSchema99.shape,
|
|
10604
|
+
outputSchema: outputSchema84,
|
|
10046
10605
|
slices: ["list"],
|
|
10047
10606
|
annotations: { readOnlyHint: true },
|
|
10048
10607
|
handler: async (params) => {
|
|
@@ -10055,14 +10614,14 @@ var tool97 = {
|
|
|
10055
10614
|
return result;
|
|
10056
10615
|
}
|
|
10057
10616
|
};
|
|
10058
|
-
var get_profile_goal_completions_default = withStandardDecorators(
|
|
10059
|
-
var
|
|
10060
|
-
var
|
|
10061
|
-
var
|
|
10617
|
+
var get_profile_goal_completions_default = withStandardDecorators(tool98);
|
|
10618
|
+
var inputSchema100 = getProfileLastActiveSegmentQueryParams;
|
|
10619
|
+
var outputSchema85 = z.object({ items: getProfileLastActiveSegmentResponse });
|
|
10620
|
+
var tool99 = {
|
|
10062
10621
|
name: "get-profile-last-active-segment",
|
|
10063
|
-
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.",
|
|
10064
|
-
inputSchema:
|
|
10065
|
-
outputSchema:
|
|
10622
|
+
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.",
|
|
10623
|
+
inputSchema: inputSchema100.shape,
|
|
10624
|
+
outputSchema: outputSchema85,
|
|
10066
10625
|
slices: ["list"],
|
|
10067
10626
|
annotations: { readOnlyHint: true },
|
|
10068
10627
|
handler: async (params) => {
|
|
@@ -10075,9 +10634,9 @@ var tool98 = {
|
|
|
10075
10634
|
return result;
|
|
10076
10635
|
}
|
|
10077
10636
|
};
|
|
10078
|
-
var get_profile_last_active_segment_default = withStandardDecorators(
|
|
10637
|
+
var get_profile_last_active_segment_default = withStandardDecorators(tool99);
|
|
10079
10638
|
var requestBody2 = postProfileOverviewBody.options[1];
|
|
10080
|
-
var
|
|
10639
|
+
var inputSchema101 = z.object({
|
|
10081
10640
|
skip: requestBody2.shape.skip.default(0),
|
|
10082
10641
|
take: requestBody2.shape.take.default(25),
|
|
10083
10642
|
order: requestBody2.shape.order,
|
|
@@ -10092,12 +10651,12 @@ var inputSchema100 = z.object({
|
|
|
10092
10651
|
activeTo: z.iso.datetime().nullish(),
|
|
10093
10652
|
identifiedName: requestBody2.shape.identifiedName
|
|
10094
10653
|
});
|
|
10095
|
-
var
|
|
10096
|
-
var
|
|
10654
|
+
var outputSchema86 = postProfileOverviewResponse;
|
|
10655
|
+
var tool100 = {
|
|
10097
10656
|
name: "post-profile-overview",
|
|
10098
10657
|
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.",
|
|
10099
|
-
inputSchema:
|
|
10100
|
-
outputSchema:
|
|
10658
|
+
inputSchema: inputSchema101.shape,
|
|
10659
|
+
outputSchema: outputSchema86,
|
|
10101
10660
|
slices: ["search"],
|
|
10102
10661
|
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true },
|
|
10103
10662
|
handler: async (params) => {
|
|
@@ -10120,14 +10679,14 @@ var tool99 = {
|
|
|
10120
10679
|
);
|
|
10121
10680
|
}
|
|
10122
10681
|
};
|
|
10123
|
-
var post_profile_overview_default = withStandardDecorators(
|
|
10124
|
-
var
|
|
10125
|
-
var
|
|
10126
|
-
var
|
|
10682
|
+
var post_profile_overview_default = withStandardDecorators(tool100);
|
|
10683
|
+
var inputSchema102 = getProfilePageEventsQueryParams;
|
|
10684
|
+
var outputSchema87 = z.object({ items: getProfilePageEventsResponse });
|
|
10685
|
+
var tool101 = {
|
|
10127
10686
|
name: "get-profile-page-events",
|
|
10128
10687
|
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.",
|
|
10129
|
-
inputSchema:
|
|
10130
|
-
outputSchema:
|
|
10688
|
+
inputSchema: inputSchema102.shape,
|
|
10689
|
+
outputSchema: outputSchema87,
|
|
10131
10690
|
slices: ["list"],
|
|
10132
10691
|
annotations: { readOnlyHint: true },
|
|
10133
10692
|
handler: async (params) => {
|
|
@@ -10140,14 +10699,14 @@ var tool100 = {
|
|
|
10140
10699
|
return result;
|
|
10141
10700
|
}
|
|
10142
10701
|
};
|
|
10143
|
-
var get_profile_page_events_default = withStandardDecorators(
|
|
10144
|
-
var
|
|
10145
|
-
var
|
|
10146
|
-
var
|
|
10702
|
+
var get_profile_page_events_default = withStandardDecorators(tool101);
|
|
10703
|
+
var inputSchema103 = getProfilePageviewsQueryParams;
|
|
10704
|
+
var outputSchema88 = z.object({ items: getProfilePageviewsResponse });
|
|
10705
|
+
var tool102 = {
|
|
10147
10706
|
name: "get-profile-pageviews",
|
|
10148
10707
|
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.",
|
|
10149
|
-
inputSchema:
|
|
10150
|
-
outputSchema:
|
|
10708
|
+
inputSchema: inputSchema103.shape,
|
|
10709
|
+
outputSchema: outputSchema88,
|
|
10151
10710
|
slices: ["list"],
|
|
10152
10711
|
annotations: { readOnlyHint: true },
|
|
10153
10712
|
handler: async (params) => {
|
|
@@ -10160,14 +10719,14 @@ var tool101 = {
|
|
|
10160
10719
|
return result;
|
|
10161
10720
|
}
|
|
10162
10721
|
};
|
|
10163
|
-
var get_profile_pageviews_default = withStandardDecorators(
|
|
10164
|
-
var
|
|
10165
|
-
var
|
|
10166
|
-
var
|
|
10722
|
+
var get_profile_pageviews_default = withStandardDecorators(tool102);
|
|
10723
|
+
var inputSchema104 = getProfilePersonaScoresQueryParams;
|
|
10724
|
+
var outputSchema89 = z.object({ items: getProfilePersonaScoresResponse });
|
|
10725
|
+
var tool103 = {
|
|
10167
10726
|
name: "get-profile-persona-scores",
|
|
10168
10727
|
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).",
|
|
10169
|
-
inputSchema:
|
|
10170
|
-
outputSchema:
|
|
10728
|
+
inputSchema: inputSchema104.shape,
|
|
10729
|
+
outputSchema: outputSchema89,
|
|
10171
10730
|
slices: ["list"],
|
|
10172
10731
|
annotations: { readOnlyHint: true },
|
|
10173
10732
|
handler: async (params) => {
|
|
@@ -10180,14 +10739,14 @@ var tool102 = {
|
|
|
10180
10739
|
return result;
|
|
10181
10740
|
}
|
|
10182
10741
|
};
|
|
10183
|
-
var get_profile_persona_scores_default = withStandardDecorators(
|
|
10184
|
-
var
|
|
10185
|
-
var
|
|
10186
|
-
var
|
|
10742
|
+
var get_profile_persona_scores_default = withStandardDecorators(tool103);
|
|
10743
|
+
var inputSchema105 = getProfilePotentialQueryParams;
|
|
10744
|
+
var outputSchema90 = getProfilePotentialResponse;
|
|
10745
|
+
var tool104 = {
|
|
10187
10746
|
name: "get-profile-potential",
|
|
10188
10747
|
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.",
|
|
10189
|
-
inputSchema:
|
|
10190
|
-
outputSchema:
|
|
10748
|
+
inputSchema: inputSchema105.shape,
|
|
10749
|
+
outputSchema: outputSchema90,
|
|
10191
10750
|
slices: ["read"],
|
|
10192
10751
|
annotations: { readOnlyHint: true },
|
|
10193
10752
|
handler: async (params) => {
|
|
@@ -10196,18 +10755,18 @@ var tool103 = {
|
|
|
10196
10755
|
);
|
|
10197
10756
|
}
|
|
10198
10757
|
};
|
|
10199
|
-
var get_profile_potential_default = withStandardDecorators(
|
|
10200
|
-
var
|
|
10758
|
+
var get_profile_potential_default = withStandardDecorators(tool104);
|
|
10759
|
+
var inputSchema106 = getProfileRelatedQueryParams.extend({
|
|
10201
10760
|
memberId: getProfileRelatedQueryParams.shape.memberId.describe(
|
|
10202
10761
|
"An Umbraco member's guid - finds other visitor profiles linked to the same member (e.g. across devices/browsers)."
|
|
10203
10762
|
)
|
|
10204
10763
|
});
|
|
10205
|
-
var
|
|
10206
|
-
var
|
|
10764
|
+
var outputSchema91 = z.object({ relatedVisitorIds: getProfileRelatedResponse });
|
|
10765
|
+
var tool105 = {
|
|
10207
10766
|
name: "get-profile-related",
|
|
10208
10767
|
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.",
|
|
10209
|
-
inputSchema:
|
|
10210
|
-
outputSchema:
|
|
10768
|
+
inputSchema: inputSchema106.shape,
|
|
10769
|
+
outputSchema: outputSchema91,
|
|
10211
10770
|
slices: ["list"],
|
|
10212
10771
|
annotations: { readOnlyHint: true },
|
|
10213
10772
|
handler: async (params) => {
|
|
@@ -10220,20 +10779,20 @@ var tool104 = {
|
|
|
10220
10779
|
return result;
|
|
10221
10780
|
}
|
|
10222
10781
|
};
|
|
10223
|
-
var get_profile_related_default = withStandardDecorators(
|
|
10224
|
-
var
|
|
10782
|
+
var get_profile_related_default = withStandardDecorators(tool105);
|
|
10783
|
+
var inputSchema107 = z.object({
|
|
10225
10784
|
visitorId: getProfileSessionsQueryParams.shape.VisitorId.describe(
|
|
10226
10785
|
"Required in practice - omitting it is untested/undocumented behavior."
|
|
10227
10786
|
),
|
|
10228
10787
|
pageIndex: z.number().int().min(0).default(0),
|
|
10229
10788
|
pageSize: z.number().int().min(1).max(200).default(25)
|
|
10230
10789
|
});
|
|
10231
|
-
var
|
|
10232
|
-
var
|
|
10790
|
+
var outputSchema92 = getProfileSessionsResponse;
|
|
10791
|
+
var tool106 = {
|
|
10233
10792
|
name: "get-profile-sessions",
|
|
10234
10793
|
description: "List a visitor's browsing sessions, paginated (`pageIndex` is 0-based). Use the response's `totalResults` to know when to stop paging.",
|
|
10235
|
-
inputSchema:
|
|
10236
|
-
outputSchema:
|
|
10794
|
+
inputSchema: inputSchema107.shape,
|
|
10795
|
+
outputSchema: outputSchema92,
|
|
10237
10796
|
slices: ["list"],
|
|
10238
10797
|
annotations: { readOnlyHint: true },
|
|
10239
10798
|
handler: async (params) => {
|
|
@@ -10247,14 +10806,14 @@ var tool105 = {
|
|
|
10247
10806
|
);
|
|
10248
10807
|
}
|
|
10249
10808
|
};
|
|
10250
|
-
var get_profile_sessions_default = withStandardDecorators(
|
|
10251
|
-
var
|
|
10252
|
-
var
|
|
10253
|
-
var
|
|
10809
|
+
var get_profile_sessions_default = withStandardDecorators(tool106);
|
|
10810
|
+
var inputSchema108 = getProfileStatisticsGrowthQueryParams;
|
|
10811
|
+
var outputSchema93 = getProfileStatisticsGrowthResponse;
|
|
10812
|
+
var tool107 = {
|
|
10254
10813
|
name: "get-profile-statistics-growth",
|
|
10255
10814
|
description: "Get monthly visitor-growth counts (identified vs. unknown visitors) over the last `numberOfMonths` months (default 12).",
|
|
10256
|
-
inputSchema:
|
|
10257
|
-
outputSchema:
|
|
10815
|
+
inputSchema: inputSchema108.shape,
|
|
10816
|
+
outputSchema: outputSchema93,
|
|
10258
10817
|
slices: ["read"],
|
|
10259
10818
|
annotations: { readOnlyHint: true },
|
|
10260
10819
|
handler: async (params) => {
|
|
@@ -10263,14 +10822,14 @@ var tool106 = {
|
|
|
10263
10822
|
);
|
|
10264
10823
|
}
|
|
10265
10824
|
};
|
|
10266
|
-
var get_profile_statistics_growth_default = withStandardDecorators(
|
|
10267
|
-
var
|
|
10268
|
-
var
|
|
10269
|
-
var
|
|
10825
|
+
var get_profile_statistics_growth_default = withStandardDecorators(tool107);
|
|
10826
|
+
var inputSchema109 = getProfileStatisticsIdentificationQueryParams;
|
|
10827
|
+
var outputSchema94 = getProfileStatisticsIdentificationResponse;
|
|
10828
|
+
var tool108 = {
|
|
10270
10829
|
name: "get-profile-statistics-identification",
|
|
10271
10830
|
description: "Get visitor identification counts over the last `numberOfDays` days (default 30): `newlyIdentified`, `formerlyUnknown`, and `unknown` visitor counts.",
|
|
10272
|
-
inputSchema:
|
|
10273
|
-
outputSchema:
|
|
10831
|
+
inputSchema: inputSchema109.shape,
|
|
10832
|
+
outputSchema: outputSchema94,
|
|
10274
10833
|
slices: ["read"],
|
|
10275
10834
|
annotations: { readOnlyHint: true },
|
|
10276
10835
|
handler: async (params) => {
|
|
@@ -10279,14 +10838,14 @@ var tool107 = {
|
|
|
10279
10838
|
);
|
|
10280
10839
|
}
|
|
10281
10840
|
};
|
|
10282
|
-
var get_profile_statistics_identification_default = withStandardDecorators(
|
|
10283
|
-
var
|
|
10284
|
-
var
|
|
10285
|
-
var
|
|
10841
|
+
var get_profile_statistics_identification_default = withStandardDecorators(tool108);
|
|
10842
|
+
var inputSchema110 = z.object({});
|
|
10843
|
+
var outputSchema95 = getProfileStatisticsTotalResponse;
|
|
10844
|
+
var tool109 = {
|
|
10286
10845
|
name: "get-profile-statistics-total",
|
|
10287
10846
|
description: "Get the total count of identified vs. unknown visitor profiles, site-wide.",
|
|
10288
|
-
inputSchema:
|
|
10289
|
-
outputSchema:
|
|
10847
|
+
inputSchema: inputSchema110.shape,
|
|
10848
|
+
outputSchema: outputSchema95,
|
|
10290
10849
|
slices: ["read"],
|
|
10291
10850
|
annotations: { readOnlyHint: true },
|
|
10292
10851
|
handler: async () => {
|
|
@@ -10295,7 +10854,7 @@ var tool108 = {
|
|
|
10295
10854
|
);
|
|
10296
10855
|
}
|
|
10297
10856
|
};
|
|
10298
|
-
var get_profile_statistics_total_default = withStandardDecorators(
|
|
10857
|
+
var get_profile_statistics_total_default = withStandardDecorators(tool109);
|
|
10299
10858
|
|
|
10300
10859
|
// src/umbraco-api/tools/profile/index.ts
|
|
10301
10860
|
var collection23 = {
|
|
@@ -10307,13 +10866,13 @@ var collection23 = {
|
|
|
10307
10866
|
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]
|
|
10308
10867
|
};
|
|
10309
10868
|
var profile_default = collection23;
|
|
10310
|
-
var
|
|
10869
|
+
var inputSchema111 = z.object({
|
|
10311
10870
|
id: z.uuid().describe("The group's `unique` guid - not the numeric `id` field on the entity.")
|
|
10312
10871
|
});
|
|
10313
|
-
var
|
|
10872
|
+
var tool110 = {
|
|
10314
10873
|
name: "delete-referral-group",
|
|
10315
10874
|
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.",
|
|
10316
|
-
inputSchema:
|
|
10875
|
+
inputSchema: inputSchema111.shape,
|
|
10317
10876
|
slices: ["delete"],
|
|
10318
10877
|
annotations: { destructiveHint: true },
|
|
10319
10878
|
handler: async (params) => {
|
|
@@ -10322,16 +10881,16 @@ var tool109 = {
|
|
|
10322
10881
|
);
|
|
10323
10882
|
}
|
|
10324
10883
|
};
|
|
10325
|
-
var delete_referral_group_default = withStandardDecorators(
|
|
10326
|
-
var
|
|
10884
|
+
var delete_referral_group_default = withStandardDecorators(tool110);
|
|
10885
|
+
var inputSchema112 = z.object({
|
|
10327
10886
|
id: z.uuid().describe("The group's `unique` guid - not the numeric `id` field on the returned entity.")
|
|
10328
10887
|
});
|
|
10329
|
-
var
|
|
10330
|
-
var
|
|
10888
|
+
var outputSchema96 = getReferralGroupResponse;
|
|
10889
|
+
var tool111 = {
|
|
10331
10890
|
name: "get-referral-group",
|
|
10332
10891
|
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.",
|
|
10333
|
-
inputSchema:
|
|
10334
|
-
outputSchema:
|
|
10892
|
+
inputSchema: inputSchema112.shape,
|
|
10893
|
+
outputSchema: outputSchema96,
|
|
10335
10894
|
slices: ["read"],
|
|
10336
10895
|
annotations: { readOnlyHint: true },
|
|
10337
10896
|
handler: async (params) => {
|
|
@@ -10340,8 +10899,8 @@ var tool110 = {
|
|
|
10340
10899
|
);
|
|
10341
10900
|
}
|
|
10342
10901
|
};
|
|
10343
|
-
var get_referral_group_default = withStandardDecorators(
|
|
10344
|
-
var
|
|
10902
|
+
var get_referral_group_default = withStandardDecorators(tool111);
|
|
10903
|
+
var inputSchema113 = z.object({
|
|
10345
10904
|
id: postReferralGroupBody.shape.id.optional().describe("Omit to create a new group. Supply the existing numeric id to update it."),
|
|
10346
10905
|
unique: postReferralGroupBody.shape.unique.optional().describe("Omit to create a new group (server-generated). Supply the existing guid to update it."),
|
|
10347
10906
|
name: z.string().nullish(),
|
|
@@ -10351,12 +10910,12 @@ var inputSchema112 = z.object({
|
|
|
10351
10910
|
customerJourneyScoring: postReferralGroupBody.shape.customerJourneyScoring.default([]),
|
|
10352
10911
|
personaScoring: postReferralGroupBody.shape.personaScoring.default([])
|
|
10353
10912
|
});
|
|
10354
|
-
var
|
|
10355
|
-
var
|
|
10913
|
+
var outputSchema97 = postReferralGroupResponse;
|
|
10914
|
+
var tool112 = {
|
|
10356
10915
|
name: "post-referral-group",
|
|
10357
10916
|
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.",
|
|
10358
|
-
inputSchema:
|
|
10359
|
-
outputSchema:
|
|
10917
|
+
inputSchema: inputSchema113.shape,
|
|
10918
|
+
outputSchema: outputSchema97,
|
|
10360
10919
|
slices: ["create", "update"],
|
|
10361
10920
|
annotations: { destructiveHint: false, idempotentHint: false },
|
|
10362
10921
|
handler: async (params) => {
|
|
@@ -10376,14 +10935,14 @@ var tool111 = {
|
|
|
10376
10935
|
);
|
|
10377
10936
|
}
|
|
10378
10937
|
};
|
|
10379
|
-
var post_referral_group_default = withStandardDecorators(
|
|
10380
|
-
var
|
|
10381
|
-
var
|
|
10382
|
-
var
|
|
10938
|
+
var post_referral_group_default = withStandardDecorators(tool112);
|
|
10939
|
+
var inputSchema114 = z.object({});
|
|
10940
|
+
var outputSchema98 = z.object({ items: getReferralGroupAllResponse });
|
|
10941
|
+
var tool113 = {
|
|
10383
10942
|
name: "get-referral-group-all",
|
|
10384
10943
|
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`.",
|
|
10385
|
-
inputSchema:
|
|
10386
|
-
outputSchema:
|
|
10944
|
+
inputSchema: inputSchema114.shape,
|
|
10945
|
+
outputSchema: outputSchema98,
|
|
10387
10946
|
slices: ["list"],
|
|
10388
10947
|
annotations: { readOnlyHint: true },
|
|
10389
10948
|
handler: async () => {
|
|
@@ -10396,14 +10955,14 @@ var tool112 = {
|
|
|
10396
10955
|
return result;
|
|
10397
10956
|
}
|
|
10398
10957
|
};
|
|
10399
|
-
var get_referral_group_all_default = withStandardDecorators(
|
|
10400
|
-
var
|
|
10401
|
-
var
|
|
10402
|
-
var
|
|
10958
|
+
var get_referral_group_all_default = withStandardDecorators(tool113);
|
|
10959
|
+
var inputSchema115 = getReferralGroupVisitorsQueryParams;
|
|
10960
|
+
var outputSchema99 = getReferralGroupVisitorsResponse;
|
|
10961
|
+
var tool114 = {
|
|
10403
10962
|
name: "get-referral-group-visitors",
|
|
10404
10963
|
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.",
|
|
10405
|
-
inputSchema:
|
|
10406
|
-
outputSchema:
|
|
10964
|
+
inputSchema: inputSchema115.shape,
|
|
10965
|
+
outputSchema: outputSchema99,
|
|
10407
10966
|
slices: ["read"],
|
|
10408
10967
|
annotations: { readOnlyHint: true },
|
|
10409
10968
|
handler: async (params) => {
|
|
@@ -10412,7 +10971,7 @@ var tool113 = {
|
|
|
10412
10971
|
);
|
|
10413
10972
|
}
|
|
10414
10973
|
};
|
|
10415
|
-
var get_referral_group_visitors_default = withStandardDecorators(
|
|
10974
|
+
var get_referral_group_visitors_default = withStandardDecorators(tool114);
|
|
10416
10975
|
|
|
10417
10976
|
// src/umbraco-api/tools/referral-group/index.ts
|
|
10418
10977
|
var collection24 = {
|
|
@@ -10424,17 +10983,17 @@ var collection24 = {
|
|
|
10424
10983
|
tools: () => [delete_referral_group_default, get_referral_group_default, post_referral_group_default, get_referral_group_all_default, get_referral_group_visitors_default]
|
|
10425
10984
|
};
|
|
10426
10985
|
var referral_group_default = collection24;
|
|
10427
|
-
var
|
|
10986
|
+
var inputSchema116 = postReferralScoringScoredBody.extend({
|
|
10428
10987
|
page: postReferralScoringScoredBody.shape.page.int().min(1).default(1),
|
|
10429
10988
|
pageSize: postReferralScoringScoredBody.shape.pageSize.int().min(1).max(200).default(25),
|
|
10430
10989
|
amountOfDays: postReferralScoringScoredBody.shape.amountOfDays.default(30)
|
|
10431
10990
|
});
|
|
10432
|
-
var
|
|
10433
|
-
var
|
|
10991
|
+
var outputSchema100 = postReferralScoringScoredResponse;
|
|
10992
|
+
var tool115 = {
|
|
10434
10993
|
name: "post-referral-scoring-scored",
|
|
10435
10994
|
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.",
|
|
10436
|
-
inputSchema:
|
|
10437
|
-
outputSchema:
|
|
10995
|
+
inputSchema: inputSchema116.shape,
|
|
10996
|
+
outputSchema: outputSchema100,
|
|
10438
10997
|
slices: ["search"],
|
|
10439
10998
|
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true },
|
|
10440
10999
|
handler: async (params) => {
|
|
@@ -10443,18 +11002,18 @@ var tool114 = {
|
|
|
10443
11002
|
);
|
|
10444
11003
|
}
|
|
10445
11004
|
};
|
|
10446
|
-
var post_referral_scoring_scored_default = withStandardDecorators(
|
|
10447
|
-
var
|
|
11005
|
+
var post_referral_scoring_scored_default = withStandardDecorators(tool115);
|
|
11006
|
+
var inputSchema117 = postReferralScoringUnscoredBody.extend({
|
|
10448
11007
|
page: postReferralScoringUnscoredBody.shape.page.int().min(1).default(1),
|
|
10449
11008
|
pageSize: postReferralScoringUnscoredBody.shape.pageSize.int().min(1).max(200).default(25),
|
|
10450
11009
|
amountOfDays: postReferralScoringUnscoredBody.shape.amountOfDays.default(30)
|
|
10451
11010
|
});
|
|
10452
|
-
var
|
|
10453
|
-
var
|
|
11011
|
+
var outputSchema101 = postReferralScoringUnscoredResponse;
|
|
11012
|
+
var tool116 = {
|
|
10454
11013
|
name: "post-referral-scoring-unscored",
|
|
10455
11014
|
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.",
|
|
10456
|
-
inputSchema:
|
|
10457
|
-
outputSchema:
|
|
11015
|
+
inputSchema: inputSchema117.shape,
|
|
11016
|
+
outputSchema: outputSchema101,
|
|
10458
11017
|
slices: ["search"],
|
|
10459
11018
|
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true },
|
|
10460
11019
|
handler: async (params) => {
|
|
@@ -10463,7 +11022,7 @@ var tool115 = {
|
|
|
10463
11022
|
);
|
|
10464
11023
|
}
|
|
10465
11024
|
};
|
|
10466
|
-
var post_referral_scoring_unscored_default = withStandardDecorators(
|
|
11025
|
+
var post_referral_scoring_unscored_default = withStandardDecorators(tool116);
|
|
10467
11026
|
|
|
10468
11027
|
// src/umbraco-api/tools/referral-scoring/index.ts
|
|
10469
11028
|
var collection25 = {
|
|
@@ -10475,15 +11034,15 @@ var collection25 = {
|
|
|
10475
11034
|
tools: () => [post_referral_scoring_scored_default, post_referral_scoring_unscored_default]
|
|
10476
11035
|
};
|
|
10477
11036
|
var referral_scoring_default = collection25;
|
|
10478
|
-
var
|
|
11037
|
+
var inputSchema118 = z.object({
|
|
10479
11038
|
segmentId: z.number().describe("The segment's numeric id (from get-segments-all), not its unique guid.")
|
|
10480
11039
|
});
|
|
10481
|
-
var
|
|
10482
|
-
var
|
|
11040
|
+
var outputSchema102 = z.object({ items: getReportingResponse });
|
|
11041
|
+
var tool117 = {
|
|
10483
11042
|
name: "get-reporting",
|
|
10484
11043
|
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.",
|
|
10485
|
-
inputSchema:
|
|
10486
|
-
outputSchema:
|
|
11044
|
+
inputSchema: inputSchema118.shape,
|
|
11045
|
+
outputSchema: outputSchema102,
|
|
10487
11046
|
slices: ["list"],
|
|
10488
11047
|
annotations: { readOnlyHint: true },
|
|
10489
11048
|
handler: async (params) => {
|
|
@@ -10496,12 +11055,12 @@ var tool116 = {
|
|
|
10496
11055
|
return result;
|
|
10497
11056
|
}
|
|
10498
11057
|
};
|
|
10499
|
-
var get_reporting_default = withStandardDecorators(
|
|
10500
|
-
var
|
|
10501
|
-
var
|
|
11058
|
+
var get_reporting_default = withStandardDecorators(tool117);
|
|
11059
|
+
var inputSchema119 = z.object({});
|
|
11060
|
+
var tool118 = {
|
|
10502
11061
|
name: "post-reporting-generation-start",
|
|
10503
11062
|
description: "Start an asynchronous reporting-table generation job. Call get-reporting-generation-status afterward to check progress (`isGenerating`) and completion (`reportingTablesExist`, `lastGenerated`).",
|
|
10504
|
-
inputSchema:
|
|
11063
|
+
inputSchema: inputSchema119.shape,
|
|
10505
11064
|
slices: ["create"],
|
|
10506
11065
|
annotations: { destructiveHint: false, idempotentHint: false },
|
|
10507
11066
|
handler: async () => {
|
|
@@ -10517,14 +11076,14 @@ var tool117 = {
|
|
|
10517
11076
|
return result;
|
|
10518
11077
|
}
|
|
10519
11078
|
};
|
|
10520
|
-
var post_reporting_generation_start_default = withStandardDecorators(
|
|
10521
|
-
var
|
|
10522
|
-
var
|
|
10523
|
-
var
|
|
11079
|
+
var post_reporting_generation_start_default = withStandardDecorators(tool118);
|
|
11080
|
+
var inputSchema120 = z.object({});
|
|
11081
|
+
var outputSchema103 = getReportingGenerationStatusResponse;
|
|
11082
|
+
var tool119 = {
|
|
10524
11083
|
name: "get-reporting-generation-status",
|
|
10525
11084
|
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.",
|
|
10526
|
-
inputSchema:
|
|
10527
|
-
outputSchema:
|
|
11085
|
+
inputSchema: inputSchema120.shape,
|
|
11086
|
+
outputSchema: outputSchema103,
|
|
10528
11087
|
slices: ["read"],
|
|
10529
11088
|
annotations: { readOnlyHint: true },
|
|
10530
11089
|
handler: async () => {
|
|
@@ -10533,16 +11092,16 @@ var tool118 = {
|
|
|
10533
11092
|
);
|
|
10534
11093
|
}
|
|
10535
11094
|
};
|
|
10536
|
-
var get_reporting_generation_status_default = withStandardDecorators(
|
|
10537
|
-
var
|
|
11095
|
+
var get_reporting_generation_status_default = withStandardDecorators(tool119);
|
|
11096
|
+
var inputSchema121 = z.object({
|
|
10538
11097
|
segmentId: z.number().describe("The segment's numeric id (from get-segments-all), not its unique guid.")
|
|
10539
11098
|
});
|
|
10540
|
-
var
|
|
10541
|
-
var
|
|
11099
|
+
var outputSchema104 = z.object({ items: getReportingGoalPersonalizationPerformanceBySegmentIdResponse });
|
|
11100
|
+
var tool120 = {
|
|
10542
11101
|
name: "get-reporting-goal-personalization-performance-by-segment-id",
|
|
10543
11102
|
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.",
|
|
10544
|
-
inputSchema:
|
|
10545
|
-
outputSchema:
|
|
11103
|
+
inputSchema: inputSchema121.shape,
|
|
11104
|
+
outputSchema: outputSchema104,
|
|
10546
11105
|
slices: ["list"],
|
|
10547
11106
|
annotations: { readOnlyHint: true },
|
|
10548
11107
|
handler: async (params) => {
|
|
@@ -10555,16 +11114,16 @@ var tool119 = {
|
|
|
10555
11114
|
return result;
|
|
10556
11115
|
}
|
|
10557
11116
|
};
|
|
10558
|
-
var get_reporting_goal_personalization_performance_by_segment_id_default = withStandardDecorators(
|
|
10559
|
-
var
|
|
11117
|
+
var get_reporting_goal_personalization_performance_by_segment_id_default = withStandardDecorators(tool120);
|
|
11118
|
+
var inputSchema122 = z.object({
|
|
10560
11119
|
segmentId: z.number().describe("The segment's numeric id (from get-segments-all), not its unique guid.")
|
|
10561
11120
|
});
|
|
10562
|
-
var
|
|
10563
|
-
var
|
|
11121
|
+
var outputSchema105 = getReportingSegmentSessionsPersonalizationBySegmentIdResponse;
|
|
11122
|
+
var tool121 = {
|
|
10564
11123
|
name: "get-reporting-segment-sessions-personalization-by-segment-id",
|
|
10565
11124
|
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.",
|
|
10566
|
-
inputSchema:
|
|
10567
|
-
outputSchema:
|
|
11125
|
+
inputSchema: inputSchema122.shape,
|
|
11126
|
+
outputSchema: outputSchema105,
|
|
10568
11127
|
slices: ["read"],
|
|
10569
11128
|
annotations: { readOnlyHint: true },
|
|
10570
11129
|
handler: async (params) => {
|
|
@@ -10573,16 +11132,16 @@ var tool120 = {
|
|
|
10573
11132
|
);
|
|
10574
11133
|
}
|
|
10575
11134
|
};
|
|
10576
|
-
var get_reporting_segment_sessions_personalization_by_segment_id_default = withStandardDecorators(
|
|
10577
|
-
var
|
|
11135
|
+
var get_reporting_segment_sessions_personalization_by_segment_id_default = withStandardDecorators(tool121);
|
|
11136
|
+
var inputSchema123 = z.object({
|
|
10578
11137
|
segmentId: z.number().describe("The segment's numeric id (from get-segments-all), not its unique guid.")
|
|
10579
11138
|
});
|
|
10580
|
-
var
|
|
10581
|
-
var
|
|
11139
|
+
var outputSchema106 = getReportingSegmentSessionsPotentialBySegmentIdResponse;
|
|
11140
|
+
var tool122 = {
|
|
10582
11141
|
name: "get-reporting-segment-sessions-potential-by-segment-id",
|
|
10583
11142
|
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.",
|
|
10584
|
-
inputSchema:
|
|
10585
|
-
outputSchema:
|
|
11143
|
+
inputSchema: inputSchema123.shape,
|
|
11144
|
+
outputSchema: outputSchema106,
|
|
10586
11145
|
slices: ["read"],
|
|
10587
11146
|
annotations: { readOnlyHint: true },
|
|
10588
11147
|
handler: async (params) => {
|
|
@@ -10591,7 +11150,7 @@ var tool121 = {
|
|
|
10591
11150
|
);
|
|
10592
11151
|
}
|
|
10593
11152
|
};
|
|
10594
|
-
var get_reporting_segment_sessions_potential_by_segment_id_default = withStandardDecorators(
|
|
11153
|
+
var get_reporting_segment_sessions_potential_by_segment_id_default = withStandardDecorators(tool122);
|
|
10595
11154
|
|
|
10596
11155
|
// src/umbraco-api/tools/reporting/index.ts
|
|
10597
11156
|
var collection26 = {
|
|
@@ -10603,17 +11162,17 @@ var collection26 = {
|
|
|
10603
11162
|
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]
|
|
10604
11163
|
};
|
|
10605
11164
|
var reporting_default = collection26;
|
|
10606
|
-
var
|
|
11165
|
+
var inputSchema124 = getSearchTermsQueryParams.extend({
|
|
10607
11166
|
visitorId: getSearchTermsQueryParams.shape.visitorId.describe(
|
|
10608
11167
|
"Scope results to one visitor's search terms. Omitting it returns search terms across all visitors, unfiltered and unpaginated."
|
|
10609
11168
|
)
|
|
10610
11169
|
});
|
|
10611
|
-
var
|
|
10612
|
-
var
|
|
11170
|
+
var outputSchema107 = z.object({ items: getSearchTermsResponse });
|
|
11171
|
+
var tool123 = {
|
|
10613
11172
|
name: "get-search-terms",
|
|
10614
11173
|
description: "List on-site search queries recorded by Umbraco Engage, with their timestamps. Pass `visitorId` to scope to one visitor.",
|
|
10615
|
-
inputSchema:
|
|
10616
|
-
outputSchema:
|
|
11174
|
+
inputSchema: inputSchema124.shape,
|
|
11175
|
+
outputSchema: outputSchema107,
|
|
10617
11176
|
slices: ["list"],
|
|
10618
11177
|
annotations: { readOnlyHint: true },
|
|
10619
11178
|
handler: async (params) => {
|
|
@@ -10626,7 +11185,7 @@ var tool122 = {
|
|
|
10626
11185
|
return result;
|
|
10627
11186
|
}
|
|
10628
11187
|
};
|
|
10629
|
-
var get_search_terms_default = withStandardDecorators(
|
|
11188
|
+
var get_search_terms_default = withStandardDecorators(tool123);
|
|
10630
11189
|
|
|
10631
11190
|
// src/umbraco-api/tools/search-terms/index.ts
|
|
10632
11191
|
var collection27 = {
|
|
@@ -10638,13 +11197,13 @@ var collection27 = {
|
|
|
10638
11197
|
tools: () => [get_search_terms_default]
|
|
10639
11198
|
};
|
|
10640
11199
|
var search_terms_default = collection27;
|
|
10641
|
-
var
|
|
11200
|
+
var inputSchema125 = z.object({
|
|
10642
11201
|
id: z.uuid().describe("The segment's unique guid (from get-segments-all's `unique` field, not its numeric `id`).")
|
|
10643
11202
|
});
|
|
10644
|
-
var
|
|
11203
|
+
var tool124 = {
|
|
10645
11204
|
name: "delete-segments",
|
|
10646
11205
|
description: "Delete a segment by its unique guid. Idempotent - deleting an already-deleted or non-existent guid still succeeds.",
|
|
10647
|
-
inputSchema:
|
|
11206
|
+
inputSchema: inputSchema125.shape,
|
|
10648
11207
|
slices: ["delete"],
|
|
10649
11208
|
annotations: { destructiveHint: true },
|
|
10650
11209
|
handler: async (params) => {
|
|
@@ -10653,16 +11212,16 @@ var tool123 = {
|
|
|
10653
11212
|
);
|
|
10654
11213
|
}
|
|
10655
11214
|
};
|
|
10656
|
-
var delete_segments_default = withStandardDecorators(
|
|
10657
|
-
var
|
|
11215
|
+
var delete_segments_default = withStandardDecorators(tool124);
|
|
11216
|
+
var inputSchema126 = z.object({
|
|
10658
11217
|
id: z.uuid().describe("The segment's unique guid (from get-segments-all's `unique` field, not its numeric `id`).")
|
|
10659
11218
|
});
|
|
10660
|
-
var
|
|
10661
|
-
var
|
|
11219
|
+
var outputSchema108 = getSegmentsResponse;
|
|
11220
|
+
var tool125 = {
|
|
10662
11221
|
name: "get-segments",
|
|
10663
11222
|
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.",
|
|
10664
|
-
inputSchema:
|
|
10665
|
-
outputSchema:
|
|
11223
|
+
inputSchema: inputSchema126.shape,
|
|
11224
|
+
outputSchema: outputSchema108,
|
|
10666
11225
|
slices: ["read"],
|
|
10667
11226
|
annotations: { readOnlyHint: true },
|
|
10668
11227
|
handler: async (params) => {
|
|
@@ -10671,8 +11230,8 @@ var tool124 = {
|
|
|
10671
11230
|
);
|
|
10672
11231
|
}
|
|
10673
11232
|
};
|
|
10674
|
-
var get_segments_default = withStandardDecorators(
|
|
10675
|
-
var
|
|
11233
|
+
var get_segments_default = withStandardDecorators(tool125);
|
|
11234
|
+
var inputSchema127 = z.object({
|
|
10676
11235
|
id: postSegmentsBody.shape.id.optional().describe("Omit to create a new segment. Supply the existing numeric id (from get-segments-all) to update it."),
|
|
10677
11236
|
unique: postSegmentsBody.shape.unique.optional().describe("Omit to create a new segment (server-generated). Supply the existing guid to update it."),
|
|
10678
11237
|
name: z.string().nullish(),
|
|
@@ -10689,12 +11248,12 @@ var inputSchema126 = z.object({
|
|
|
10689
11248
|
})
|
|
10690
11249
|
).default([]).describe("Targeting rules for this segment. WARNING: on update this replaces the full rule list - omitting it wipes existing rules.")
|
|
10691
11250
|
});
|
|
10692
|
-
var
|
|
10693
|
-
var
|
|
11251
|
+
var outputSchema109 = postSegmentsResponse;
|
|
11252
|
+
var tool126 = {
|
|
10694
11253
|
name: "post-segments",
|
|
10695
11254
|
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.",
|
|
10696
|
-
inputSchema:
|
|
10697
|
-
outputSchema:
|
|
11255
|
+
inputSchema: inputSchema127.shape,
|
|
11256
|
+
outputSchema: outputSchema109,
|
|
10698
11257
|
slices: ["create", "update"],
|
|
10699
11258
|
annotations: { destructiveHint: false, idempotentHint: false },
|
|
10700
11259
|
handler: async (params) => {
|
|
@@ -10725,14 +11284,14 @@ var tool125 = {
|
|
|
10725
11284
|
);
|
|
10726
11285
|
}
|
|
10727
11286
|
};
|
|
10728
|
-
var post_segments_default = withStandardDecorators(
|
|
10729
|
-
var
|
|
10730
|
-
var
|
|
10731
|
-
var
|
|
11287
|
+
var post_segments_default = withStandardDecorators(tool126);
|
|
11288
|
+
var inputSchema128 = getSegmentsAllQueryParams;
|
|
11289
|
+
var outputSchema110 = z.object({ items: getSegmentsAllResponse });
|
|
11290
|
+
var tool127 = {
|
|
10732
11291
|
name: "get-segments-all",
|
|
10733
11292
|
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`.",
|
|
10734
|
-
inputSchema:
|
|
10735
|
-
outputSchema:
|
|
11293
|
+
inputSchema: inputSchema128.shape,
|
|
11294
|
+
outputSchema: outputSchema110,
|
|
10736
11295
|
slices: ["list"],
|
|
10737
11296
|
annotations: { readOnlyHint: true },
|
|
10738
11297
|
handler: async (params) => {
|
|
@@ -10745,14 +11304,14 @@ var tool126 = {
|
|
|
10745
11304
|
return result;
|
|
10746
11305
|
}
|
|
10747
11306
|
};
|
|
10748
|
-
var get_segments_all_default = withStandardDecorators(
|
|
10749
|
-
var
|
|
10750
|
-
var
|
|
10751
|
-
var
|
|
11307
|
+
var get_segments_all_default = withStandardDecorators(tool127);
|
|
11308
|
+
var inputSchema129 = z.object({});
|
|
11309
|
+
var outputSchema111 = getSegmentsLocationsDataResponse;
|
|
11310
|
+
var tool128 = {
|
|
10752
11311
|
name: "get-segments-locations-data",
|
|
10753
11312
|
description: "List all countries, provinces, cities, and counties seen across visitor traffic - the reference values available for building location-based segment targeting rules.",
|
|
10754
|
-
inputSchema:
|
|
10755
|
-
outputSchema:
|
|
11313
|
+
inputSchema: inputSchema129.shape,
|
|
11314
|
+
outputSchema: outputSchema111,
|
|
10756
11315
|
slices: ["read"],
|
|
10757
11316
|
annotations: { readOnlyHint: true },
|
|
10758
11317
|
handler: async () => {
|
|
@@ -10761,16 +11320,16 @@ var tool127 = {
|
|
|
10761
11320
|
);
|
|
10762
11321
|
}
|
|
10763
11322
|
};
|
|
10764
|
-
var get_segments_locations_data_default = withStandardDecorators(
|
|
10765
|
-
var
|
|
11323
|
+
var get_segments_locations_data_default = withStandardDecorators(tool128);
|
|
11324
|
+
var inputSchema130 = z.object({
|
|
10766
11325
|
items: postSegmentsUpdatePriorityBody.describe(
|
|
10767
11326
|
"Segments to reorder, each identified by its numeric `id` (from get-segments-all, not its `unique` guid) with the new `sortOrder` to apply."
|
|
10768
11327
|
)
|
|
10769
11328
|
});
|
|
10770
|
-
var
|
|
11329
|
+
var tool129 = {
|
|
10771
11330
|
name: "post-segments-update-priority",
|
|
10772
11331
|
description: "Reorder segments by updating their `sortOrder` values. Pass one or more {id, sortOrder} pairs; only the listed segments are changed.",
|
|
10773
|
-
inputSchema:
|
|
11332
|
+
inputSchema: inputSchema130.shape,
|
|
10774
11333
|
slices: ["update"],
|
|
10775
11334
|
annotations: { destructiveHint: false, idempotentHint: true },
|
|
10776
11335
|
handler: async (params) => {
|
|
@@ -10779,7 +11338,52 @@ var tool128 = {
|
|
|
10779
11338
|
);
|
|
10780
11339
|
}
|
|
10781
11340
|
};
|
|
10782
|
-
var post_segments_update_priority_default = withStandardDecorators(
|
|
11341
|
+
var post_segments_update_priority_default = withStandardDecorators(tool129);
|
|
11342
|
+
var PAGE_SIZE = 100;
|
|
11343
|
+
var MAX_PAGES = 50;
|
|
11344
|
+
var inputSchema131 = z.object({
|
|
11345
|
+
id: getSegmentsEditableSegmentsQueryParams.shape.id.describe(
|
|
11346
|
+
"The content item's key (document unique guid). Returns only the segments editors can create segment variants of for this page. Omit (or pass an unknown key) to list every editable segment on the site."
|
|
11347
|
+
),
|
|
11348
|
+
contentType: z.string().min(1).describe("The content item's document type unique guid, as a string. Required by the API."),
|
|
11349
|
+
entityType: z.string().min(1).default("document").describe("The content item's entity type. Defaults to document.")
|
|
11350
|
+
});
|
|
11351
|
+
var outputSchema112 = z.object({ items: getSegmentsEditableSegmentsResponse });
|
|
11352
|
+
var tool130 = {
|
|
11353
|
+
name: "get-segments-editable-segments",
|
|
11354
|
+
description: "List the segments a content editor can create segment-specific content for on a page - the options Engage adds to the content editor's segment variant picker, e.g. an A/B test variant's `engage_ab-testing_<variant id>` segment. Each item has the segment `alias` (the value to use as a segment variant), a display `name`, and the `cultures` it applies to (null means all). Pass the page's `id` to scope the list to that page; without it every editable segment on the site is returned. Returns every matching segment in one response.",
|
|
11355
|
+
inputSchema: inputSchema131.shape,
|
|
11356
|
+
outputSchema: outputSchema112,
|
|
11357
|
+
slices: ["list"],
|
|
11358
|
+
annotations: { readOnlyHint: true },
|
|
11359
|
+
handler: async (params) => {
|
|
11360
|
+
const client = getApiClient();
|
|
11361
|
+
const items = [];
|
|
11362
|
+
let previousPage;
|
|
11363
|
+
for (let page = 0, skip = 0; page < MAX_PAGES; page++, skip += PAGE_SIZE) {
|
|
11364
|
+
const response = await client.getSegmentsEditableSegments(
|
|
11365
|
+
{ ...params, skip, take: PAGE_SIZE },
|
|
11366
|
+
CAPTURE_RAW_HTTP_RESPONSE
|
|
11367
|
+
);
|
|
11368
|
+
if (response.status >= 400) {
|
|
11369
|
+
return createToolResultError(response.data);
|
|
11370
|
+
}
|
|
11371
|
+
if (!Array.isArray(response.data)) {
|
|
11372
|
+
return createToolResultError({ title: "Unexpected response", detail: "Expected a list of editable segments." });
|
|
11373
|
+
}
|
|
11374
|
+
const pageKey = JSON.stringify(response.data);
|
|
11375
|
+
if (response.data.length > 0 && pageKey === previousPage) return createToolResult({ items });
|
|
11376
|
+
previousPage = pageKey;
|
|
11377
|
+
items.push(...response.data);
|
|
11378
|
+
if (response.data.length < PAGE_SIZE) return createToolResult({ items });
|
|
11379
|
+
}
|
|
11380
|
+
return createToolResultError({
|
|
11381
|
+
title: "Too many editable segments",
|
|
11382
|
+
detail: `Stopped after ${MAX_PAGES * PAGE_SIZE} segments; pass the page's id to narrow the list.`
|
|
11383
|
+
});
|
|
11384
|
+
}
|
|
11385
|
+
};
|
|
11386
|
+
var get_segments_editable_segments_default = withStandardDecorators(tool130);
|
|
10783
11387
|
|
|
10784
11388
|
// src/umbraco-api/tools/segments/index.ts
|
|
10785
11389
|
var collection28 = {
|
|
@@ -10788,16 +11392,43 @@ var collection28 = {
|
|
|
10788
11392
|
displayName: "Segments",
|
|
10789
11393
|
description: "Umbraco Engage Segments tools"
|
|
10790
11394
|
},
|
|
10791
|
-
tools: () => [delete_segments_default, get_segments_default, post_segments_default, get_segments_all_default, get_segments_locations_data_default, post_segments_update_priority_default]
|
|
11395
|
+
tools: () => [delete_segments_default, get_segments_default, post_segments_default, get_segments_all_default, get_segments_locations_data_default, post_segments_update_priority_default, get_segments_editable_segments_default]
|
|
10792
11396
|
};
|
|
10793
11397
|
var segments_default = collection28;
|
|
10794
|
-
var
|
|
10795
|
-
var
|
|
10796
|
-
var
|
|
11398
|
+
var inputSchema132 = z.object({});
|
|
11399
|
+
var outputSchema113 = getStartPageSetupStatusResponse;
|
|
11400
|
+
var tool131 = {
|
|
11401
|
+
name: "get-start-page-setup-status",
|
|
11402
|
+
description: "Check how far this Umbraco Engage installation has been set up - the checklist on Engage's start page. Returns one boolean per step: `pageviewRecorded` (the tracking has recorded at least one pageview), `segmentExists`, `goalExists`, `abTestExists` and `personalizationExists` (at least one of each has been created). Use it to tell whether Engage is collecting data yet and which features are still unused, before suggesting next steps.",
|
|
11403
|
+
inputSchema: inputSchema132.shape,
|
|
11404
|
+
outputSchema: outputSchema113,
|
|
11405
|
+
slices: ["read"],
|
|
11406
|
+
annotations: { readOnlyHint: true },
|
|
11407
|
+
handler: async () => {
|
|
11408
|
+
return executeGetApiCall(
|
|
11409
|
+
(client) => client.getStartPageSetupStatus(CAPTURE_RAW_HTTP_RESPONSE)
|
|
11410
|
+
);
|
|
11411
|
+
}
|
|
11412
|
+
};
|
|
11413
|
+
var get_start_page_setup_status_default = withStandardDecorators(tool131);
|
|
11414
|
+
|
|
11415
|
+
// src/umbraco-api/tools/start-page/index.ts
|
|
11416
|
+
var collection29 = {
|
|
11417
|
+
metadata: {
|
|
11418
|
+
name: "start-page",
|
|
11419
|
+
displayName: "Start Page",
|
|
11420
|
+
description: "Umbraco Engage Start Page tools"
|
|
11421
|
+
},
|
|
11422
|
+
tools: () => [get_start_page_setup_status_default]
|
|
11423
|
+
};
|
|
11424
|
+
var start_page_default = collection29;
|
|
11425
|
+
var inputSchema133 = z.object({});
|
|
11426
|
+
var outputSchema114 = getStatisticsResponse;
|
|
11427
|
+
var tool132 = {
|
|
10797
11428
|
name: "get-statistics",
|
|
10798
11429
|
description: "Get site-wide Umbraco Engage totals: pageview count, person vs. bot visitor counts, tracked event count, and configured segment-setting count.",
|
|
10799
|
-
inputSchema:
|
|
10800
|
-
outputSchema:
|
|
11430
|
+
inputSchema: inputSchema133.shape,
|
|
11431
|
+
outputSchema: outputSchema114,
|
|
10801
11432
|
slices: ["read"],
|
|
10802
11433
|
annotations: { readOnlyHint: true },
|
|
10803
11434
|
handler: async () => {
|
|
@@ -10806,10 +11437,10 @@ var tool129 = {
|
|
|
10806
11437
|
);
|
|
10807
11438
|
}
|
|
10808
11439
|
};
|
|
10809
|
-
var get_statistics_default = withStandardDecorators(
|
|
11440
|
+
var get_statistics_default = withStandardDecorators(tool132);
|
|
10810
11441
|
|
|
10811
11442
|
// src/umbraco-api/tools/statistics/index.ts
|
|
10812
|
-
var
|
|
11443
|
+
var collection30 = {
|
|
10813
11444
|
metadata: {
|
|
10814
11445
|
name: "statistics",
|
|
10815
11446
|
displayName: "Statistics",
|
|
@@ -10817,14 +11448,14 @@ var collection29 = {
|
|
|
10817
11448
|
},
|
|
10818
11449
|
tools: () => [get_statistics_default]
|
|
10819
11450
|
};
|
|
10820
|
-
var statistics_default =
|
|
10821
|
-
var
|
|
10822
|
-
var
|
|
10823
|
-
var
|
|
11451
|
+
var statistics_default = collection30;
|
|
11452
|
+
var inputSchema134 = getSuspiciousActivityOverviewQueryParams;
|
|
11453
|
+
var outputSchema115 = getSuspiciousActivityOverviewResponse;
|
|
11454
|
+
var tool133 = {
|
|
10824
11455
|
name: "get-suspicious-activity-overview",
|
|
10825
11456
|
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.",
|
|
10826
|
-
inputSchema:
|
|
10827
|
-
outputSchema:
|
|
11457
|
+
inputSchema: inputSchema134.shape,
|
|
11458
|
+
outputSchema: outputSchema115,
|
|
10828
11459
|
slices: ["list"],
|
|
10829
11460
|
annotations: { readOnlyHint: true },
|
|
10830
11461
|
handler: async (params) => {
|
|
@@ -10833,10 +11464,10 @@ var tool130 = {
|
|
|
10833
11464
|
);
|
|
10834
11465
|
}
|
|
10835
11466
|
};
|
|
10836
|
-
var get_suspicious_activity_overview_default = withStandardDecorators(
|
|
11467
|
+
var get_suspicious_activity_overview_default = withStandardDecorators(tool133);
|
|
10837
11468
|
|
|
10838
11469
|
// src/umbraco-api/tools/suspicious-activity/index.ts
|
|
10839
|
-
var
|
|
11470
|
+
var collection31 = {
|
|
10840
11471
|
metadata: {
|
|
10841
11472
|
name: "suspicious-activity",
|
|
10842
11473
|
displayName: "Suspicious Activity",
|
|
@@ -10844,12 +11475,12 @@ var collection30 = {
|
|
|
10844
11475
|
},
|
|
10845
11476
|
tools: () => [get_suspicious_activity_overview_default]
|
|
10846
11477
|
};
|
|
10847
|
-
var suspicious_activity_default =
|
|
10848
|
-
var
|
|
10849
|
-
var
|
|
11478
|
+
var suspicious_activity_default = collection31;
|
|
11479
|
+
var inputSchema135 = z.object({ key: z.uuid() });
|
|
11480
|
+
var tool134 = {
|
|
10850
11481
|
name: "delete-traffic-filter",
|
|
10851
11482
|
description: "Delete a traffic filter rule by its `key` guid.",
|
|
10852
|
-
inputSchema:
|
|
11483
|
+
inputSchema: inputSchema135.shape,
|
|
10853
11484
|
slices: ["delete"],
|
|
10854
11485
|
annotations: { destructiveHint: true },
|
|
10855
11486
|
handler: async (params) => {
|
|
@@ -10858,14 +11489,14 @@ var tool131 = {
|
|
|
10858
11489
|
);
|
|
10859
11490
|
}
|
|
10860
11491
|
};
|
|
10861
|
-
var delete_traffic_filter_default = withStandardDecorators(
|
|
10862
|
-
var
|
|
10863
|
-
var
|
|
10864
|
-
var
|
|
11492
|
+
var delete_traffic_filter_default = withStandardDecorators(tool134);
|
|
11493
|
+
var inputSchema136 = z.object({ key: z.uuid() });
|
|
11494
|
+
var outputSchema116 = getTrafficFilterResponse;
|
|
11495
|
+
var tool135 = {
|
|
10865
11496
|
name: "get-traffic-filter",
|
|
10866
11497
|
description: "Get a single traffic filter rule by its `key` guid.",
|
|
10867
|
-
inputSchema:
|
|
10868
|
-
outputSchema:
|
|
11498
|
+
inputSchema: inputSchema136.shape,
|
|
11499
|
+
outputSchema: outputSchema116,
|
|
10869
11500
|
slices: ["read"],
|
|
10870
11501
|
annotations: { readOnlyHint: true },
|
|
10871
11502
|
handler: async (params) => {
|
|
@@ -10874,8 +11505,8 @@ var tool132 = {
|
|
|
10874
11505
|
);
|
|
10875
11506
|
}
|
|
10876
11507
|
};
|
|
10877
|
-
var get_traffic_filter_default = withStandardDecorators(
|
|
10878
|
-
var
|
|
11508
|
+
var get_traffic_filter_default = withStandardDecorators(tool135);
|
|
11509
|
+
var inputSchema137 = z.object({
|
|
10879
11510
|
name: postTrafficFilterBody.shape.name,
|
|
10880
11511
|
description: postTrafficFilterBody.shape.description,
|
|
10881
11512
|
type: postTrafficFilterBody.shape.type.describe("e.g. 'UserAgent' - the category of request attribute this filter inspects."),
|
|
@@ -10885,12 +11516,12 @@ var inputSchema134 = z.object({
|
|
|
10885
11516
|
values: postTrafficFilterBody.shape.values.default([]),
|
|
10886
11517
|
isActive: postTrafficFilterBody.shape.isActive.default(true)
|
|
10887
11518
|
});
|
|
10888
|
-
var
|
|
10889
|
-
var
|
|
11519
|
+
var outputSchema117 = z.object({ key: postTrafficFilterResponse });
|
|
11520
|
+
var tool136 = {
|
|
10890
11521
|
name: "post-traffic-filter",
|
|
10891
11522
|
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.",
|
|
10892
|
-
inputSchema:
|
|
10893
|
-
outputSchema:
|
|
11523
|
+
inputSchema: inputSchema137.shape,
|
|
11524
|
+
outputSchema: outputSchema117,
|
|
10894
11525
|
slices: ["create"],
|
|
10895
11526
|
annotations: { destructiveHint: false, idempotentHint: false },
|
|
10896
11527
|
handler: async (params) => {
|
|
@@ -10917,14 +11548,14 @@ var tool133 = {
|
|
|
10917
11548
|
return result;
|
|
10918
11549
|
}
|
|
10919
11550
|
};
|
|
10920
|
-
var post_traffic_filter_default = withStandardDecorators(
|
|
10921
|
-
var
|
|
10922
|
-
var
|
|
10923
|
-
var
|
|
11551
|
+
var post_traffic_filter_default = withStandardDecorators(tool136);
|
|
11552
|
+
var inputSchema138 = z.object({});
|
|
11553
|
+
var outputSchema118 = z.object({ items: getTrafficFilterAllResponse });
|
|
11554
|
+
var tool137 = {
|
|
10924
11555
|
name: "get-traffic-filter-all",
|
|
10925
11556
|
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.",
|
|
10926
|
-
inputSchema:
|
|
10927
|
-
outputSchema:
|
|
11557
|
+
inputSchema: inputSchema138.shape,
|
|
11558
|
+
outputSchema: outputSchema118,
|
|
10928
11559
|
slices: ["list"],
|
|
10929
11560
|
annotations: { readOnlyHint: true },
|
|
10930
11561
|
handler: async () => {
|
|
@@ -10937,14 +11568,14 @@ var tool134 = {
|
|
|
10937
11568
|
return result;
|
|
10938
11569
|
}
|
|
10939
11570
|
};
|
|
10940
|
-
var get_traffic_filter_all_default = withStandardDecorators(
|
|
10941
|
-
var
|
|
10942
|
-
var
|
|
10943
|
-
var
|
|
11571
|
+
var get_traffic_filter_all_default = withStandardDecorators(tool137);
|
|
11572
|
+
var inputSchema139 = z.object({});
|
|
11573
|
+
var outputSchema119 = getTrafficFilterEmptyResponse;
|
|
11574
|
+
var tool138 = {
|
|
10944
11575
|
name: "get-traffic-filter-empty",
|
|
10945
11576
|
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.",
|
|
10946
|
-
inputSchema:
|
|
10947
|
-
outputSchema:
|
|
11577
|
+
inputSchema: inputSchema139.shape,
|
|
11578
|
+
outputSchema: outputSchema119,
|
|
10948
11579
|
slices: ["other"],
|
|
10949
11580
|
annotations: { readOnlyHint: true },
|
|
10950
11581
|
handler: async () => {
|
|
@@ -10953,10 +11584,10 @@ var tool135 = {
|
|
|
10953
11584
|
);
|
|
10954
11585
|
}
|
|
10955
11586
|
};
|
|
10956
|
-
var get_traffic_filter_empty_default = withStandardDecorators(
|
|
11587
|
+
var get_traffic_filter_empty_default = withStandardDecorators(tool138);
|
|
10957
11588
|
|
|
10958
11589
|
// src/umbraco-api/tools/traffic-filter/index.ts
|
|
10959
|
-
var
|
|
11590
|
+
var collection32 = {
|
|
10960
11591
|
metadata: {
|
|
10961
11592
|
name: "traffic-filter",
|
|
10962
11593
|
displayName: "Traffic Filter",
|
|
@@ -10964,7 +11595,7 @@ var collection31 = {
|
|
|
10964
11595
|
},
|
|
10965
11596
|
tools: () => [delete_traffic_filter_default, get_traffic_filter_default, post_traffic_filter_default, get_traffic_filter_all_default, get_traffic_filter_empty_default]
|
|
10966
11597
|
};
|
|
10967
|
-
var traffic_filter_default =
|
|
11598
|
+
var traffic_filter_default = collection32;
|
|
10968
11599
|
var toolSliceNames = [
|
|
10969
11600
|
// Base slices from toolkit (create, read, update, delete, list)
|
|
10970
11601
|
...baseSliceNames,
|
|
@@ -11010,7 +11641,7 @@ var toolModes = [
|
|
|
11010
11641
|
{
|
|
11011
11642
|
name: "administration",
|
|
11012
11643
|
displayName: "Administration",
|
|
11013
|
-
description: "Configuration, permissions, data cleanup, main switch and
|
|
11644
|
+
description: "Configuration, permissions, data cleanup, main switch, package and setup status",
|
|
11014
11645
|
collections: [
|
|
11015
11646
|
"configuration",
|
|
11016
11647
|
"main-switch",
|
|
@@ -11020,7 +11651,8 @@ var toolModes = [
|
|
|
11020
11651
|
"document-type-permissions",
|
|
11021
11652
|
"data-cleanup",
|
|
11022
11653
|
"traffic-filter",
|
|
11023
|
-
"suspicious-activity"
|
|
11654
|
+
"suspicious-activity",
|
|
11655
|
+
"start-page"
|
|
11024
11656
|
]
|
|
11025
11657
|
},
|
|
11026
11658
|
{
|
|
@@ -11090,28 +11722,41 @@ function clearConfigCache() {
|
|
|
11090
11722
|
}
|
|
11091
11723
|
|
|
11092
11724
|
// src/config/umbraco-target.generated.ts
|
|
11093
|
-
var UMBRACO_TARGET_MAJOR = "
|
|
11725
|
+
var UMBRACO_TARGET_MAJOR = "19";
|
|
11094
11726
|
|
|
11095
11727
|
// src/config/engage-version.ts
|
|
11096
|
-
var MIN_ENGAGE_VERSION = "
|
|
11728
|
+
var MIN_ENGAGE_VERSION = "19.0.0-rc2";
|
|
11097
11729
|
var VERSION_SENSITIVE_TOOLS = /* @__PURE__ */ new Set([
|
|
11098
11730
|
"get-ab-test",
|
|
11099
11731
|
"get-ab-test-all",
|
|
11100
11732
|
"get-ab-test-empty",
|
|
11101
|
-
"get-ab-test-page",
|
|
11102
11733
|
"get-ab-test-project",
|
|
11103
11734
|
"get-ab-test-project-all",
|
|
11104
|
-
"get-ab-test-
|
|
11735
|
+
"get-ab-test-variant",
|
|
11736
|
+
"get-ab-test-variant-all",
|
|
11737
|
+
"get-ab-test-variant-segment",
|
|
11105
11738
|
"get-ab-test-view-model",
|
|
11739
|
+
"get-applied-personalization-all",
|
|
11740
|
+
"get-applied-personalization-id",
|
|
11741
|
+
"get-applied-personalization-segment",
|
|
11106
11742
|
"get-configuration",
|
|
11743
|
+
"get-content-types-segmented-property",
|
|
11744
|
+
"get-data-cleanup-last-run",
|
|
11745
|
+
"get-heatmaps-variants",
|
|
11746
|
+
"get-suspicious-activity-overview",
|
|
11107
11747
|
"post-ab-test",
|
|
11108
|
-
"post-ab-test-archive",
|
|
11109
|
-
"post-ab-test-end",
|
|
11110
11748
|
"post-ab-test-project",
|
|
11749
|
+
"post-ab-test-runtime-indication",
|
|
11750
|
+
"post-ab-test-segment",
|
|
11111
11751
|
"post-ab-test-start",
|
|
11112
11752
|
"post-ab-test-stop",
|
|
11113
|
-
"post-ab-test-
|
|
11753
|
+
"post-ab-test-variant",
|
|
11754
|
+
"post-ab-test-variant-create",
|
|
11755
|
+
"post-ab-test-variant-details",
|
|
11756
|
+
"post-ab-test-variant-disable",
|
|
11114
11757
|
"post-analytics-query",
|
|
11758
|
+
"post-applied-personalization",
|
|
11759
|
+
"post-applied-personalization-segment",
|
|
11115
11760
|
"put-ab-test-project"
|
|
11116
11761
|
]);
|
|
11117
11762
|
var VERSION_PATTERN = /^v?(\d+)\.(\d+)(?:\.(\d+))?(?:-([0-9A-Za-z.-]+))?(?:\+.*)?$/;
|
|
@@ -11201,9 +11846,9 @@ function engageVersionWarning(status) {
|
|
|
11201
11846
|
function engageVersionToolError(status) {
|
|
11202
11847
|
return `Umbraco Engage ${status.version} is older than ${status.minimum}, which this tool needs. Upgrade Umbraco Engage to ${status.minimum} or later.`;
|
|
11203
11848
|
}
|
|
11204
|
-
function guardVersionSensitiveHandler(
|
|
11205
|
-
if (status.state !== "too-old" || !sensitiveTools.has(
|
|
11206
|
-
return
|
|
11849
|
+
function guardVersionSensitiveHandler(tool139, status, sensitiveTools = VERSION_SENSITIVE_TOOLS) {
|
|
11850
|
+
if (status.state !== "too-old" || !sensitiveTools.has(tool139.name)) {
|
|
11851
|
+
return tool139.handler;
|
|
11207
11852
|
}
|
|
11208
11853
|
const message = engageVersionToolError(status);
|
|
11209
11854
|
const blocked = async () => ({
|
|
@@ -11279,6 +11924,7 @@ var collections = [
|
|
|
11279
11924
|
reporting_default,
|
|
11280
11925
|
search_terms_default,
|
|
11281
11926
|
segments_default,
|
|
11927
|
+
start_page_default,
|
|
11282
11928
|
statistics_default,
|
|
11283
11929
|
suspicious_activity_default,
|
|
11284
11930
|
traffic_filter_default
|
|
@@ -11297,22 +11943,22 @@ var server = new McpServer(
|
|
|
11297
11943
|
instructions ? { instructions } : void 0
|
|
11298
11944
|
);
|
|
11299
11945
|
var registeredToolCount = 0;
|
|
11300
|
-
for (const
|
|
11301
|
-
const collectionName =
|
|
11302
|
-
const tools =
|
|
11303
|
-
for (const
|
|
11304
|
-
if (!shouldIncludeTool(
|
|
11946
|
+
for (const collection33 of collections) {
|
|
11947
|
+
const collectionName = collection33.metadata.name;
|
|
11948
|
+
const tools = collection33.tools({});
|
|
11949
|
+
for (const tool139 of tools) {
|
|
11950
|
+
if (!shouldIncludeTool(tool139, { collectionName, config: filterConfig })) {
|
|
11305
11951
|
continue;
|
|
11306
11952
|
}
|
|
11307
|
-
const annotations = createToolAnnotations(
|
|
11308
|
-
server.registerTool(
|
|
11309
|
-
description:
|
|
11310
|
-
inputSchema:
|
|
11953
|
+
const annotations = createToolAnnotations(tool139);
|
|
11954
|
+
server.registerTool(tool139.name, {
|
|
11955
|
+
description: tool139.description,
|
|
11956
|
+
inputSchema: tool139.inputSchema,
|
|
11311
11957
|
// In dry-run, a mutation tool returns a preview rather than its real
|
|
11312
11958
|
// result, so its outputSchema must not be advertised (or enforced).
|
|
11313
|
-
outputSchema: getRegisteredOutputSchema(
|
|
11959
|
+
outputSchema: getRegisteredOutputSchema(tool139),
|
|
11314
11960
|
annotations
|
|
11315
|
-
}, guardVersionSensitiveHandler(
|
|
11961
|
+
}, guardVersionSensitiveHandler(tool139, engageVersionStatus));
|
|
11316
11962
|
registeredToolCount++;
|
|
11317
11963
|
}
|
|
11318
11964
|
}
|