@n8n/rest-api-client 1.21.0 → 1.22.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/api-keys.cjs +2 -2
- package/dist/api/api-keys.js +2 -2
- package/dist/api/cloudPlans.cjs +4 -3
- package/dist/api/cloudPlans.d.cts +2 -2
- package/dist/api/cloudPlans.d.ts +2 -2
- package/dist/api/cloudPlans.js +3 -3
- package/dist/api/communityNodes.cjs +2 -2
- package/dist/api/communityNodes.js +2 -2
- package/dist/api/ctas.cjs +2 -2
- package/dist/api/ctas.js +2 -2
- package/dist/api/dynamic-banners.cjs +10 -0
- package/dist/api/dynamic-banners.cjs.map +1 -0
- package/dist/api/dynamic-banners.d.cts +25 -0
- package/dist/api/dynamic-banners.d.ts +25 -0
- package/dist/api/dynamic-banners.js +10 -0
- package/dist/api/dynamic-banners.js.map +1 -0
- package/dist/api/eventbus.ee.cjs +2 -2
- package/dist/api/eventbus.ee.js +2 -2
- package/dist/api/events.cjs +2 -2
- package/dist/api/events.js +2 -2
- package/dist/api/externalSecrets.ee.cjs +2 -2
- package/dist/api/externalSecrets.ee.js +2 -2
- package/dist/api/index.cjs +28 -27
- package/dist/api/index.d.cts +3 -3
- package/dist/api/index.d.ts +3 -3
- package/dist/api/index.js +28 -28
- package/dist/api/ldap.cjs +2 -2
- package/dist/api/ldap.js +2 -2
- package/dist/api/mfa.cjs +2 -2
- package/dist/api/mfa.js +2 -2
- package/dist/api/module-settings.cjs +2 -2
- package/dist/api/module-settings.js +2 -2
- package/dist/api/nodeTypes.cjs +2 -2
- package/dist/api/nodeTypes.js +2 -2
- package/dist/api/npsSurvey.cjs +2 -2
- package/dist/api/npsSurvey.js +2 -2
- package/dist/api/orchestration.cjs +2 -2
- package/dist/api/orchestration.js +2 -2
- package/dist/api/prompts.cjs +2 -2
- package/dist/api/prompts.js +2 -2
- package/dist/api/provisioning.cjs +2 -2
- package/dist/api/provisioning.js +2 -2
- package/dist/api/roles.cjs +2 -2
- package/dist/api/roles.js +2 -2
- package/dist/api/settings.cjs +2 -2
- package/dist/api/settings.js +2 -2
- package/dist/api/sso.cjs +2 -2
- package/dist/api/sso.js +2 -2
- package/dist/api/templates.cjs +2 -2
- package/dist/api/templates.js +2 -2
- package/dist/api/third-party-licenses.cjs +2 -2
- package/dist/api/third-party-licenses.js +2 -2
- package/dist/api/ui.cjs +2 -2
- package/dist/api/ui.js +2 -2
- package/dist/api/usage.cjs +2 -2
- package/dist/api/usage.d.cts +1 -1
- package/dist/api/usage.d.ts +1 -1
- package/dist/api/usage.js +2 -2
- package/dist/api/users.cjs +2 -2
- package/dist/api/users.js +2 -2
- package/dist/api/versions.cjs +2 -2
- package/dist/api/versions.js +2 -2
- package/dist/api/webhooks.cjs +2 -2
- package/dist/api/webhooks.js +2 -2
- package/dist/api/workflowHistory.cjs +2 -2
- package/dist/api/workflowHistory.js +2 -2
- package/dist/{api-keys-DWJqK3fC.cjs → api-keys-DnxbjXaE.cjs} +2 -2
- package/dist/{api-keys-DWJqK3fC.cjs.map → api-keys-DnxbjXaE.cjs.map} +1 -1
- package/dist/{api-keys-CiCLTfFj.js → api-keys-uP5vY83C.js} +2 -2
- package/dist/{api-keys-CiCLTfFj.js.map → api-keys-uP5vY83C.js.map} +1 -1
- package/dist/{cloudPlans-D1vqD1lj.d.ts → cloudPlans-BZrDY7Vu.d.ts} +13 -2
- package/dist/{cloudPlans-DUWx1DpH.d.cts → cloudPlans-DJM4mwMR.d.cts} +13 -2
- package/dist/{cloudPlans-BPVCVGiw.js → cloudPlans-DLjkAVcu.js} +6 -3
- package/dist/cloudPlans-DLjkAVcu.js.map +1 -0
- package/dist/{cloudPlans-B8uHyQ_1.cjs → cloudPlans-DQw2uiuu.cjs} +11 -2
- package/dist/cloudPlans-DQw2uiuu.cjs.map +1 -0
- package/dist/{communityNodes-DW28WDvz.js → communityNodes-CZUiSFXs.js} +2 -2
- package/dist/{communityNodes-DW28WDvz.js.map → communityNodes-CZUiSFXs.js.map} +1 -1
- package/dist/{communityNodes-Dd7hz8vM.cjs → communityNodes-R-K96g6r.cjs} +2 -2
- package/dist/{communityNodes-Dd7hz8vM.cjs.map → communityNodes-R-K96g6r.cjs.map} +1 -1
- package/dist/{ctas-CAkx0BpQ.js → ctas-BhMDfBZj.js} +2 -2
- package/dist/{ctas-CAkx0BpQ.js.map → ctas-BhMDfBZj.js.map} +1 -1
- package/dist/{ctas-CkfR15kk.cjs → ctas-WLeRzMmj.cjs} +2 -2
- package/dist/{ctas-CkfR15kk.cjs.map → ctas-WLeRzMmj.cjs.map} +1 -1
- package/dist/{eventbus.ee-BI1YfCWy.js → eventbus.ee-BeIlRoKR.js} +2 -2
- package/dist/{eventbus.ee-BI1YfCWy.js.map → eventbus.ee-BeIlRoKR.js.map} +1 -1
- package/dist/{eventbus.ee-Dy8OID76.cjs → eventbus.ee-RY2w0bse.cjs} +2 -2
- package/dist/{eventbus.ee-Dy8OID76.cjs.map → eventbus.ee-RY2w0bse.cjs.map} +1 -1
- package/dist/{events-BXoIh-_I.js → events-BV8Poe8J.js} +2 -2
- package/dist/{events-BXoIh-_I.js.map → events-BV8Poe8J.js.map} +1 -1
- package/dist/{events-C9_PZbal.cjs → events-D8_upsDR.cjs} +2 -2
- package/dist/{events-C9_PZbal.cjs.map → events-D8_upsDR.cjs.map} +1 -1
- package/dist/{externalSecrets.ee-zAb9mWtZ.js → externalSecrets.ee-CVp75c1t.js} +2 -2
- package/dist/{externalSecrets.ee-zAb9mWtZ.js.map → externalSecrets.ee-CVp75c1t.js.map} +1 -1
- package/dist/{externalSecrets.ee-DyhPxamB.cjs → externalSecrets.ee-oRa5FKzO.cjs} +2 -2
- package/dist/{externalSecrets.ee-DyhPxamB.cjs.map → externalSecrets.ee-oRa5FKzO.cjs.map} +1 -1
- package/dist/index.cjs +28 -27
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +28 -28
- package/dist/{ldap-B4lzIQvN.cjs → ldap-Dro61aN8.cjs} +2 -2
- package/dist/{ldap-B4lzIQvN.cjs.map → ldap-Dro61aN8.cjs.map} +1 -1
- package/dist/{ldap-wyz03bvR.js → ldap-dJsgFbtF.js} +2 -2
- package/dist/{ldap-wyz03bvR.js.map → ldap-dJsgFbtF.js.map} +1 -1
- package/dist/{mfa-WNpmV50W.js → mfa-BRac8Q6l.js} +2 -2
- package/dist/{mfa-WNpmV50W.js.map → mfa-BRac8Q6l.js.map} +1 -1
- package/dist/{mfa-BteEfKoH.cjs → mfa-ChX3eCvb.cjs} +2 -2
- package/dist/{mfa-BteEfKoH.cjs.map → mfa-ChX3eCvb.cjs.map} +1 -1
- package/dist/{module-settings-GdAM-8kw.js → module-settings-BLmvyCNm.js} +2 -2
- package/dist/{module-settings-GdAM-8kw.js.map → module-settings-BLmvyCNm.js.map} +1 -1
- package/dist/{module-settings-BulEETdJ.cjs → module-settings-C_hGYsDf.cjs} +2 -2
- package/dist/{module-settings-BulEETdJ.cjs.map → module-settings-C_hGYsDf.cjs.map} +1 -1
- package/dist/{nodeTypes-DCk86LDz.cjs → nodeTypes-Btn1Spll.cjs} +2 -2
- package/dist/{nodeTypes-DCk86LDz.cjs.map → nodeTypes-Btn1Spll.cjs.map} +1 -1
- package/dist/{nodeTypes-5LNxsQY6.js → nodeTypes-DpuULzy-.js} +2 -2
- package/dist/{nodeTypes-5LNxsQY6.js.map → nodeTypes-DpuULzy-.js.map} +1 -1
- package/dist/{npsSurvey-C1x1TDrG.cjs → npsSurvey-BHAR9GWB.cjs} +2 -2
- package/dist/{npsSurvey-C1x1TDrG.cjs.map → npsSurvey-BHAR9GWB.cjs.map} +1 -1
- package/dist/{npsSurvey-DwL-sGR9.js → npsSurvey-C74EQvtL.js} +2 -2
- package/dist/{npsSurvey-DwL-sGR9.js.map → npsSurvey-C74EQvtL.js.map} +1 -1
- package/dist/{orchestration-BWq2DLiL.cjs → orchestration-C84h3vsL.cjs} +2 -2
- package/dist/{orchestration-BWq2DLiL.cjs.map → orchestration-C84h3vsL.cjs.map} +1 -1
- package/dist/{orchestration-C3GSuGhK.js → orchestration-D1TdzBBL.js} +2 -2
- package/dist/{orchestration-C3GSuGhK.js.map → orchestration-D1TdzBBL.js.map} +1 -1
- package/dist/{prompts-pb6raObn.cjs → prompts-BDM4qsW-.cjs} +2 -2
- package/dist/{prompts-pb6raObn.cjs.map → prompts-BDM4qsW-.cjs.map} +1 -1
- package/dist/{prompts-DriYCXBM.js → prompts-IpThocqw.js} +2 -2
- package/dist/{prompts-DriYCXBM.js.map → prompts-IpThocqw.js.map} +1 -1
- package/dist/{provisioning-BCZEC6K_.js → provisioning-DijeyEBA.js} +2 -2
- package/dist/{provisioning-BCZEC6K_.js.map → provisioning-DijeyEBA.js.map} +1 -1
- package/dist/{provisioning-BXzy-1C2.cjs → provisioning-iwaWZ0AK.cjs} +2 -2
- package/dist/{provisioning-BXzy-1C2.cjs.map → provisioning-iwaWZ0AK.cjs.map} +1 -1
- package/dist/{roles-DP9_NFP3.js → roles-B7cgU7qx.js} +2 -2
- package/dist/{roles-DP9_NFP3.js.map → roles-B7cgU7qx.js.map} +1 -1
- package/dist/{roles-ui0tjENB.cjs → roles-zt7bZoLT.cjs} +2 -2
- package/dist/{roles-ui0tjENB.cjs.map → roles-zt7bZoLT.cjs.map} +1 -1
- package/dist/{settings-M7GRxXmC.cjs → settings-BC-VEjjF.cjs} +2 -2
- package/dist/{settings-M7GRxXmC.cjs.map → settings-BC-VEjjF.cjs.map} +1 -1
- package/dist/{settings-CCGDGJdQ.js → settings-BouzQp14.js} +2 -2
- package/dist/{settings-CCGDGJdQ.js.map → settings-BouzQp14.js.map} +1 -1
- package/dist/{sso-DdLyNGN8.js → sso-CBMbEkVH.js} +2 -2
- package/dist/{sso-DdLyNGN8.js.map → sso-CBMbEkVH.js.map} +1 -1
- package/dist/{sso-C7aUBmBN.cjs → sso-DcsKWEuI.cjs} +2 -2
- package/dist/{sso-C7aUBmBN.cjs.map → sso-DcsKWEuI.cjs.map} +1 -1
- package/dist/{templates-aSkhGM9C.js → templates-BosEV6uN.js} +2 -2
- package/dist/{templates-aSkhGM9C.js.map → templates-BosEV6uN.js.map} +1 -1
- package/dist/{templates-bqybPo-G.cjs → templates-DlHDiLZ2.cjs} +2 -2
- package/dist/{templates-bqybPo-G.cjs.map → templates-DlHDiLZ2.cjs.map} +1 -1
- package/dist/{third-party-licenses-CrcvU83z.cjs → third-party-licenses-B2kKE3tr.cjs} +2 -2
- package/dist/{third-party-licenses-CrcvU83z.cjs.map → third-party-licenses-B2kKE3tr.cjs.map} +1 -1
- package/dist/{third-party-licenses-CVhfpAI_.js → third-party-licenses-CdPKzzPL.js} +2 -2
- package/dist/{third-party-licenses-CVhfpAI_.js.map → third-party-licenses-CdPKzzPL.js.map} +1 -1
- package/dist/{ui-Biyjef0Q.js → ui-B8PYUC2J.js} +2 -2
- package/dist/{ui-Biyjef0Q.js.map → ui-B8PYUC2J.js.map} +1 -1
- package/dist/{ui-C3gT7sPj.cjs → ui-HaAnvq50.cjs} +2 -2
- package/dist/{ui-C3gT7sPj.cjs.map → ui-HaAnvq50.cjs.map} +1 -1
- package/dist/{usage-BaUgyKjF.d.cts → usage-CMfgQpfn.d.cts} +2 -1
- package/dist/{usage-BLD4BoO3.d.ts → usage-CmhwTtkM.d.ts} +2 -1
- package/dist/{usage-Cls9J-mi.js → usage-CzKXyota.js} +2 -2
- package/dist/usage-CzKXyota.js.map +1 -0
- package/dist/{usage-DLyBkpx1.cjs → usage-DyuuFGeZ.cjs} +2 -2
- package/dist/usage-DyuuFGeZ.cjs.map +1 -0
- package/dist/{users-C2JDorqN.js → users-BthaWKTQ.js} +2 -2
- package/dist/{users-C2JDorqN.js.map → users-BthaWKTQ.js.map} +1 -1
- package/dist/{users-DmE1VJFB.cjs → users-DxfFvrYo.cjs} +2 -2
- package/dist/{users-DmE1VJFB.cjs.map → users-DxfFvrYo.cjs.map} +1 -1
- package/dist/{utils-ysk6cXaw.d.ts → utils-BKtM8LSn.d.ts} +3 -1
- package/dist/{utils-Ba-EBsDw.d.cts → utils-DGxAg-zF.d.cts} +3 -1
- package/dist/{utils-YFZuXq7S.js → utils-DfdsvSio.js} +7 -3
- package/dist/utils-DfdsvSio.js.map +1 -0
- package/dist/{utils-ZXKTtQnj.cjs → utils-VAtD8kId.cjs} +7 -3
- package/dist/utils-VAtD8kId.cjs.map +1 -0
- package/dist/utils.cjs +1 -1
- package/dist/utils.d.cts +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +1 -1
- package/dist/{versions-CB15OAzF.js → versions-C-KlqShr.js} +2 -2
- package/dist/{versions-CB15OAzF.js.map → versions-C-KlqShr.js.map} +1 -1
- package/dist/{versions--_Wey_a_.cjs → versions-CSMjKBtT.cjs} +2 -2
- package/dist/{versions--_Wey_a_.cjs.map → versions-CSMjKBtT.cjs.map} +1 -1
- package/dist/{webhooks-C7CDtoXI.cjs → webhooks-BNYlgESK.cjs} +2 -2
- package/dist/{webhooks-C7CDtoXI.cjs.map → webhooks-BNYlgESK.cjs.map} +1 -1
- package/dist/{webhooks-BO1vtCkS.js → webhooks-BcjD9DiL.js} +2 -2
- package/dist/{webhooks-BO1vtCkS.js.map → webhooks-BcjD9DiL.js.map} +1 -1
- package/dist/{workflowHistory-EYU0KTz2.cjs → workflowHistory-BcN77ahm.cjs} +2 -2
- package/dist/{workflowHistory-EYU0KTz2.cjs.map → workflowHistory-BcN77ahm.cjs.map} +1 -1
- package/dist/{workflowHistory-CWlpPlYE.js → workflowHistory-IkElArGe.js} +2 -2
- package/dist/{workflowHistory-CWlpPlYE.js.map → workflowHistory-IkElArGe.js.map} +1 -1
- package/package.json +7 -7
- package/dist/cloudPlans-B8uHyQ_1.cjs.map +0 -1
- package/dist/cloudPlans-BPVCVGiw.js.map +0 -1
- package/dist/usage-Cls9J-mi.js.map +0 -1
- package/dist/usage-DLyBkpx1.cjs.map +0 -1
- package/dist/utils-YFZuXq7S.js.map +0 -1
- package/dist/utils-ZXKTtQnj.cjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_utils = require('./utils-
|
|
1
|
+
const require_utils = require('./utils-VAtD8kId.cjs');
|
|
2
2
|
|
|
3
3
|
//#region src/api/externalSecrets.ee.ts
|
|
4
4
|
const getExternalSecrets = async (context) => {
|
|
@@ -66,4 +66,4 @@ Object.defineProperty(exports, 'updateProvider', {
|
|
|
66
66
|
return updateProvider;
|
|
67
67
|
}
|
|
68
68
|
});
|
|
69
|
-
//# sourceMappingURL=externalSecrets.ee-
|
|
69
|
+
//# sourceMappingURL=externalSecrets.ee-oRa5FKzO.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"externalSecrets.ee-
|
|
1
|
+
{"version":3,"file":"externalSecrets.ee-oRa5FKzO.cjs","names":["makeRestApiRequest"],"sources":["../src/api/externalSecrets.ee.ts"],"sourcesContent":["import type { ExternalSecretsProvider } from '@n8n/api-types';\n\nimport type { IRestApiContext } from '../types';\nimport { makeRestApiRequest } from '../utils';\n\nexport const getExternalSecrets = async (\n\tcontext: IRestApiContext,\n): Promise<Record<string, string[]>> => {\n\treturn await makeRestApiRequest(context, 'GET', '/external-secrets/secrets');\n};\n\nexport const getExternalSecretsProviders = async (\n\tcontext: IRestApiContext,\n): Promise<ExternalSecretsProvider[]> => {\n\treturn await makeRestApiRequest(context, 'GET', '/external-secrets/providers');\n};\n\nexport const getExternalSecretsProvider = async (\n\tcontext: IRestApiContext,\n\tid: string,\n): Promise<ExternalSecretsProvider> => {\n\treturn await makeRestApiRequest(context, 'GET', `/external-secrets/providers/${id}`);\n};\n\nexport const testExternalSecretsProviderConnection = async (\n\tcontext: IRestApiContext,\n\tid: string,\n\tdata: ExternalSecretsProvider['data'],\n): Promise<{ testState: ExternalSecretsProvider['state'] }> => {\n\treturn await makeRestApiRequest(context, 'POST', `/external-secrets/providers/${id}/test`, data);\n};\n\nexport const updateProvider = async (\n\tcontext: IRestApiContext,\n\tid: string,\n\tdata: ExternalSecretsProvider['data'],\n): Promise<boolean> => {\n\treturn await makeRestApiRequest(context, 'POST', `/external-secrets/providers/${id}`, data);\n};\n\nexport const reloadProvider = async (\n\tcontext: IRestApiContext,\n\tid: string,\n): Promise<{ updated: boolean }> => {\n\treturn await makeRestApiRequest(context, 'POST', `/external-secrets/providers/${id}/update`);\n};\n\nexport const connectProvider = async (\n\tcontext: IRestApiContext,\n\tid: string,\n\tconnected: boolean,\n): Promise<boolean> => {\n\treturn await makeRestApiRequest(context, 'POST', `/external-secrets/providers/${id}/connect`, {\n\t\tconnected,\n\t});\n};\n"],"mappings":";;;AAKA,MAAa,qBAAqB,OACjC,YACuC;AACvC,QAAO,MAAMA,iCAAmB,SAAS,OAAO,4BAA4B;;AAG7E,MAAa,8BAA8B,OAC1C,YACwC;AACxC,QAAO,MAAMA,iCAAmB,SAAS,OAAO,8BAA8B;;AAG/E,MAAa,6BAA6B,OACzC,SACA,OACsC;AACtC,QAAO,MAAMA,iCAAmB,SAAS,OAAO,+BAA+B,KAAK;;AAGrF,MAAa,wCAAwC,OACpD,SACA,IACA,SAC8D;AAC9D,QAAO,MAAMA,iCAAmB,SAAS,QAAQ,+BAA+B,GAAG,QAAQ,KAAK;;AAGjG,MAAa,iBAAiB,OAC7B,SACA,IACA,SACsB;AACtB,QAAO,MAAMA,iCAAmB,SAAS,QAAQ,+BAA+B,MAAM,KAAK;;AAG5F,MAAa,iBAAiB,OAC7B,SACA,OACmC;AACnC,QAAO,MAAMA,iCAAmB,SAAS,QAAQ,+BAA+B,GAAG,SAAS;;AAG7F,MAAa,kBAAkB,OAC9B,SACA,IACA,cACsB;AACtB,QAAO,MAAMA,iCAAmB,SAAS,QAAQ,+BAA+B,GAAG,WAAW,EAC7F,WACA,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
const require_utils = require('./utils-
|
|
2
|
-
const require_api_keys = require('./api-keys-
|
|
3
|
-
const require_cloudPlans = require('./cloudPlans-
|
|
4
|
-
const require_communityNodes = require('./communityNodes-
|
|
5
|
-
const require_ctas = require('./ctas-
|
|
6
|
-
const require_eventbus_ee = require('./eventbus.ee-
|
|
7
|
-
const require_events = require('./events-
|
|
8
|
-
const require_externalSecrets_ee = require('./externalSecrets.ee-
|
|
9
|
-
const require_ldap = require('./ldap-
|
|
10
|
-
const require_mfa = require('./mfa-
|
|
11
|
-
const require_nodeTypes = require('./nodeTypes-
|
|
12
|
-
const require_npsSurvey = require('./npsSurvey-
|
|
13
|
-
const require_orchestration = require('./orchestration-
|
|
14
|
-
const require_provisioning = require('./provisioning-
|
|
15
|
-
const require_prompts = require('./prompts-
|
|
16
|
-
const require_roles = require('./roles-
|
|
17
|
-
const require_settings = require('./settings-
|
|
18
|
-
const require_module_settings = require('./module-settings-
|
|
19
|
-
const require_sso = require('./sso-
|
|
20
|
-
const require_templates = require('./templates-
|
|
21
|
-
const require_third_party_licenses = require('./third-party-licenses-
|
|
22
|
-
const require_ui = require('./ui-
|
|
23
|
-
const require_usage = require('./usage-
|
|
24
|
-
const require_users = require('./users-
|
|
25
|
-
const require_versions = require('./versions
|
|
26
|
-
const require_webhooks = require('./webhooks-
|
|
27
|
-
const require_workflowHistory = require('./workflowHistory-
|
|
1
|
+
const require_utils = require('./utils-VAtD8kId.cjs');
|
|
2
|
+
const require_api_keys = require('./api-keys-DnxbjXaE.cjs');
|
|
3
|
+
const require_cloudPlans = require('./cloudPlans-DQw2uiuu.cjs');
|
|
4
|
+
const require_communityNodes = require('./communityNodes-R-K96g6r.cjs');
|
|
5
|
+
const require_ctas = require('./ctas-WLeRzMmj.cjs');
|
|
6
|
+
const require_eventbus_ee = require('./eventbus.ee-RY2w0bse.cjs');
|
|
7
|
+
const require_events = require('./events-D8_upsDR.cjs');
|
|
8
|
+
const require_externalSecrets_ee = require('./externalSecrets.ee-oRa5FKzO.cjs');
|
|
9
|
+
const require_ldap = require('./ldap-Dro61aN8.cjs');
|
|
10
|
+
const require_mfa = require('./mfa-ChX3eCvb.cjs');
|
|
11
|
+
const require_nodeTypes = require('./nodeTypes-Btn1Spll.cjs');
|
|
12
|
+
const require_npsSurvey = require('./npsSurvey-BHAR9GWB.cjs');
|
|
13
|
+
const require_orchestration = require('./orchestration-C84h3vsL.cjs');
|
|
14
|
+
const require_provisioning = require('./provisioning-iwaWZ0AK.cjs');
|
|
15
|
+
const require_prompts = require('./prompts-BDM4qsW-.cjs');
|
|
16
|
+
const require_roles = require('./roles-zt7bZoLT.cjs');
|
|
17
|
+
const require_settings = require('./settings-BC-VEjjF.cjs');
|
|
18
|
+
const require_module_settings = require('./module-settings-C_hGYsDf.cjs');
|
|
19
|
+
const require_sso = require('./sso-DcsKWEuI.cjs');
|
|
20
|
+
const require_templates = require('./templates-DlHDiLZ2.cjs');
|
|
21
|
+
const require_third_party_licenses = require('./third-party-licenses-B2kKE3tr.cjs');
|
|
22
|
+
const require_ui = require('./ui-HaAnvq50.cjs');
|
|
23
|
+
const require_usage = require('./usage-DyuuFGeZ.cjs');
|
|
24
|
+
const require_users = require('./users-DxfFvrYo.cjs');
|
|
25
|
+
const require_versions = require('./versions-CSMjKBtT.cjs');
|
|
26
|
+
const require_webhooks = require('./webhooks-BNYlgESK.cjs');
|
|
27
|
+
const require_workflowHistory = require('./workflowHistory-BcN77ahm.cjs');
|
|
28
28
|
require('./api-B5ImKaJs.cjs');
|
|
29
29
|
|
|
30
30
|
exports.MfaRequiredError = require_utils.MfaRequiredError;
|
|
@@ -122,6 +122,7 @@ exports.sendConfirmationEmail = require_cloudPlans.sendConfirmationEmail;
|
|
|
122
122
|
exports.sendForgotPasswordEmail = require_users.sendForgotPasswordEmail;
|
|
123
123
|
exports.sendGetWorkerStatus = require_orchestration.sendGetWorkerStatus;
|
|
124
124
|
exports.sendTestMessageToDestination = require_eventbus_ee.sendTestMessageToDestination;
|
|
125
|
+
exports.sendUserEvent = require_cloudPlans.sendUserEvent;
|
|
125
126
|
exports.sessionStarted = require_events.sessionStarted;
|
|
126
127
|
exports.setupOwner = require_users.setupOwner;
|
|
127
128
|
exports.signup = require_users.signup;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as IRestApiContext } from "./types-pb6j0BjZ.cjs";
|
|
2
2
|
import { a as updateApiKey, i as getApiKeys, n as deleteApiKey, r as getApiKeyScopes, t as createApiKey } from "./api-keys-CcOJV4lj.cjs";
|
|
3
|
-
import { a as
|
|
3
|
+
import { a as getCloudUserInfo, c as sendConfirmationEmail, i as getAdminPanelLoginCode, l as sendUserEvent, n as DynamicNotification, o as getCurrentPlan, r as InstanceUsage, s as getCurrentUsage, t as Cloud } from "./cloudPlans-DJM4mwMR.cjs";
|
|
4
4
|
import { a as updatePackage, i as uninstallPackage, n as getInstalledCommunityNodes, r as installNewPackage, t as getAvailableCommunityPackageCount } from "./communityNodes-ClSIDQeF.cjs";
|
|
5
5
|
import { t as getBecomeCreatorCta } from "./ctas-DPVc4r7T.cjs";
|
|
6
6
|
import { a as hasDestinationId, i as getEventNamesFromBackend, n as deleteDestinationFromDb, o as saveDestinationToDb, r as getDestinationsFromBackend, s as sendTestMessageToDestination, t as ApiMessageEventBusDestinationOptions } from "./eventbus.ee-DB64GFKt.cjs";
|
|
@@ -23,10 +23,10 @@ import { i as WorkflowMetadata, n as WorkflowDataCreate, r as WorkflowDataUpdate
|
|
|
23
23
|
import { _ as getCollections, a as ITemplatesNode, b as getWorkflows, c as ITemplatesWorkflowFull, d as IWorkflowTemplate, f as IWorkflowTemplateNode, g as getCollectionById, h as getCategories, i as ITemplatesCollectionResponse, l as ITemplatesWorkflowInfo, m as TemplateSearchFacet, n as ITemplatesCollection, o as ITemplatesQuery, p as IWorkflowTemplateNodeCredentials, r as ITemplatesCollectionFull, s as ITemplatesWorkflow, t as ITemplatesCategory, u as ITemplatesWorkflowResponse, v as getTemplateById, x as testHealthEndpoint, y as getWorkflowTemplate } from "./templates-so-M9Jds.cjs";
|
|
24
24
|
import { t as getThirdPartyLicenses } from "./third-party-licenses-Dkvwk3hk.cjs";
|
|
25
25
|
import { t as dismissBannerPermanently } from "./ui-k_dROGE0.cjs";
|
|
26
|
-
import { a as requestLicenseTrial, i as renewLicense, n as getLicense, r as registerCommunityEdition, t as activateLicenseKey } from "./usage-
|
|
26
|
+
import { a as requestLicenseTrial, i as renewLicense, n as getLicense, r as registerCommunityEdition, t as activateLicenseKey } from "./usage-CMfgQpfn.cjs";
|
|
27
27
|
import { C as updateCurrentUserPassword, D as validatePasswordToken, E as updateOtherUserSettings, O as validateSignupToken, S as updateCurrentUser, T as updateGlobalRole, _ as logout, a as IPersonalizationSurveyAnswersV3, b as signup, c as IUserResponse, d as deleteUser, f as getInviteLink, g as loginCurrentUser, h as login, i as IPersonalizationSurveyAnswersV2, l as UpdateGlobalRolePayload, m as getUsers, n as IPersonalizationLatestVersion, o as IPersonalizationSurveyVersions, p as getPasswordResetLink, r as IPersonalizationSurveyAnswersV1, s as IUser, t as CurrentUserResponse, u as changePassword, v as sendForgotPasswordEmail, w as updateCurrentUserSettings, x as submitPersonalizationSurvey, y as setupOwner } from "./users-DCeunKNM.cjs";
|
|
28
28
|
import { t as findWebhook } from "./webhooks-0ZmUq77a.cjs";
|
|
29
29
|
import { a as WorkflowVersionId, i as WorkflowVersion, n as WorkflowHistoryActionTypes, o as getWorkflowHistory, r as WorkflowHistoryRequestParams, s as getWorkflowVersion, t as WorkflowHistory } from "./workflowHistory-BFGbTrKc.cjs";
|
|
30
30
|
import "./index-CPiw-gXy.cjs";
|
|
31
|
-
import { a as get, c as patch, d as streamRequest, i as STREAM_SEPARATOR, l as post, n as NO_NETWORK_ERROR_CODE, o as getFullApiResponse, r as ResponseError, s as makeRestApiRequest, t as MfaRequiredError, u as request } from "./utils-
|
|
32
|
-
export { ApiMessageEventBusDestinationOptions, Cloud, CurrentUserResponse, DisableMfaParams, IPersonalizationLatestVersion, IPersonalizationSurveyAnswersV1, IPersonalizationSurveyAnswersV2, IPersonalizationSurveyAnswersV3, IPersonalizationSurveyVersions, IRestApiContext, ITag, ITemplatesCategory, ITemplatesCollection, ITemplatesCollectionFull, ITemplatesCollectionResponse, ITemplatesNode, ITemplatesQuery, ITemplatesWorkflow, ITemplatesWorkflowFull, ITemplatesWorkflowInfo, ITemplatesWorkflowResponse, IUser, IUserResponse, IWorkflowTemplate, IWorkflowTemplateNode, IWorkflowTemplateNodeCredentials, InstanceUsage, LdapConfig, LdapSyncData, LdapSyncTable, MfaRequiredError, N8nPromptResponse, N8nPrompts, NO_NETWORK_ERROR_CODE, ProvisioningConfig, ResponseError, STREAM_SEPARATOR, SamlPreferencesExtractedData, TemplateSearchFacet, UpdateGlobalRolePayload, Version, VersionNode, WhatsNewArticle, WhatsNewSection, WorkflowData, WorkflowDataCreate, WorkflowDataUpdate, WorkflowHistory, WorkflowHistoryActionTypes, WorkflowHistoryRequestParams, WorkflowMetadata, WorkflowVersion, WorkflowVersionId, activateLicenseKey, canEnableMFA, changePassword, connectProvider, createApiKey, createProjectRole, deleteApiKey, deleteDestinationFromDb, deleteProjectRole, deleteUser, disableMfa, dismissBannerPermanently, enableMfa, fetchCommunityNodeAttributes, fetchCommunityNodeTypes, findWebhook, get, getAdminPanelLoginCode, getApiKeyScopes, getApiKeys, getAvailableCommunityPackageCount, getBecomeCreatorCta, getCategories, getCloudUserInfo, getCollectionById, getCollections, getCurrentPlan, getCurrentUsage, getDestinationsFromBackend, getEventNamesFromBackend, getExternalSecrets, getExternalSecretsProvider, getExternalSecretsProviders, getFullApiResponse, getInstalledCommunityNodes, getInviteLink, getLdapConfig, getLdapSynchronizations, getLicense, getLocalResourceMapperFields, getMfaQR, getModuleSettings, getNextVersions, getNodeParameterActionResult, getNodeParameterOptions, getNodeTranslationHeaders, getNodeTypes, getNodesInformation, getOidcConfig, getPasswordResetLink, getPromptsData, getProvisioningConfig, getResourceLocatorResults, getResourceMapperFields, getRoleBySlug, getRoles, getSamlConfig, getSamlMetadata, getSettings, getTemplateById, getThirdPartyLicenses, getUsers, getWhatsNewSection, getWorkflowHistory, getWorkflowTemplate, getWorkflowVersion, getWorkflows, hasDestinationId, initOidcLogin, initSSO, installNewPackage, login, loginCurrentUser, logout, makeRestApiRequest, patch, post, registerCommunityEdition, reloadProvider, renewLicense, request, requestLicenseTrial, runLdapSync, saveDestinationToDb, saveOidcConfig, saveProvisioningConfig, saveSamlConfig, sendConfirmationEmail, sendForgotPasswordEmail, sendGetWorkerStatus, sendTestMessageToDestination, sessionStarted, setupOwner, signup, streamRequest, submitContactInfo, submitPersonalizationSurvey, testExternalSecretsProviderConnection, testHealthEndpoint, testLdapConnection, testSamlConfig, toggleSamlConfig, uninstallPackage, updateApiKey, updateCurrentUser, updateCurrentUserPassword, updateCurrentUserSettings, updateEnforceMfa, updateGlobalRole, updateLdapConfig, updateNpsSurveyState, updateOtherUserSettings, updatePackage, updateProjectRole, updateProvider, validatePasswordToken, validateSignupToken, verifyMfaCode };
|
|
31
|
+
import { a as get, c as patch, d as streamRequest, i as STREAM_SEPARATOR, l as post, n as NO_NETWORK_ERROR_CODE, o as getFullApiResponse, r as ResponseError, s as makeRestApiRequest, t as MfaRequiredError, u as request } from "./utils-DGxAg-zF.cjs";
|
|
32
|
+
export { ApiMessageEventBusDestinationOptions, Cloud, CurrentUserResponse, DisableMfaParams, DynamicNotification, IPersonalizationLatestVersion, IPersonalizationSurveyAnswersV1, IPersonalizationSurveyAnswersV2, IPersonalizationSurveyAnswersV3, IPersonalizationSurveyVersions, IRestApiContext, ITag, ITemplatesCategory, ITemplatesCollection, ITemplatesCollectionFull, ITemplatesCollectionResponse, ITemplatesNode, ITemplatesQuery, ITemplatesWorkflow, ITemplatesWorkflowFull, ITemplatesWorkflowInfo, ITemplatesWorkflowResponse, IUser, IUserResponse, IWorkflowTemplate, IWorkflowTemplateNode, IWorkflowTemplateNodeCredentials, InstanceUsage, LdapConfig, LdapSyncData, LdapSyncTable, MfaRequiredError, N8nPromptResponse, N8nPrompts, NO_NETWORK_ERROR_CODE, ProvisioningConfig, ResponseError, STREAM_SEPARATOR, SamlPreferencesExtractedData, TemplateSearchFacet, UpdateGlobalRolePayload, Version, VersionNode, WhatsNewArticle, WhatsNewSection, WorkflowData, WorkflowDataCreate, WorkflowDataUpdate, WorkflowHistory, WorkflowHistoryActionTypes, WorkflowHistoryRequestParams, WorkflowMetadata, WorkflowVersion, WorkflowVersionId, activateLicenseKey, canEnableMFA, changePassword, connectProvider, createApiKey, createProjectRole, deleteApiKey, deleteDestinationFromDb, deleteProjectRole, deleteUser, disableMfa, dismissBannerPermanently, enableMfa, fetchCommunityNodeAttributes, fetchCommunityNodeTypes, findWebhook, get, getAdminPanelLoginCode, getApiKeyScopes, getApiKeys, getAvailableCommunityPackageCount, getBecomeCreatorCta, getCategories, getCloudUserInfo, getCollectionById, getCollections, getCurrentPlan, getCurrentUsage, getDestinationsFromBackend, getEventNamesFromBackend, getExternalSecrets, getExternalSecretsProvider, getExternalSecretsProviders, getFullApiResponse, getInstalledCommunityNodes, getInviteLink, getLdapConfig, getLdapSynchronizations, getLicense, getLocalResourceMapperFields, getMfaQR, getModuleSettings, getNextVersions, getNodeParameterActionResult, getNodeParameterOptions, getNodeTranslationHeaders, getNodeTypes, getNodesInformation, getOidcConfig, getPasswordResetLink, getPromptsData, getProvisioningConfig, getResourceLocatorResults, getResourceMapperFields, getRoleBySlug, getRoles, getSamlConfig, getSamlMetadata, getSettings, getTemplateById, getThirdPartyLicenses, getUsers, getWhatsNewSection, getWorkflowHistory, getWorkflowTemplate, getWorkflowVersion, getWorkflows, hasDestinationId, initOidcLogin, initSSO, installNewPackage, login, loginCurrentUser, logout, makeRestApiRequest, patch, post, registerCommunityEdition, reloadProvider, renewLicense, request, requestLicenseTrial, runLdapSync, saveDestinationToDb, saveOidcConfig, saveProvisioningConfig, saveSamlConfig, sendConfirmationEmail, sendForgotPasswordEmail, sendGetWorkerStatus, sendTestMessageToDestination, sendUserEvent, sessionStarted, setupOwner, signup, streamRequest, submitContactInfo, submitPersonalizationSurvey, testExternalSecretsProviderConnection, testHealthEndpoint, testLdapConnection, testSamlConfig, toggleSamlConfig, uninstallPackage, updateApiKey, updateCurrentUser, updateCurrentUserPassword, updateCurrentUserSettings, updateEnforceMfa, updateGlobalRole, updateLdapConfig, updateNpsSurveyState, updateOtherUserSettings, updatePackage, updateProjectRole, updateProvider, validatePasswordToken, validateSignupToken, verifyMfaCode };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as IRestApiContext } from "./types-Dt2RtapD.js";
|
|
2
2
|
import { a as updateApiKey, i as getApiKeys, n as deleteApiKey, r as getApiKeyScopes, t as createApiKey } from "./api-keys-ihALGlBn.js";
|
|
3
|
-
import { a as
|
|
3
|
+
import { a as getCloudUserInfo, c as sendConfirmationEmail, i as getAdminPanelLoginCode, l as sendUserEvent, n as DynamicNotification, o as getCurrentPlan, r as InstanceUsage, s as getCurrentUsage, t as Cloud } from "./cloudPlans-BZrDY7Vu.js";
|
|
4
4
|
import { a as updatePackage, i as uninstallPackage, n as getInstalledCommunityNodes, r as installNewPackage, t as getAvailableCommunityPackageCount } from "./communityNodes-DNOqfwFG.js";
|
|
5
5
|
import { t as getBecomeCreatorCta } from "./ctas-CgnktNGp.js";
|
|
6
6
|
import { a as hasDestinationId, i as getEventNamesFromBackend, n as deleteDestinationFromDb, o as saveDestinationToDb, r as getDestinationsFromBackend, s as sendTestMessageToDestination, t as ApiMessageEventBusDestinationOptions } from "./eventbus.ee-DlB_5QOl.js";
|
|
@@ -23,10 +23,10 @@ import { i as WorkflowMetadata, n as WorkflowDataCreate, r as WorkflowDataUpdate
|
|
|
23
23
|
import { _ as getCollections, a as ITemplatesNode, b as getWorkflows, c as ITemplatesWorkflowFull, d as IWorkflowTemplate, f as IWorkflowTemplateNode, g as getCollectionById, h as getCategories, i as ITemplatesCollectionResponse, l as ITemplatesWorkflowInfo, m as TemplateSearchFacet, n as ITemplatesCollection, o as ITemplatesQuery, p as IWorkflowTemplateNodeCredentials, r as ITemplatesCollectionFull, s as ITemplatesWorkflow, t as ITemplatesCategory, u as ITemplatesWorkflowResponse, v as getTemplateById, x as testHealthEndpoint, y as getWorkflowTemplate } from "./templates-BlTMa-1a.js";
|
|
24
24
|
import { t as getThirdPartyLicenses } from "./third-party-licenses-C0dVxBG9.js";
|
|
25
25
|
import { t as dismissBannerPermanently } from "./ui-DPM4J6uc.js";
|
|
26
|
-
import { a as requestLicenseTrial, i as renewLicense, n as getLicense, r as registerCommunityEdition, t as activateLicenseKey } from "./usage-
|
|
26
|
+
import { a as requestLicenseTrial, i as renewLicense, n as getLicense, r as registerCommunityEdition, t as activateLicenseKey } from "./usage-CmhwTtkM.js";
|
|
27
27
|
import { C as updateCurrentUserPassword, D as validatePasswordToken, E as updateOtherUserSettings, O as validateSignupToken, S as updateCurrentUser, T as updateGlobalRole, _ as logout, a as IPersonalizationSurveyAnswersV3, b as signup, c as IUserResponse, d as deleteUser, f as getInviteLink, g as loginCurrentUser, h as login, i as IPersonalizationSurveyAnswersV2, l as UpdateGlobalRolePayload, m as getUsers, n as IPersonalizationLatestVersion, o as IPersonalizationSurveyVersions, p as getPasswordResetLink, r as IPersonalizationSurveyAnswersV1, s as IUser, t as CurrentUserResponse, u as changePassword, v as sendForgotPasswordEmail, w as updateCurrentUserSettings, x as submitPersonalizationSurvey, y as setupOwner } from "./users-BXkGWlSM.js";
|
|
28
28
|
import { t as findWebhook } from "./webhooks-DO_E63kG.js";
|
|
29
29
|
import { a as WorkflowVersionId, i as WorkflowVersion, n as WorkflowHistoryActionTypes, o as getWorkflowHistory, r as WorkflowHistoryRequestParams, s as getWorkflowVersion, t as WorkflowHistory } from "./workflowHistory-Bgg8XFJa.js";
|
|
30
30
|
import "./index-ij9f8GAA.js";
|
|
31
|
-
import { a as get, c as patch, d as streamRequest, i as STREAM_SEPARATOR, l as post, n as NO_NETWORK_ERROR_CODE, o as getFullApiResponse, r as ResponseError, s as makeRestApiRequest, t as MfaRequiredError, u as request } from "./utils-
|
|
32
|
-
export { ApiMessageEventBusDestinationOptions, Cloud, CurrentUserResponse, DisableMfaParams, IPersonalizationLatestVersion, IPersonalizationSurveyAnswersV1, IPersonalizationSurveyAnswersV2, IPersonalizationSurveyAnswersV3, IPersonalizationSurveyVersions, IRestApiContext, ITag, ITemplatesCategory, ITemplatesCollection, ITemplatesCollectionFull, ITemplatesCollectionResponse, ITemplatesNode, ITemplatesQuery, ITemplatesWorkflow, ITemplatesWorkflowFull, ITemplatesWorkflowInfo, ITemplatesWorkflowResponse, IUser, IUserResponse, IWorkflowTemplate, IWorkflowTemplateNode, IWorkflowTemplateNodeCredentials, InstanceUsage, LdapConfig, LdapSyncData, LdapSyncTable, MfaRequiredError, N8nPromptResponse, N8nPrompts, NO_NETWORK_ERROR_CODE, ProvisioningConfig, ResponseError, STREAM_SEPARATOR, SamlPreferencesExtractedData, TemplateSearchFacet, UpdateGlobalRolePayload, Version, VersionNode, WhatsNewArticle, WhatsNewSection, WorkflowData, WorkflowDataCreate, WorkflowDataUpdate, WorkflowHistory, WorkflowHistoryActionTypes, WorkflowHistoryRequestParams, WorkflowMetadata, WorkflowVersion, WorkflowVersionId, activateLicenseKey, canEnableMFA, changePassword, connectProvider, createApiKey, createProjectRole, deleteApiKey, deleteDestinationFromDb, deleteProjectRole, deleteUser, disableMfa, dismissBannerPermanently, enableMfa, fetchCommunityNodeAttributes, fetchCommunityNodeTypes, findWebhook, get, getAdminPanelLoginCode, getApiKeyScopes, getApiKeys, getAvailableCommunityPackageCount, getBecomeCreatorCta, getCategories, getCloudUserInfo, getCollectionById, getCollections, getCurrentPlan, getCurrentUsage, getDestinationsFromBackend, getEventNamesFromBackend, getExternalSecrets, getExternalSecretsProvider, getExternalSecretsProviders, getFullApiResponse, getInstalledCommunityNodes, getInviteLink, getLdapConfig, getLdapSynchronizations, getLicense, getLocalResourceMapperFields, getMfaQR, getModuleSettings, getNextVersions, getNodeParameterActionResult, getNodeParameterOptions, getNodeTranslationHeaders, getNodeTypes, getNodesInformation, getOidcConfig, getPasswordResetLink, getPromptsData, getProvisioningConfig, getResourceLocatorResults, getResourceMapperFields, getRoleBySlug, getRoles, getSamlConfig, getSamlMetadata, getSettings, getTemplateById, getThirdPartyLicenses, getUsers, getWhatsNewSection, getWorkflowHistory, getWorkflowTemplate, getWorkflowVersion, getWorkflows, hasDestinationId, initOidcLogin, initSSO, installNewPackage, login, loginCurrentUser, logout, makeRestApiRequest, patch, post, registerCommunityEdition, reloadProvider, renewLicense, request, requestLicenseTrial, runLdapSync, saveDestinationToDb, saveOidcConfig, saveProvisioningConfig, saveSamlConfig, sendConfirmationEmail, sendForgotPasswordEmail, sendGetWorkerStatus, sendTestMessageToDestination, sessionStarted, setupOwner, signup, streamRequest, submitContactInfo, submitPersonalizationSurvey, testExternalSecretsProviderConnection, testHealthEndpoint, testLdapConnection, testSamlConfig, toggleSamlConfig, uninstallPackage, updateApiKey, updateCurrentUser, updateCurrentUserPassword, updateCurrentUserSettings, updateEnforceMfa, updateGlobalRole, updateLdapConfig, updateNpsSurveyState, updateOtherUserSettings, updatePackage, updateProjectRole, updateProvider, validatePasswordToken, validateSignupToken, verifyMfaCode };
|
|
31
|
+
import { a as get, c as patch, d as streamRequest, i as STREAM_SEPARATOR, l as post, n as NO_NETWORK_ERROR_CODE, o as getFullApiResponse, r as ResponseError, s as makeRestApiRequest, t as MfaRequiredError, u as request } from "./utils-BKtM8LSn.js";
|
|
32
|
+
export { ApiMessageEventBusDestinationOptions, Cloud, CurrentUserResponse, DisableMfaParams, DynamicNotification, IPersonalizationLatestVersion, IPersonalizationSurveyAnswersV1, IPersonalizationSurveyAnswersV2, IPersonalizationSurveyAnswersV3, IPersonalizationSurveyVersions, IRestApiContext, ITag, ITemplatesCategory, ITemplatesCollection, ITemplatesCollectionFull, ITemplatesCollectionResponse, ITemplatesNode, ITemplatesQuery, ITemplatesWorkflow, ITemplatesWorkflowFull, ITemplatesWorkflowInfo, ITemplatesWorkflowResponse, IUser, IUserResponse, IWorkflowTemplate, IWorkflowTemplateNode, IWorkflowTemplateNodeCredentials, InstanceUsage, LdapConfig, LdapSyncData, LdapSyncTable, MfaRequiredError, N8nPromptResponse, N8nPrompts, NO_NETWORK_ERROR_CODE, ProvisioningConfig, ResponseError, STREAM_SEPARATOR, SamlPreferencesExtractedData, TemplateSearchFacet, UpdateGlobalRolePayload, Version, VersionNode, WhatsNewArticle, WhatsNewSection, WorkflowData, WorkflowDataCreate, WorkflowDataUpdate, WorkflowHistory, WorkflowHistoryActionTypes, WorkflowHistoryRequestParams, WorkflowMetadata, WorkflowVersion, WorkflowVersionId, activateLicenseKey, canEnableMFA, changePassword, connectProvider, createApiKey, createProjectRole, deleteApiKey, deleteDestinationFromDb, deleteProjectRole, deleteUser, disableMfa, dismissBannerPermanently, enableMfa, fetchCommunityNodeAttributes, fetchCommunityNodeTypes, findWebhook, get, getAdminPanelLoginCode, getApiKeyScopes, getApiKeys, getAvailableCommunityPackageCount, getBecomeCreatorCta, getCategories, getCloudUserInfo, getCollectionById, getCollections, getCurrentPlan, getCurrentUsage, getDestinationsFromBackend, getEventNamesFromBackend, getExternalSecrets, getExternalSecretsProvider, getExternalSecretsProviders, getFullApiResponse, getInstalledCommunityNodes, getInviteLink, getLdapConfig, getLdapSynchronizations, getLicense, getLocalResourceMapperFields, getMfaQR, getModuleSettings, getNextVersions, getNodeParameterActionResult, getNodeParameterOptions, getNodeTranslationHeaders, getNodeTypes, getNodesInformation, getOidcConfig, getPasswordResetLink, getPromptsData, getProvisioningConfig, getResourceLocatorResults, getResourceMapperFields, getRoleBySlug, getRoles, getSamlConfig, getSamlMetadata, getSettings, getTemplateById, getThirdPartyLicenses, getUsers, getWhatsNewSection, getWorkflowHistory, getWorkflowTemplate, getWorkflowVersion, getWorkflows, hasDestinationId, initOidcLogin, initSSO, installNewPackage, login, loginCurrentUser, logout, makeRestApiRequest, patch, post, registerCommunityEdition, reloadProvider, renewLicense, request, requestLicenseTrial, runLdapSync, saveDestinationToDb, saveOidcConfig, saveProvisioningConfig, saveSamlConfig, sendConfirmationEmail, sendForgotPasswordEmail, sendGetWorkerStatus, sendTestMessageToDestination, sendUserEvent, sessionStarted, setupOwner, signup, streamRequest, submitContactInfo, submitPersonalizationSurvey, testExternalSecretsProviderConnection, testHealthEndpoint, testLdapConnection, testSamlConfig, toggleSamlConfig, uninstallPackage, updateApiKey, updateCurrentUser, updateCurrentUserPassword, updateCurrentUserSettings, updateEnforceMfa, updateGlobalRole, updateLdapConfig, updateNpsSurveyState, updateOtherUserSettings, updatePackage, updateProjectRole, updateProvider, validatePasswordToken, validateSignupToken, verifyMfaCode };
|
package/dist/index.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { a as get, c as patch, d as streamRequest, i as STREAM_SEPARATOR, l as post, n as NO_NETWORK_ERROR_CODE, o as getFullApiResponse, r as ResponseError, s as makeRestApiRequest, t as MfaRequiredError, u as request } from "./utils-
|
|
2
|
-
import { a as updateApiKey, i as getApiKeys, n as deleteApiKey, r as getApiKeyScopes, t as createApiKey } from "./api-keys-
|
|
3
|
-
import { a as sendConfirmationEmail, i as getCurrentUsage, n as getCloudUserInfo, r as getCurrentPlan, t as getAdminPanelLoginCode } from "./cloudPlans-
|
|
4
|
-
import { a as updatePackage, i as uninstallPackage, n as getInstalledCommunityNodes, r as installNewPackage, t as getAvailableCommunityPackageCount } from "./communityNodes-
|
|
5
|
-
import { t as getBecomeCreatorCta } from "./ctas-
|
|
6
|
-
import { a as saveDestinationToDb, i as hasDestinationId, n as getDestinationsFromBackend, o as sendTestMessageToDestination, r as getEventNamesFromBackend, t as deleteDestinationFromDb } from "./eventbus.ee-
|
|
7
|
-
import { t as sessionStarted } from "./events-
|
|
8
|
-
import { a as reloadProvider, i as getExternalSecretsProviders, n as getExternalSecrets, o as testExternalSecretsProviderConnection, r as getExternalSecretsProvider, s as updateProvider, t as connectProvider } from "./externalSecrets.ee-
|
|
9
|
-
import { a as updateLdapConfig, i as testLdapConnection, n as getLdapSynchronizations, r as runLdapSync, t as getLdapConfig } from "./ldap-
|
|
10
|
-
import { a as updateEnforceMfa, i as getMfaQR, n as disableMfa, o as verifyMfaCode, r as enableMfa, t as canEnableMFA } from "./mfa-
|
|
11
|
-
import { a as getNodeParameterOptions, c as getNodesInformation, i as getNodeParameterActionResult, l as getResourceLocatorResults, n as fetchCommunityNodeTypes, o as getNodeTranslationHeaders, r as getLocalResourceMapperFields, s as getNodeTypes, t as fetchCommunityNodeAttributes, u as getResourceMapperFields } from "./nodeTypes-
|
|
12
|
-
import { t as updateNpsSurveyState } from "./npsSurvey-
|
|
13
|
-
import { t as sendGetWorkerStatus } from "./orchestration-
|
|
14
|
-
import { n as saveProvisioningConfig, t as getProvisioningConfig } from "./provisioning-
|
|
15
|
-
import { n as submitContactInfo, t as getPromptsData } from "./prompts-
|
|
16
|
-
import { a as updateProjectRole, i as getRoles, n as deleteProjectRole, r as getRoleBySlug, t as createProjectRole } from "./roles-
|
|
17
|
-
import { t as getSettings } from "./settings-
|
|
18
|
-
import { t as getModuleSettings } from "./module-settings-
|
|
19
|
-
import { a as initSSO, c as testSamlConfig, i as initOidcLogin, l as toggleSamlConfig, n as getSamlConfig, o as saveOidcConfig, r as getSamlMetadata, s as saveSamlConfig, t as getOidcConfig } from "./sso-
|
|
20
|
-
import { a as getWorkflowTemplate, i as getTemplateById, n as getCollectionById, o as getWorkflows, r as getCollections, s as testHealthEndpoint, t as getCategories } from "./templates-
|
|
21
|
-
import { t as getThirdPartyLicenses } from "./third-party-licenses-
|
|
22
|
-
import { t as dismissBannerPermanently } from "./ui-
|
|
23
|
-
import { a as requestLicenseTrial, i as renewLicense, n as getLicense, r as registerCommunityEdition, t as activateLicenseKey } from "./usage-
|
|
24
|
-
import { _ as updateOtherUserSettings, a as getUsers, c as logout, d as signup, f as submitPersonalizationSurvey, g as updateGlobalRole, h as updateCurrentUserSettings, i as getPasswordResetLink, l as sendForgotPasswordEmail, m as updateCurrentUserPassword, n as deleteUser, o as login, p as updateCurrentUser, r as getInviteLink, s as loginCurrentUser, t as changePassword, u as setupOwner, v as validatePasswordToken, y as validateSignupToken } from "./users-
|
|
25
|
-
import { n as getWhatsNewSection, t as getNextVersions } from "./versions-
|
|
26
|
-
import { t as findWebhook } from "./webhooks-
|
|
27
|
-
import { n as getWorkflowVersion, t as getWorkflowHistory } from "./workflowHistory-
|
|
1
|
+
import { a as get, c as patch, d as streamRequest, i as STREAM_SEPARATOR, l as post, n as NO_NETWORK_ERROR_CODE, o as getFullApiResponse, r as ResponseError, s as makeRestApiRequest, t as MfaRequiredError, u as request } from "./utils-DfdsvSio.js";
|
|
2
|
+
import { a as updateApiKey, i as getApiKeys, n as deleteApiKey, r as getApiKeyScopes, t as createApiKey } from "./api-keys-uP5vY83C.js";
|
|
3
|
+
import { a as sendConfirmationEmail, i as getCurrentUsage, n as getCloudUserInfo, o as sendUserEvent, r as getCurrentPlan, t as getAdminPanelLoginCode } from "./cloudPlans-DLjkAVcu.js";
|
|
4
|
+
import { a as updatePackage, i as uninstallPackage, n as getInstalledCommunityNodes, r as installNewPackage, t as getAvailableCommunityPackageCount } from "./communityNodes-CZUiSFXs.js";
|
|
5
|
+
import { t as getBecomeCreatorCta } from "./ctas-BhMDfBZj.js";
|
|
6
|
+
import { a as saveDestinationToDb, i as hasDestinationId, n as getDestinationsFromBackend, o as sendTestMessageToDestination, r as getEventNamesFromBackend, t as deleteDestinationFromDb } from "./eventbus.ee-BeIlRoKR.js";
|
|
7
|
+
import { t as sessionStarted } from "./events-BV8Poe8J.js";
|
|
8
|
+
import { a as reloadProvider, i as getExternalSecretsProviders, n as getExternalSecrets, o as testExternalSecretsProviderConnection, r as getExternalSecretsProvider, s as updateProvider, t as connectProvider } from "./externalSecrets.ee-CVp75c1t.js";
|
|
9
|
+
import { a as updateLdapConfig, i as testLdapConnection, n as getLdapSynchronizations, r as runLdapSync, t as getLdapConfig } from "./ldap-dJsgFbtF.js";
|
|
10
|
+
import { a as updateEnforceMfa, i as getMfaQR, n as disableMfa, o as verifyMfaCode, r as enableMfa, t as canEnableMFA } from "./mfa-BRac8Q6l.js";
|
|
11
|
+
import { a as getNodeParameterOptions, c as getNodesInformation, i as getNodeParameterActionResult, l as getResourceLocatorResults, n as fetchCommunityNodeTypes, o as getNodeTranslationHeaders, r as getLocalResourceMapperFields, s as getNodeTypes, t as fetchCommunityNodeAttributes, u as getResourceMapperFields } from "./nodeTypes-DpuULzy-.js";
|
|
12
|
+
import { t as updateNpsSurveyState } from "./npsSurvey-C74EQvtL.js";
|
|
13
|
+
import { t as sendGetWorkerStatus } from "./orchestration-D1TdzBBL.js";
|
|
14
|
+
import { n as saveProvisioningConfig, t as getProvisioningConfig } from "./provisioning-DijeyEBA.js";
|
|
15
|
+
import { n as submitContactInfo, t as getPromptsData } from "./prompts-IpThocqw.js";
|
|
16
|
+
import { a as updateProjectRole, i as getRoles, n as deleteProjectRole, r as getRoleBySlug, t as createProjectRole } from "./roles-B7cgU7qx.js";
|
|
17
|
+
import { t as getSettings } from "./settings-BouzQp14.js";
|
|
18
|
+
import { t as getModuleSettings } from "./module-settings-BLmvyCNm.js";
|
|
19
|
+
import { a as initSSO, c as testSamlConfig, i as initOidcLogin, l as toggleSamlConfig, n as getSamlConfig, o as saveOidcConfig, r as getSamlMetadata, s as saveSamlConfig, t as getOidcConfig } from "./sso-CBMbEkVH.js";
|
|
20
|
+
import { a as getWorkflowTemplate, i as getTemplateById, n as getCollectionById, o as getWorkflows, r as getCollections, s as testHealthEndpoint, t as getCategories } from "./templates-BosEV6uN.js";
|
|
21
|
+
import { t as getThirdPartyLicenses } from "./third-party-licenses-CdPKzzPL.js";
|
|
22
|
+
import { t as dismissBannerPermanently } from "./ui-B8PYUC2J.js";
|
|
23
|
+
import { a as requestLicenseTrial, i as renewLicense, n as getLicense, r as registerCommunityEdition, t as activateLicenseKey } from "./usage-CzKXyota.js";
|
|
24
|
+
import { _ as updateOtherUserSettings, a as getUsers, c as logout, d as signup, f as submitPersonalizationSurvey, g as updateGlobalRole, h as updateCurrentUserSettings, i as getPasswordResetLink, l as sendForgotPasswordEmail, m as updateCurrentUserPassword, n as deleteUser, o as login, p as updateCurrentUser, r as getInviteLink, s as loginCurrentUser, t as changePassword, u as setupOwner, v as validatePasswordToken, y as validateSignupToken } from "./users-BthaWKTQ.js";
|
|
25
|
+
import { n as getWhatsNewSection, t as getNextVersions } from "./versions-C-KlqShr.js";
|
|
26
|
+
import { t as findWebhook } from "./webhooks-BcjD9DiL.js";
|
|
27
|
+
import { n as getWorkflowVersion, t as getWorkflowHistory } from "./workflowHistory-IkElArGe.js";
|
|
28
28
|
import "./api-Dy4wevtj.js";
|
|
29
29
|
|
|
30
|
-
export { MfaRequiredError, NO_NETWORK_ERROR_CODE, ResponseError, STREAM_SEPARATOR, activateLicenseKey, canEnableMFA, changePassword, connectProvider, createApiKey, createProjectRole, deleteApiKey, deleteDestinationFromDb, deleteProjectRole, deleteUser, disableMfa, dismissBannerPermanently, enableMfa, fetchCommunityNodeAttributes, fetchCommunityNodeTypes, findWebhook, get, getAdminPanelLoginCode, getApiKeyScopes, getApiKeys, getAvailableCommunityPackageCount, getBecomeCreatorCta, getCategories, getCloudUserInfo, getCollectionById, getCollections, getCurrentPlan, getCurrentUsage, getDestinationsFromBackend, getEventNamesFromBackend, getExternalSecrets, getExternalSecretsProvider, getExternalSecretsProviders, getFullApiResponse, getInstalledCommunityNodes, getInviteLink, getLdapConfig, getLdapSynchronizations, getLicense, getLocalResourceMapperFields, getMfaQR, getModuleSettings, getNextVersions, getNodeParameterActionResult, getNodeParameterOptions, getNodeTranslationHeaders, getNodeTypes, getNodesInformation, getOidcConfig, getPasswordResetLink, getPromptsData, getProvisioningConfig, getResourceLocatorResults, getResourceMapperFields, getRoleBySlug, getRoles, getSamlConfig, getSamlMetadata, getSettings, getTemplateById, getThirdPartyLicenses, getUsers, getWhatsNewSection, getWorkflowHistory, getWorkflowTemplate, getWorkflowVersion, getWorkflows, hasDestinationId, initOidcLogin, initSSO, installNewPackage, login, loginCurrentUser, logout, makeRestApiRequest, patch, post, registerCommunityEdition, reloadProvider, renewLicense, request, requestLicenseTrial, runLdapSync, saveDestinationToDb, saveOidcConfig, saveProvisioningConfig, saveSamlConfig, sendConfirmationEmail, sendForgotPasswordEmail, sendGetWorkerStatus, sendTestMessageToDestination, sessionStarted, setupOwner, signup, streamRequest, submitContactInfo, submitPersonalizationSurvey, testExternalSecretsProviderConnection, testHealthEndpoint, testLdapConnection, testSamlConfig, toggleSamlConfig, uninstallPackage, updateApiKey, updateCurrentUser, updateCurrentUserPassword, updateCurrentUserSettings, updateEnforceMfa, updateGlobalRole, updateLdapConfig, updateNpsSurveyState, updateOtherUserSettings, updatePackage, updateProjectRole, updateProvider, validatePasswordToken, validateSignupToken, verifyMfaCode };
|
|
30
|
+
export { MfaRequiredError, NO_NETWORK_ERROR_CODE, ResponseError, STREAM_SEPARATOR, activateLicenseKey, canEnableMFA, changePassword, connectProvider, createApiKey, createProjectRole, deleteApiKey, deleteDestinationFromDb, deleteProjectRole, deleteUser, disableMfa, dismissBannerPermanently, enableMfa, fetchCommunityNodeAttributes, fetchCommunityNodeTypes, findWebhook, get, getAdminPanelLoginCode, getApiKeyScopes, getApiKeys, getAvailableCommunityPackageCount, getBecomeCreatorCta, getCategories, getCloudUserInfo, getCollectionById, getCollections, getCurrentPlan, getCurrentUsage, getDestinationsFromBackend, getEventNamesFromBackend, getExternalSecrets, getExternalSecretsProvider, getExternalSecretsProviders, getFullApiResponse, getInstalledCommunityNodes, getInviteLink, getLdapConfig, getLdapSynchronizations, getLicense, getLocalResourceMapperFields, getMfaQR, getModuleSettings, getNextVersions, getNodeParameterActionResult, getNodeParameterOptions, getNodeTranslationHeaders, getNodeTypes, getNodesInformation, getOidcConfig, getPasswordResetLink, getPromptsData, getProvisioningConfig, getResourceLocatorResults, getResourceMapperFields, getRoleBySlug, getRoles, getSamlConfig, getSamlMetadata, getSettings, getTemplateById, getThirdPartyLicenses, getUsers, getWhatsNewSection, getWorkflowHistory, getWorkflowTemplate, getWorkflowVersion, getWorkflows, hasDestinationId, initOidcLogin, initSSO, installNewPackage, login, loginCurrentUser, logout, makeRestApiRequest, patch, post, registerCommunityEdition, reloadProvider, renewLicense, request, requestLicenseTrial, runLdapSync, saveDestinationToDb, saveOidcConfig, saveProvisioningConfig, saveSamlConfig, sendConfirmationEmail, sendForgotPasswordEmail, sendGetWorkerStatus, sendTestMessageToDestination, sendUserEvent, sessionStarted, setupOwner, signup, streamRequest, submitContactInfo, submitPersonalizationSurvey, testExternalSecretsProviderConnection, testHealthEndpoint, testLdapConnection, testSamlConfig, toggleSamlConfig, uninstallPackage, updateApiKey, updateCurrentUser, updateCurrentUserPassword, updateCurrentUserSettings, updateEnforceMfa, updateGlobalRole, updateLdapConfig, updateNpsSurveyState, updateOtherUserSettings, updatePackage, updateProjectRole, updateProvider, validatePasswordToken, validateSignupToken, verifyMfaCode };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_utils = require('./utils-
|
|
1
|
+
const require_utils = require('./utils-VAtD8kId.cjs');
|
|
2
2
|
|
|
3
3
|
//#region src/api/ldap.ts
|
|
4
4
|
async function getLdapConfig(context) {
|
|
@@ -48,4 +48,4 @@ Object.defineProperty(exports, 'updateLdapConfig', {
|
|
|
48
48
|
return updateLdapConfig;
|
|
49
49
|
}
|
|
50
50
|
});
|
|
51
|
-
//# sourceMappingURL=ldap-
|
|
51
|
+
//# sourceMappingURL=ldap-Dro61aN8.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ldap-
|
|
1
|
+
{"version":3,"file":"ldap-Dro61aN8.cjs","names":["makeRestApiRequest"],"sources":["../src/api/ldap.ts"],"sourcesContent":["import type { IDataObject } from 'n8n-workflow';\n\nimport type { IRestApiContext } from '../types';\nimport { makeRestApiRequest } from '../utils';\n\nexport interface LdapSyncData {\n\tid: number;\n\tstartedAt: string;\n\tendedAt: string;\n\tcreated: number;\n\tupdated: number;\n\tdisabled: number;\n\tscanned: number;\n\tstatus: string;\n\terror: string;\n\trunMode: string;\n}\n\nexport interface LdapSyncTable {\n\tstatus: string;\n\tendedAt: string;\n\trunTime: string;\n\trunMode: string;\n\tdetails: string;\n}\n\nexport interface LdapConfig {\n\tloginEnabled: boolean;\n\tloginLabel: string;\n\tconnectionUrl: string;\n\tallowUnauthorizedCerts: boolean;\n\tconnectionSecurity: string;\n\tconnectionPort: number;\n\tbaseDn: string;\n\tbindingAdminDn: string;\n\tbindingAdminPassword: string;\n\tfirstNameAttribute: string;\n\tlastNameAttribute: string;\n\temailAttribute: string;\n\tloginIdAttribute: string;\n\tldapIdAttribute: string;\n\tuserFilter: string;\n\tsynchronizationEnabled: boolean;\n\tsynchronizationInterval: number; // minutes\n\tsearchPageSize: number;\n\tsearchTimeout: number;\n}\n\nexport async function getLdapConfig(context: IRestApiContext): Promise<LdapConfig> {\n\treturn await makeRestApiRequest(context, 'GET', '/ldap/config');\n}\n\nexport async function testLdapConnection(context: IRestApiContext): Promise<{}> {\n\treturn await makeRestApiRequest(context, 'POST', '/ldap/test-connection');\n}\n\nexport async function updateLdapConfig(\n\tcontext: IRestApiContext,\n\tadConfig: LdapConfig,\n): Promise<LdapConfig> {\n\treturn await makeRestApiRequest(\n\t\tcontext,\n\t\t'PUT',\n\t\t'/ldap/config',\n\t\tadConfig as unknown as IDataObject,\n\t);\n}\n\nexport async function runLdapSync(context: IRestApiContext, data: IDataObject): Promise<{}> {\n\treturn await makeRestApiRequest(context, 'POST', '/ldap/sync', data as unknown as IDataObject);\n}\n\nexport async function getLdapSynchronizations(\n\tcontext: IRestApiContext,\n\tpagination: { page: number },\n): Promise<LdapSyncData[]> {\n\treturn await makeRestApiRequest(context, 'GET', '/ldap/sync', pagination);\n}\n"],"mappings":";;;AAgDA,eAAsB,cAAc,SAA+C;AAClF,QAAO,MAAMA,iCAAmB,SAAS,OAAO,eAAe;;AAGhE,eAAsB,mBAAmB,SAAuC;AAC/E,QAAO,MAAMA,iCAAmB,SAAS,QAAQ,wBAAwB;;AAG1E,eAAsB,iBACrB,SACA,UACsB;AACtB,QAAO,MAAMA,iCACZ,SACA,OACA,gBACA,SACA;;AAGF,eAAsB,YAAY,SAA0B,MAAgC;AAC3F,QAAO,MAAMA,iCAAmB,SAAS,QAAQ,cAAc,KAA+B;;AAG/F,eAAsB,wBACrB,SACA,YAC0B;AAC1B,QAAO,MAAMA,iCAAmB,SAAS,OAAO,cAAc,WAAW"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as makeRestApiRequest } from "./utils-
|
|
1
|
+
import { s as makeRestApiRequest } from "./utils-DfdsvSio.js";
|
|
2
2
|
|
|
3
3
|
//#region src/api/ldap.ts
|
|
4
4
|
async function getLdapConfig(context) {
|
|
@@ -19,4 +19,4 @@ async function getLdapSynchronizations(context, pagination) {
|
|
|
19
19
|
|
|
20
20
|
//#endregion
|
|
21
21
|
export { updateLdapConfig as a, testLdapConnection as i, getLdapSynchronizations as n, runLdapSync as r, getLdapConfig as t };
|
|
22
|
-
//# sourceMappingURL=ldap-
|
|
22
|
+
//# sourceMappingURL=ldap-dJsgFbtF.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ldap-
|
|
1
|
+
{"version":3,"file":"ldap-dJsgFbtF.js","names":[],"sources":["../src/api/ldap.ts"],"sourcesContent":["import type { IDataObject } from 'n8n-workflow';\n\nimport type { IRestApiContext } from '../types';\nimport { makeRestApiRequest } from '../utils';\n\nexport interface LdapSyncData {\n\tid: number;\n\tstartedAt: string;\n\tendedAt: string;\n\tcreated: number;\n\tupdated: number;\n\tdisabled: number;\n\tscanned: number;\n\tstatus: string;\n\terror: string;\n\trunMode: string;\n}\n\nexport interface LdapSyncTable {\n\tstatus: string;\n\tendedAt: string;\n\trunTime: string;\n\trunMode: string;\n\tdetails: string;\n}\n\nexport interface LdapConfig {\n\tloginEnabled: boolean;\n\tloginLabel: string;\n\tconnectionUrl: string;\n\tallowUnauthorizedCerts: boolean;\n\tconnectionSecurity: string;\n\tconnectionPort: number;\n\tbaseDn: string;\n\tbindingAdminDn: string;\n\tbindingAdminPassword: string;\n\tfirstNameAttribute: string;\n\tlastNameAttribute: string;\n\temailAttribute: string;\n\tloginIdAttribute: string;\n\tldapIdAttribute: string;\n\tuserFilter: string;\n\tsynchronizationEnabled: boolean;\n\tsynchronizationInterval: number; // minutes\n\tsearchPageSize: number;\n\tsearchTimeout: number;\n}\n\nexport async function getLdapConfig(context: IRestApiContext): Promise<LdapConfig> {\n\treturn await makeRestApiRequest(context, 'GET', '/ldap/config');\n}\n\nexport async function testLdapConnection(context: IRestApiContext): Promise<{}> {\n\treturn await makeRestApiRequest(context, 'POST', '/ldap/test-connection');\n}\n\nexport async function updateLdapConfig(\n\tcontext: IRestApiContext,\n\tadConfig: LdapConfig,\n): Promise<LdapConfig> {\n\treturn await makeRestApiRequest(\n\t\tcontext,\n\t\t'PUT',\n\t\t'/ldap/config',\n\t\tadConfig as unknown as IDataObject,\n\t);\n}\n\nexport async function runLdapSync(context: IRestApiContext, data: IDataObject): Promise<{}> {\n\treturn await makeRestApiRequest(context, 'POST', '/ldap/sync', data as unknown as IDataObject);\n}\n\nexport async function getLdapSynchronizations(\n\tcontext: IRestApiContext,\n\tpagination: { page: number },\n): Promise<LdapSyncData[]> {\n\treturn await makeRestApiRequest(context, 'GET', '/ldap/sync', pagination);\n}\n"],"mappings":";;;AAgDA,eAAsB,cAAc,SAA+C;AAClF,QAAO,MAAM,mBAAmB,SAAS,OAAO,eAAe;;AAGhE,eAAsB,mBAAmB,SAAuC;AAC/E,QAAO,MAAM,mBAAmB,SAAS,QAAQ,wBAAwB;;AAG1E,eAAsB,iBACrB,SACA,UACsB;AACtB,QAAO,MAAM,mBACZ,SACA,OACA,gBACA,SACA;;AAGF,eAAsB,YAAY,SAA0B,MAAgC;AAC3F,QAAO,MAAM,mBAAmB,SAAS,QAAQ,cAAc,KAA+B;;AAG/F,eAAsB,wBACrB,SACA,YAC0B;AAC1B,QAAO,MAAM,mBAAmB,SAAS,OAAO,cAAc,WAAW"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as makeRestApiRequest } from "./utils-
|
|
1
|
+
import { s as makeRestApiRequest } from "./utils-DfdsvSio.js";
|
|
2
2
|
|
|
3
3
|
//#region src/api/mfa.ts
|
|
4
4
|
async function canEnableMFA(context) {
|
|
@@ -22,4 +22,4 @@ async function updateEnforceMfa(context, enforce) {
|
|
|
22
22
|
|
|
23
23
|
//#endregion
|
|
24
24
|
export { updateEnforceMfa as a, getMfaQR as i, disableMfa as n, verifyMfaCode as o, enableMfa as r, canEnableMFA as t };
|
|
25
|
-
//# sourceMappingURL=mfa-
|
|
25
|
+
//# sourceMappingURL=mfa-BRac8Q6l.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mfa-
|
|
1
|
+
{"version":3,"file":"mfa-BRac8Q6l.js","names":[],"sources":["../src/api/mfa.ts"],"sourcesContent":["import type { IRestApiContext } from '../types';\nimport { makeRestApiRequest } from '../utils';\n\nexport async function canEnableMFA(context: IRestApiContext) {\n\treturn await makeRestApiRequest(context, 'POST', '/mfa/can-enable');\n}\n\nexport async function getMfaQR(\n\tcontext: IRestApiContext,\n): Promise<{ qrCode: string; secret: string; recoveryCodes: string[] }> {\n\treturn await makeRestApiRequest(context, 'GET', '/mfa/qr');\n}\n\nexport async function enableMfa(\n\tcontext: IRestApiContext,\n\tdata: { mfaCode: string },\n): Promise<void> {\n\treturn await makeRestApiRequest(context, 'POST', '/mfa/enable', data);\n}\n\nexport async function verifyMfaCode(\n\tcontext: IRestApiContext,\n\tdata: { mfaCode: string },\n): Promise<void> {\n\treturn await makeRestApiRequest(context, 'POST', '/mfa/verify', data);\n}\n\nexport type DisableMfaParams = {\n\tmfaCode?: string;\n\tmfaRecoveryCode?: string;\n};\n\nexport async function disableMfa(context: IRestApiContext, data: DisableMfaParams): Promise<void> {\n\treturn await makeRestApiRequest(context, 'POST', '/mfa/disable', data);\n}\n\nexport async function updateEnforceMfa(context: IRestApiContext, enforce: boolean): Promise<void> {\n\treturn await makeRestApiRequest(context, 'POST', '/mfa/enforce-mfa', {\n\t\tenforce,\n\t});\n}\n"],"mappings":";;;AAGA,eAAsB,aAAa,SAA0B;AAC5D,QAAO,MAAM,mBAAmB,SAAS,QAAQ,kBAAkB;;AAGpE,eAAsB,SACrB,SACuE;AACvE,QAAO,MAAM,mBAAmB,SAAS,OAAO,UAAU;;AAG3D,eAAsB,UACrB,SACA,MACgB;AAChB,QAAO,MAAM,mBAAmB,SAAS,QAAQ,eAAe,KAAK;;AAGtE,eAAsB,cACrB,SACA,MACgB;AAChB,QAAO,MAAM,mBAAmB,SAAS,QAAQ,eAAe,KAAK;;AAQtE,eAAsB,WAAW,SAA0B,MAAuC;AACjG,QAAO,MAAM,mBAAmB,SAAS,QAAQ,gBAAgB,KAAK;;AAGvE,eAAsB,iBAAiB,SAA0B,SAAiC;AACjG,QAAO,MAAM,mBAAmB,SAAS,QAAQ,oBAAoB,EACpE,SACA,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_utils = require('./utils-
|
|
1
|
+
const require_utils = require('./utils-VAtD8kId.cjs');
|
|
2
2
|
|
|
3
3
|
//#region src/api/mfa.ts
|
|
4
4
|
async function canEnableMFA(context) {
|
|
@@ -57,4 +57,4 @@ Object.defineProperty(exports, 'verifyMfaCode', {
|
|
|
57
57
|
return verifyMfaCode;
|
|
58
58
|
}
|
|
59
59
|
});
|
|
60
|
-
//# sourceMappingURL=mfa-
|
|
60
|
+
//# sourceMappingURL=mfa-ChX3eCvb.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mfa-
|
|
1
|
+
{"version":3,"file":"mfa-ChX3eCvb.cjs","names":["makeRestApiRequest"],"sources":["../src/api/mfa.ts"],"sourcesContent":["import type { IRestApiContext } from '../types';\nimport { makeRestApiRequest } from '../utils';\n\nexport async function canEnableMFA(context: IRestApiContext) {\n\treturn await makeRestApiRequest(context, 'POST', '/mfa/can-enable');\n}\n\nexport async function getMfaQR(\n\tcontext: IRestApiContext,\n): Promise<{ qrCode: string; secret: string; recoveryCodes: string[] }> {\n\treturn await makeRestApiRequest(context, 'GET', '/mfa/qr');\n}\n\nexport async function enableMfa(\n\tcontext: IRestApiContext,\n\tdata: { mfaCode: string },\n): Promise<void> {\n\treturn await makeRestApiRequest(context, 'POST', '/mfa/enable', data);\n}\n\nexport async function verifyMfaCode(\n\tcontext: IRestApiContext,\n\tdata: { mfaCode: string },\n): Promise<void> {\n\treturn await makeRestApiRequest(context, 'POST', '/mfa/verify', data);\n}\n\nexport type DisableMfaParams = {\n\tmfaCode?: string;\n\tmfaRecoveryCode?: string;\n};\n\nexport async function disableMfa(context: IRestApiContext, data: DisableMfaParams): Promise<void> {\n\treturn await makeRestApiRequest(context, 'POST', '/mfa/disable', data);\n}\n\nexport async function updateEnforceMfa(context: IRestApiContext, enforce: boolean): Promise<void> {\n\treturn await makeRestApiRequest(context, 'POST', '/mfa/enforce-mfa', {\n\t\tenforce,\n\t});\n}\n"],"mappings":";;;AAGA,eAAsB,aAAa,SAA0B;AAC5D,QAAO,MAAMA,iCAAmB,SAAS,QAAQ,kBAAkB;;AAGpE,eAAsB,SACrB,SACuE;AACvE,QAAO,MAAMA,iCAAmB,SAAS,OAAO,UAAU;;AAG3D,eAAsB,UACrB,SACA,MACgB;AAChB,QAAO,MAAMA,iCAAmB,SAAS,QAAQ,eAAe,KAAK;;AAGtE,eAAsB,cACrB,SACA,MACgB;AAChB,QAAO,MAAMA,iCAAmB,SAAS,QAAQ,eAAe,KAAK;;AAQtE,eAAsB,WAAW,SAA0B,MAAuC;AACjG,QAAO,MAAMA,iCAAmB,SAAS,QAAQ,gBAAgB,KAAK;;AAGvE,eAAsB,iBAAiB,SAA0B,SAAiC;AACjG,QAAO,MAAMA,iCAAmB,SAAS,QAAQ,oBAAoB,EACpE,SACA,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as makeRestApiRequest } from "./utils-
|
|
1
|
+
import { s as makeRestApiRequest } from "./utils-DfdsvSio.js";
|
|
2
2
|
|
|
3
3
|
//#region src/api/module-settings.ts
|
|
4
4
|
async function getModuleSettings(context) {
|
|
@@ -7,4 +7,4 @@ async function getModuleSettings(context) {
|
|
|
7
7
|
|
|
8
8
|
//#endregion
|
|
9
9
|
export { getModuleSettings as t };
|
|
10
|
-
//# sourceMappingURL=module-settings-
|
|
10
|
+
//# sourceMappingURL=module-settings-BLmvyCNm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module-settings-
|
|
1
|
+
{"version":3,"file":"module-settings-BLmvyCNm.js","names":[],"sources":["../src/api/module-settings.ts"],"sourcesContent":["import type { FrontendModuleSettings } from '@n8n/api-types';\n\nimport type { IRestApiContext } from '../types';\nimport { makeRestApiRequest } from '../utils';\n\nexport async function getModuleSettings(context: IRestApiContext): Promise<FrontendModuleSettings> {\n\treturn await makeRestApiRequest(context, 'GET', '/module-settings');\n}\n"],"mappings":";;;AAKA,eAAsB,kBAAkB,SAA2D;AAClG,QAAO,MAAM,mBAAmB,SAAS,OAAO,mBAAmB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_utils = require('./utils-
|
|
1
|
+
const require_utils = require('./utils-VAtD8kId.cjs');
|
|
2
2
|
|
|
3
3
|
//#region src/api/module-settings.ts
|
|
4
4
|
async function getModuleSettings(context) {
|
|
@@ -12,4 +12,4 @@ Object.defineProperty(exports, 'getModuleSettings', {
|
|
|
12
12
|
return getModuleSettings;
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
|
-
//# sourceMappingURL=module-settings-
|
|
15
|
+
//# sourceMappingURL=module-settings-C_hGYsDf.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module-settings-
|
|
1
|
+
{"version":3,"file":"module-settings-C_hGYsDf.cjs","names":["makeRestApiRequest"],"sources":["../src/api/module-settings.ts"],"sourcesContent":["import type { FrontendModuleSettings } from '@n8n/api-types';\n\nimport type { IRestApiContext } from '../types';\nimport { makeRestApiRequest } from '../utils';\n\nexport async function getModuleSettings(context: IRestApiContext): Promise<FrontendModuleSettings> {\n\treturn await makeRestApiRequest(context, 'GET', '/module-settings');\n}\n"],"mappings":";;;AAKA,eAAsB,kBAAkB,SAA2D;AAClG,QAAO,MAAMA,iCAAmB,SAAS,OAAO,mBAAmB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_utils = require('./utils-
|
|
1
|
+
const require_utils = require('./utils-VAtD8kId.cjs');
|
|
2
2
|
let axios = require("axios");
|
|
3
3
|
axios = require_utils.__toESM(axios);
|
|
4
4
|
let n8n_workflow = require("n8n-workflow");
|
|
@@ -105,4 +105,4 @@ Object.defineProperty(exports, 'getResourceMapperFields', {
|
|
|
105
105
|
return getResourceMapperFields;
|
|
106
106
|
}
|
|
107
107
|
});
|
|
108
|
-
//# sourceMappingURL=nodeTypes-
|
|
108
|
+
//# sourceMappingURL=nodeTypes-Btn1Spll.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nodeTypes-
|
|
1
|
+
{"version":3,"file":"nodeTypes-Btn1Spll.cjs","names":["makeRestApiRequest"],"sources":["../src/api/nodeTypes.ts"],"sourcesContent":["import type {\n\tActionResultRequestDto,\n\tCommunityNodeType,\n\tOptionsRequestDto,\n\tResourceLocatorRequestDto,\n\tResourceMapperFieldsRequestDto,\n} from '@n8n/api-types';\nimport type { INodeTranslationHeaders } from '@n8n/i18n';\nimport axios from 'axios';\nimport type {\n\tINodeListSearchResult,\n\tINodePropertyOptions,\n\tINodeTypeDescription,\n\tINodeTypeNameVersion,\n\tNodeParameterValueType,\n\tResourceMapperFields,\n} from 'n8n-workflow';\nimport { sleep } from 'n8n-workflow';\n\nimport type { IRestApiContext } from '../types';\nimport { makeRestApiRequest } from '../utils';\n\nasync function fetchNodeTypesJsonWithRetry(url: string, retries = 5, delay = 500) {\n\tfor (let attempt = 0; attempt < retries; attempt++) {\n\t\tconst response = await axios.get(url, { withCredentials: true });\n\n\t\tif (typeof response.data === 'object' && response.data !== null) {\n\t\t\treturn response.data;\n\t\t}\n\n\t\tawait sleep(delay * attempt);\n\t}\n\n\tthrow new Error('Could not fetch node types');\n}\n\nexport async function getNodeTypes(baseUrl: string) {\n\treturn await fetchNodeTypesJsonWithRetry(baseUrl + 'types/nodes.json');\n}\n\nexport async function fetchCommunityNodeTypes(\n\tcontext: IRestApiContext,\n): Promise<CommunityNodeType[]> {\n\treturn await makeRestApiRequest(context, 'GET', '/community-node-types');\n}\n\nexport async function fetchCommunityNodeAttributes(\n\tcontext: IRestApiContext,\n\ttype: string,\n): Promise<CommunityNodeType | null> {\n\treturn await makeRestApiRequest(\n\t\tcontext,\n\t\t'GET',\n\t\t`/community-node-types/${encodeURIComponent(type)}`,\n\t);\n}\n\nexport async function getNodeTranslationHeaders(\n\tcontext: IRestApiContext,\n): Promise<INodeTranslationHeaders | undefined> {\n\treturn await makeRestApiRequest(context, 'GET', '/node-translation-headers');\n}\n\nexport async function getNodesInformation(\n\tcontext: IRestApiContext,\n\tnodeInfos: INodeTypeNameVersion[],\n): Promise<INodeTypeDescription[]> {\n\treturn await makeRestApiRequest(context, 'POST', '/node-types', { nodeInfos });\n}\n\nexport async function getNodeParameterOptions(\n\tcontext: IRestApiContext,\n\tsendData: OptionsRequestDto,\n): Promise<INodePropertyOptions[]> {\n\treturn await makeRestApiRequest(context, 'POST', '/dynamic-node-parameters/options', sendData);\n}\n\nexport async function getResourceLocatorResults(\n\tcontext: IRestApiContext,\n\tsendData: ResourceLocatorRequestDto,\n): Promise<INodeListSearchResult> {\n\treturn await makeRestApiRequest(\n\t\tcontext,\n\t\t'POST',\n\t\t'/dynamic-node-parameters/resource-locator-results',\n\t\tsendData,\n\t);\n}\n\nexport async function getResourceMapperFields(\n\tcontext: IRestApiContext,\n\tsendData: ResourceMapperFieldsRequestDto,\n): Promise<ResourceMapperFields> {\n\treturn await makeRestApiRequest(\n\t\tcontext,\n\t\t'POST',\n\t\t'/dynamic-node-parameters/resource-mapper-fields',\n\t\tsendData,\n\t);\n}\n\nexport async function getLocalResourceMapperFields(\n\tcontext: IRestApiContext,\n\tsendData: ResourceMapperFieldsRequestDto,\n): Promise<ResourceMapperFields> {\n\treturn await makeRestApiRequest(\n\t\tcontext,\n\t\t'POST',\n\t\t'/dynamic-node-parameters/local-resource-mapper-fields',\n\t\tsendData,\n\t);\n}\n\nexport async function getNodeParameterActionResult(\n\tcontext: IRestApiContext,\n\tsendData: ActionResultRequestDto,\n): Promise<NodeParameterValueType> {\n\treturn await makeRestApiRequest(\n\t\tcontext,\n\t\t'POST',\n\t\t'/dynamic-node-parameters/action-result',\n\t\tsendData,\n\t);\n}\n"],"mappings":";;;;;;;AAsBA,eAAe,4BAA4B,KAAa,UAAU,GAAG,QAAQ,KAAK;AACjF,MAAK,IAAI,UAAU,GAAG,UAAU,SAAS,WAAW;EACnD,MAAM,WAAW,MAAM,cAAM,IAAI,KAAK,EAAE,iBAAiB,MAAM,CAAC;AAEhE,MAAI,OAAO,SAAS,SAAS,YAAY,SAAS,SAAS,KAC1D,QAAO,SAAS;AAGjB,gCAAY,QAAQ,QAAQ;;AAG7B,OAAM,IAAI,MAAM,6BAA6B;;AAG9C,eAAsB,aAAa,SAAiB;AACnD,QAAO,MAAM,4BAA4B,UAAU,mBAAmB;;AAGvE,eAAsB,wBACrB,SAC+B;AAC/B,QAAO,MAAMA,iCAAmB,SAAS,OAAO,wBAAwB;;AAGzE,eAAsB,6BACrB,SACA,MACoC;AACpC,QAAO,MAAMA,iCACZ,SACA,OACA,yBAAyB,mBAAmB,KAAK,GACjD;;AAGF,eAAsB,0BACrB,SAC+C;AAC/C,QAAO,MAAMA,iCAAmB,SAAS,OAAO,4BAA4B;;AAG7E,eAAsB,oBACrB,SACA,WACkC;AAClC,QAAO,MAAMA,iCAAmB,SAAS,QAAQ,eAAe,EAAE,WAAW,CAAC;;AAG/E,eAAsB,wBACrB,SACA,UACkC;AAClC,QAAO,MAAMA,iCAAmB,SAAS,QAAQ,oCAAoC,SAAS;;AAG/F,eAAsB,0BACrB,SACA,UACiC;AACjC,QAAO,MAAMA,iCACZ,SACA,QACA,qDACA,SACA;;AAGF,eAAsB,wBACrB,SACA,UACgC;AAChC,QAAO,MAAMA,iCACZ,SACA,QACA,mDACA,SACA;;AAGF,eAAsB,6BACrB,SACA,UACgC;AAChC,QAAO,MAAMA,iCACZ,SACA,QACA,yDACA,SACA;;AAGF,eAAsB,6BACrB,SACA,UACkC;AAClC,QAAO,MAAMA,iCACZ,SACA,QACA,0CACA,SACA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as makeRestApiRequest } from "./utils-
|
|
1
|
+
import { s as makeRestApiRequest } from "./utils-DfdsvSio.js";
|
|
2
2
|
import axios from "axios";
|
|
3
3
|
import { sleep } from "n8n-workflow";
|
|
4
4
|
|
|
@@ -44,4 +44,4 @@ async function getNodeParameterActionResult(context, sendData) {
|
|
|
44
44
|
|
|
45
45
|
//#endregion
|
|
46
46
|
export { getNodeParameterOptions as a, getNodesInformation as c, getNodeParameterActionResult as i, getResourceLocatorResults as l, fetchCommunityNodeTypes as n, getNodeTranslationHeaders as o, getLocalResourceMapperFields as r, getNodeTypes as s, fetchCommunityNodeAttributes as t, getResourceMapperFields as u };
|
|
47
|
-
//# sourceMappingURL=nodeTypes-
|
|
47
|
+
//# sourceMappingURL=nodeTypes-DpuULzy-.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nodeTypes-
|
|
1
|
+
{"version":3,"file":"nodeTypes-DpuULzy-.js","names":[],"sources":["../src/api/nodeTypes.ts"],"sourcesContent":["import type {\n\tActionResultRequestDto,\n\tCommunityNodeType,\n\tOptionsRequestDto,\n\tResourceLocatorRequestDto,\n\tResourceMapperFieldsRequestDto,\n} from '@n8n/api-types';\nimport type { INodeTranslationHeaders } from '@n8n/i18n';\nimport axios from 'axios';\nimport type {\n\tINodeListSearchResult,\n\tINodePropertyOptions,\n\tINodeTypeDescription,\n\tINodeTypeNameVersion,\n\tNodeParameterValueType,\n\tResourceMapperFields,\n} from 'n8n-workflow';\nimport { sleep } from 'n8n-workflow';\n\nimport type { IRestApiContext } from '../types';\nimport { makeRestApiRequest } from '../utils';\n\nasync function fetchNodeTypesJsonWithRetry(url: string, retries = 5, delay = 500) {\n\tfor (let attempt = 0; attempt < retries; attempt++) {\n\t\tconst response = await axios.get(url, { withCredentials: true });\n\n\t\tif (typeof response.data === 'object' && response.data !== null) {\n\t\t\treturn response.data;\n\t\t}\n\n\t\tawait sleep(delay * attempt);\n\t}\n\n\tthrow new Error('Could not fetch node types');\n}\n\nexport async function getNodeTypes(baseUrl: string) {\n\treturn await fetchNodeTypesJsonWithRetry(baseUrl + 'types/nodes.json');\n}\n\nexport async function fetchCommunityNodeTypes(\n\tcontext: IRestApiContext,\n): Promise<CommunityNodeType[]> {\n\treturn await makeRestApiRequest(context, 'GET', '/community-node-types');\n}\n\nexport async function fetchCommunityNodeAttributes(\n\tcontext: IRestApiContext,\n\ttype: string,\n): Promise<CommunityNodeType | null> {\n\treturn await makeRestApiRequest(\n\t\tcontext,\n\t\t'GET',\n\t\t`/community-node-types/${encodeURIComponent(type)}`,\n\t);\n}\n\nexport async function getNodeTranslationHeaders(\n\tcontext: IRestApiContext,\n): Promise<INodeTranslationHeaders | undefined> {\n\treturn await makeRestApiRequest(context, 'GET', '/node-translation-headers');\n}\n\nexport async function getNodesInformation(\n\tcontext: IRestApiContext,\n\tnodeInfos: INodeTypeNameVersion[],\n): Promise<INodeTypeDescription[]> {\n\treturn await makeRestApiRequest(context, 'POST', '/node-types', { nodeInfos });\n}\n\nexport async function getNodeParameterOptions(\n\tcontext: IRestApiContext,\n\tsendData: OptionsRequestDto,\n): Promise<INodePropertyOptions[]> {\n\treturn await makeRestApiRequest(context, 'POST', '/dynamic-node-parameters/options', sendData);\n}\n\nexport async function getResourceLocatorResults(\n\tcontext: IRestApiContext,\n\tsendData: ResourceLocatorRequestDto,\n): Promise<INodeListSearchResult> {\n\treturn await makeRestApiRequest(\n\t\tcontext,\n\t\t'POST',\n\t\t'/dynamic-node-parameters/resource-locator-results',\n\t\tsendData,\n\t);\n}\n\nexport async function getResourceMapperFields(\n\tcontext: IRestApiContext,\n\tsendData: ResourceMapperFieldsRequestDto,\n): Promise<ResourceMapperFields> {\n\treturn await makeRestApiRequest(\n\t\tcontext,\n\t\t'POST',\n\t\t'/dynamic-node-parameters/resource-mapper-fields',\n\t\tsendData,\n\t);\n}\n\nexport async function getLocalResourceMapperFields(\n\tcontext: IRestApiContext,\n\tsendData: ResourceMapperFieldsRequestDto,\n): Promise<ResourceMapperFields> {\n\treturn await makeRestApiRequest(\n\t\tcontext,\n\t\t'POST',\n\t\t'/dynamic-node-parameters/local-resource-mapper-fields',\n\t\tsendData,\n\t);\n}\n\nexport async function getNodeParameterActionResult(\n\tcontext: IRestApiContext,\n\tsendData: ActionResultRequestDto,\n): Promise<NodeParameterValueType> {\n\treturn await makeRestApiRequest(\n\t\tcontext,\n\t\t'POST',\n\t\t'/dynamic-node-parameters/action-result',\n\t\tsendData,\n\t);\n}\n"],"mappings":";;;;;AAsBA,eAAe,4BAA4B,KAAa,UAAU,GAAG,QAAQ,KAAK;AACjF,MAAK,IAAI,UAAU,GAAG,UAAU,SAAS,WAAW;EACnD,MAAM,WAAW,MAAM,MAAM,IAAI,KAAK,EAAE,iBAAiB,MAAM,CAAC;AAEhE,MAAI,OAAO,SAAS,SAAS,YAAY,SAAS,SAAS,KAC1D,QAAO,SAAS;AAGjB,QAAM,MAAM,QAAQ,QAAQ;;AAG7B,OAAM,IAAI,MAAM,6BAA6B;;AAG9C,eAAsB,aAAa,SAAiB;AACnD,QAAO,MAAM,4BAA4B,UAAU,mBAAmB;;AAGvE,eAAsB,wBACrB,SAC+B;AAC/B,QAAO,MAAM,mBAAmB,SAAS,OAAO,wBAAwB;;AAGzE,eAAsB,6BACrB,SACA,MACoC;AACpC,QAAO,MAAM,mBACZ,SACA,OACA,yBAAyB,mBAAmB,KAAK,GACjD;;AAGF,eAAsB,0BACrB,SAC+C;AAC/C,QAAO,MAAM,mBAAmB,SAAS,OAAO,4BAA4B;;AAG7E,eAAsB,oBACrB,SACA,WACkC;AAClC,QAAO,MAAM,mBAAmB,SAAS,QAAQ,eAAe,EAAE,WAAW,CAAC;;AAG/E,eAAsB,wBACrB,SACA,UACkC;AAClC,QAAO,MAAM,mBAAmB,SAAS,QAAQ,oCAAoC,SAAS;;AAG/F,eAAsB,0BACrB,SACA,UACiC;AACjC,QAAO,MAAM,mBACZ,SACA,QACA,qDACA,SACA;;AAGF,eAAsB,wBACrB,SACA,UACgC;AAChC,QAAO,MAAM,mBACZ,SACA,QACA,mDACA,SACA;;AAGF,eAAsB,6BACrB,SACA,UACgC;AAChC,QAAO,MAAM,mBACZ,SACA,QACA,yDACA,SACA;;AAGF,eAAsB,6BACrB,SACA,UACkC;AAClC,QAAO,MAAM,mBACZ,SACA,QACA,0CACA,SACA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_utils = require('./utils-
|
|
1
|
+
const require_utils = require('./utils-VAtD8kId.cjs');
|
|
2
2
|
|
|
3
3
|
//#region src/api/npsSurvey.ts
|
|
4
4
|
async function updateNpsSurveyState(context, state) {
|
|
@@ -12,4 +12,4 @@ Object.defineProperty(exports, 'updateNpsSurveyState', {
|
|
|
12
12
|
return updateNpsSurveyState;
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
|
-
//# sourceMappingURL=npsSurvey-
|
|
15
|
+
//# sourceMappingURL=npsSurvey-BHAR9GWB.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"npsSurvey-
|
|
1
|
+
{"version":3,"file":"npsSurvey-BHAR9GWB.cjs","names":["makeRestApiRequest"],"sources":["../src/api/npsSurvey.ts"],"sourcesContent":["import type { NpsSurveyState } from 'n8n-workflow';\n\nimport type { IRestApiContext } from '../types';\nimport { makeRestApiRequest } from '../utils';\n\nexport async function updateNpsSurveyState(context: IRestApiContext, state: NpsSurveyState) {\n\tawait makeRestApiRequest(context, 'PATCH', '/user-settings/nps-survey', state);\n}\n"],"mappings":";;;AAKA,eAAsB,qBAAqB,SAA0B,OAAuB;AAC3F,OAAMA,iCAAmB,SAAS,SAAS,6BAA6B,MAAM"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as makeRestApiRequest } from "./utils-
|
|
1
|
+
import { s as makeRestApiRequest } from "./utils-DfdsvSio.js";
|
|
2
2
|
|
|
3
3
|
//#region src/api/npsSurvey.ts
|
|
4
4
|
async function updateNpsSurveyState(context, state) {
|
|
@@ -7,4 +7,4 @@ async function updateNpsSurveyState(context, state) {
|
|
|
7
7
|
|
|
8
8
|
//#endregion
|
|
9
9
|
export { updateNpsSurveyState as t };
|
|
10
|
-
//# sourceMappingURL=npsSurvey-
|
|
10
|
+
//# sourceMappingURL=npsSurvey-C74EQvtL.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"npsSurvey-
|
|
1
|
+
{"version":3,"file":"npsSurvey-C74EQvtL.js","names":[],"sources":["../src/api/npsSurvey.ts"],"sourcesContent":["import type { NpsSurveyState } from 'n8n-workflow';\n\nimport type { IRestApiContext } from '../types';\nimport { makeRestApiRequest } from '../utils';\n\nexport async function updateNpsSurveyState(context: IRestApiContext, state: NpsSurveyState) {\n\tawait makeRestApiRequest(context, 'PATCH', '/user-settings/nps-survey', state);\n}\n"],"mappings":";;;AAKA,eAAsB,qBAAqB,SAA0B,OAAuB;AAC3F,OAAM,mBAAmB,SAAS,SAAS,6BAA6B,MAAM"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_utils = require('./utils-
|
|
1
|
+
const require_utils = require('./utils-VAtD8kId.cjs');
|
|
2
2
|
|
|
3
3
|
//#region src/api/orchestration.ts
|
|
4
4
|
const GET_STATUS_ENDPOINT = "/orchestration/worker/status";
|
|
@@ -13,4 +13,4 @@ Object.defineProperty(exports, 'sendGetWorkerStatus', {
|
|
|
13
13
|
return sendGetWorkerStatus;
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
|
-
//# sourceMappingURL=orchestration-
|
|
16
|
+
//# sourceMappingURL=orchestration-C84h3vsL.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestration-
|
|
1
|
+
{"version":3,"file":"orchestration-C84h3vsL.cjs","names":["makeRestApiRequest"],"sources":["../src/api/orchestration.ts"],"sourcesContent":["import type { IRestApiContext } from '../types';\nimport { makeRestApiRequest } from '../utils';\n\nconst GET_STATUS_ENDPOINT = '/orchestration/worker/status';\n\nexport const sendGetWorkerStatus = async (context: IRestApiContext): Promise<void> => {\n\tawait makeRestApiRequest(context, 'POST', GET_STATUS_ENDPOINT);\n};\n"],"mappings":";;;AAGA,MAAM,sBAAsB;AAE5B,MAAa,sBAAsB,OAAO,YAA4C;AACrF,OAAMA,iCAAmB,SAAS,QAAQ,oBAAoB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as makeRestApiRequest } from "./utils-
|
|
1
|
+
import { s as makeRestApiRequest } from "./utils-DfdsvSio.js";
|
|
2
2
|
|
|
3
3
|
//#region src/api/orchestration.ts
|
|
4
4
|
const GET_STATUS_ENDPOINT = "/orchestration/worker/status";
|
|
@@ -8,4 +8,4 @@ const sendGetWorkerStatus = async (context) => {
|
|
|
8
8
|
|
|
9
9
|
//#endregion
|
|
10
10
|
export { sendGetWorkerStatus as t };
|
|
11
|
-
//# sourceMappingURL=orchestration-
|
|
11
|
+
//# sourceMappingURL=orchestration-D1TdzBBL.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestration-
|
|
1
|
+
{"version":3,"file":"orchestration-D1TdzBBL.js","names":[],"sources":["../src/api/orchestration.ts"],"sourcesContent":["import type { IRestApiContext } from '../types';\nimport { makeRestApiRequest } from '../utils';\n\nconst GET_STATUS_ENDPOINT = '/orchestration/worker/status';\n\nexport const sendGetWorkerStatus = async (context: IRestApiContext): Promise<void> => {\n\tawait makeRestApiRequest(context, 'POST', GET_STATUS_ENDPOINT);\n};\n"],"mappings":";;;AAGA,MAAM,sBAAsB;AAE5B,MAAa,sBAAsB,OAAO,YAA4C;AACrF,OAAM,mBAAmB,SAAS,QAAQ,oBAAoB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_utils = require('./utils-
|
|
1
|
+
const require_utils = require('./utils-VAtD8kId.cjs');
|
|
2
2
|
let __n8n_constants = require("@n8n/constants");
|
|
3
3
|
__n8n_constants = require_utils.__toESM(__n8n_constants);
|
|
4
4
|
|
|
@@ -29,4 +29,4 @@ Object.defineProperty(exports, 'submitContactInfo', {
|
|
|
29
29
|
return submitContactInfo;
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
|
-
//# sourceMappingURL=prompts-
|
|
32
|
+
//# sourceMappingURL=prompts-BDM4qsW-.cjs.map
|