@n8n/stores 2.32.2 → 2.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/dist/cloudPlan.store.cjs +7 -0
  2. package/dist/cloudPlan.store.d.cts +534 -0
  3. package/dist/cloudPlan.store.d.mts +534 -0
  4. package/dist/cloudPlan.store.mjs +7 -0
  5. package/dist/cloudPlan2.store.cjs +247 -0
  6. package/dist/cloudPlan2.store.cjs.map +1 -0
  7. package/dist/cloudPlan2.store.mjs +242 -0
  8. package/dist/cloudPlan2.store.mjs.map +1 -0
  9. package/dist/composables/useBasePageRedirectionHelper.cjs +87 -0
  10. package/dist/composables/useBasePageRedirectionHelper.cjs.map +1 -0
  11. package/dist/composables/useBasePageRedirectionHelper.d.cts +16 -0
  12. package/dist/composables/useBasePageRedirectionHelper.d.mts +16 -0
  13. package/dist/composables/useBasePageRedirectionHelper.mjs +87 -0
  14. package/dist/composables/useBasePageRedirectionHelper.mjs.map +1 -0
  15. package/dist/constants2.cjs +2 -0
  16. package/dist/constants2.cjs.map +1 -1
  17. package/dist/constants2.d.cts +2 -0
  18. package/dist/constants2.d.mts +2 -0
  19. package/dist/constants2.mjs +2 -0
  20. package/dist/constants2.mjs.map +1 -1
  21. package/dist/invitation.api.cjs +4 -0
  22. package/dist/invitation.api.d.cts +2 -0
  23. package/dist/invitation.api.d.mts +2 -0
  24. package/dist/invitation.api.mjs +3 -0
  25. package/dist/invitation2.api.cjs +26 -0
  26. package/dist/invitation2.api.cjs.map +1 -0
  27. package/dist/invitation2.api.d.cts +30 -0
  28. package/dist/invitation2.api.d.mts +30 -0
  29. package/dist/invitation2.api.mjs +14 -0
  30. package/dist/invitation2.api.mjs.map +1 -0
  31. package/dist/modalOpeners.cjs +0 -0
  32. package/dist/modalOpeners.d.cts +2 -0
  33. package/dist/modalOpeners.d.mts +2 -0
  34. package/dist/modalOpeners.mjs +1 -0
  35. package/dist/modalOpeners2.d.cts +11 -0
  36. package/dist/modalOpeners2.d.mts +11 -0
  37. package/dist/notifications.store.cjs +27 -0
  38. package/dist/notifications.store.cjs.map +1 -0
  39. package/dist/notifications.store.d.cts +15 -0
  40. package/dist/notifications.store.d.mts +15 -0
  41. package/dist/notifications.store.mjs +26 -0
  42. package/dist/notifications.store.mjs.map +1 -0
  43. package/dist/onboarding.api.cjs +3 -0
  44. package/dist/onboarding.api.d.cts +7 -0
  45. package/dist/onboarding.api.d.mts +7 -0
  46. package/dist/onboarding.api.mjs +3 -0
  47. package/dist/onboarding2.api.cjs +24 -0
  48. package/dist/onboarding2.api.cjs.map +1 -0
  49. package/dist/onboarding2.api.mjs +18 -0
  50. package/dist/onboarding2.api.mjs.map +1 -0
  51. package/dist/pageRedirection.d.cts +6 -0
  52. package/dist/pageRedirection.d.mts +6 -0
  53. package/dist/rbac.store.cjs +2 -1
  54. package/dist/rbac.store.cjs.map +1 -1
  55. package/dist/rbac.store.d.cts +123 -123
  56. package/dist/rbac.store.d.mts +124 -124
  57. package/dist/rbac.store.mjs +1 -1
  58. package/dist/roles.store.cjs +88 -0
  59. package/dist/roles.store.cjs.map +1 -0
  60. package/dist/roles.store.d.cts +637 -0
  61. package/dist/roles.store.d.mts +637 -0
  62. package/dist/roles.store.mjs +87 -0
  63. package/dist/roles.store.mjs.map +1 -0
  64. package/dist/settings.store.cjs +6 -0
  65. package/dist/settings.store.d.cts +3801 -0
  66. package/dist/settings.store.d.mts +3801 -0
  67. package/dist/settings.store.mjs +6 -0
  68. package/dist/settings2.store.cjs +387 -0
  69. package/dist/settings2.store.cjs.map +1 -0
  70. package/dist/settings2.store.mjs +348 -0
  71. package/dist/settings2.store.mjs.map +1 -0
  72. package/dist/types/pageRedirection.cjs +0 -0
  73. package/dist/types/pageRedirection.d.cts +2 -0
  74. package/dist/types/pageRedirection.d.mts +2 -0
  75. package/dist/types/pageRedirection.mjs +1 -0
  76. package/dist/useAgentRequestStore.cjs +1 -0
  77. package/dist/useAgentRequestStore.cjs.map +1 -1
  78. package/dist/useAgentRequestStore.d.cts +1 -1
  79. package/dist/useAgentRequestStore.d.mts +6 -6
  80. package/dist/useRootStore.cjs +4 -182
  81. package/dist/useRootStore.d.cts +73 -73
  82. package/dist/useRootStore.d.mts +73 -73
  83. package/dist/useRootStore.mjs +4 -182
  84. package/dist/useRootStore2.cjs +189 -0
  85. package/dist/useRootStore2.cjs.map +1 -0
  86. package/dist/useRootStore2.mjs +183 -0
  87. package/dist/useRootStore2.mjs.map +1 -0
  88. package/dist/users.store.cjs +9 -0
  89. package/dist/users.store.d.cts +552 -0
  90. package/dist/users.store.d.mts +552 -0
  91. package/dist/users.store.mjs +9 -0
  92. package/dist/users2.store.cjs +362 -0
  93. package/dist/users2.store.cjs.map +1 -0
  94. package/dist/users2.store.mjs +353 -0
  95. package/dist/users2.store.mjs.map +1 -0
  96. package/dist/versions.store.cjs +11 -0
  97. package/dist/versions.store.d.cts +384 -0
  98. package/dist/versions.store.d.mts +384 -0
  99. package/dist/versions.store.mjs +10 -0
  100. package/dist/versions2.store.cjs +230 -0
  101. package/dist/versions2.store.cjs.map +1 -0
  102. package/dist/versions2.store.mjs +218 -0
  103. package/dist/versions2.store.mjs.map +1 -0
  104. package/package.json +13 -6
  105. package/dist/useRootStore.cjs.map +0 -1
  106. package/dist/useRootStore.mjs.map +0 -1
