n8n-nodes-base 2.11.2 → 2.13.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 (228) hide show
  1. package/dist/credentials/BaserowApi.credentials.d.ts +6 -1
  2. package/dist/credentials/BaserowApi.credentials.d.ts.map +1 -1
  3. package/dist/credentials/BaserowApi.credentials.js +42 -0
  4. package/dist/credentials/BaserowApi.credentials.js.map +1 -1
  5. package/dist/credentials/BaserowTokenApi.credentials.d.ts +10 -0
  6. package/dist/credentials/BaserowTokenApi.credentials.d.ts.map +1 -0
  7. package/dist/credentials/BaserowTokenApi.credentials.js +42 -0
  8. package/dist/credentials/BaserowTokenApi.credentials.js.map +1 -0
  9. package/dist/credentials/CustomerIoApi.credentials.d.ts.map +1 -1
  10. package/dist/credentials/CustomerIoApi.credentials.js +4 -5
  11. package/dist/credentials/CustomerIoApi.credentials.js.map +1 -1
  12. package/dist/credentials/FacebookGraphAppApi.credentials.js +1 -1
  13. package/dist/credentials/FacebookGraphAppApi.credentials.js.map +1 -1
  14. package/dist/credentials/MicrosoftTeamsOAuth2Api.credentials.js +1 -1
  15. package/dist/credentials/OAuth2Api.credentials.d.ts.map +1 -1
  16. package/dist/credentials/OAuth2Api.credentials.js +8 -0
  17. package/dist/credentials/OAuth2Api.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/airtable/index.ts +3 -1
  21. package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/index.schema.js +22 -0
  22. package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/index.ts +15 -0
  23. package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_base/index.schema.js +22 -0
  24. package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_base/index.ts +15 -0
  25. package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_base/operation_get_many.schema.js +25 -0
  26. package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_base/operation_get_many.ts +45 -0
  27. package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_base/operation_get_schema.schema.js +23 -0
  28. package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_base/operation_get_schema.ts +29 -0
  29. package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/index.schema.js +30 -0
  30. package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/index.ts +27 -0
  31. package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/operation_create.schema.js +26 -0
  32. package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/operation_create.ts +58 -0
  33. package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/operation_delete_record.schema.js +25 -0
  34. package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/operation_delete_record.ts +38 -0
  35. package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/operation_get.schema.js +26 -0
  36. package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/operation_get.ts +48 -0
  37. package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/operation_search.schema.js +29 -0
  38. package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/operation_search.ts +85 -0
  39. package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/operation_update.schema.js +26 -0
  40. package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/operation_update.ts +57 -0
  41. package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/operation_upsert.schema.js +26 -0
  42. package/dist/node-definitions/nodes/n8n-nodes-base/airtable/v22/resource_record/operation_upsert.ts +57 -0
  43. package/dist/node-definitions/nodes/n8n-nodes-base/asana/v1/resource_user/operation_get.ts +7 -0
  44. package/dist/node-definitions/nodes/n8n-nodes-base/azureCosmosDb/v1/resource_item/operation_query.ts +15 -0
  45. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/index.ts +3 -1
  46. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/index.schema.js +6 -0
  47. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/index.ts +9 -0
  48. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_batch_create.schema.js +27 -0
  49. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_batch_create.ts +74 -0
  50. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_batch_delete.schema.js +27 -0
  51. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_batch_delete.ts +51 -0
  52. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_batch_update.schema.js +27 -0
  53. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_batch_update.ts +73 -0
  54. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_create.schema.js +2 -1
  55. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_create.ts +4 -0
  56. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_delete.schema.js +3 -2
  57. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_delete.ts +4 -0
  58. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_get.schema.js +3 -2
  59. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_get.ts +4 -0
  60. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_get_all.schema.js +2 -1
  61. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_get_all.ts +5 -1
  62. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_update.schema.js +2 -1
  63. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_update.ts +4 -0
  64. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/index.schema.js +18 -0
  65. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/index.ts +10 -0
  66. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/index.schema.js +34 -0
  67. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/index.ts +33 -0
  68. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_batch_create.schema.js +27 -0
  69. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_batch_create.ts +74 -0
  70. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_batch_delete.schema.js +27 -0
  71. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_batch_delete.ts +51 -0
  72. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_batch_update.schema.js +27 -0
  73. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_batch_update.ts +73 -0
  74. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_create.schema.js +27 -0
  75. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_create.ts +61 -0
  76. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_delete.schema.js +25 -0
  77. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_delete.ts +38 -0
  78. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_get.schema.js +25 -0
  79. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_get.ts +38 -0
  80. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_get_all.schema.js +27 -0
  81. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_get_all.ts +92 -0
  82. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_update.schema.js +28 -0
  83. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_update.ts +65 -0
  84. package/dist/node-definitions/nodes/n8n-nodes-base/clickUp/v1/resource_list/operation_custom_fields.ts +1 -0
  85. package/dist/node-definitions/nodes/n8n-nodes-base/coda/v1/resource_table/operation_create_row.ts +10 -0
  86. package/dist/node-definitions/nodes/n8n-nodes-base/coda/v11/resource_table/operation_create_row.ts +10 -0
  87. package/dist/node-definitions/nodes/n8n-nodes-base/coinGecko/v1/resource_coin/operation_price.ts +5 -0
  88. package/dist/node-definitions/nodes/n8n-nodes-base/dropbox/v1/resource_folder/operation_delete.ts +7 -0
  89. package/dist/node-definitions/nodes/n8n-nodes-base/dropbox/v1/resource_search/operation_query.ts +3 -0
  90. package/dist/node-definitions/nodes/n8n-nodes-base/elasticsearch/v1/resource_document/operation_get_all.ts +1 -0
  91. package/dist/node-definitions/nodes/n8n-nodes-base/filter/v1.ts +1 -1
  92. package/dist/node-definitions/nodes/n8n-nodes-base/filter/v2.ts +1 -1
  93. package/dist/node-definitions/nodes/n8n-nodes-base/filter/v21.ts +1 -1
  94. package/dist/node-definitions/nodes/n8n-nodes-base/filter/v22.ts +1 -1
  95. package/dist/node-definitions/nodes/n8n-nodes-base/filter/v23.ts +1 -1
  96. package/dist/node-definitions/nodes/n8n-nodes-base/gSuiteAdmin/v1/resource_user/operation_create.ts +1 -0
  97. package/dist/node-definitions/nodes/n8n-nodes-base/gSuiteAdmin/v1/resource_user/operation_get.ts +20 -0
  98. package/dist/node-definitions/nodes/n8n-nodes-base/gitlab/v1/resource_file/operation_get.ts +5 -0
  99. package/dist/node-definitions/nodes/n8n-nodes-base/googleAds/v1/resource_campaign/operation_get_all.ts +1 -0
  100. package/dist/node-definitions/nodes/n8n-nodes-base/googleAnalytics/v2/resource_report/operation_get.ts +2 -2
  101. package/dist/node-definitions/nodes/n8n-nodes-base/googleBusinessProfile/v1/resource_review/operation_reply.ts +6 -0
  102. package/dist/node-definitions/nodes/n8n-nodes-base/googleChat/v1/resource_space/operation_get_all.ts +1 -0
  103. package/dist/node-definitions/nodes/n8n-nodes-base/haloPSA/v1/resource_client/operation_get.ts +8 -0
  104. package/dist/node-definitions/nodes/n8n-nodes-base/haloPSA/v1/resource_site/operation_get_all.ts +7 -0
  105. package/dist/node-definitions/nodes/n8n-nodes-base/highLevel/v2/resource_calendar/operation_get_free_slots.ts +3 -0
  106. package/dist/node-definitions/nodes/n8n-nodes-base/highLevel/v2/resource_contact/operation_create.ts +4 -0
  107. package/dist/node-definitions/nodes/n8n-nodes-base/jira/v1/resource_issue/operation_get.ts +162 -0
  108. package/dist/node-definitions/nodes/n8n-nodes-base/jira/v1/resource_issue/operation_get_all.ts +54 -0
  109. package/dist/node-definitions/nodes/n8n-nodes-base/lemlist/v2/resource_lead/operation_create.ts +1 -0
  110. package/dist/node-definitions/nodes/n8n-nodes-base/mailchimp/v1/resource_campaign/operation_get_all.ts +60 -0
  111. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftEntra/v1/resource_group/operation_get.ts +12 -0
  112. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftOutlook/v2/resource_event/operation_create.ts +2 -2
  113. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftOutlook/v2/resource_folder_message/operation_get_all.ts +33 -0
  114. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftOutlook/v2/resource_message_attachment/operation_get.ts +6 -0
  115. package/dist/nodes/Airtable/Airtable.node.d.ts.map +1 -1
  116. package/dist/nodes/Airtable/Airtable.node.js +2 -1
  117. package/dist/nodes/Airtable/Airtable.node.js.map +1 -1
  118. package/dist/nodes/Airtable/test/v2/node/helpers.d.ts +1 -1
  119. package/dist/nodes/Airtable/test/v2/node/helpers.d.ts.map +1 -1
  120. package/dist/nodes/Airtable/test/v2/node/helpers.js +4 -3
  121. package/dist/nodes/Airtable/test/v2/node/helpers.js.map +1 -1
  122. package/dist/nodes/Airtable/v2/actions/record/get.operation.d.ts.map +1 -1
  123. package/dist/nodes/Airtable/v2/actions/record/get.operation.js +9 -2
  124. package/dist/nodes/Airtable/v2/actions/record/get.operation.js.map +1 -1
  125. package/dist/nodes/Airtable/v2/actions/record/search.operation.d.ts.map +1 -1
  126. package/dist/nodes/Airtable/v2/actions/record/search.operation.js +5 -2
  127. package/dist/nodes/Airtable/v2/actions/record/search.operation.js.map +1 -1
  128. package/dist/nodes/Airtable/v2/actions/versionDescription.js +1 -1
  129. package/dist/nodes/Airtable/v2/actions/versionDescription.js.map +1 -1
  130. package/dist/nodes/Airtable/v2/helpers/utils.d.ts +1 -3
  131. package/dist/nodes/Airtable/v2/helpers/utils.d.ts.map +1 -1
  132. package/dist/nodes/Airtable/v2/helpers/utils.js +5 -4
  133. package/dist/nodes/Airtable/v2/helpers/utils.js.map +1 -1
  134. package/dist/nodes/Airtable/v2/transport/index.d.ts.map +1 -1
  135. package/dist/nodes/Airtable/v2/transport/index.js +1 -2
  136. package/dist/nodes/Airtable/v2/transport/index.js.map +1 -1
  137. package/dist/nodes/Asana/__schema__/v1.0.0/user/get.json +21 -1
  138. package/dist/nodes/Baserow/Baserow.node.d.ts.map +1 -1
  139. package/dist/nodes/Baserow/Baserow.node.js +184 -27
  140. package/dist/nodes/Baserow/Baserow.node.js.map +1 -1
  141. package/dist/nodes/Baserow/GenericFunctions.d.ts +5 -9
  142. package/dist/nodes/Baserow/GenericFunctions.d.ts.map +1 -1
  143. package/dist/nodes/Baserow/GenericFunctions.js +12 -36
  144. package/dist/nodes/Baserow/GenericFunctions.js.map +1 -1
  145. package/dist/nodes/Baserow/OperationDescription.d.ts.map +1 -1
  146. package/dist/nodes/Baserow/OperationDescription.js +371 -53
  147. package/dist/nodes/Baserow/OperationDescription.js.map +1 -1
  148. package/dist/nodes/Baserow/types.d.ts +1 -6
  149. package/dist/nodes/Baserow/types.d.ts.map +1 -1
  150. package/dist/nodes/ClickUp/__schema__/v1.0.0/list/customFields.json +4 -1
  151. package/dist/nodes/Coda/__schema__/v1.1.0/table/createRow.json +24 -0
  152. package/dist/nodes/Code/Code.node.d.ts +2 -2
  153. package/dist/nodes/Code/Code.node.d.ts.map +1 -1
  154. package/dist/nodes/Code/Code.node.js +2 -83
  155. package/dist/nodes/Code/Code.node.js.map +1 -1
  156. package/dist/nodes/CoinGecko/__schema__/v1.0.0/coin/price.json +17 -2
  157. package/dist/nodes/CustomerIo/CustomerIo.node.js +3 -3
  158. package/dist/nodes/CustomerIo/CustomerIo.node.js.map +1 -1
  159. package/dist/nodes/CustomerIo/CustomerIoTrigger.node.d.ts.map +1 -1
  160. package/dist/nodes/CustomerIo/CustomerIoTrigger.node.js +5 -33
  161. package/dist/nodes/CustomerIo/CustomerIoTrigger.node.js.map +1 -1
  162. package/dist/nodes/CustomerIo/GenericFunctions.d.ts +4 -1
  163. package/dist/nodes/CustomerIo/GenericFunctions.d.ts.map +1 -1
  164. package/dist/nodes/CustomerIo/GenericFunctions.js +13 -23
  165. package/dist/nodes/CustomerIo/GenericFunctions.js.map +1 -1
  166. package/dist/nodes/DataTable/__schema__/v1.1.0/table/update.json +9 -0
  167. package/dist/nodes/Dropbox/__schema__/v1.0.0/folder/delete.json +21 -1
  168. package/dist/nodes/Dropbox/__schema__/v1.0.0/search/query.json +10 -1
  169. package/dist/nodes/Dropcontact/__schema__/v1.0.0/contact/fetchRequest.json +1 -1
  170. package/dist/nodes/ERPNext/__schema__/v1.0.0/document/getAll.json +19 -1
  171. package/dist/nodes/Elastic/Elasticsearch/__schema__/v1.0.0/document/getAll.json +4 -1
  172. package/dist/nodes/Facebook/GenericFunctions.d.ts.map +1 -1
  173. package/dist/nodes/Facebook/GenericFunctions.js +8 -0
  174. package/dist/nodes/Facebook/GenericFunctions.js.map +1 -1
  175. package/dist/nodes/Filter/Filter.node.js +1 -1
  176. package/dist/nodes/Filter/Filter.node.js.map +1 -1
  177. package/dist/nodes/Gitlab/__schema__/v1.0.0/file/get.json +16 -1
  178. package/dist/nodes/Google/Ads/__schema__/v1.0.0/campaign/getAll.json +4 -1
  179. package/dist/nodes/Google/BusinessProfile/__schema__/v1.0.0/review/reply.json +12 -0
  180. package/dist/nodes/Google/Chat/__schema__/v1.0.0/space/getAll.json +4 -1
  181. package/dist/nodes/Google/GSuiteAdmin/__schema__/v1.0.0/user/create.json +4 -1
  182. package/dist/nodes/Google/GSuiteAdmin/__schema__/v1.0.0/user/get.json +65 -1
  183. package/dist/nodes/Google/Gmail/__schema__/v2.2.0/label/get.json +27 -0
  184. package/dist/nodes/Google/Gmail/__schema__/v2.2.0/message/delete.json +9 -0
  185. package/dist/nodes/Google/Gmail/__schema__/v2.2.0/message/get.json +7 -1
  186. package/dist/nodes/Google/Gmail/__schema__/v2.2.0/message/removeLabels.json +18 -0
  187. package/dist/nodes/Google/Gmail/__schema__/v2.2.0/thread/get.json +4 -1
  188. package/dist/nodes/HaloPSA/__schema__/v1.0.0/client/get.json +18 -0
  189. package/dist/nodes/HaloPSA/__schema__/v1.0.0/site/getAll.json +15 -0
  190. package/dist/nodes/HighLevel/__schema__/v2.0.0/calendar/getFreeSlots.json +12 -1
  191. package/dist/nodes/HighLevel/__schema__/v2.0.0/contact/create.json +15 -1
  192. package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.d.ts.map +1 -1
  193. package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js +20 -28
  194. package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js.map +1 -1
  195. package/dist/nodes/Hubspot/__schema__/v2.2.0/contact/upsert.json +4 -1
  196. package/dist/nodes/Jira/__schema__/v1.0.0/issue/get.json +465 -1
  197. package/dist/nodes/Jira/__schema__/v1.0.0/issue/getAll.json +155 -1
  198. package/dist/nodes/Lemlist/__schema__/v2.0.0/lead/create.json +4 -1
  199. package/dist/nodes/Linear/__schema__/v1.1.0/issue/get.json +12 -1
  200. package/dist/nodes/Mailchimp/__schema__/v1.0.0/campaign/getAll.json +180 -1
  201. package/dist/nodes/Merge/v3/helpers/sandbox-utils.d.ts +3 -3
  202. package/dist/nodes/Merge/v3/helpers/sandbox-utils.d.ts.map +1 -1
  203. package/dist/nodes/Merge/v3/helpers/sandbox-utils.js +43 -5
  204. package/dist/nodes/Merge/v3/helpers/sandbox-utils.js.map +1 -1
  205. package/dist/nodes/Microsoft/AzureCosmosDb/__schema__/v1.0.0/item/query.json +45 -1
  206. package/dist/nodes/Microsoft/Entra/__schema__/v1.0.0/group/get.json +30 -0
  207. package/dist/nodes/Microsoft/OneDrive/__schema__/v1.1.0/file/copy.json +9 -0
  208. package/dist/nodes/Microsoft/OneDrive/__schema__/v1.1.0/file/download.json +89 -1
  209. package/dist/nodes/Microsoft/Outlook/__schema__/v2.0.0/folderMessage/getAll.json +99 -1
  210. package/dist/nodes/Microsoft/Outlook/__schema__/v2.0.0/messageAttachment/get.json +21 -1
  211. package/dist/nodes/Notion/shared/GenericFunctions.js +1 -1
  212. package/dist/nodes/Notion/shared/GenericFunctions.js.map +1 -1
  213. package/dist/nodes/Notion/shared/constants.d.ts +4 -4
  214. package/dist/nodes/Notion/shared/constants.d.ts.map +1 -1
  215. package/dist/nodes/Notion/shared/constants.js +2 -2
  216. package/dist/nodes/Notion/shared/constants.js.map +1 -1
  217. package/dist/nodes/Slack/SlackTrigger.node.js +1 -1
  218. package/dist/nodes/Slack/SlackTrigger.node.js.map +1 -1
  219. package/dist/nodes/Todoist/v2/OperationHandler.d.ts.map +1 -1
  220. package/dist/nodes/Todoist/v2/OperationHandler.js +10 -2
  221. package/dist/nodes/Todoist/v2/OperationHandler.js.map +1 -1
  222. package/dist/nodes/Webhook/Webhook.node.d.ts.map +1 -1
  223. package/dist/nodes/Webhook/Webhook.node.js +1 -0
  224. package/dist/nodes/Webhook/Webhook.node.js.map +1 -1
  225. package/dist/typecheck.tsbuildinfo +1 -1
  226. package/dist/types/credentials.json +5 -4
  227. package/dist/types/nodes.json +10 -10
  228. package/package.json +11 -10
