n8n-nodes-base 2.43.1 → 2.44.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/cjs/build.tsbuildinfo +1 -1
- package/dist/credentials/GoogleApi.credentials.d.ts.map +1 -1
- package/dist/credentials/GoogleApi.credentials.js +2 -208
- package/dist/credentials/GoogleApi.credentials.js.map +1 -1
- package/dist/credentials/WhatsAppBotApi.credentials.d.ts +10 -0
- package/dist/credentials/WhatsAppBotApi.credentials.d.ts.map +1 -0
- package/dist/credentials/WhatsAppBotApi.credentials.js +71 -0
- package/dist/credentials/WhatsAppBotApi.credentials.js.map +1 -0
- package/dist/credentials/common/aws/utils.d.ts +7 -0
- package/dist/credentials/common/aws/utils.d.ts.map +1 -1
- package/dist/credentials/common/aws/utils.js +14 -0
- package/dist/credentials/common/aws/utils.js.map +1 -1
- package/dist/credentials/common/google/index.d.ts +3 -0
- package/dist/credentials/common/google/index.d.ts.map +1 -0
- package/dist/credentials/common/google/index.js +8 -0
- package/dist/credentials/common/google/index.js.map +1 -0
- package/dist/credentials/common/google/regions.d.ts +166 -0
- package/dist/credentials/common/google/regions.d.ts.map +1 -0
- package/dist/credentials/common/google/regions.js +211 -0
- package/dist/credentials/common/google/regions.js.map +1 -0
- package/dist/credentials/common/google/utils.d.ts +6 -0
- package/dist/credentials/common/google/utils.d.ts.map +1 -0
- package/dist/credentials/common/google/utils.js +16 -0
- package/dist/credentials/common/google/utils.js.map +1 -0
- package/dist/known/credentials.json +4 -0
- package/dist/node-definitions/.nodes-hash +1 -1
- package/dist/node-definitions/index.ts +8 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/asana/v1/resource_project/operation_get_all.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/asana/v1/resource_task/operation_get_all.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/azureCosmosDb/v1/resource_item/operation_create.ts +2 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/azureCosmosDb/v1/resource_item/operation_get.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/azureCosmosDb/v1/resource_item/operation_query.ts +11 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/clickUp/v1/resource_task/operation_create.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/clickUp/v1/resource_task/operation_get.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/clickUp/v1/resource_task/operation_get_all.ts +6 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/dataTable/v1/resource_table/operation_update.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/dataTable/v11/resource_table/operation_update.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/discord/v2/resource_message/operation_send.ts +12 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/elasticsearch/v1/resource_document/operation_get_all.ts +24 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v1.schema.js +31 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/{v1/mode_each.ts → v1.ts} +13 -47
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v11.schema.js +31 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/{v11/mode_each.ts → v11.ts} +13 -47
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v12.schema.js +32 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/{v12/mode_each.ts → v12.ts} +13 -47
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v13.schema.js +32 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/{v13/mode_each.ts → v13.ts} +13 -47
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v14.schema.js +32 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/{v14/mode_each.ts → v14.ts} +13 -47
- package/dist/node-definitions/nodes/n8n-nodes-base/extractFromFile/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/extractFromFile/v12.schema.js +27 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/extractFromFile/v12.ts +135 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/filter/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/filter/v24.schema.js +26 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/filter/v24.ts +45 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/gSuiteAdmin/v1/resource_user/operation_get.ts +6 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/googleAnalytics/v2/resource_report/operation_get.ts +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-base/googleChat/v1/resource_message/operation_create.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/googleDrive/v3/resource_file/operation_upload.ts +14 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/googleSlides/v2/resource_presentation/operation_replace_text.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/haloPSA/v1/resource_ticket/operation_get_all.ts +88 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/hubspot/v22/resource_contact/operation_get.ts +2 -154
- package/dist/node-definitions/nodes/n8n-nodes-base/hubspot/v22/resource_ticket/operation_get.ts +3 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/if/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/if/v24.schema.js +26 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/if/v24.ts +45 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/jinaAi/v1/resource_reader/operation_read.ts +3 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/jinaAi/v1/resource_research/operation_deep_research.ts +19 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/jira/v1/resource_issue/operation_get.ts +3 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mailchimp/v1/resource_campaign/operation_send.ts +5 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/messageAnAgent/index.ts +18 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/messageAnAgent/v1.schema.js +28 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/messageAnAgent/v1.ts +59 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/messageAnAgent/v2.schema.js +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/messageAnAgent/v2.ts +61 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/messageAnAgent/v3.schema.js +32 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/messageAnAgent/v3.ts +72 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/messageAnAgent/v31.schema.js +32 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/messageAnAgent/v31.ts +87 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftOutlook/v2/resource_draft/operation_get.ts +6 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftOutlook/v2/resource_event/operation_create.ts +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftOutlook/v2/resource_folder/operation_create.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftSharePointTrigger/index.ts +12 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftSharePointTrigger/v1.schema.js +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftSharePointTrigger/v1.ts +108 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftTeams/v2/resource_chat_message/operation_create.ts +17 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftTeams/v2/resource_chat_message/operation_get.ts +10 -6
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftToDo/v1/resource_task/operation_get_all.ts +4 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/odoo/v2/resource_custom/operation_delete.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/odoo/v2/resource_custom/operation_get.ts +0 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/perplexity/v2/resource_chat/operation_complete.ts +33 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/pipedrive/v2/resource_organization/operation_create.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/quickbooks/v1/resource_customer/operation_get_all.ts +4 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/salesforce/v11/resource_account/operation_get_all.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/salesforce/v11/resource_custom_object/operation_create.ts +4 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/salesforce/v11/resource_opportunity/operation_get_all.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/shopify/v1/resource_product/operation_get_all.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/slack/v27/resource_message/operation_post.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/strapi/v1/resource_entry/operation_get_all.ts +7 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/stripe/v1/resource_customer/operation_get.ts +2 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/supabase/v1/resource_row/operation_delete.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/switch/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/{executeWorkflow/v1 → switch/v35}/index.schema.js +6 -6
- package/dist/node-definitions/nodes/n8n-nodes-base/switch/v35/index.ts +15 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/switch/v35/mode_expression.schema.js +23 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/switch/v35/mode_expression.ts +32 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/switch/v35/mode_rules.schema.js +23 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/switch/v35/mode_rules.ts +114 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/telegram/v1/resource_chat/operation_member.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/telegram/v1/resource_message/operation_send_and_wait.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/telegram/v1/resource_message/operation_send_video.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/telegram/v11/resource_chat/operation_member.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/telegram/v11/resource_message/operation_send_and_wait.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/telegram/v11/resource_message/operation_send_video.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/telegram/v12/resource_chat/operation_member.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/telegram/v12/resource_message/operation_send_and_wait.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/telegram/v12/resource_message/operation_send_video.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/wooCommerce/v1/resource_order/operation_get.ts +5 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/wooCommerce/v1/resource_product/operation_get.ts +2 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/wordpress/v1/resource_post/operation_create.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/wordpress/v1/resource_post/operation_update.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/youTube/v1/resource_video/operation_get.ts +4 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/youTube/v1/resource_video/operation_get_all.ts +10 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zoom/v1/resource_meeting/operation_get_all.ts +1 -0
- package/dist/nodes/Asana/__schema__/v1.0.0/project/getAll.json +4 -1
- package/dist/nodes/Asana/__schema__/v1.0.0/task/getAll.json +4 -1
- package/dist/nodes/Aws/S3/V1/AwsS3V1.node.d.ts.map +1 -1
- package/dist/nodes/Aws/S3/V1/AwsS3V1.node.js +5 -1
- package/dist/nodes/Aws/S3/V1/AwsS3V1.node.js.map +1 -1
- package/dist/nodes/Aws/S3/V2/AwsS3V2.node.d.ts.map +1 -1
- package/dist/nodes/Aws/S3/V2/AwsS3V2.node.js +8 -4
- package/dist/nodes/Aws/S3/V2/AwsS3V2.node.js.map +1 -1
- package/dist/nodes/ClickUp/__schema__/v1.0.0/task/create.json +4 -1
- package/dist/nodes/ClickUp/__schema__/v1.0.0/task/get.json +8 -2
- package/dist/nodes/ClickUp/__schema__/v1.0.0/task/getAll.json +17 -2
- package/dist/nodes/DataTable/__schema__/v1.1.0/table/update.json +4 -1
- package/dist/nodes/Databricks/Databricks.node.d.ts.map +1 -1
- package/dist/nodes/Databricks/Databricks.node.js +1 -0
- package/dist/nodes/Databricks/Databricks.node.js.map +1 -1
- package/dist/nodes/Databricks/actions/helpers.d.ts +2 -2
- package/dist/nodes/Databricks/actions/helpers.d.ts.map +1 -1
- package/dist/nodes/Databricks/actions/helpers.js +4 -2
- package/dist/nodes/Databricks/actions/helpers.js.map +1 -1
- package/dist/nodes/Databricks/actions/lakebase/helpers.d.ts +5 -0
- package/dist/nodes/Databricks/actions/lakebase/helpers.d.ts.map +1 -0
- package/dist/nodes/Databricks/actions/lakebase/helpers.js +27 -0
- package/dist/nodes/Databricks/actions/lakebase/helpers.js.map +1 -0
- package/dist/nodes/Databricks/methods/listSearch.d.ts +5 -0
- package/dist/nodes/Databricks/methods/listSearch.d.ts.map +1 -1
- package/dist/nodes/Databricks/methods/listSearch.js +131 -4
- package/dist/nodes/Databricks/methods/listSearch.js.map +1 -1
- package/dist/nodes/Databricks/resources/index.d.ts +1 -0
- package/dist/nodes/Databricks/resources/index.d.ts.map +1 -1
- package/dist/nodes/Databricks/resources/index.js +1 -0
- package/dist/nodes/Databricks/resources/index.js.map +1 -1
- package/dist/nodes/Databricks/resources/lakebase/parameters.d.ts +3 -0
- package/dist/nodes/Databricks/resources/lakebase/parameters.d.ts.map +1 -0
- package/dist/nodes/Databricks/resources/lakebase/parameters.js +167 -0
- package/dist/nodes/Databricks/resources/lakebase/parameters.js.map +1 -0
- package/dist/nodes/Databricks/transport/index.d.ts +3 -1
- package/dist/nodes/Databricks/transport/index.d.ts.map +1 -1
- package/dist/nodes/Databricks/transport/index.js +8 -1
- package/dist/nodes/Databricks/transport/index.js.map +1 -1
- package/dist/nodes/Databricks/transport/lakebase.d.ts +9 -0
- package/dist/nodes/Databricks/transport/lakebase.d.ts.map +1 -0
- package/dist/nodes/Databricks/transport/lakebase.js +83 -0
- package/dist/nodes/Databricks/transport/lakebase.js.map +1 -0
- package/dist/nodes/Databricks/transport/lakebaseEndpoint.d.ts +4 -0
- package/dist/nodes/Databricks/transport/lakebaseEndpoint.d.ts.map +1 -0
- package/dist/nodes/Databricks/transport/lakebaseEndpoint.js +55 -0
- package/dist/nodes/Databricks/transport/lakebaseEndpoint.js.map +1 -0
- package/dist/nodes/Discord/__schema__/v2.0.0/message/send.json +36 -1
- package/dist/nodes/Elastic/Elasticsearch/__schema__/v1.0.0/document/getAll.json +76 -1
- package/dist/nodes/ExecuteWorkflow/ExecuteWorkflow/ExecuteWorkflow.node.d.ts.map +1 -1
- package/dist/nodes/ExecuteWorkflow/ExecuteWorkflow/ExecuteWorkflow.node.js +0 -11
- package/dist/nodes/ExecuteWorkflow/ExecuteWorkflow/ExecuteWorkflow.node.js.map +1 -1
- package/dist/nodes/Files/ExtractFromFile/ExtractFromFile.node.d.ts.map +1 -1
- package/dist/nodes/Files/ExtractFromFile/ExtractFromFile.node.js +2 -1
- package/dist/nodes/Files/ExtractFromFile/ExtractFromFile.node.js.map +1 -1
- package/dist/nodes/Filter/Filter.node.d.ts.map +1 -1
- package/dist/nodes/Filter/Filter.node.js +2 -1
- package/dist/nodes/Filter/Filter.node.js.map +1 -1
- package/dist/nodes/Filter/V2/FilterV2.node.d.ts.map +1 -1
- package/dist/nodes/Filter/V2/FilterV2.node.js +2 -2
- package/dist/nodes/Filter/V2/FilterV2.node.js.map +1 -1
- package/dist/nodes/Form/v1/FormTriggerV1.node.d.ts +1 -1
- package/dist/nodes/Form/v2/FormTriggerV2.node.d.ts +1 -1
- package/dist/nodes/FreshworksCrm/__schema__/v1.0.0/search/query.json +1 -1
- package/dist/nodes/Github/__schema__/v1.1.0/file/create.json +148 -0
- package/dist/nodes/Google/Chat/__schema__/v1.0.0/message/create.json +4 -1
- package/dist/nodes/Google/CloudStorage/__schema__/v1.1.0/object/create.json +60 -0
- package/dist/nodes/Google/Drive/__schema__/v3.0.0/file/upload.json +43 -1
- package/dist/nodes/Google/GSuiteAdmin/__schema__/v1.0.0/user/get.json +21 -1
- package/dist/nodes/Google/Slides/__schema__/v2.0.0/presentation/replaceText.json +4 -1
- package/dist/nodes/Google/YouTube/__schema__/v1.0.0/video/get.json +12 -1
- package/dist/nodes/Google/YouTube/__schema__/v1.0.0/video/getAll.json +29 -1
- package/dist/nodes/HaloPSA/__schema__/v1.0.0/ticket/getAll.json +265 -1
- package/dist/nodes/Hubspot/__schema__/v2.2.0/contact/get.json +54 -0
- package/dist/nodes/Hubspot/__schema__/v2.2.0/ticket/get.json +10 -1
- package/dist/nodes/If/If.node.d.ts.map +1 -1
- package/dist/nodes/If/If.node.js +2 -1
- package/dist/nodes/If/If.node.js.map +1 -1
- package/dist/nodes/If/V2/IfV2.node.d.ts.map +1 -1
- package/dist/nodes/If/V2/IfV2.node.js +2 -2
- package/dist/nodes/If/V2/IfV2.node.js.map +1 -1
- package/dist/nodes/InvoiceNinja/InvoiceNinja.node.d.ts.map +1 -1
- package/dist/nodes/InvoiceNinja/InvoiceNinja.node.js +9 -17
- package/dist/nodes/InvoiceNinja/InvoiceNinja.node.js.map +1 -1
- package/dist/nodes/JinaAI/__schema__/v1.0.0/reader/read.json +10 -1
- package/dist/nodes/JinaAI/__schema__/v1.0.0/research/deepResearch.json +51 -0
- package/dist/nodes/Jira/__schema__/v1.0.0/issue/get.json +10 -1
- package/dist/nodes/Mailchimp/__schema__/v1.0.0/campaign/send.json +9 -0
- package/dist/nodes/MessageAnAgent/shared.d.ts +1 -1
- package/dist/nodes/MessageAnAgent/shared.d.ts.map +1 -1
- package/dist/nodes/MessageAnAgent/shared.js +0 -1
- package/dist/nodes/MessageAnAgent/shared.js.map +1 -1
- package/dist/nodes/Microsoft/AzureCosmosDb/__schema__/v1.0.0/item/create.json +7 -1
- package/dist/nodes/Microsoft/AzureCosmosDb/__schema__/v1.0.0/item/get.json +4 -1
- package/dist/nodes/Microsoft/AzureCosmosDb/__schema__/v1.0.0/item/query.json +36 -1
- package/dist/nodes/Microsoft/Outlook/MicrosoftOutlookTrigger.node.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Outlook/MicrosoftOutlookTrigger.node.js +5 -29
- package/dist/nodes/Microsoft/Outlook/MicrosoftOutlookTrigger.node.js.map +1 -1
- package/dist/nodes/Microsoft/Outlook/__schema__/v2.0.0/draft/get.json +20 -1
- package/dist/nodes/Microsoft/Outlook/__schema__/v2.0.0/folder/create.json +4 -1
- package/dist/nodes/Microsoft/Outlook/trigger/GenericFunctions.d.ts +9 -1
- package/dist/nodes/Microsoft/Outlook/trigger/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Outlook/trigger/GenericFunctions.js +78 -9
- package/dist/nodes/Microsoft/Outlook/trigger/GenericFunctions.js.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/MicrosoftSharePointTrigger.node.d.ts +10 -0
- package/dist/nodes/Microsoft/SharePoint/MicrosoftSharePointTrigger.node.d.ts.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/MicrosoftSharePointTrigger.node.js +221 -4
- package/dist/nodes/Microsoft/SharePoint/MicrosoftSharePointTrigger.node.js.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/__schema__/v2.0.0/item/getAll.json +29 -0
- package/dist/nodes/Microsoft/SharePoint/drive/index.d.ts +15 -0
- package/dist/nodes/Microsoft/SharePoint/drive/index.d.ts.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/drive/index.js +54 -0
- package/dist/nodes/Microsoft/SharePoint/drive/index.js.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/helpers/graphSearch.d.ts.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/{v2/helpers → helpers}/graphSearch.js +1 -1
- package/dist/nodes/Microsoft/SharePoint/helpers/graphSearch.js.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/helpers/utils.d.ts.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/{v2/helpers → helpers}/utils.js +1 -1
- package/dist/nodes/Microsoft/SharePoint/helpers/utils.js.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/{v2/list → list}/index.d.ts +6 -0
- package/dist/nodes/Microsoft/SharePoint/list/index.d.ts.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/{v2/list → list}/index.js +18 -2
- package/dist/nodes/Microsoft/SharePoint/list/index.js.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/{v2/site → site}/index.d.ts +1 -1
- package/dist/nodes/Microsoft/SharePoint/site/index.d.ts.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/{v2/site → site}/index.js +1 -1
- package/dist/nodes/Microsoft/SharePoint/site/index.js.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/transport/delta.d.ts +2 -0
- package/dist/nodes/Microsoft/SharePoint/transport/delta.d.ts.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/transport/delta.js +4 -1
- package/dist/nodes/Microsoft/SharePoint/transport/delta.js.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/trigger/changes.d.ts +17 -0
- package/dist/nodes/Microsoft/SharePoint/trigger/changes.d.ts.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/trigger/changes.js +59 -0
- package/dist/nodes/Microsoft/SharePoint/trigger/changes.js.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/trigger/state.d.ts +33 -0
- package/dist/nodes/Microsoft/SharePoint/trigger/state.d.ts.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/trigger/state.js +53 -0
- package/dist/nodes/Microsoft/SharePoint/trigger/state.js.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/v2/MicrosoftSharePointV2.node.d.ts +3 -3
- package/dist/nodes/Microsoft/SharePoint/v2/actions/file/download.operation.js +2 -2
- package/dist/nodes/Microsoft/SharePoint/v2/actions/file/download.operation.js.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/actions/file/update.operation.js +3 -3
- package/dist/nodes/Microsoft/SharePoint/v2/actions/file/update.operation.js.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/actions/file/upload.operation.js +3 -3
- package/dist/nodes/Microsoft/SharePoint/v2/actions/file/upload.operation.js.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/create.operation.js +3 -3
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/create.operation.js.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/delete.operation.js +3 -3
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/delete.operation.js.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/get.operation.js +3 -3
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/get.operation.js.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/getAll.operation.js +3 -3
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/getAll.operation.js.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/update.operation.js +3 -3
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/update.operation.js.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/upsert.operation.js +3 -3
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/upsert.operation.js.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/actions/list/get.operation.js +3 -3
- package/dist/nodes/Microsoft/SharePoint/v2/actions/list/get.operation.js.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/actions/list/getAll.operation.js +2 -2
- package/dist/nodes/Microsoft/SharePoint/v2/actions/list/getAll.operation.js.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/file/index.js +2 -2
- package/dist/nodes/Microsoft/SharePoint/v2/file/index.js.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/folder/index.js +2 -2
- package/dist/nodes/Microsoft/SharePoint/v2/folder/index.js.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/item/index.js +3 -3
- package/dist/nodes/Microsoft/SharePoint/v2/item/index.js.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/list/columns.js +3 -3
- package/dist/nodes/Microsoft/SharePoint/v2/list/columns.js.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/methods/index.d.ts +3 -3
- package/dist/nodes/Microsoft/SharePoint/v2/methods/index.d.ts.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/methods/index.js +3 -3
- package/dist/nodes/Microsoft/SharePoint/v2/methods/index.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/__schema__/v2.0.0/chatMessage/create.json +52 -1
- package/dist/nodes/Microsoft/Teams/__schema__/v2.0.0/chatMessage/get.json +28 -16
- package/dist/nodes/Microsoft/ToDo/__schema__/v1.0.0/task/getAll.json +12 -1
- package/dist/nodes/N8nTrigger/__schema__/v1.0.0/audit/generate.json +4 -1
- package/dist/nodes/N8nTrigger/__schema__/v1.0.0/execution/get.json +4 -1
- package/dist/nodes/N8nTrigger/__schema__/v1.0.0/execution/getAll.json +4 -1
- package/dist/nodes/N8nTrigger/__schema__/v1.0.0/workflow/getAll.json +48 -1
- package/dist/nodes/Nasa/__schema__/v1.0.0/donkiSolarFlare/get.json +1 -1
- package/dist/nodes/Odoo/__schema__/v2.0.0/custom/delete.json +9 -0
- package/dist/nodes/Odoo/__schema__/v2.0.0/custom/get.json +9 -0
- package/dist/nodes/Odoo/v2/actions/activity/create.operation.d.ts.map +1 -1
- package/dist/nodes/Odoo/v2/actions/activity/create.operation.js +8 -1
- package/dist/nodes/Odoo/v2/actions/activity/create.operation.js.map +1 -1
- package/dist/nodes/Odoo/v2/actions/activity/update.operation.d.ts.map +1 -1
- package/dist/nodes/Odoo/v2/actions/activity/update.operation.js +3 -0
- package/dist/nodes/Odoo/v2/actions/activity/update.operation.js.map +1 -1
- package/dist/nodes/Odoo/v2/actions/contact/create.operation.d.ts.map +1 -1
- package/dist/nodes/Odoo/v2/actions/contact/create.operation.js +3 -0
- package/dist/nodes/Odoo/v2/actions/contact/create.operation.js.map +1 -1
- package/dist/nodes/Odoo/v2/actions/contact/update.operation.d.ts.map +1 -1
- package/dist/nodes/Odoo/v2/actions/contact/update.operation.js +3 -0
- package/dist/nodes/Odoo/v2/actions/contact/update.operation.js.map +1 -1
- package/dist/nodes/Odoo/v2/actions/custom/create.operation.d.ts.map +1 -1
- package/dist/nodes/Odoo/v2/actions/custom/create.operation.js +3 -0
- package/dist/nodes/Odoo/v2/actions/custom/create.operation.js.map +1 -1
- package/dist/nodes/Odoo/v2/actions/custom/update.operation.d.ts.map +1 -1
- package/dist/nodes/Odoo/v2/actions/custom/update.operation.js +3 -0
- package/dist/nodes/Odoo/v2/actions/custom/update.operation.js.map +1 -1
- package/dist/nodes/Odoo/v2/actions/opportunity/create.operation.d.ts.map +1 -1
- package/dist/nodes/Odoo/v2/actions/opportunity/create.operation.js +3 -0
- package/dist/nodes/Odoo/v2/actions/opportunity/create.operation.js.map +1 -1
- package/dist/nodes/Odoo/v2/actions/opportunity/update.operation.d.ts.map +1 -1
- package/dist/nodes/Odoo/v2/actions/opportunity/update.operation.js +3 -0
- package/dist/nodes/Odoo/v2/actions/opportunity/update.operation.js.map +1 -1
- package/dist/nodes/Odoo/v2/helpers/schema.d.ts +14 -0
- package/dist/nodes/Odoo/v2/helpers/schema.d.ts.map +1 -0
- package/dist/nodes/Odoo/v2/helpers/schema.js +34 -0
- package/dist/nodes/Odoo/v2/helpers/schema.js.map +1 -0
- package/dist/nodes/Odoo/v2/helpers/utils.d.ts +16 -1
- package/dist/nodes/Odoo/v2/helpers/utils.d.ts.map +1 -1
- package/dist/nodes/Odoo/v2/helpers/utils.js +79 -2
- package/dist/nodes/Odoo/v2/helpers/utils.js.map +1 -1
- package/dist/nodes/Perplexity/__schema__/v2.0.0/chat/complete.json +100 -1
- package/dist/nodes/Pipedrive/__schema__/v2.0.0/organization/create.json +7 -1
- package/dist/nodes/QuickBooks/__schema__/v1.0.0/customer/getAll.json +13 -1
- package/dist/nodes/S3/S3.node.d.ts.map +1 -1
- package/dist/nodes/S3/S3.node.js +5 -1
- package/dist/nodes/S3/S3.node.js.map +1 -1
- package/dist/nodes/Salesforce/__schema__/v1.1.0/account/getAll.json +4 -1
- package/dist/nodes/Salesforce/__schema__/v1.1.0/customObject/create.json +15 -1
- package/dist/nodes/Salesforce/__schema__/v1.1.0/opportunity/create.json +12 -0
- package/dist/nodes/Salesforce/__schema__/v1.1.0/opportunity/getAll.json +4 -1
- package/dist/nodes/Shopify/__schema__/v1.0.0/product/getAll.json +4 -1
- package/dist/nodes/Slack/__schema__/v2.7.0/message/post.json +4 -1
- package/dist/nodes/SpreadsheetFile/v2/fromFile.operation.d.ts +2 -1
- package/dist/nodes/SpreadsheetFile/v2/fromFile.operation.d.ts.map +1 -1
- package/dist/nodes/SpreadsheetFile/v2/fromFile.operation.js +30 -2
- package/dist/nodes/SpreadsheetFile/v2/fromFile.operation.js.map +1 -1
- package/dist/nodes/Strapi/__schema__/v1.0.0/entry/getAll.json +21 -1
- package/dist/nodes/Stripe/__schema__/v1.0.0/customer/get.json +7 -1
- package/dist/nodes/Supabase/__schema__/v1.0.0/row/delete.json +4 -1
- package/dist/nodes/Switch/Switch.node.d.ts.map +1 -1
- package/dist/nodes/Switch/Switch.node.js +2 -1
- package/dist/nodes/Switch/Switch.node.js.map +1 -1
- package/dist/nodes/Switch/V3/SwitchV3.node.d.ts.map +1 -1
- package/dist/nodes/Switch/V3/SwitchV3.node.js +2 -2
- package/dist/nodes/Switch/V3/SwitchV3.node.js.map +1 -1
- package/dist/nodes/Telegram/GenericFunctions.d.ts +1 -1
- package/dist/nodes/Telegram/__schema__/v1.2.0/chat/member.json +4 -1
- package/dist/nodes/Telegram/__schema__/v1.2.0/message/sendAndWait.json +4 -1
- package/dist/nodes/Telegram/__schema__/v1.2.0/message/sendVideo.json +4 -1
- package/dist/nodes/TheHiveProject/helpers/constants.d.ts +1 -1
- package/dist/nodes/Todoist/__schema__/v2.2.0/task/close.json +9 -0
- package/dist/nodes/Todoist/__schema__/v2.2.0/task/update.json +9 -0
- package/dist/nodes/WooCommerce/__schema__/v1.0.0/order/get.json +18 -1
- package/dist/nodes/WooCommerce/__schema__/v1.0.0/product/get.json +7 -1
- package/dist/nodes/Wordpress/__schema__/v1.0.0/page/getAll.json +1 -1
- package/dist/nodes/Wordpress/__schema__/v1.0.0/post/create.json +7 -1
- package/dist/nodes/Wordpress/__schema__/v1.0.0/post/update.json +7 -1
- package/dist/nodes/Zoho/__schema__/v1.0.0/contact/getAll.json +35 -1
- package/dist/nodes/Zoho/__schema__/v1.0.0/deal/getAll.json +10 -1
- package/dist/nodes/Zoho/__schema__/v1.0.0/lead/getAll.json +25 -1
- package/dist/nodes/Zoom/__schema__/v1.0.0/meeting/getAll.json +4 -1
- package/dist/types/credentials.json +1 -0
- package/dist/types/nodes.json +15 -15
- package/google-service-account.js +1 -0
- package/package.json +17 -12
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v1/index.ts +0 -15
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v1/mode_each.schema.js +0 -26
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v1/mode_once.schema.js +0 -26
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v1/mode_once.ts +0 -90
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v11/index.schema.js +0 -22
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v11/index.ts +0 -15
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v11/mode_each.schema.js +0 -26
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v11/mode_once.schema.js +0 -26
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v11/mode_once.ts +0 -88
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v12/index.schema.js +0 -22
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v12/index.ts +0 -15
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v12/mode_each.schema.js +0 -27
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v12/mode_once.schema.js +0 -27
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v12/mode_once.ts +0 -101
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v13/index.schema.js +0 -22
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v13/index.ts +0 -15
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v13/mode_each.schema.js +0 -27
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v13/mode_once.schema.js +0 -27
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v13/mode_once.ts +0 -101
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v14/index.schema.js +0 -22
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v14/index.ts +0 -15
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v14/mode_each.schema.js +0 -27
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v14/mode_once.schema.js +0 -27
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v14/mode_once.ts +0 -101
- package/dist/nodes/Microsoft/SharePoint/v2/drive/index.d.ts +0 -11
- package/dist/nodes/Microsoft/SharePoint/v2/drive/index.d.ts.map +0 -1
- package/dist/nodes/Microsoft/SharePoint/v2/drive/index.js +0 -26
- package/dist/nodes/Microsoft/SharePoint/v2/drive/index.js.map +0 -1
- package/dist/nodes/Microsoft/SharePoint/v2/helpers/graphSearch.d.ts.map +0 -1
- package/dist/nodes/Microsoft/SharePoint/v2/helpers/graphSearch.js.map +0 -1
- package/dist/nodes/Microsoft/SharePoint/v2/helpers/utils.d.ts.map +0 -1
- package/dist/nodes/Microsoft/SharePoint/v2/helpers/utils.js.map +0 -1
- package/dist/nodes/Microsoft/SharePoint/v2/list/index.d.ts.map +0 -1
- package/dist/nodes/Microsoft/SharePoint/v2/list/index.js.map +0 -1
- package/dist/nodes/Microsoft/SharePoint/v2/site/index.d.ts.map +0 -1
- package/dist/nodes/Microsoft/SharePoint/v2/site/index.js.map +0 -1
- /package/dist/nodes/Microsoft/SharePoint/{v2/helpers → helpers}/graphSearch.d.ts +0 -0
- /package/dist/nodes/Microsoft/SharePoint/{v2/helpers → helpers}/utils.d.ts +0 -0
|
@@ -4,12 +4,14 @@
|
|
|
4
4
|
* Re-exports all version-specific types and provides combined union type.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
import type { IfV24Node } from './v24';
|
|
7
8
|
import type { IfV23Node } from './v23';
|
|
8
9
|
import type { IfV22Node } from './v22';
|
|
9
10
|
import type { IfV21Node } from './v21';
|
|
10
11
|
import type { IfV2Node } from './v2';
|
|
11
12
|
import type { IfV1Node } from './v1';
|
|
12
13
|
|
|
14
|
+
export * from './v24';
|
|
13
15
|
export * from './v23';
|
|
14
16
|
export * from './v22';
|
|
15
17
|
export * from './v21';
|
|
@@ -17,4 +19,4 @@ export * from './v2';
|
|
|
17
19
|
export * from './v1';
|
|
18
20
|
|
|
19
21
|
// Combined union type for all versions
|
|
20
|
-
export type IfNode = IfV23Node | IfV22Node | IfV21Node | IfV2Node | IfV1Node;
|
|
22
|
+
export type IfNode = IfV24Node | IfV23Node | IfV22Node | IfV21Node | IfV2Node | IfV1Node;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* If Node - Version 2.4 - Zod Validation Schemas
|
|
3
|
+
*
|
|
4
|
+
* These schemas validate node configuration at runtime.
|
|
5
|
+
* Use .parse() for strict validation or .safeParse() for error handling.
|
|
6
|
+
*
|
|
7
|
+
* Schema helpers (z, expressionSchema, etc.) are passed as parameters
|
|
8
|
+
* by the schema-validator, not imported from external files.
|
|
9
|
+
*
|
|
10
|
+
* @generated - CommonJS JavaScript for runtime loading
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema }) {
|
|
14
|
+
|
|
15
|
+
// Parameters schema
|
|
16
|
+
const parametersSchema = z.object({
|
|
17
|
+
conditions: filterValueSchema.optional(),
|
|
18
|
+
looseTypeValidation: booleanOrExpression.optional(),
|
|
19
|
+
options: z.object({ ignoreCase: booleanOrExpression.optional() }).optional(),
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
// Return combined config schema
|
|
23
|
+
return z.object({
|
|
24
|
+
parameters: parametersSchema.nullable().optional(),
|
|
25
|
+
});
|
|
26
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* If Node - Version 2.4
|
|
3
|
+
* Route items to different branches (true/false)
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
// Helper types for special n8n fields
|
|
8
|
+
type FilterOptionsValue = { caseSensitive?: boolean; leftValue?: string; typeValidation?: 'strict' | 'loose' };
|
|
9
|
+
type FilterConditionValue = { id?: string; leftValue: unknown; operator: { type: string; operation: string }; rightValue: unknown };
|
|
10
|
+
type FilterValue = { options: FilterOptionsValue; conditions: FilterConditionValue[]; combinator: 'and' | 'or' };
|
|
11
|
+
|
|
12
|
+
export interface IfV24Params {
|
|
13
|
+
/**
|
|
14
|
+
* Conditions
|
|
15
|
+
* @builderHint Must always contain these three sibling keys:
|
|
16
|
+
- combinator: 'and' or 'or', default to 'and'
|
|
17
|
+
- conditions: [ a list of condition objects ]
|
|
18
|
+
- options: { caseSensitive: true, leftValue: '', typeValidation: 'strict', version: 1 }
|
|
19
|
+
e.g.: { combinator: 'and', options: { caseSensitive: true, leftValue: '', typeValidation: 'strict', version: 2 }, conditions: [{ leftValue: expr('{{ $json.field }}'), rightValue: 'value', operator: { type: 'string', operation: 'equals' } }] }
|
|
20
|
+
* @default {}
|
|
21
|
+
*/
|
|
22
|
+
conditions?: FilterValue;
|
|
23
|
+
/**
|
|
24
|
+
* If the type of an expression doesn't match the type of the comparison, n8n will try to cast the expression to the required type. E.g. for booleans <code>"false"</code> or <code>0</code> will be cast to <code>false</code>
|
|
25
|
+
* @default false
|
|
26
|
+
*/
|
|
27
|
+
looseTypeValidation?: boolean | Expression<boolean>;
|
|
28
|
+
options?: {
|
|
29
|
+
/** Whether to ignore letter case when evaluating conditions
|
|
30
|
+
* @default true
|
|
31
|
+
*/
|
|
32
|
+
ignoreCase?: boolean | Expression<boolean>;
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
interface IfV24NodeBase {
|
|
37
|
+
type: 'n8n-nodes-base.if';
|
|
38
|
+
version: 2.4;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export type IfV24ParamsNode = IfV24NodeBase & {
|
|
42
|
+
config: NodeConfig<IfV24Params>;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
export type IfV24Node = IfV24ParamsNode;
|
|
@@ -71,8 +71,27 @@ export type JinaAiV1ResearchDeepResearchParams = {
|
|
|
71
71
|
};
|
|
72
72
|
};
|
|
73
73
|
|
|
74
|
+
export type JinaAiV1ResearchDeepResearchOutput = {
|
|
75
|
+
annotations?: Array<{
|
|
76
|
+
type?: string;
|
|
77
|
+
url_citation?: {
|
|
78
|
+
dateTime?: string;
|
|
79
|
+
exactQuote?: string;
|
|
80
|
+
title?: string;
|
|
81
|
+
url?: string;
|
|
82
|
+
};
|
|
83
|
+
}>;
|
|
84
|
+
content?: string;
|
|
85
|
+
usage?: {
|
|
86
|
+
completion_tokens?: number;
|
|
87
|
+
prompt_tokens?: number;
|
|
88
|
+
total_tokens?: number;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
|
|
74
92
|
export type JinaAiV1ResearchDeepResearchNode = {
|
|
75
93
|
type: 'n8n-nodes-base.jinaAi';
|
|
76
94
|
version: 1;
|
|
77
95
|
config: NodeConfig<JinaAiV1ResearchDeepResearchParams> & { credentials?: Credentials };
|
|
96
|
+
output?: Items<JinaAiV1ResearchDeepResearchOutput>;
|
|
78
97
|
};
|
|
@@ -108,6 +108,7 @@ export type JiraV1IssueGetOutput = {
|
|
|
108
108
|
content?: string;
|
|
109
109
|
created?: string;
|
|
110
110
|
filename?: string;
|
|
111
|
+
fixture_path?: string;
|
|
111
112
|
id?: string;
|
|
112
113
|
mimeType?: string;
|
|
113
114
|
self?: string;
|
|
@@ -409,6 +410,7 @@ export type JiraV1IssueGetOutput = {
|
|
|
409
410
|
'48x48'?: string;
|
|
410
411
|
};
|
|
411
412
|
displayName?: string;
|
|
413
|
+
emailAddress?: string;
|
|
412
414
|
self?: string;
|
|
413
415
|
timeZone?: string;
|
|
414
416
|
};
|
|
@@ -431,6 +433,7 @@ export type JiraV1IssueGetOutput = {
|
|
|
431
433
|
'48x48'?: string;
|
|
432
434
|
};
|
|
433
435
|
displayName?: string;
|
|
436
|
+
emailAddress?: string;
|
|
434
437
|
self?: string;
|
|
435
438
|
timeZone?: string;
|
|
436
439
|
};
|
package/dist/node-definitions/nodes/n8n-nodes-base/mailchimp/v1/resource_campaign/operation_send.ts
CHANGED
|
@@ -20,8 +20,13 @@ export type MailchimpV1CampaignSendParams = {
|
|
|
20
20
|
campaignId: string | Expression<string>;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
+
export type MailchimpV1CampaignSendOutput = {
|
|
24
|
+
success?: boolean;
|
|
25
|
+
};
|
|
26
|
+
|
|
23
27
|
export type MailchimpV1CampaignSendNode = {
|
|
24
28
|
type: 'n8n-nodes-base.mailchimp';
|
|
25
29
|
version: 1;
|
|
26
30
|
config: NodeConfig<MailchimpV1CampaignSendParams> & { credentials?: Credentials };
|
|
31
|
+
output?: Items<MailchimpV1CampaignSendOutput>;
|
|
27
32
|
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Message an Agent Node Types
|
|
3
|
+
*
|
|
4
|
+
* Re-exports all version-specific types and provides combined union type.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import type { MessageAnAgentV31Node } from './v31';
|
|
8
|
+
import type { MessageAnAgentV3Node } from './v3';
|
|
9
|
+
import type { MessageAnAgentV2Node } from './v2';
|
|
10
|
+
import type { MessageAnAgentV1Node } from './v1';
|
|
11
|
+
|
|
12
|
+
export * from './v31';
|
|
13
|
+
export * from './v3';
|
|
14
|
+
export * from './v2';
|
|
15
|
+
export * from './v1';
|
|
16
|
+
|
|
17
|
+
// Combined union type for all versions
|
|
18
|
+
export type MessageAnAgentNode = MessageAnAgentV31Node | MessageAnAgentV3Node | MessageAnAgentV2Node | MessageAnAgentV1Node;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Message an Agent Node - Version 1 - Zod Validation Schemas
|
|
3
|
+
*
|
|
4
|
+
* These schemas validate node configuration at runtime.
|
|
5
|
+
* Use .parse() for strict validation or .safeParse() for error handling.
|
|
6
|
+
*
|
|
7
|
+
* Schema helpers (z, expressionSchema, etc.) are passed as parameters
|
|
8
|
+
* by the schema-validator, not imported from external files.
|
|
9
|
+
*
|
|
10
|
+
* @generated - CommonJS JavaScript for runtime loading
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema, resolveOneOfSchemas }) {
|
|
14
|
+
|
|
15
|
+
// Parameters schema
|
|
16
|
+
const parametersSchema = z.object({
|
|
17
|
+
agentId: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
18
|
+
message: stringOrExpression,
|
|
19
|
+
useStructuredOutput: booleanOrExpression.optional(),
|
|
20
|
+
outputSchema: resolveSchema({ parameters, schema: z.union([iDataObjectSchema, z.string()]), required: false, displayOptions: {"show":{"useStructuredOutput":[true]}}, defaults: {"useStructuredOutput":false} }),
|
|
21
|
+
advanced: z.object({ enableStreaming: booleanOrExpression.optional(), invokeMode: z.union([z.literal('allItems'), z.literal('perItem')]).optional(), sessionId: stringOrExpression.optional(), allowOtherNodesData: booleanOrExpression.optional() }).optional(),
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
// Return combined config schema
|
|
25
|
+
return z.object({
|
|
26
|
+
parameters: parametersSchema.nullable().optional(),
|
|
27
|
+
});
|
|
28
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Message an Agent Node - Version 1
|
|
3
|
+
* Send a message to a n8n agent
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
export interface MessageAnAgentV1Params {
|
|
8
|
+
/**
|
|
9
|
+
* The agent to send the message to
|
|
10
|
+
* @searchListMethod listAgents
|
|
11
|
+
* @default {"mode":"list","value":""}
|
|
12
|
+
*/
|
|
13
|
+
agentId?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
|
|
14
|
+
/**
|
|
15
|
+
* The message to send to the agent
|
|
16
|
+
*/
|
|
17
|
+
message: string | Expression<string>;
|
|
18
|
+
/**
|
|
19
|
+
* Whether to constrain the agent response to a JSON Schema you provide. The conforming object is returned on the "structuredOutput" field.
|
|
20
|
+
* @default false
|
|
21
|
+
*/
|
|
22
|
+
useStructuredOutput?: boolean | Expression<boolean>;
|
|
23
|
+
/**
|
|
24
|
+
* The JSON Schema that the agent response must conform to
|
|
25
|
+
* @hint Use <a target="_blank" href="https://json-schema.org/">JSON Schema</a> format
|
|
26
|
+
* @displayOptions.show { useStructuredOutput: [true] }
|
|
27
|
+
*/
|
|
28
|
+
outputSchema?: IDataObject | string | Expression<string>;
|
|
29
|
+
advanced?: {
|
|
30
|
+
/** Whether to stream the agent's response as it generates text
|
|
31
|
+
* @default true
|
|
32
|
+
*/
|
|
33
|
+
enableStreaming?: boolean | Expression<boolean>;
|
|
34
|
+
/** Whether to call the agent once per input item or a single time for all items
|
|
35
|
+
* @displayOptions.hide { /agentSource: ["inline"] }
|
|
36
|
+
* @default allItems
|
|
37
|
+
*/
|
|
38
|
+
invokeMode?: 'allItems' | 'perItem';
|
|
39
|
+
/** Reuse an agent session to keep memory across runs. Leave empty to start a fresh session per execution.
|
|
40
|
+
*/
|
|
41
|
+
sessionId?: string | Expression<string>;
|
|
42
|
+
/** Whether to give the agent a tool to read other workflow nodes' execution data, beyond its own input
|
|
43
|
+
* @displayOptions.hide { /agentSource: ["inline"] }
|
|
44
|
+
* @default false
|
|
45
|
+
*/
|
|
46
|
+
allowOtherNodesData?: boolean | Expression<boolean>;
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
interface MessageAnAgentV1NodeBase {
|
|
51
|
+
type: 'n8n-nodes-base.messageAnAgent';
|
|
52
|
+
version: 1;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export type MessageAnAgentV1ParamsNode = MessageAnAgentV1NodeBase & {
|
|
56
|
+
config: NodeConfig<MessageAnAgentV1Params>;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export type MessageAnAgentV1Node = MessageAnAgentV1ParamsNode;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Message an Agent Node - Version 2 - Zod Validation Schemas
|
|
3
|
+
*
|
|
4
|
+
* These schemas validate node configuration at runtime.
|
|
5
|
+
* Use .parse() for strict validation or .safeParse() for error handling.
|
|
6
|
+
*
|
|
7
|
+
* Schema helpers (z, expressionSchema, etc.) are passed as parameters
|
|
8
|
+
* by the schema-validator, not imported from external files.
|
|
9
|
+
*
|
|
10
|
+
* @generated - CommonJS JavaScript for runtime loading
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema, resolveOneOfSchemas }) {
|
|
14
|
+
|
|
15
|
+
// Parameters schema
|
|
16
|
+
const parametersSchema = z.object({
|
|
17
|
+
agentSource: z.unknown().optional(),
|
|
18
|
+
agentId: resolveSchema({ parameters, schema: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]), required: false, displayOptions: {"show":{"agentSource":["referenced"]}}, defaults: {"agentSource":"referenced"} }),
|
|
19
|
+
inlineAgent: z.unknown().optional(),
|
|
20
|
+
message: stringOrExpression,
|
|
21
|
+
useStructuredOutput: booleanOrExpression.optional(),
|
|
22
|
+
outputSchema: resolveSchema({ parameters, schema: z.union([iDataObjectSchema, z.string()]), required: false, displayOptions: {"show":{"useStructuredOutput":[true]}}, defaults: {"useStructuredOutput":false} }),
|
|
23
|
+
advanced: z.object({ enableStreaming: booleanOrExpression.optional(), invokeMode: z.union([z.literal('allItems'), z.literal('perItem')]).optional(), sessionId: stringOrExpression.optional(), allowOtherNodesData: booleanOrExpression.optional() }).optional(),
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
// Return combined config schema
|
|
27
|
+
return z.object({
|
|
28
|
+
parameters: parametersSchema.nullable().optional(),
|
|
29
|
+
});
|
|
30
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Message an Agent Node - Version 2
|
|
3
|
+
* Send a message to a n8n agent
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
export interface MessageAnAgentV2Params {
|
|
8
|
+
agentSource?: unknown;
|
|
9
|
+
/**
|
|
10
|
+
* The agent to send the message to
|
|
11
|
+
* @displayOptions.show { agentSource: ["referenced"] }
|
|
12
|
+
* @default {"__rl":true,"mode":"list","value":""}
|
|
13
|
+
*/
|
|
14
|
+
agentId?: { __rl: true; mode: 'list' | 'id'; value: string | number; cachedResultName?: string; cachedResultUrl?: string } | Expression<string>;
|
|
15
|
+
inlineAgent?: unknown;
|
|
16
|
+
/**
|
|
17
|
+
* The message to send to the agent
|
|
18
|
+
*/
|
|
19
|
+
message: string | Expression<string>;
|
|
20
|
+
/**
|
|
21
|
+
* Whether to constrain the agent response to a JSON Schema you provide. The conforming object is returned on the "structuredOutput" field.
|
|
22
|
+
* @default false
|
|
23
|
+
*/
|
|
24
|
+
useStructuredOutput?: boolean | Expression<boolean>;
|
|
25
|
+
/**
|
|
26
|
+
* The JSON Schema that the agent response must conform to
|
|
27
|
+
* @hint Use <a target="_blank" href="https://json-schema.org/">JSON Schema</a> format
|
|
28
|
+
* @displayOptions.show { useStructuredOutput: [true] }
|
|
29
|
+
*/
|
|
30
|
+
outputSchema?: IDataObject | string | Expression<string>;
|
|
31
|
+
advanced?: {
|
|
32
|
+
/** Whether to stream the agent's response as it generates text
|
|
33
|
+
* @default true
|
|
34
|
+
*/
|
|
35
|
+
enableStreaming?: boolean | Expression<boolean>;
|
|
36
|
+
/** Whether to call the agent once per input item or a single time for all items
|
|
37
|
+
* @displayOptions.hide { /agentSource: ["inline"] }
|
|
38
|
+
* @default allItems
|
|
39
|
+
*/
|
|
40
|
+
invokeMode?: 'allItems' | 'perItem';
|
|
41
|
+
/** Reuse an agent session to keep memory across runs. Leave empty to start a fresh session per execution.
|
|
42
|
+
*/
|
|
43
|
+
sessionId?: string | Expression<string>;
|
|
44
|
+
/** Whether to give the agent a tool to read other workflow nodes' execution data, beyond its own input
|
|
45
|
+
* @displayOptions.hide { /agentSource: ["inline"] }
|
|
46
|
+
* @default false
|
|
47
|
+
*/
|
|
48
|
+
allowOtherNodesData?: boolean | Expression<boolean>;
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
interface MessageAnAgentV2NodeBase {
|
|
53
|
+
type: 'n8n-nodes-base.messageAnAgent';
|
|
54
|
+
version: 2;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export type MessageAnAgentV2ParamsNode = MessageAnAgentV2NodeBase & {
|
|
58
|
+
config: NodeConfig<MessageAnAgentV2Params>;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
export type MessageAnAgentV2Node = MessageAnAgentV2ParamsNode;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Message an Agent Node - Version 3 - Zod Validation Schemas
|
|
3
|
+
*
|
|
4
|
+
* These schemas validate node configuration at runtime.
|
|
5
|
+
* Use .parse() for strict validation or .safeParse() for error handling.
|
|
6
|
+
*
|
|
7
|
+
* Schema helpers (z, expressionSchema, etc.) are passed as parameters
|
|
8
|
+
* by the schema-validator, not imported from external files.
|
|
9
|
+
*
|
|
10
|
+
* @generated - CommonJS JavaScript for runtime loading
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema, resolveOneOfSchemas }) {
|
|
14
|
+
|
|
15
|
+
// Parameters schema
|
|
16
|
+
const parametersSchema = z.object({
|
|
17
|
+
agentSource: z.unknown().optional(),
|
|
18
|
+
agentId: resolveSchema({ parameters, schema: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]), required: false, displayOptions: {"show":{"agentSource":["referenced"]}}, defaults: {"agentSource":"referenced"} }),
|
|
19
|
+
inlineAgent: z.unknown().optional(),
|
|
20
|
+
message: stringOrExpression,
|
|
21
|
+
useStructuredOutput: booleanOrExpression.optional(),
|
|
22
|
+
schemaType: resolveSchema({ parameters, schema: z.union([z.literal('fromJson'), z.literal('manual')]), required: false, displayOptions: {"show":{"useStructuredOutput":[true]}}, defaults: {"useStructuredOutput":false} }),
|
|
23
|
+
jsonSchemaExample: resolveSchema({ parameters, schema: z.union([iDataObjectSchema, z.string()]), required: false, displayOptions: {"show":{"useStructuredOutput":[true],"schemaType":["fromJson"]}}, defaults: {"useStructuredOutput":false,"schemaType":"fromJson"} }),
|
|
24
|
+
outputSchema: resolveSchema({ parameters, schema: z.union([iDataObjectSchema, z.string()]), required: false, displayOptions: {"show":{"useStructuredOutput":[true],"schemaType":["manual"]}}, defaults: {"useStructuredOutput":false,"schemaType":"fromJson"} }),
|
|
25
|
+
advanced: z.object({ enableStreaming: booleanOrExpression.optional(), invokeMode: z.union([z.literal('allItems'), z.literal('perItem')]).optional(), sessionId: stringOrExpression.optional(), allowOtherNodesData: booleanOrExpression.optional() }).optional(),
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
// Return combined config schema
|
|
29
|
+
return z.object({
|
|
30
|
+
parameters: parametersSchema.nullable().optional(),
|
|
31
|
+
});
|
|
32
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Message an Agent Node - Version 3
|
|
3
|
+
* Send a message to a n8n agent
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
export interface MessageAnAgentV3Params {
|
|
8
|
+
agentSource?: unknown;
|
|
9
|
+
/**
|
|
10
|
+
* The agent to send the message to
|
|
11
|
+
* @displayOptions.show { agentSource: ["referenced"] }
|
|
12
|
+
* @default {"__rl":true,"mode":"list","value":""}
|
|
13
|
+
*/
|
|
14
|
+
agentId?: { __rl: true; mode: 'list' | 'id'; value: string | number; cachedResultName?: string; cachedResultUrl?: string } | Expression<string>;
|
|
15
|
+
inlineAgent?: unknown;
|
|
16
|
+
/**
|
|
17
|
+
* The message to send to the agent
|
|
18
|
+
*/
|
|
19
|
+
message: string | Expression<string>;
|
|
20
|
+
/**
|
|
21
|
+
* Whether to constrain the agent response to a JSON Schema you provide. The conforming object is returned on the "structuredOutput" field.
|
|
22
|
+
* @default false
|
|
23
|
+
*/
|
|
24
|
+
useStructuredOutput?: boolean | Expression<boolean>;
|
|
25
|
+
/**
|
|
26
|
+
* How to specify the structured output schema
|
|
27
|
+
* @displayOptions.show { useStructuredOutput: [true] }
|
|
28
|
+
* @default fromJson
|
|
29
|
+
*/
|
|
30
|
+
schemaType?: 'fromJson' | 'manual';
|
|
31
|
+
/**
|
|
32
|
+
* Example JSON object used to generate the output schema
|
|
33
|
+
* @displayOptions.show { useStructuredOutput: [true], schemaType: ["fromJson"] }
|
|
34
|
+
*/
|
|
35
|
+
jsonSchemaExample?: IDataObject | string | Expression<string>;
|
|
36
|
+
/**
|
|
37
|
+
* The JSON Schema that the agent response must conform to
|
|
38
|
+
* @hint Use <a target="_blank" href="https://json-schema.org/">JSON Schema</a> format
|
|
39
|
+
* @displayOptions.show { useStructuredOutput: [true], schemaType: ["manual"] }
|
|
40
|
+
*/
|
|
41
|
+
outputSchema?: IDataObject | string | Expression<string>;
|
|
42
|
+
advanced?: {
|
|
43
|
+
/** Whether to stream the agent's response as it generates text
|
|
44
|
+
* @default true
|
|
45
|
+
*/
|
|
46
|
+
enableStreaming?: boolean | Expression<boolean>;
|
|
47
|
+
/** Whether to call the agent once per input item or a single time for all items
|
|
48
|
+
* @displayOptions.hide { /agentSource: ["inline"] }
|
|
49
|
+
* @default allItems
|
|
50
|
+
*/
|
|
51
|
+
invokeMode?: 'allItems' | 'perItem';
|
|
52
|
+
/** Reuse an agent session to keep memory across runs. Leave empty to start a fresh session per execution.
|
|
53
|
+
*/
|
|
54
|
+
sessionId?: string | Expression<string>;
|
|
55
|
+
/** Whether to give the agent a tool to read other workflow nodes' execution data, beyond its own input
|
|
56
|
+
* @displayOptions.hide { /agentSource: ["inline"] }
|
|
57
|
+
* @default false
|
|
58
|
+
*/
|
|
59
|
+
allowOtherNodesData?: boolean | Expression<boolean>;
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
interface MessageAnAgentV3NodeBase {
|
|
64
|
+
type: 'n8n-nodes-base.messageAnAgent';
|
|
65
|
+
version: 3;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export type MessageAnAgentV3ParamsNode = MessageAnAgentV3NodeBase & {
|
|
69
|
+
config: NodeConfig<MessageAnAgentV3Params>;
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
export type MessageAnAgentV3Node = MessageAnAgentV3ParamsNode;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Message an Agent Node - Version 3.1 - Zod Validation Schemas
|
|
3
|
+
*
|
|
4
|
+
* These schemas validate node configuration at runtime.
|
|
5
|
+
* Use .parse() for strict validation or .safeParse() for error handling.
|
|
6
|
+
*
|
|
7
|
+
* Schema helpers (z, expressionSchema, etc.) are passed as parameters
|
|
8
|
+
* by the schema-validator, not imported from external files.
|
|
9
|
+
*
|
|
10
|
+
* @generated - CommonJS JavaScript for runtime loading
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema, resolveOneOfSchemas }) {
|
|
14
|
+
|
|
15
|
+
// Parameters schema
|
|
16
|
+
const parametersSchema = z.object({
|
|
17
|
+
agentSource: z.unknown().optional(),
|
|
18
|
+
agentId: resolveSchema({ parameters, schema: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]), required: false, displayOptions: {"show":{"agentSource":["referenced"]}}, defaults: {"agentSource":"referenced"} }),
|
|
19
|
+
inlineAgent: z.unknown().optional(),
|
|
20
|
+
message: stringOrExpression,
|
|
21
|
+
useStructuredOutput: booleanOrExpression.optional(),
|
|
22
|
+
schemaType: resolveSchema({ parameters, schema: z.union([z.literal('fromJson'), z.literal('manual')]), required: false, displayOptions: {"show":{"useStructuredOutput":[true]}}, defaults: {"useStructuredOutput":false} }),
|
|
23
|
+
jsonSchemaExample: resolveSchema({ parameters, schema: z.union([iDataObjectSchema, z.string()]), required: false, displayOptions: {"show":{"useStructuredOutput":[true],"schemaType":["fromJson"]}}, defaults: {"useStructuredOutput":false,"schemaType":"fromJson"} }),
|
|
24
|
+
outputSchema: resolveSchema({ parameters, schema: z.union([iDataObjectSchema, z.string()]), required: false, displayOptions: {"show":{"useStructuredOutput":[true],"schemaType":["manual"]}}, defaults: {"useStructuredOutput":false,"schemaType":"fromJson"} }),
|
|
25
|
+
advanced: z.object({ enableStreaming: booleanOrExpression.optional(), invokeMode: z.union([z.literal('allItems'), z.literal('perItem')]).optional(), session: z.object({ session: z.object({ sessionIdType: z.union([z.literal('fromInput'), z.literal('customKey'), expressionSchema]).optional(), sessionKey: stringOrExpression.optional() }).optional() }).optional(), allowOtherNodesData: booleanOrExpression.optional() }).optional(),
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
// Return combined config schema
|
|
29
|
+
return z.object({
|
|
30
|
+
parameters: parametersSchema.nullable().optional(),
|
|
31
|
+
});
|
|
32
|
+
};
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Message an Agent Node - Version 3.1
|
|
3
|
+
* Send a message to a n8n agent
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
export interface MessageAnAgentV31Params {
|
|
8
|
+
agentSource?: unknown;
|
|
9
|
+
/**
|
|
10
|
+
* The agent to send the message to
|
|
11
|
+
* @displayOptions.show { agentSource: ["referenced"] }
|
|
12
|
+
* @default {"__rl":true,"mode":"list","value":""}
|
|
13
|
+
*/
|
|
14
|
+
agentId?: { __rl: true; mode: 'list' | 'id'; value: string | number; cachedResultName?: string; cachedResultUrl?: string } | Expression<string>;
|
|
15
|
+
inlineAgent?: unknown;
|
|
16
|
+
/**
|
|
17
|
+
* The message to send to the agent
|
|
18
|
+
*/
|
|
19
|
+
message: string | Expression<string>;
|
|
20
|
+
/**
|
|
21
|
+
* Whether to constrain the agent response to a JSON Schema you provide. The conforming object is returned on the "structuredOutput" field.
|
|
22
|
+
* @default false
|
|
23
|
+
*/
|
|
24
|
+
useStructuredOutput?: boolean | Expression<boolean>;
|
|
25
|
+
/**
|
|
26
|
+
* How to specify the structured output schema
|
|
27
|
+
* @displayOptions.show { useStructuredOutput: [true] }
|
|
28
|
+
* @default fromJson
|
|
29
|
+
*/
|
|
30
|
+
schemaType?: 'fromJson' | 'manual';
|
|
31
|
+
/**
|
|
32
|
+
* Example JSON object used to generate the output schema
|
|
33
|
+
* @displayOptions.show { useStructuredOutput: [true], schemaType: ["fromJson"] }
|
|
34
|
+
*/
|
|
35
|
+
jsonSchemaExample?: IDataObject | string | Expression<string>;
|
|
36
|
+
/**
|
|
37
|
+
* The JSON Schema that the agent response must conform to
|
|
38
|
+
* @hint Use <a target="_blank" href="https://json-schema.org/">JSON Schema</a> format
|
|
39
|
+
* @displayOptions.show { useStructuredOutput: [true], schemaType: ["manual"] }
|
|
40
|
+
*/
|
|
41
|
+
outputSchema?: IDataObject | string | Expression<string>;
|
|
42
|
+
advanced?: {
|
|
43
|
+
/** Whether to stream the agent's response as it generates text
|
|
44
|
+
* @default true
|
|
45
|
+
*/
|
|
46
|
+
enableStreaming?: boolean | Expression<boolean>;
|
|
47
|
+
/** Whether to call the agent once per input item or a single time for all items
|
|
48
|
+
* @displayOptions.hide { /agentSource: ["inline"] }
|
|
49
|
+
* @default allItems
|
|
50
|
+
*/
|
|
51
|
+
invokeMode?: 'allItems' | 'perItem';
|
|
52
|
+
/** Session
|
|
53
|
+
* @default {"session":{}}
|
|
54
|
+
*/
|
|
55
|
+
session?: {
|
|
56
|
+
/** Session
|
|
57
|
+
*/
|
|
58
|
+
session?: {
|
|
59
|
+
/** Session ID
|
|
60
|
+
* @default fromInput
|
|
61
|
+
*/
|
|
62
|
+
sessionIdType?: 'fromInput' | 'customKey' | Expression<string>;
|
|
63
|
+
/** Session Key From Previous Node
|
|
64
|
+
* @displayOptions.show { sessionIdType: ["fromInput", "customKey"] }
|
|
65
|
+
* @default ={{ $json.sessionId }}
|
|
66
|
+
*/
|
|
67
|
+
sessionKey?: string | Expression<string>;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
/** Whether to give the agent a tool to read other workflow nodes' execution data, beyond its own input
|
|
71
|
+
* @displayOptions.hide { /agentSource: ["inline"] }
|
|
72
|
+
* @default false
|
|
73
|
+
*/
|
|
74
|
+
allowOtherNodesData?: boolean | Expression<boolean>;
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
interface MessageAnAgentV31NodeBase {
|
|
79
|
+
type: 'n8n-nodes-base.messageAnAgent';
|
|
80
|
+
version: 3.1;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export type MessageAnAgentV31ParamsNode = MessageAnAgentV31NodeBase & {
|
|
84
|
+
config: NodeConfig<MessageAnAgentV31Params>;
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
export type MessageAnAgentV31Node = MessageAnAgentV31ParamsNode;
|
|
@@ -67,6 +67,12 @@ export type MicrosoftOutlookV2DraftGetOutput = {
|
|
|
67
67
|
hasAttachments?: boolean;
|
|
68
68
|
id?: string;
|
|
69
69
|
subject?: string;
|
|
70
|
+
toRecipients?: Array<{
|
|
71
|
+
emailAddress?: {
|
|
72
|
+
address?: string;
|
|
73
|
+
name?: string;
|
|
74
|
+
};
|
|
75
|
+
}>;
|
|
70
76
|
};
|
|
71
77
|
|
|
72
78
|
export type MicrosoftOutlookV2DraftGetNode = {
|
|
@@ -33,12 +33,12 @@ export type MicrosoftOutlookV2EventCreateParams = {
|
|
|
33
33
|
subject: string | Expression<string>;
|
|
34
34
|
/**
|
|
35
35
|
* Start
|
|
36
|
-
* @default 2026-10-
|
|
36
|
+
* @default 2026-10-13T07:14:58.351+00:00
|
|
37
37
|
*/
|
|
38
38
|
startDateTime?: string | Expression<string>;
|
|
39
39
|
/**
|
|
40
40
|
* End
|
|
41
|
-
* @default 2026-10-
|
|
41
|
+
* @default 2026-10-13T07:44:58.351+00:00
|
|
42
42
|
*/
|
|
43
43
|
endDateTime?: string | Expression<string>;
|
|
44
44
|
/**
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Microsoft SharePoint Trigger Node Types
|
|
3
|
+
*
|
|
4
|
+
* Re-exports all version-specific types and provides combined union type.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import type { MicrosoftSharePointTriggerV1Node } from './v1';
|
|
8
|
+
|
|
9
|
+
export * from './v1';
|
|
10
|
+
|
|
11
|
+
// Combined union type for all versions
|
|
12
|
+
export type MicrosoftSharePointTriggerNode = MicrosoftSharePointTriggerV1Node;
|