@n8n/rest-api-client 1.1.1 → 1.3.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.
- package/dist/api/index.cjs +38 -10
- package/dist/api/index.cjs.map +1 -1
- package/dist/api/index.d.cts +6 -1
- package/dist/api/index.d.ts +6 -1
- package/dist/api/index.js +43 -15
- package/dist/api/module-settings.cjs +8 -0
- package/dist/api/module-settings.cjs.map +1 -0
- package/dist/api/module-settings.d.cts +6 -0
- package/dist/api/module-settings.d.ts +6 -0
- package/dist/api/module-settings.js +8 -0
- package/dist/api/sso.cjs +8 -2
- package/dist/api/sso.cjs.map +1 -1
- package/dist/api/sso.d.cts +5 -2
- package/dist/api/sso.d.ts +5 -2
- package/dist/api/sso.js +7 -1
- package/dist/api/tags.cjs +2 -0
- package/dist/api/tags.cjs.map +1 -0
- package/dist/api/tags.d.cts +9 -0
- package/dist/api/tags.d.ts +9 -0
- package/dist/api/tags.js +2 -0
- package/dist/api/tags.js.map +1 -0
- package/dist/api/templates.cjs +20 -0
- package/dist/api/templates.cjs.map +1 -0
- package/dist/api/templates.d.cts +120 -0
- package/dist/api/templates.d.ts +120 -0
- package/dist/api/templates.js +20 -0
- package/dist/api/templates.js.map +1 -0
- package/dist/api/workflows.cjs +2 -0
- package/dist/api/workflows.cjs.map +1 -0
- package/dist/api/workflows.d.cts +39 -0
- package/dist/api/workflows.d.ts +39 -0
- package/dist/api/workflows.js +2 -0
- package/dist/api/workflows.js.map +1 -0
- package/dist/chunk-5HPYAEBR.cjs +13 -0
- package/dist/chunk-5HPYAEBR.cjs.map +1 -0
- package/dist/chunk-72B7PPKD.js +1 -0
- package/dist/chunk-72B7PPKD.js.map +1 -0
- package/dist/{chunk-F4D3NAQ4.js → chunk-7H2QUQ5E.js} +14 -2
- package/dist/chunk-7H2QUQ5E.js.map +1 -0
- package/dist/chunk-F2BR3GFD.cjs +1 -0
- package/dist/{chunk-7GMP4OAL.cjs.map → chunk-F2BR3GFD.cjs.map} +1 -1
- package/dist/chunk-GEZ7P5JL.cjs +55 -0
- package/dist/chunk-GEZ7P5JL.cjs.map +1 -0
- package/dist/chunk-GLSB4GH3.cjs +1 -0
- package/dist/chunk-GLSB4GH3.cjs.map +1 -0
- package/dist/chunk-LWPFHULW.js +13 -0
- package/dist/chunk-LWPFHULW.js.map +1 -0
- package/dist/chunk-P652HZKI.js +1 -0
- package/dist/chunk-P652HZKI.js.map +1 -0
- package/dist/{chunk-YLI653XY.cjs → chunk-PINAQIUH.cjs} +14 -2
- package/dist/chunk-PINAQIUH.cjs.map +1 -0
- package/dist/chunk-PUTYSFAZ.js +55 -0
- package/dist/chunk-PUTYSFAZ.js.map +1 -0
- package/dist/chunk-QGKFNOJQ.js +1 -0
- package/dist/chunk-QGKFNOJQ.js.map +1 -0
- package/dist/chunk-QUUEZXZJ.cjs +1 -0
- package/dist/chunk-QUUEZXZJ.cjs.map +1 -0
- package/dist/index.cjs +38 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +43 -15
- package/package.json +8 -8
- package/dist/chunk-7GMP4OAL.cjs +0 -1
- package/dist/chunk-F4D3NAQ4.js.map +0 -1
- package/dist/chunk-YLI653XY.cjs.map +0 -1
- package/dist/chunk-YUAOJ44N.js +0 -1
- /package/dist/{chunk-YUAOJ44N.js.map → api/module-settings.js.map} +0 -0
package/dist/api/index.cjs
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-GLSB4GH3.cjs');
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkRYFRJOLTcjs = require('../chunk-RYFRJOLT.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
var _chunkTPJH3ODZcjs = require('../chunk-TPJH3ODZ.cjs');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
var _chunkI7RGOI7Mcjs = require('../chunk-I7RGOI7M.cjs');
|
|
12
|
+
require('../chunk-QUUEZXZJ.cjs');
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
var _chunkEC4X5QK7cjs = require('../chunk-EC4X5QK7.cjs');
|
|
2
16
|
|
|
3
17
|
|
|
4
18
|
|
|
@@ -16,20 +30,23 @@ var _chunkSRXOQNCAcjs = require('../chunk-SRXOQNCA.cjs');
|
|
|
16
30
|
|
|
17
31
|
|
|
18
32
|
|
|
19
|
-
var _chunkYLI653XYcjs = require('../chunk-YLI653XY.cjs');
|
|
20
33
|
|
|
21
34
|
|
|
22
|
-
var _chunkVIX6KJAAcjs = require('../chunk-VIX6KJAA.cjs');
|
|
23
35
|
|
|
36
|
+
var _chunkPINAQIUHcjs = require('../chunk-PINAQIUH.cjs');
|
|
37
|
+
require('../chunk-F2BR3GFD.cjs');
|
|
24
38
|
|
|
25
|
-
var _chunkRYFRJOLTcjs = require('../chunk-RYFRJOLT.cjs');
|
|
26
39
|
|
|
27
40
|
|
|
28
|
-
var _chunkTPJH3ODZcjs = require('../chunk-TPJH3ODZ.cjs');
|
|
29
41
|
|
|
30
42
|
|
|
31
43
|
|
|
32
|
-
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
var _chunkGEZ7P5JLcjs = require('../chunk-GEZ7P5JL.cjs');
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
var _chunkVIX6KJAAcjs = require('../chunk-VIX6KJAA.cjs');
|
|
33
50
|
|
|
34
51
|
|
|
35
52
|
var _chunk4V4RUEM3cjs = require('../chunk-4V4RUEM3.cjs');
|
|
@@ -49,6 +66,7 @@ var _chunkV23ZNIFQcjs = require('../chunk-V23ZNIFQ.cjs');
|
|
|
49
66
|
var _chunk6BEPD323cjs = require('../chunk-6BEPD323.cjs');
|
|
50
67
|
|
|
51
68
|
|
|
69
|
+
var _chunk5HPYAEBRcjs = require('../chunk-5HPYAEBR.cjs');
|
|
52
70
|
|
|
53
71
|
|
|
54
72
|
|
|
@@ -58,13 +76,12 @@ var _chunk6BEPD323cjs = require('../chunk-6BEPD323.cjs');
|
|
|
58
76
|
|
|
59
77
|
|
|
60
78
|
|
|
61
|
-
var _chunkB5P5VN56cjs = require('../chunk-B5P5VN56.cjs');
|
|
62
79
|
|
|
63
80
|
|
|
64
|
-
var
|
|
81
|
+
var _chunkB5P5VN56cjs = require('../chunk-B5P5VN56.cjs');
|
|
65
82
|
|
|
66
83
|
|
|
67
|
-
var
|
|
84
|
+
var _chunk4IDLCD6Ccjs = require('../chunk-4IDLCD6C.cjs');
|
|
68
85
|
|
|
69
86
|
|
|
70
87
|
|
|
@@ -159,5 +176,16 @@ require('../chunk-BJZROXM5.cjs');
|
|
|
159
176
|
|
|
160
177
|
|
|
161
178
|
|
|
162
|
-
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
exports.canEnableMFA = _chunk6BEPD323cjs.canEnableMFA; exports.createApiKey = _chunkJAFCRNMHcjs.createApiKey; exports.deleteApiKey = _chunkJAFCRNMHcjs.deleteApiKey; exports.deleteDestinationFromDb = _chunk575X4GYWcjs.deleteDestinationFromDb; exports.disableMfa = _chunk6BEPD323cjs.disableMfa; exports.dismissBannerPermanently = _chunkVIX6KJAAcjs.dismissBannerPermanently; exports.enableMfa = _chunk6BEPD323cjs.enableMfa; exports.fetchCommunityNodeAttributes = _chunkB5P5VN56cjs.fetchCommunityNodeAttributes; exports.fetchCommunityNodeTypes = _chunkB5P5VN56cjs.fetchCommunityNodeTypes; exports.findWebhook = _chunkTPJH3ODZcjs.findWebhook; exports.getAdminPanelLoginCode = _chunkMOQI72I4cjs.getAdminPanelLoginCode; exports.getApiKeyScopes = _chunkJAFCRNMHcjs.getApiKeyScopes; exports.getApiKeys = _chunkJAFCRNMHcjs.getApiKeys; exports.getAvailableCommunityPackageCount = _chunkWCUCSPGIcjs.getAvailableCommunityPackageCount; exports.getBecomeCreatorCta = _chunk7TPC6CKZcjs.getBecomeCreatorCta; exports.getCategories = _chunkGEZ7P5JLcjs.getCategories; exports.getCloudUserInfo = _chunkMOQI72I4cjs.getCloudUserInfo; exports.getCollectionById = _chunkGEZ7P5JLcjs.getCollectionById; exports.getCollections = _chunkGEZ7P5JLcjs.getCollections; exports.getCurrentPlan = _chunkMOQI72I4cjs.getCurrentPlan; exports.getCurrentUsage = _chunkMOQI72I4cjs.getCurrentUsage; exports.getDestinationsFromBackend = _chunk575X4GYWcjs.getDestinationsFromBackend; exports.getEventNamesFromBackend = _chunk575X4GYWcjs.getEventNamesFromBackend; exports.getInstalledCommunityNodes = _chunkWCUCSPGIcjs.getInstalledCommunityNodes; exports.getLdapConfig = _chunkV23ZNIFQcjs.getLdapConfig; exports.getLdapSynchronizations = _chunkV23ZNIFQcjs.getLdapSynchronizations; exports.getLocalResourceMapperFields = _chunkB5P5VN56cjs.getLocalResourceMapperFields; exports.getMfaQR = _chunk6BEPD323cjs.getMfaQR; exports.getModuleSettings = _chunk5HPYAEBRcjs.getModuleSettings; exports.getNextVersions = _chunkRYFRJOLTcjs.getNextVersions; exports.getNodeParameterActionResult = _chunkB5P5VN56cjs.getNodeParameterActionResult; exports.getNodeParameterOptions = _chunkB5P5VN56cjs.getNodeParameterOptions; exports.getNodeTranslationHeaders = _chunkB5P5VN56cjs.getNodeTranslationHeaders; exports.getNodeTypes = _chunkB5P5VN56cjs.getNodeTypes; exports.getNodesInformation = _chunkB5P5VN56cjs.getNodesInformation; exports.getOidcConfig = _chunkPINAQIUHcjs.getOidcConfig; exports.getPromptsData = _chunkMGE7P7D5cjs.getPromptsData; exports.getResourceLocatorResults = _chunkB5P5VN56cjs.getResourceLocatorResults; exports.getResourceMapperFields = _chunkB5P5VN56cjs.getResourceMapperFields; exports.getRoles = _chunkGD7AFETXcjs.getRoles; exports.getSamlConfig = _chunkPINAQIUHcjs.getSamlConfig; exports.getSamlMetadata = _chunkPINAQIUHcjs.getSamlMetadata; exports.getSettings = _chunkSRXOQNCAcjs.getSettings; exports.getTemplateById = _chunkGEZ7P5JLcjs.getTemplateById; exports.getWorkflowHistory = _chunkI7RGOI7Mcjs.getWorkflowHistory; exports.getWorkflowTemplate = _chunkGEZ7P5JLcjs.getWorkflowTemplate; exports.getWorkflowVersion = _chunkI7RGOI7Mcjs.getWorkflowVersion; exports.getWorkflows = _chunkGEZ7P5JLcjs.getWorkflows; exports.hasDestinationId = _chunk575X4GYWcjs.hasDestinationId; exports.initOidcLogin = _chunkPINAQIUHcjs.initOidcLogin; exports.initSSO = _chunkPINAQIUHcjs.initSSO; exports.installNewPackage = _chunkWCUCSPGIcjs.installNewPackage; exports.runLdapSync = _chunkV23ZNIFQcjs.runLdapSync; exports.saveDestinationToDb = _chunk575X4GYWcjs.saveDestinationToDb; exports.saveOidcConfig = _chunkPINAQIUHcjs.saveOidcConfig; exports.saveSamlConfig = _chunkPINAQIUHcjs.saveSamlConfig; exports.sendConfirmationEmail = _chunkMOQI72I4cjs.sendConfirmationEmail; exports.sendGetWorkerStatus = _chunkEC4X5QK7cjs.sendGetWorkerStatus; exports.sendTestMessageToDestination = _chunk575X4GYWcjs.sendTestMessageToDestination; exports.sessionStarted = _chunk4V4RUEM3cjs.sessionStarted; exports.submitContactInfo = _chunkMGE7P7D5cjs.submitContactInfo; exports.testHealthEndpoint = _chunkGEZ7P5JLcjs.testHealthEndpoint; exports.testLdapConnection = _chunkV23ZNIFQcjs.testLdapConnection; exports.testSamlConfig = _chunkPINAQIUHcjs.testSamlConfig; exports.toggleSamlConfig = _chunkPINAQIUHcjs.toggleSamlConfig; exports.uninstallPackage = _chunkWCUCSPGIcjs.uninstallPackage; exports.updateApiKey = _chunkJAFCRNMHcjs.updateApiKey; exports.updateLdapConfig = _chunkV23ZNIFQcjs.updateLdapConfig; exports.updateNpsSurveyState = _chunk4IDLCD6Ccjs.updateNpsSurveyState; exports.updatePackage = _chunkWCUCSPGIcjs.updatePackage; exports.verifyMfaCode = _chunk6BEPD323cjs.verifyMfaCode;
|
|
163
191
|
//# sourceMappingURL=index.cjs.map
|
package/dist/api/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/n8n/n8n/packages/frontend/@n8n/rest-api-client/dist/api/index.cjs"],"names":[],"mappings":"AAAA,0GAA8B;AAC9B;AACE;
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/n8n/n8n/packages/frontend/@n8n/rest-api-client/dist/api/index.cjs"],"names":[],"mappings":"AAAA,0GAA8B;AAC9B;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,yDAA8B;AAC9B;AACE;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACF,yDAA8B;AAC9B;AACE;AACA;AACF,yDAA8B;AAC9B;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,0gJAAC","file":"/home/runner/work/n8n/n8n/packages/frontend/@n8n/rest-api-client/dist/api/index.cjs"}
|
package/dist/api/index.d.cts
CHANGED
|
@@ -12,13 +12,18 @@ export { sendGetWorkerStatus } from './orchestration.cjs';
|
|
|
12
12
|
export { N8nPromptResponse, N8nPrompts, getPromptsData, submitContactInfo } from './prompts.cjs';
|
|
13
13
|
export { getRoles } from './roles.cjs';
|
|
14
14
|
export { getSettings } from './settings.cjs';
|
|
15
|
-
export {
|
|
15
|
+
export { getModuleSettings } from './module-settings.cjs';
|
|
16
|
+
export { SamlPreferencesExtractedData, getOidcConfig, getSamlConfig, getSamlMetadata, initOidcLogin, initSSO, saveOidcConfig, saveSamlConfig, testSamlConfig, toggleSamlConfig } from './sso.cjs';
|
|
17
|
+
export { ITag } from './tags.cjs';
|
|
18
|
+
export { ITemplatesCategory, ITemplatesCollection, ITemplatesCollectionFull, ITemplatesCollectionResponse, ITemplatesNode, ITemplatesQuery, ITemplatesWorkflow, ITemplatesWorkflowFull, ITemplatesWorkflowInfo, ITemplatesWorkflowResponse, IWorkflowTemplate, IWorkflowTemplateNode, IWorkflowTemplateNodeCredentials, TemplateSearchFacet, getCategories, getCollectionById, getCollections, getTemplateById, getWorkflowTemplate, getWorkflows, testHealthEndpoint } from './templates.cjs';
|
|
16
19
|
export { dismissBannerPermanently } from './ui.cjs';
|
|
17
20
|
export { Version, VersionNode, getNextVersions } from './versions.cjs';
|
|
18
21
|
export { findWebhook } from './webhooks.cjs';
|
|
19
22
|
export { WorkflowHistory, WorkflowHistoryActionTypes, WorkflowHistoryRequestParams, WorkflowVersion, WorkflowVersionId, getWorkflowHistory, getWorkflowVersion } from './workflowHistory.cjs';
|
|
23
|
+
export { WorkflowData, WorkflowDataCreate, WorkflowDataUpdate, WorkflowMetadata } from './workflows.cjs';
|
|
20
24
|
import '@n8n/api-types';
|
|
21
25
|
import '@n8n/permissions';
|
|
22
26
|
import '../types.cjs';
|
|
23
27
|
import 'n8n-workflow';
|
|
24
28
|
import '@n8n/i18n';
|
|
29
|
+
import 'axios';
|
package/dist/api/index.d.ts
CHANGED
|
@@ -12,13 +12,18 @@ export { sendGetWorkerStatus } from './orchestration.js';
|
|
|
12
12
|
export { N8nPromptResponse, N8nPrompts, getPromptsData, submitContactInfo } from './prompts.js';
|
|
13
13
|
export { getRoles } from './roles.js';
|
|
14
14
|
export { getSettings } from './settings.js';
|
|
15
|
-
export {
|
|
15
|
+
export { getModuleSettings } from './module-settings.js';
|
|
16
|
+
export { SamlPreferencesExtractedData, getOidcConfig, getSamlConfig, getSamlMetadata, initOidcLogin, initSSO, saveOidcConfig, saveSamlConfig, testSamlConfig, toggleSamlConfig } from './sso.js';
|
|
17
|
+
export { ITag } from './tags.js';
|
|
18
|
+
export { ITemplatesCategory, ITemplatesCollection, ITemplatesCollectionFull, ITemplatesCollectionResponse, ITemplatesNode, ITemplatesQuery, ITemplatesWorkflow, ITemplatesWorkflowFull, ITemplatesWorkflowInfo, ITemplatesWorkflowResponse, IWorkflowTemplate, IWorkflowTemplateNode, IWorkflowTemplateNodeCredentials, TemplateSearchFacet, getCategories, getCollectionById, getCollections, getTemplateById, getWorkflowTemplate, getWorkflows, testHealthEndpoint } from './templates.js';
|
|
16
19
|
export { dismissBannerPermanently } from './ui.js';
|
|
17
20
|
export { Version, VersionNode, getNextVersions } from './versions.js';
|
|
18
21
|
export { findWebhook } from './webhooks.js';
|
|
19
22
|
export { WorkflowHistory, WorkflowHistoryActionTypes, WorkflowHistoryRequestParams, WorkflowVersion, WorkflowVersionId, getWorkflowHistory, getWorkflowVersion } from './workflowHistory.js';
|
|
23
|
+
export { WorkflowData, WorkflowDataCreate, WorkflowDataUpdate, WorkflowMetadata } from './workflows.js';
|
|
20
24
|
import '@n8n/api-types';
|
|
21
25
|
import '@n8n/permissions';
|
|
22
26
|
import '../types.js';
|
|
23
27
|
import 'n8n-workflow';
|
|
24
28
|
import '@n8n/i18n';
|
|
29
|
+
import 'axios';
|
package/dist/api/index.js
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
|
-
import "../chunk-
|
|
1
|
+
import "../chunk-72B7PPKD.js";
|
|
2
|
+
import {
|
|
3
|
+
getNextVersions
|
|
4
|
+
} from "../chunk-FXQQJTT6.js";
|
|
5
|
+
import {
|
|
6
|
+
findWebhook
|
|
7
|
+
} from "../chunk-LANSDJGN.js";
|
|
8
|
+
import {
|
|
9
|
+
getWorkflowHistory,
|
|
10
|
+
getWorkflowVersion
|
|
11
|
+
} from "../chunk-5ZAHIRQP.js";
|
|
12
|
+
import "../chunk-P652HZKI.js";
|
|
13
|
+
import {
|
|
14
|
+
sendGetWorkerStatus
|
|
15
|
+
} from "../chunk-D3AYNAEZ.js";
|
|
2
16
|
import {
|
|
3
17
|
getPromptsData,
|
|
4
18
|
submitContactInfo
|
|
@@ -10,26 +24,29 @@ import {
|
|
|
10
24
|
getSettings
|
|
11
25
|
} from "../chunk-E2QA6OIH.js";
|
|
12
26
|
import {
|
|
27
|
+
getOidcConfig,
|
|
13
28
|
getSamlConfig,
|
|
14
29
|
getSamlMetadata,
|
|
30
|
+
initOidcLogin,
|
|
15
31
|
initSSO,
|
|
32
|
+
saveOidcConfig,
|
|
16
33
|
saveSamlConfig,
|
|
17
34
|
testSamlConfig,
|
|
18
35
|
toggleSamlConfig
|
|
19
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-7H2QUQ5E.js";
|
|
37
|
+
import "../chunk-QGKFNOJQ.js";
|
|
38
|
+
import {
|
|
39
|
+
getCategories,
|
|
40
|
+
getCollectionById,
|
|
41
|
+
getCollections,
|
|
42
|
+
getTemplateById,
|
|
43
|
+
getWorkflowTemplate,
|
|
44
|
+
getWorkflows,
|
|
45
|
+
testHealthEndpoint
|
|
46
|
+
} from "../chunk-PUTYSFAZ.js";
|
|
20
47
|
import {
|
|
21
48
|
dismissBannerPermanently
|
|
22
49
|
} from "../chunk-MO55LHZW.js";
|
|
23
|
-
import {
|
|
24
|
-
getNextVersions
|
|
25
|
-
} from "../chunk-FXQQJTT6.js";
|
|
26
|
-
import {
|
|
27
|
-
findWebhook
|
|
28
|
-
} from "../chunk-LANSDJGN.js";
|
|
29
|
-
import {
|
|
30
|
-
getWorkflowHistory,
|
|
31
|
-
getWorkflowVersion
|
|
32
|
-
} from "../chunk-5ZAHIRQP.js";
|
|
33
50
|
import {
|
|
34
51
|
sessionStarted
|
|
35
52
|
} from "../chunk-ZGSTB4KU.js";
|
|
@@ -47,6 +64,9 @@ import {
|
|
|
47
64
|
getMfaQR,
|
|
48
65
|
verifyMfaCode
|
|
49
66
|
} from "../chunk-6NXKJCOT.js";
|
|
67
|
+
import {
|
|
68
|
+
getModuleSettings
|
|
69
|
+
} from "../chunk-LWPFHULW.js";
|
|
50
70
|
import {
|
|
51
71
|
fetchCommunityNodeAttributes,
|
|
52
72
|
fetchCommunityNodeTypes,
|
|
@@ -62,9 +82,6 @@ import {
|
|
|
62
82
|
import {
|
|
63
83
|
updateNpsSurveyState
|
|
64
84
|
} from "../chunk-V2IC2A47.js";
|
|
65
|
-
import {
|
|
66
|
-
sendGetWorkerStatus
|
|
67
|
-
} from "../chunk-D3AYNAEZ.js";
|
|
68
85
|
import {
|
|
69
86
|
createApiKey,
|
|
70
87
|
deleteApiKey,
|
|
@@ -114,7 +131,10 @@ export {
|
|
|
114
131
|
getApiKeys,
|
|
115
132
|
getAvailableCommunityPackageCount,
|
|
116
133
|
getBecomeCreatorCta,
|
|
134
|
+
getCategories,
|
|
117
135
|
getCloudUserInfo,
|
|
136
|
+
getCollectionById,
|
|
137
|
+
getCollections,
|
|
118
138
|
getCurrentPlan,
|
|
119
139
|
getCurrentUsage,
|
|
120
140
|
getDestinationsFromBackend,
|
|
@@ -124,12 +144,14 @@ export {
|
|
|
124
144
|
getLdapSynchronizations,
|
|
125
145
|
getLocalResourceMapperFields,
|
|
126
146
|
getMfaQR,
|
|
147
|
+
getModuleSettings,
|
|
127
148
|
getNextVersions,
|
|
128
149
|
getNodeParameterActionResult,
|
|
129
150
|
getNodeParameterOptions,
|
|
130
151
|
getNodeTranslationHeaders,
|
|
131
152
|
getNodeTypes,
|
|
132
153
|
getNodesInformation,
|
|
154
|
+
getOidcConfig,
|
|
133
155
|
getPromptsData,
|
|
134
156
|
getResourceLocatorResults,
|
|
135
157
|
getResourceMapperFields,
|
|
@@ -137,19 +159,25 @@ export {
|
|
|
137
159
|
getSamlConfig,
|
|
138
160
|
getSamlMetadata,
|
|
139
161
|
getSettings,
|
|
162
|
+
getTemplateById,
|
|
140
163
|
getWorkflowHistory,
|
|
164
|
+
getWorkflowTemplate,
|
|
141
165
|
getWorkflowVersion,
|
|
166
|
+
getWorkflows,
|
|
142
167
|
hasDestinationId,
|
|
168
|
+
initOidcLogin,
|
|
143
169
|
initSSO,
|
|
144
170
|
installNewPackage,
|
|
145
171
|
runLdapSync,
|
|
146
172
|
saveDestinationToDb,
|
|
173
|
+
saveOidcConfig,
|
|
147
174
|
saveSamlConfig,
|
|
148
175
|
sendConfirmationEmail,
|
|
149
176
|
sendGetWorkerStatus,
|
|
150
177
|
sendTestMessageToDestination,
|
|
151
178
|
sessionStarted,
|
|
152
179
|
submitContactInfo,
|
|
180
|
+
testHealthEndpoint,
|
|
153
181
|
testLdapConnection,
|
|
154
182
|
testSamlConfig,
|
|
155
183
|
toggleSamlConfig,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunk5HPYAEBRcjs = require('../chunk-5HPYAEBR.cjs');
|
|
4
|
+
require('../chunk-BJZROXM5.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
exports.getModuleSettings = _chunk5HPYAEBRcjs.getModuleSettings;
|
|
8
|
+
//# sourceMappingURL=module-settings.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/n8n/n8n/packages/frontend/@n8n/rest-api-client/dist/api/module-settings.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACF,gEAAC","file":"/home/runner/work/n8n/n8n/packages/frontend/@n8n/rest-api-client/dist/api/module-settings.cjs"}
|
package/dist/api/sso.cjs
CHANGED
|
@@ -5,7 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
var _chunkPINAQIUHcjs = require('../chunk-PINAQIUH.cjs');
|
|
9
12
|
require('../chunk-BJZROXM5.cjs');
|
|
10
13
|
|
|
11
14
|
|
|
@@ -14,5 +17,8 @@ require('../chunk-BJZROXM5.cjs');
|
|
|
14
17
|
|
|
15
18
|
|
|
16
19
|
|
|
17
|
-
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
exports.getOidcConfig = _chunkPINAQIUHcjs.getOidcConfig; exports.getSamlConfig = _chunkPINAQIUHcjs.getSamlConfig; exports.getSamlMetadata = _chunkPINAQIUHcjs.getSamlMetadata; exports.initOidcLogin = _chunkPINAQIUHcjs.initOidcLogin; exports.initSSO = _chunkPINAQIUHcjs.initSSO; exports.saveOidcConfig = _chunkPINAQIUHcjs.saveOidcConfig; exports.saveSamlConfig = _chunkPINAQIUHcjs.saveSamlConfig; exports.testSamlConfig = _chunkPINAQIUHcjs.testSamlConfig; exports.toggleSamlConfig = _chunkPINAQIUHcjs.toggleSamlConfig;
|
|
18
24
|
//# sourceMappingURL=sso.cjs.map
|
package/dist/api/sso.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/n8n/n8n/packages/frontend/@n8n/rest-api-client/dist/api/sso.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACF,
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/n8n/n8n/packages/frontend/@n8n/rest-api-client/dist/api/sso.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,ogBAAC","file":"/home/runner/work/n8n/n8n/packages/frontend/@n8n/rest-api-client/dist/api/sso.cjs"}
|
package/dist/api/sso.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SamlPreferences, SamlToggleDto } from '@n8n/api-types';
|
|
1
|
+
import { SamlPreferences, SamlToggleDto, OidcConfigDto } from '@n8n/api-types';
|
|
2
2
|
import { IRestApiContext } from '../types.cjs';
|
|
3
3
|
|
|
4
4
|
type SamlPreferencesExtractedData = {
|
|
@@ -11,5 +11,8 @@ declare const getSamlConfig: (context: IRestApiContext) => Promise<SamlPreferenc
|
|
|
11
11
|
declare const saveSamlConfig: (context: IRestApiContext, data: Partial<SamlPreferences>) => Promise<SamlPreferences | undefined>;
|
|
12
12
|
declare const toggleSamlConfig: (context: IRestApiContext, data: SamlToggleDto) => Promise<void>;
|
|
13
13
|
declare const testSamlConfig: (context: IRestApiContext) => Promise<string>;
|
|
14
|
+
declare const getOidcConfig: (context: IRestApiContext) => Promise<OidcConfigDto>;
|
|
15
|
+
declare const saveOidcConfig: (context: IRestApiContext, data: OidcConfigDto) => Promise<OidcConfigDto>;
|
|
16
|
+
declare const initOidcLogin: (context: IRestApiContext) => Promise<string>;
|
|
14
17
|
|
|
15
|
-
export { type SamlPreferencesExtractedData, getSamlConfig, getSamlMetadata, initSSO, saveSamlConfig, testSamlConfig, toggleSamlConfig };
|
|
18
|
+
export { type SamlPreferencesExtractedData, getOidcConfig, getSamlConfig, getSamlMetadata, initOidcLogin, initSSO, saveOidcConfig, saveSamlConfig, testSamlConfig, toggleSamlConfig };
|
package/dist/api/sso.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SamlPreferences, SamlToggleDto } from '@n8n/api-types';
|
|
1
|
+
import { SamlPreferences, SamlToggleDto, OidcConfigDto } from '@n8n/api-types';
|
|
2
2
|
import { IRestApiContext } from '../types.js';
|
|
3
3
|
|
|
4
4
|
type SamlPreferencesExtractedData = {
|
|
@@ -11,5 +11,8 @@ declare const getSamlConfig: (context: IRestApiContext) => Promise<SamlPreferenc
|
|
|
11
11
|
declare const saveSamlConfig: (context: IRestApiContext, data: Partial<SamlPreferences>) => Promise<SamlPreferences | undefined>;
|
|
12
12
|
declare const toggleSamlConfig: (context: IRestApiContext, data: SamlToggleDto) => Promise<void>;
|
|
13
13
|
declare const testSamlConfig: (context: IRestApiContext) => Promise<string>;
|
|
14
|
+
declare const getOidcConfig: (context: IRestApiContext) => Promise<OidcConfigDto>;
|
|
15
|
+
declare const saveOidcConfig: (context: IRestApiContext, data: OidcConfigDto) => Promise<OidcConfigDto>;
|
|
16
|
+
declare const initOidcLogin: (context: IRestApiContext) => Promise<string>;
|
|
14
17
|
|
|
15
|
-
export { type SamlPreferencesExtractedData, getSamlConfig, getSamlMetadata, initSSO, saveSamlConfig, testSamlConfig, toggleSamlConfig };
|
|
18
|
+
export { type SamlPreferencesExtractedData, getOidcConfig, getSamlConfig, getSamlMetadata, initOidcLogin, initSSO, saveOidcConfig, saveSamlConfig, testSamlConfig, toggleSamlConfig };
|
package/dist/api/sso.js
CHANGED
|
@@ -1,16 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
+
getOidcConfig,
|
|
2
3
|
getSamlConfig,
|
|
3
4
|
getSamlMetadata,
|
|
5
|
+
initOidcLogin,
|
|
4
6
|
initSSO,
|
|
7
|
+
saveOidcConfig,
|
|
5
8
|
saveSamlConfig,
|
|
6
9
|
testSamlConfig,
|
|
7
10
|
toggleSamlConfig
|
|
8
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-7H2QUQ5E.js";
|
|
9
12
|
import "../chunk-XEWNI57X.js";
|
|
10
13
|
export {
|
|
14
|
+
getOidcConfig,
|
|
11
15
|
getSamlConfig,
|
|
12
16
|
getSamlMetadata,
|
|
17
|
+
initOidcLogin,
|
|
13
18
|
initSSO,
|
|
19
|
+
saveOidcConfig,
|
|
14
20
|
saveSamlConfig,
|
|
15
21
|
testSamlConfig,
|
|
16
22
|
toggleSamlConfig
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/n8n/n8n/packages/frontend/@n8n/rest-api-client/dist/api/tags.cjs"],"names":[],"mappings":"AAAA,8CAA8B","file":"/home/runner/work/n8n/n8n/packages/frontend/@n8n/rest-api-client/dist/api/tags.cjs"}
|
package/dist/api/tags.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _chunkGEZ7P5JLcjs = require('../chunk-GEZ7P5JL.cjs');
|
|
10
|
+
require('../chunk-BJZROXM5.cjs');
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
exports.getCategories = _chunkGEZ7P5JLcjs.getCategories; exports.getCollectionById = _chunkGEZ7P5JLcjs.getCollectionById; exports.getCollections = _chunkGEZ7P5JLcjs.getCollections; exports.getTemplateById = _chunkGEZ7P5JLcjs.getTemplateById; exports.getWorkflowTemplate = _chunkGEZ7P5JLcjs.getWorkflowTemplate; exports.getWorkflows = _chunkGEZ7P5JLcjs.getWorkflows; exports.testHealthEndpoint = _chunkGEZ7P5JLcjs.testHealthEndpoint;
|
|
20
|
+
//# sourceMappingURL=templates.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/n8n/n8n/packages/frontend/@n8n/rest-api-client/dist/api/templates.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACF,gbAAC","file":"/home/runner/work/n8n/n8n/packages/frontend/@n8n/rest-api-client/dist/api/templates.cjs"}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { RawAxiosRequestHeaders } from 'axios';
|
|
2
|
+
import { INode, INodeCredentialsDetails } from 'n8n-workflow';
|
|
3
|
+
import { VersionNode } from './versions.cjs';
|
|
4
|
+
import { WorkflowData } from './workflows.cjs';
|
|
5
|
+
import './tags.cjs';
|
|
6
|
+
|
|
7
|
+
interface IWorkflowTemplateNode extends Pick<INode, 'name' | 'type' | 'position' | 'parameters' | 'typeVersion' | 'webhookId' | 'id' | 'disabled'> {
|
|
8
|
+
credentials?: IWorkflowTemplateNodeCredentials;
|
|
9
|
+
}
|
|
10
|
+
interface IWorkflowTemplateNodeCredentials {
|
|
11
|
+
[key: string]: string | INodeCredentialsDetails;
|
|
12
|
+
}
|
|
13
|
+
interface IWorkflowTemplate {
|
|
14
|
+
id: number;
|
|
15
|
+
name: string;
|
|
16
|
+
workflow: Pick<WorkflowData, 'connections' | 'settings' | 'pinData'> & {
|
|
17
|
+
nodes: IWorkflowTemplateNode[];
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
interface ITemplatesNode extends VersionNode {
|
|
21
|
+
id: number;
|
|
22
|
+
categories?: ITemplatesCategory[];
|
|
23
|
+
}
|
|
24
|
+
interface ITemplatesCollection {
|
|
25
|
+
id: number;
|
|
26
|
+
name: string;
|
|
27
|
+
nodes: ITemplatesNode[];
|
|
28
|
+
workflows: Array<{
|
|
29
|
+
id: number;
|
|
30
|
+
}>;
|
|
31
|
+
}
|
|
32
|
+
interface ITemplatesImage {
|
|
33
|
+
id: number;
|
|
34
|
+
url: string;
|
|
35
|
+
}
|
|
36
|
+
interface ITemplatesCollectionExtended extends ITemplatesCollection {
|
|
37
|
+
description: string | null;
|
|
38
|
+
image: ITemplatesImage[];
|
|
39
|
+
categories: ITemplatesCategory[];
|
|
40
|
+
createdAt: string;
|
|
41
|
+
}
|
|
42
|
+
interface ITemplatesCollectionFull extends ITemplatesCollectionExtended {
|
|
43
|
+
full: true;
|
|
44
|
+
}
|
|
45
|
+
interface ITemplatesCollectionResponse extends ITemplatesCollectionExtended {
|
|
46
|
+
workflows: ITemplatesWorkflow[];
|
|
47
|
+
}
|
|
48
|
+
interface ITemplatesWorkflow {
|
|
49
|
+
id: number;
|
|
50
|
+
createdAt: string;
|
|
51
|
+
name: string;
|
|
52
|
+
nodes: ITemplatesNode[];
|
|
53
|
+
totalViews: number;
|
|
54
|
+
user: {
|
|
55
|
+
username: string;
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
interface ITemplatesWorkflowInfo {
|
|
59
|
+
nodeCount: number;
|
|
60
|
+
nodeTypes: {
|
|
61
|
+
[key: string]: {
|
|
62
|
+
count: number;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
type TemplateSearchFacet = {
|
|
67
|
+
field_name: string;
|
|
68
|
+
sampled: boolean;
|
|
69
|
+
stats: {
|
|
70
|
+
total_values: number;
|
|
71
|
+
};
|
|
72
|
+
counts: Array<{
|
|
73
|
+
count: number;
|
|
74
|
+
highlighted: string;
|
|
75
|
+
value: string;
|
|
76
|
+
}>;
|
|
77
|
+
};
|
|
78
|
+
interface ITemplatesWorkflowResponse extends ITemplatesWorkflow, IWorkflowTemplate {
|
|
79
|
+
description: string | null;
|
|
80
|
+
image: ITemplatesImage[];
|
|
81
|
+
categories: ITemplatesCategory[];
|
|
82
|
+
workflowInfo: ITemplatesWorkflowInfo;
|
|
83
|
+
}
|
|
84
|
+
interface ITemplatesWorkflowFull extends ITemplatesWorkflowResponse {
|
|
85
|
+
full: true;
|
|
86
|
+
}
|
|
87
|
+
interface ITemplatesQuery {
|
|
88
|
+
categories: string[];
|
|
89
|
+
search: string;
|
|
90
|
+
}
|
|
91
|
+
interface ITemplatesCategory {
|
|
92
|
+
id: number;
|
|
93
|
+
name: string;
|
|
94
|
+
}
|
|
95
|
+
declare function testHealthEndpoint(apiEndpoint: string): Promise<any>;
|
|
96
|
+
declare function getCategories(apiEndpoint: string, headers?: RawAxiosRequestHeaders): Promise<{
|
|
97
|
+
categories: ITemplatesCategory[];
|
|
98
|
+
}>;
|
|
99
|
+
declare function getCollections(apiEndpoint: string, query: ITemplatesQuery, headers?: RawAxiosRequestHeaders): Promise<{
|
|
100
|
+
collections: ITemplatesCollection[];
|
|
101
|
+
}>;
|
|
102
|
+
declare function getWorkflows(apiEndpoint: string, query: {
|
|
103
|
+
page: number;
|
|
104
|
+
limit: number;
|
|
105
|
+
categories: string[];
|
|
106
|
+
search: string;
|
|
107
|
+
}, headers?: RawAxiosRequestHeaders): Promise<{
|
|
108
|
+
totalWorkflows: number;
|
|
109
|
+
workflows: ITemplatesWorkflow[];
|
|
110
|
+
filters: TemplateSearchFacet[];
|
|
111
|
+
}>;
|
|
112
|
+
declare function getCollectionById(apiEndpoint: string, collectionId: string, headers?: RawAxiosRequestHeaders): Promise<{
|
|
113
|
+
collection: ITemplatesCollectionResponse;
|
|
114
|
+
}>;
|
|
115
|
+
declare function getTemplateById(apiEndpoint: string, templateId: string, headers?: RawAxiosRequestHeaders): Promise<{
|
|
116
|
+
workflow: ITemplatesWorkflowResponse;
|
|
117
|
+
}>;
|
|
118
|
+
declare function getWorkflowTemplate(apiEndpoint: string, templateId: string, headers?: RawAxiosRequestHeaders): Promise<IWorkflowTemplate>;
|
|
119
|
+
|
|
120
|
+
export { type ITemplatesCategory, type ITemplatesCollection, type ITemplatesCollectionFull, type ITemplatesCollectionResponse, type ITemplatesNode, type ITemplatesQuery, type ITemplatesWorkflow, type ITemplatesWorkflowFull, type ITemplatesWorkflowInfo, type ITemplatesWorkflowResponse, type IWorkflowTemplate, type IWorkflowTemplateNode, type IWorkflowTemplateNodeCredentials, type TemplateSearchFacet, getCategories, getCollectionById, getCollections, getTemplateById, getWorkflowTemplate, getWorkflows, testHealthEndpoint };
|