@@ -1,8 +1,13 @@
1
- import type { ICredentialType, INodeProperties } from 'n8n-workflow';
1
+ import type { IAuthenticateGeneric, ICredentialDataDecryptedObject, ICredentialTestRequest, ICredentialType, IHttpRequestHelper, INodeProperties } from 'n8n-workflow';
2
2
  export declare class BaserowApi implements ICredentialType {
3
3
  name: string;
4
4
  displayName: string;
5
5
  documentationUrl: string;
6
6
  properties: INodeProperties[];
7
+ preAuthentication(this: IHttpRequestHelper, credentials: ICredentialDataDecryptedObject): Promise<{
8
+ jwtToken: string;
9
+ }>;
10
+ authenticate: IAuthenticateGeneric;
11
+ test: ICredentialTestRequest;
7
12
  }
8
13
  //# sourceMappingURL=BaserowApi.credentials.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BaserowApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/BaserowApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAIrE,qBAAa,UAAW,YAAW,eAAe;IACjD,IAAI,SAAgB;IAEpB,WAAW,SAAiB;IAE5B,gBAAgB,SAAa;IAE7B,UAAU,EAAE,eAAe,EAAE,CAsB3B;CACF"}
1
+ {"version":3,"file":"BaserowApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/BaserowApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,oBAAoB,EACpB,8BAA8B,EAC9B,sBAAsB,EACtB,eAAe,EACf,kBAAkB,EAClB,eAAe,EACf,MAAM,cAAc,CAAC;AAItB,qBAAa,UAAW,YAAW,eAAe;IACjD,IAAI,SAAgB;IAEpB,WAAW,SAAiB;IAE5B,gBAAgB,SAAa;IAE7B,UAAU,EAAE,eAAe,EAAE,CAuC3B;IAEI,iBAAiB,CAAC,IAAI,EAAE,kBAAkB,EAAE,WAAW,EAAE,8BAA8B;;;IAa7F,YAAY,EAAE,oBAAoB,CAOhC;IAEF,IAAI,EAAE,sBAAsB,CAK1B;CACF"}
@@ -7,17 +7,33 @@ class BaserowApi {
7
7
  displayName = 'Baserow API';
8
8
  documentationUrl = 'baserow';
9
9
  properties = [
10
+ {
11
+ displayName: "This type of connection (Username & Password) is deprecated. Please create a new credential of type 'Baserow Token API' instead.",
12
+ name: 'deprecated',
13
+ type: 'notice',
14
+ default: '',
15
+ },
10
16
  {
11
17
  displayName: 'Host',
12
18
  name: 'host',
13
19
  type: 'string',
14
20
  default: 'https://api.baserow.io',
15
21
  },
22
+ {
23
+ displayName: 'Session Token',
24
+ name: 'jwtToken',
25
+ type: 'hidden',
26
+ typeOptions: {
27
+ expirable: true,
28
+ },
29
+ default: '',
30
+ },
16
31
  {
17
32
  displayName: 'Username',
18
33
  name: 'username',
19
34
  type: 'string',
20
35
  default: '',
36
+ description: 'Email address you use to login to Baserow',
21
37
  },
22
38
  {
23
39
  displayName: 'Password',
@@ -29,6 +45,32 @@ class BaserowApi {
29
45
  },
30
46
  },
31
47
  ];
48
+ async preAuthentication(credentials) {
49
+ const host = credentials.host.replace(/\/$/, '');
50
+ const { token } = (await this.helpers.httpRequest({
51
+ method: 'POST',
52
+ url: `${host}/api/user/token-auth/`,
53
+ body: {
54
+ username: credentials.username,
55
+ password: credentials.password,
56
+ },
57
+ }));
58
+ return { jwtToken: token };
59
+ }
60
+ authenticate = {
61
+ type: 'generic',
62
+ properties: {
63
+ headers: {
64
+ Authorization: '=JWT {{$credentials.jwtToken}}',
65
+ },
66
+ },
67
+ };
68
+ test = {
69
+ request: {
70
+ baseURL: '={{$credentials.host}}',
71
+ url: '/api/applications/',
72
+ },
73
+ };
32
74
  }
