n8n-nodes-base 3.0.1 → 3.2.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.
Files changed (194) hide show
  1. package/dist/cjs/build.tsbuildinfo +1 -1
  2. package/dist/credentials/MicrosoftWorkIqOAuth2Api.credentials.d.ts +10 -0
  3. package/dist/credentials/MicrosoftWorkIqOAuth2Api.credentials.d.ts.map +1 -0
  4. package/dist/credentials/MicrosoftWorkIqOAuth2Api.credentials.js +101 -0
  5. package/dist/credentials/MicrosoftWorkIqOAuth2Api.credentials.js.map +1 -0
  6. package/dist/credentials/NotionApi.credentials.d.ts.map +1 -1
  7. package/dist/credentials/NotionApi.credentials.js +3 -4
  8. package/dist/credentials/NotionApi.credentials.js.map +1 -1
  9. package/dist/credentials/OpenWeatherMapApi.credentials.d.ts.map +1 -1
  10. package/dist/credentials/OpenWeatherMapApi.credentials.js +8 -2
  11. package/dist/credentials/OpenWeatherMapApi.credentials.js.map +1 -1
  12. package/dist/credentials/PaddleApi.credentials.d.ts.map +1 -1
  13. package/dist/credentials/PaddleApi.credentials.js +7 -1
  14. package/dist/credentials/PaddleApi.credentials.js.map +1 -1
  15. package/dist/credentials/PerplexityApi.credentials.d.ts.map +1 -1
  16. package/dist/credentials/PerplexityApi.credentials.js +2 -6
  17. package/dist/credentials/PerplexityApi.credentials.js.map +1 -1
  18. package/dist/known/credentials.json +7 -0
  19. package/dist/node-definitions/.nodes-hash +1 -1
  20. package/dist/node-definitions/nodes/n8n-nodes-base/googleAnalytics/v2/resource_report/operation_get.ts +2 -2
  21. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftOutlook/v2/resource_event/operation_create.ts +2 -2
  22. package/dist/node-definitions/nodes/n8n-nodes-base/n8n/v1/index.schema.js +2 -0
  23. package/dist/node-definitions/nodes/n8n-nodes-base/n8n/v1/index.ts +3 -0
  24. package/dist/node-definitions/nodes/n8n-nodes-base/n8n/v1/resource_user/index.schema.js +18 -0
  25. package/dist/node-definitions/nodes/n8n-nodes-base/n8n/v1/resource_user/index.ts +10 -0
  26. package/dist/node-definitions/nodes/n8n-nodes-base/n8n/v1/resource_user/operation_get.schema.js +24 -0
  27. package/dist/node-definitions/nodes/n8n-nodes-base/n8n/v1/resource_user/operation_get.ts +59 -0
  28. package/dist/node-definitions/nodes/n8n-nodes-base/openWeatherMap/index.ts +3 -1
  29. package/dist/node-definitions/nodes/n8n-nodes-base/openWeatherMap/v11.schema.js +32 -0
  30. package/dist/node-definitions/nodes/n8n-nodes-base/openWeatherMap/v11.ts +68 -0
  31. package/dist/node-definitions/nodes/n8n-nodes-base/paddle/index.ts +1 -1
  32. package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/index.schema.js +1 -1
  33. package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/index.ts +1 -1
  34. package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_coupon/index.schema.js +1 -1
  35. package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_coupon/index.ts +1 -1
  36. package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_coupon/operation_create.schema.js +1 -1
  37. package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_coupon/operation_create.ts +1 -1
  38. package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_coupon/operation_get_all.schema.js +1 -1
  39. package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_coupon/operation_get_all.ts +1 -1
  40. package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_coupon/operation_update.schema.js +1 -1
  41. package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_coupon/operation_update.ts +1 -1
  42. package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_payment/index.schema.js +1 -1
  43. package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_payment/index.ts +1 -1
  44. package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_payment/operation_get_all.schema.js +1 -1
  45. package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_payment/operation_get_all.ts +1 -1
  46. package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_payment/operation_reschedule.schema.js +1 -1
  47. package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_payment/operation_reschedule.ts +1 -1
  48. package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_plan/index.schema.js +1 -1
  49. package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_plan/index.ts +1 -1
  50. package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_plan/operation_get.schema.js +1 -1
  51. package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_plan/operation_get.ts +1 -1
  52. package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_plan/operation_get_all.schema.js +1 -1
  53. package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_plan/operation_get_all.ts +1 -1
  54. package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_product/index.schema.js +1 -1
  55. package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_product/index.ts +1 -1
  56. package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_product/operation_get_all.schema.js +1 -1
  57. package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_product/operation_get_all.ts +1 -1
  58. package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_user/index.schema.js +1 -1
  59. package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_user/index.ts +1 -1
  60. package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_user/operation_get_all.schema.js +1 -1
  61. package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_user/operation_get_all.ts +1 -1
  62. package/dist/nodes/Compression/Compression.node.js +1 -1
  63. package/dist/nodes/Compression/Compression.node.js.map +1 -1
  64. package/dist/nodes/EmailReadImap/v1/EmailReadImapV1.node.d.ts.map +1 -1
  65. package/dist/nodes/EmailReadImap/v1/EmailReadImapV1.node.js +2 -1
  66. package/dist/nodes/EmailReadImap/v1/EmailReadImapV1.node.js.map +1 -1
  67. package/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.d.ts.map +1 -1
  68. package/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.js +3 -2
  69. package/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.js.map +1 -1
  70. package/dist/nodes/Google/Calendar/GoogleCalendar.node.js +1 -1
  71. package/dist/nodes/Google/Calendar/GoogleCalendar.node.js.map +1 -1
  72. package/dist/nodes/Google/Docs/GenericFunctions.d.ts.map +1 -1
  73. package/dist/nodes/Google/Docs/GenericFunctions.js +17 -3
  74. package/dist/nodes/Google/Docs/GenericFunctions.js.map +1 -1
  75. package/dist/nodes/Google/Drive/GoogleDriveTrigger.node.d.ts.map +1 -1
  76. package/dist/nodes/Google/Drive/GoogleDriveTrigger.node.js +39 -11
  77. package/dist/nodes/Google/Drive/GoogleDriveTrigger.node.js.map +1 -1
  78. package/dist/nodes/Google/Gmail/Gmail.node.d.ts.map +1 -1
  79. package/dist/nodes/Google/Gmail/Gmail.node.js +1 -0
  80. package/dist/nodes/Google/Gmail/Gmail.node.js.map +1 -1
  81. package/dist/nodes/Google/Gmail/GmailTrigger.node.js +1 -1
  82. package/dist/nodes/Google/Gmail/GmailTrigger.node.js.map +1 -1
  83. package/dist/nodes/Google/Sheet/v2/actions/sheet/Sheet.resource.d.ts +1 -1
  84. package/dist/nodes/Google/Sheet/v2/actions/sheet/Sheet.resource.d.ts.map +1 -1
  85. package/dist/nodes/Google/Sheet/v2/actions/sheet/Sheet.resource.js +9 -0
  86. package/dist/nodes/Google/Sheet/v2/actions/sheet/Sheet.resource.js.map +1 -1
  87. package/dist/nodes/Google/Sheet/v2/actions/spreadsheet/SpreadSheet.resource.d.ts.map +1 -1
  88. package/dist/nodes/Google/Sheet/v2/actions/spreadsheet/SpreadSheet.resource.js +2 -0
  89. package/dist/nodes/Google/Sheet/v2/actions/spreadsheet/SpreadSheet.resource.js.map +1 -1
  90. package/dist/nodes/HttpRequest/V3/Description.d.ts +1 -1
  91. package/dist/nodes/HttpRequest/V3/Description.d.ts.map +1 -1
  92. package/dist/nodes/HttpRequest/V3/Description.js +17 -7
  93. package/dist/nodes/HttpRequest/V3/Description.js.map +1 -1
  94. package/dist/nodes/Jenkins/GenericFunctions.d.ts.map +1 -1
  95. package/dist/nodes/Jenkins/GenericFunctions.js +99 -9
  96. package/dist/nodes/Jenkins/GenericFunctions.js.map +1 -1
  97. package/dist/nodes/Linear/GenericFunctions.d.ts.map +1 -1
  98. package/dist/nodes/Linear/GenericFunctions.js +3 -2
  99. package/dist/nodes/Linear/GenericFunctions.js.map +1 -1
  100. package/dist/nodes/Microsoft/Outlook/MicrosoftOutlookTrigger.node.js +3 -3
  101. package/dist/nodes/Microsoft/Outlook/MicrosoftOutlookTrigger.node.js.map +1 -1
  102. package/dist/nodes/Microsoft/Teams/MicrosoftTeamsTrigger.node.d.ts.map +1 -1
  103. package/dist/nodes/Microsoft/Teams/MicrosoftTeamsTrigger.node.js +106 -112
  104. package/dist/nodes/Microsoft/Teams/MicrosoftTeamsTrigger.node.js.map +1 -1
  105. package/dist/nodes/Microsoft/Teams/v2/helpers/utils-trigger.d.ts +74 -6
  106. package/dist/nodes/Microsoft/Teams/v2/helpers/utils-trigger.d.ts.map +1 -1
  107. package/dist/nodes/Microsoft/Teams/v2/helpers/utils-trigger.js +367 -109
  108. package/dist/nodes/Microsoft/Teams/v2/helpers/utils-trigger.js.map +1 -1
  109. package/dist/nodes/Microsoft/Teams/v2/transport/forbiddenHints.d.ts +10 -0
  110. package/dist/nodes/Microsoft/Teams/v2/transport/forbiddenHints.d.ts.map +1 -1
  111. package/dist/nodes/Microsoft/Teams/v2/transport/forbiddenHints.js +24 -4
  112. package/dist/nodes/Microsoft/Teams/v2/transport/forbiddenHints.js.map +1 -1
  113. package/dist/nodes/MongoDb/mongodb.svg +3 -1
  114. package/dist/nodes/N8n/N8n.node.d.ts.map +1 -1
  115. package/dist/nodes/N8n/N8n.node.js +7 -0
  116. package/dist/nodes/N8n/N8n.node.js.map +1 -1
  117. package/dist/nodes/N8n/UserDescription.d.ts +4 -0
  118. package/dist/nodes/N8n/UserDescription.d.ts.map +1 -0
  119. package/dist/nodes/N8n/UserDescription.js +86 -0
  120. package/dist/nodes/N8n/UserDescription.js.map +1 -0
  121. package/dist/nodes/Notion/shared/GenericFunctions.d.ts +3 -3
  122. package/dist/nodes/Notion/shared/GenericFunctions.d.ts.map +1 -1
  123. package/dist/nodes/OpenWeatherMap/OpenWeatherMap.node.d.ts.map +1 -1
  124. package/dist/nodes/OpenWeatherMap/OpenWeatherMap.node.js +12 -9
  125. package/dist/nodes/OpenWeatherMap/OpenWeatherMap.node.js.map +1 -1
  126. package/dist/nodes/Paddle/Paddle.node.d.ts.map +1 -1
  127. package/dist/nodes/Paddle/Paddle.node.js +9 -3
  128. package/dist/nodes/Paddle/Paddle.node.js.map +1 -1
  129. package/dist/nodes/Postgres/v1/PostgresV1.node.d.ts.map +1 -1
  130. package/dist/nodes/Postgres/v1/PostgresV1.node.js +23 -6
  131. package/dist/nodes/Postgres/v1/PostgresV1.node.js.map +1 -1
  132. package/dist/nodes/Postgres/v2/actions/database/Database.resource.d.ts +1 -1
  133. package/dist/nodes/Postgres/v2/actions/database/Database.resource.d.ts.map +1 -1
  134. package/dist/nodes/Postgres/v2/actions/database/Database.resource.js +6 -0
  135. package/dist/nodes/Postgres/v2/actions/database/Database.resource.js.map +1 -1
  136. package/dist/nodes/Postgres/v2/actions/database/deleteTable.operation.d.ts.map +1 -1
  137. package/dist/nodes/Postgres/v2/actions/database/deleteTable.operation.js +3 -0
  138. package/dist/nodes/Postgres/v2/actions/database/deleteTable.operation.js.map +1 -1
  139. package/dist/nodes/Postgres/v2/actions/router.d.ts.map +1 -1
  140. package/dist/nodes/Postgres/v2/actions/router.js +15 -1
  141. package/dist/nodes/Postgres/v2/actions/router.js.map +1 -1
  142. package/dist/nodes/RabbitMQ/GenericFunctions.js +2 -2
  143. package/dist/nodes/RabbitMQ/GenericFunctions.js.map +1 -1
  144. package/dist/nodes/Slack/V2/GenericFunctions.d.ts.map +1 -1
  145. package/dist/nodes/Slack/V2/GenericFunctions.js +1 -7
  146. package/dist/nodes/Slack/V2/GenericFunctions.js.map +1 -1
  147. package/dist/nodes/Slack/V2/SlackHitlWebhook.js +1 -1
  148. package/dist/nodes/Slack/V2/SlackHitlWebhook.js.map +1 -1
  149. package/dist/nodes/Snowflake/GenericFunctions.d.ts +3 -3
  150. package/dist/nodes/Snowflake/GenericFunctions.d.ts.map +1 -1
  151. package/dist/nodes/Snowflake/GenericFunctions.js +12 -6
  152. package/dist/nodes/Snowflake/GenericFunctions.js.map +1 -1
  153. package/dist/nodes/Snowflake/Snowflake.node.d.ts.map +1 -1
  154. package/dist/nodes/Snowflake/Snowflake.node.js +4 -6
  155. package/dist/nodes/Snowflake/Snowflake.node.js.map +1 -1
  156. package/dist/nodes/Splunk/v1/GenericFunctions.d.ts +2 -2
  157. package/dist/nodes/Splunk/v1/GenericFunctions.d.ts.map +1 -1
  158. package/dist/nodes/Splunk/v1/GenericFunctions.js +10 -3
  159. package/dist/nodes/Splunk/v1/GenericFunctions.js.map +1 -1
  160. package/dist/nodes/Splunk/v1/SplunkV1.node.js +4 -4
  161. package/dist/nodes/Splunk/v1/SplunkV1.node.js.map +1 -1
  162. package/dist/nodes/Splunk/v2/actions/report/getAll.operation.js +1 -1
  163. package/dist/nodes/Splunk/v2/actions/report/getAll.operation.js.map +1 -1
  164. package/dist/nodes/Splunk/v2/actions/search/getAll.operation.js +1 -1
  165. package/dist/nodes/Splunk/v2/actions/search/getAll.operation.js.map +1 -1
  166. package/dist/nodes/Splunk/v2/actions/search/getResult.operation.js +1 -1
  167. package/dist/nodes/Splunk/v2/actions/search/getResult.operation.js.map +1 -1
  168. package/dist/nodes/Splunk/v2/actions/user/getAll.operation.d.ts +1 -1
  169. package/dist/nodes/Splunk/v2/actions/user/getAll.operation.d.ts.map +1 -1
  170. package/dist/nodes/Splunk/v2/actions/user/getAll.operation.js +2 -2
  171. package/dist/nodes/Splunk/v2/actions/user/getAll.operation.js.map +1 -1
  172. package/dist/nodes/Splunk/v2/helpers/utils.d.ts +2 -2
  173. package/dist/nodes/Splunk/v2/helpers/utils.d.ts.map +1 -1
  174. package/dist/nodes/Splunk/v2/helpers/utils.js +10 -3
  175. package/dist/nodes/Splunk/v2/helpers/utils.js.map +1 -1
  176. package/dist/nodes/Telegram/GenericFunctions.d.ts.map +1 -1
  177. package/dist/nodes/Telegram/GenericFunctions.js +1 -5
  178. package/dist/nodes/Telegram/GenericFunctions.js.map +1 -1
  179. package/dist/nodes/Telegram/TelegramTrigger.node.d.ts.map +1 -1
  180. package/dist/nodes/Telegram/TelegramTrigger.node.js +4 -1
  181. package/dist/nodes/Telegram/TelegramTrigger.node.js.map +1 -1
  182. package/dist/nodes/Telegram/hitl/setup.d.ts.map +1 -1
  183. package/dist/nodes/Telegram/hitl/setup.js +7 -9
  184. package/dist/nodes/Telegram/hitl/setup.js.map +1 -1
  185. package/dist/nodes/Telegram/hitl/tokens.d.ts +13 -0
  186. package/dist/nodes/Telegram/hitl/tokens.d.ts.map +1 -1
  187. package/dist/nodes/Telegram/hitl/tokens.js +25 -2
  188. package/dist/nodes/Telegram/hitl/tokens.js.map +1 -1
  189. package/dist/nodes/Telegram/hitl/webhook.d.ts.map +1 -1
  190. package/dist/nodes/Telegram/hitl/webhook.js +4 -1
  191. package/dist/nodes/Telegram/hitl/webhook.js.map +1 -1
  192. package/dist/types/credentials.json +4 -3
  193. package/dist/types/nodes.json +12 -12
  194. package/package.json +23 -21