@@ -0,0 +1,16 @@
1
+ import { n as UTMCampaign, t as CloudUpdateLinkSourceType } from "../pageRedirection.cjs";
2
+
3
+ //#region src/composables/useBasePageRedirectionHelper.d.ts
4
+ type UpgradeRedirectGuard = () => Promise<boolean>;
5
+ declare function useBasePageRedirectionHelper({
6
+ guard
7
+ }: {
8
+ guard: UpgradeRedirectGuard;
9
+ }): {
10
+ goToDashboard: () => Promise<void>;
11
+ goToVersions: () => Promise<void>;
12
+ goToUpgrade: (source: CloudUpdateLinkSourceType, utm_campaign: UTMCampaign, mode?: "open" | "redirect") => Promise<void>;
13
+ };
14
+ //#endregion
15
+ export { UpgradeRedirectGuard, useBasePageRedirectionHelper };
16
+ //# sourceMappingURL=useBasePageRedirectionHelper.d.cts.map
@@ -0,0 +1,16 @@
1
+ import { n as UTMCampaign, t as CloudUpdateLinkSourceType } from "../pageRedirection.mjs";
2
+
3
+ //#region src/composables/useBasePageRedirectionHelper.d.ts
4
+ type UpgradeRedirectGuard = () => Promise<boolean>;
5
+ declare function useBasePageRedirectionHelper({
6
+ guard
7
+ }: {
8
+ guard: UpgradeRedirectGuard;
9
+ }): {
10
+ goToDashboard: () => Promise<void>;
11
+ goToVersions: () => Promise<void>;
12
+ goToUpgrade: (source: CloudUpdateLinkSourceType, utm_campaign: UTMCampaign, mode?: "open" | "redirect") => Promise<void>;
13
+ };
14
+ //#endregion
15
+ export { UpgradeRedirectGuard, useBasePageRedirectionHelper };
16
+ //# sourceMappingURL=useBasePageRedirectionHelper.d.mts.map
@@ -0,0 +1,87 @@
1
+ import "../constants2.mjs";
2
+ import "../metaTagConfig2.mjs";
3
+ import "../useRootStore2.mjs";
4
+ import { t as useSettingsStore } from "../settings2.store.mjs";
5
+ import { t as useCloudPlanStore } from "../cloudPlan2.store.mjs";
6
+ import "../invitation2.api.mjs";
7
+ import "../onboarding2.api.mjs";
8
+ import { t as useUsersStore } from "../users2.store.mjs";
9
+ import { n as useVersionsStore } from "../versions2.store.mjs";
10
+ import { useTelemetry } from "@n8n/composables/useTelemetry";
11
+ import { N8N_PRICING_PAGE_URL } from "@n8n/frontend-constants/urls";
12
+
13
+ //#region src/composables/useBasePageRedirectionHelper.ts
14
+ /**
15
+ * Injectable page-redirection composable. The app-facing `usePageRedirectionHelper`
16
+ * wraps this and supplies the guard, which keeps this base free of any feature
17
+ * dependency.
18
+ *
19
+ * It lives in `@n8n/stores` rather than `@n8n/composables` because its body is
20
+ * store orchestration end to end — all four stores it reads are in this package,
21
+ * and `@n8n/composables` sits *below* the stores tier (see that package's
22
+ * `packageBoundary.test.ts`), so it cannot reach them.
23
+ */
24
+ function useBasePageRedirectionHelper({ guard }) {
25
+ const usersStore = useUsersStore();
26
+ const cloudPlanStore = useCloudPlanStore();
27
+ const versionsStore = useVersionsStore();
28
+ const telemetry = useTelemetry();
29
+ const settingsStore = useSettingsStore();
30
+ /**
31
+ * If the user is an instance owner in the cloud, it generates an auto-login link to the
32
+ * cloud dashboard that redirects the user to the /manage page where they can upgrade to a new n8n version.
33
+ * Otherwise, it redirect them to our docs.
34
+ */
35
+ const goToVersions = async () => {
36
+ if (usersStore.isInstanceOwner && settingsStore.isCloudDeployment) {
37
+ location.href = await cloudPlanStore.generateCloudDashboardAutoLoginLink({ redirectionPath: "/manage" });
38
+ return;
39
+ }
40
+ window.open(versionsStore.infoUrl, "_blank", "noopener");
41
+ };
42
+ const goToDashboard = async () => {
43
+ if (usersStore.isInstanceOwner && settingsStore.isCloudDeployment) {
44
+ const dashboardLink = await cloudPlanStore.generateCloudDashboardAutoLoginLink({ redirectionPath: "/dashboard" });
45
+ location.href = dashboardLink;
46
+ }
47
+ };
48
+ /**
49
+ * If the user is an instance owner in the cloud, it generates an auto-login link to the
50
+ * cloud dashboard that redirects the user to the /account/change-plan page where they upgrade/downgrade the current plan.
51
+ * Otherwise, it redirect them our website.
52
+ */
53
+ const goToUpgrade = async (source, utm_campaign, mode = "open") => {
54
+ if (!await guard()) return;
55
+ const { usageLeft, trialDaysLeft, userIsTrialing } = cloudPlanStore;
56
+ const { executionsLeft, workflowsLeft } = usageLeft;
57
+ const deploymentType = settingsStore.deploymentType;
58
+ telemetry.track("User clicked upgrade CTA", {
59
+ source,
60
+ isTrial: userIsTrialing,
61
+ deploymentType,
62
+ trialDaysLeft,
63
+ executionsLeft,
64
+ workflowsLeft
65
+ });
66
+ const upgradeLink = await generateUpgradeLink(source, utm_campaign);
67
+ if (mode === "open") window.open(upgradeLink, "_blank");
68
+ else location.href = upgradeLink;
69
+ };
70
+ const generateUpgradeLink = async (source, utm_campaign) => {
71
+ let upgradeLink = N8N_PRICING_PAGE_URL;
72
+ if (usersStore.isInstanceOwner && settingsStore.isCloudDeployment) upgradeLink = await cloudPlanStore.generateCloudDashboardAutoLoginLink({ redirectionPath: "/account/change-plan" });
73
+ const url = new URL(upgradeLink);
74
+ if (utm_campaign) url.searchParams.set("utm_campaign", utm_campaign);
75
+ if (source) url.searchParams.set("source", source);
76
+ return url.toString();
77
+ };
78
+ return {
79
+ goToDashboard,
80
+ goToVersions,
81
+ goToUpgrade
82
+ };
83
+ }
84
+
85
+ //#endregion
86
+ export { useBasePageRedirectionHelper };
87
+ //# sourceMappingURL=useBasePageRedirectionHelper.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useBasePageRedirectionHelper.mjs","names":[],"sources":["../../src/composables/useBasePageRedirectionHelper.ts"],"sourcesContent":["import { useTelemetry } from '@n8n/composables/useTelemetry';\nimport { N8N_PRICING_PAGE_URL } from '@n8n/frontend-constants/urls';\n\nimport { useCloudPlanStore } from '../cloudPlan.store';\nimport { useSettingsStore } from '../settings.store';\nimport type { CloudUpdateLinkSourceType, UTMCampaign } from '../types/pageRedirection';\nimport { useUsersStore } from '../users.store';\nimport { useVersionsStore } from '../versions.store';\n\n/**\n * Guard consulted before an upgrade redirect. Resolves `true` to proceed, `false`\n * to abort. Required and injected by the caller, so this composable carries no\n * feature dependency of its own (e.g. the AI builder streaming confirmation).\n */\nexport type UpgradeRedirectGuard = () => Promise<boolean>;\n\n/**\n * Injectable page-redirection composable. The app-facing `usePageRedirectionHelper`\n * wraps this and supplies the guard, which keeps this base free of any feature\n * dependency.\n *\n * It lives in `@n8n/stores` rather than `@n8n/composables` because its body is\n * store orchestration end to end — all four stores it reads are in this package,\n * and `@n8n/composables` sits *below* the stores tier (see that package's\n * `packageBoundary.test.ts`), so it cannot reach them.\n */\nexport function useBasePageRedirectionHelper({ guard }: { guard: UpgradeRedirectGuard }) {\n\tconst usersStore = useUsersStore();\n\tconst cloudPlanStore = useCloudPlanStore();\n\tconst versionsStore = useVersionsStore();\n\tconst telemetry = useTelemetry();\n\tconst settingsStore = useSettingsStore();\n\n\t/**\n\t * If the user is an instance owner in the cloud, it generates an auto-login link to the\n\t * cloud dashboard that redirects the user to the /manage page where they can upgrade to a new n8n version.\n\t * Otherwise, it redirect them to our docs.\n\t */\n\tconst goToVersions = async () => {\n\t\tif (usersStore.isInstanceOwner && settingsStore.isCloudDeployment) {\n\t\t\tlocation.href = await cloudPlanStore.generateCloudDashboardAutoLoginLink({\n\t\t\t\tredirectionPath: '/manage',\n\t\t\t});\n\t\t\treturn;\n\t\t}\n\n\t\twindow.open(versionsStore.infoUrl, '_blank', 'noopener');\n\t};\n\n\tconst goToDashboard = async () => {\n\t\tif (usersStore.isInstanceOwner && settingsStore.isCloudDeployment) {\n\t\t\tconst dashboardLink = await cloudPlanStore.generateCloudDashboardAutoLoginLink({\n\t\t\t\tredirectionPath: '/dashboard',\n\t\t\t});\n\n\t\t\tlocation.href = dashboardLink;\n\t\t}\n\n\t\treturn;\n\t};\n\n\t/**\n\t * If the user is an instance owner in the cloud, it generates an auto-login link to the\n\t * cloud dashboard that redirects the user to the /account/change-plan page where they upgrade/downgrade the current plan.\n\t * Otherwise, it redirect them our website.\n\t */\n\n\tconst goToUpgrade = async (\n\t\tsource: CloudUpdateLinkSourceType,\n\t\tutm_campaign: UTMCampaign,\n\t\tmode: 'open' | 'redirect' = 'open',\n\t) => {\n\t\tconst shouldProceed = await guard();\n\t\tif (!shouldProceed) return;\n\n\t\tconst { usageLeft, trialDaysLeft, userIsTrialing } = cloudPlanStore;\n\t\tconst { executionsLeft, workflowsLeft } = usageLeft;\n\t\tconst deploymentType = settingsStore.deploymentType;\n\n\t\ttelemetry.track('User clicked upgrade CTA', {\n\t\t\tsource,\n\t\t\tisTrial: userIsTrialing,\n\t\t\tdeploymentType,\n\t\t\ttrialDaysLeft,\n\t\t\texecutionsLeft,\n\t\t\tworkflowsLeft,\n\t\t});\n\n\t\tconst upgradeLink = await generateUpgradeLink(source, utm_campaign);\n\n\t\tif (mode === 'open') {\n\t\t\twindow.open(upgradeLink, '_blank');\n\t\t} else {\n\t\t\tlocation.href = upgradeLink;\n\t\t}\n\t};\n\n\tconst generateUpgradeLink = async (source: string, utm_campaign: string) => {\n\t\tlet upgradeLink = N8N_PRICING_PAGE_URL;\n\n\t\tif (usersStore.isInstanceOwner && settingsStore.isCloudDeployment) {\n\t\t\tupgradeLink = await cloudPlanStore.generateCloudDashboardAutoLoginLink({\n\t\t\t\tredirectionPath: '/account/change-plan',\n\t\t\t});\n\t\t}\n\n\t\tconst url = new URL(upgradeLink);\n\n\t\tif (utm_campaign) {\n\t\t\turl.searchParams.set('utm_campaign', utm_campaign);\n\t\t}\n\n\t\tif (source) {\n\t\t\turl.searchParams.set('source', source);\n\t\t}\n\n\t\treturn url.toString();\n\t};\n\n\treturn {\n\t\tgoToDashboard,\n\t\tgoToVersions,\n\t\tgoToUpgrade,\n\t};\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AA0BA,SAAgB,6BAA6B,EAAE,SAA0C;CACxF,MAAM,aAAa,eAAe;CAClC,MAAM,iBAAiB,mBAAmB;CAC1C,MAAM,gBAAgB,kBAAkB;CACxC,MAAM,YAAY,cAAc;CAChC,MAAM,gBAAgB,kBAAkB;;;;;;CAOxC,MAAM,eAAe,YAAY;AAChC,MAAI,WAAW,mBAAmB,cAAc,mBAAmB;AAClE,YAAS,OAAO,MAAM,eAAe,oCAAoC,EACxE,iBAAiB,WACjB,CAAC;AACF;;AAGD,SAAO,KAAK,cAAc,SAAS,UAAU,WAAW;;CAGzD,MAAM,gBAAgB,YAAY;AACjC,MAAI,WAAW,mBAAmB,cAAc,mBAAmB;GAClE,MAAM,gBAAgB,MAAM,eAAe,oCAAoC,EAC9E,iBAAiB,cACjB,CAAC;AAEF,YAAS,OAAO;;;;;;;;CAYlB,MAAM,cAAc,OACnB,QACA,cACA,OAA4B,WACxB;AAEJ,MAAI,CADkB,MAAM,OAAO,CACf;EAEpB,MAAM,EAAE,WAAW,eAAe,mBAAmB;EACrD,MAAM,EAAE,gBAAgB,kBAAkB;EAC1C,MAAM,iBAAiB,cAAc;AAErC,YAAU,MAAM,4BAA4B;GAC3C;GACA,SAAS;GACT;GACA;GACA;GACA;GACA,CAAC;EAEF,MAAM,cAAc,MAAM,oBAAoB,QAAQ,aAAa;AAEnE,MAAI,SAAS,OACZ,QAAO,KAAK,aAAa,SAAS;MAElC,UAAS,OAAO;;CAIlB,MAAM,sBAAsB,OAAO,QAAgB,iBAAyB;EAC3E,IAAI,cAAc;AAElB,MAAI,WAAW,mBAAmB,cAAc,kBAC/C,eAAc,MAAM,eAAe,oCAAoC,EACtE,iBAAiB,wBACjB,CAAC;EAGH,MAAM,MAAM,IAAI,IAAI,YAAY;AAEhC,MAAI,aACH,KAAI,aAAa,IAAI,gBAAgB,aAAa;AAGnD,MAAI,OACH,KAAI,aAAa,IAAI,UAAU,OAAO;AAGvC,SAAO,IAAI,UAAU;;AAGtB,QAAO;EACN;EACA;EACA;EACA"}
@@ -4,6 +4,7 @@ const STORES = {
4
4
  COMMUNITY_NODES: "communityNodes",
5
5
  ROOT: "root",
6
6
  SETTINGS: "settings",
7
+ NOTIFICATIONS: "notifications",
7
8
  UI: "ui",
8
9
  USERS: "users",
9
10
  WORKFLOWS: "workflows",
@@ -55,6 +56,7 @@ const STORES = {
55
56
  EXPERIMENT_CREDENTIALS_APP_SELECTION: "credentialsAppSelection",
56
57
  EXPERIMENT_SURFACE_MCP_TO_NEW_CLOUD_USERS: "surfaceMcpToNewCloudUsers",
57
58
  EXPERIMENT_EXPOSE_ALL_WORKFLOWS_TO_MCP: "exposeAllWorkflowsToMcp",
59
+ EXPERIMENT_TRIAL_INTRO_MODAL: "trialIntroModal",
58
60
  SETUP_PANEL: "setupPanel",
59
61
  FOCUSED_NODES: "focusedNodes",
60
62
  FAVORITES: "favorites",
@@ -1 +1 @@
1
- {"version":3,"file":"constants2.cjs","names":[],"sources":["../src/constants.ts"],"sourcesContent":["export const STORES = {\n\tCOMMUNITY_NODES: 'communityNodes',\n\tROOT: 'root',\n\tSETTINGS: 'settings',\n\tUI: 'ui',\n\tUSERS: 'users',\n\tWORKFLOWS: 'workflows',\n\tWORKFLOWS_LIST: 'workflowsList',\n\tWORKFLOWS_V2: 'workflowsV2',\n\tWORKFLOWS_EE: 'workflowsEE',\n\tWORKFLOW_DOCUMENTS: 'workflowDocuments',\n\tEXECUTION_DATA: 'executionData',\n\tWORKFLOW_EXECUTION_STATES: 'workflowExecutionStates',\n\tEXECUTIONS: 'executions',\n\tNDV: 'ndv',\n\tTEMPLATES: 'templates',\n\tNODE_TYPES: 'nodeTypes',\n\tCREDENTIALS: 'credentials',\n\tTAGS: 'tags',\n\tANNOTATION_TAGS: 'annotationTags',\n\tVERSIONS: 'versions',\n\tNODE_CREATOR: 'nodeCreator',\n\tWEBHOOKS: 'webhooks',\n\tHISTORY: 'history',\n\tCLOUD_PLAN: 'cloudPlan',\n\tRBAC: 'rbac',\n\tPUSH: 'push',\n\tCOLLABORATION: 'collaboration',\n\tASSISTANT: 'assistant',\n\tBUILDER: 'builder',\n\tCHAT_PANEL: 'chatPanel',\n\tCHAT_PANEL_STATE: 'chatPanelState',\n\tBECOME_TEMPLATE_CREATOR: 'becomeTemplateCreator',\n\tPROJECTS: 'projects',\n\tAPI_KEYS: 'apiKeys',\n\tEVALUATION: 'evaluation',\n\tEVAL_COLLECTIONS: 'evalCollections',\n\tFOLDERS: 'folders',\n\tMODULES: 'modules',\n\tFOCUS_PANEL: 'focusPanel',\n\tAI_TEMPLATES_STARTER_COLLECTION: 'aiTemplatesStarterCollection',\n\tPERSONALIZED_TEMPLATES: 'personalizedTemplates',\n\tEXPERIMENT_READY_TO_RUN_WORKFLOWS: 'readyToRunWorkflows',\n\tEXPERIMENT_READY_TO_RUN_WORKFLOWS_V2: 'readyToRunWorkflowsV2',\n\tEXPERIMENT_TEMPLATE_RECO_V2: 'templateRecoV2',\n\tPERSONALIZED_TEMPLATES_V3: 'personalizedTemplatesV3',\n\tREADY_TO_RUN: 'readyToRun',\n\tTEMPLATES_DATA_QUALITY: 'templatesDataQuality',\n\tBANNERS: 'banners',\n\tCONSENT: 'consent',\n\tCHAT_HUB: 'chatHub',\n\tCHAT_HUB_PANEL: 'chatHubPanel',\n\tEXPERIMENT_CREDENTIALS_APP_SELECTION: 'credentialsAppSelection',\n\tEXPERIMENT_SURFACE_MCP_TO_NEW_CLOUD_USERS: 'surfaceMcpToNewCloudUsers',\n\tEXPERIMENT_EXPOSE_ALL_WORKFLOWS_TO_MCP: 'exposeAllWorkflowsToMcp',\n\tSETUP_PANEL: 'setupPanel',\n\tFOCUSED_NODES: 'focusedNodes',\n\tFAVORITES: 'favorites',\n\tAI_GATEWAY: 'aiGateway',\n\tEVALUATIONS_WIZARD_SIDEPANEL: 'evaluationsWizardSidepanel',\n} as const;\n"],"mappings":";;AAAA,MAAa,SAAS;CACrB,iBAAiB;CACjB,MAAM;CACN,UAAU;CACV,IAAI;CACJ,OAAO;CACP,WAAW;CACX,gBAAgB;CAChB,cAAc;CACd,cAAc;CACd,oBAAoB;CACpB,gBAAgB;CAChB,2BAA2B;CAC3B,YAAY;CACZ,KAAK;CACL,WAAW;CACX,YAAY;CACZ,aAAa;CACb,MAAM;CACN,iBAAiB;CACjB,UAAU;CACV,cAAc;CACd,UAAU;CACV,SAAS;CACT,YAAY;CACZ,MAAM;CACN,MAAM;CACN,eAAe;CACf,WAAW;CACX,SAAS;CACT,YAAY;CACZ,kBAAkB;CAClB,yBAAyB;CACzB,UAAU;CACV,UAAU;CACV,YAAY;CACZ,kBAAkB;CAClB,SAAS;CACT,SAAS;CACT,aAAa;CACb,iCAAiC;CACjC,wBAAwB;CACxB,mCAAmC;CACnC,sCAAsC;CACtC,6BAA6B;CAC7B,2BAA2B;CAC3B,cAAc;CACd,wBAAwB;CACxB,SAAS;CACT,SAAS;CACT,UAAU;CACV,gBAAgB;CAChB,sCAAsC;CACtC,2CAA2C;CAC3C,wCAAwC;CACxC,aAAa;CACb,eAAe;CACf,WAAW;CACX,YAAY;CACZ,8BAA8B;CAC9B"}
1
+ {"version":3,"file":"constants2.cjs","names":[],"sources":["../src/constants.ts"],"sourcesContent":["export const STORES = {\n\tCOMMUNITY_NODES: 'communityNodes',\n\tROOT: 'root',\n\tSETTINGS: 'settings',\n\tNOTIFICATIONS: 'notifications',\n\tUI: 'ui',\n\tUSERS: 'users',\n\tWORKFLOWS: 'workflows',\n\tWORKFLOWS_LIST: 'workflowsList',\n\tWORKFLOWS_V2: 'workflowsV2',\n\tWORKFLOWS_EE: 'workflowsEE',\n\tWORKFLOW_DOCUMENTS: 'workflowDocuments',\n\tEXECUTION_DATA: 'executionData',\n\tWORKFLOW_EXECUTION_STATES: 'workflowExecutionStates',\n\tEXECUTIONS: 'executions',\n\tNDV: 'ndv',\n\tTEMPLATES: 'templates',\n\tNODE_TYPES: 'nodeTypes',\n\tCREDENTIALS: 'credentials',\n\tTAGS: 'tags',\n\tANNOTATION_TAGS: 'annotationTags',\n\tVERSIONS: 'versions',\n\tNODE_CREATOR: 'nodeCreator',\n\tWEBHOOKS: 'webhooks',\n\tHISTORY: 'history',\n\tCLOUD_PLAN: 'cloudPlan',\n\tRBAC: 'rbac',\n\tPUSH: 'push',\n\tCOLLABORATION: 'collaboration',\n\tASSISTANT: 'assistant',\n\tBUILDER: 'builder',\n\tCHAT_PANEL: 'chatPanel',\n\tCHAT_PANEL_STATE: 'chatPanelState',\n\tBECOME_TEMPLATE_CREATOR: 'becomeTemplateCreator',\n\tPROJECTS: 'projects',\n\tAPI_KEYS: 'apiKeys',\n\tEVALUATION: 'evaluation',\n\tEVAL_COLLECTIONS: 'evalCollections',\n\tFOLDERS: 'folders',\n\tMODULES: 'modules',\n\tFOCUS_PANEL: 'focusPanel',\n\tAI_TEMPLATES_STARTER_COLLECTION: 'aiTemplatesStarterCollection',\n\tPERSONALIZED_TEMPLATES: 'personalizedTemplates',\n\tEXPERIMENT_READY_TO_RUN_WORKFLOWS: 'readyToRunWorkflows',\n\tEXPERIMENT_READY_TO_RUN_WORKFLOWS_V2: 'readyToRunWorkflowsV2',\n\tEXPERIMENT_TEMPLATE_RECO_V2: 'templateRecoV2',\n\tPERSONALIZED_TEMPLATES_V3: 'personalizedTemplatesV3',\n\tREADY_TO_RUN: 'readyToRun',\n\tTEMPLATES_DATA_QUALITY: 'templatesDataQuality',\n\tBANNERS: 'banners',\n\tCONSENT: 'consent',\n\tCHAT_HUB: 'chatHub',\n\tCHAT_HUB_PANEL: 'chatHubPanel',\n\tEXPERIMENT_CREDENTIALS_APP_SELECTION: 'credentialsAppSelection',\n\tEXPERIMENT_SURFACE_MCP_TO_NEW_CLOUD_USERS: 'surfaceMcpToNewCloudUsers',\n\tEXPERIMENT_EXPOSE_ALL_WORKFLOWS_TO_MCP: 'exposeAllWorkflowsToMcp',\n\tEXPERIMENT_TRIAL_INTRO_MODAL: 'trialIntroModal',\n\tSETUP_PANEL: 'setupPanel',\n\tFOCUSED_NODES: 'focusedNodes',\n\tFAVORITES: 'favorites',\n\tAI_GATEWAY: 'aiGateway',\n\tEVALUATIONS_WIZARD_SIDEPANEL: 'evaluationsWizardSidepanel',\n} as const;\n"],"mappings":";;AAAA,MAAa,SAAS;CACrB,iBAAiB;CACjB,MAAM;CACN,UAAU;CACV,eAAe;CACf,IAAI;CACJ,OAAO;CACP,WAAW;CACX,gBAAgB;CAChB,cAAc;CACd,cAAc;CACd,oBAAoB;CACpB,gBAAgB;CAChB,2BAA2B;CAC3B,YAAY;CACZ,KAAK;CACL,WAAW;CACX,YAAY;CACZ,aAAa;CACb,MAAM;CACN,iBAAiB;CACjB,UAAU;CACV,cAAc;CACd,UAAU;CACV,SAAS;CACT,YAAY;CACZ,MAAM;CACN,MAAM;CACN,eAAe;CACf,WAAW;CACX,SAAS;CACT,YAAY;CACZ,kBAAkB;CAClB,yBAAyB;CACzB,UAAU;CACV,UAAU;CACV,YAAY;CACZ,kBAAkB;CAClB,SAAS;CACT,SAAS;CACT,aAAa;CACb,iCAAiC;CACjC,wBAAwB;CACxB,mCAAmC;CACnC,sCAAsC;CACtC,6BAA6B;CAC7B,2BAA2B;CAC3B,cAAc;CACd,wBAAwB;CACxB,SAAS;CACT,SAAS;CACT,UAAU;CACV,gBAAgB;CAChB,sCAAsC;CACtC,2CAA2C;CAC3C,wCAAwC;CACxC,8BAA8B;CAC9B,aAAa;CACb,eAAe;CACf,WAAW;CACX,YAAY;CACZ,8BAA8B;CAC9B"}
@@ -3,6 +3,7 @@ declare const STORES: {
3
3
  readonly COMMUNITY_NODES: "communityNodes";
4
4
  readonly ROOT: "root";
5
5
  readonly SETTINGS: "settings";
6
+ readonly NOTIFICATIONS: "notifications";
6
7
  readonly UI: "ui";
7
8
  readonly USERS: "users";
8
9
  readonly WORKFLOWS: "workflows";
@@ -54,6 +55,7 @@ declare const STORES: {
54
55
  readonly EXPERIMENT_CREDENTIALS_APP_SELECTION: "credentialsAppSelection";
55
56
  readonly EXPERIMENT_SURFACE_MCP_TO_NEW_CLOUD_USERS: "surfaceMcpToNewCloudUsers";
56
57
  readonly EXPERIMENT_EXPOSE_ALL_WORKFLOWS_TO_MCP: "exposeAllWorkflowsToMcp";
58
+ readonly EXPERIMENT_TRIAL_INTRO_MODAL: "trialIntroModal";
57
59
  readonly SETUP_PANEL: "setupPanel";
58
60
  readonly FOCUSED_NODES: "focusedNodes";
59
61
  readonly FAVORITES: "favorites";
@@ -3,6 +3,7 @@ declare const STORES: {
3
3
  readonly COMMUNITY_NODES: "communityNodes";
4
4
  readonly ROOT: "root";
5
5
  readonly SETTINGS: "settings";
6
+ readonly NOTIFICATIONS: "notifications";
6
7
  readonly UI: "ui";
7
8
  readonly USERS: "users";
8
9
  readonly WORKFLOWS: "workflows";
@@ -54,6 +55,7 @@ declare const STORES: {
54
55
  readonly EXPERIMENT_CREDENTIALS_APP_SELECTION: "credentialsAppSelection";
55
56
  readonly EXPERIMENT_SURFACE_MCP_TO_NEW_CLOUD_USERS: "surfaceMcpToNewCloudUsers";
56
57
  readonly EXPERIMENT_EXPOSE_ALL_WORKFLOWS_TO_MCP: "exposeAllWorkflowsToMcp";
58
+ readonly EXPERIMENT_TRIAL_INTRO_MODAL: "trialIntroModal";
57
59
  readonly SETUP_PANEL: "setupPanel";
58
60
  readonly FOCUSED_NODES: "focusedNodes";
59
61
  readonly FAVORITES: "favorites";
@@ -3,6 +3,7 @@ const STORES = {
3
3
  COMMUNITY_NODES: "communityNodes",
4
4
  ROOT: "root",
5
5
  SETTINGS: "settings",
6
+ NOTIFICATIONS: "notifications",
6
7
  UI: "ui",
7
8
  USERS: "users",
8
9
  WORKFLOWS: "workflows",
@@ -54,6 +55,7 @@ const STORES = {
54
55
  EXPERIMENT_CREDENTIALS_APP_SELECTION: "credentialsAppSelection",
55
56
  EXPERIMENT_SURFACE_MCP_TO_NEW_CLOUD_USERS: "surfaceMcpToNewCloudUsers",
56
57
  EXPERIMENT_EXPOSE_ALL_WORKFLOWS_TO_MCP: "exposeAllWorkflowsToMcp",
58
+ EXPERIMENT_TRIAL_INTRO_MODAL: "trialIntroModal",
57
59
  SETUP_PANEL: "setupPanel",
58
60
  FOCUSED_NODES: "focusedNodes",
59
61
  FAVORITES: "favorites",
@@ -1 +1 @@
1
- {"version":3,"file":"constants2.mjs","names":[],"sources":["../src/constants.ts"],"sourcesContent":["export const STORES = {\n\tCOMMUNITY_NODES: 'communityNodes',\n\tROOT: 'root',\n\tSETTINGS: 'settings',\n\tUI: 'ui',\n\tUSERS: 'users',\n\tWORKFLOWS: 'workflows',\n\tWORKFLOWS_LIST: 'workflowsList',\n\tWORKFLOWS_V2: 'workflowsV2',\n\tWORKFLOWS_EE: 'workflowsEE',\n\tWORKFLOW_DOCUMENTS: 'workflowDocuments',\n\tEXECUTION_DATA: 'executionData',\n\tWORKFLOW_EXECUTION_STATES: 'workflowExecutionStates',\n\tEXECUTIONS: 'executions',\n\tNDV: 'ndv',\n\tTEMPLATES: 'templates',\n\tNODE_TYPES: 'nodeTypes',\n\tCREDENTIALS: 'credentials',\n\tTAGS: 'tags',\n\tANNOTATION_TAGS: 'annotationTags',\n\tVERSIONS: 'versions',\n\tNODE_CREATOR: 'nodeCreator',\n\tWEBHOOKS: 'webhooks',\n\tHISTORY: 'history',\n\tCLOUD_PLAN: 'cloudPlan',\n\tRBAC: 'rbac',\n\tPUSH: 'push',\n\tCOLLABORATION: 'collaboration',\n\tASSISTANT: 'assistant',\n\tBUILDER: 'builder',\n\tCHAT_PANEL: 'chatPanel',\n\tCHAT_PANEL_STATE: 'chatPanelState',\n\tBECOME_TEMPLATE_CREATOR: 'becomeTemplateCreator',\n\tPROJECTS: 'projects',\n\tAPI_KEYS: 'apiKeys',\n\tEVALUATION: 'evaluation',\n\tEVAL_COLLECTIONS: 'evalCollections',\n\tFOLDERS: 'folders',\n\tMODULES: 'modules',\n\tFOCUS_PANEL: 'focusPanel',\n\tAI_TEMPLATES_STARTER_COLLECTION: 'aiTemplatesStarterCollection',\n\tPERSONALIZED_TEMPLATES: 'personalizedTemplates',\n\tEXPERIMENT_READY_TO_RUN_WORKFLOWS: 'readyToRunWorkflows',\n\tEXPERIMENT_READY_TO_RUN_WORKFLOWS_V2: 'readyToRunWorkflowsV2',\n\tEXPERIMENT_TEMPLATE_RECO_V2: 'templateRecoV2',\n\tPERSONALIZED_TEMPLATES_V3: 'personalizedTemplatesV3',\n\tREADY_TO_RUN: 'readyToRun',\n\tTEMPLATES_DATA_QUALITY: 'templatesDataQuality',\n\tBANNERS: 'banners',\n\tCONSENT: 'consent',\n\tCHAT_HUB: 'chatHub',\n\tCHAT_HUB_PANEL: 'chatHubPanel',\n\tEXPERIMENT_CREDENTIALS_APP_SELECTION: 'credentialsAppSelection',\n\tEXPERIMENT_SURFACE_MCP_TO_NEW_CLOUD_USERS: 'surfaceMcpToNewCloudUsers',\n\tEXPERIMENT_EXPOSE_ALL_WORKFLOWS_TO_MCP: 'exposeAllWorkflowsToMcp',\n\tSETUP_PANEL: 'setupPanel',\n\tFOCUSED_NODES: 'focusedNodes',\n\tFAVORITES: 'favorites',\n\tAI_GATEWAY: 'aiGateway',\n\tEVALUATIONS_WIZARD_SIDEPANEL: 'evaluationsWizardSidepanel',\n} as const;\n"],"mappings":";AAAA,MAAa,SAAS;CACrB,iBAAiB;CACjB,MAAM;CACN,UAAU;CACV,IAAI;CACJ,OAAO;CACP,WAAW;CACX,gBAAgB;CAChB,cAAc;CACd,cAAc;CACd,oBAAoB;CACpB,gBAAgB;CAChB,2BAA2B;CAC3B,YAAY;CACZ,KAAK;CACL,WAAW;CACX,YAAY;CACZ,aAAa;CACb,MAAM;CACN,iBAAiB;CACjB,UAAU;CACV,cAAc;CACd,UAAU;CACV,SAAS;CACT,YAAY;CACZ,MAAM;CACN,MAAM;CACN,eAAe;CACf,WAAW;CACX,SAAS;CACT,YAAY;CACZ,kBAAkB;CAClB,yBAAyB;CACzB,UAAU;CACV,UAAU;CACV,YAAY;CACZ,kBAAkB;CAClB,SAAS;CACT,SAAS;CACT,aAAa;CACb,iCAAiC;CACjC,wBAAwB;CACxB,mCAAmC;CACnC,sCAAsC;CACtC,6BAA6B;CAC7B,2BAA2B;CAC3B,cAAc;CACd,wBAAwB;CACxB,SAAS;CACT,SAAS;CACT,UAAU;CACV,gBAAgB;CAChB,sCAAsC;CACtC,2CAA2C;CAC3C,wCAAwC;CACxC,aAAa;CACb,eAAe;CACf,WAAW;CACX,YAAY;CACZ,8BAA8B;CAC9B"}
1
+ {"version":3,"file":"constants2.mjs","names":[],"sources":["../src/constants.ts"],"sourcesContent":["export const STORES = {\n\tCOMMUNITY_NODES: 'communityNodes',\n\tROOT: 'root',\n\tSETTINGS: 'settings',\n\tNOTIFICATIONS: 'notifications',\n\tUI: 'ui',\n\tUSERS: 'users',\n\tWORKFLOWS: 'workflows',\n\tWORKFLOWS_LIST: 'workflowsList',\n\tWORKFLOWS_V2: 'workflowsV2',\n\tWORKFLOWS_EE: 'workflowsEE',\n\tWORKFLOW_DOCUMENTS: 'workflowDocuments',\n\tEXECUTION_DATA: 'executionData',\n\tWORKFLOW_EXECUTION_STATES: 'workflowExecutionStates',\n\tEXECUTIONS: 'executions',\n\tNDV: 'ndv',\n\tTEMPLATES: 'templates',\n\tNODE_TYPES: 'nodeTypes',\n\tCREDENTIALS: 'credentials',\n\tTAGS: 'tags',\n\tANNOTATION_TAGS: 'annotationTags',\n\tVERSIONS: 'versions',\n\tNODE_CREATOR: 'nodeCreator',\n\tWEBHOOKS: 'webhooks',\n\tHISTORY: 'history',\n\tCLOUD_PLAN: 'cloudPlan',\n\tRBAC: 'rbac',\n\tPUSH: 'push',\n\tCOLLABORATION: 'collaboration',\n\tASSISTANT: 'assistant',\n\tBUILDER: 'builder',\n\tCHAT_PANEL: 'chatPanel',\n\tCHAT_PANEL_STATE: 'chatPanelState',\n\tBECOME_TEMPLATE_CREATOR: 'becomeTemplateCreator',\n\tPROJECTS: 'projects',\n\tAPI_KEYS: 'apiKeys',\n\tEVALUATION: 'evaluation',\n\tEVAL_COLLECTIONS: 'evalCollections',\n\tFOLDERS: 'folders',\n\tMODULES: 'modules',\n\tFOCUS_PANEL: 'focusPanel',\n\tAI_TEMPLATES_STARTER_COLLECTION: 'aiTemplatesStarterCollection',\n\tPERSONALIZED_TEMPLATES: 'personalizedTemplates',\n\tEXPERIMENT_READY_TO_RUN_WORKFLOWS: 'readyToRunWorkflows',\n\tEXPERIMENT_READY_TO_RUN_WORKFLOWS_V2: 'readyToRunWorkflowsV2',\n\tEXPERIMENT_TEMPLATE_RECO_V2: 'templateRecoV2',\n\tPERSONALIZED_TEMPLATES_V3: 'personalizedTemplatesV3',\n\tREADY_TO_RUN: 'readyToRun',\n\tTEMPLATES_DATA_QUALITY: 'templatesDataQuality',\n\tBANNERS: 'banners',\n\tCONSENT: 'consent',\n\tCHAT_HUB: 'chatHub',\n\tCHAT_HUB_PANEL: 'chatHubPanel',\n\tEXPERIMENT_CREDENTIALS_APP_SELECTION: 'credentialsAppSelection',\n\tEXPERIMENT_SURFACE_MCP_TO_NEW_CLOUD_USERS: 'surfaceMcpToNewCloudUsers',\n\tEXPERIMENT_EXPOSE_ALL_WORKFLOWS_TO_MCP: 'exposeAllWorkflowsToMcp',\n\tEXPERIMENT_TRIAL_INTRO_MODAL: 'trialIntroModal',\n\tSETUP_PANEL: 'setupPanel',\n\tFOCUSED_NODES: 'focusedNodes',\n\tFAVORITES: 'favorites',\n\tAI_GATEWAY: 'aiGateway',\n\tEVALUATIONS_WIZARD_SIDEPANEL: 'evaluationsWizardSidepanel',\n} as const;\n"],"mappings":";AAAA,MAAa,SAAS;CACrB,iBAAiB;CACjB,MAAM;CACN,UAAU;CACV,eAAe;CACf,IAAI;CACJ,OAAO;CACP,WAAW;CACX,gBAAgB;CAChB,cAAc;CACd,cAAc;CACd,oBAAoB;CACpB,gBAAgB;CAChB,2BAA2B;CAC3B,YAAY;CACZ,KAAK;CACL,WAAW;CACX,YAAY;CACZ,aAAa;CACb,MAAM;CACN,iBAAiB;CACjB,UAAU;CACV,cAAc;CACd,UAAU;CACV,SAAS;CACT,YAAY;CACZ,MAAM;CACN,MAAM;CACN,eAAe;CACf,WAAW;CACX,SAAS;CACT,YAAY;CACZ,kBAAkB;CAClB,yBAAyB;CACzB,UAAU;CACV,UAAU;CACV,YAAY;CACZ,kBAAkB;CAClB,SAAS;CACT,SAAS;CACT,aAAa;CACb,iCAAiC;CACjC,wBAAwB;CACxB,mCAAmC;CACnC,sCAAsC;CACtC,6BAA6B;CAC7B,2BAA2B;CAC3B,cAAc;CACd,wBAAwB;CACxB,SAAS;CACT,SAAS;CACT,UAAU;CACV,gBAAgB;CAChB,sCAAsC;CACtC,2CAA2C;CAC3C,wCAAwC;CACxC,8BAA8B;CAC9B,aAAa;CACb,eAAe;CACf,WAAW;CACX,YAAY;CACZ,8BAA8B;CAC9B"}
@@ -0,0 +1,4 @@
1
+ const require_invitation_api = require('./invitation2.api.cjs');
2
+
3
+ exports.acceptInvitation = require_invitation_api.acceptInvitation;
4
+ exports.inviteUsers = require_invitation_api.inviteUsers;
@@ -0,0 +1,2 @@
1
+ import { n as acceptInvitation, r as inviteUsers, t as IInviteResponse } from "./invitation2.api.cjs";
2
+ export { IInviteResponse, acceptInvitation, inviteUsers };
@@ -0,0 +1,2 @@
1
+ import { n as acceptInvitation, r as inviteUsers, t as IInviteResponse } from "./invitation2.api.mjs";
2
+ export { IInviteResponse, acceptInvitation, inviteUsers };
@@ -0,0 +1,3 @@
1
+ import { n as inviteUsers, t as acceptInvitation } from "./invitation2.api.mjs";
2
+
3
+ export { acceptInvitation, inviteUsers };
@@ -0,0 +1,26 @@
1
+ const require_settings_store = require('./settings2.store.cjs');
2
+ let __n8n_rest_api_client = require("@n8n/rest-api-client");
3
+
4
+ //#region src/invitation.api.ts
5
+ async function inviteUsers(context, params) {
6
+ return await (0, __n8n_rest_api_client.makeRestApiRequest)(context, "POST", "/invitations", params);
7
+ }
8
+ async function acceptInvitation(context, params) {
9
+ if (!params.token) throw new Error("Token is required");
10
+ return await (0, __n8n_rest_api_client.makeRestApiRequest)(context, "POST", "/invitations/accept", params);
11
+ }
12
+
13
+ //#endregion
14
+ Object.defineProperty(exports, 'acceptInvitation', {
15
+ enumerable: true,
16
+ get: function () {
17
+ return acceptInvitation;
18
+ }
19
+ });
20
+ Object.defineProperty(exports, 'inviteUsers', {
21
+ enumerable: true,
22
+ get: function () {
23
+ return inviteUsers;
24
+ }
25
+ });
26
+ //# sourceMappingURL=invitation2.api.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invitation2.api.cjs","names":[],"sources":["../src/invitation.api.ts"],"sourcesContent":["import type { Role } from '@n8n/api-types';\nimport type { AssignableGlobalRole } from '@n8n/permissions';\nimport type { IRestApiContext } from '@n8n/rest-api-client';\nimport { makeRestApiRequest } from '@n8n/rest-api-client';\nimport type { CurrentUserResponse } from '@n8n/rest-api-client/api/users';\nimport type { IDataObject } from 'n8n-workflow';\n\nexport interface IInviteResponse {\n\tuser: {\n\t\tid: string;\n\t\temail: string;\n\t\temailSent: boolean;\n\t\tinviteAcceptUrl: string;\n\t\trole: Role;\n\t};\n\terror?: string;\n}\n\ntype AcceptInvitationParams = {\n\ttoken: string;\n\tfirstName: string;\n\tlastName: string;\n\tpassword: string;\n};\n\nexport async function inviteUsers(\n\tcontext: IRestApiContext,\n\tparams: Array<{ email: string; role: AssignableGlobalRole }>,\n) {\n\treturn await makeRestApiRequest<IInviteResponse[]>(context, 'POST', '/invitations', params);\n}\n\nexport async function acceptInvitation(context: IRestApiContext, params: AcceptInvitationParams) {\n\tif (!params.token) {\n\t\tthrow new Error('Token is required');\n\t}\n\n\treturn await makeRestApiRequest<CurrentUserResponse>(\n\t\tcontext,\n\t\t'POST',\n\t\t'/invitations/accept',\n\t\tparams as unknown as IDataObject,\n\t);\n}\n"],"mappings":";;;;AAyBA,eAAsB,YACrB,SACA,QACC;AACD,QAAO,oDAA4C,SAAS,QAAQ,gBAAgB,OAAO;;AAG5F,eAAsB,iBAAiB,SAA0B,QAAgC;AAChG,KAAI,CAAC,OAAO,MACX,OAAM,IAAI,MAAM,oBAAoB;AAGrC,QAAO,oDACN,SACA,QACA,uBACA,OACA"}
@@ -0,0 +1,30 @@
1
+ import { Role } from "@n8n/api-types";
2
+ import { AssignableGlobalRole } from "@n8n/permissions";
3
+ import { IRestApiContext } from "@n8n/rest-api-client";
4
+ import { CurrentUserResponse } from "@n8n/rest-api-client/api/users";
5
+
6
+ //#region src/invitation.api.d.ts
7
+ interface IInviteResponse {
8
+ user: {
9
+ id: string;
10
+ email: string;
11
+ emailSent: boolean;
12
+ inviteAcceptUrl: string;
13
+ role: Role;
14
+ };
15
+ error?: string;
16
+ }
17
+ type AcceptInvitationParams = {
18
+ token: string;
19
+ firstName: string;
20
+ lastName: string;
21
+ password: string;
22
+ };
23
+ declare function inviteUsers(context: IRestApiContext, params: Array<{
24
+ email: string;
25
+ role: AssignableGlobalRole;
26
+ }>): Promise<IInviteResponse[]>;
27
+ declare function acceptInvitation(context: IRestApiContext, params: AcceptInvitationParams): Promise<CurrentUserResponse>;
28
+ //#endregion
29
+ export { acceptInvitation as n, inviteUsers as r, IInviteResponse as t };
30
+ //# sourceMappingURL=invitation2.api.d.cts.map
@@ -0,0 +1,30 @@
1
+ import { Role } from "@n8n/api-types";
2
+ import { IRestApiContext } from "@n8n/rest-api-client";
3
+ import { AssignableGlobalRole } from "@n8n/permissions";
4
+ import { CurrentUserResponse } from "@n8n/rest-api-client/api/users";
5
+
6
+ //#region src/invitation.api.d.ts
7
+ interface IInviteResponse {
8
+ user: {
9
+ id: string;
10
+ email: string;
11
+ emailSent: boolean;
12
+ inviteAcceptUrl: string;
13
+ role: Role;
14
+ };
15
+ error?: string;
16
+ }
17
+ type AcceptInvitationParams = {
18
+ token: string;
19
+ firstName: string;
20
+ lastName: string;
21
+ password: string;
22
+ };
23
+ declare function inviteUsers(context: IRestApiContext, params: Array<{
24
+ email: string;
25
+ role: AssignableGlobalRole;
26
+ }>): Promise<IInviteResponse[]>;
27
+ declare function acceptInvitation(context: IRestApiContext, params: AcceptInvitationParams): Promise<CurrentUserResponse>;
28
+ //#endregion
29
+ export { acceptInvitation as n, inviteUsers as r, IInviteResponse as t };
30
+ //# sourceMappingURL=invitation2.api.d.mts.map
@@ -0,0 +1,14 @@
1
+ import { makeRestApiRequest } from "@n8n/rest-api-client";
2
+
3
+ //#region src/invitation.api.ts
4
+ async function inviteUsers(context, params) {
5
+ return await makeRestApiRequest(context, "POST", "/invitations", params);
6
+ }
7
+ async function acceptInvitation(context, params) {
8
+ if (!params.token) throw new Error("Token is required");
9
+ return await makeRestApiRequest(context, "POST", "/invitations/accept", params);
10
+ }
11
+
12
+ //#endregion
13
+ export { inviteUsers as n, acceptInvitation as t };
14
+ //# sourceMappingURL=invitation2.api.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invitation2.api.mjs","names":[],"sources":["../src/invitation.api.ts"],"sourcesContent":["import type { Role } from '@n8n/api-types';\nimport type { AssignableGlobalRole } from '@n8n/permissions';\nimport type { IRestApiContext } from '@n8n/rest-api-client';\nimport { makeRestApiRequest } from '@n8n/rest-api-client';\nimport type { CurrentUserResponse } from '@n8n/rest-api-client/api/users';\nimport type { IDataObject } from 'n8n-workflow';\n\nexport interface IInviteResponse {\n\tuser: {\n\t\tid: string;\n\t\temail: string;\n\t\temailSent: boolean;\n\t\tinviteAcceptUrl: string;\n\t\trole: Role;\n\t};\n\terror?: string;\n}\n\ntype AcceptInvitationParams = {\n\ttoken: string;\n\tfirstName: string;\n\tlastName: string;\n\tpassword: string;\n};\n\nexport async function inviteUsers(\n\tcontext: IRestApiContext,\n\tparams: Array<{ email: string; role: AssignableGlobalRole }>,\n) {\n\treturn await makeRestApiRequest<IInviteResponse[]>(context, 'POST', '/invitations', params);\n}\n\nexport async function acceptInvitation(context: IRestApiContext, params: AcceptInvitationParams) {\n\tif (!params.token) {\n\t\tthrow new Error('Token is required');\n\t}\n\n\treturn await makeRestApiRequest<CurrentUserResponse>(\n\t\tcontext,\n\t\t'POST',\n\t\t'/invitations/accept',\n\t\tparams as unknown as IDataObject,\n\t);\n}\n"],"mappings":";;;AAyBA,eAAsB,YACrB,SACA,QACC;AACD,QAAO,MAAM,mBAAsC,SAAS,QAAQ,gBAAgB,OAAO;;AAG5F,eAAsB,iBAAiB,SAA0B,QAAgC;AAChG,KAAI,CAAC,OAAO,MACX,OAAM,IAAI,MAAM,oBAAoB;AAGrC,QAAO,MAAM,mBACZ,SACA,QACA,uBACA,OACA"}
File without changes
@@ -0,0 +1,2 @@
1
+ import { t as ModalOpeners } from "./modalOpeners2.cjs";
2
+ export { ModalOpeners };
@@ -0,0 +1,2 @@
1
+ import { t as ModalOpeners } from "./modalOpeners2.mjs";
2
+ export { ModalOpeners };
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1,11 @@
1
+ //#region src/modalOpeners.d.ts
2
+ interface ModalOpeners {
3
+ openModal(name: string): void;
4
+ openModalWithData(payload: {
5
+ name: string;
6
+ data: Record<string, unknown>;
7
+ }): void;
8
+ }
9
+ //#endregion
10
+ export { ModalOpeners as t };
11
+ //# sourceMappingURL=modalOpeners2.d.cts.map
@@ -0,0 +1,11 @@
1
+ //#region src/modalOpeners.d.ts
2
+ interface ModalOpeners {
3
+ openModal(name: string): void;
4
+ openModalWithData(payload: {
5
+ name: string;
6
+ data: Record<string, unknown>;
7
+ }): void;
8
+ }
9
+ //#endregion
10
+ export { ModalOpeners as t };
11
+ //# sourceMappingURL=modalOpeners2.d.mts.map
@@ -0,0 +1,27 @@
1
+ const require_settings_store = require('./settings2.store.cjs');
2
+ const require_constants = require('./constants2.cjs');
3
+ let pinia = require("pinia");
4
+ let vue = require("vue");
5
+
6
+ //#region src/notifications.store.ts
7
+ /**
8
+ * Notification state extracted from `ui.store`: the suppression flags read by
9
+ * the toast layer.
10
+ */
11
+ const useNotificationsStore = (0, pinia.defineStore)(require_constants.STORES.NOTIFICATIONS, () => {
12
+ const areNotificationsSuppressed = (0, vue.ref)(false);
13
+ const allowErrorNotificationsWhenSuppressed = (0, vue.ref)(false);
14
+ const setNotificationsSuppressed = (suppressed, options) => {
15
+ areNotificationsSuppressed.value = suppressed;
16
+ allowErrorNotificationsWhenSuppressed.value = suppressed && options?.allowErrors === true;
17
+ };
18
+ return {
19
+ areNotificationsSuppressed,
20
+ allowErrorNotificationsWhenSuppressed,
21
+ setNotificationsSuppressed
22
+ };
23
+ });
24
+
25
+ //#endregion
26
+ exports.useNotificationsStore = useNotificationsStore;
27
+ //# sourceMappingURL=notifications.store.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notifications.store.cjs","names":["STORES"],"sources":["../src/notifications.store.ts"],"sourcesContent":["import { defineStore } from 'pinia';\nimport { ref, type Ref } from 'vue';\n\nimport { STORES } from './constants';\n\n/**\n * Public surface of the notifications store. Declared explicitly so the emitted\n * type declarations reference these named types instead of inlining the\n * structural Vue ref types, keeping the declarations portable across the package\n * boundary.\n */\nexport interface NotificationsStore {\n\tareNotificationsSuppressed: Ref<boolean>;\n\tallowErrorNotificationsWhenSuppressed: Ref<boolean>;\n\tsetNotificationsSuppressed: (suppressed: boolean, options?: { allowErrors?: boolean }) => void;\n}\n\n/**\n * Notification state extracted from `ui.store`: the suppression flags read by\n * the toast layer.\n */\nexport const useNotificationsStore = defineStore(STORES.NOTIFICATIONS, (): NotificationsStore => {\n\tconst areNotificationsSuppressed = ref(false);\n\tconst allowErrorNotificationsWhenSuppressed = ref(false);\n\n\tconst setNotificationsSuppressed = (suppressed: boolean, options?: { allowErrors?: boolean }) => {\n\t\tareNotificationsSuppressed.value = suppressed;\n\t\tallowErrorNotificationsWhenSuppressed.value = suppressed && options?.allowErrors === true;\n\t};\n\n\treturn {\n\t\tareNotificationsSuppressed,\n\t\tallowErrorNotificationsWhenSuppressed,\n\t\tsetNotificationsSuppressed,\n\t};\n});\n"],"mappings":";;;;;;;;;;AAqBA,MAAa,+CAAoCA,yBAAO,qBAAyC;CAChG,MAAM,0CAAiC,MAAM;CAC7C,MAAM,qDAA4C,MAAM;CAExD,MAAM,8BAA8B,YAAqB,YAAwC;AAChG,6BAA2B,QAAQ;AACnC,wCAAsC,QAAQ,cAAc,SAAS,gBAAgB;;AAGtF,QAAO;EACN;EACA;EACA;EACA;EACA"}
@@ -0,0 +1,15 @@
1
+ import { Ref } from "vue";
2
+ import * as pinia1 from "pinia";
3
+
4
+ //#region src/notifications.store.d.ts
5
+ interface NotificationsStore {
6
+ areNotificationsSuppressed: Ref<boolean>;
7
+ allowErrorNotificationsWhenSuppressed: Ref<boolean>;
8
+ setNotificationsSuppressed: (suppressed: boolean, options?: {
9
+ allowErrors?: boolean;
10
+ }) => void;
11
+ }
12
+ declare const useNotificationsStore: pinia1.StoreDefinition<"notifications", Pick<NotificationsStore, "areNotificationsSuppressed" | "allowErrorNotificationsWhenSuppressed">, Pick<NotificationsStore, never>, Pick<NotificationsStore, "setNotificationsSuppressed">>;
13
+ //#endregion
14
+ export { NotificationsStore, useNotificationsStore };
15
+ //# sourceMappingURL=notifications.store.d.cts.map
@@ -0,0 +1,15 @@
1
+ import * as pinia0 from "pinia";
2
+ import { Ref } from "vue";
3
+
4
+ //#region src/notifications.store.d.ts
5
+ interface NotificationsStore {
6
+ areNotificationsSuppressed: Ref<boolean>;
7
+ allowErrorNotificationsWhenSuppressed: Ref<boolean>;
8
+ setNotificationsSuppressed: (suppressed: boolean, options?: {
9
+ allowErrors?: boolean;
10
+ }) => void;
11
+ }
12
+ declare const useNotificationsStore: pinia0.StoreDefinition<"notifications", Pick<NotificationsStore, "areNotificationsSuppressed" | "allowErrorNotificationsWhenSuppressed">, Pick<NotificationsStore, never>, Pick<NotificationsStore, "setNotificationsSuppressed">>;
13
+ //#endregion
14
+ export { NotificationsStore, useNotificationsStore };
15
+ //# sourceMappingURL=notifications.store.d.mts.map
@@ -0,0 +1,26 @@
1
+ import { t as STORES } from "./constants2.mjs";
2
+ import { defineStore } from "pinia";
3
+ import { ref } from "vue";
4
+
5
+ //#region src/notifications.store.ts
6
+ /**
7
+ * Notification state extracted from `ui.store`: the suppression flags read by
8
+ * the toast layer.
9
+ */
10
+ const useNotificationsStore = defineStore(STORES.NOTIFICATIONS, () => {
11
+ const areNotificationsSuppressed = ref(false);
12
+ const allowErrorNotificationsWhenSuppressed = ref(false);
13
+ const setNotificationsSuppressed = (suppressed, options) => {
14
+ areNotificationsSuppressed.value = suppressed;
15
+ allowErrorNotificationsWhenSuppressed.value = suppressed && options?.allowErrors === true;
16
+ };
17
+ return {
18
+ areNotificationsSuppressed,
19
+ allowErrorNotificationsWhenSuppressed,
20
+ setNotificationsSuppressed
21
+ };
22
+ });
23
+
24
+ //#endregion
25
+ export { useNotificationsStore };
26
+ //# sourceMappingURL=notifications.store.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notifications.store.mjs","names":[],"sources":["../src/notifications.store.ts"],"sourcesContent":["import { defineStore } from 'pinia';\nimport { ref, type Ref } from 'vue';\n\nimport { STORES } from './constants';\n\n/**\n * Public surface of the notifications store. Declared explicitly so the emitted\n * type declarations reference these named types instead of inlining the\n * structural Vue ref types, keeping the declarations portable across the package\n * boundary.\n */\nexport interface NotificationsStore {\n\tareNotificationsSuppressed: Ref<boolean>;\n\tallowErrorNotificationsWhenSuppressed: Ref<boolean>;\n\tsetNotificationsSuppressed: (suppressed: boolean, options?: { allowErrors?: boolean }) => void;\n}\n\n/**\n * Notification state extracted from `ui.store`: the suppression flags read by\n * the toast layer.\n */\nexport const useNotificationsStore = defineStore(STORES.NOTIFICATIONS, (): NotificationsStore => {\n\tconst areNotificationsSuppressed = ref(false);\n\tconst allowErrorNotificationsWhenSuppressed = ref(false);\n\n\tconst setNotificationsSuppressed = (suppressed: boolean, options?: { allowErrors?: boolean }) => {\n\t\tareNotificationsSuppressed.value = suppressed;\n\t\tallowErrorNotificationsWhenSuppressed.value = suppressed && options?.allowErrors === true;\n\t};\n\n\treturn {\n\t\tareNotificationsSuppressed,\n\t\tallowErrorNotificationsWhenSuppressed,\n\t\tsetNotificationsSuppressed,\n\t};\n});\n"],"mappings":";;;;;;;;;AAqBA,MAAa,wBAAwB,YAAY,OAAO,qBAAyC;CAChG,MAAM,6BAA6B,IAAI,MAAM;CAC7C,MAAM,wCAAwC,IAAI,MAAM;CAExD,MAAM,8BAA8B,YAAqB,YAAwC;AAChG,6BAA2B,QAAQ;AACnC,wCAAsC,QAAQ,cAAc,SAAS,gBAAgB;;AAGtF,QAAO;EACN;EACA;EACA;EACA;EACA"}
@@ -0,0 +1,3 @@
1
+ const require_onboarding_api = require('./onboarding2.api.cjs');
2
+
3
+ exports.submitEmailOnSignup = require_onboarding_api.submitEmailOnSignup;
@@ -0,0 +1,7 @@
1
+ import { IUser } from "@n8n/rest-api-client/api/users";
2
+
3
+ //#region src/onboarding.api.d.ts
4
+ declare function submitEmailOnSignup(instanceId: string, currentUser: IUser, email: string | undefined, agree: boolean): Promise<string>;
5
+ //#endregion
6
+ export { submitEmailOnSignup };
7
+ //# sourceMappingURL=onboarding.api.d.cts.map
@@ -0,0 +1,7 @@
1
+ import { IUser } from "@n8n/rest-api-client/api/users";
2
+
3
+ //#region src/onboarding.api.d.ts
4
+ declare function submitEmailOnSignup(instanceId: string, currentUser: IUser, email: string | undefined, agree: boolean): Promise<string>;
5
+ //#endregion
6
+ export { submitEmailOnSignup };
7
+ //# sourceMappingURL=onboarding.api.d.mts.map
@@ -0,0 +1,3 @@
1
+ import { t as submitEmailOnSignup } from "./onboarding2.api.mjs";
2
+
3
+ export { submitEmailOnSignup };
@@ -0,0 +1,24 @@
1
+ const require_settings_store = require('./settings2.store.cjs');
2
+ let __n8n_rest_api_client = require("@n8n/rest-api-client");
3
+
4
+ //#region src/onboarding.api.ts
5
+ const N8N_API_BASE_URL = "https://api.n8n.io/api";
6
+ const CONTACT_EMAIL_SUBMISSION_ENDPOINT = "/accounts/onboarding";
7
+ async function submitEmailOnSignup(instanceId, currentUser, email, agree) {
8
+ return await (0, __n8n_rest_api_client.post)(N8N_API_BASE_URL, CONTACT_EMAIL_SUBMISSION_ENDPOINT, {
9
+ instance_id: instanceId,
10
+ user_id: `${instanceId}#${currentUser.id}`,
11
+ email,
12
+ agree,
13
+ agree_updates: true
14
+ });
15
+ }
16
+
17
+ //#endregion
18
+ Object.defineProperty(exports, 'submitEmailOnSignup', {
19
+ enumerable: true,
20
+ get: function () {
21
+ return submitEmailOnSignup;
22
+ }
23
+ });
24
+ //# sourceMappingURL=onboarding2.api.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onboarding2.api.cjs","names":[],"sources":["../src/onboarding.api.ts"],"sourcesContent":["import { post } from '@n8n/rest-api-client';\nimport type { IUser } from '@n8n/rest-api-client/api/users';\n\nconst N8N_API_BASE_URL = 'https://api.n8n.io/api';\nconst CONTACT_EMAIL_SUBMISSION_ENDPOINT = '/accounts/onboarding';\n\nexport async function submitEmailOnSignup(\n\tinstanceId: string,\n\tcurrentUser: IUser,\n\temail: string | undefined,\n\tagree: boolean,\n): Promise<string> {\n\t// `post` targets the external onboarding API and is untyped; the response is the\n\t// created onboarding record id.\n\treturn (await post(N8N_API_BASE_URL, CONTACT_EMAIL_SUBMISSION_ENDPOINT, {\n\t\tinstance_id: instanceId,\n\t\tuser_id: `${instanceId}#${currentUser.id}`,\n\t\temail,\n\t\tagree,\n\t\tagree_updates: true,\n\t})) as string;\n}\n"],"mappings":";;;;AAGA,MAAM,mBAAmB;AACzB,MAAM,oCAAoC;AAE1C,eAAsB,oBACrB,YACA,aACA,OACA,OACkB;AAGlB,QAAQ,sCAAW,kBAAkB,mCAAmC;EACvE,aAAa;EACb,SAAS,GAAG,WAAW,GAAG,YAAY;EACtC;EACA;EACA,eAAe;EACf,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { post } from "@n8n/rest-api-client";
2
+
3
+ //#region src/onboarding.api.ts
4
+ const N8N_API_BASE_URL = "https://api.n8n.io/api";
5
+ const CONTACT_EMAIL_SUBMISSION_ENDPOINT = "/accounts/onboarding";
6
+ async function submitEmailOnSignup(instanceId, currentUser, email, agree) {
7
+ return await post(N8N_API_BASE_URL, CONTACT_EMAIL_SUBMISSION_ENDPOINT, {
8
+ instance_id: instanceId,
9
+ user_id: `${instanceId}#${currentUser.id}`,
10
+ email,
11
+ agree,
12
+ agree_updates: true
13
+ });
14
+ }
15
+
16
+ //#endregion
17
+ export { submitEmailOnSignup as t };
18
+ //# sourceMappingURL=onboarding2.api.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onboarding2.api.mjs","names":[],"sources":["../src/onboarding.api.ts"],"sourcesContent":["import { post } from '@n8n/rest-api-client';\nimport type { IUser } from '@n8n/rest-api-client/api/users';\n\nconst N8N_API_BASE_URL = 'https://api.n8n.io/api';\nconst CONTACT_EMAIL_SUBMISSION_ENDPOINT = '/accounts/onboarding';\n\nexport async function submitEmailOnSignup(\n\tinstanceId: string,\n\tcurrentUser: IUser,\n\temail: string | undefined,\n\tagree: boolean,\n): Promise<string> {\n\t// `post` targets the external onboarding API and is untyped; the response is the\n\t// created onboarding record id.\n\treturn (await post(N8N_API_BASE_URL, CONTACT_EMAIL_SUBMISSION_ENDPOINT, {\n\t\tinstance_id: instanceId,\n\t\tuser_id: `${instanceId}#${currentUser.id}`,\n\t\temail,\n\t\tagree,\n\t\tagree_updates: true,\n\t})) as string;\n}\n"],"mappings":";;;AAGA,MAAM,mBAAmB;AACzB,MAAM,oCAAoC;AAE1C,eAAsB,oBACrB,YACA,aACA,OACA,OACkB;AAGlB,QAAQ,MAAM,KAAK,kBAAkB,mCAAmC;EACvE,aAAa;EACb,SAAS,GAAG,WAAW,GAAG,YAAY;EACtC;EACA;EACA,eAAe;EACf,CAAC"}
@@ -0,0 +1,6 @@
1
+ //#region src/types/pageRedirection.d.ts
2
+ type CloudUpdateLinkSourceType = 'advanced-permissions' | 'canvas-nav' | 'concurrency' | 'custom-data-filter' | 'workflow_sharing' | 'credential_sharing' | 'settings-n8n-api' | 'audit-logs' | 'ldap' | 'log-streaming' | 'source-control' | 'sso' | 'usage_page' | 'settings-users' | 'variables' | 'community-nodes' | 'workflow-history' | 'worker-view' | 'external-secrets' | 'rbac' | 'debug' | 'insights' | 'evaluations' | 'ai-builder-sidebar' | 'ai-builder-canvas' | 'custom-roles' | 'custom-roles-selector' | 'custom-roles-list' | 'main-sidebar' | 'chat-hub' | 'empty-state-builder-prompt' | 'instance-ai' | 'data-redaction' | 'workflow-settings' | 'trial-welcome-modal';
3
+ type UTMCampaign = 'upgrade-custom-data-filter' | 'upgrade-concurrency' | 'upgrade-workflow-sharing' | 'upgrade-credentials-sharing' | 'upgrade-api' | 'upgrade-audit-logs' | 'upgrade-ldap' | 'upgrade-log-streaming' | 'upgrade-source-control' | 'upgrade-sso' | 'open' | 'upgrade-users' | 'upgrade-variables' | 'upgrade-community-nodes' | 'upgrade-workflow-history' | 'upgrade-advanced-permissions' | 'upgrade-worker-view' | 'upgrade-external-secrets' | 'upgrade-rbac' | 'upgrade-debug' | 'upgrade-insights' | 'upgrade-evaluations' | 'upgrade-builder' | 'upgrade-custom-roles' | 'upgrade-canvas-nav' | 'upgrade-main-sidebar' | 'upgrade-instance-ai' | 'upgrade-data-redaction';
4
+ //#endregion
5
+ export { UTMCampaign as n, CloudUpdateLinkSourceType as t };
6
+ //# sourceMappingURL=pageRedirection.d.cts.map
@@ -0,0 +1,6 @@
1
+ //#region src/types/pageRedirection.d.ts
2
+ type CloudUpdateLinkSourceType = 'advanced-permissions' | 'canvas-nav' | 'concurrency' | 'custom-data-filter' | 'workflow_sharing' | 'credential_sharing' | 'settings-n8n-api' | 'audit-logs' | 'ldap' | 'log-streaming' | 'source-control' | 'sso' | 'usage_page' | 'settings-users' | 'variables' | 'community-nodes' | 'workflow-history' | 'worker-view' | 'external-secrets' | 'rbac' | 'debug' | 'insights' | 'evaluations' | 'ai-builder-sidebar' | 'ai-builder-canvas' | 'custom-roles' | 'custom-roles-selector' | 'custom-roles-list' | 'main-sidebar' | 'chat-hub' | 'empty-state-builder-prompt' | 'instance-ai' | 'data-redaction' | 'workflow-settings' | 'trial-welcome-modal';
3
+ type UTMCampaign = 'upgrade-custom-data-filter' | 'upgrade-concurrency' | 'upgrade-workflow-sharing' | 'upgrade-credentials-sharing' | 'upgrade-api' | 'upgrade-audit-logs' | 'upgrade-ldap' | 'upgrade-log-streaming' | 'upgrade-source-control' | 'upgrade-sso' | 'open' | 'upgrade-users' | 'upgrade-variables' | 'upgrade-community-nodes' | 'upgrade-workflow-history' | 'upgrade-advanced-permissions' | 'upgrade-worker-view' | 'upgrade-external-secrets' | 'upgrade-rbac' | 'upgrade-debug' | 'upgrade-insights' | 'upgrade-evaluations' | 'upgrade-builder' | 'upgrade-custom-roles' | 'upgrade-canvas-nav' | 'upgrade-main-sidebar' | 'upgrade-instance-ai' | 'upgrade-data-redaction';
4
+ //#endregion
5
+ export { UTMCampaign as n, CloudUpdateLinkSourceType as t };
6
+ //# sourceMappingURL=pageRedirection.d.mts.map