33
75
  exports.BaserowApi = BaserowApi;
34
76
  //# sourceMappingURL=BaserowApi.credentials.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BaserowApi.credentials.js","sourceRoot":"","sources":["../../credentials/BaserowApi.credentials.ts"],"names":[],"mappings":";;;AAEA,2DAA2D;AAE3D,MAAa,UAAU;IACtB,IAAI,GAAG,YAAY,CAAC;IAEpB,WAAW,GAAG,aAAa,CAAC;IAE5B,gBAAgB,GAAG,SAAS,CAAC;IAE7B,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,MAAM;YACnB,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,wBAAwB;SACjC;QACD;YACC,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;SACX;QACD;YACC,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,WAAW,EAAE;gBACZ,QAAQ,EAAE,IAAI;aACd;SACD;KACD,CAAC;CACF;AA9BD,gCA8BC"}
1
+ {"version":3,"file":"BaserowApi.credentials.js","sourceRoot":"","sources":["../../credentials/BaserowApi.credentials.ts"],"names":[],"mappings":";;;AASA,2DAA2D;AAE3D,MAAa,UAAU;IACtB,IAAI,GAAG,YAAY,CAAC;IAEpB,WAAW,GAAG,aAAa,CAAC;IAE5B,gBAAgB,GAAG,SAAS,CAAC;IAE7B,UAAU,GAAsB;QAC/B;YACC,WAAW,EACV,kIAAkI;YACnI,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;SACX;QACD;YACC,WAAW,EAAE,MAAM;YACnB,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,wBAAwB;SACjC;QACD;YACC,WAAW,EAAE,eAAe;YAC5B,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE;gBACZ,SAAS,EAAE,IAAI;aACf;YACD,OAAO,EAAE,EAAE;SACX;QACD;YACC,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,WAAW,EAAE,2CAA2C;SACxD;QACD;YACC,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,WAAW,EAAE;gBACZ,QAAQ,EAAE,IAAI;aACd;SACD;KACD,CAAC;IAEF,KAAK,CAAC,iBAAiB,CAA2B,WAA2C;QAC5F,MAAM,IAAI,GAAI,WAAW,CAAC,IAAe,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QAC7D,MAAM,EAAE,KAAK,EAAE,GAAG,CAAC,MAAM,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC;YACjD,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,GAAG,IAAI,uBAAuB;YACnC,IAAI,EAAE;gBACL,QAAQ,EAAE,WAAW,CAAC,QAAQ;gBAC9B,QAAQ,EAAE,WAAW,CAAC,QAAQ;aAC9B;SACD,CAAC,CAAsB,CAAC;QACzB,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC5B,CAAC;IAED,YAAY,GAAyB;QACpC,IAAI,EAAE,SAAS;QACf,UAAU,EAAE;YACX,OAAO,EAAE;gBACR,aAAa,EAAE,gCAAgC;aAC/C;SACD;KACD,CAAC;IAEF,IAAI,GAA2B;QAC9B,OAAO,EAAE;YACR,OAAO,EAAE,wBAAwB;YACjC,GAAG,EAAE,oBAAoB;SACzB;KACD,CAAC;CACF;AA5ED,gCA4EC"}
@@ -0,0 +1,10 @@
1
+ import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
2
+ export declare class BaserowTokenApi implements ICredentialType {
3
+ name: string;
4
+ displayName: string;
5
+ documentationUrl: string;
6
+ properties: INodeProperties[];
7
+ authenticate: IAuthenticateGeneric;
8
+ test: ICredentialTestRequest;
9
+ }
10
+ //# sourceMappingURL=BaserowTokenApi.credentials.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaserowTokenApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/BaserowTokenApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,oBAAoB,EACpB,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,MAAM,cAAc,CAAC;AAEtB,qBAAa,eAAgB,YAAW,eAAe;IACtD,IAAI,SAAqB;IAEzB,WAAW,SAAuB;IAElC,gBAAgB,SAAa;IAE7B,UAAU,EAAE,eAAe,EAAE,CAkB3B;IAEF,YAAY,EAAE,oBAAoB,CAOhC;IAEF,IAAI,EAAE,sBAAsB,CAK1B;CACF"}
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BaserowTokenApi = void 0;
4
+ class BaserowTokenApi {
5
+ name = 'baserowTokenApi';
6
+ displayName = 'Baserow Token API';
7
+ documentationUrl = 'baserow';
8
+ properties = [
9
+ {
10
+ displayName: 'Host',
11
+ name: 'host',
12
+ type: 'string',
13
+ default: 'https://api.baserow.io',
14
+ },
15
+ {
16
+ displayName: 'Database Token',
17
+ name: 'token',
18
+ type: 'string',
19
+ default: '',
20
+ typeOptions: {
21
+ password: true,
22
+ },
23
+ description: 'In Baserow, click on top left corner, My settings, Database tokens, Create new.',
24
+ },
25
+ ];
26
+ authenticate = {
27
+ type: 'generic',
28
+ properties: {
29
+ headers: {
30
+ Authorization: '=Token {{$credentials.token}}',
31
+ },
32
+ },
33
+ };
34
+ test = {
35
+ request: {
36
+ baseURL: '={{$credentials.host}}',
37
+ url: '/api/database/tables/all-tables/',
38
+ },
39
+ };
40
+ }
41
+ exports.BaserowTokenApi = BaserowTokenApi;
42
+ //# sourceMappingURL=BaserowTokenApi.credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaserowTokenApi.credentials.js","sourceRoot":"","sources":["../../credentials/BaserowTokenApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,eAAe;IAC3B,IAAI,GAAG,iBAAiB,CAAC;IAEzB,WAAW,GAAG,mBAAmB,CAAC;IAElC,gBAAgB,GAAG,SAAS,CAAC;IAE7B,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,MAAM;YACnB,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,wBAAwB;SACjC;QACD;YACC,WAAW,EAAE,gBAAgB;YAC7B,IAAI,EAAE,OAAO;YACb,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,WAAW,EAAE;gBACZ,QAAQ,EAAE,IAAI;aACd;YACD,WAAW,EACV,iFAAiF;SAClF;KACD,CAAC;IAEF,YAAY,GAAyB;QACpC,IAAI,EAAE,SAAS;QACf,UAAU,EAAE;YACX,OAAO,EAAE;gBACR,aAAa,EAAE,+BAA+B;aAC9C;SACD;KACD,CAAC;IAEF,IAAI,GAA2B;QAC9B,OAAO,EAAE;YACR,OAAO,EAAE,wBAAwB;YACjC,GAAG,EAAE,kCAAkC;SACvC;KACD,CAAC;CACF;AA1CD,0CA0CC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CustomerIoApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/CustomerIoApi.credentials.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACX,8BAA8B,EAC9B,eAAe,EACf,mBAAmB,EACnB,eAAe,EACf,MAAM,cAAc,CAAC;AAEtB,qBAAa,aAAc,YAAW,eAAe;IACpD,IAAI,SAAmB;IAEvB,WAAW,SAAqB;IAEhC,gBAAgB,SAAgB;IAEhC,UAAU,EAAE,eAAe,EAAE,CA4C3B;IAEI,YAAY,CACjB,WAAW,EAAE,8BAA8B,EAC3C,cAAc,EAAE,mBAAmB,GACjC,OAAO,CAAC,mBAAmB,CAAC;CA4B/B"}
1
+ {"version":3,"file":"CustomerIoApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/CustomerIoApi.credentials.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACX,8BAA8B,EAC9B,eAAe,EACf,mBAAmB,EACnB,eAAe,EACf,MAAM,cAAc,CAAC;AAEtB,qBAAa,aAAc,YAAW,eAAe;IACpD,IAAI,SAAmB;IAEvB,WAAW,SAAqB;IAEhC,gBAAgB,SAAgB;IAEhC,UAAU,EAAE,eAAe,EAAE,CA4C3B;IAEI,YAAY,CACjB,WAAW,EAAE,8BAA8B,EAC3C,cAAc,EAAE,mBAAmB,GACjC,OAAO,CAAC,mBAAmB,CAAC;CAyB/B"}
@@ -54,15 +54,14 @@ class CustomerIoApi {
54
54
  async authenticate(credentials, requestOptions) {
55
55
  // @ts-ignore
56
56
  const url = new URL(requestOptions.url ? requestOptions.url : requestOptions.uri);
57
- if (url.hostname === 'track.customer.io' ||
58
- url.hostname === 'track-eu.customer.io' ||
59
- url.hostname === 'api.customer.io' ||
60
- url.hostname === 'api-eu.customer.io') {
57
+ if (url.hostname === 'track.customer.io' || url.hostname === 'track-eu.customer.io') {
61
58
  const basicAuthKey = Buffer.from(`${credentials.trackingSiteId}:${credentials.trackingApiKey}`).toString('base64');
62
59
  // @ts-ignore
63
60
  Object.assign(requestOptions.headers, { Authorization: `Basic ${basicAuthKey}` });
64
61
  }
65
- else if (url.hostname === 'beta-api.customer.io' ||
62
+ else if (url.hostname === 'api.customer.io' ||
63
+ url.hostname === 'api-eu.customer.io' ||
64
+ url.hostname === 'beta-api.customer.io' ||
66
65
  url.hostname === 'beta-api-eu.customer.io') {
67
66
  // @ts-ignore
68
67
  Object.assign(requestOptions.headers, {
@@ -1 +1 @@
1
- {"version":3,"file":"CustomerIoApi.credentials.js","sourceRoot":"","sources":["../../credentials/CustomerIoApi.credentials.ts"],"names":[],"mappings":";;;AAAA,wCAA+C;AAQ/C,MAAa,aAAa;IACzB,IAAI,GAAG,eAAe,CAAC;IAEvB,WAAW,GAAG,iBAAiB,CAAC;IAEhC,gBAAgB,GAAG,YAAY,CAAC;IAEhC,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,gBAAgB;YACtB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;Y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,yBAAyB,EACzC,CAAC;YACF,aAAa;YACb,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE;gBACrC,aAAa,EAAE,UAAU,WAAW,CAAC,SAAmB,EAAE;aAC1D,CAAC,CAAC;QACJ,CAAC;aAAM,CAAC;YACP,MAAM,IAAI,yBAAgB,CAAC,+BAA+B,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;QACnF,CAAC;QAED,OAAO,cAAc,CAAC;IACvB,CAAC;CACD;AAjFD,sCAiFC"}
@@ -13,7 +13,7 @@ class FacebookGraphAppApi {
13
13
  type: 'string',
14
14
  typeOptions: { password: true },
15
15
  default: '',
16
- description: '(Optional) When the app secret is set the node will verify this signature to validate the integrity and origin of the payload',
16
+ description: '(Optional) When set, the node will sign API calls and verify incoming webhook payloads for added security',
17
17
  },
18
18
  ];
19
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"FacebookGraphAppApi.credentials.js","sourceRoot":"","sources":["../../credentials/FacebookGraphAppApi.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,mBAAmB;IAC/B,IAAI,GAAG,qBAAqB,CAAC;IAE7B,WAAW,GAAG,0BAA0B,CAAC;IAEzC,gBAAgB,GAAG,aAAa,CAAC;IAEjC,OAAO,GAAG,CAAC,kBAAkB,CAAC,CAAC;IAE/B,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,YAAY;YACzB,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC/B,OAAO,EAAE,EAAE;YACX,WAAW,EACV,+HAA+H;SAChI;KACD,CAAC;CACF;AApBD,kDAoBC"}
1
+ {"version":3,"file":"FacebookGraphAppApi.credentials.js","sourceRoot":"","sources":["../../credentials/FacebookGraphAppApi.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,mBAAmB;IAC/B,IAAI,GAAG,qBAAqB,CAAC;IAE7B,WAAW,GAAG,0BAA0B,CAAC;IAEzC,gBAAgB,GAAG,aAAa,CAAC;IAEjC,OAAO,GAAG,CAAC,kBAAkB,CAAC,CAAC;IAE/B,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,YAAY;YACzB,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC/B,OAAO,EAAE,EAAE;YACX,WAAW,EACV,2GAA2G;SAC5G;KACD,CAAC;CACF;AApBD,kDAoBC"}
@@ -57,7 +57,7 @@ class MicrosoftTeamsOAuth2Api {
57
57
  <br><code>ChannelMessage.Read.All</code>
58
58
  <br><code>Chat.Read.All</code>
59
59
  <br><code>Team.ReadBasic.All</code>
60
- <br><code>Subscription.ReadWrite.All</code>
60
+ <br><code>Subscription.Read.All</code>
61
61
  <br>Configure these permissions in <a href="https://portal.azure.com">Microsoft Entra</a>
62
62
  `,
63
63
  name: 'notice',
@@ -1 +1 @@
1
- {"version":3,"file":"OAuth2Api.credentials.d.ts","sourceRoot":"","sources":["../../credentials/OAuth2Api.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,SAAiB;IAEjC,WAAW,UAAQ;IAEnB,UAAU,EAAE,eAAe,EAAE,CAyL3B;CACF"}
1
+ {"version":3,"file":"OAuth2Api.credentials.d.ts","sourceRoot":"","sources":["../../credentials/OAuth2Api.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,SAAiB;IAEjC,WAAW,UAAQ;IAEnB,UAAU,EAAE,eAAe,EAAE,CAkM3B;CACF"}
@@ -190,6 +190,14 @@ class OAuth2Api {
190
190
  default: false,
191
191
  doNotInherit: true,
192
192
  },
193
+ {
194
+ displayName: 'Token Expired Status Code',
195
+ name: 'tokenExpiredStatusCode',
196
+ type: 'number',
197
+ default: 401,
198
+ description: 'HTTP status code that indicates the token has expired. Some APIs return 403 instead of 401.',
199
+ doNotInherit: true,
200
+ },
193
201
  ];
194
202
  }
195
203
  exports.OAuth2Api = OAuth2Api;
@@ -1 +1 @@
1
- {"version":3,"file":"OAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/OAuth2Api.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,SAAS;IACrB,IAAI,GAAG,WAAW,CAAC;IAEnB,WAAW,GAAG,YAAY,CAAC;IAE3B,gBAAgB,GAAG,aAAa,CAAC;IAEjC,WAAW,GAAG,IAAI,CAAC;IAEnB,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,8BAA8B;YACpC,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,KAAK;SACd;QACD;YACC,WAAW,EAAE,YAAY;YACzB,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,SAAS;YACf,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,4BAA4B,EAAE,CAAC,KAAK,CAAC;iBACrC;aACD;YACD,OAAO,EAAE;gBACR;oBACC,IAAI,EAAE,oBAAoB;oBAC1B,KAAK,EAAE,mBAAmB;iBAC1B;gBACD;oBACC,IAAI,EAAE,oBAAoB;oBAC1B,KAAK,EAAE,mBAAmB;iBAC1B;gBACD;oBACC,IAAI,EAAE,MAAM;oBACZ,KAAK,EAAE,MAAM;iBACb;aACD;YACD,OAAO,EAAE,mBAAmB;SAC5B;QACD;YACC,WAAW,EAAE,YAAY;YACzB,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,QAAQ;YACd,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,4BAA4B,EAAE,CAAC,I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CAAC,MAAM,CAAC;oBACxB,4BAA4B,EAAE,CAAC,IAAI,CAAC;oBACpC,4BAA4B,EAAE,CAAC,KAAK,CAAC;iBACrC;aACD;YACD,OAAO,EAAE,EAAE;SACX;QACD;YACC,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,iBAAiB;YACvB,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,KAAK;YACd,YAAY,EAAE,IAAI;SAClB;KACD,CAAC;CACF;AAnMD,8BAmMC"}
1
+ {"version":3,"file":"OAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/OAuth2Api.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,SAAS;IACrB,IAAI,GAAG,WAAW,CAAC;IAEnB,WAAW,GAAG,YAAY,CAAC;IAE3B,gBAAgB,GAAG,aAAa,CAAC;IAEjC,WAAW,GAAG,IAAI,CAAC;IAEnB,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,8BAA8B;YACpC,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,KAAK;SACd;QACD;YACC,WAAW,EAAE,YAAY;YACzB,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,SAAS;YACf,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,4BAA4B,EAAE,CAAC,KAAK,CAAC;iBACrC;aACD;YACD,OAAO,EAAE;gBACR;oBACC,IAAI,EAAE,oBAAoB;oBAC1B,KAAK,EAAE,mBAAmB;iBAC1B;gBACD;oBACC,IAAI,EAAE,oBAAoB;oBAC1B,KAAK,EAAE,mBAAmB;iBAC1B;gBACD;oBACC,IAAI,EAAE,MAAM;oBACZ,KAAK,EAAE,MAAM;iBACb;aACD;YACD,OAAO,EAAE,mBAAmB;SAC5B;QACD;YACC,WAAW,EAAE,YAAY;YACzB,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,QAAQ;YACd,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,4BAA4B,EAAE,CAAC,IAA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AC,MAAM,CAAC;oBACxB,4BAA4B,EAAE,CAAC,IAAI,CAAC;oBACpC,4BAA4B,EAAE,CAAC,KAAK,CAAC;iBACrC;aACD;YACD,OAAO,EAAE,EAAE;SACX;QACD;YACC,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,iBAAiB;YACvB,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,KAAK;YACd,YAAY,EAAE,IAAI;SAClB;QACD;YACC,WAAW,EAAE,2BAA2B;YACxC,IAAI,EAAE,wBAAwB;YAC9B,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,GAAG;YACZ,WAAW,EACV,6FAA6F;YAC9F,YAAY,EAAE,IAAI;SAClB;KACD,CAAC;CACF;AA5MD,8BA4MC"}
@@ -214,6 +214,13 @@
214
214
  "baserow"
215
215
  ]
216
216
  },
217
+ "baserowTokenApi": {
218
+ "className": "BaserowTokenApi",
219
+ "sourcePath": "dist/credentials/BaserowTokenApi.credentials.js",
220
+ "supportedNodes": [
221
+ "baserow"
222
+ ]
223
+ },
217
224
  "beeminderApi": {
218
225
  "className": "BeeminderApi",
219
226
  "sourcePath": "dist/credentials/BeeminderApi.credentials.js",
@@ -1 +1 @@
1
- 9b831b5c057556cdd6ff4dad87acc4caaa8406e8184914992feda9e52f87052f
1
+ 8adfe457d96dc5c59be3a304ad476cd16fa9284bc1ee2b1da2f0f25e94b7fbf5
@@ -4,13 +4,15 @@
4
4
  * Re-exports all version-specific types and provides combined union type.
5
5
  */
6
6
 
7
+ import type { AirtableV22Node } from './v22';
7
8
  import type { AirtableV21Node } from './v21';
8
9
  import type { AirtableV2Node } from './v2';
9
10
  import type { AirtableV1Node } from './v1';
10
11
 
12
+ export * from './v22';
11
13
  export * from './v21';
12
14
  export * from './v2';
13
15
  export * from './v1';
14
16
 
15
17
  // Combined union type for all versions
16
- export type AirtableNode = AirtableV21Node | AirtableV2Node | AirtableV1Node;
18
+ export type AirtableNode = AirtableV22Node | AirtableV21Node | AirtableV2Node | AirtableV1Node;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Airtable Node - Version 2.2 - Zod Schema Factory
3
+ * Exports a factory that unions all discriminator schemas.
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 getBaseSchema = require('./resource_base/index.schema');
12
+ const getRecordSchema = require('./resource_record/index.schema');
13
+
14
+ module.exports = function getSchema(helpers) {
15
+ const { parameters, z } = helpers;
16
+ // Apply discriminator default if not set
17
+ const effectiveParams = parameters.resource === undefined ? { ...parameters, resource: 'record' } : parameters;
18
+ return z.union([
19
+ getBaseSchema({ ...helpers, parameters: effectiveParams }),
20
+ getRecordSchema({ ...helpers, parameters: effectiveParams }),
21
+ ]);
22
+ };
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Airtable Node - Version 2.2
3
+ * Re-exports all discriminator combinations.
4
+ */
5
+
6
+ import type { AirtableV22BaseNode } from './resource_base';
7
+ import type { AirtableV22RecordNode } from './resource_record';
8
+
9
+ export * from './resource_base';
10
+ export * from './resource_record';
11
+
12
+ export type AirtableV22Node =
13
+ | AirtableV22BaseNode
14
+ | AirtableV22RecordNode
15
+ ;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Airtable - Base 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 getGetManySchema = require('./operation_get_many.schema');
12
+ const getGetSchemaSchema = require('./operation_get_schema.schema');
13
+
14
+ module.exports = function getSchema(helpers) {
15
+ const { parameters, z } = helpers;
16
+ // Apply operation default if not set
17
+ const effectiveParams = parameters.operation === undefined ? { ...parameters, operation: 'get' } : parameters;
18
+ return z.union([
19
+ getGetManySchema({ ...helpers, parameters: effectiveParams }),
20
+ getGetSchemaSchema({ ...helpers, parameters: effectiveParams }),
21
+ ]);
22
+ };
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Airtable - Base Resource
3
+ * Re-exports all operation types for this resource.
4
+ */
5
+
6
+ import type { AirtableV22BaseGetManyNode } from './operation_get_many';
7
+ import type { AirtableV22BaseGetSchemaNode } from './operation_get_schema';
8
+
9
+ export * from './operation_get_many';
10
+ export * from './operation_get_schema';
11
+
12
+ export type AirtableV22BaseNode =
13
+ | AirtableV22BaseGetManyNode
14
+ | AirtableV22BaseGetSchemaNode
15
+ ;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Airtable Node - Version 2.2 - Zod Schema
3
+ * Discriminator: resource=base, operation=getMany
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 }) {
14
+
15
+ return z.object({
16
+ parameters: z.object({
17
+ resource: z.literal('base'),
18
+ operation: z.literal('getMany'),
19
+ authentication: z.union([z.literal('airtableTokenApi'), z.literal('airtableOAuth2Api'), expressionSchema]).optional(),
20
+ returnAll: booleanOrExpression.optional(),
21
+ limit: resolveSchema({ parameters, schema: numberOrExpression, required: false, displayOptions: {"show":{"returnAll":[false]}}, defaults: {"returnAll":true} }),
22
+ options: z.object({ permissionLevel: z.array(z.union([z.literal('comment'), z.literal('create'), z.literal('edit'), z.literal('none'), z.literal('read')])).optional() }).optional(),
23
+ }).optional(),
24
+ });
25
+ };
@@ -0,0 +1,45 @@
1
+ /**
2
+ * Airtable Node - Version 2.2
3
+ * Discriminator: resource=base, operation=getMany
4
+ */
5
+
6
+
7
+ interface Credentials {
8
+ airtableTokenApi: CredentialReference;
9
+ airtableOAuth2Api: CredentialReference;
10
+ }
11
+
12
+ /** List all the bases */
13
+ export type AirtableV22BaseGetManyParams = {
14
+ resource: 'base';
15
+ operation: 'getMany';
16
+ authentication?: 'airtableTokenApi' | 'airtableOAuth2Api' | Expression<string>;
17
+ /**
18
+ * Whether to return all results or only up to a given limit
19
+ * @default true
20
+ */
21
+ returnAll?: boolean | Expression<boolean>;
22
+ /**
23
+ * Max number of results to return
24
+ * @displayOptions.show { returnAll: [false] }
25
+ * @default 100
26
+ */
27
+ limit?: number | Expression<number>;
28
+ /**
29
+ * Options
30
+ * @default {}
31
+ */
32
+ options?: {
33
+ /** Filter the returned bases by one or more permission levels
34
+ * @default []
35
+ */
36
+ permissionLevel?: Array<'comment' | 'create' | 'edit' | 'none' | 'read'>;
37
+ };
38
+ };
39
+
40
+ export type AirtableV22BaseGetManyNode = {
41
+ type: 'n8n-nodes-base.airtable';
42
+ version: 2.2;
43
+ credentials?: Credentials;
44
+ config: NodeConfig<AirtableV22BaseGetManyParams>;
45
+ };
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Airtable Node - Version 2.2 - Zod Schema
3
+ * Discriminator: resource=base, operation=getSchema
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('base'),
18
+ operation: z.literal('getSchema'),
19
+ authentication: z.union([z.literal('airtableTokenApi'), z.literal('airtableOAuth2Api'), expressionSchema]).optional(),
20
+ base: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('url'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
21
+ }).optional(),
22
+ });
23
+ };
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Airtable Node - Version 2.2
3
+ * Discriminator: resource=base, operation=getSchema
4
+ */
5
+
6
+
7
+ interface Credentials {
8
+ airtableTokenApi: CredentialReference;
9
+ airtableOAuth2Api: CredentialReference;
10
+ }
11
+
12
+ /** Get the schema of the tables in a base */
13
+ export type AirtableV22BaseGetSchemaParams = {
14
+ resource: 'base';
15
+ operation: 'getSchema';
16
+ authentication?: 'airtableTokenApi' | 'airtableOAuth2Api' | Expression<string>;
17
+ /**
18
+ * The Airtable Base to retrieve the schema from
19
+ * @default {"mode":"list","value":""}
20
+ */
21
+ base?: { __rl: true; mode: 'list' | 'url' | 'id'; value: string; cachedResultName?: string };
22
+ };
23
+
24
+ export type AirtableV22BaseGetSchemaNode = {
25
+ type: 'n8n-nodes-base.airtable';
26
+ version: 2.2;
27
+ credentials?: Credentials;
28
+ config: NodeConfig<AirtableV22BaseGetSchemaParams>;
29
+ };
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Airtable - Record 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 getDeleteRecordSchema = require('./operation_delete_record.schema');
13
+ const getGetSchema = require('./operation_get.schema');
14
+ const getSearchSchema = require('./operation_search.schema');
15
+ const getUpdateSchema = require('./operation_update.schema');
16
+ const getUpsertSchema = require('./operation_upsert.schema');
17
+
18
+ module.exports = function getSchema(helpers) {
19
+ const { parameters, z } = helpers;
20
+ // Apply operation default if not set
21
+ const effectiveParams = parameters.operation === undefined ? { ...parameters, operation: 'get' } : parameters;
22
+ return z.union([
23
+ getCreateSchema({ ...helpers, parameters: effectiveParams }),
24
+ getDeleteRecordSchema({ ...helpers, parameters: effectiveParams }),
25
+ getGetSchema({ ...helpers, parameters: effectiveParams }),
26
+ getSearchSchema({ ...helpers, parameters: effectiveParams }),
27
+ getUpdateSchema({ ...helpers, parameters: effectiveParams }),
28
+ getUpsertSchema({ ...helpers, parameters: effectiveParams }),
29
+ ]);
30
+ };
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Airtable - Record Resource
3
+ * Re-exports all operation types for this resource.
4
+ */
5
+
6
+ import type { AirtableV22RecordCreateNode } from './operation_create';
7
+ import type { AirtableV22RecordDeleteRecordNode } from './operation_delete_record';
8
+ import type { AirtableV22RecordGetNode } from './operation_get';
9
+ import type { AirtableV22RecordSearchNode } from './operation_search';
10
+ import type { AirtableV22RecordUpdateNode } from './operation_update';
11
+ import type { AirtableV22RecordUpsertNode } from './operation_upsert';
12
+
13
+ export * from './operation_create';
14
+ export * from './operation_delete_record';
15
+ export * from './operation_get';
16
+ export * from './operation_search';
17
+ export * from './operation_update';
18
+ export * from './operation_upsert';
19
+
20
+ export type AirtableV22RecordNode =
21
+ | AirtableV22RecordCreateNode
22
+ | AirtableV22RecordDeleteRecordNode
23
+ | AirtableV22RecordGetNode
24
+ | AirtableV22RecordSearchNode
25
+ | AirtableV22RecordUpdateNode
26
+ | AirtableV22RecordUpsertNode
27
+ ;
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Airtable Node - Version 2.2 - Zod Schema
3
+ * Discriminator: resource=record, 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('record').default('record'),
18
+ operation: z.literal('create'),
19
+ authentication: z.union([z.literal('airtableTokenApi'), z.literal('airtableOAuth2Api'), expressionSchema]).optional(),
20
+ base: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('url'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
21
+ table: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('url'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
22
+ columns: resourceMapperValueSchema.optional(),
23
+ options: z.object({ typecast: booleanOrExpression.optional(), ignoreFields: stringOrExpression.optional(), updateAllMatches: booleanOrExpression.optional() }).optional(),
24
+ }).optional(),
25
+ });
26
+ };