@@ -0,0 +1,10 @@
1
+ import type { Icon, ICredentialType, INodeProperties } from 'n8n-workflow';
2
+ export declare class MicrosoftWorkIqOAuth2Api implements ICredentialType {
3
+ name: string;
4
+ extends: string[];
5
+ icon: Icon;
6
+ displayName: string;
7
+ documentationUrl: string;
8
+ properties: INodeProperties[];
9
+ }
10
+ //# sourceMappingURL=MicrosoftWorkIqOAuth2Api.credentials.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MicrosoftWorkIqOAuth2Api.credentials.d.ts","sourceRoot":"","sources":["../../credentials/MicrosoftWorkIqOAuth2Api.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAyB3E,qBAAa,wBAAyB,YAAW,eAAe;IAC/D,IAAI,SAA8B;IAElC,OAAO,WAA0B;IAEjC,IAAI,EAAE,IAAI,CAA8B;IAExC,WAAW,SAAkC;IAE7C,gBAAgB,SAAqB;IAErC,UAAU,EAAE,eAAe,EAAE,CA4E3B;CACF"}
@@ -0,0 +1,101 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MicrosoftWorkIqOAuth2Api = void 0;
4
+ /**
5
+ * Work IQ is its own Entra resource, so its permissions are requested as fully
6
+ * qualified scope strings against the application ID URI, the form Microsoft's
7
+ * Work IQ MCP quickstart gives.
8
+ */
9
+ const workIqScope = (permission) => `api://workiq.svc.cloud.microsoft/${permission}`;
10
+ const ASK = workIqScope('WorkIQAgent.Ask');
11
+ const READ = workIqScope('WorkIQ.Read');
12
+ /** Microsoft documents Act as already including the read access Read grants. */
13
+ const ACT = workIqScope('WorkIQ.Act');
14
+ const entraUrl = (endpoint) => `={{ "https://login.microsoftonline.com/" + $self["tenantId"].trim() + "/oauth2/v2.0/${endpoint}" }}`;
15
+ /**
16
+ * Each level is a separate delegated permission needing its own tenant admin
17
+ * consent, so asking for one the tenant has not granted fails the whole sign-in
18
+ * with AADSTS65001. The default is exactly what the quickstart tells an admin to
19
+ * grant, so a tenant set up by the book connects without further consent.
20
+ */
21
+ const SCOPE = `={{ "${ASK}" + ($self["accessLevel"] === "act" ? " ${ACT}" : $self["accessLevel"] === "read" ? " ${READ}" : "") + " offline_access" }}`;
22
+ class MicrosoftWorkIqOAuth2Api {
23
+ name = 'microsoftWorkIqOAuth2Api';
24
+ extends = ['microsoftOAuth2Api'];
25
+ icon = 'file:icons/Microsoft.svg';
26
+ displayName = 'Microsoft Work IQ OAuth2 API';
27
+ documentationUrl = 'microsoftworkiq';
28
+ properties = [
29
+ {
30
+ displayName: 'Tenant ID',
31
+ name: 'tenantId',
32
+ type: 'string',
33
+ default: 'organizations',
34
+ required: true,
35
+ description: 'Microsoft Entra tenant ID (GUID) or verified domain (e.g. contoso.onmicrosoft.com). Find it at portal.azure.com → Microsoft Entra ID → Overview.',
36
+ hint: 'Leave as "organizations" for a multi-tenant app registration; use a specific GUID or domain for a single-tenant one. "common" is deliberately not the default here, because it admits personal accounts, which cannot have Work IQ.',
37
+ },
38
+ {
39
+ displayName: 'Asking a Work IQ agent is not a read-only action. Microsoft documents WorkIQAgent.Ask, which every access level requests, as including read and write access to the Microsoft 365 resources an agent can reach.',
40
+ name: 'accessNotice',
41
+ type: 'notice',
42
+ default: '',
43
+ },
44
+ {
45
+ displayName: 'Access Level',
46
+ name: 'accessLevel',
47
+ type: 'options',
48
+ default: 'agent',
49
+ description: 'Which Work IQ permissions to request. Each one needs tenant admin consent on the app registration before anyone can sign in.',
50
+ hint: "Agent only matches the permission Microsoft's Work IQ MCP quickstart tells an admin to grant. The other levels need that extra consent too.",
51
+ options: [
52
+ {
53
+ name: 'Agent Only',
54
+ value: 'agent',
55
+ description: 'Ask Work IQ agents questions. SharePoint tool paths stay hidden at this level.',
56
+ },
57
+ {
58
+ name: 'Agent Plus Direct Read',
59
+ value: 'read',
60
+ description: 'Also read Microsoft 365 data directly, which is what exposes the read-only SharePoint tool paths',
61
+ },
62
+ {
63
+ name: 'Agent Plus Direct Changes',
64
+ value: 'act',
65
+ description: 'Also read and change Microsoft 365 data directly, exposing the SharePoint paths that create, update and delete',
66
+ },
67
+ ],
68
+ },
69
+ {
70
+ displayName: 'Authorization URL',
71
+ name: 'authUrl',
72
+ type: 'hidden',
73
+ default: entraUrl('authorize'),
74
+ },
75
+ {
76
+ displayName: 'Access Token URL',
77
+ name: 'accessTokenUrl',
78
+ type: 'hidden',
79
+ default: entraUrl('token'),
80
+ },
81
+ {
82
+ // offline_access is what makes the token refreshable; without it every
83
+ // credential would need an interactive reconnect once the hour is up.
84
+ displayName: 'Scope',
85
+ name: 'scope',
86
+ type: 'hidden',
87
+ default: SCOPE,
88
+ },
89
+ {
90
+ // Inherited from microsoftOAuth2Api but unused: Work IQ is reached at
91
+ // workiq.svc.cloud.microsoft, not through Graph. Hide it so the modal
92
+ // doesn't render a control that does nothing.
93
+ displayName: 'Microsoft Graph API Base URL',
94
+ name: 'graphApiBaseUrl',
95
+ type: 'hidden',
96
+ default: 'https://graph.microsoft.com',
97
+ },
98
+ ];
99
+ }
100
+ exports.MicrosoftWorkIqOAuth2Api = MicrosoftWorkIqOAuth2Api;
101
+ //# sourceMappingURL=MicrosoftWorkIqOAuth2Api.credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MicrosoftWorkIqOAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/MicrosoftWorkIqOAuth2Api.credentials.ts"],"names":[],"mappings":";;;AAEA;;;;GAIG;AACH,MAAM,WAAW,GAAG,CAAC,UAAkB,EAAE,EAAE,CAAC,oCAAoC,UAAU,EAAE,CAAC;AAE7F,MAAM,GAAG,GAAG,WAAW,CAAC,iBAAiB,CAAC,CAAC;AAC3C,MAAM,IAAI,GAAG,WAAW,CAAC,aAAa,CAAC,CAAC;AACxC,gFAAgF;AAChF,MAAM,GAAG,GAAG,WAAW,CAAC,YAAY,CAAC,CAAC;AAEtC,MAAM,QAAQ,GAAG,CAAC,QAA+B,EAAE,EAAE,CACpD,uFAAuF,QAAQ,MAAM,CAAC;AAEvG;;;;;GAKG;AACH,MAAM,KAAK,GAAG,QAAQ,GAAG,2CAA2C,GAAG,2CAA2C,IAAI,gCAAgC,CAAC;AAEvJ;IACC,IAAI,GAAG,0BAA0B,CAAC;IAElC,OAAO,GAAG,CAAC,oBAAoB,CAAC,CAAC;IAEjC,IAAI,GAAS,0BAA0B,CAAC;IAExC,WAAW,GAAG,8BAA8B,CAAC;IAE7C,gBAAgB,GAAG,iBAAiB,CAAC;IAErC,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,WAAW;YACxB,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,eAAe;YACxB,QAAQ,EAAE,IAAI;YACd,WAAW,EACV,kJAAkJ;YACnJ,IAAI,EAAE,qOAAqO;SAC3O;QACD;YACC,WAAW,EACV,iNAAiN;YAClN,IAAI,EAAE,cAAc;YACpB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;SACX;QACD;YACC,WAAW,EAAE,cAAc;YAC3B,IAAI,EAAE,aAAa;YACnB,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,OAAO;YAChB,WAAW,EACV,8HAA8H;YAC/H,IAAI,EAAE,6IAA6I;YACnJ,OAAO,EAAE;gBACR;oBACC,IAAI,EAAE,YAAY;oBAClB,KAAK,EAAE,OAAO;oBACd,WAAW,EACV,gFAAgF;iBACjF;gBACD;oBACC,IAAI,EAAE,wBAAwB;oBAC9B,KAAK,EAAE,MAAM;oBACb,WAAW,EACV,kGAAkG;iBACnG;gBACD;oBACC,IAAI,EAAE,2BAA2B;oBACjC,KAAK,EAAE,KAAK;oBACZ,WAAW,EACV,gHAAgH;iBACjH;aACD;SACD;QACD;YACC,WAAW,EAAE,mBAAmB;YAChC,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,QAAQ,CAAC,WAAW,CAAC;SAC9B;QACD;YACC,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,gBAAgB;YACtB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC;SAC1B;QACD;YACC,uEAAuE;YACvE,sEAAsE;YACtE,WAAW,EAAE,OAAO;YACpB,IAAI,EAAE,OAAO;YACb,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,KAAK;SACd;QACD;YACC,sEAAsE;YACtE,sEAAsE;YACtE,8CAA8C;YAC9C,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,iBAAiB;YACvB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,6BAA6B;SACtC;KACD,CAAC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"NotionApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/NotionApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,8BAA8B,EAC9B,sBAAsB,EACtB,eAAe,EACf,mBAAmB,EACnB,eAAe,EACf,MAAM,cAAc,CAAC;AAEtB,qBAAa,SAAU,YAAW,eAAe;IAChD,IAAI,SAAe;IAEnB,WAAW,SAAgB;IAE3B,gBAAgB,SAAY;IAE5B,UAAU,EAAE,eAAe,EAAE,CAS3B;IAEF,IAAI,EAAE,sBAAsB,CAK1B;IAEI,YAAY,CACjB,WAAW,EAAE,8BAA8B,EAC3C,cAAc,EAAE,mBAAmB,GACjC,OAAO,CAAC,mBAAmB,CAAC,CAiB9B;CACD"}
1
+ {"version":3,"file":"NotionApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/NotionApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,8BAA8B,EAC9B,sBAAsB,EACtB,eAAe,EACf,mBAAmB,EACnB,eAAe,EACf,MAAM,cAAc,CAAC;AAEtB,qBAAa,SAAU,YAAW,eAAe;IAChD,IAAI,SAAe;IAEnB,WAAW,SAAgB;IAE3B,gBAAgB,SAAY;IAE5B,UAAU,EAAE,eAAe,EAAE,CAS3B;IAEF,IAAI,EAAE,sBAAsB,CAK1B;IAEI,YAAY,CACjB,WAAW,EAAE,8BAA8B,EAC3C,cAAc,EAAE,mBAAmB,GACjC,OAAO,CAAC,mBAAmB,CAAC,CAkB9B;CACD"}
@@ -26,10 +26,9 @@ class NotionApi {
26
26
  ...requestOptions.headers,
27
27
  Authorization: `Bearer ${credentials.apiKey} `,
28
28
  };
