n8n-nodes-base 3.4.0 → 3.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (232) hide show
  1. package/dist/cjs/build.tsbuildinfo +1 -1
  2. package/dist/credentials/SchemaRegistryApi.credentials.d.ts.map +1 -1
  3. package/dist/credentials/SchemaRegistryApi.credentials.js +33 -0
  4. package/dist/credentials/SchemaRegistryApi.credentials.js.map +1 -1
  5. package/dist/known/credentials.json +4 -1
  6. package/dist/known/nodes.json +12 -0
  7. package/dist/node-definitions/.nodes-hash +1 -1
  8. package/dist/node-definitions/index.ts +8 -0
  9. package/dist/node-definitions/nodes/n8n-nodes-base/agentDecisionResponse/index.ts +12 -0
  10. package/dist/node-definitions/nodes/n8n-nodes-base/agentDecisionResponse/v1.schema.js +25 -0
  11. package/dist/node-definitions/nodes/n8n-nodes-base/agentDecisionResponse/v1.ts +28 -0
  12. package/dist/node-definitions/nodes/n8n-nodes-base/agentDecisionTrigger/index.ts +12 -0
  13. package/dist/node-definitions/nodes/n8n-nodes-base/agentDecisionTrigger/v1.schema.js +23 -0
  14. package/dist/node-definitions/nodes/n8n-nodes-base/agentDecisionTrigger/v1.ts +20 -0
  15. package/dist/node-definitions/nodes/n8n-nodes-base/googleAnalytics/v2/resource_report/operation_get.ts +2 -2
  16. package/dist/node-definitions/nodes/n8n-nodes-base/messageAnAgent/index.ts +3 -1
  17. package/dist/node-definitions/nodes/n8n-nodes-base/messageAnAgent/v4.schema.js +32 -0
  18. package/dist/node-definitions/nodes/n8n-nodes-base/messageAnAgent/v4.ts +110 -0
  19. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftOutlook/v2/resource_event/operation_create.ts +2 -2
  20. package/dist/node-definitions/nodes/n8n-nodes-base/n8n/v1/resource_workflow/operation_activate.ts +1 -1
  21. package/dist/node-definitions/nodes/n8n-nodes-base/n8n/v1/resource_workflow/operation_deactivate.ts +1 -1
  22. package/dist/node-definitions/nodes/n8n-nodes-base/n8n/v1/resource_workflow/operation_delete.ts +1 -1
  23. package/dist/node-definitions/nodes/n8n-nodes-base/n8n/v1/resource_workflow/operation_get.ts +1 -1
  24. package/dist/node-definitions/nodes/n8n-nodes-base/n8n/v1/resource_workflow/operation_get_version.ts +1 -1
  25. package/dist/node-definitions/nodes/n8n-nodes-base/n8n/v1/resource_workflow/operation_update.ts +1 -1
  26. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/index.ts +3 -1
  27. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/index.schema.js +24 -0
  28. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/index.ts +18 -0
  29. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_file/index.schema.js +30 -0
  30. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_file/index.ts +27 -0
  31. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_file/operation_copy.schema.js +24 -0
  32. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_file/operation_copy.ts +31 -0
  33. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_file/operation_delete.schema.js +23 -0
  34. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_file/operation_delete.ts +27 -0
  35. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_file/operation_download.schema.js +24 -0
  36. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_file/operation_download.ts +43 -0
  37. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_file/operation_move.schema.js +24 -0
  38. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_file/operation_move.ts +31 -0
  39. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_file/operation_share.schema.js +29 -0
  40. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_file/operation_share.ts +66 -0
  41. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_file/operation_upload.schema.js +26 -0
  42. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_file/operation_upload.ts +44 -0
  43. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_folder/index.schema.js +30 -0
  44. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_folder/index.ts +27 -0
  45. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_folder/operation_copy.schema.js +24 -0
  46. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_folder/operation_copy.ts +31 -0
  47. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_folder/operation_create.schema.js +23 -0
  48. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_folder/operation_create.ts +32 -0
  49. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_folder/operation_delete.schema.js +23 -0
  50. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_folder/operation_delete.ts +27 -0
  51. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_folder/operation_list.schema.js +23 -0
  52. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_folder/operation_list.ts +37 -0
  53. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_folder/operation_move.schema.js +24 -0
  54. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_folder/operation_move.ts +31 -0
  55. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_folder/operation_share.schema.js +29 -0
  56. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_folder/operation_share.ts +66 -0
  57. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_user/index.schema.js +28 -0
  58. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_user/index.ts +24 -0
  59. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_user/operation_create.schema.js +25 -0
  60. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_user/operation_create.ts +40 -0
  61. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_user/operation_delete.schema.js +23 -0
  62. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_user/operation_delete.ts +27 -0
  63. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_user/operation_get.schema.js +23 -0
  64. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_user/operation_get.ts +27 -0
  65. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_user/operation_get_all.schema.js +25 -0
  66. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_user/operation_get_all.ts +46 -0
  67. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_user/operation_update.schema.js +24 -0
  68. package/dist/node-definitions/nodes/n8n-nodes-base/nextCloud/v11/resource_user/operation_update.ts +44 -0
  69. package/dist/node-definitions/nodes/n8n-nodes-base/oracleDatabase/v1.schema.js +1 -0
  70. package/dist/node-definitions/nodes/n8n-nodes-base/oracleDatabase/v1.ts +20 -0
  71. package/dist/node-definitions/nodes/n8n-nodes-base/oracleDatabase/v11.schema.js +1 -0
  72. package/dist/node-definitions/nodes/n8n-nodes-base/oracleDatabase/v11.ts +20 -0
  73. package/dist/node-definitions/nodes/n8n-nodes-base/oracleDatabase/v12.schema.js +1 -0
  74. package/dist/node-definitions/nodes/n8n-nodes-base/oracleDatabase/v12.ts +20 -0
  75. package/dist/node-definitions/nodes/n8n-nodes-base/postgres/v29.schema.js +1 -1
  76. package/dist/node-definitions/nodes/n8n-nodes-base/postgres/v29.ts +0 -5
  77. package/dist/nodes/AgentChannelApproval/AgentChannelApproval.node.d.ts +6 -0
  78. package/dist/nodes/AgentChannelApproval/AgentChannelApproval.node.d.ts.map +1 -0
  79. package/dist/nodes/AgentChannelApproval/AgentChannelApproval.node.js +157 -0
  80. package/dist/nodes/AgentChannelApproval/AgentChannelApproval.node.js.map +1 -0
  81. package/dist/nodes/AgentChannelApproval/AgentChannelApproval.node.json +7 -0
  82. package/dist/nodes/AgentDecision/AgentDecisionResponse.node.d.ts +14 -0
  83. package/dist/nodes/AgentDecision/AgentDecisionResponse.node.d.ts.map +1 -0
  84. package/dist/nodes/AgentDecision/AgentDecisionResponse.node.js +58 -0
  85. package/dist/nodes/AgentDecision/AgentDecisionResponse.node.js.map +1 -0
  86. package/dist/nodes/AgentDecision/AgentDecisionResponse.node.json +8 -0
  87. package/dist/nodes/AgentDecision/AgentDecisionTrigger.node.d.ts +7 -0
  88. package/dist/nodes/AgentDecision/AgentDecisionTrigger.node.d.ts.map +1 -0
  89. package/dist/nodes/AgentDecision/AgentDecisionTrigger.node.js +73 -0
  90. package/dist/nodes/AgentDecision/AgentDecisionTrigger.node.js.map +1 -0
  91. package/dist/nodes/AgentDecision/AgentDecisionTrigger.node.json +8 -0
  92. package/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.d.ts.map +1 -1
  93. package/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.js +9 -6
  94. package/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.js.map +1 -1
  95. package/dist/nodes/EmailReadImap/v2/utils.d.ts +2 -1
  96. package/dist/nodes/EmailReadImap/v2/utils.d.ts.map +1 -1
  97. package/dist/nodes/EmailReadImap/v2/utils.js +67 -24
  98. package/dist/nodes/EmailReadImap/v2/utils.js.map +1 -1
  99. package/dist/nodes/Git/GenericFunctions.d.ts +2 -1
  100. package/dist/nodes/Git/GenericFunctions.d.ts.map +1 -1
  101. package/dist/nodes/Git/GenericFunctions.js +9 -2
  102. package/dist/nodes/Git/GenericFunctions.js.map +1 -1
  103. package/dist/nodes/Git/Git.node.d.ts.map +1 -1
  104. package/dist/nodes/Git/Git.node.js +110 -24
  105. package/dist/nodes/Git/Git.node.js.map +1 -1
  106. package/dist/nodes/Google/Gmail/GmailTrigger.node.js +3 -2
  107. package/dist/nodes/Google/Gmail/GmailTrigger.node.js.map +1 -1
  108. package/dist/nodes/HttpRequest/V1/HttpRequestV1.node.d.ts.map +1 -1
  109. package/dist/nodes/HttpRequest/V1/HttpRequestV1.node.js +7 -0
  110. package/dist/nodes/HttpRequest/V1/HttpRequestV1.node.js.map +1 -1
  111. package/dist/nodes/HttpRequest/V2/HttpRequestV2.node.d.ts.map +1 -1
  112. package/dist/nodes/HttpRequest/V2/HttpRequestV2.node.js +7 -0
  113. package/dist/nodes/HttpRequest/V2/HttpRequestV2.node.js.map +1 -1
  114. package/dist/nodes/If/V1/IfV1.node.d.ts.map +1 -1
  115. package/dist/nodes/If/V1/IfV1.node.js +1 -0
  116. package/dist/nodes/If/V1/IfV1.node.js.map +1 -1
  117. package/dist/nodes/If/V2/IfV2.node.d.ts.map +1 -1
  118. package/dist/nodes/If/V2/IfV2.node.js +1 -0
  119. package/dist/nodes/If/V2/IfV2.node.js.map +1 -1
  120. package/dist/nodes/Kafka/utils.d.ts +24 -7
  121. package/dist/nodes/Kafka/utils.d.ts.map +1 -1
  122. package/dist/nodes/Kafka/utils.js +67 -20
  123. package/dist/nodes/Kafka/utils.js.map +1 -1
  124. package/dist/nodes/Kafka/v2/transport/config.d.ts.map +1 -1
  125. package/dist/nodes/Kafka/v2/transport/config.js +1 -10
  126. package/dist/nodes/Kafka/v2/transport/config.js.map +1 -1
  127. package/dist/nodes/MessageAnAgent/MessageAnAgent.node.d.ts.map +1 -1
  128. package/dist/nodes/MessageAnAgent/MessageAnAgent.node.js +1 -0
  129. package/dist/nodes/MessageAnAgent/MessageAnAgent.node.js.map +1 -1
  130. package/dist/nodes/MessageAnAgent/shared.d.ts.map +1 -1
  131. package/dist/nodes/MessageAnAgent/shared.js +9 -0
  132. package/dist/nodes/MessageAnAgent/shared.js.map +1 -1
  133. package/dist/nodes/MessageAnAgent/v2/MessageAnAgentV2.node.js +1 -1
  134. package/dist/nodes/MessageAnAgent/v2/MessageAnAgentV2.node.js.map +1 -1
  135. package/dist/nodes/Microsoft/Sql/GenericFunctions.d.ts.map +1 -1
  136. package/dist/nodes/Microsoft/Sql/GenericFunctions.js +3 -2
  137. package/dist/nodes/Microsoft/Sql/GenericFunctions.js.map +1 -1
  138. package/dist/nodes/Microsoft/Teams/MicrosoftTeamsTrigger.node.d.ts.map +1 -1
  139. package/dist/nodes/Microsoft/Teams/MicrosoftTeamsTrigger.node.js +12 -3
  140. package/dist/nodes/Microsoft/Teams/MicrosoftTeamsTrigger.node.js.map +1 -1
  141. package/dist/nodes/Microsoft/Teams/v2/helpers/types.d.ts +1 -0
  142. package/dist/nodes/Microsoft/Teams/v2/helpers/types.d.ts.map +1 -1
  143. package/dist/nodes/Microsoft/Teams/v2/helpers/utils-trigger.d.ts +2 -0
  144. package/dist/nodes/Microsoft/Teams/v2/helpers/utils-trigger.d.ts.map +1 -1
  145. package/dist/nodes/Microsoft/Teams/v2/helpers/utils-trigger.js +34 -0
  146. package/dist/nodes/Microsoft/Teams/v2/helpers/utils-trigger.js.map +1 -1
  147. package/dist/nodes/N8n/shared/GenericFunctions.js +1 -1
  148. package/dist/nodes/N8n/shared/GenericFunctions.js.map +1 -1
  149. package/dist/nodes/N8n/shared/WorkflowLocator.d.ts.map +1 -1
  150. package/dist/nodes/N8n/shared/WorkflowLocator.js +0 -1
  151. package/dist/nodes/N8n/shared/WorkflowLocator.js.map +1 -1
  152. package/dist/nodes/N8n/v1/N8nV1.node.js +1 -1
  153. package/dist/nodes/N8n/v1/N8nV1.node.js.map +1 -1
  154. package/dist/nodes/N8n/v2/N8nV2.node.d.ts +6 -0
  155. package/dist/nodes/N8n/v2/N8nV2.node.d.ts.map +1 -1
  156. package/dist/nodes/N8n/v2/N8nV2.node.js +3 -1
  157. package/dist/nodes/N8n/v2/N8nV2.node.js.map +1 -1
  158. package/dist/nodes/N8n/v2/generated/properties.generated.d.ts.map +1 -1
  159. package/dist/nodes/N8n/v2/generated/properties.generated.js +1265 -1
  160. package/dist/nodes/N8n/v2/generated/properties.generated.js.map +1 -1
  161. package/dist/nodes/N8n/v2/overrides.d.ts +571 -187
  162. package/dist/nodes/N8n/v2/overrides.d.ts.map +1 -1
  163. package/dist/nodes/N8n/v2/overrides.js +192 -189
  164. package/dist/nodes/N8n/v2/overrides.js.map +1 -1
  165. package/dist/nodes/NextCloud/GenericFunctions.d.ts +1 -0
  166. package/dist/nodes/NextCloud/GenericFunctions.d.ts.map +1 -1
  167. package/dist/nodes/NextCloud/GenericFunctions.js +37 -0
  168. package/dist/nodes/NextCloud/GenericFunctions.js.map +1 -1
  169. package/dist/nodes/NextCloud/NextCloud.node.d.ts.map +1 -1
  170. package/dist/nodes/NextCloud/NextCloud.node.js +6 -1
  171. package/dist/nodes/NextCloud/NextCloud.node.js.map +1 -1
  172. package/dist/nodes/NextCloud/__schema__/v1.1.0/file/download.json +24 -0
  173. package/dist/nodes/NextCloud/__schema__/v1.1.0/folder/create.json +9 -0
  174. package/dist/nodes/NextCloud/__schema__/v1.1.0/folder/list.json +24 -0
  175. package/dist/nodes/Notion/shared/GenericFunctions.d.ts +1 -1
  176. package/dist/nodes/Oracle/Sql/actions/common.descriptions.d.ts +1 -0
  177. package/dist/nodes/Oracle/Sql/actions/common.descriptions.d.ts.map +1 -1
  178. package/dist/nodes/Oracle/Sql/actions/common.descriptions.js +43 -1
  179. package/dist/nodes/Oracle/Sql/actions/common.descriptions.js.map +1 -1
  180. package/dist/nodes/Oracle/Sql/actions/database/select.operation.d.ts.map +1 -1
  181. package/dist/nodes/Oracle/Sql/actions/database/select.operation.js +36 -5
  182. package/dist/nodes/Oracle/Sql/actions/database/select.operation.js.map +1 -1
  183. package/dist/nodes/Oracle/Sql/helpers/interfaces.d.ts +9 -0
  184. package/dist/nodes/Oracle/Sql/helpers/interfaces.d.ts.map +1 -1
  185. package/dist/nodes/Oracle/Sql/helpers/utils.d.ts +16 -1
  186. package/dist/nodes/Oracle/Sql/helpers/utils.d.ts.map +1 -1
  187. package/dist/nodes/Oracle/Sql/helpers/utils.js +133 -1
  188. package/dist/nodes/Oracle/Sql/helpers/utils.js.map +1 -1
  189. package/dist/nodes/Postgres/v2/actions/common.descriptions.d.ts.map +1 -1
  190. package/dist/nodes/Postgres/v2/actions/common.descriptions.js +4 -1
  191. package/dist/nodes/Postgres/v2/actions/common.descriptions.js.map +1 -1
  192. package/dist/nodes/Postgres/v2/actions/database/executeQuery.operation.d.ts.map +1 -1
  193. package/dist/nodes/Postgres/v2/actions/database/executeQuery.operation.js +2 -1
  194. package/dist/nodes/Postgres/v2/actions/database/executeQuery.operation.js.map +1 -1
  195. package/dist/nodes/Postgres/v2/helpers/utils.d.ts +1 -0
  196. package/dist/nodes/Postgres/v2/helpers/utils.d.ts.map +1 -1
  197. package/dist/nodes/Postgres/v2/helpers/utils.js +82 -32
  198. package/dist/nodes/Postgres/v2/helpers/utils.js.map +1 -1
  199. package/dist/nodes/RssFeedRead/RssFeedRead.node.d.ts.map +1 -1
  200. package/dist/nodes/RssFeedRead/RssFeedRead.node.js +1 -0
  201. package/dist/nodes/RssFeedRead/RssFeedRead.node.js.map +1 -1
  202. package/dist/nodes/Snowflake/GenericFunctions.d.ts +2 -0
  203. package/dist/nodes/Snowflake/GenericFunctions.d.ts.map +1 -1
  204. package/dist/nodes/Snowflake/GenericFunctions.js +6 -0
  205. package/dist/nodes/Snowflake/GenericFunctions.js.map +1 -1
  206. package/dist/nodes/Snowflake/Snowflake.node.d.ts.map +1 -1
  207. package/dist/nodes/Snowflake/Snowflake.node.js +155 -98
  208. package/dist/nodes/Snowflake/Snowflake.node.js.map +1 -1
  209. package/dist/nodes/Snowflake/__tests__/snowflake-test-utils.d.ts +26 -0
  210. package/dist/nodes/Snowflake/__tests__/snowflake-test-utils.d.ts.map +1 -0
  211. package/dist/nodes/Snowflake/__tests__/snowflake-test-utils.js +36 -0
  212. package/dist/nodes/Snowflake/__tests__/snowflake-test-utils.js.map +1 -0
  213. package/dist/nodes/Splunk/v2/transport/index.d.ts +1 -1
  214. package/dist/nodes/Splunk/v2/transport/index.d.ts.map +1 -1
  215. package/dist/nodes/Splunk/v2/transport/index.js +10 -12
  216. package/dist/nodes/Splunk/v2/transport/index.js.map +1 -1
  217. package/dist/nodes/SpreadsheetFile/v1/SpreadsheetFileV1.node.js +1 -1
  218. package/dist/nodes/SpreadsheetFile/v1/SpreadsheetFileV1.node.js.map +1 -1
  219. package/dist/nodes/Transform/Limit/Limit.node.d.ts.map +1 -1
  220. package/dist/nodes/Transform/Limit/Limit.node.js +1 -0
  221. package/dist/nodes/Transform/Limit/Limit.node.js.map +1 -1
  222. package/dist/types/credentials.json +4 -4
  223. package/dist/types/nodes.json +16 -13
  224. package/dist/utils/sql-query-parameters.d.ts +3 -1
  225. package/dist/utils/sql-query-parameters.d.ts.map +1 -1
  226. package/dist/utils/sql-query-parameters.js +32 -9
  227. package/dist/utils/sql-query-parameters.js.map +1 -1
  228. package/package.json +15 -11
  229. package/dist/nodes/N8n/shared/constants.d.ts +0 -3
  230. package/dist/nodes/N8n/shared/constants.d.ts.map +0 -1
  231. package/dist/nodes/N8n/shared/constants.js +0 -8
  232. package/dist/nodes/N8n/shared/constants.js.map +0 -1
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Nextcloud Node - Version 1.1
3
+ * Discriminator: resource=folder, operation=list
4
+ */
5
+
6
+
7
+ interface Credentials {
8
+ nextCloudApi: CredentialReference;
9
+ nextCloudOAuth2Api: CredentialReference;
10
+ }
11
+
12
+ /** Return the contents of a given folder */
13
+ export type NextCloudV11FolderListParams = {
14
+ resource: 'folder';
15
+ operation: 'list';
16
+ authentication?: 'accessToken' | 'oAuth2' | Expression<string>;
17
+ /**
18
+ * The path of which to list the content. The path should start with "/".
19
+ */
20
+ path?: string | Expression<string>;
21
+ };
22
+
23
+ export type NextCloudV11FolderListOutput = {
24
+ contentLength?: string;
25
+ contentType?: string;
26
+ eTag?: string;
27
+ lastModified?: string;
28
+ path?: string;
29
+ type?: string;
30
+ };
31
+
32
+ export type NextCloudV11FolderListNode = {
33
+ type: 'n8n-nodes-base.nextCloud';
34
+ version: 1.1;
35
+ config: NodeConfig<NextCloudV11FolderListParams> & { credentials?: Credentials };
36
+ output?: Items<NextCloudV11FolderListOutput>;
37
+ };
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Nextcloud Node - Version 1.1 - Zod Schema
3
+ * Discriminator: resource=folder, operation=move
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('folder'),
18
+ operation: z.literal('move'),
19
+ authentication: z.union([z.literal('accessToken'), z.literal('oAuth2'), expressionSchema]).optional(),
20
+ path: stringOrExpression,
21
+ toPath: stringOrExpression,
22
+ }).optional(),
23
+ });
24
+ };
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Nextcloud Node - Version 1.1
3
+ * Discriminator: resource=folder, operation=move
4
+ */
5
+
6
+
7
+ interface Credentials {
8
+ nextCloudApi: CredentialReference;
9
+ nextCloudOAuth2Api: CredentialReference;
10
+ }
11
+
12
+ /** Move a file */
13
+ export type NextCloudV11FolderMoveParams = {
14
+ resource: 'folder';
15
+ operation: 'move';
16
+ authentication?: 'accessToken' | 'oAuth2' | Expression<string>;
17
+ /**
18
+ * The path of file or folder to move. The path should start with "/".
19
+ */
20
+ path: string | Expression<string>;
21
+ /**
22
+ * The new path of file or folder. The path should start with "/".
23
+ */
24
+ toPath: string | Expression<string>;
25
+ };
26
+
27
+ export type NextCloudV11FolderMoveNode = {
28
+ type: 'n8n-nodes-base.nextCloud';
29
+ version: 1.1;
30
+ config: NodeConfig<NextCloudV11FolderMoveParams> & { credentials?: Credentials };
31
+ };
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Nextcloud Node - Version 1.1 - Zod Schema
3
+ * Discriminator: resource=folder, operation=share
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, resolveSchema, resolveOneOfSchemas }) {
14
+
15
+ return z.object({
16
+ parameters: z.object({
17
+ resource: z.literal('folder'),
18
+ operation: z.literal('share'),
19
+ authentication: z.union([z.literal('accessToken'), z.literal('oAuth2'), expressionSchema]).optional(),
20
+ path: stringOrExpression,
21
+ shareType: z.union([z.literal(7), z.literal(4), z.literal(1), z.literal(200), z.literal(3), z.literal(0), expressionSchema]).optional(),
22
+ circleId: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"shareType":[7]}}, defaults: {"shareType":0} }),
23
+ email: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"shareType":[4]}}, defaults: {"shareType":0} }),
24
+ groupId: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"shareType":[1]}}, defaults: {"shareType":0} }),
25
+ user: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"shareType":[0]}}, defaults: {"shareType":0} }),
26
+ options: z.object({ password: stringOrExpression.optional(), permissions: z.union([z.literal(31), z.literal(4), z.literal(8), z.literal(1), z.literal(2), expressionSchema]).optional() }).optional(),
27
+ }).optional(),
28
+ });
29
+ };
@@ -0,0 +1,66 @@
1
+ /**
2
+ * Nextcloud Node - Version 1.1
3
+ * Discriminator: resource=folder, operation=share
4
+ */
5
+
6
+
7
+ interface Credentials {
8
+ nextCloudApi: CredentialReference;
9
+ nextCloudOAuth2Api: CredentialReference;
10
+ }
11
+
12
+ /** Share a file */
13
+ export type NextCloudV11FolderShareParams = {
14
+ resource: 'folder';
15
+ operation: 'share';
16
+ authentication?: 'accessToken' | 'oAuth2' | Expression<string>;
17
+ /**
18
+ * The file path of the file to share. Has to contain the full path. The path should start with "/".
19
+ */
20
+ path: string | Expression<string>;
21
+ /**
22
+ * The share permissions to set
23
+ * @default 0
24
+ */
25
+ shareType?: 7 | 4 | 1 | 200 | 3 | 0 | Expression<number>;
26
+ /**
27
+ * The ID of the circle to share with
28
+ * @displayOptions.show { shareType: [7] }
29
+ */
30
+ circleId?: string | Expression<string>;
31
+ /**
32
+ * The Email address to share with
33
+ * @displayOptions.show { shareType: [4] }
34
+ */
35
+ email?: string | Expression<string>;
36
+ /**
37
+ * The ID of the group to share with
38
+ * @displayOptions.show { shareType: [1] }
39
+ */
40
+ groupId?: string | Expression<string>;
41
+ /**
42
+ * The user to share with
43
+ * @displayOptions.show { shareType: [0] }
44
+ */
45
+ user?: string | Expression<string>;
46
+ /**
47
+ * Options
48
+ * @default {}
49
+ */
50
+ options?: {
51
+ /** Optional search string
52
+ * @displayOptions.show { /shareType: [3] }
53
+ */
54
+ password?: string | Expression<string>;
55
+ /** The share permissions to set
56
+ * @default 1
57
+ */
58
+ permissions?: 31 | 4 | 8 | 1 | 2 | Expression<number>;
59
+ };
60
+ };
61
+
62
+ export type NextCloudV11FolderShareNode = {
63
+ type: 'n8n-nodes-base.nextCloud';
64
+ version: 1.1;
65
+ config: NodeConfig<NextCloudV11FolderShareParams> & { credentials?: Credentials };
66
+ };
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Nextcloud - 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 getCreateSchema = require('./operation_create.schema');
12
+ const getDeleteSchema = require('./operation_delete.schema');
13
+ const getGetSchema = require('./operation_get.schema');
14
+ const getGetAllSchema = require('./operation_get_all.schema');
15
+ const getUpdateSchema = require('./operation_update.schema');
16
+
17
+ module.exports = function getSchema(helpers) {
18
+ const { parameters, z } = helpers;
19
+ // Apply operation default if not set
20
+ const effectiveParams = parameters.operation === undefined ? { ...parameters, operation: 'create' } : parameters;
21
+ return z.union([
22
+ getCreateSchema({ ...helpers, parameters: effectiveParams }),
23
+ getDeleteSchema({ ...helpers, parameters: effectiveParams }),
24
+ getGetSchema({ ...helpers, parameters: effectiveParams }),
25
+ getGetAllSchema({ ...helpers, parameters: effectiveParams }),
26
+ getUpdateSchema({ ...helpers, parameters: effectiveParams }),
27
+ ]);
28
+ };
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Nextcloud - User Resource
3
+ * Re-exports all operation types for this resource.
4
+ */
5
+
6
+ import type { NextCloudV11UserCreateNode } from './operation_create';
7
+ import type { NextCloudV11UserDeleteNode } from './operation_delete';
8
+ import type { NextCloudV11UserGetNode } from './operation_get';
9
+ import type { NextCloudV11UserGetAllNode } from './operation_get_all';
10
+ import type { NextCloudV11UserUpdateNode } from './operation_update';
11
+
12
+ export * from './operation_create';
13
+ export * from './operation_delete';
14
+ export * from './operation_get';
15
+ export * from './operation_get_all';
16
+ export * from './operation_update';
17
+
18
+ export type NextCloudV11UserNode =
19
+ | NextCloudV11UserCreateNode
20
+ | NextCloudV11UserDeleteNode
21
+ | NextCloudV11UserGetNode
22
+ | NextCloudV11UserGetAllNode
23
+ | NextCloudV11UserUpdateNode
24
+ ;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Nextcloud Node - Version 1.1 - Zod Schema
3
+ * Discriminator: resource=user, operation=create
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('create').default('create'),
19
+ authentication: z.union([z.literal('accessToken'), z.literal('oAuth2'), expressionSchema]).optional(),
20
+ userId: stringOrExpression,
21
+ email: stringOrExpression,
22
+ additionalFields: z.object({ displayName: stringOrExpression.optional() }).optional(),
23
+ }).optional(),
24
+ });
25
+ };
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Nextcloud Node - Version 1.1
3
+ * Discriminator: resource=user, operation=create
4
+ */
5
+
6
+
7
+ interface Credentials {
8
+ nextCloudApi: CredentialReference;
9
+ nextCloudOAuth2Api: CredentialReference;
10
+ }
11
+
12
+ /** Create a folder */
13
+ export type NextCloudV11UserCreateParams = {
14
+ resource: 'user';
15
+ operation: 'create';
16
+ authentication?: 'accessToken' | 'oAuth2' | Expression<string>;
17
+ /**
18
+ * Username the user will have
19
+ */
20
+ userId: string | Expression<string>;
21
+ /**
22
+ * The email of the user to invite
23
+ */
24
+ email: string | Expression<string>;
25
+ /**
26
+ * Additional Fields
27
+ * @default {}
28
+ */
29
+ additionalFields?: {
30
+ /** The display name of the user to invite
31
+ */
32
+ displayName?: string | Expression<string>;
33
+ };
34
+ };
35
+
36
+ export type NextCloudV11UserCreateNode = {
37
+ type: 'n8n-nodes-base.nextCloud';
38
+ version: 1.1;
39
+ config: NodeConfig<NextCloudV11UserCreateParams> & { credentials?: Credentials };
40
+ };
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Nextcloud Node - Version 1.1 - Zod Schema
3
+ * Discriminator: resource=user, operation=delete
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('delete'),
19
+ authentication: z.union([z.literal('accessToken'), z.literal('oAuth2'), expressionSchema]).optional(),
20
+ userId: stringOrExpression,
21
+ }).optional(),
22
+ });
23
+ };
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Nextcloud Node - Version 1.1
3
+ * Discriminator: resource=user, operation=delete
4
+ */
5
+
6
+
7
+ interface Credentials {
8
+ nextCloudApi: CredentialReference;
9
+ nextCloudOAuth2Api: CredentialReference;
10
+ }
11
+
12
+ /** Delete a file */
13
+ export type NextCloudV11UserDeleteParams = {
14
+ resource: 'user';
15
+ operation: 'delete';
16
+ authentication?: 'accessToken' | 'oAuth2' | Expression<string>;
17
+ /**
18
+ * Username the user will have
19
+ */
20
+ userId: string | Expression<string>;
21
+ };
22
+
23
+ export type NextCloudV11UserDeleteNode = {
24
+ type: 'n8n-nodes-base.nextCloud';
25
+ version: 1.1;
26
+ config: NodeConfig<NextCloudV11UserDeleteParams> & { credentials?: Credentials };
27
+ };
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Nextcloud Node - Version 1.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'),
19
+ authentication: z.union([z.literal('accessToken'), z.literal('oAuth2'), expressionSchema]).optional(),
20
+ userId: stringOrExpression,
21
+ }).optional(),
22
+ });
23
+ };
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Nextcloud Node - Version 1.1
3
+ * Discriminator: resource=user, operation=get
4
+ */
5
+
6
+
7
+ interface Credentials {
8
+ nextCloudApi: CredentialReference;
9
+ nextCloudOAuth2Api: CredentialReference;
10
+ }
11
+
12
+ /** Retrieve information about a single user */
13
+ export type NextCloudV11UserGetParams = {
14
+ resource: 'user';
15
+ operation: 'get';
16
+ authentication?: 'accessToken' | 'oAuth2' | Expression<string>;
17
+ /**
18
+ * Username the user will have
19
+ */
20
+ userId: string | Expression<string>;
21
+ };
22
+
23
+ export type NextCloudV11UserGetNode = {
24
+ type: 'n8n-nodes-base.nextCloud';
25
+ version: 1.1;
26
+ config: NodeConfig<NextCloudV11UserGetParams> & { credentials?: Credentials };
27
+ };
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Nextcloud Node - Version 1.1 - Zod Schema
3
+ * Discriminator: resource=user, operation=getAll
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, resolveSchema, resolveOneOfSchemas }) {
14
+
15
+ return z.object({
16
+ parameters: z.object({
17
+ resource: z.literal('user'),
18
+ operation: z.literal('getAll'),
19
+ authentication: z.union([z.literal('accessToken'), z.literal('oAuth2'), expressionSchema]).optional(),
20
+ returnAll: booleanOrExpression.optional(),
21
+ limit: resolveSchema({ parameters, schema: numberOrExpression, required: false, displayOptions: {"show":{"returnAll":[false]}}, defaults: {"returnAll":false} }),
22
+ options: z.object({ search: stringOrExpression.optional(), offset: numberOrExpression.optional() }).optional(),
23
+ }).optional(),
24
+ });
25
+ };
@@ -0,0 +1,46 @@
1
+ /**
2
+ * Nextcloud Node - Version 1.1
3
+ * Discriminator: resource=user, operation=getAll
4
+ */
5
+
6
+
7
+ interface Credentials {
8
+ nextCloudApi: CredentialReference;
9
+ nextCloudOAuth2Api: CredentialReference;
10
+ }
11
+
12
+ /** Retrieve a list of users */
13
+ export type NextCloudV11UserGetAllParams = {
14
+ resource: 'user';
15
+ operation: 'getAll';
16
+ authentication?: 'accessToken' | 'oAuth2' | Expression<string>;
17
+ /**
18
+ * Whether to return all results or only up to a given limit
19
+ * @default false
20
+ */
21
+ returnAll?: boolean | Expression<boolean>;
22
+ /**
23
+ * Max number of results to return
24
+ * @displayOptions.show { returnAll: [false] }
25
+ * @default 50
26
+ */
27
+ limit?: number | Expression<number>;
28
+ /**
29
+ * Options
30
+ * @default {}
31
+ */
32
+ options?: {
33
+ /** Optional search string
34
+ */
35
+ search?: string | Expression<string>;
36
+ /** Optional offset value
37
+ */
38
+ offset?: number | Expression<number>;
39
+ };
40
+ };
41
+
42
+ export type NextCloudV11UserGetAllNode = {
43
+ type: 'n8n-nodes-base.nextCloud';
44
+ version: 1.1;
45
+ config: NodeConfig<NextCloudV11UserGetAllParams> & { credentials?: Credentials };
46
+ };
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Nextcloud Node - Version 1.1 - Zod Schema
3
+ * Discriminator: resource=user, operation=update
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('update'),
19
+ authentication: z.union([z.literal('accessToken'), z.literal('oAuth2'), expressionSchema]).optional(),
20
+ userId: stringOrExpression,
21
+ updateFields: z.object({ field: z.object({ key: z.union([z.literal('address'), z.literal('displayname'), z.literal('email'), z.literal('password'), z.literal('twitter'), z.literal('website'), expressionSchema]).optional(), value: stringOrExpression.optional() }).optional() }).optional(),
22
+ }).optional(),
23
+ });
24
+ };
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Nextcloud Node - Version 1.1
3
+ * Discriminator: resource=user, operation=update
4
+ */
5
+
6
+
7
+ interface Credentials {
8
+ nextCloudApi: CredentialReference;
9
+ nextCloudOAuth2Api: CredentialReference;
10
+ }
11
+
12
+ /** Edit attributes related to a user */
13
+ export type NextCloudV11UserUpdateParams = {
14
+ resource: 'user';
15
+ operation: 'update';
16
+ authentication?: 'accessToken' | 'oAuth2' | Expression<string>;
17
+ /**
18
+ * Username the user will have
19
+ */
20
+ userId: string | Expression<string>;
21
+ /**
22
+ * Update Fields
23
+ * @default {}
24
+ */
25
+ updateFields?: {
26
+ /** Fields
27
+ */
28
+ field?: {
29
+ /** Key of the updated attribute
30
+ * @default email
31
+ */
32
+ key?: 'address' | 'displayname' | 'email' | 'password' | 'twitter' | 'website' | Expression<string>;
33
+ /** Value of the updated attribute
34
+ */
35
+ value?: string | Expression<string>;
36
+ };
37
+ };
38
+ };
39
+
40
+ export type NextCloudV11UserUpdateNode = {
41
+ type: 'n8n-nodes-base.nextCloud';
42
+ version: 1.1;
43
+ config: NodeConfig<NextCloudV11UserUpdateParams> & { credentials?: Credentials };
44
+ };
@@ -26,6 +26,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
26
26
  columns: resolveOneOfSchemas({ parameters, variants: [{ schema: resourceMapperValueSchema, required: false, displayOptions: {"show":{"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}, defaults: {"resource":"database","operation":"insert","table":{"mode":"list","value":""}} }, { schema: resourceMapperValueSchema, required: false, displayOptions: {"show":{"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}, defaults: {"resource":"database","operation":"insert","table":{"mode":"list","value":""}} }, { schema: resourceMapperValueSchema, required: false, displayOptions: {"show":{"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}, defaults: {"resource":"database","operation":"insert","table":{"mode":"list","value":""}} }] }),
27
27
  returnAll: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}, defaults: {"resource":"database","operation":"insert","table":{"mode":"list","value":""}} }),
28
28
  limit: resolveSchema({ parameters, schema: numberOrExpression, required: false, displayOptions: {"show":{"resource":["database"],"operation":["select"],"returnAll":[false]},"hide":{"table":[""]}}, defaults: {"resource":"database","operation":"insert","returnAll":false,"table":{"mode":"list","value":""}} }),
29
+ startAfter: resolveSchema({ parameters, schema: z.object({ values: z.object({ column: stringOrExpression.optional(), value: stringOrExpression.optional() }).optional() }), required: false, displayOptions: {"show":{"returnAll":[false],"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}, defaults: {"returnAll":false,"resource":"database","operation":"insert","table":{"mode":"list","value":""}} }),
29
30
  sort: resolveSchema({ parameters, schema: z.object({ values: z.array(z.object({ column: stringOrExpression.optional(), direction: z.union([z.literal('ASC'), z.literal('DESC'), expressionSchema]).optional() })).optional() }), required: false, displayOptions: {"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}, defaults: {"resource":"database","operation":"insert","table":{"mode":"list","value":""}} }),
30
31
  });
31
32
 
@@ -220,6 +220,26 @@ export interface OracleDatabaseV1Params {
220
220
  * @default 50
221
221
  */
222
222
  limit?: number | Expression<number>;
223
+ /**
224
+ * Get the table one page at a time. Each page has the rows after the last value of the page before. Limit sets the page size. To get the biggest values first, sort this column DESC.
225
+ * @displayOptions.show { returnAll: [false], resource: ["database"], operation: ["select"] }
226
+ * @displayOptions.hide { table: [""] }
227
+ * @default {}
228
+ */
229
+ startAfter?: {
230
+ /** Values
231
+ */
232
+ values?: {
233
+ /** A unique column that is never null, for example the primary key. Choose from the list, or specify an ID using an &lt;a href="https://docs.n8n.io/code/expressions/" target="_blank"&gt;expression&lt;/a&gt;.
234
+ * @loadOptionsMethod getColumns
235
+ */
236
+ column?: string | Expression<string>;
237
+ /** The value of the column in the last row of the page before. Leave empty to get the first page.
238
+ * @hint The node runs once for each input item. In a loop, give it only the last row of the page before, for example with a Limit node that keeps the last item, and use {{ $json.ID }}. Oracle returns a column name in upper case unless the column was created with a quoted name.
239
+ */
240
+ value?: string | Expression<string>;
241
+ };
242
+ };
223
243
  /**
224
244
  * Sort
225
245
  * @displayOptions.show { resource: ["database"], operation: ["select"] }
@@ -26,6 +26,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
26
26
  columns: resolveOneOfSchemas({ parameters, variants: [{ schema: resourceMapperValueSchema, required: false, displayOptions: {"show":{"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}, defaults: {"resource":"database","operation":"insert","table":{"mode":"list","value":""}} }, { schema: resourceMapperValueSchema, required: false, displayOptions: {"show":{"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}, defaults: {"resource":"database","operation":"insert","table":{"mode":"list","value":""}} }, { schema: resourceMapperValueSchema, required: false, displayOptions: {"show":{"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}, defaults: {"resource":"database","operation":"insert","table":{"mode":"list","value":""}} }] }),
27
27
  returnAll: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}, defaults: {"resource":"database","operation":"insert","table":{"mode":"list","value":""}} }),
28
28
  limit: resolveSchema({ parameters, schema: numberOrExpression, required: false, displayOptions: {"show":{"resource":["database"],"operation":["select"],"returnAll":[false]},"hide":{"table":[""]}}, defaults: {"resource":"database","operation":"insert","returnAll":false,"table":{"mode":"list","value":""}} }),
29
+ startAfter: resolveSchema({ parameters, schema: z.object({ values: z.object({ column: stringOrExpression.optional(), value: stringOrExpression.optional() }).optional() }), required: false, displayOptions: {"show":{"returnAll":[false],"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}, defaults: {"returnAll":false,"resource":"database","operation":"insert","table":{"mode":"list","value":""}} }),
29
30
  sort: resolveSchema({ parameters, schema: z.object({ values: z.array(z.object({ column: stringOrExpression.optional(), direction: z.union([z.literal('ASC'), z.literal('DESC'), expressionSchema]).optional() })).optional() }), required: false, displayOptions: {"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}, defaults: {"resource":"database","operation":"insert","table":{"mode":"list","value":""}} }),
30
31
  });
31
32
 
@@ -220,6 +220,26 @@ export interface OracleDatabaseV11Params {
220
220
  * @default 50
221
221
  */
222
222
  limit?: number | Expression<number>;
223
+ /**
224
+ * Get the table one page at a time. Each page has the rows after the last value of the page before. Limit sets the page size. To get the biggest values first, sort this column DESC.
225
+ * @displayOptions.show { returnAll: [false], resource: ["database"], operation: ["select"] }
226
+ * @displayOptions.hide { table: [""] }
227
+ * @default {}
228
+ */
229
+ startAfter?: {
230
+ /** Values
231
+ */
232
+ values?: {
233
+ /** A unique column that is never null, for example the primary key. Choose from the list, or specify an ID using an &lt;a href="https://docs.n8n.io/code/expressions/" target="_blank"&gt;expression&lt;/a&gt;.
234
+ * @loadOptionsMethod getColumns
235
+ */
236
+ column?: string | Expression<string>;
237
+ /** The value of the column in the last row of the page before. Leave empty to get the first page.
238
+ * @hint The node runs once for each input item. In a loop, give it only the last row of the page before, for example with a Limit node that keeps the last item, and use {{ $json.ID }}. Oracle returns a column name in upper case unless the column was created with a quoted name.
239
+ */
240
+ value?: string | Expression<string>;
241
+ };
242
+ };
223
243
  /**
224
244
  * Sort
225
245
  * @displayOptions.show { resource: ["database"], operation: ["select"] }
@@ -26,6 +26,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
26
26
  columns: resolveOneOfSchemas({ parameters, variants: [{ schema: resourceMapperValueSchema, required: false, displayOptions: {"show":{"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}, defaults: {"resource":"database","operation":"insert","table":{"mode":"list","value":""}} }, { schema: resourceMapperValueSchema, required: false, displayOptions: {"show":{"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}, defaults: {"resource":"database","operation":"insert","table":{"mode":"list","value":""}} }, { schema: resourceMapperValueSchema, required: false, displayOptions: {"show":{"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}, defaults: {"resource":"database","operation":"insert","table":{"mode":"list","value":""}} }] }),
27
27
  returnAll: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}, defaults: {"resource":"database","operation":"insert","table":{"mode":"list","value":""}} }),
28
28
  limit: resolveSchema({ parameters, schema: numberOrExpression, required: false, displayOptions: {"show":{"resource":["database"],"operation":["select"],"returnAll":[false]},"hide":{"table":[""]}}, defaults: {"resource":"database","operation":"insert","returnAll":false,"table":{"mode":"list","value":""}} }),
29
+ startAfter: resolveSchema({ parameters, schema: z.object({ values: z.object({ column: stringOrExpression.optional(), value: stringOrExpression.optional() }).optional() }), required: false, displayOptions: {"show":{"returnAll":[false],"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}, defaults: {"returnAll":false,"resource":"database","operation":"insert","table":{"mode":"list","value":""}} }),
29
30
  sort: resolveSchema({ parameters, schema: z.object({ values: z.array(z.object({ column: stringOrExpression.optional(), direction: z.union([z.literal('ASC'), z.literal('DESC'), expressionSchema]).optional() })).optional() }), required: false, displayOptions: {"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}, defaults: {"resource":"database","operation":"insert","table":{"mode":"list","value":""}} }),
30
31
  });
31
32