n8n-nodes-base 2.46.5 → 2.47.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/N8nApi.credentials.d.ts.map +1 -1
- package/dist/credentials/N8nApi.credentials.js +11 -0
- package/dist/credentials/N8nApi.credentials.js.map +1 -1
- package/dist/credentials/OpenWeatherMapApi.credentials.d.ts.map +1 -1
- package/dist/credentials/OpenWeatherMapApi.credentials.js +8 -2
- package/dist/credentials/OpenWeatherMapApi.credentials.js.map +1 -1
- package/dist/credentials/PerplexityApi.credentials.d.ts.map +1 -1
- package/dist/credentials/PerplexityApi.credentials.js +2 -6
- package/dist/credentials/PerplexityApi.credentials.js.map +1 -1
- package/dist/credentials/Postgres.credentials.d.ts.map +1 -1
- package/dist/credentials/Postgres.credentials.js +42 -0
- package/dist/credentials/Postgres.credentials.js.map +1 -1
- package/dist/credentials/ZendeskApi.credentials.d.ts.map +1 -1
- package/dist/credentials/ZendeskApi.credentials.js +6 -0
- package/dist/credentials/ZendeskApi.credentials.js.map +1 -1
- package/dist/node-definitions/.nodes-hash +1 -1
- 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/microsoftOutlook/v2/resource_event/operation_create.ts +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-base/n8n/v1/index.schema.js +2 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/n8n/v1/index.ts +3 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/n8n/v1/resource_user/index.schema.js +18 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/n8n/v1/resource_user/index.ts +10 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/n8n/v1/resource_user/operation_get.schema.js +24 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/n8n/v1/resource_user/operation_get.ts +59 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/openWeatherMap/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/openWeatherMap/v11.schema.js +32 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/openWeatherMap/v11.ts +68 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v1/resource_organization/operation_count.ts +5 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v1/resource_organization/operation_create.ts +5 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v1/resource_organization/operation_delete.ts +5 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v1/resource_organization/operation_get.ts +5 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v1/resource_organization/operation_get_all.ts +5 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v1/resource_organization/operation_get_related_data.ts +5 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v1/resource_organization/operation_update.ts +5 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v1/resource_ticket/operation_create.ts +5 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v1/resource_ticket/operation_delete.ts +5 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v1/resource_ticket/operation_get.ts +5 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v1/resource_ticket/operation_get_all.ts +5 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v1/resource_ticket/operation_recover.ts +5 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v1/resource_ticket/operation_update.ts +5 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v1/resource_ticket_field/operation_get.ts +5 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v1/resource_ticket_field/operation_get_all.ts +5 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v1/resource_user/operation_create.ts +5 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v1/resource_user/operation_delete.ts +5 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v1/resource_user/operation_get.ts +5 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v1/resource_user/operation_get_all.ts +5 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v1/resource_user/operation_get_organizations.ts +5 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v1/resource_user/operation_get_related_data.ts +5 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v1/resource_user/operation_search.ts +5 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v1/resource_user/operation_update.ts +5 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/index.schema.js +26 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/index.ts +21 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_organization/index.schema.js +32 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_organization/index.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_organization/operation_count.schema.js +22 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_organization/operation_count.ts +27 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_organization/operation_create.schema.js +24 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_organization/operation_create.ts +67 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_organization/operation_delete.schema.js +23 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_organization/operation_delete.ts +31 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_organization/operation_get.schema.js +23 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_organization/operation_get.ts +31 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_organization/operation_get_all.schema.js +24 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_organization/operation_get_all.ts +51 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_organization/operation_get_related_data.schema.js +23 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_organization/operation_get_related_data.ts +31 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_organization/operation_update.schema.js +24 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_organization/operation_update.ts +70 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_ticket/index.schema.js +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_ticket/index.ts +27 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_ticket/operation_create.schema.js +26 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_ticket/operation_create.ts +131 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_ticket/operation_delete.schema.js +24 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_ticket/operation_delete.ts +38 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_ticket/operation_get.schema.js +24 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_ticket/operation_get.ts +80 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_ticket/operation_get_all.schema.js +26 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_ticket/operation_get_all.ts +111 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_ticket/operation_recover.schema.js +23 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_ticket/operation_recover.ts +31 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_ticket/operation_update.schema.js +26 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_ticket/operation_update.ts +138 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_ticket_field/index.schema.js +22 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_ticket_field/index.ts +15 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_ticket_field/operation_get.schema.js +23 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_ticket_field/operation_get.ts +31 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_ticket_field/operation_get_all.schema.js +24 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_ticket_field/operation_get_all.ts +71 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_user/index.schema.js +34 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_user/index.ts +33 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_user/operation_create.schema.js +24 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_user/operation_create.ts +160 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_user/operation_delete.schema.js +23 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_user/operation_delete.ts +31 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_user/operation_get.schema.js +23 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_user/operation_get.ts +55 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_user/operation_get_all.schema.js +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_user/operation_get_all.ts +73 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_user/operation_get_organizations.schema.js +23 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_user/operation_get_organizations.ts +31 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_user/operation_get_related_data.schema.js +23 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_user/operation_get_related_data.ts +40 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_user/operation_search.schema.js +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_user/operation_search.ts +75 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_user/operation_update.schema.js +24 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v11/resource_user/operation_update.ts +127 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendeskTrigger/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/zendeskTrigger/v1.ts +5 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/zendeskTrigger/v11.schema.js +27 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/zendeskTrigger/v11.ts +152 -0
- 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/Google/Calendar/GoogleCalendar.node.js +1 -1
- package/dist/nodes/Google/Calendar/GoogleCalendar.node.js.map +1 -1
- package/dist/nodes/Google/Drive/GoogleDriveTrigger.node.d.ts.map +1 -1
- package/dist/nodes/Google/Drive/GoogleDriveTrigger.node.js +39 -11
- package/dist/nodes/Google/Drive/GoogleDriveTrigger.node.js.map +1 -1
- package/dist/nodes/Google/Gmail/Gmail.node.d.ts.map +1 -1
- package/dist/nodes/Google/Gmail/Gmail.node.js +1 -0
- package/dist/nodes/Google/Gmail/Gmail.node.js.map +1 -1
- package/dist/nodes/Google/Gmail/GmailTrigger.node.js +1 -1
- package/dist/nodes/Google/Gmail/GmailTrigger.node.js.map +1 -1
- package/dist/nodes/Jenkins/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/Jenkins/GenericFunctions.js +99 -9
- package/dist/nodes/Jenkins/GenericFunctions.js.map +1 -1
- package/dist/nodes/Linear/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/Linear/GenericFunctions.js +3 -2
- package/dist/nodes/Linear/GenericFunctions.js.map +1 -1
- package/dist/nodes/Mailchimp/MailchimpTrigger.node.d.ts.map +1 -1
- package/dist/nodes/Mailchimp/MailchimpTrigger.node.js +15 -0
- package/dist/nodes/Mailchimp/MailchimpTrigger.node.js.map +1 -1
- package/dist/nodes/Mailchimp/MailchimpTriggerHelpers.d.ts +9 -0
- package/dist/nodes/Mailchimp/MailchimpTriggerHelpers.d.ts.map +1 -0
- package/dist/nodes/Mailchimp/MailchimpTriggerHelpers.js +54 -0
- package/dist/nodes/Mailchimp/MailchimpTriggerHelpers.js.map +1 -0
- package/dist/nodes/Microsoft/Outlook/MicrosoftOutlookTrigger.node.js +3 -3
- package/dist/nodes/Microsoft/Outlook/MicrosoftOutlookTrigger.node.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/MicrosoftTeamsTrigger.node.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/MicrosoftTeamsTrigger.node.js +106 -112
- package/dist/nodes/Microsoft/Teams/MicrosoftTeamsTrigger.node.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/helpers/utils-trigger.d.ts +74 -6
- package/dist/nodes/Microsoft/Teams/v2/helpers/utils-trigger.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/helpers/utils-trigger.js +367 -109
- package/dist/nodes/Microsoft/Teams/v2/helpers/utils-trigger.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/transport/forbiddenHints.d.ts +10 -0
- package/dist/nodes/Microsoft/Teams/v2/transport/forbiddenHints.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/transport/forbiddenHints.js +24 -4
- package/dist/nodes/Microsoft/Teams/v2/transport/forbiddenHints.js.map +1 -1
- package/dist/nodes/N8n/N8n.node.d.ts.map +1 -1
- package/dist/nodes/N8n/N8n.node.js +7 -0
- package/dist/nodes/N8n/N8n.node.js.map +1 -1
- package/dist/nodes/N8n/UserDescription.d.ts +4 -0
- package/dist/nodes/N8n/UserDescription.d.ts.map +1 -0
- package/dist/nodes/N8n/UserDescription.js +86 -0
- package/dist/nodes/N8n/UserDescription.js.map +1 -0
- package/dist/nodes/Notion/shared/GenericFunctions.d.ts +3 -3
- package/dist/nodes/Notion/shared/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/OpenWeatherMap/OpenWeatherMap.node.d.ts.map +1 -1
- package/dist/nodes/OpenWeatherMap/OpenWeatherMap.node.js +12 -9
- package/dist/nodes/OpenWeatherMap/OpenWeatherMap.node.js.map +1 -1
- package/dist/nodes/Postgres/transport/index.d.ts.map +1 -1
- package/dist/nodes/Postgres/transport/index.js +23 -0
- package/dist/nodes/Postgres/transport/index.js.map +1 -1
- package/dist/nodes/Postgres/v2/helpers/interfaces.d.ts +3 -0
- package/dist/nodes/Postgres/v2/helpers/interfaces.d.ts.map +1 -1
- package/dist/nodes/Postgres/v2/methods/credentialTest.d.ts.map +1 -1
- package/dist/nodes/Postgres/v2/methods/credentialTest.js +10 -0
- package/dist/nodes/Postgres/v2/methods/credentialTest.js.map +1 -1
- package/dist/nodes/Snowflake/GenericFunctions.d.ts +3 -3
- package/dist/nodes/Snowflake/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/Snowflake/GenericFunctions.js +12 -6
- package/dist/nodes/Snowflake/GenericFunctions.js.map +1 -1
- package/dist/nodes/Snowflake/Snowflake.node.d.ts.map +1 -1
- package/dist/nodes/Snowflake/Snowflake.node.js +4 -6
- package/dist/nodes/Snowflake/Snowflake.node.js.map +1 -1
- package/dist/nodes/Splunk/v1/GenericFunctions.d.ts +2 -2
- package/dist/nodes/Splunk/v1/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/Splunk/v1/GenericFunctions.js +10 -3
- package/dist/nodes/Splunk/v1/GenericFunctions.js.map +1 -1
- package/dist/nodes/Splunk/v1/SplunkV1.node.js +4 -4
- package/dist/nodes/Splunk/v1/SplunkV1.node.js.map +1 -1
- package/dist/nodes/Splunk/v2/actions/report/getAll.operation.js +1 -1
- package/dist/nodes/Splunk/v2/actions/report/getAll.operation.js.map +1 -1
- package/dist/nodes/Splunk/v2/actions/search/getAll.operation.js +1 -1
- package/dist/nodes/Splunk/v2/actions/search/getAll.operation.js.map +1 -1
- package/dist/nodes/Splunk/v2/actions/search/getResult.operation.js +1 -1
- package/dist/nodes/Splunk/v2/actions/search/getResult.operation.js.map +1 -1
- package/dist/nodes/Splunk/v2/actions/user/getAll.operation.d.ts +1 -1
- package/dist/nodes/Splunk/v2/actions/user/getAll.operation.d.ts.map +1 -1
- package/dist/nodes/Splunk/v2/actions/user/getAll.operation.js +2 -2
- package/dist/nodes/Splunk/v2/actions/user/getAll.operation.js.map +1 -1
- package/dist/nodes/Splunk/v2/helpers/utils.d.ts +2 -2
- package/dist/nodes/Splunk/v2/helpers/utils.d.ts.map +1 -1
- package/dist/nodes/Splunk/v2/helpers/utils.js +10 -3
- package/dist/nodes/Splunk/v2/helpers/utils.js.map +1 -1
- package/dist/nodes/Venafi/ProtectCloud/VenafiTlsProtectCloudTrigger.node.d.ts.map +1 -1
- package/dist/nodes/Venafi/ProtectCloud/VenafiTlsProtectCloudTrigger.node.js +19 -5
- package/dist/nodes/Venafi/ProtectCloud/VenafiTlsProtectCloudTrigger.node.js.map +1 -1
- package/dist/nodes/Venafi/ProtectCloud/VenafiTlsProtectCloudTriggerHelpers.d.ts +9 -0
- package/dist/nodes/Venafi/ProtectCloud/VenafiTlsProtectCloudTriggerHelpers.d.ts.map +1 -0
- package/dist/nodes/Venafi/ProtectCloud/VenafiTlsProtectCloudTriggerHelpers.js +31 -0
- package/dist/nodes/Venafi/ProtectCloud/VenafiTlsProtectCloudTriggerHelpers.js.map +1 -0
- package/dist/nodes/Wait/Wait.node.d.ts +1 -1
- package/dist/nodes/Zendesk/Zendesk.node.d.ts.map +1 -1
- package/dist/nodes/Zendesk/Zendesk.node.js +38 -1
- package/dist/nodes/Zendesk/Zendesk.node.js.map +1 -1
- package/dist/nodes/Zendesk/ZendeskTrigger.node.d.ts.map +1 -1
- package/dist/nodes/Zendesk/ZendeskTrigger.node.js +38 -1
- package/dist/nodes/Zendesk/ZendeskTrigger.node.js.map +1 -1
- package/dist/types/credentials.json +5 -5
- package/dist/types/nodes.json +10 -10
- package/package.json +20 -15
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"N8nApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/N8nApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,oBAAoB,EACpB,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,MAAM,cAAc,CAAC;AAEtB,qBAAa,MAAO,YAAW,eAAe;IAC7C,IAAI,SAAY;IAEhB,WAAW,SAAa;IAExB,gBAAgB,SAA6C;IAE7D,UAAU,EAAE,eAAe,EAAE,CAiB3B;IAEF,YAAY,EAAE,oBAAoB,CAOhC;IAEF,IAAI,EAAE,sBAAsB,
|
|
1
|
+
{"version":3,"file":"N8nApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/N8nApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,oBAAoB,EACpB,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,MAAM,cAAc,CAAC;AAEtB,qBAAa,MAAO,YAAW,eAAe;IAC7C,IAAI,SAAY;IAEhB,WAAW,SAAa;IAExB,gBAAgB,SAA6C;IAE7D,UAAU,EAAE,eAAe,EAAE,CAiB3B;IAEF,YAAY,EAAE,oBAAoB,CAOhC;IAEF,IAAI,EAAE,sBAAsB,CAiB1B;CACF"}
|
|
@@ -36,6 +36,17 @@ class N8nApi {
|
|
|
36
36
|
baseURL: '={{ $credentials.baseUrl }}',
|
|
37
37
|
url: '/credentials/schema/n8nApi',
|
|
38
38
|
},
|
|
39
|
+
rules: [
|
|
40
|
+
// A Base URL without `/api/v1` reaches the editor UI, which answers with HTML and a 200
|
|
41
|
+
{
|
|
42
|
+
type: 'responseSuccessBody',
|
|
43
|
+
properties: {
|
|
44
|
+
key: 'type',
|
|
45
|
+
value: undefined,
|
|
46
|
+
message: 'The Base URL does not point to the n8n API. Make sure it includes the API path, for example /api/v1.',
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
],
|
|
39
50
|
};
|
|
40
51
|
}
|
|
41
52
|
exports.N8nApi = N8nApi;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"N8nApi.credentials.js","sourceRoot":"","sources":["../../credentials/N8nApi.credentials.ts"],"names":[],"mappings":";;;AAOA;IACC,IAAI,GAAG,QAAQ,CAAC;IAEhB,WAAW,GAAG,SAAS,CAAC;IAExB,gBAAgB,GAAG,yCAAyC,CAAC;IAE7D,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,SAAS;YACtB,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC/B,OAAO,EAAE,EAAE;YACX,WAAW,EAAE,kCAAkC;SAC/C;QACD;YACC,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,WAAW,EAAE,qCAAqC;YAClD,WAAW,EAAE,iCAAiC;SAC9C;KACD,CAAC;IAEF,YAAY,GAAyB;QACpC,IAAI,EAAE,SAAS;QACf,UAAU,EAAE;YACX,OAAO,EAAE;gBACR,eAAe,EAAE,4BAA4B;aAC7C;SACD;KACD,CAAC;IAEF,IAAI,GAA2B;QAC9B,OAAO,EAAE;YACR,OAAO,EAAE,6BAA6B;YACtC,GAAG,EAAE,4BAA4B;SACjC;KACD,CAAC;CACF"}
|
|
1
|
+
{"version":3,"file":"N8nApi.credentials.js","sourceRoot":"","sources":["../../credentials/N8nApi.credentials.ts"],"names":[],"mappings":";;;AAOA;IACC,IAAI,GAAG,QAAQ,CAAC;IAEhB,WAAW,GAAG,SAAS,CAAC;IAExB,gBAAgB,GAAG,yCAAyC,CAAC;IAE7D,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,SAAS;YACtB,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC/B,OAAO,EAAE,EAAE;YACX,WAAW,EAAE,kCAAkC;SAC/C;QACD;YACC,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,WAAW,EAAE,qCAAqC;YAClD,WAAW,EAAE,iCAAiC;SAC9C;KACD,CAAC;IAEF,YAAY,GAAyB;QACpC,IAAI,EAAE,SAAS;QACf,UAAU,EAAE;YACX,OAAO,EAAE;gBACR,eAAe,EAAE,4BAA4B;aAC7C;SACD;KACD,CAAC;IAEF,IAAI,GAA2B;QAC9B,OAAO,EAAE;YACR,OAAO,EAAE,6BAA6B;YACtC,GAAG,EAAE,4BAA4B;SACjC;QACD,KAAK,EAAE;YACN,wFAAwF;YACxF;gBACC,IAAI,EAAE,qBAAqB;gBAC3B,UAAU,EAAE;oBACX,GAAG,EAAE,MAAM;oBACX,KAAK,EAAE,SAAS;oBAChB,OAAO,EACN,sGAAsG;iBACvG;aACD;SACD;KACD,CAAC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OpenWeatherMapApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/OpenWeatherMapApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,aAAa,EACb,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,MAAM,cAAc,CAAC;AAEtB,qBAAa,iBAAkB,YAAW,eAAe;IACxD,IAAI,SAAuB;IAE3B,WAAW,SAAwB;IAEnC,gBAAgB,SAAoB;IAEpC,UAAU,EAAE,eAAe,EAAE,
|
|
1
|
+
{"version":3,"file":"OpenWeatherMapApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/OpenWeatherMapApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,aAAa,EACb,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,MAAM,cAAc,CAAC;AAEtB,qBAAa,iBAAkB,YAAW,eAAe;IACxD,IAAI,SAAuB;IAE3B,WAAW,SAAwB;IAEnC,gBAAgB,SAAoB;IAEpC,UAAU,EAAE,eAAe,EAAE,CAc3B;IAEF,YAAY,EAAE,aAAa,CAOzB;IAEF,IAAI,EAAE,sBAAsB,CAQ1B;CACF"}
|
|
@@ -13,6 +13,12 @@ class OpenWeatherMapApi {
|
|
|
13
13
|
typeOptions: { password: true },
|
|
14
14
|
default: '',
|
|
15
15
|
},
|
|
16
|
+
{
|
|
17
|
+
displayName: 'Base URL',
|
|
18
|
+
name: 'url',
|
|
19
|
+
type: 'hidden',
|
|
20
|
+
default: 'https://api.openweathermap.org',
|
|
21
|
+
},
|
|
16
22
|
];
|
|
17
23
|
authenticate = {
|
|
18
24
|
type: 'generic',
|
|
@@ -24,8 +30,8 @@ class OpenWeatherMapApi {
|
|
|
24
30
|
};
|
|
25
31
|
test = {
|
|
26
32
|
request: {
|
|
27
|
-
baseURL: '
|
|
28
|
-
url: '/weather',
|
|
33
|
+
baseURL: '={{$credentials.url}}',
|
|
34
|
+
url: '/data/2.5/weather',
|
|
29
35
|
qs: {
|
|
30
36
|
q: 'London',
|
|
31
37
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OpenWeatherMapApi.credentials.js","sourceRoot":"","sources":["../../credentials/OpenWeatherMapApi.credentials.ts"],"names":[],"mappings":";;;AAOA;IACC,IAAI,GAAG,mBAAmB,CAAC;IAE3B,WAAW,GAAG,oBAAoB,CAAC;IAEnC,gBAAgB,GAAG,gBAAgB,CAAC;IAEpC,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,cAAc;YAC3B,IAAI,EAAE,aAAa;YACnB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC/B,OAAO,EAAE,EAAE;SACX;KACD,CAAC;IAEF,YAAY,GAAkB;QAC7B,IAAI,EAAE,SAAS;QACf,UAAU,EAAE;YACX,EAAE,EAAE;gBACH,KAAK,EAAE,+BAA+B;aACtC;SACD;KACD,CAAC;IAEF,IAAI,GAA2B;QAC9B,OAAO,EAAE;YACR,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"OpenWeatherMapApi.credentials.js","sourceRoot":"","sources":["../../credentials/OpenWeatherMapApi.credentials.ts"],"names":[],"mappings":";;;AAOA;IACC,IAAI,GAAG,mBAAmB,CAAC;IAE3B,WAAW,GAAG,oBAAoB,CAAC;IAEnC,gBAAgB,GAAG,gBAAgB,CAAC;IAEpC,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,cAAc;YAC3B,IAAI,EAAE,aAAa;YACnB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC/B,OAAO,EAAE,EAAE;SACX;QACD;YACC,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,gCAAgC;SACzC;KACD,CAAC;IAEF,YAAY,GAAkB;QAC7B,IAAI,EAAE,SAAS;QACf,UAAU,EAAE;YACX,EAAE,EAAE;gBACH,KAAK,EAAE,+BAA+B;aACtC;SACD;KACD,CAAC;IAEF,IAAI,GAA2B;QAC9B,OAAO,EAAE;YACR,OAAO,EAAE,uBAAuB;YAChC,GAAG,EAAE,mBAAmB;YACxB,EAAE,EAAE;gBACH,CAAC,EAAE,QAAQ;aACX;SACD;KACD,CAAC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PerplexityApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/PerplexityApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,oBAAoB,EACpB,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,MAAM,cAAc,CAAC;AAEtB,qBAAa,aAAc,YAAW,eAAe;IACpD,IAAI,SAAmB;IAEvB,WAAW,SAAoB;IAE/B,gBAAgB,SAAgB;IAEhC,UAAU,EAAE,eAAe,EAAE,CAU3B;IAEF,YAAY,EAAE,oBAAoB,CAQhC;IAEF,IAAI,EAAE,sBAAsB,
|
|
1
|
+
{"version":3,"file":"PerplexityApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/PerplexityApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,oBAAoB,EACpB,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,MAAM,cAAc,CAAC;AAEtB,qBAAa,aAAc,YAAW,eAAe;IACpD,IAAI,SAAmB;IAEvB,WAAW,SAAoB;IAE/B,gBAAgB,SAAgB;IAEhC,UAAU,EAAE,eAAe,EAAE,CAU3B;IAEF,YAAY,EAAE,oBAAoB,CAQhC;IAEF,IAAI,EAAE,sBAAsB,CAW1B;CACF"}
|
|
@@ -28,12 +28,8 @@ class PerplexityApi {
|
|
|
28
28
|
test = {
|
|
29
29
|
request: {
|
|
30
30
|
baseURL: 'https://api.perplexity.ai',
|
|
31
|
-
url: '/
|
|
32
|
-
method: '
|
|
33
|
-
body: {
|
|
34
|
-
model: 'sonar',
|
|
35
|
-
messages: [{ role: 'user', content: 'test' }],
|
|
36
|
-
},
|
|
31
|
+
url: '/v1/models',
|
|
32
|
+
method: 'GET',
|
|
37
33
|
headers: {
|
|
38
34
|
Authorization: '=Bearer {{$credentials.apiKey}}',
|
|
39
35
|
'Content-Type': 'application/json',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PerplexityApi.credentials.js","sourceRoot":"","sources":["../../credentials/PerplexityApi.credentials.ts"],"names":[],"mappings":";;;AAOA;IACC,IAAI,GAAG,eAAe,CAAC;IAEvB,WAAW,GAAG,gBAAgB,CAAC;IAE/B,gBAAgB,GAAG,YAAY,CAAC;IAEhC,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,SAAS;YACtB,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC/B,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,EAAE;YACX,WAAW,EAAE,+DAA+D;SAC5E;KACD,CAAC;IAEF,YAAY,GAAyB;QACpC,IAAI,EAAE,SAAS;QACf,UAAU,EAAE;YACX,OAAO,EAAE;gBACR,aAAa,EAAE,iCAAiC;gBAChD,UAAU,EAAE,KAAK;aACjB;SACD;KACD,CAAC;IAEF,IAAI,GAA2B;QAC9B,OAAO,EAAE;YACR,OAAO,EAAE,2BAA2B;YACpC,GAAG,EAAE,
|
|
1
|
+
{"version":3,"file":"PerplexityApi.credentials.js","sourceRoot":"","sources":["../../credentials/PerplexityApi.credentials.ts"],"names":[],"mappings":";;;AAOA;IACC,IAAI,GAAG,eAAe,CAAC;IAEvB,WAAW,GAAG,gBAAgB,CAAC;IAE/B,gBAAgB,GAAG,YAAY,CAAC;IAEhC,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,SAAS;YACtB,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC/B,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,EAAE;YACX,WAAW,EAAE,+DAA+D;SAC5E;KACD,CAAC;IAEF,YAAY,GAAyB;QACpC,IAAI,EAAE,SAAS;QACf,UAAU,EAAE;YACX,OAAO,EAAE;gBACR,aAAa,EAAE,iCAAiC;gBAChD,UAAU,EAAE,KAAK;aACjB;SACD;KACD,CAAC;IAEF,IAAI,GAA2B;QAC9B,OAAO,EAAE;YACR,OAAO,EAAE,2BAA2B;YACpC,GAAG,EAAE,YAAY;YACjB,MAAM,EAAE,KAAK;YACb,OAAO,EAAE;gBACR,aAAa,EAAE,iCAAiC;gBAChD,cAAc,EAAE,kBAAkB;aAClC;YACD,IAAI,EAAE,IAAI;SACV;KACD,CAAC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Postgres.credentials.d.ts","sourceRoot":"","sources":["../../credentials/Postgres.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAIrE,qBAAa,QAAS,YAAW,eAAe;IAC/C,IAAI,SAAc;IAElB,WAAW,SAAc;IAEzB,gBAAgB,SAAc;IAE9B,UAAU,EAAE,eAAe,EAAE,
|
|
1
|
+
{"version":3,"file":"Postgres.credentials.d.ts","sourceRoot":"","sources":["../../credentials/Postgres.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAIrE,qBAAa,QAAS,YAAW,eAAe;IAC/C,IAAI,SAAc;IAElB,WAAW,SAAc;IAEzB,gBAAgB,SAAc;IAE9B,UAAU,EAAE,eAAe,EAAE,CAqH3B;CACF"}
|
|
@@ -73,6 +73,48 @@ class Postgres {
|
|
|
73
73
|
],
|
|
74
74
|
default: 'disable',
|
|
75
75
|
},
|
|
76
|
+
{
|
|
77
|
+
displayName: 'CA Certificate',
|
|
78
|
+
name: 'caCertificate',
|
|
79
|
+
typeOptions: {
|
|
80
|
+
password: true,
|
|
81
|
+
},
|
|
82
|
+
displayOptions: {
|
|
83
|
+
show: {
|
|
84
|
+
ssl: ['allow', 'require'],
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
type: 'string',
|
|
88
|
+
default: '',
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
displayName: 'Client Private Key',
|
|
92
|
+
name: 'clientPrivateKey',
|
|
93
|
+
typeOptions: {
|
|
94
|
+
password: true,
|
|
95
|
+
},
|
|
96
|
+
displayOptions: {
|
|
97
|
+
show: {
|
|
98
|
+
ssl: ['allow', 'require'],
|
|
99
|
+
},
|
|
100
|
+
},
|
|
101
|
+
type: 'string',
|
|
102
|
+
default: '',
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
displayName: 'Client Certificate',
|
|
106
|
+
name: 'clientCertificate',
|
|
107
|
+
typeOptions: {
|
|
108
|
+
password: true,
|
|
109
|
+
},
|
|
110
|
+
displayOptions: {
|
|
111
|
+
show: {
|
|
112
|
+
ssl: ['allow', 'require'],
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
type: 'string',
|
|
116
|
+
default: '',
|
|
117
|
+
},
|
|
76
118
|
{
|
|
77
119
|
displayName: 'Port',
|
|
78
120
|
name: 'port',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Postgres.credentials.js","sourceRoot":"","sources":["../../credentials/Postgres.credentials.ts"],"names":[],"mappings":";;;AAEA,sEAAkE;AAElE;IACC,IAAI,GAAG,UAAU,CAAC;IAElB,WAAW,GAAG,UAAU,CAAC;IAEzB,gBAAgB,GAAG,UAAU,CAAC;IAE9B,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,MAAM;YACnB,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,WAAW;SACpB;QACD;YACC,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,UAAU;SACnB;QACD;YACC,WAAW,EAAE,MAAM;YACnB,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,UAAU;SACnB;QACD;YACC,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE;gBACZ,QAAQ,EAAE,IAAI;aACd;YACD,OAAO,EAAE,EAAE;SACX;QACD;YACC,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,gBAAgB;YACtB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,GAAG;YACZ,WAAW,EACV,0IAA0I;SAC3I;QACD;YACC,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,wBAAwB;YAC9B,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,KAAK;YACd,WAAW,EAAE,uEAAuE;SACpF;QACD;YACC,WAAW,EAAE,KAAK;YAClB,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,SAAS;YACf,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,sBAAsB,EAAE,CAAC,KAAK,CAAC;iBAC/B;aACD;YACD,OAAO,EAAE;gBACR;oBACC,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE,OAAO;iBACd;gBACD;oBACC,IAAI,EAAE,SAAS;oBACf,KAAK,EAAE,SAAS;iBAChB;gBACD;oBACC,IAAI,EAAE,SAAS;oBACf,KAAK,EAAE,SAAS;iBAChB;aACD;YACD,OAAO,EAAE,SAAS;SAClB;QACD;YACC,WAAW,EAAE,MAAM;YACnB,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,IAAI;SACb;QACD,GAAG,0CAAmB;KACtB,CAAC;CACF"}
|
|
1
|
+
{"version":3,"file":"Postgres.credentials.js","sourceRoot":"","sources":["../../credentials/Postgres.credentials.ts"],"names":[],"mappings":";;;AAEA,sEAAkE;AAElE;IACC,IAAI,GAAG,UAAU,CAAC;IAElB,WAAW,GAAG,UAAU,CAAC;IAEzB,gBAAgB,GAAG,UAAU,CAAC;IAE9B,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,MAAM;YACnB,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,WAAW;SACpB;QACD;YACC,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,UAAU;SACnB;QACD;YACC,WAAW,EAAE,MAAM;YACnB,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,UAAU;SACnB;QACD;YACC,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE;gBACZ,QAAQ,EAAE,IAAI;aACd;YACD,OAAO,EAAE,EAAE;SACX;QACD;YACC,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,gBAAgB;YACtB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,GAAG;YACZ,WAAW,EACV,0IAA0I;SAC3I;QACD;YACC,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,wBAAwB;YAC9B,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,KAAK;YACd,WAAW,EAAE,uEAAuE;SACpF;QACD;YACC,WAAW,EAAE,KAAK;YAClB,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,SAAS;YACf,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,sBAAsB,EAAE,CAAC,KAAK,CAAC;iBAC/B;aACD;YACD,OAAO,EAAE;gBACR;oBACC,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE,OAAO;iBACd;gBACD;oBACC,IAAI,EAAE,SAAS;oBACf,KAAK,EAAE,SAAS;iBAChB;gBACD;oBACC,IAAI,EAAE,SAAS;oBACf,KAAK,EAAE,SAAS;iBAChB;aACD;YACD,OAAO,EAAE,SAAS;SAClB;QACD;YACC,WAAW,EAAE,gBAAgB;YAC7B,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE;gBACZ,QAAQ,EAAE,IAAI;aACd;YACD,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,GAAG,EAAE,CAAC,OAAO,EAAE,SAAS,CAAC;iBACzB;aACD;YACD,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;SACX;QACD;YACC,WAAW,EAAE,oBAAoB;YACjC,IAAI,EAAE,kBAAkB;YACxB,WAAW,EAAE;gBACZ,QAAQ,EAAE,IAAI;aACd;YACD,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,GAAG,EAAE,CAAC,OAAO,EAAE,SAAS,CAAC;iBACzB;aACD;YACD,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;SACX;QACD;YACC,WAAW,EAAE,oBAAoB;YACjC,IAAI,EAAE,mBAAmB;YACzB,WAAW,EAAE;gBACZ,QAAQ,EAAE,IAAI;aACd;YACD,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,GAAG,EAAE,CAAC,OAAO,EAAE,SAAS,CAAC;iBACzB;aACD;YACD,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;SACX;QACD;YACC,WAAW,EAAE,MAAM;YACnB,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,IAAI;SACb;QACD,GAAG,0CAAmB;KACtB,CAAC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZendeskApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/ZendeskApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,8BAA8B,EAC9B,sBAAsB,EACtB,eAAe,EACf,mBAAmB,EACnB,eAAe,EACf,MAAM,cAAc,CAAC;AAEtB,qBAAa,UAAW,YAAW,eAAe;IACjD,IAAI,SAAgB;IAEpB,WAAW,SAAiB;IAE5B,gBAAgB,SAAa;IAE7B,UAAU,EAAE,eAAe,EAAE,
|
|
1
|
+
{"version":3,"file":"ZendeskApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/ZendeskApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,8BAA8B,EAC9B,sBAAsB,EACtB,eAAe,EACf,mBAAmB,EACnB,eAAe,EACf,MAAM,cAAc,CAAC;AAEtB,qBAAa,UAAW,YAAW,eAAe;IACjD,IAAI,SAAgB;IAEpB,WAAW,SAAiB;IAE5B,gBAAgB,SAAa;IAE7B,UAAU,EAAE,eAAe,EAAE,CAgC3B;IAEI,YAAY,CACjB,WAAW,EAAE,8BAA8B,EAC3C,cAAc,EAAE,mBAAmB,GACjC,OAAO,CAAC,mBAAmB,CAAC,CAM9B;IAED,IAAI,EAAE,sBAAsB,CAK1B;CACF"}
|
|
@@ -6,6 +6,12 @@ class ZendeskApi {
|
|
|
6
6
|
displayName = 'Zendesk API';
|
|
7
7
|
documentationUrl = 'zendesk';
|
|
8
8
|
properties = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Zendesk is retiring API token authentication. Use OAuth2 for new connections and migrate existing workflows to OAuth2. <a href="https://developer.zendesk.com/documentation/authentication/oauth-migration/#migration-timeline" target="_blank">Learn more about OAuth migration (Zendesk)</a>',
|
|
11
|
+
name: 'apiTokenRetirementNotice',
|
|
12
|
+
type: 'notice',
|
|
13
|
+
default: '',
|
|
14
|
+
},
|
|
9
15
|
{
|
|
10
16
|
displayName: 'Subdomain',
|
|
11
17
|
name: 'subdomain',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZendeskApi.credentials.js","sourceRoot":"","sources":["../../credentials/ZendeskApi.credentials.ts"],"names":[],"mappings":";;;AAQA;IACC,IAAI,GAAG,YAAY,CAAC;IAEpB,WAAW,GAAG,aAAa,CAAC;IAE5B,gBAAgB,GAAG,SAAS,CAAC;IAE7B,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,WAAW;YACxB,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,gDAAgD;YAC7D,WAAW,EAAE,SAAS;YACtB,OAAO,EAAE,EAAE;SACX;QACD;YACC,WAAW,EAAE,OAAO;YACpB,IAAI,EAAE,OAAO;YACb,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,gBAAgB;YAC7B,OAAO,EAAE,EAAE;SACX;QACD;YACC,WAAW,EAAE,WAAW;YACxB,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,WAAW,EAAE;gBACZ,QAAQ,EAAE,IAAI;aACd;SACD;KACD,CAAC;IAEF,KAAK,CAAC,YAAY,CACjB,WAA2C,EAC3C,cAAmC;QAEnC,cAAc,CAAC,IAAI,GAAG;YACrB,QAAQ,EAAE,GAAG,WAAW,CAAC,KAAK,QAAQ;YACtC,QAAQ,EAAE,WAAW,CAAC,QAAkB;SACxC,CAAC;QACF,OAAO,cAAc,CAAC;IACvB,CAAC;IAED,IAAI,GAA2B;QAC9B,OAAO,EAAE;YACR,OAAO,EAAE,wDAAwD;YACjE,GAAG,EAAE,qBAAqB;SAC1B;KACD,CAAC;CACF"}
|
|
1
|
+
{"version":3,"file":"ZendeskApi.credentials.js","sourceRoot":"","sources":["../../credentials/ZendeskApi.credentials.ts"],"names":[],"mappings":";;;AAQA;IACC,IAAI,GAAG,YAAY,CAAC;IAEpB,WAAW,GAAG,aAAa,CAAC;IAE5B,gBAAgB,GAAG,SAAS,CAAC;IAE7B,UAAU,GAAsB;QAC/B;YACC,WAAW,EACV,gSAAgS;YACjS,IAAI,EAAE,0BAA0B;YAChC,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;SACX;QACD;YACC,WAAW,EAAE,WAAW;YACxB,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,gDAAgD;YAC7D,WAAW,EAAE,SAAS;YACtB,OAAO,EAAE,EAAE;SACX;QACD;YACC,WAAW,EAAE,OAAO;YACpB,IAAI,EAAE,OAAO;YACb,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,gBAAgB;YAC7B,OAAO,EAAE,EAAE;SACX;QACD;YACC,WAAW,EAAE,WAAW;YACxB,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,WAAW,EAAE;gBACZ,QAAQ,EAAE,IAAI;aACd;SACD;KACD,CAAC;IAEF,KAAK,CAAC,YAAY,CACjB,WAA2C,EAC3C,cAAmC;QAEnC,cAAc,CAAC,IAAI,GAAG;YACrB,QAAQ,EAAE,GAAG,WAAW,CAAC,KAAK,QAAQ;YACtC,QAAQ,EAAE,WAAW,CAAC,QAAkB;SACxC,CAAC;QACF,OAAO,cAAc,CAAC;IACvB,CAAC;IAED,IAAI,GAA2B;QAC9B,OAAO,EAAE;YACR,OAAO,EAAE,wDAAwD;YACjE,GAAG,EAAE,qBAAqB;SAC1B;KACD,CAAC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
4971bdbef5d76f6f245e3adb2296e07d35a6c3d0ae9897163dd8d7197c4fceee
|
|
@@ -34,13 +34,13 @@ export type GoogleAnalyticsV2ReportGetParams = {
|
|
|
34
34
|
/**
|
|
35
35
|
* Start
|
|
36
36
|
* @displayOptions.show { dateRange: ["custom"], propertyType: ["ga4"] }
|
|
37
|
-
* @default 2026-10-
|
|
37
|
+
* @default 2026-10-26T00:00:00.000+00:00
|
|
38
38
|
*/
|
|
39
39
|
startDate?: string | Expression<string>;
|
|
40
40
|
/**
|
|
41
41
|
* End
|
|
42
42
|
* @displayOptions.show { dateRange: ["custom"], propertyType: ["ga4"] }
|
|
43
|
-
* @default 2026-11-
|
|
43
|
+
* @default 2026-11-02T00:00:00.000+00:00
|
|
44
44
|
*/
|
|
45
45
|
endDate?: string | Expression<string>;
|
|
46
46
|
/**
|
|
@@ -33,12 +33,12 @@ export type MicrosoftOutlookV2EventCreateParams = {
|
|
|
33
33
|
subject: string | Expression<string>;
|
|
34
34
|
/**
|
|
35
35
|
* Start
|
|
36
|
-
* @default 2026-11-
|
|
36
|
+
* @default 2026-11-03T08:18:50.488+00:00
|
|
37
37
|
*/
|
|
38
38
|
startDateTime?: string | Expression<string>;
|
|
39
39
|
/**
|
|
40
40
|
* End
|
|
41
|
-
* @default 2026-11-
|
|
41
|
+
* @default 2026-11-03T08:48:50.488+00:00
|
|
42
42
|
*/
|
|
43
43
|
endDateTime?: string | Expression<string>;
|
|
44
44
|
/**
|
|
@@ -12,6 +12,7 @@ const getAuditSchema = require('./resource_audit/index.schema');
|
|
|
12
12
|
const getCredentialSchema = require('./resource_credential/index.schema');
|
|
13
13
|
const getExecutionSchema = require('./resource_execution/index.schema');
|
|
14
14
|
const getProjectSchema = require('./resource_project/index.schema');
|
|
15
|
+
const getUserSchema = require('./resource_user/index.schema');
|
|
15
16
|
const getWorkflowSchema = require('./resource_workflow/index.schema');
|
|
16
17
|
|
|
17
18
|
module.exports = function getSchema(helpers) {
|
|
@@ -23,6 +24,7 @@ module.exports = function getSchema(helpers) {
|
|
|
23
24
|
getCredentialSchema({ ...helpers, parameters: effectiveParams }),
|
|
24
25
|
getExecutionSchema({ ...helpers, parameters: effectiveParams }),
|
|
25
26
|
getProjectSchema({ ...helpers, parameters: effectiveParams }),
|
|
27
|
+
getUserSchema({ ...helpers, parameters: effectiveParams }),
|
|
26
28
|
getWorkflowSchema({ ...helpers, parameters: effectiveParams }),
|
|
27
29
|
]);
|
|
28
30
|
};
|
|
@@ -7,12 +7,14 @@ import type { N8nV1AuditNode } from './resource_audit';
|
|
|
7
7
|
import type { N8nV1CredentialNode } from './resource_credential';
|
|
8
8
|
import type { N8nV1ExecutionNode } from './resource_execution';
|
|
9
9
|
import type { N8nV1ProjectNode } from './resource_project';
|
|
10
|
+
import type { N8nV1UserNode } from './resource_user';
|
|
10
11
|
import type { N8nV1WorkflowNode } from './resource_workflow';
|
|
11
12
|
|
|
12
13
|
export * from './resource_audit';
|
|
13
14
|
export * from './resource_credential';
|
|
14
15
|
export * from './resource_execution';
|
|
15
16
|
export * from './resource_project';
|
|
17
|
+
export * from './resource_user';
|
|
16
18
|
export * from './resource_workflow';
|
|
17
19
|
|
|
18
20
|
export type N8nV1Node =
|
|
@@ -20,5 +22,6 @@ export type N8nV1Node =
|
|
|
20
22
|
| N8nV1CredentialNode
|
|
21
23
|
| N8nV1ExecutionNode
|
|
22
24
|
| N8nV1ProjectNode
|
|
25
|
+
| N8nV1UserNode
|
|
23
26
|
| N8nV1WorkflowNode
|
|
24
27
|
;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* n8n - User Resource - Zod Schema Factory
|
|
3
|
+
* Exports a factory that unions all operation schemas for this resource.
|
|
4
|
+
*
|
|
5
|
+
* Schema helpers (z, expressionSchema, etc.) are passed as parameters
|
|
6
|
+
* by the schema-validator, not imported from external files.
|
|
7
|
+
*
|
|
8
|
+
* @generated - CommonJS JavaScript for runtime loading
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
const getGetSchema = require('./operation_get.schema');
|
|
12
|
+
|
|
13
|
+
module.exports = function getSchema(helpers) {
|
|
14
|
+
const { parameters, z } = helpers;
|
|
15
|
+
// Apply operation default if not set
|
|
16
|
+
const effectiveParams = parameters.operation === undefined ? { ...parameters, operation: 'get' } : parameters;
|
|
17
|
+
return getGetSchema({ ...helpers, parameters: effectiveParams });
|
|
18
|
+
};
|
package/dist/node-definitions/nodes/n8n-nodes-base/n8n/v1/resource_user/operation_get.schema.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* n8n Node - Version 1 - Zod Schema
|
|
3
|
+
* Discriminator: resource=user, operation=get
|
|
4
|
+
*
|
|
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
|
+
return z.object({
|
|
16
|
+
parameters: z.object({
|
|
17
|
+
resource: z.literal('user'),
|
|
18
|
+
operation: z.literal('get').default('get'),
|
|
19
|
+
userId: stringOrExpression,
|
|
20
|
+
includeRole: booleanOrExpression.optional(),
|
|
21
|
+
requestOptions: z.object({ batching: z.object({ batch: z.object({ batchSize: numberOrExpression.optional(), batchInterval: numberOrExpression.optional() }).optional() }).optional(), allowUnauthorizedCerts: z.boolean().optional(), proxy: stringOrExpression.optional(), timeout: numberOrExpression.optional() }).optional(),
|
|
22
|
+
}).optional(),
|
|
23
|
+
});
|
|
24
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* n8n Node - Version 1
|
|
3
|
+
* Discriminator: resource=user, operation=get
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
interface Credentials {
|
|
8
|
+
n8nApi: CredentialReference;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export type N8nV1UserGetParams = {
|
|
12
|
+
resource: 'user';
|
|
13
|
+
operation: 'get';
|
|
14
|
+
/**
|
|
15
|
+
* ID or email of the user to get
|
|
16
|
+
*/
|
|
17
|
+
userId: string | Expression<string>;
|
|
18
|
+
/**
|
|
19
|
+
* Whether to include the user's global role in the output
|
|
20
|
+
* @default false
|
|
21
|
+
*/
|
|
22
|
+
includeRole?: boolean | Expression<boolean>;
|
|
23
|
+
requestOptions?: {
|
|
24
|
+
/** Batching
|
|
25
|
+
* @default {"batch":{}}
|
|
26
|
+
*/
|
|
27
|
+
batching?: {
|
|
28
|
+
/** Batching
|
|
29
|
+
*/
|
|
30
|
+
batch?: {
|
|
31
|
+
/** Input will be split in batches to throttle requests. -1 for disabled. 0 will be treated as 1.
|
|
32
|
+
* @default 50
|
|
33
|
+
*/
|
|
34
|
+
batchSize?: number | Expression<number>;
|
|
35
|
+
/** Time (in milliseconds) between each batch of requests. 0 for disabled.
|
|
36
|
+
* @default 1000
|
|
37
|
+
*/
|
|
38
|
+
batchInterval?: number | Expression<number>;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
/** Whether to accept the response even if SSL certificate validation is not possible
|
|
42
|
+
* @default false
|
|
43
|
+
*/
|
|
44
|
+
allowUnauthorizedCerts?: boolean;
|
|
45
|
+
/** HTTP proxy to use. If authentication is required it can be defined as follow: http://username:password@myproxy:3128
|
|
46
|
+
*/
|
|
47
|
+
proxy?: string | Expression<string>;
|
|
48
|
+
/** Time in ms to wait for the server to send response headers (and start the response body) before aborting the request
|
|
49
|
+
* @default 10000
|
|
50
|
+
*/
|
|
51
|
+
timeout?: number | Expression<number>;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
export type N8nV1UserGetNode = {
|
|
56
|
+
type: 'n8n-nodes-base.n8n';
|
|
57
|
+
version: 1;
|
|
58
|
+
config: NodeConfig<N8nV1UserGetParams> & { credentials?: Credentials };
|
|
59
|
+
};
|
|
@@ -4,9 +4,11 @@
|
|
|
4
4
|
* Re-exports all version-specific types and provides combined union type.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
import type { OpenWeatherMapV11Node } from './v11';
|
|
7
8
|
import type { OpenWeatherMapV1Node } from './v1';
|
|
8
9
|
|
|
10
|
+
export * from './v11';
|
|
9
11
|
export * from './v1';
|
|
10
12
|
|
|
11
13
|
// Combined union type for all versions
|
|
12
|
-
export type OpenWeatherMapNode = OpenWeatherMapV1Node;
|
|
14
|
+
export type OpenWeatherMapNode = OpenWeatherMapV11Node | OpenWeatherMapV1Node;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenWeatherMap Node - Version 1.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
|
+
operation: z.union([z.literal('currentWeather'), z.literal('5DayForecast')]).optional(),
|
|
18
|
+
format: z.union([z.literal('imperial'), z.literal('metric'), z.literal('standard'), expressionSchema]).optional(),
|
|
19
|
+
locationSelection: z.union([z.literal('cityName'), z.literal('cityId'), z.literal('coordinates'), z.literal('zipCode'), expressionSchema]).optional(),
|
|
20
|
+
cityName: resolveSchema({ parameters, schema: stringOrExpression, required: true, displayOptions: {"show":{"locationSelection":["cityName"]}}, defaults: {"locationSelection":"cityName"} }),
|
|
21
|
+
cityId: resolveSchema({ parameters, schema: numberOrExpression, required: false, displayOptions: {"show":{"locationSelection":["cityId"]}}, defaults: {"locationSelection":"cityName"} }),
|
|
22
|
+
latitude: resolveSchema({ parameters, schema: stringOrExpression, required: true, displayOptions: {"show":{"locationSelection":["coordinates"]}}, defaults: {"locationSelection":"cityName"} }),
|
|
23
|
+
longitude: resolveSchema({ parameters, schema: stringOrExpression, required: true, displayOptions: {"show":{"locationSelection":["coordinates"]}}, defaults: {"locationSelection":"cityName"} }),
|
|
24
|
+
zipCode: resolveSchema({ parameters, schema: stringOrExpression, required: true, displayOptions: {"show":{"locationSelection":["zipCode"]}}, defaults: {"locationSelection":"cityName"} }),
|
|
25
|
+
language: stringOrExpression.optional(),
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
// Return combined config schema
|
|
29
|
+
return z.object({
|
|
30
|
+
parameters: parametersSchema.nullable().optional(),
|
|
31
|
+
});
|
|
32
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenWeatherMap Node - Version 1.1
|
|
3
|
+
* Gets current and future weather information
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
export interface OpenWeatherMapV11Params {
|
|
8
|
+
operation?: 'currentWeather' | '5DayForecast';
|
|
9
|
+
/**
|
|
10
|
+
* The format in which format the data should be returned
|
|
11
|
+
* @default metric
|
|
12
|
+
*/
|
|
13
|
+
format?: 'imperial' | 'metric' | 'standard' | Expression<string>;
|
|
14
|
+
/**
|
|
15
|
+
* How to define the location for which to return the weather
|
|
16
|
+
* @default cityName
|
|
17
|
+
*/
|
|
18
|
+
locationSelection?: 'cityName' | 'cityId' | 'coordinates' | 'zipCode' | Expression<string>;
|
|
19
|
+
/**
|
|
20
|
+
* The name of the city to return the weather of
|
|
21
|
+
* @displayOptions.show { locationSelection: ["cityName"] }
|
|
22
|
+
* @required when the displayOptions conditions above match
|
|
23
|
+
*/
|
|
24
|
+
cityName?: string | Expression<string>;
|
|
25
|
+
/**
|
|
26
|
+
* The ID of city to return the weather of. List can be downloaded here: http://bulk.openweathermap.org/sample/.
|
|
27
|
+
* @displayOptions.show { locationSelection: ["cityId"] }
|
|
28
|
+
* @default 160001123
|
|
29
|
+
*/
|
|
30
|
+
cityId?: number | Expression<number>;
|
|
31
|
+
/**
|
|
32
|
+
* The latitude of the location to return the weather of
|
|
33
|
+
* @displayOptions.show { locationSelection: ["coordinates"] }
|
|
34
|
+
* @required when the displayOptions conditions above match
|
|
35
|
+
*/
|
|
36
|
+
latitude?: string | Expression<string>;
|
|
37
|
+
/**
|
|
38
|
+
* The longitude of the location to return the weather of
|
|
39
|
+
* @displayOptions.show { locationSelection: ["coordinates"] }
|
|
40
|
+
* @required when the displayOptions conditions above match
|
|
41
|
+
*/
|
|
42
|
+
longitude?: string | Expression<string>;
|
|
43
|
+
/**
|
|
44
|
+
* The ID of city to return the weather of. List can be downloaded here: http://bulk.openweathermap.org/sample/.
|
|
45
|
+
* @displayOptions.show { locationSelection: ["zipCode"] }
|
|
46
|
+
* @required when the displayOptions conditions above match
|
|
47
|
+
*/
|
|
48
|
+
zipCode?: string | Expression<string>;
|
|
49
|
+
/**
|
|
50
|
+
* The two letter language code to get your output in (eg. en, de, ...).
|
|
51
|
+
*/
|
|
52
|
+
language?: string | Expression<string>;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export interface OpenWeatherMapV11Credentials {
|
|
56
|
+
openWeatherMapApi: CredentialReference;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
interface OpenWeatherMapV11NodeBase {
|
|
60
|
+
type: 'n8n-nodes-base.openWeatherMap';
|
|
61
|
+
version: 1.1;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export type OpenWeatherMapV11ParamsNode = OpenWeatherMapV11NodeBase & {
|
|
65
|
+
config: NodeConfig<OpenWeatherMapV11Params> & { credentials?: OpenWeatherMapV11Credentials };
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
export type OpenWeatherMapV11Node = OpenWeatherMapV11ParamsNode;
|
|
@@ -4,9 +4,11 @@
|
|
|
4
4
|
* Re-exports all version-specific types and provides combined union type.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
import type { ZendeskV11Node } from './v11';
|
|
7
8
|
import type { ZendeskV1Node } from './v1';
|
|
8
9
|
|
|
10
|
+
export * from './v11';
|
|
9
11
|
export * from './v1';
|
|
10
12
|
|
|
11
13
|
// Combined union type for all versions
|
|
12
|
-
export type ZendeskNode = ZendeskV1Node;
|
|
14
|
+
export type ZendeskNode = ZendeskV11Node | ZendeskV1Node;
|
|
@@ -13,7 +13,11 @@ interface Credentials {
|
|
|
13
13
|
export type ZendeskV1OrganizationCountParams = {
|
|
14
14
|
resource: 'organization';
|
|
15
15
|
operation: 'count';
|
|
16
|
-
|
|
16
|
+
/**
|
|
17
|
+
* Authentication
|
|
18
|
+
* @default apiToken
|
|
19
|
+
*/
|
|
20
|
+
authentication?: 'apiToken' | 'oAuth2' | Expression<string>;
|
|
17
21
|
};
|
|
18
22
|
|
|
19
23
|
export type ZendeskV1OrganizationCountNode = {
|
|
@@ -13,7 +13,11 @@ interface Credentials {
|
|
|
13
13
|
export type ZendeskV1OrganizationCreateParams = {
|
|
14
14
|
resource: 'organization';
|
|
15
15
|
operation: 'create';
|
|
16
|
-
|
|
16
|
+
/**
|
|
17
|
+
* Authentication
|
|
18
|
+
* @default apiToken
|
|
19
|
+
*/
|
|
20
|
+
authentication?: 'apiToken' | 'oAuth2' | Expression<string>;
|
|
17
21
|
/**
|
|
18
22
|
* Name
|
|
19
23
|
*/
|
|
@@ -13,7 +13,11 @@ interface Credentials {
|
|
|
13
13
|
export type ZendeskV1OrganizationDeleteParams = {
|
|
14
14
|
resource: 'organization';
|
|
15
15
|
operation: 'delete';
|
|
16
|
-
|
|
16
|
+
/**
|
|
17
|
+
* Authentication
|
|
18
|
+
* @default apiToken
|
|
19
|
+
*/
|
|
20
|
+
authentication?: 'apiToken' | 'oAuth2' | Expression<string>;
|
|
17
21
|
/**
|
|
18
22
|
* Organization ID
|
|
19
23
|
*/
|
package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v1/resource_organization/operation_get.ts
CHANGED
|
@@ -13,7 +13,11 @@ interface Credentials {
|
|
|
13
13
|
export type ZendeskV1OrganizationGetParams = {
|
|
14
14
|
resource: 'organization';
|
|
15
15
|
operation: 'get';
|
|
16
|
-
|
|
16
|
+
/**
|
|
17
|
+
* Authentication
|
|
18
|
+
* @default apiToken
|
|
19
|
+
*/
|
|
20
|
+
authentication?: 'apiToken' | 'oAuth2' | Expression<string>;
|
|
17
21
|
/**
|
|
18
22
|
* Organization ID
|
|
19
23
|
*/
|
|
@@ -13,7 +13,11 @@ interface Credentials {
|
|
|
13
13
|
export type ZendeskV1OrganizationGetAllParams = {
|
|
14
14
|
resource: 'organization';
|
|
15
15
|
operation: 'getAll';
|
|
16
|
-
|
|
16
|
+
/**
|
|
17
|
+
* Authentication
|
|
18
|
+
* @default apiToken
|
|
19
|
+
*/
|
|
20
|
+
authentication?: 'apiToken' | 'oAuth2' | Expression<string>;
|
|
17
21
|
/**
|
|
18
22
|
* Whether to return all results or only up to a given limit
|
|
19
23
|
* @default false
|
|
@@ -13,7 +13,11 @@ interface Credentials {
|
|
|
13
13
|
export type ZendeskV1OrganizationGetRelatedDataParams = {
|
|
14
14
|
resource: 'organization';
|
|
15
15
|
operation: 'getRelatedData';
|
|
16
|
-
|
|
16
|
+
/**
|
|
17
|
+
* Authentication
|
|
18
|
+
* @default apiToken
|
|
19
|
+
*/
|
|
20
|
+
authentication?: 'apiToken' | 'oAuth2' | Expression<string>;
|
|
17
21
|
/**
|
|
18
22
|
* Organization ID
|
|
19
23
|
*/
|
|
@@ -13,7 +13,11 @@ interface Credentials {
|
|
|
13
13
|
export type ZendeskV1OrganizationUpdateParams = {
|
|
14
14
|
resource: 'organization';
|
|
15
15
|
operation: 'update';
|
|
16
|
-
|
|
16
|
+
/**
|
|
17
|
+
* Authentication
|
|
18
|
+
* @default apiToken
|
|
19
|
+
*/
|
|
20
|
+
authentication?: 'apiToken' | 'oAuth2' | Expression<string>;
|
|
17
21
|
/**
|
|
18
22
|
* Organization ID
|
|
19
23
|
*/
|
package/dist/node-definitions/nodes/n8n-nodes-base/zendesk/v1/resource_ticket/operation_create.ts
CHANGED
|
@@ -13,7 +13,11 @@ interface Credentials {
|
|
|
13
13
|
export type ZendeskV1TicketCreateParams = {
|
|
14
14
|
resource: 'ticket';
|
|
15
15
|
operation: 'create';
|
|
16
|
-
|
|
16
|
+
/**
|
|
17
|
+
* Authentication
|
|
18
|
+
* @default apiToken
|
|
19
|
+
*/
|
|
20
|
+
authentication?: 'apiToken' | 'oAuth2' | Expression<string>;
|
|
17
21
|
/**
|
|
18
22
|
* The first comment on the ticket
|
|
19
23
|
*/
|