29
- // if version it's not set, set it to last one
30
- // version is only set when the request is made from
31
- // the notion node, or was set explicitly in the http node
32
- if (!requestOptions.headers['Notion-Version']) {
29
+ // HTTP header names are case-insensitive. Keep the version supplied by the caller.
30
+ const hasVersion = Object.keys(requestOptions.headers).some((name) => name.toLowerCase() === 'notion-version');
31
+ if (!hasVersion) {
33
32
  requestOptions.headers = {
34
33
  ...requestOptions.headers,
35
34
  'Notion-Version': '2022-02-22',
@@ -1 +1 @@
1
- {"version":3,"file":"NotionApi.credentials.js","sourceRoot":"","sources":["../../credentials/NotionApi.credentials.ts"],"names":[],"mappings":";;;AAQA;IACC,IAAI,GAAG,WAAW,CAAC;IAEnB,WAAW,GAAG,YAAY,CAAC;IAE3B,gBAAgB,GAAG,QAAQ,CAAC;IAE5B,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,6BAA6B;YAC1C,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC/B,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,EAAE;SACX;KACD,CAAC;IAEF,IAAI,GAA2B;QAC9B,OAAO,EAAE;YACR,OAAO,EAAE,2BAA2B;YACpC,GAAG,EAAE,WAAW;SAChB;KACD,CAAC;IAEF,KAAK,CAAC,YAAY,CACjB,WAA2C,EAC3C,cAAmC;QAEnC,cAAc,CAAC,OAAO,GAAG;YACxB,GAAG,cAAc,CAAC,OAAO;YACzB,aAAa,EAAE,UAAU,WAAW,CAAC,MAAM,GAAG;SAC9C,CAAC;QAEF,8CAA8C;QAC9C,oDAAoD;QACpD,0DAA0D;QAC1D,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,gBAAgB,CAAC,EAAE,CAAC;YAC/C,cAAc,CAAC,OAAO,GAAG;gBACxB,GAAG,cAAc,CAAC,OAAO;gBACzB,gBAAgB,EAAE,YAAY;aAC9B,CAAC;QACH,CAAC;QAED,OAAO,cAAc,CAAC;IACvB,CAAC;CACD"}
1
+ {"version":3,"file":"NotionApi.credentials.js","sourceRoot":"","sources":["../../credentials/NotionApi.credentials.ts"],"names":[],"mappings":";;;AAQA;IACC,IAAI,GAAG,WAAW,CAAC;IAEnB,WAAW,GAAG,YAAY,CAAC;IAE3B,gBAAgB,GAAG,QAAQ,CAAC;IAE5B,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,6BAA6B;YAC1C,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC/B,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,EAAE;SACX;KACD,CAAC;IAEF,IAAI,GAA2B;QAC9B,OAAO,EAAE;YACR,OAAO,EAAE,2BAA2B;YACpC,GAAG,EAAE,WAAW;SAChB;KACD,CAAC;IAEF,KAAK,CAAC,YAAY,CACjB,WAA2C,EAC3C,cAAmC;QAEnC,cAAc,CAAC,OAAO,GAAG;YACxB,GAAG,cAAc,CAAC,OAAO;YACzB,aAAa,EAAE,UAAU,WAAW,CAAC,MAAM,GAAG;SAC9C,CAAC;QAEF,mFAAmF;QACnF,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,IAAI,CAC1D,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,KAAK,gBAAgB,CACjD,CAAC;QACF,IAAI,CAAC,UAAU,EAAE,CAAC;YACjB,cAAc,CAAC,OAAO,GAAG;gBACxB,GAAG,cAAc,CAAC,OAAO;gBACzB,gBAAgB,EAAE,YAAY;aAC9B,CAAC;QACH,CAAC;QAED,OAAO,cAAc,CAAC;IACvB,CAAC;CACD"}
@@ -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,CAQ3B;IAEF,YAAY,EAAE,aAAa,CAOzB;IAEF,IAAI,EAAE,sBAAsB,CAQ1B;CACF"}
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: 'https://api.openweathermap.org/data/2.5',
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,yCAAyC;YAClD,GAAG,EAAE,UAAU;YACf,EAAE,EAAE;gBACH,CAAC,EAAE,QAAQ;aACX;SACD;KACD,CAAC;CACF"}
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":"PaddleApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/PaddleApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAErE,qBAAa,SAAU,YAAW,eAAe;IAChD,IAAI,SAAe;IAEnB,WAAW,SAAgB;IAE3B,gBAAgB,SAAY;IAE5B,UAAU,EAAE,eAAe,EAAE,CAmB3B;CACF"}
1
+ {"version":3,"file":"PaddleApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/PaddleApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAErE,qBAAa,SAAU,YAAW,eAAe;IAChD,IAAI,SAAe;IAEnB,WAAW,SAAwB;IAEnC,gBAAgB,SAAY;IAE5B,UAAU,EAAE,eAAe,EAAE,CA0B3B;CACF"}
@@ -3,9 +3,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PaddleApi = void 0;
4
4
  class PaddleApi {
5
5
  name = 'paddleApi';
6
- displayName = 'Paddle API';
6
+ displayName = 'Paddle Classic API';
7
7
  documentationUrl = 'paddle';
8
8
  properties = [
9
+ {
10
+ displayName: 'These credentials only work with Paddle Classic. If you use Paddle Billing, use the Paddle Billing node and its credentials instead.',
11
+ name: 'paddleBillingNotice',
12
+ type: 'notice',
13
+ default: '',
14
+ },
9
15
  {
10
16
  displayName: 'Vendor Auth Code',
11
17
  name: 'vendorAuthCode',
@@ -1 +1 @@
1
- {"version":3,"file":"PaddleApi.credentials.js","sourceRoot":"","sources":["../../credentials/PaddleApi.credentials.ts"],"names":[],"mappings":";;;AAEA;IACC,IAAI,GAAG,WAAW,CAAC;IAEnB,WAAW,GAAG,YAAY,CAAC;IAE3B,gBAAgB,GAAG,QAAQ,CAAC;IAE5B,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,gBAAgB;YACtB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;SACX;QACD;YACC,WAAW,EAAE,WAAW;YACxB,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;SACX;QACD;YACC,WAAW,EAAE,6BAA6B;YAC1C,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,KAAK;SACd;KACD,CAAC;CACF"}
1
+ {"version":3,"file":"PaddleApi.credentials.js","sourceRoot":"","sources":["../../credentials/PaddleApi.credentials.ts"],"names":[],"mappings":";;;AAEA;IACC,IAAI,GAAG,WAAW,CAAC;IAEnB,WAAW,GAAG,oBAAoB,CAAC;IAEnC,gBAAgB,GAAG,QAAQ,CAAC;IAE5B,UAAU,GAAsB;QAC/B;YACC,WAAW,EACV,sIAAsI;YACvI,IAAI,EAAE,qBAAqB;YAC3B,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;SACX;QACD;YACC,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,gBAAgB;YACtB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;SACX;QACD;YACC,WAAW,EAAE,WAAW;YACxB,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;SACX;QACD;YACC,WAAW,EAAE,6BAA6B;YAC1C,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,KAAK;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,CAe1B;CACF"}
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: '/chat/completions',
32
- method: 'POST',
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,mBAAmB;YACxB,MAAM,EAAE,MAAM;YACd,IAAI,EAAE;gBACL,KAAK,EAAE,OAAO;gBACd,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;aAC7C;YACD,OAAO,EAAE;gBACR,aAAa,EAAE,iCAAiC;gBAChD,cAAc,EAAE,kBAAkB;aAClC;YACD,IAAI,EAAE,IAAI;SACV;KACD,CAAC;CACF"}
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"}
@@ -1960,6 +1960,13 @@
1960
1960
  "microsoftToDo"
1961
1961
  ]
1962
1962
  },
1963
+ "microsoftWorkIqOAuth2Api": {
1964
+ "className": "MicrosoftWorkIqOAuth2Api",
1965
+ "sourcePath": "dist/credentials/MicrosoftWorkIqOAuth2Api.credentials.js",
1966
+ "extends": [
1967
+ "microsoftOAuth2Api"
1968
+ ]
1969
+ },
1963
1970
  "mindeeInvoiceApi": {
1964
1971
  "className": "MindeeInvoiceApi",
1965
1972
  "sourcePath": "dist/credentials/MindeeInvoiceApi.credentials.js",
@@ -1 +1 @@
1
- caaa8ca74faf77d316c3ccc90cd3f5e969b19d1669214eff36dcc62d3cc7ec39
1
+ 31d028f8ff73adef66096b1ddfcd219f920742ff3301a8a47a409de9891b8f98
@@ -34,13 +34,13 @@ export type GoogleAnalyticsV2ReportGetParams = {
34
34
  /**
35
35
  * Start
36
36
  * @displayOptions.show { dateRange: ["custom"], propertyType: ["ga4"] }
37
- * @default 2026-10-20T00:00:00.000+00:00
37
+ * @default 2026-11-02T00: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-10-27T00:00:00.000+00:00
43
+ * @default 2026-11-09T00: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-10-28T07:56:44.409+00:00
36
+ * @default 2026-11-10T09:17:05.467+00:00
37
37
  */
38
38
  startDateTime?: string | Expression<string>;
39
39
  /**
40
40
  * End
41
- * @default 2026-10-28T08:26:44.409+00:00
41
+ * @default 2026-11-10T09:47:05.467+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
+ };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * n8n - User Resource
3
+ * Re-exports all operation types for this resource.
4
+ */
5
+
6
+ import type { N8nV1UserGetNode } from './operation_get';
7
+
8
+ export * from './operation_get';
9
+
10
+ export type N8nV1UserNode = N8nV1UserGetNode;
@@ -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;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Paddle Node Types
2
+ * Paddle Classic Node Types
3
3
  *
4
4
  * Re-exports all version-specific types and provides combined union type.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Paddle Node - Version 1 - Zod Schema Factory
2
+ * Paddle Classic Node - Version 1 - Zod Schema Factory
3
3
  * Exports a factory that unions all discriminator schemas.
4
4
  *
5
5
  * Schema helpers (z, expressionSchema, etc.) are passed as parameters
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Paddle Node - Version 1
2
+ * Paddle Classic Node - Version 1
3
3
  * Re-exports all discriminator combinations.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Paddle - Coupon Resource - Zod Schema Factory
2
+ * Paddle Classic - Coupon Resource - Zod Schema Factory
3
3
  * Exports a factory that unions all operation schemas for this resource.
4
4
  *
5
5
  * Schema helpers (z, expressionSchema, etc.) are passed as parameters
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Paddle - Coupon Resource
2
+ * Paddle Classic - Coupon Resource
3
3
  * Re-exports all operation types for this resource.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Paddle Node - Version 1 - Zod Schema
2
+ * Paddle Classic Node - Version 1 - Zod Schema
3
3
  * Discriminator: resource=coupon, operation=create
4
4
  *
5
5
  * Use .parse() for strict validation or .safeParse() for error handling.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Paddle Node - Version 1
2
+ * Paddle Classic Node - Version 1
3
3
  * Discriminator: resource=coupon, operation=create
4
4
  */
5
5