@trustportal/n8n-nodes-trustportal 2.6.3-1
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/LICENSE.md +21 -0
- package/README.md +221 -0
- package/dist/credentials/TrustPortalAgentApi.credentials.d.ts +10 -0
- package/dist/credentials/TrustPortalAgentApi.credentials.js +62 -0
- package/dist/credentials/TrustPortalAgentApi.credentials.js.map +1 -0
- package/dist/credentials/trustportal.svg +1 -0
- package/dist/nodes/TrustPortal/TrustPortal.node.d.ts +4 -0
- package/dist/nodes/TrustPortal/TrustPortal.node.js +111 -0
- package/dist/nodes/TrustPortal/TrustPortal.node.js.map +1 -0
- package/dist/nodes/TrustPortal/TrustPortal.node.json +18 -0
- package/dist/nodes/TrustPortal/TrustPortalWebhookTrigger.node.d.ts +18 -0
- package/dist/nodes/TrustPortal/TrustPortalWebhookTrigger.node.js +376 -0
- package/dist/nodes/TrustPortal/TrustPortalWebhookTrigger.node.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/action/createActionPayload.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/action/createActionPayload.js +226 -0
- package/dist/nodes/TrustPortal/resources/action/createActionPayload.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/action/deleteActionById.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/action/deleteActionById.js +19 -0
- package/dist/nodes/TrustPortal/resources/action/deleteActionById.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/action/getActionById.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/action/getActionById.js +19 -0
- package/dist/nodes/TrustPortal/resources/action/getActionById.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/action/index.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/action/index.js +90 -0
- package/dist/nodes/TrustPortal/resources/action/index.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/action/sendAction.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/action/sendAction.js +65 -0
- package/dist/nodes/TrustPortal/resources/action/sendAction.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/action/updateActionById.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/action/updateActionById.js +117 -0
- package/dist/nodes/TrustPortal/resources/action/updateActionById.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/file/createFilePayload.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/file/createFilePayload.js +86 -0
- package/dist/nodes/TrustPortal/resources/file/createFilePayload.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/file/deleteFileById.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/file/deleteFileById.js +19 -0
- package/dist/nodes/TrustPortal/resources/file/deleteFileById.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/file/getFileById.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/file/getFileById.js +19 -0
- package/dist/nodes/TrustPortal/resources/file/getFileById.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/file/index.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/file/index.js +90 -0
- package/dist/nodes/TrustPortal/resources/file/index.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/file/sendFile.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/file/sendFile.js +65 -0
- package/dist/nodes/TrustPortal/resources/file/sendFile.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/file/updateFileById.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/file/updateFileById.js +83 -0
- package/dist/nodes/TrustPortal/resources/file/updateFileById.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/form/createFormPayload.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/form/createFormPayload.js +139 -0
- package/dist/nodes/TrustPortal/resources/form/createFormPayload.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/form/deleteFormById.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/form/deleteFormById.js +19 -0
- package/dist/nodes/TrustPortal/resources/form/deleteFormById.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/form/getFormById.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/form/getFormById.js +19 -0
- package/dist/nodes/TrustPortal/resources/form/getFormById.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/form/index.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/form/index.js +90 -0
- package/dist/nodes/TrustPortal/resources/form/index.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/form/sendForm.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/form/sendForm.js +65 -0
- package/dist/nodes/TrustPortal/resources/form/sendForm.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/form/updateFormById.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/form/updateFormById.js +83 -0
- package/dist/nodes/TrustPortal/resources/form/updateFormById.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/formContainer/accordionsAccordion.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/formContainer/accordionsAccordion.js +140 -0
- package/dist/nodes/TrustPortal/resources/formContainer/accordionsAccordion.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/formContainer/accordionsContainer.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/formContainer/accordionsContainer.js +198 -0
- package/dist/nodes/TrustPortal/resources/formContainer/accordionsContainer.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/formContainer/fieldset.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/formContainer/fieldset.js +255 -0
- package/dist/nodes/TrustPortal/resources/formContainer/fieldset.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/formContainer/index.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/formContainer/index.js +90 -0
- package/dist/nodes/TrustPortal/resources/formContainer/index.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/formContainer/tabsContainer.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/formContainer/tabsContainer.js +198 -0
- package/dist/nodes/TrustPortal/resources/formContainer/tabsContainer.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/formContainer/tabsTab.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/formContainer/tabsTab.js +155 -0
- package/dist/nodes/TrustPortal/resources/formContainer/tabsTab.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/formControl/alert.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/formControl/alert.js +271 -0
- package/dist/nodes/TrustPortal/resources/formControl/alert.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/formControl/attachment.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/formControl/attachment.js +274 -0
- package/dist/nodes/TrustPortal/resources/formControl/attachment.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/formControl/autocompleteField.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/formControl/autocompleteField.js +312 -0
- package/dist/nodes/TrustPortal/resources/formControl/autocompleteField.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/formControl/button.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/formControl/button.js +692 -0
- package/dist/nodes/TrustPortal/resources/formControl/button.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/formControl/buttonToggle.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/formControl/buttonToggle.js +293 -0
- package/dist/nodes/TrustPortal/resources/formControl/buttonToggle.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/formControl/calculationField.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/formControl/calculationField.js +267 -0
- package/dist/nodes/TrustPortal/resources/formControl/calculationField.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/formControl/checkbox.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/formControl/checkbox.js +197 -0
- package/dist/nodes/TrustPortal/resources/formControl/checkbox.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/formControl/checkboxTree.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/formControl/checkboxTree.js +217 -0
- package/dist/nodes/TrustPortal/resources/formControl/checkboxTree.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/formControl/currencyField.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/formControl/currencyField.js +294 -0
- package/dist/nodes/TrustPortal/resources/formControl/currencyField.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/formControl/dateField.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/formControl/dateField.js +273 -0
- package/dist/nodes/TrustPortal/resources/formControl/dateField.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/formControl/dateTimeField.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/formControl/dateTimeField.js +306 -0
- package/dist/nodes/TrustPortal/resources/formControl/dateTimeField.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/formControl/dropdown.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/formControl/dropdown.js +293 -0
- package/dist/nodes/TrustPortal/resources/formControl/dropdown.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/formControl/embeddedIframe.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/formControl/embeddedIframe.js +256 -0
- package/dist/nodes/TrustPortal/resources/formControl/embeddedIframe.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/formControl/index.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/formControl/index.js +342 -0
- package/dist/nodes/TrustPortal/resources/formControl/index.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/formControl/lineBreak.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/formControl/lineBreak.js +159 -0
- package/dist/nodes/TrustPortal/resources/formControl/lineBreak.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/formControl/numberField.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/formControl/numberField.js +274 -0
- package/dist/nodes/TrustPortal/resources/formControl/numberField.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/formControl/passwordField.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/formControl/passwordField.js +273 -0
- package/dist/nodes/TrustPortal/resources/formControl/passwordField.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/formControl/radioButtons.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/formControl/radioButtons.js +217 -0
- package/dist/nodes/TrustPortal/resources/formControl/radioButtons.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/formControl/section.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/formControl/section.js +216 -0
- package/dist/nodes/TrustPortal/resources/formControl/section.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/formControl/slider.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/formControl/slider.js +258 -0
- package/dist/nodes/TrustPortal/resources/formControl/slider.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/formControl/switch.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/formControl/switch.js +197 -0
- package/dist/nodes/TrustPortal/resources/formControl/switch.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/formControl/table.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/formControl/table.js +622 -0
- package/dist/nodes/TrustPortal/resources/formControl/table.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/formControl/textField.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/formControl/textField.js +350 -0
- package/dist/nodes/TrustPortal/resources/formControl/textField.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/formControl/timeField.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/formControl/timeField.js +254 -0
- package/dist/nodes/TrustPortal/resources/formControl/timeField.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/menuItem/createMenuItemPayload.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/menuItem/createMenuItemPayload.js +398 -0
- package/dist/nodes/TrustPortal/resources/menuItem/createMenuItemPayload.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/menuItem/deleteMenuItemById.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/menuItem/deleteMenuItemById.js +19 -0
- package/dist/nodes/TrustPortal/resources/menuItem/deleteMenuItemById.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/menuItem/getMenuItemById.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/menuItem/getMenuItemById.js +19 -0
- package/dist/nodes/TrustPortal/resources/menuItem/getMenuItemById.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/menuItem/index.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/menuItem/index.js +90 -0
- package/dist/nodes/TrustPortal/resources/menuItem/index.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/menuItem/sendMenuItem.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/menuItem/sendMenuItem.js +65 -0
- package/dist/nodes/TrustPortal/resources/menuItem/sendMenuItem.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/menuItem/updateMenuItemById.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/menuItem/updateMenuItemById.js +116 -0
- package/dist/nodes/TrustPortal/resources/menuItem/updateMenuItemById.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/message/createMessagePayload.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/message/createMessagePayload.js +105 -0
- package/dist/nodes/TrustPortal/resources/message/createMessagePayload.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/message/deleteMessageById.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/message/deleteMessageById.js +19 -0
- package/dist/nodes/TrustPortal/resources/message/deleteMessageById.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/message/getMessageById.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/message/getMessageById.js +19 -0
- package/dist/nodes/TrustPortal/resources/message/getMessageById.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/message/index.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/message/index.js +102 -0
- package/dist/nodes/TrustPortal/resources/message/index.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/message/sendMessage.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/message/sendMessage.js +65 -0
- package/dist/nodes/TrustPortal/resources/message/sendMessage.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/message/updateMessageById.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/message/updateMessageById.js +116 -0
- package/dist/nodes/TrustPortal/resources/message/updateMessageById.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/page/createPagePayload.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/page/createPagePayload.js +122 -0
- package/dist/nodes/TrustPortal/resources/page/createPagePayload.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/page/deletePageById.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/page/deletePageById.js +19 -0
- package/dist/nodes/TrustPortal/resources/page/deletePageById.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/page/getPageById.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/page/getPageById.js +19 -0
- package/dist/nodes/TrustPortal/resources/page/getPageById.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/page/index.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/page/index.js +90 -0
- package/dist/nodes/TrustPortal/resources/page/index.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/page/sendPage.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/page/sendPage.js +65 -0
- package/dist/nodes/TrustPortal/resources/page/sendPage.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/page/updatePageById.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/page/updatePageById.js +83 -0
- package/dist/nodes/TrustPortal/resources/page/updatePageById.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/queueItem/copyQueueItemById.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/queueItem/copyQueueItemById.js +271 -0
- package/dist/nodes/TrustPortal/resources/queueItem/copyQueueItemById.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/queueItem/createQueueItemPayload.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/queueItem/createQueueItemPayload.js +258 -0
- package/dist/nodes/TrustPortal/resources/queueItem/createQueueItemPayload.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/queueItem/deleteQueueItemById.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/queueItem/deleteQueueItemById.js +39 -0
- package/dist/nodes/TrustPortal/resources/queueItem/deleteQueueItemById.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/queueItem/deleteQueueItemsByConditions.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/queueItem/deleteQueueItemsByConditions.js +63 -0
- package/dist/nodes/TrustPortal/resources/queueItem/deleteQueueItemsByConditions.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/queueItem/getNextQueueItem.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/queueItem/getNextQueueItem.js +140 -0
- package/dist/nodes/TrustPortal/resources/queueItem/getNextQueueItem.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/queueItem/getQueueItemById.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/queueItem/getQueueItemById.js +39 -0
- package/dist/nodes/TrustPortal/resources/queueItem/getQueueItemById.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/queueItem/getQueueItemsByConditions.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/queueItem/getQueueItemsByConditions.js +208 -0
- package/dist/nodes/TrustPortal/resources/queueItem/getQueueItemsByConditions.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/queueItem/index.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/queueItem/index.js +184 -0
- package/dist/nodes/TrustPortal/resources/queueItem/index.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/queueItem/replytoQueueItemwithForm.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/queueItem/replytoQueueItemwithForm.js +85 -0
- package/dist/nodes/TrustPortal/resources/queueItem/replytoQueueItemwithForm.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/queueItem/replytoQueueItemwithPage.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/queueItem/replytoQueueItemwithPage.js +85 -0
- package/dist/nodes/TrustPortal/resources/queueItem/replytoQueueItemwithPage.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/queueItem/sendQueueItem.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/queueItem/sendQueueItem.js +65 -0
- package/dist/nodes/TrustPortal/resources/queueItem/sendQueueItem.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/queueItem/updateQueueItemById.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/queueItem/updateQueueItemById.js +163 -0
- package/dist/nodes/TrustPortal/resources/queueItem/updateQueueItemById.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/tile/createTilePayload.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/tile/createTilePayload.js +687 -0
- package/dist/nodes/TrustPortal/resources/tile/createTilePayload.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/tile/deleteTileById.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/tile/deleteTileById.js +19 -0
- package/dist/nodes/TrustPortal/resources/tile/deleteTileById.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/tile/getTileById.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/tile/getTileById.js +19 -0
- package/dist/nodes/TrustPortal/resources/tile/getTileById.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/tile/index.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/tile/index.js +90 -0
- package/dist/nodes/TrustPortal/resources/tile/index.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/tile/sendTile.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/tile/sendTile.js +65 -0
- package/dist/nodes/TrustPortal/resources/tile/sendTile.js.map +1 -0
- package/dist/nodes/TrustPortal/resources/tile/updateTileById.d.ts +2 -0
- package/dist/nodes/TrustPortal/resources/tile/updateTileById.js +120 -0
- package/dist/nodes/TrustPortal/resources/tile/updateTileById.js.map +1 -0
- package/dist/nodes/TrustPortal/shared/agentErrors.d.ts +5 -0
- package/dist/nodes/TrustPortal/shared/agentErrors.js +88 -0
- package/dist/nodes/TrustPortal/shared/agentErrors.js.map +1 -0
- package/dist/nodes/TrustPortal/trustportal.svg +1 -0
- package/dist/package.json +51 -0
- package/package.json +51 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 TrustPortal
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
# @trustportal/n8n-nodes-trustportal
|
|
2
|
+
|
|
3
|
+
An [n8n](https://n8n.io) community node for [TrustPortal](https://www.trustportal.org).
|
|
4
|
+
|
|
5
|
+
TrustPortal is a human-in-the-loop automation platform: business users submit forms in a portal, and
|
|
6
|
+
those submissions become **queue items** that robots and workflows act on. This node lets an n8n
|
|
7
|
+
workflow read and write that queue.
|
|
8
|
+
|
|
9
|
+
The node talks to a **TrustPortal Agent** — the same on-premise component Blue Prism, UiPath and
|
|
10
|
+
Power Automate already use — and the agent talks to TrustPortal. You need a TrustPortal instance and
|
|
11
|
+
a running agent; this package on its own is not enough.
|
|
12
|
+
|
|
13
|
+
[Installation](#installation) · [Credentials](#credentials) · [Operations](#operations) ·
|
|
14
|
+
[Development](#development)
|
|
15
|
+
|
|
16
|
+
## Installation
|
|
17
|
+
|
|
18
|
+
The package is published on npm as
|
|
19
|
+
[`@trustportal/n8n-nodes-trustportal`](https://www.npmjs.com/package/@trustportal/n8n-nodes-trustportal),
|
|
20
|
+
under the `trustportal` npm organisation. Which route applies depends on where n8n runs:
|
|
21
|
+
|
|
22
|
+
| n8n | Route | Status |
|
|
23
|
+
| --- | --- | --- |
|
|
24
|
+
| Self-hosted | From npm, in the n8n UI | Available. No server or container access needed. |
|
|
25
|
+
| n8n Cloud | From npm, as a verified node | Not yet: needs verification, which requires publishing from GitHub Actions with a provenance statement. |
|
|
26
|
+
| Self-hosted, no access to npm | From a tarball | Available. Fallback for air-gapped installs or a build that is not on npm. |
|
|
27
|
+
|
|
28
|
+
**Pick the version that matches your agent.** Node versions follow agent versions: agent 2.6.3 →
|
|
29
|
+
`@trustportal/n8n-nodes-trustportal@2.6.3`. *Install* takes the latest version unless you type one,
|
|
30
|
+
and a newer node can offer form controls an older agent does not know.
|
|
31
|
+
|
|
32
|
+
The GitHub Actions and verification work described under
|
|
33
|
+
[What CI produces, and what it cannot](#what-ci-produces-and-what-it-cannot) is a prerequisite for
|
|
34
|
+
**n8n Cloud only**. A self-hosted customer never needs it: n8n Cloud turns off unverified community
|
|
35
|
+
packages, self-hosted n8n allows them by default.
|
|
36
|
+
|
|
37
|
+
**From npm (self-hosted)**: in n8n open `Settings → Community nodes`, choose *Install*, and type
|
|
38
|
+
`@trustportal/n8n-nodes-trustportal` (or `@trustportal/n8n-nodes-trustportal@<agent version>`). n8n downloads it from the npm registry at run
|
|
39
|
+
time — no restart, no file to copy. Only an Owner or Admin can install community nodes. Your instance
|
|
40
|
+
needs `N8N_COMMUNITY_PACKAGES_ENABLED=true`, which is the default, and no Enterprise licence is
|
|
41
|
+
required — community nodes work on the free self-hosted edition. See n8n's
|
|
42
|
+
[community nodes installation guide](https://docs.n8n.io/integrations/community-nodes/installation/).
|
|
43
|
+
|
|
44
|
+
**From npm (n8n Cloud)**: only once the node has been verified by n8n. Until then it does not appear
|
|
45
|
+
on n8n Cloud at all — unverified community nodes require self-hosting.
|
|
46
|
+
|
|
47
|
+
**From a tarball**, the fallback when n8n cannot reach npm or the build is not published. The
|
|
48
|
+
`N8N` CI job produces it (`trustportal-n8n-nodes-trustportal-<version>.tgz`): install it into the directory n8n
|
|
49
|
+
scans for community nodes, then restart n8n.
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
mkdir -p ~/.n8n/nodes
|
|
53
|
+
cd ~/.n8n/nodes
|
|
54
|
+
npm install /path/to/trustportal-n8n-nodes-trustportal-<version>.tgz --omit=dev
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
If n8n runs in Docker, copy the tarball in first and run the same commands inside the container —
|
|
58
|
+
the worked example is under [Trying it in a local n8n](#trying-it-in-a-local-n8n).
|
|
59
|
+
|
|
60
|
+
Either way, the node then appears in the node panel as **TrustPortal**, and asks for a
|
|
61
|
+
[TrustPortal Agent API credential](#credentials).
|
|
62
|
+
|
|
63
|
+
Two operational notes:
|
|
64
|
+
|
|
65
|
+
- **Hosting the package in your own registry is not a free-edition option.** Pointing
|
|
66
|
+
`N8N_COMMUNITY_PACKAGES_REGISTRY` anywhere other than the public npm registry requires an
|
|
67
|
+
Enterprise licence.
|
|
68
|
+
- **A node installed from the GUI disappears on redeploy** unless the n8n data directory (`.n8n`) is
|
|
69
|
+
on a persistent volume, or `N8N_REINSTALL_MISSING_PACKAGES=true` is set — it defaults to `false`.
|
|
70
|
+
This matters on Kubernetes and anywhere else containers are recreated routinely.
|
|
71
|
+
|
|
72
|
+
## Credentials
|
|
73
|
+
|
|
74
|
+
The node uses one credential, **TrustPortal Agent API**, which you fill in once and every TrustPortal
|
|
75
|
+
node reuses:
|
|
76
|
+
|
|
77
|
+
| Field | What to put in it |
|
|
78
|
+
| --- | --- |
|
|
79
|
+
| Agent Base URL | Where the agent is listening. The default, `http://127.0.0.1:31999`, is right when n8n runs on the same machine as the agent. When it runs anywhere else — another container, another host — use the full URL. |
|
|
80
|
+
| Token (Not Required Yet) | Leave it empty. It is sent as a bearer token, but the agent does not check it yet — the field is here so that turning on authentication later is a value you type, not a new release. |
|
|
81
|
+
| Timeout (Seconds) | How long to wait for the agent before failing; 30 by default. It bounds every operation, the trigger's calls and the credential test, so an agent host that silently drops packets fails in seconds instead of leaving the execution hanging. A timeout set in a node's own **Request Options** still wins. |
|
|
82
|
+
|
|
83
|
+
Use **Test** on the credential to confirm n8n can reach the agent. It calls the agent's health
|
|
84
|
+
endpoint and tells you straight away if the URL is wrong or the agent is down.
|
|
85
|
+
|
|
86
|
+
> **The agent does not authenticate incoming requests.** Anything that can reach its port can create
|
|
87
|
+
> forms, message users, read, copy and delete queue items and register webhook subscriptions as the
|
|
88
|
+
> agent's robot; the credential's token is not checked. The address it listens on is not set by the
|
|
89
|
+
> agent itself but by its configuration in TrustPortal (the agent's API address and port), and the
|
|
90
|
+
> Docker image is normally configured to listen on `0.0.0.0:31999` so that other containers can
|
|
91
|
+
> reach it. So:
|
|
92
|
+
>
|
|
93
|
+
> - On a single host, configure the agent to listen on `127.0.0.1` and run n8n on that host.
|
|
94
|
+
> - In Docker, do not publish the agent's port (`-p`), and keep it on a network that only n8n joins.
|
|
95
|
+
> - Never expose it beyond that until inbound authentication exists.
|
|
96
|
+
>
|
|
97
|
+
> Callback hosts for the TrustPortal Trigger are allow-listed separately, so a subscription cannot
|
|
98
|
+
> point the agent at an arbitrary host.
|
|
99
|
+
|
|
100
|
+
## Operations
|
|
101
|
+
|
|
102
|
+
Ten resources, 75 operations. Each resource follows the same shape the agent exposes: a *Create
|
|
103
|
+
Payload* operation that builds the object, a *Send* that submits it, and get / update / delete by ID.
|
|
104
|
+
|
|
105
|
+
| Resource | Operations | Notes |
|
|
106
|
+
| --- | --- | --- |
|
|
107
|
+
| Queue Item | 11 | Adds search by conditions, copy, get next, reply with form, reply with page, and delete by conditions. Search returns one n8n item per queue item. |
|
|
108
|
+
| Form Control | 23 | One operation per control type — text field, dropdown, table, attachment, and so on. |
|
|
109
|
+
| Message | 6 | Adds get many. |
|
|
110
|
+
| Action | 5 | |
|
|
111
|
+
| File | 5 | |
|
|
112
|
+
| Form | 5 | |
|
|
113
|
+
| Form Container | 5 | Accordions and tabs. |
|
|
114
|
+
| Menu Item | 5 | Entries in the portal's navigation bar that open a form or a page. |
|
|
115
|
+
| Page | 5 | |
|
|
116
|
+
| Tile | 5 | Tiles that open a form or a page, create a queue item, or follow a link. |
|
|
117
|
+
|
|
118
|
+
Four Queue Item operations — get by ID, delete by ID, reply with form, reply with page — take an
|
|
119
|
+
optional **Secure Key**, sent as the `X-Secure-Key` header. It is only needed when Enforce Secure Key
|
|
120
|
+
is on for that queue item.
|
|
121
|
+
|
|
122
|
+
Users, Virtual Roles, Transient Users and Access Tokens are deliberately not exposed.
|
|
123
|
+
|
|
124
|
+
## Development
|
|
125
|
+
|
|
126
|
+
Requires Node.js 22 LTS. Node 25 is not supported: n8n's toolchain builds a native module that does
|
|
127
|
+
not compile against it.
|
|
128
|
+
|
|
129
|
+
```bash
|
|
130
|
+
npm install
|
|
131
|
+
npm run dev # runs n8n with this node, rebuilding as you edit
|
|
132
|
+
npm run lint
|
|
133
|
+
npm run build
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
### Trying it in a local n8n
|
|
137
|
+
|
|
138
|
+
`npm run dev` is the quickest loop while writing code. To check the packaged node the way a customer
|
|
139
|
+
receives it, install the tarball into a throwaway n8n container:
|
|
140
|
+
|
|
141
|
+
```bash
|
|
142
|
+
# 1. Build and pack. Produces trustportal-n8n-nodes-trustportal-<version>.tgz.
|
|
143
|
+
npm install
|
|
144
|
+
npm run build
|
|
145
|
+
npm pack
|
|
146
|
+
|
|
147
|
+
# 2. Start n8n on http://localhost:5678
|
|
148
|
+
docker volume create tp-n8n-data
|
|
149
|
+
docker run -d --name tp-n8n -p 5678:5678 \
|
|
150
|
+
-e N8N_SECURE_COOKIE=false \
|
|
151
|
+
-e N8N_COMMUNITY_PACKAGES_ENABLED=true \
|
|
152
|
+
-e N8N_RUNNERS_ENABLED=true \
|
|
153
|
+
-v tp-n8n-data:/home/node/.n8n \
|
|
154
|
+
docker.n8n.io/n8nio/n8n
|
|
155
|
+
|
|
156
|
+
# 3. Install the tarball where n8n looks for community nodes
|
|
157
|
+
docker cp trustportal-n8n-nodes-trustportal-*.tgz tp-n8n:/tmp/
|
|
158
|
+
docker exec tp-n8n sh -c \
|
|
159
|
+
'mkdir -p /home/node/.n8n/nodes && cd /home/node/.n8n/nodes && npm install /tmp/trustportal-n8n-nodes-trustportal-*.tgz --omit=dev'
|
|
160
|
+
|
|
161
|
+
# 4. Restart so n8n picks it up
|
|
162
|
+
docker restart tp-n8n
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
Open http://localhost:5678, create the owner account n8n asks for, then add a **TrustPortal** node to
|
|
166
|
+
a workflow. It appears in the node panel under its own name, and asks for a **TrustPortal Agent API**
|
|
167
|
+
credential.
|
|
168
|
+
|
|
169
|
+
To confirm from the command line that n8n really loaded it, without clicking through the editor:
|
|
170
|
+
|
|
171
|
+
```bash
|
|
172
|
+
curl -s -c cookie.txt -X POST http://localhost:5678/rest/owner/setup \
|
|
173
|
+
-H 'Content-Type: application/json' \
|
|
174
|
+
-d '{"email":"admin@example.com","firstName":"A","lastName":"B","password":"ChangeMe2026"}'
|
|
175
|
+
|
|
176
|
+
curl -s -b cookie.txt http://localhost:5678/types/nodes.json | grep -o '@trustportal/n8n-nodes-trustportal[^"]*'
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
> **Reaching an agent from inside the container.** `127.0.0.1` inside the n8n container is the
|
|
180
|
+
> container itself, not your machine. When the agent runs on your host, set the credential's Agent
|
|
181
|
+
> Base URL to `http://host.docker.internal:31999`. The `127.0.0.1` default is for n8n installed
|
|
182
|
+
> directly on the agent's host.
|
|
183
|
+
|
|
184
|
+
Tear down with `docker rm -f tp-n8n && docker volume rm tp-n8n-data`.
|
|
185
|
+
|
|
186
|
+
### What CI produces, and what it cannot
|
|
187
|
+
|
|
188
|
+
The `N8N` job in `.gitlab-ci.yml` lints, builds and runs `npm pack`. Its artifact is the **tarball**,
|
|
189
|
+
because that is both what `npm install <file>` takes for a manual install and, byte for byte, what
|
|
190
|
+
`npm publish` would upload.
|
|
191
|
+
|
|
192
|
+
It deliberately does not publish. n8n requires community nodes to be published through GitHub Actions
|
|
193
|
+
with a provenance attestation — a signature minted by GitHub's OIDC infrastructure during the publish
|
|
194
|
+
itself, which no other runner can produce. `.github/workflows/publish.yml` in this directory is that
|
|
195
|
+
workflow, waiting on the decision about where the package is published from.
|
|
196
|
+
|
|
197
|
+
Until then, releases are published by hand, without provenance (enough for self-hosted, not for
|
|
198
|
+
verification), by a member of the `trustportal` npm organisation: download the `N8N` job artifact
|
|
199
|
+
from the release tag's pipeline, then
|
|
200
|
+
|
|
201
|
+
```bash
|
|
202
|
+
npm publish ./trustportal-n8n-nodes-trustportal-<version>.tgz --access public
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
Check first that the tarball's version matches the agent release. npm never accepts the same version
|
|
206
|
+
twice.
|
|
207
|
+
|
|
208
|
+
The full route to a published, verified node — what goes on GitHub, how npm is wired to it, and the
|
|
209
|
+
submission checklist — is written up in
|
|
210
|
+
`docs/n8n-community-node-publishing.md` in the agent-service repository.
|
|
211
|
+
|
|
212
|
+
### Field naming
|
|
213
|
+
|
|
214
|
+
The agent's contract spells its JSON keys with spaces — `"Queue Name"`, `"Form Fields JSON"` — which
|
|
215
|
+
it inherits from Blue Prism's data-item naming. Those strings appear as `routing.send.property`
|
|
216
|
+
values and are **not** display labels. Do not rewrite them to camelCase; the agent will stop
|
|
217
|
+
recognising the request.
|
|
218
|
+
|
|
219
|
+
## License
|
|
220
|
+
|
|
221
|
+
[MIT](LICENSE.md)
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ICredentialDataDecryptedObject, Icon, ICredentialTestRequest, ICredentialType, IHttpRequestOptions, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare class TrustPortalAgentApi implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
icon: Icon;
|
|
6
|
+
documentationUrl: string;
|
|
7
|
+
properties: INodeProperties[];
|
|
8
|
+
authenticate(credentials: ICredentialDataDecryptedObject, requestOptions: IHttpRequestOptions): Promise<IHttpRequestOptions>;
|
|
9
|
+
test: ICredentialTestRequest;
|
|
10
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TrustPortalAgentApi = void 0;
|
|
4
|
+
const N8N_DEFAULT_TIMEOUT_MS = 300000;
|
|
5
|
+
class TrustPortalAgentApi {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.name = 'trustPortalAgentApi';
|
|
8
|
+
this.displayName = 'TrustPortal Agent API';
|
|
9
|
+
this.icon = 'file:trustportal.svg';
|
|
10
|
+
this.documentationUrl = 'https://www.npmjs.com/package/@trustportal/n8n-nodes-trustportal#credentials';
|
|
11
|
+
this.properties = [
|
|
12
|
+
{
|
|
13
|
+
displayName: 'Agent Base URL',
|
|
14
|
+
name: 'baseUrl',
|
|
15
|
+
type: 'string',
|
|
16
|
+
required: true,
|
|
17
|
+
default: 'http://127.0.0.1:31999',
|
|
18
|
+
placeholder: 'e.g. https://tp-agent.example.com',
|
|
19
|
+
description: 'Where the TrustPortal Agent is listening. Keep the default when n8n runs on the same machine as the agent; use the full URL when it runs elsewhere.',
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
displayName: 'Token (Not Required Yet)',
|
|
23
|
+
name: 'token',
|
|
24
|
+
type: 'string',
|
|
25
|
+
typeOptions: { password: true },
|
|
26
|
+
default: '',
|
|
27
|
+
hint: 'Leave empty. The agent does not check this yet.',
|
|
28
|
+
description: 'Reserved for when the agent starts authenticating incoming requests. It is sent as a bearer token, so filling it in at that point is the only change needed — the workflows themselves stay as they are.',
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
displayName: 'Timeout (Seconds)',
|
|
32
|
+
name: 'timeoutSeconds',
|
|
33
|
+
type: 'number',
|
|
34
|
+
typeOptions: { minValue: 1 },
|
|
35
|
+
default: 30,
|
|
36
|
+
description: 'How long to wait for the agent before failing. Without it an agent host that drops packets (a stopped container, a firewall) leaves the execution and the credential test hanging for minutes. A timeout set in a node\'s own Request Options still wins.',
|
|
37
|
+
},
|
|
38
|
+
];
|
|
39
|
+
this.test = {
|
|
40
|
+
request: {
|
|
41
|
+
baseURL: '={{ $credentials.baseUrl }}',
|
|
42
|
+
url: '/api/health',
|
|
43
|
+
},
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
async authenticate(credentials, requestOptions) {
|
|
47
|
+
var _a;
|
|
48
|
+
const token = typeof credentials.token === 'string' ? credentials.token : '';
|
|
49
|
+
const timeoutSeconds = Number(credentials.timeoutSeconds);
|
|
50
|
+
const headers = { ...((_a = requestOptions.headers) !== null && _a !== void 0 ? _a : {}) };
|
|
51
|
+
if (token)
|
|
52
|
+
headers.Authorization = `Bearer ${token}`;
|
|
53
|
+
const unsetOrDefault = requestOptions.timeout === undefined || requestOptions.timeout === N8N_DEFAULT_TIMEOUT_MS;
|
|
54
|
+
return {
|
|
55
|
+
...requestOptions,
|
|
56
|
+
headers,
|
|
57
|
+
timeout: unsetOrDefault && timeoutSeconds > 0 ? timeoutSeconds * 1000 : requestOptions.timeout,
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.TrustPortalAgentApi = TrustPortalAgentApi;
|
|
62
|
+
//# sourceMappingURL=TrustPortalAgentApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TrustPortalAgentApi.credentials.js","sourceRoot":"","sources":["../../credentials/TrustPortalAgentApi.credentials.ts"],"names":[],"mappings":";;;AAUA,MAAM,sBAAsB,GAAG,MAAO,CAAC;AASvC,MAAa,mBAAmB;IAAhC;QACC,SAAI,GAAG,qBAAqB,CAAC;QAE7B,gBAAW,GAAG,uBAAuB,CAAC;QAEtC,SAAI,GAAS,sBAAsB,CAAC;QAEpC,qBAAgB,GACf,wFAAwF,CAAC;QAE1F,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,gBAAgB;gBAC7B,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,wBAAwB;gBACjC,WAAW,EAAE,mCAAmC;gBAChD,WAAW,EACV,qJAAqJ;aACtJ;YACD;gBACC,WAAW,EAAE,0BAA0B;gBACvC,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACX,IAAI,EAAE,iDAAiD;gBACvD,WAAW,EACV,0MAA0M;aAC3M;YACD;gBACC,WAAW,EAAE,mBAAmB;gBAChC,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE;gBAC5B,OAAO,EAAE,EAAE;gBACX,WAAW,EACV,2PAA2P;aAC5P;SACD,CAAC;QA2BF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,6BAA6B;gBACtC,GAAG,EAAE,aAAa;aAClB;SACD,CAAC;IACH,CAAC;IA3BA,KAAK,CAAC,YAAY,CACjB,WAA2C,EAC3C,cAAmC;;QAEnC,MAAM,KAAK,GAAG,OAAO,WAAW,CAAC,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;QAC7E,MAAM,cAAc,GAAG,MAAM,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC;QAE1D,MAAM,OAAO,GAAG,EAAE,GAAG,CAAC,MAAA,cAAc,CAAC,OAAO,mCAAI,EAAE,CAAC,EAAE,CAAC;QACtD,IAAI,KAAK;YAAE,OAAO,CAAC,aAAa,GAAG,UAAU,KAAK,EAAE,CAAC;QAErD,MAAM,cAAc,GACnB,cAAc,CAAC,OAAO,KAAK,SAAS,IAAI,cAAc,CAAC,OAAO,KAAK,sBAAsB,CAAC;QAE3F,OAAO;YACN,GAAG,cAAc;YACjB,OAAO;YACP,OAAO,EACN,cAAc,IAAI,cAAc,GAAG,CAAC,CAAC,CAAC,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC,CAAC,cAAc,CAAC,OAAO;SACtF,CAAC;IACH,CAAC;CAQD;AAzED,kDAyEC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg id="_1080" data-name="1080" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 623 623"><defs><style>.cls-1{fill:#1f6495;}.cls-2,.cls-3,.cls-4,.cls-5{fill:none;stroke-miterlimit:10;stroke-width:17.33px;}.cls-2{stroke:#1f6495;}.cls-3{stroke:url(#linear-gradient);}.cls-4{stroke:url(#linear-gradient-2);}.cls-5{stroke:url(#linear-gradient-3);}.cls-6{fill:#00b0f0;}.cls-7{fill:#a7ea52;}.cls-8{fill:#5eccf3;}.cls-9{fill:#5dceaf;}</style><linearGradient id="linear-gradient" x1="163.92" y1="474.29" x2="-32.96" y2="239.65" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#a7ea52"/><stop offset="1" stop-color="#5dceaf"/></linearGradient><linearGradient id="linear-gradient-2" x1="124.25" y1="555.29" x2="588.88" y2="555.29" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#a7ea52"/><stop offset="1" stop-color="#5eccf3"/></linearGradient><linearGradient id="linear-gradient-3" x1="34.19" y1="68.82" x2="498.5" y2="68.82" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#5dceaf"/><stop offset="1" stop-color="#00b0f0"/></linearGradient></defs><path class="cls-1" d="M387.87,220.3H155v16.89h77.57V439.25h18.14V237.18h75.21V439.25h17.82V352.61h44.11c50.05,0,80.07-23.46,80.07-66.31C467.94,242.5,437.92,220.3,387.87,220.3ZM388.18,336H343.76V237.19h44.42c38.48,0,61.93,14.7,61.93,49.42C450.11,319.14,428.84,336,388.18,336Z"/><path class="cls-2" d="M470,470.65q-4.09,4.11-8.36,8c-85.16,76.95-215.13,77-300.31,0q-4.29-3.87-8.41-8t-8-8.36c-76.91-85.13-76.95-215-.14-300.2q3.91-4.34,8.1-8.53t8.45-8c85.11-76.81,214.9-76.85,300.05-.12,2.91,2.63,5.78,5.35,8.58,8.15s5.39,5.53,8,8.37c76.93,85.14,77,215.08.09,300.26Q474.17,466.5,470,470.65Z"/><path class="cls-3" d="M110.1,130.81c-92.83,102.94-92.77,259.92.17,362.79L20.49,583.38"/><path class="cls-4" d="M130.05,513.37c102.94,93,260,92.93,362.92,0l89.78,89.78"/><image width="109" height="466" transform="translate(500 34)" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAG0AAAHSCAYAAADmE0VCAAAACXBIWXMAAAsSAAALEgHS3X78AAAUqklEQVR4Xu2c97skRRWGv15Qki4SFHNOmHNWYAFFETArxr/NnJW4YESJC6w5J8wBRWEBA4qOP9ype6urK5zqrqquU3Ven3Hu7a6Z51LvfqdOh5lhs9lAWI/h0iObzUUnDqFxOvtCA4R8DJce2ew83xWVHJG2EkrY9jcMl9DFibQVGAtTGwf7dgsirTD7AmIoiRNpBQkJA7CTuEv840RaIXRhwVZxcJT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pj++3bnABEWA6nlV8K8bb22k9LW69s+8WIRFkMwaXrCvEkips5EhMXjlfb+w/aPIjmFGDtC4j4uwmbhlPZ+QsKs2yLFCfE4pQ3GzYbUyaeKk5TNJ7im6dhKo2vmzQ/86eM+JsIW4ZT2wRc+aDDT5sIl0kzdABGWAm/SlDhbqaQmTuejIiwJpOM0APjAN+7d2MYGL8lo2z76IpGWAvKa5iqX1AZFhKWDLA2YL+4jIiwpUdKAOHGACMtBtDSALk6E5WGWNMDdWSo+LMKyMVsasCPO3GY7HBDSskgaYC+VH5KUZWWxNGAsToTl5/9nxRYogM9WggAAAABJRU5ErkJggg=="/><path class="cls-5" d="M492.7,110.66C389.8,17.93,233,18,130.1,110.8L40.32,21"/><circle class="cls-6" cx="602.42" cy="40.79" r="20.37"/><circle class="cls-7" cx="20.54" cy="583.43" r="20.37"/><circle class="cls-8" cx="582.8" cy="603.04" r="20.37"/><circle class="cls-9" cx="40.16" cy="21.17" r="20.37"/></svg>
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TrustPortal = void 0;
|
|
4
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
+
const action_1 = require("./resources/action");
|
|
6
|
+
const file_1 = require("./resources/file");
|
|
7
|
+
const form_1 = require("./resources/form");
|
|
8
|
+
const formContainer_1 = require("./resources/formContainer");
|
|
9
|
+
const formControl_1 = require("./resources/formControl");
|
|
10
|
+
const menuItem_1 = require("./resources/menuItem");
|
|
11
|
+
const message_1 = require("./resources/message");
|
|
12
|
+
const page_1 = require("./resources/page");
|
|
13
|
+
const queueItem_1 = require("./resources/queueItem");
|
|
14
|
+
const tile_1 = require("./resources/tile");
|
|
15
|
+
const agentErrors_1 = require("./shared/agentErrors");
|
|
16
|
+
class TrustPortal {
|
|
17
|
+
constructor() {
|
|
18
|
+
this.description = {
|
|
19
|
+
displayName: 'TrustPortal',
|
|
20
|
+
name: 'trustPortal',
|
|
21
|
+
icon: 'file:trustportal.svg',
|
|
22
|
+
group: ['transform'],
|
|
23
|
+
version: 1,
|
|
24
|
+
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
|
|
25
|
+
description: 'Work with TrustPortal through a TrustPortal Agent',
|
|
26
|
+
defaults: {
|
|
27
|
+
name: 'TrustPortal',
|
|
28
|
+
},
|
|
29
|
+
usableAsTool: true,
|
|
30
|
+
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
31
|
+
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
32
|
+
credentials: [
|
|
33
|
+
{
|
|
34
|
+
name: 'trustPortalAgentApi',
|
|
35
|
+
required: true,
|
|
36
|
+
},
|
|
37
|
+
],
|
|
38
|
+
requestDefaults: {
|
|
39
|
+
baseURL: '={{$credentials.baseUrl}}',
|
|
40
|
+
ignoreHttpStatusErrors: true,
|
|
41
|
+
headers: {
|
|
42
|
+
Accept: 'application/json',
|
|
43
|
+
'Content-Type': 'application/json',
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
properties: (0, agentErrors_1.withAgentErrors)([
|
|
47
|
+
{
|
|
48
|
+
displayName: 'Resource',
|
|
49
|
+
name: 'resource',
|
|
50
|
+
type: 'options',
|
|
51
|
+
noDataExpression: true,
|
|
52
|
+
options: [
|
|
53
|
+
{
|
|
54
|
+
name: 'Action',
|
|
55
|
+
value: 'action',
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
name: 'File',
|
|
59
|
+
value: 'file',
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
name: 'Form',
|
|
63
|
+
value: 'form',
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
name: 'Form Container',
|
|
67
|
+
value: 'formContainer',
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
name: 'Form Control',
|
|
71
|
+
value: 'formControl',
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
name: 'Menu Item',
|
|
75
|
+
value: 'menuItem',
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
name: 'Message',
|
|
79
|
+
value: 'message',
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
name: 'Page',
|
|
83
|
+
value: 'page',
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
name: 'Queue Item',
|
|
87
|
+
value: 'queueItem',
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
name: 'Tile',
|
|
91
|
+
value: 'tile',
|
|
92
|
+
},
|
|
93
|
+
],
|
|
94
|
+
default: 'queueItem',
|
|
95
|
+
},
|
|
96
|
+
...action_1.actionDescription,
|
|
97
|
+
...file_1.fileDescription,
|
|
98
|
+
...form_1.formDescription,
|
|
99
|
+
...formContainer_1.formContainerDescription,
|
|
100
|
+
...formControl_1.formControlDescription,
|
|
101
|
+
...menuItem_1.menuItemDescription,
|
|
102
|
+
...message_1.messageDescription,
|
|
103
|
+
...page_1.pageDescription,
|
|
104
|
+
...queueItem_1.queueItemDescription,
|
|
105
|
+
...tile_1.tileDescription,
|
|
106
|
+
]),
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.TrustPortal = TrustPortal;
|
|
111
|
+
//# sourceMappingURL=TrustPortal.node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TrustPortal.node.js","sourceRoot":"","sources":["../../../nodes/TrustPortal/TrustPortal.node.ts"],"names":[],"mappings":";;;AAAA,+CAA8F;AAE9F,+CAAuD;AACvD,2CAAmD;AACnD,2CAAmD;AACnD,6DAAqE;AACrE,yDAAiE;AACjE,mDAA2D;AAC3D,iDAAyD;AACzD,2CAAmD;AACnD,qDAA6D;AAC7D,2CAAmD;AACnD,sDAAuD;AAEvD,MAAa,WAAW;IAAxB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,aAAa;YAC1B,IAAI,EAAE,aAAa;YACnB,IAAI,EAAE,sB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,YAAY;4BAClB,KAAK,EAAE,WAAW;yBAClB;wBACD;4BACC,IAAI,EAAE,MAAM;4BACZ,KAAK,EAAE,MAAM;yBACb;qBACD;oBACD,OAAO,EAAE,WAAW;iBACpB;gBACD,GAAG,0BAAiB;gBACpB,GAAG,sBAAe;gBAClB,GAAG,sBAAe;gBAClB,GAAG,wCAAwB;gBAC3B,GAAG,oCAAsB;gBACzB,GAAG,8BAAmB;gBACtB,GAAG,4BAAkB;gBACrB,GAAG,sBAAe;gBAClB,GAAG,gCAAoB;gBACvB,GAAG,sBAAe;aAClB,CAAC;SACF,CAAC;IACH,CAAC;CAAA;AA9FD,kCA8FC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"node": "@trustportal/n8n-nodes-trustportal.trustPortal",
|
|
3
|
+
"nodeVersion": "1.0",
|
|
4
|
+
"codexVersion": "1.0",
|
|
5
|
+
"categories": ["Productivity", "Development"],
|
|
6
|
+
"resources": {
|
|
7
|
+
"credentialDocumentation": [
|
|
8
|
+
{
|
|
9
|
+
"url": "https://www.npmjs.com/package/@trustportal/n8n-nodes-trustportal#credentials"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"primaryDocumentation": [
|
|
13
|
+
{
|
|
14
|
+
"url": "https://www.npmjs.com/package/@trustportal/n8n-nodes-trustportal"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { IHookFunctions, ILoadOptionsFunctions, INodePropertyOptions, INodeType, INodeTypeDescription, IWebhookFunctions, IWebhookResponseData } from 'n8n-workflow';
|
|
2
|
+
export declare class TrustPortalWebhookTrigger implements INodeType {
|
|
3
|
+
description: INodeTypeDescription;
|
|
4
|
+
methods: {
|
|
5
|
+
loadOptions: {
|
|
6
|
+
getForms(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
7
|
+
getButtons(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
webhookMethods: {
|
|
11
|
+
default: {
|
|
12
|
+
checkExists(this: IHookFunctions): Promise<boolean>;
|
|
13
|
+
create(this: IHookFunctions): Promise<boolean>;
|
|
14
|
+
delete(this: IHookFunctions): Promise<boolean>;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
webhook(this: IWebhookFunctions): Promise<IWebhookResponseData>;
|
|
18
|
+
}
|