@n8n/rest-api-client 1.19.0 → 1.20.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 +8 -16
- package/dist/api/api-keys.d.cts +3 -15
- package/dist/api/api-keys.d.ts +3 -15
- package/dist/api/api-keys.js +4 -16
- package/dist/api/cloudPlans.cjs +8 -16
- package/dist/api/cloudPlans.d.cts +3 -49
- package/dist/api/cloudPlans.d.ts +3 -49
- package/dist/api/cloudPlans.js +4 -16
- package/dist/api/communityNodes.cjs +8 -16
- package/dist/api/communityNodes.d.cts +3 -10
- package/dist/api/communityNodes.d.ts +3 -10
- package/dist/api/communityNodes.js +4 -16
- package/dist/api/ctas.cjs +3 -7
- package/dist/api/ctas.d.cts +3 -5
- package/dist/api/ctas.d.ts +3 -5
- package/dist/api/ctas.js +4 -8
- package/dist/api/eventbus.ee.cjs +9 -18
- package/dist/api/eventbus.ee.d.cts +3 -14
- package/dist/api/eventbus.ee.d.ts +3 -14
- package/dist/api/eventbus.ee.js +4 -18
- package/dist/api/events.cjs +3 -7
- package/dist/api/events.d.cts +3 -5
- package/dist/api/events.d.ts +3 -5
- package/dist/api/events.js +4 -8
- package/dist/api/execution.cjs +0 -1
- package/dist/api/execution.d.cts +1 -2
- package/dist/api/execution.d.ts +1 -2
- package/dist/api/execution.js +1 -1
- package/dist/api/externalSecrets.ee.cjs +10 -20
- package/dist/api/externalSecrets.ee.d.cts +3 -16
- package/dist/api/externalSecrets.ee.d.ts +3 -16
- package/dist/api/externalSecrets.ee.js +4 -20
- package/dist/api/index.cjs +140 -265
- package/dist/api/index.d.cts +31 -33
- package/dist/api/index.d.ts +31 -33
- package/dist/api/index.js +30 -265
- package/dist/api/ldap.cjs +8 -16
- package/dist/api/ldap.d.cts +3 -52
- package/dist/api/ldap.d.ts +3 -52
- package/dist/api/ldap.js +4 -16
- package/dist/api/mfa.cjs +9 -18
- package/dist/api/mfa.d.cts +3 -22
- package/dist/api/mfa.d.ts +3 -22
- package/dist/api/mfa.js +4 -18
- package/dist/api/module-settings.cjs +3 -7
- package/dist/api/module-settings.d.cts +3 -6
- package/dist/api/module-settings.d.ts +3 -6
- package/dist/api/module-settings.js +4 -8
- package/dist/api/nodeTypes.cjs +13 -26
- package/dist/api/nodeTypes.d.cts +3 -17
- package/dist/api/nodeTypes.d.ts +3 -17
- package/dist/api/nodeTypes.js +4 -26
- package/dist/api/npsSurvey.cjs +3 -7
- package/dist/api/npsSurvey.d.cts +3 -6
- package/dist/api/npsSurvey.d.ts +3 -6
- package/dist/api/npsSurvey.js +4 -8
- package/dist/api/orchestration.cjs +3 -7
- package/dist/api/orchestration.d.cts +3 -5
- package/dist/api/orchestration.d.ts +3 -5
- package/dist/api/orchestration.js +4 -8
- package/dist/api/prompts.cjs +4 -9
- package/dist/api/prompts.d.cts +2 -12
- package/dist/api/prompts.d.ts +2 -12
- package/dist/api/prompts.js +4 -10
- package/dist/api/provisioning.cjs +5 -0
- package/dist/api/provisioning.d.cts +3 -0
- package/dist/api/provisioning.d.ts +3 -0
- package/dist/api/provisioning.js +4 -0
- package/dist/api/roles.cjs +7 -7
- package/dist/api/roles.d.cts +3 -6
- package/dist/api/roles.d.ts +3 -6
- package/dist/api/roles.js +4 -8
- package/dist/api/settings.cjs +3 -7
- package/dist/api/settings.d.cts +3 -6
- package/dist/api/settings.d.ts +3 -6
- package/dist/api/settings.js +4 -8
- package/dist/api/sso.cjs +12 -24
- package/dist/api/sso.d.cts +3 -18
- package/dist/api/sso.d.ts +3 -18
- package/dist/api/sso.js +4 -24
- package/dist/api/tags.cjs +0 -1
- package/dist/api/tags.d.cts +2 -9
- package/dist/api/tags.d.ts +2 -9
- package/dist/api/tags.js +1 -1
- package/dist/api/templates.cjs +10 -20
- package/dist/api/templates.d.cts +5 -128
- package/dist/api/templates.d.ts +5 -128
- package/dist/api/templates.js +4 -20
- package/dist/api/third-party-licenses.cjs +3 -7
- package/dist/api/third-party-licenses.d.cts +3 -5
- package/dist/api/third-party-licenses.d.ts +3 -5
- package/dist/api/third-party-licenses.js +4 -8
- package/dist/api/ui.cjs +3 -7
- package/dist/api/ui.d.cts +3 -9
- package/dist/api/ui.d.ts +3 -9
- package/dist/api/ui.js +4 -8
- package/dist/api/usage.cjs +8 -16
- package/dist/api/usage.d.cts +3 -15
- package/dist/api/usage.d.ts +3 -15
- package/dist/api/usage.js +4 -16
- package/dist/api/users.cjs +22 -44
- package/dist/api/users.d.cts +3 -121
- package/dist/api/users.d.ts +3 -121
- package/dist/api/users.js +4 -44
- package/dist/api/versions.cjs +4 -9
- package/dist/api/versions.d.cts +2 -46
- package/dist/api/versions.d.ts +2 -46
- package/dist/api/versions.js +4 -10
- package/dist/api/webhooks.cjs +3 -7
- package/dist/api/webhooks.d.cts +3 -15
- package/dist/api/webhooks.d.ts +3 -15
- package/dist/api/webhooks.js +4 -8
- package/dist/api/workflowHistory.cjs +4 -9
- package/dist/api/workflowHistory.d.cts +3 -24
- package/dist/api/workflowHistory.d.ts +3 -24
- package/dist/api/workflowHistory.js +4 -10
- package/dist/api/workflows.cjs +0 -1
- package/dist/api/workflows.d.cts +3 -40
- package/dist/api/workflows.d.ts +3 -40
- package/dist/api/workflows.js +1 -1
- package/dist/api-B5ImKaJs.cjs +0 -0
- package/dist/api-Dy4wevtj.js +1 -0
- package/dist/api-keys-BVhNNyeP.d.ts +17 -0
- package/dist/api-keys-C7iAKd7S.d.cts +17 -0
- package/dist/api-keys-CdogZdeQ.js +22 -0
- package/dist/api-keys-CdogZdeQ.js.map +1 -0
- package/dist/api-keys-DWJqK3fC.cjs +51 -0
- package/dist/api-keys-DWJqK3fC.cjs.map +1 -0
- package/dist/cloudPlans-B8uHyQ_1.cjs +51 -0
- package/dist/cloudPlans-B8uHyQ_1.cjs.map +1 -0
- package/dist/cloudPlans-Bdxs4uap.d.ts +51 -0
- package/dist/cloudPlans-DaH1MBfa.js +22 -0
- package/dist/cloudPlans-DaH1MBfa.js.map +1 -0
- package/dist/cloudPlans-aeUnb8AK.d.cts +51 -0
- package/dist/communityNodes-7Lc8o1Kz.d.ts +12 -0
- package/dist/communityNodes-BUH-39qi.d.cts +12 -0
- package/dist/communityNodes-CE2n8u4o.js +31 -0
- package/dist/communityNodes-CE2n8u4o.js.map +1 -0
- package/dist/communityNodes-Dd7hz8vM.cjs +61 -0
- package/dist/communityNodes-Dd7hz8vM.cjs.map +1 -0
- package/dist/ctas-2cArrp5h.d.ts +7 -0
- package/dist/ctas-BExU1GEq.js +10 -0
- package/dist/ctas-BExU1GEq.js.map +1 -0
- package/dist/ctas-BPu87721.d.cts +7 -0
- package/dist/ctas-CkfR15kk.cjs +15 -0
- package/dist/ctas-CkfR15kk.cjs.map +1 -0
- package/dist/eventbus.ee-C0mwUCtd.d.ts +16 -0
- package/dist/eventbus.ee-CDH8lYuD.d.cts +16 -0
- package/dist/eventbus.ee-Dy8OID76.cjs +63 -0
- package/dist/eventbus.ee-Dy8OID76.cjs.map +1 -0
- package/dist/eventbus.ee-Mgcwc9Je.js +28 -0
- package/dist/eventbus.ee-Mgcwc9Je.js.map +1 -0
- package/dist/events-B-t6a3G2.d.cts +7 -0
- package/dist/events-C9_PZbal.cjs +15 -0
- package/dist/events-C9_PZbal.cjs.map +1 -0
- package/dist/events-DD5K-i3P.d.ts +7 -0
- package/dist/events-Dir9yuIU.js +10 -0
- package/dist/events-Dir9yuIU.js.map +1 -0
- package/dist/externalSecrets.ee-BUBiX9hA.d.cts +18 -0
- package/dist/externalSecrets.ee-CQlUdp5i.js +28 -0
- package/dist/externalSecrets.ee-CQlUdp5i.js.map +1 -0
- package/dist/externalSecrets.ee-DyhPxamB.cjs +69 -0
- package/dist/externalSecrets.ee-DyhPxamB.cjs.map +1 -0
- package/dist/externalSecrets.ee-wMCn_ela.d.ts +18 -0
- package/dist/index-CPiw-gXy.d.cts +1 -0
- package/dist/index-ij9f8GAA.d.ts +1 -0
- package/dist/index.cjs +151 -288
- package/dist/index.d.cts +32 -34
- package/dist/index.d.ts +32 -34
- package/dist/index.js +30 -288
- package/dist/ldap-B4lzIQvN.cjs +51 -0
- package/dist/ldap-B4lzIQvN.cjs.map +1 -0
- package/dist/ldap-C5SIAiZv.d.cts +54 -0
- package/dist/ldap-CgsCqo_6.d.ts +54 -0
- package/dist/ldap-Ctb6baMS.js +22 -0
- package/dist/ldap-Ctb6baMS.js.map +1 -0
- package/dist/mfa-BS4MrpFp.js +25 -0
- package/dist/mfa-BS4MrpFp.js.map +1 -0
- package/dist/mfa-BteEfKoH.cjs +60 -0
- package/dist/mfa-BteEfKoH.cjs.map +1 -0
- package/dist/mfa-jg5kXfSW.d.ts +24 -0
- package/dist/mfa-us0uJ4bp.d.cts +24 -0
- package/dist/module-settings-BRrfd2zd.js +10 -0
- package/dist/module-settings-BRrfd2zd.js.map +1 -0
- package/dist/module-settings-BulEETdJ.cjs +15 -0
- package/dist/module-settings-BulEETdJ.cjs.map +1 -0
- package/dist/module-settings-D2B4TI7L.d.ts +8 -0
- package/dist/module-settings-DEV8RDBw.d.cts +8 -0
- package/dist/nodeTypes-B7Y5Yz8i.d.ts +19 -0
- package/dist/nodeTypes-BeTjB1ic.d.cts +19 -0
- package/dist/nodeTypes-Cr2xTbm7.js +47 -0
- package/dist/nodeTypes-Cr2xTbm7.js.map +1 -0
- package/dist/nodeTypes-DCk86LDz.cjs +108 -0
- package/dist/nodeTypes-DCk86LDz.cjs.map +1 -0
- package/dist/npsSurvey-BieNYcIL.d.ts +8 -0
- package/dist/npsSurvey-C1x1TDrG.cjs +15 -0
- package/dist/npsSurvey-C1x1TDrG.cjs.map +1 -0
- package/dist/npsSurvey-DQ7fZryy.d.cts +8 -0
- package/dist/npsSurvey-o0ClpYrm.js +10 -0
- package/dist/npsSurvey-o0ClpYrm.js.map +1 -0
- package/dist/orchestration-BFJ7gPf-.d.ts +7 -0
- package/dist/orchestration-BWq2DLiL.cjs +16 -0
- package/dist/orchestration-BWq2DLiL.cjs.map +1 -0
- package/dist/orchestration-Dw-hy172.d.cts +7 -0
- package/dist/orchestration-ug3znTw-.js +11 -0
- package/dist/orchestration-ug3znTw-.js.map +1 -0
- package/dist/prompts-B6mJdfEH.d.cts +14 -0
- package/dist/prompts-CVCeykfZ.js +20 -0
- package/dist/prompts-CVCeykfZ.js.map +1 -0
- package/dist/prompts-Dk6DB5OK.d.ts +14 -0
- package/dist/prompts-pb6raObn.cjs +32 -0
- package/dist/prompts-pb6raObn.cjs.map +1 -0
- package/dist/provisioning-BXzy-1C2.cjs +24 -0
- package/dist/provisioning-BXzy-1C2.cjs.map +1 -0
- package/dist/provisioning-BvP38kfM.d.ts +16 -0
- package/dist/provisioning-BvjrhIH8.js +13 -0
- package/dist/provisioning-BvjrhIH8.js.map +1 -0
- package/dist/provisioning-C230Wb8r.d.cts +16 -0
- package/dist/roles-52k5ITQK.js +22 -0
- package/dist/roles-52k5ITQK.js.map +1 -0
- package/dist/roles-DuQpUe-R.d.cts +15 -0
- package/dist/roles-ahcEGfy9.d.ts +15 -0
- package/dist/roles-ui0tjENB.cjs +51 -0
- package/dist/roles-ui0tjENB.cjs.map +1 -0
- package/dist/settings-BeZiupZe.js +10 -0
- package/dist/settings-BeZiupZe.js.map +1 -0
- package/dist/settings-CU3m0ObQ.d.cts +8 -0
- package/dist/settings-JOwYndrq.d.ts +8 -0
- package/dist/settings-M7GRxXmC.cjs +15 -0
- package/dist/settings-M7GRxXmC.cjs.map +1 -0
- package/dist/sso-B1c4jiwR.d.cts +20 -0
- package/dist/sso-BQsAFsAS.d.ts +20 -0
- package/dist/sso-Bsjy3TLY.js +34 -0
- package/dist/sso-Bsjy3TLY.js.map +1 -0
- package/dist/sso-C7aUBmBN.cjs +87 -0
- package/dist/sso-C7aUBmBN.cjs.map +1 -0
- package/dist/tags-BmQjq4MC.d.ts +11 -0
- package/dist/tags-CAqCzyzW.d.cts +11 -0
- package/dist/templates-B7XqphoH.d.cts +129 -0
- package/dist/templates-CWiTMqRP.d.ts +129 -0
- package/dist/templates-bqybPo-G.cjs +83 -0
- package/dist/templates-bqybPo-G.cjs.map +1 -0
- package/dist/templates-wGD4yMr7.js +42 -0
- package/dist/templates-wGD4yMr7.js.map +1 -0
- package/dist/third-party-licenses-8vKtcmnF.js +14 -0
- package/dist/third-party-licenses-8vKtcmnF.js.map +1 -0
- package/dist/third-party-licenses-BBpNd2rx.d.ts +7 -0
- package/dist/third-party-licenses-C0Nz4RHq.d.cts +7 -0
- package/dist/third-party-licenses-CrcvU83z.cjs +19 -0
- package/dist/third-party-licenses-CrcvU83z.cjs.map +1 -0
- package/dist/types-CGd0oIFw.d.cts +8 -0
- package/dist/types-DhrOsni7.d.ts +8 -0
- package/dist/types.cjs +0 -1
- package/dist/types.d.cts +2 -6
- package/dist/types.d.ts +2 -6
- package/dist/types.js +1 -1
- package/dist/ui-B4xr8QiX.js +10 -0
- package/dist/ui-B4xr8QiX.js.map +1 -0
- package/dist/ui-C3gT7sPj.cjs +15 -0
- package/dist/ui-C3gT7sPj.cjs.map +1 -0
- package/dist/ui-pGYj__59.d.cts +11 -0
- package/dist/ui-sl-6RuyK.d.ts +11 -0
- package/dist/usage-CBdTEDDu.d.ts +17 -0
- package/dist/usage-CRQ8GiSr.js +22 -0
- package/dist/usage-CRQ8GiSr.js.map +1 -0
- package/dist/usage-CS_GHm0I.d.cts +17 -0
- package/dist/usage-DLyBkpx1.cjs +51 -0
- package/dist/usage-DLyBkpx1.cjs.map +1 -0
- package/dist/users-3fnfgZDe.d.ts +133 -0
- package/dist/users-B9LpOwmz.js +65 -0
- package/dist/users-B9LpOwmz.js.map +1 -0
- package/dist/users-DmE1VJFB.cjs +178 -0
- package/dist/users-DmE1VJFB.cjs.map +1 -0
- package/dist/users-qIU9n-he.d.cts +133 -0
- package/dist/utils-BDrAABCM.d.cts +40 -0
- package/dist/utils-C6ys34iA.js +197 -0
- package/dist/utils-C6ys34iA.js.map +1 -0
- package/dist/utils-CbeoyX5z.d.ts +40 -0
- package/dist/utils-ZXKTtQnj.cjs +295 -0
- package/dist/utils-ZXKTtQnj.cjs.map +1 -0
- package/dist/utils.cjs +13 -27
- package/dist/utils.d.cts +3 -38
- package/dist/utils.d.ts +3 -38
- package/dist/utils.js +3 -27
- package/dist/versions--_Wey_a_.cjs +29 -0
- package/dist/versions--_Wey_a_.cjs.map +1 -0
- package/dist/versions-CGwgpGHe.js +17 -0
- package/dist/{chunk-2KIJCNI3.cjs.map → versions-CGwgpGHe.js.map} +1 -1
- package/dist/versions-Dkx5pbFT.d.cts +48 -0
- package/dist/versions-Yr__bekI.d.ts +48 -0
- package/dist/webhooks--yHzhEmb.d.cts +17 -0
- package/dist/webhooks-Bw9bMRu9.d.ts +17 -0
- package/dist/webhooks-C7CDtoXI.cjs +15 -0
- package/dist/webhooks-C7CDtoXI.cjs.map +1 -0
- package/dist/webhooks-DrHiwzPY.js +10 -0
- package/dist/webhooks-DrHiwzPY.js.map +1 -0
- package/dist/workflowHistory-AEX9jtKQ.d.ts +26 -0
- package/dist/workflowHistory-C1CMbPy8.js +15 -0
- package/dist/workflowHistory-C1CMbPy8.js.map +1 -0
- package/dist/workflowHistory-C62HH4KF.d.cts +26 -0
- package/dist/workflowHistory-EYU0KTz2.cjs +26 -0
- package/dist/workflowHistory-EYU0KTz2.cjs.map +1 -0
- package/dist/workflows-BEpE4ZKs.d.cts +42 -0
- package/dist/workflows-BcSwqS1l.d.ts +42 -0
- package/package.json +10 -10
- package/dist/api/api-keys.cjs.map +0 -1
- package/dist/api/api-keys.js.map +0 -1
- package/dist/api/cloudPlans.cjs.map +0 -1
- package/dist/api/cloudPlans.js.map +0 -1
- package/dist/api/communityNodes.cjs.map +0 -1
- package/dist/api/communityNodes.js.map +0 -1
- package/dist/api/ctas.cjs.map +0 -1
- package/dist/api/ctas.js.map +0 -1
- package/dist/api/eventbus.ee.cjs.map +0 -1
- package/dist/api/eventbus.ee.js.map +0 -1
- package/dist/api/events.cjs.map +0 -1
- package/dist/api/events.js.map +0 -1
- package/dist/api/execution.cjs.map +0 -1
- package/dist/api/execution.js.map +0 -1
- package/dist/api/externalSecrets.ee.cjs.map +0 -1
- package/dist/api/externalSecrets.ee.js.map +0 -1
- package/dist/api/index.cjs.map +0 -1
- package/dist/api/index.js.map +0 -1
- package/dist/api/ldap.cjs.map +0 -1
- package/dist/api/ldap.js.map +0 -1
- package/dist/api/mfa.cjs.map +0 -1
- package/dist/api/mfa.js.map +0 -1
- package/dist/api/module-settings.cjs.map +0 -1
- package/dist/api/module-settings.js.map +0 -1
- package/dist/api/nodeTypes.cjs.map +0 -1
- package/dist/api/nodeTypes.js.map +0 -1
- package/dist/api/npsSurvey.cjs.map +0 -1
- package/dist/api/npsSurvey.js.map +0 -1
- package/dist/api/orchestration.cjs.map +0 -1
- package/dist/api/orchestration.js.map +0 -1
- package/dist/api/prompts.cjs.map +0 -1
- package/dist/api/prompts.js.map +0 -1
- package/dist/api/roles.cjs.map +0 -1
- package/dist/api/roles.js.map +0 -1
- package/dist/api/settings.cjs.map +0 -1
- package/dist/api/settings.js.map +0 -1
- package/dist/api/sso.cjs.map +0 -1
- package/dist/api/sso.js.map +0 -1
- package/dist/api/tags.cjs.map +0 -1
- package/dist/api/tags.js.map +0 -1
- package/dist/api/templates.cjs.map +0 -1
- package/dist/api/templates.js.map +0 -1
- package/dist/api/third-party-licenses.cjs.map +0 -1
- package/dist/api/third-party-licenses.js.map +0 -1
- package/dist/api/ui.cjs.map +0 -1
- package/dist/api/ui.js.map +0 -1
- package/dist/api/usage.cjs.map +0 -1
- package/dist/api/usage.js.map +0 -1
- package/dist/api/users.cjs.map +0 -1
- package/dist/api/users.js.map +0 -1
- package/dist/api/versions.cjs.map +0 -1
- package/dist/api/versions.js.map +0 -1
- package/dist/api/webhooks.cjs.map +0 -1
- package/dist/api/webhooks.js.map +0 -1
- package/dist/api/workflowHistory.cjs.map +0 -1
- package/dist/api/workflowHistory.js.map +0 -1
- package/dist/api/workflows.cjs.map +0 -1
- package/dist/api/workflows.js.map +0 -1
- package/dist/chunk-2HIP7HY3.cjs +0 -30
- package/dist/chunk-2HIP7HY3.cjs.map +0 -1
- package/dist/chunk-2KIJCNI3.cjs +0 -23
- package/dist/chunk-2WXIPE6R.cjs +0 -14
- package/dist/chunk-2WXIPE6R.cjs.map +0 -1
- package/dist/chunk-42S5AG3J.cjs +0 -13
- package/dist/chunk-42S5AG3J.cjs.map +0 -1
- package/dist/chunk-6XFZR7YV.js +0 -54
- package/dist/chunk-6XFZR7YV.js.map +0 -1
- package/dist/chunk-74SJPDED.js +0 -35
- package/dist/chunk-74SJPDED.js.map +0 -1
- package/dist/chunk-76ONUQNJ.cjs +0 -29
- package/dist/chunk-76ONUQNJ.cjs.map +0 -1
- package/dist/chunk-7AIMEVIC.cjs +0 -216
- package/dist/chunk-7AIMEVIC.cjs.map +0 -1
- package/dist/chunk-7CMZZTD4.js +0 -23
- package/dist/chunk-7CMZZTD4.js.map +0 -1
- package/dist/chunk-7N54CGVY.cjs +0 -85
- package/dist/chunk-7N54CGVY.cjs.map +0 -1
- package/dist/chunk-AT57LIDK.js +0 -96
- package/dist/chunk-AT57LIDK.js.map +0 -1
- package/dist/chunk-BCVIHRDG.cjs +0 -13
- package/dist/chunk-BCVIHRDG.cjs.map +0 -1
- package/dist/chunk-BJABRRPB.js +0 -13
- package/dist/chunk-BJABRRPB.js.map +0 -1
- package/dist/chunk-BPNVMKBL.cjs +0 -54
- package/dist/chunk-BPNVMKBL.cjs.map +0 -1
- package/dist/chunk-C2GPOCTO.cjs +0 -35
- package/dist/chunk-C2GPOCTO.cjs.map +0 -1
- package/dist/chunk-C4CSB2ZH.js +0 -17
- package/dist/chunk-C4CSB2ZH.js.map +0 -1
- package/dist/chunk-CDPCW6LV.cjs +0 -13
- package/dist/chunk-CDPCW6LV.cjs.map +0 -1
- package/dist/chunk-FGSWUT7K.cjs +0 -41
- package/dist/chunk-FGSWUT7K.cjs.map +0 -1
- package/dist/chunk-FOHBHPHD.cjs +0 -17
- package/dist/chunk-FOHBHPHD.cjs.map +0 -1
- package/dist/chunk-FOPMJL3H.js +0 -30
- package/dist/chunk-FOPMJL3H.js.map +0 -1
- package/dist/chunk-FTJN5BLR.js +0 -34
- package/dist/chunk-FTJN5BLR.js.map +0 -1
- package/dist/chunk-FU5KYUN3.js +0 -14
- package/dist/chunk-FU5KYUN3.js.map +0 -1
- package/dist/chunk-GJ4U7DLQ.cjs +0 -26
- package/dist/chunk-GJ4U7DLQ.cjs.map +0 -1
- package/dist/chunk-GPD3UU55.js +0 -13
- package/dist/chunk-GPD3UU55.js.map +0 -1
- package/dist/chunk-GXPNGNJ2.cjs +0 -29
- package/dist/chunk-GXPNGNJ2.cjs.map +0 -1
- package/dist/chunk-IN5FNUHD.js +0 -29
- package/dist/chunk-IN5FNUHD.js.map +0 -1
- package/dist/chunk-J5ZJ7YD3.cjs +0 -34
- package/dist/chunk-J5ZJ7YD3.cjs.map +0 -1
- package/dist/chunk-JNWFJDWZ.js +0 -45
- package/dist/chunk-JNWFJDWZ.js.map +0 -1
- package/dist/chunk-KO2AHQJW.js +0 -26
- package/dist/chunk-KO2AHQJW.js.map +0 -1
- package/dist/chunk-LRAXSRDO.js +0 -13
- package/dist/chunk-LRAXSRDO.js.map +0 -1
- package/dist/chunk-LUNDVXEZ.cjs +0 -14
- package/dist/chunk-LUNDVXEZ.cjs.map +0 -1
- package/dist/chunk-MJCQK6VG.cjs +0 -96
- package/dist/chunk-MJCQK6VG.cjs.map +0 -1
- package/dist/chunk-MM7DY5LL.js +0 -1
- package/dist/chunk-MM7DY5LL.js.map +0 -1
- package/dist/chunk-N5KNT2V3.js +0 -13
- package/dist/chunk-N5KNT2V3.js.map +0 -1
- package/dist/chunk-NTC2OEWS.js +0 -15
- package/dist/chunk-NTC2OEWS.js.map +0 -1
- package/dist/chunk-NYSARVJW.js +0 -39
- package/dist/chunk-NYSARVJW.js.map +0 -1
- package/dist/chunk-ODVTDHTS.js +0 -216
- package/dist/chunk-ODVTDHTS.js.map +0 -1
- package/dist/chunk-PEK5XG4U.js +0 -34
- package/dist/chunk-PEK5XG4U.js.map +0 -1
- package/dist/chunk-RL4N7LQK.cjs +0 -13
- package/dist/chunk-RL4N7LQK.cjs.map +0 -1
- package/dist/chunk-RRBWN7JN.js +0 -41
- package/dist/chunk-RRBWN7JN.js.map +0 -1
- package/dist/chunk-T5Q4DFCU.cjs +0 -40
- package/dist/chunk-T5Q4DFCU.cjs.map +0 -1
- package/dist/chunk-TYZV36LT.js +0 -29
- package/dist/chunk-TYZV36LT.js.map +0 -1
- package/dist/chunk-U6PXJBVR.cjs +0 -1
- package/dist/chunk-U6PXJBVR.cjs.map +0 -1
- package/dist/chunk-VLTMHZGI.js +0 -14
- package/dist/chunk-VLTMHZGI.js.map +0 -1
- package/dist/chunk-VMJ4NBJG.cjs +0 -13
- package/dist/chunk-VMJ4NBJG.cjs.map +0 -1
- package/dist/chunk-VWLJ66E7.cjs +0 -45
- package/dist/chunk-VWLJ66E7.cjs.map +0 -1
- package/dist/chunk-WA3PFRYQ.cjs +0 -15
- package/dist/chunk-WA3PFRYQ.cjs.map +0 -1
- package/dist/chunk-X5752KSX.js +0 -40
- package/dist/chunk-X5752KSX.js.map +0 -1
- package/dist/chunk-X5RGK4VS.js +0 -13
- package/dist/chunk-X5RGK4VS.js.map +0 -1
- package/dist/chunk-Y2THZPFI.cjs +0 -39
- package/dist/chunk-Y2THZPFI.cjs.map +0 -1
- package/dist/chunk-Y4OUHUC4.js +0 -85
- package/dist/chunk-Y4OUHUC4.js.map +0 -1
- package/dist/chunk-YGU4SXDU.cjs +0 -34
- package/dist/chunk-YGU4SXDU.cjs.map +0 -1
- package/dist/chunk-YPGGBUVX.cjs +0 -13
- package/dist/chunk-YPGGBUVX.cjs.map +0 -1
- package/dist/chunk-YXNYR3S7.js +0 -13
- package/dist/chunk-YXNYR3S7.js.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/types.cjs.map +0 -1
- package/dist/types.js.map +0 -1
- package/dist/utils.cjs.map +0 -1
- package/dist/utils.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,288 +1,30 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
15
|
-
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
updateGlobalRole,
|
|
32
|
-
updateOtherUserSettings,
|
|
33
|
-
validatePasswordToken,
|
|
34
|
-
validateSignupToken
|
|
35
|
-
} from "./chunk-AT57LIDK.js";
|
|
36
|
-
import {
|
|
37
|
-
getNextVersions,
|
|
38
|
-
getWhatsNewSection
|
|
39
|
-
} from "./chunk-7CMZZTD4.js";
|
|
40
|
-
import {
|
|
41
|
-
findWebhook
|
|
42
|
-
} from "./chunk-BJABRRPB.js";
|
|
43
|
-
import {
|
|
44
|
-
getWorkflowHistory,
|
|
45
|
-
getWorkflowVersion
|
|
46
|
-
} from "./chunk-KO2AHQJW.js";
|
|
47
|
-
import {
|
|
48
|
-
updateNpsSurveyState
|
|
49
|
-
} from "./chunk-X5RGK4VS.js";
|
|
50
|
-
import {
|
|
51
|
-
sendGetWorkerStatus
|
|
52
|
-
} from "./chunk-VLTMHZGI.js";
|
|
53
|
-
import {
|
|
54
|
-
getPromptsData,
|
|
55
|
-
submitContactInfo
|
|
56
|
-
} from "./chunk-TYZV36LT.js";
|
|
57
|
-
import {
|
|
58
|
-
getRoles
|
|
59
|
-
} from "./chunk-GPD3UU55.js";
|
|
60
|
-
import {
|
|
61
|
-
getSettings
|
|
62
|
-
} from "./chunk-N5KNT2V3.js";
|
|
63
|
-
import {
|
|
64
|
-
getOidcConfig,
|
|
65
|
-
getSamlConfig,
|
|
66
|
-
getSamlMetadata,
|
|
67
|
-
initOidcLogin,
|
|
68
|
-
initSSO,
|
|
69
|
-
saveOidcConfig,
|
|
70
|
-
saveSamlConfig,
|
|
71
|
-
testSamlConfig,
|
|
72
|
-
toggleSamlConfig
|
|
73
|
-
} from "./chunk-JNWFJDWZ.js";
|
|
74
|
-
import {
|
|
75
|
-
getCategories,
|
|
76
|
-
getCollectionById,
|
|
77
|
-
getCollections,
|
|
78
|
-
getTemplateById,
|
|
79
|
-
getWorkflowTemplate,
|
|
80
|
-
getWorkflows,
|
|
81
|
-
testHealthEndpoint
|
|
82
|
-
} from "./chunk-6XFZR7YV.js";
|
|
83
|
-
import {
|
|
84
|
-
sessionStarted
|
|
85
|
-
} from "./chunk-LRAXSRDO.js";
|
|
86
|
-
import {
|
|
87
|
-
connectProvider,
|
|
88
|
-
getExternalSecrets,
|
|
89
|
-
getExternalSecretsProvider,
|
|
90
|
-
getExternalSecretsProviders,
|
|
91
|
-
reloadProvider,
|
|
92
|
-
testExternalSecretsProviderConnection,
|
|
93
|
-
updateProvider
|
|
94
|
-
} from "./chunk-NYSARVJW.js";
|
|
95
|
-
import {
|
|
96
|
-
getLdapConfig,
|
|
97
|
-
getLdapSynchronizations,
|
|
98
|
-
runLdapSync,
|
|
99
|
-
testLdapConnection,
|
|
100
|
-
updateLdapConfig
|
|
101
|
-
} from "./chunk-PEK5XG4U.js";
|
|
102
|
-
import {
|
|
103
|
-
canEnableMFA,
|
|
104
|
-
disableMfa,
|
|
105
|
-
enableMfa,
|
|
106
|
-
getMfaQR,
|
|
107
|
-
updateEnforceMfa,
|
|
108
|
-
verifyMfaCode
|
|
109
|
-
} from "./chunk-74SJPDED.js";
|
|
110
|
-
import {
|
|
111
|
-
getModuleSettings
|
|
112
|
-
} from "./chunk-YXNYR3S7.js";
|
|
113
|
-
import {
|
|
114
|
-
fetchCommunityNodeAttributes,
|
|
115
|
-
fetchCommunityNodeTypes,
|
|
116
|
-
getLocalResourceMapperFields,
|
|
117
|
-
getNodeParameterActionResult,
|
|
118
|
-
getNodeParameterOptions,
|
|
119
|
-
getNodeTranslationHeaders,
|
|
120
|
-
getNodeTypes,
|
|
121
|
-
getNodesInformation,
|
|
122
|
-
getResourceLocatorResults,
|
|
123
|
-
getResourceMapperFields
|
|
124
|
-
} from "./chunk-Y4OUHUC4.js";
|
|
125
|
-
import {
|
|
126
|
-
createApiKey,
|
|
127
|
-
deleteApiKey,
|
|
128
|
-
getApiKeyScopes,
|
|
129
|
-
getApiKeys,
|
|
130
|
-
updateApiKey
|
|
131
|
-
} from "./chunk-IN5FNUHD.js";
|
|
132
|
-
import {
|
|
133
|
-
getAdminPanelLoginCode,
|
|
134
|
-
getCloudUserInfo,
|
|
135
|
-
getCurrentPlan,
|
|
136
|
-
getCurrentUsage,
|
|
137
|
-
sendConfirmationEmail
|
|
138
|
-
} from "./chunk-FOPMJL3H.js";
|
|
139
|
-
import {
|
|
140
|
-
getAvailableCommunityPackageCount,
|
|
141
|
-
getInstalledCommunityNodes,
|
|
142
|
-
installNewPackage,
|
|
143
|
-
uninstallPackage,
|
|
144
|
-
updatePackage
|
|
145
|
-
} from "./chunk-RRBWN7JN.js";
|
|
146
|
-
import {
|
|
147
|
-
getBecomeCreatorCta
|
|
148
|
-
} from "./chunk-FU5KYUN3.js";
|
|
149
|
-
import {
|
|
150
|
-
deleteDestinationFromDb,
|
|
151
|
-
getDestinationsFromBackend,
|
|
152
|
-
getEventNamesFromBackend,
|
|
153
|
-
hasDestinationId,
|
|
154
|
-
saveDestinationToDb,
|
|
155
|
-
sendTestMessageToDestination
|
|
156
|
-
} from "./chunk-X5752KSX.js";
|
|
157
|
-
import {
|
|
158
|
-
MfaRequiredError,
|
|
159
|
-
NO_NETWORK_ERROR_CODE,
|
|
160
|
-
ResponseError,
|
|
161
|
-
STREAM_SEPARATOR,
|
|
162
|
-
get,
|
|
163
|
-
getFullApiResponse,
|
|
164
|
-
makeRestApiRequest,
|
|
165
|
-
patch,
|
|
166
|
-
post,
|
|
167
|
-
request,
|
|
168
|
-
streamRequest
|
|
169
|
-
} from "./chunk-ODVTDHTS.js";
|
|
170
|
-
export {
|
|
171
|
-
MfaRequiredError,
|
|
172
|
-
NO_NETWORK_ERROR_CODE,
|
|
173
|
-
ResponseError,
|
|
174
|
-
STREAM_SEPARATOR,
|
|
175
|
-
activateLicenseKey,
|
|
176
|
-
canEnableMFA,
|
|
177
|
-
changePassword,
|
|
178
|
-
connectProvider,
|
|
179
|
-
createApiKey,
|
|
180
|
-
deleteApiKey,
|
|
181
|
-
deleteDestinationFromDb,
|
|
182
|
-
deleteUser,
|
|
183
|
-
disableMfa,
|
|
184
|
-
dismissBannerPermanently,
|
|
185
|
-
enableMfa,
|
|
186
|
-
fetchCommunityNodeAttributes,
|
|
187
|
-
fetchCommunityNodeTypes,
|
|
188
|
-
findWebhook,
|
|
189
|
-
get,
|
|
190
|
-
getAdminPanelLoginCode,
|
|
191
|
-
getApiKeyScopes,
|
|
192
|
-
getApiKeys,
|
|
193
|
-
getAvailableCommunityPackageCount,
|
|
194
|
-
getBecomeCreatorCta,
|
|
195
|
-
getCategories,
|
|
196
|
-
getCloudUserInfo,
|
|
197
|
-
getCollectionById,
|
|
198
|
-
getCollections,
|
|
199
|
-
getCurrentPlan,
|
|
200
|
-
getCurrentUsage,
|
|
201
|
-
getDestinationsFromBackend,
|
|
202
|
-
getEventNamesFromBackend,
|
|
203
|
-
getExternalSecrets,
|
|
204
|
-
getExternalSecretsProvider,
|
|
205
|
-
getExternalSecretsProviders,
|
|
206
|
-
getFullApiResponse,
|
|
207
|
-
getInstalledCommunityNodes,
|
|
208
|
-
getInviteLink,
|
|
209
|
-
getLdapConfig,
|
|
210
|
-
getLdapSynchronizations,
|
|
211
|
-
getLicense,
|
|
212
|
-
getLocalResourceMapperFields,
|
|
213
|
-
getMfaQR,
|
|
214
|
-
getModuleSettings,
|
|
215
|
-
getNextVersions,
|
|
216
|
-
getNodeParameterActionResult,
|
|
217
|
-
getNodeParameterOptions,
|
|
218
|
-
getNodeTranslationHeaders,
|
|
219
|
-
getNodeTypes,
|
|
220
|
-
getNodesInformation,
|
|
221
|
-
getOidcConfig,
|
|
222
|
-
getPasswordResetLink,
|
|
223
|
-
getPromptsData,
|
|
224
|
-
getResourceLocatorResults,
|
|
225
|
-
getResourceMapperFields,
|
|
226
|
-
getRoles,
|
|
227
|
-
getSamlConfig,
|
|
228
|
-
getSamlMetadata,
|
|
229
|
-
getSettings,
|
|
230
|
-
getTemplateById,
|
|
231
|
-
getThirdPartyLicenses,
|
|
232
|
-
getUsers,
|
|
233
|
-
getWhatsNewSection,
|
|
234
|
-
getWorkflowHistory,
|
|
235
|
-
getWorkflowTemplate,
|
|
236
|
-
getWorkflowVersion,
|
|
237
|
-
getWorkflows,
|
|
238
|
-
hasDestinationId,
|
|
239
|
-
initOidcLogin,
|
|
240
|
-
initSSO,
|
|
241
|
-
installNewPackage,
|
|
242
|
-
login,
|
|
243
|
-
loginCurrentUser,
|
|
244
|
-
logout,
|
|
245
|
-
makeRestApiRequest,
|
|
246
|
-
patch,
|
|
247
|
-
post,
|
|
248
|
-
registerCommunityEdition,
|
|
249
|
-
reloadProvider,
|
|
250
|
-
renewLicense,
|
|
251
|
-
request,
|
|
252
|
-
requestLicenseTrial,
|
|
253
|
-
runLdapSync,
|
|
254
|
-
saveDestinationToDb,
|
|
255
|
-
saveOidcConfig,
|
|
256
|
-
saveSamlConfig,
|
|
257
|
-
sendConfirmationEmail,
|
|
258
|
-
sendForgotPasswordEmail,
|
|
259
|
-
sendGetWorkerStatus,
|
|
260
|
-
sendTestMessageToDestination,
|
|
261
|
-
sessionStarted,
|
|
262
|
-
setupOwner,
|
|
263
|
-
signup,
|
|
264
|
-
streamRequest,
|
|
265
|
-
submitContactInfo,
|
|
266
|
-
submitPersonalizationSurvey,
|
|
267
|
-
testExternalSecretsProviderConnection,
|
|
268
|
-
testHealthEndpoint,
|
|
269
|
-
testLdapConnection,
|
|
270
|
-
testSamlConfig,
|
|
271
|
-
toggleSamlConfig,
|
|
272
|
-
uninstallPackage,
|
|
273
|
-
updateApiKey,
|
|
274
|
-
updateCurrentUser,
|
|
275
|
-
updateCurrentUserPassword,
|
|
276
|
-
updateCurrentUserSettings,
|
|
277
|
-
updateEnforceMfa,
|
|
278
|
-
updateGlobalRole,
|
|
279
|
-
updateLdapConfig,
|
|
280
|
-
updateNpsSurveyState,
|
|
281
|
-
updateOtherUserSettings,
|
|
282
|
-
updatePackage,
|
|
283
|
-
updateProvider,
|
|
284
|
-
validatePasswordToken,
|
|
285
|
-
validateSignupToken,
|
|
286
|
-
verifyMfaCode
|
|
287
|
-
};
|
|
288
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
import { MfaRequiredError, NO_NETWORK_ERROR_CODE, ResponseError, STREAM_SEPARATOR, get, getFullApiResponse, makeRestApiRequest, patch, post, request, streamRequest } from "./utils-C6ys34iA.js";
|
|
2
|
+
import { createApiKey, deleteApiKey, getApiKeyScopes, getApiKeys, updateApiKey } from "./api-keys-CdogZdeQ.js";
|
|
3
|
+
import { getAdminPanelLoginCode, getCloudUserInfo, getCurrentPlan, getCurrentUsage, sendConfirmationEmail } from "./cloudPlans-DaH1MBfa.js";
|
|
4
|
+
import { getAvailableCommunityPackageCount, getInstalledCommunityNodes, installNewPackage, uninstallPackage, updatePackage } from "./communityNodes-CE2n8u4o.js";
|
|
5
|
+
import { getBecomeCreatorCta } from "./ctas-BExU1GEq.js";
|
|
6
|
+
import { deleteDestinationFromDb, getDestinationsFromBackend, getEventNamesFromBackend, hasDestinationId, saveDestinationToDb, sendTestMessageToDestination } from "./eventbus.ee-Mgcwc9Je.js";
|
|
7
|
+
import { sessionStarted } from "./events-Dir9yuIU.js";
|
|
8
|
+
import { connectProvider, getExternalSecrets, getExternalSecretsProvider, getExternalSecretsProviders, reloadProvider, testExternalSecretsProviderConnection, updateProvider } from "./externalSecrets.ee-CQlUdp5i.js";
|
|
9
|
+
import { getLdapConfig, getLdapSynchronizations, runLdapSync, testLdapConnection, updateLdapConfig } from "./ldap-Ctb6baMS.js";
|
|
10
|
+
import { canEnableMFA, disableMfa, enableMfa, getMfaQR, updateEnforceMfa, verifyMfaCode } from "./mfa-BS4MrpFp.js";
|
|
11
|
+
import { fetchCommunityNodeAttributes, fetchCommunityNodeTypes, getLocalResourceMapperFields, getNodeParameterActionResult, getNodeParameterOptions, getNodeTranslationHeaders, getNodeTypes, getNodesInformation, getResourceLocatorResults, getResourceMapperFields } from "./nodeTypes-Cr2xTbm7.js";
|
|
12
|
+
import { updateNpsSurveyState } from "./npsSurvey-o0ClpYrm.js";
|
|
13
|
+
import { sendGetWorkerStatus } from "./orchestration-ug3znTw-.js";
|
|
14
|
+
import { getProvisioningConfig, saveProvisioningConfig } from "./provisioning-BvjrhIH8.js";
|
|
15
|
+
import { getPromptsData, submitContactInfo } from "./prompts-CVCeykfZ.js";
|
|
16
|
+
import { createProjectRole, deleteProjectRole, getRoleBySlug, getRoles, updateProjectRole } from "./roles-52k5ITQK.js";
|
|
17
|
+
import { getSettings } from "./settings-BeZiupZe.js";
|
|
18
|
+
import { getModuleSettings } from "./module-settings-BRrfd2zd.js";
|
|
19
|
+
import { getOidcConfig, getSamlConfig, getSamlMetadata, initOidcLogin, initSSO, saveOidcConfig, saveSamlConfig, testSamlConfig, toggleSamlConfig } from "./sso-Bsjy3TLY.js";
|
|
20
|
+
import { getCategories, getCollectionById, getCollections, getTemplateById, getWorkflowTemplate, getWorkflows, testHealthEndpoint } from "./templates-wGD4yMr7.js";
|
|
21
|
+
import { getThirdPartyLicenses } from "./third-party-licenses-8vKtcmnF.js";
|
|
22
|
+
import { dismissBannerPermanently } from "./ui-B4xr8QiX.js";
|
|
23
|
+
import { activateLicenseKey, getLicense, registerCommunityEdition, renewLicense, requestLicenseTrial } from "./usage-CRQ8GiSr.js";
|
|
24
|
+
import { changePassword, deleteUser, getInviteLink, getPasswordResetLink, getUsers, login, loginCurrentUser, logout, sendForgotPasswordEmail, setupOwner, signup, submitPersonalizationSurvey, updateCurrentUser, updateCurrentUserPassword, updateCurrentUserSettings, updateGlobalRole, updateOtherUserSettings, validatePasswordToken, validateSignupToken } from "./users-B9LpOwmz.js";
|
|
25
|
+
import { getNextVersions, getWhatsNewSection } from "./versions-CGwgpGHe.js";
|
|
26
|
+
import { findWebhook } from "./webhooks-DrHiwzPY.js";
|
|
27
|
+
import { getWorkflowHistory, getWorkflowVersion } from "./workflowHistory-C1CMbPy8.js";
|
|
28
|
+
import "./api-Dy4wevtj.js";
|
|
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 };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
const require_utils = require('./utils-ZXKTtQnj.cjs');
|
|
2
|
+
|
|
3
|
+
//#region src/api/ldap.ts
|
|
4
|
+
async function getLdapConfig(context) {
|
|
5
|
+
return await require_utils.makeRestApiRequest(context, "GET", "/ldap/config");
|
|
6
|
+
}
|
|
7
|
+
async function testLdapConnection(context) {
|
|
8
|
+
return await require_utils.makeRestApiRequest(context, "POST", "/ldap/test-connection");
|
|
9
|
+
}
|
|
10
|
+
async function updateLdapConfig(context, adConfig) {
|
|
11
|
+
return await require_utils.makeRestApiRequest(context, "PUT", "/ldap/config", adConfig);
|
|
12
|
+
}
|
|
13
|
+
async function runLdapSync(context, data) {
|
|
14
|
+
return await require_utils.makeRestApiRequest(context, "POST", "/ldap/sync", data);
|
|
15
|
+
}
|
|
16
|
+
async function getLdapSynchronizations(context, pagination) {
|
|
17
|
+
return await require_utils.makeRestApiRequest(context, "GET", "/ldap/sync", pagination);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
Object.defineProperty(exports, 'getLdapConfig', {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () {
|
|
24
|
+
return getLdapConfig;
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, 'getLdapSynchronizations', {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () {
|
|
30
|
+
return getLdapSynchronizations;
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
Object.defineProperty(exports, 'runLdapSync', {
|
|
34
|
+
enumerable: true,
|
|
35
|
+
get: function () {
|
|
36
|
+
return runLdapSync;
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
Object.defineProperty(exports, 'testLdapConnection', {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function () {
|
|
42
|
+
return testLdapConnection;
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
Object.defineProperty(exports, 'updateLdapConfig', {
|
|
46
|
+
enumerable: true,
|
|
47
|
+
get: function () {
|
|
48
|
+
return updateLdapConfig;
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
//# sourceMappingURL=ldap-B4lzIQvN.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ldap-B4lzIQvN.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"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { IRestApiContext } from "./types-CGd0oIFw.cjs";
|
|
2
|
+
import { IDataObject } from "n8n-workflow";
|
|
3
|
+
|
|
4
|
+
//#region src/api/ldap.d.ts
|
|
5
|
+
interface LdapSyncData {
|
|
6
|
+
id: number;
|
|
7
|
+
startedAt: string;
|
|
8
|
+
endedAt: string;
|
|
9
|
+
created: number;
|
|
10
|
+
updated: number;
|
|
11
|
+
disabled: number;
|
|
12
|
+
scanned: number;
|
|
13
|
+
status: string;
|
|
14
|
+
error: string;
|
|
15
|
+
runMode: string;
|
|
16
|
+
}
|
|
17
|
+
interface LdapSyncTable {
|
|
18
|
+
status: string;
|
|
19
|
+
endedAt: string;
|
|
20
|
+
runTime: string;
|
|
21
|
+
runMode: string;
|
|
22
|
+
details: string;
|
|
23
|
+
}
|
|
24
|
+
interface LdapConfig {
|
|
25
|
+
loginEnabled: boolean;
|
|
26
|
+
loginLabel: string;
|
|
27
|
+
connectionUrl: string;
|
|
28
|
+
allowUnauthorizedCerts: boolean;
|
|
29
|
+
connectionSecurity: string;
|
|
30
|
+
connectionPort: number;
|
|
31
|
+
baseDn: string;
|
|
32
|
+
bindingAdminDn: string;
|
|
33
|
+
bindingAdminPassword: string;
|
|
34
|
+
firstNameAttribute: string;
|
|
35
|
+
lastNameAttribute: string;
|
|
36
|
+
emailAttribute: string;
|
|
37
|
+
loginIdAttribute: string;
|
|
38
|
+
ldapIdAttribute: string;
|
|
39
|
+
userFilter: string;
|
|
40
|
+
synchronizationEnabled: boolean;
|
|
41
|
+
synchronizationInterval: number;
|
|
42
|
+
searchPageSize: number;
|
|
43
|
+
searchTimeout: number;
|
|
44
|
+
}
|
|
45
|
+
declare function getLdapConfig(context: IRestApiContext): Promise<LdapConfig>;
|
|
46
|
+
declare function testLdapConnection(context: IRestApiContext): Promise<{}>;
|
|
47
|
+
declare function updateLdapConfig(context: IRestApiContext, adConfig: LdapConfig): Promise<LdapConfig>;
|
|
48
|
+
declare function runLdapSync(context: IRestApiContext, data: IDataObject): Promise<{}>;
|
|
49
|
+
declare function getLdapSynchronizations(context: IRestApiContext, pagination: {
|
|
50
|
+
page: number;
|
|
51
|
+
}): Promise<LdapSyncData[]>;
|
|
52
|
+
//#endregion
|
|
53
|
+
export { LdapConfig, LdapSyncData, LdapSyncTable, getLdapConfig, getLdapSynchronizations, runLdapSync, testLdapConnection, updateLdapConfig };
|
|
54
|
+
//# sourceMappingURL=ldap-C5SIAiZv.d.cts.map
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { IRestApiContext } from "./types-DhrOsni7.js";
|
|
2
|
+
import { IDataObject } from "n8n-workflow";
|
|
3
|
+
|
|
4
|
+
//#region src/api/ldap.d.ts
|
|
5
|
+
interface LdapSyncData {
|
|
6
|
+
id: number;
|
|
7
|
+
startedAt: string;
|
|
8
|
+
endedAt: string;
|
|
9
|
+
created: number;
|
|
10
|
+
updated: number;
|
|
11
|
+
disabled: number;
|
|
12
|
+
scanned: number;
|
|
13
|
+
status: string;
|
|
14
|
+
error: string;
|
|
15
|
+
runMode: string;
|
|
16
|
+
}
|
|
17
|
+
interface LdapSyncTable {
|
|
18
|
+
status: string;
|
|
19
|
+
endedAt: string;
|
|
20
|
+
runTime: string;
|
|
21
|
+
runMode: string;
|
|
22
|
+
details: string;
|
|
23
|
+
}
|
|
24
|
+
interface LdapConfig {
|
|
25
|
+
loginEnabled: boolean;
|
|
26
|
+
loginLabel: string;
|
|
27
|
+
connectionUrl: string;
|
|
28
|
+
allowUnauthorizedCerts: boolean;
|
|
29
|
+
connectionSecurity: string;
|
|
30
|
+
connectionPort: number;
|
|
31
|
+
baseDn: string;
|
|
32
|
+
bindingAdminDn: string;
|
|
33
|
+
bindingAdminPassword: string;
|
|
34
|
+
firstNameAttribute: string;
|
|
35
|
+
lastNameAttribute: string;
|
|
36
|
+
emailAttribute: string;
|
|
37
|
+
loginIdAttribute: string;
|
|
38
|
+
ldapIdAttribute: string;
|
|
39
|
+
userFilter: string;
|
|
40
|
+
synchronizationEnabled: boolean;
|
|
41
|
+
synchronizationInterval: number;
|
|
42
|
+
searchPageSize: number;
|
|
43
|
+
searchTimeout: number;
|
|
44
|
+
}
|
|
45
|
+
declare function getLdapConfig(context: IRestApiContext): Promise<LdapConfig>;
|
|
46
|
+
declare function testLdapConnection(context: IRestApiContext): Promise<{}>;
|
|
47
|
+
declare function updateLdapConfig(context: IRestApiContext, adConfig: LdapConfig): Promise<LdapConfig>;
|
|
48
|
+
declare function runLdapSync(context: IRestApiContext, data: IDataObject): Promise<{}>;
|
|
49
|
+
declare function getLdapSynchronizations(context: IRestApiContext, pagination: {
|
|
50
|
+
page: number;
|
|
51
|
+
}): Promise<LdapSyncData[]>;
|
|
52
|
+
//#endregion
|
|
53
|
+
export { LdapConfig, LdapSyncData, LdapSyncTable, getLdapConfig, getLdapSynchronizations, runLdapSync, testLdapConnection, updateLdapConfig };
|
|
54
|
+
//# sourceMappingURL=ldap-CgsCqo_6.d.ts.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { makeRestApiRequest } from "./utils-C6ys34iA.js";
|
|
2
|
+
|
|
3
|
+
//#region src/api/ldap.ts
|
|
4
|
+
async function getLdapConfig(context) {
|
|
5
|
+
return await makeRestApiRequest(context, "GET", "/ldap/config");
|
|
6
|
+
}
|
|
7
|
+
async function testLdapConnection(context) {
|
|
8
|
+
return await makeRestApiRequest(context, "POST", "/ldap/test-connection");
|
|
9
|
+
}
|
|
10
|
+
async function updateLdapConfig(context, adConfig) {
|
|
11
|
+
return await makeRestApiRequest(context, "PUT", "/ldap/config", adConfig);
|
|
12
|
+
}
|
|
13
|
+
async function runLdapSync(context, data) {
|
|
14
|
+
return await makeRestApiRequest(context, "POST", "/ldap/sync", data);
|
|
15
|
+
}
|
|
16
|
+
async function getLdapSynchronizations(context, pagination) {
|
|
17
|
+
return await makeRestApiRequest(context, "GET", "/ldap/sync", pagination);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
export { getLdapConfig, getLdapSynchronizations, runLdapSync, testLdapConnection, updateLdapConfig };
|
|
22
|
+
//# sourceMappingURL=ldap-Ctb6baMS.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ldap-Ctb6baMS.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"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { makeRestApiRequest } from "./utils-C6ys34iA.js";
|
|
2
|
+
|
|
3
|
+
//#region src/api/mfa.ts
|
|
4
|
+
async function canEnableMFA(context) {
|
|
5
|
+
return await makeRestApiRequest(context, "POST", "/mfa/can-enable");
|
|
6
|
+
}
|
|
7
|
+
async function getMfaQR(context) {
|
|
8
|
+
return await makeRestApiRequest(context, "GET", "/mfa/qr");
|
|
9
|
+
}
|
|
10
|
+
async function enableMfa(context, data) {
|
|
11
|
+
return await makeRestApiRequest(context, "POST", "/mfa/enable", data);
|
|
12
|
+
}
|
|
13
|
+
async function verifyMfaCode(context, data) {
|
|
14
|
+
return await makeRestApiRequest(context, "POST", "/mfa/verify", data);
|
|
15
|
+
}
|
|
16
|
+
async function disableMfa(context, data) {
|
|
17
|
+
return await makeRestApiRequest(context, "POST", "/mfa/disable", data);
|
|
18
|
+
}
|
|
19
|
+
async function updateEnforceMfa(context, enforce) {
|
|
20
|
+
return await makeRestApiRequest(context, "POST", "/mfa/enforce-mfa", { enforce });
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
export { canEnableMFA, disableMfa, enableMfa, getMfaQR, updateEnforceMfa, verifyMfaCode };
|
|
25
|
+
//# sourceMappingURL=mfa-BS4MrpFp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-BS4MrpFp.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"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
const require_utils = require('./utils-ZXKTtQnj.cjs');
|
|
2
|
+
|
|
3
|
+
//#region src/api/mfa.ts
|
|
4
|
+
async function canEnableMFA(context) {
|
|
5
|
+
return await require_utils.makeRestApiRequest(context, "POST", "/mfa/can-enable");
|
|
6
|
+
}
|
|
7
|
+
async function getMfaQR(context) {
|
|
8
|
+
return await require_utils.makeRestApiRequest(context, "GET", "/mfa/qr");
|
|
9
|
+
}
|
|
10
|
+
async function enableMfa(context, data) {
|
|
11
|
+
return await require_utils.makeRestApiRequest(context, "POST", "/mfa/enable", data);
|
|
12
|
+
}
|
|
13
|
+
async function verifyMfaCode(context, data) {
|
|
14
|
+
return await require_utils.makeRestApiRequest(context, "POST", "/mfa/verify", data);
|
|
15
|
+
}
|
|
16
|
+
async function disableMfa(context, data) {
|
|
17
|
+
return await require_utils.makeRestApiRequest(context, "POST", "/mfa/disable", data);
|
|
18
|
+
}
|
|
19
|
+
async function updateEnforceMfa(context, enforce) {
|
|
20
|
+
return await require_utils.makeRestApiRequest(context, "POST", "/mfa/enforce-mfa", { enforce });
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
Object.defineProperty(exports, 'canEnableMFA', {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () {
|
|
27
|
+
return canEnableMFA;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, 'disableMfa', {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () {
|
|
33
|
+
return disableMfa;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, 'enableMfa', {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () {
|
|
39
|
+
return enableMfa;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, 'getMfaQR', {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function () {
|
|
45
|
+
return getMfaQR;
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, 'updateEnforceMfa', {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () {
|
|
51
|
+
return updateEnforceMfa;
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
Object.defineProperty(exports, 'verifyMfaCode', {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function () {
|
|
57
|
+
return verifyMfaCode;
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
//# sourceMappingURL=mfa-BteEfKoH.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfa-BteEfKoH.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"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { IRestApiContext } from "./types-DhrOsni7.js";
|
|
2
|
+
|
|
3
|
+
//#region src/api/mfa.d.ts
|
|
4
|
+
declare function canEnableMFA(context: IRestApiContext): Promise<unknown>;
|
|
5
|
+
declare function getMfaQR(context: IRestApiContext): Promise<{
|
|
6
|
+
qrCode: string;
|
|
7
|
+
secret: string;
|
|
8
|
+
recoveryCodes: string[];
|
|
9
|
+
}>;
|
|
10
|
+
declare function enableMfa(context: IRestApiContext, data: {
|
|
11
|
+
mfaCode: string;
|
|
12
|
+
}): Promise<void>;
|
|
13
|
+
declare function verifyMfaCode(context: IRestApiContext, data: {
|
|
14
|
+
mfaCode: string;
|
|
15
|
+
}): Promise<void>;
|
|
16
|
+
type DisableMfaParams = {
|
|
17
|
+
mfaCode?: string;
|
|
18
|
+
mfaRecoveryCode?: string;
|
|
19
|
+
};
|
|
20
|
+
declare function disableMfa(context: IRestApiContext, data: DisableMfaParams): Promise<void>;
|
|
21
|
+
declare function updateEnforceMfa(context: IRestApiContext, enforce: boolean): Promise<void>;
|
|
22
|
+
//#endregion
|
|
23
|
+
export { DisableMfaParams, canEnableMFA, disableMfa, enableMfa, getMfaQR, updateEnforceMfa, verifyMfaCode };
|
|
24
|
+
//# sourceMappingURL=mfa-jg5kXfSW.d.ts.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { IRestApiContext } from "./types-CGd0oIFw.cjs";
|
|
2
|
+
|
|
3
|
+
//#region src/api/mfa.d.ts
|
|
4
|
+
declare function canEnableMFA(context: IRestApiContext): Promise<unknown>;
|
|
5
|
+
declare function getMfaQR(context: IRestApiContext): Promise<{
|
|
6
|
+
qrCode: string;
|
|
7
|
+
secret: string;
|
|
8
|
+
recoveryCodes: string[];
|
|
9
|
+
}>;
|
|
10
|
+
declare function enableMfa(context: IRestApiContext, data: {
|
|
11
|
+
mfaCode: string;
|
|
12
|
+
}): Promise<void>;
|
|
13
|
+
declare function verifyMfaCode(context: IRestApiContext, data: {
|
|
14
|
+
mfaCode: string;
|
|
15
|
+
}): Promise<void>;
|
|
16
|
+
type DisableMfaParams = {
|
|
17
|
+
mfaCode?: string;
|
|
18
|
+
mfaRecoveryCode?: string;
|
|
19
|
+
};
|
|
20
|
+
declare function disableMfa(context: IRestApiContext, data: DisableMfaParams): Promise<void>;
|
|
21
|
+
declare function updateEnforceMfa(context: IRestApiContext, enforce: boolean): Promise<void>;
|
|
22
|
+
//#endregion
|
|
23
|
+
export { DisableMfaParams, canEnableMFA, disableMfa, enableMfa, getMfaQR, updateEnforceMfa, verifyMfaCode };
|
|
24
|
+
//# sourceMappingURL=mfa-us0uJ4bp.d.cts.map
|