n8n-nodes-base 2.46.0 → 3.0.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 (334) hide show
  1. package/dist/cjs/build.tsbuildinfo +1 -1
  2. package/dist/credentials/SlackApi.credentials.d.ts.map +1 -1
  3. package/dist/credentials/SlackApi.credentials.js +1 -11
  4. package/dist/credentials/SlackApi.credentials.js.map +1 -1
  5. package/dist/credentials/WebflowOAuth2Api.credentials.js +1 -1
  6. package/dist/credentials/WebflowOAuth2Api.credentials.js.map +1 -1
  7. package/dist/known/credentials.json +1 -11
  8. package/dist/known/nodes.json +0 -64
  9. package/dist/methods/defined.json +0 -4
  10. package/dist/methods/referenced.json +0 -4
  11. package/dist/node-definitions/.nodes-hash +1 -1
  12. package/dist/node-definitions/nodes/n8n-nodes-base/code/v1/mode_run_once_for_all_items.ts +1 -1
  13. package/dist/node-definitions/nodes/n8n-nodes-base/code/v1/mode_run_once_for_each_item.ts +1 -1
  14. package/dist/node-definitions/nodes/n8n-nodes-base/code/v2/mode_run_once_for_all_items.ts +1 -1
  15. package/dist/node-definitions/nodes/n8n-nodes-base/code/v2/mode_run_once_for_each_item.ts +1 -1
  16. package/dist/node-definitions/nodes/n8n-nodes-base/convertToFile/v1.ts +13 -14
  17. package/dist/node-definitions/nodes/n8n-nodes-base/convertToFile/v11.ts +13 -14
  18. package/dist/node-definitions/nodes/n8n-nodes-base/convertToFile/v12.ts +13 -14
  19. package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v1.schema.js +1 -3
  20. package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v1.ts +1 -13
  21. package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v11.schema.js +1 -3
  22. package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v11.ts +1 -13
  23. package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v12.schema.js +0 -2
  24. package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v12.ts +0 -12
  25. package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v13.schema.js +0 -2
  26. package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v13.ts +0 -12
  27. package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v14.schema.js +0 -2
  28. package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v14.ts +0 -12
  29. package/dist/node-definitions/nodes/n8n-nodes-base/gmailTrigger/v1.schema.js +1 -0
  30. package/dist/node-definitions/nodes/n8n-nodes-base/gmailTrigger/v1.ts +5 -0
  31. package/dist/node-definitions/nodes/n8n-nodes-base/gmailTrigger/v11.schema.js +1 -0
  32. package/dist/node-definitions/nodes/n8n-nodes-base/gmailTrigger/v11.ts +5 -0
  33. package/dist/node-definitions/nodes/n8n-nodes-base/gmailTrigger/v12.schema.js +1 -0
  34. package/dist/node-definitions/nodes/n8n-nodes-base/gmailTrigger/v12.ts +5 -0
  35. package/dist/node-definitions/nodes/n8n-nodes-base/gmailTrigger/v13.schema.js +1 -0
  36. package/dist/node-definitions/nodes/n8n-nodes-base/gmailTrigger/v13.ts +5 -0
  37. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftOutlook/v2/resource_event/operation_create.ts +2 -2
  38. package/dist/nodes/Code/descriptions/JavascriptCodeDescription.js +1 -1
  39. package/dist/nodes/Code/descriptions/JavascriptCodeDescription.js.map +1 -1
  40. package/dist/nodes/Crypto/v1/CryptoV1.node.d.ts.map +1 -1
  41. package/dist/nodes/Crypto/v1/CryptoV1.node.js +0 -1
  42. package/dist/nodes/Crypto/v1/CryptoV1.node.js.map +1 -1
  43. package/dist/nodes/Crypto/v2/CryptoV2.node.d.ts.map +1 -1
  44. package/dist/nodes/Crypto/v2/CryptoV2.node.js +0 -1
  45. package/dist/nodes/Crypto/v2/CryptoV2.node.js.map +1 -1
  46. package/dist/nodes/DateTime/V1/DateTimeV1.node.js +1 -1
  47. package/dist/nodes/DateTime/V1/DateTimeV1.node.js.map +1 -1
  48. package/dist/nodes/DateTime/V2/DateTimeV2.node.js +1 -1
  49. package/dist/nodes/DateTime/V2/DateTimeV2.node.js.map +1 -1
  50. package/dist/nodes/EditImage/EditImage.node.d.ts +2 -3
  51. package/dist/nodes/EditImage/EditImage.node.d.ts.map +1 -1
  52. package/dist/nodes/EditImage/EditImage.node.js +4 -349
  53. package/dist/nodes/EditImage/EditImage.node.js.map +1 -1
  54. package/dist/nodes/EmailReadImap/v1/EmailReadImapV1.node.js +1 -1
  55. package/dist/nodes/EmailReadImap/v1/EmailReadImapV1.node.js.map +1 -1
  56. package/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.d.ts.map +1 -1
  57. package/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.js +0 -1
  58. package/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.js.map +1 -1
  59. package/dist/nodes/Evaluation/Evaluation/Evaluation.node.ee.js +1 -1
  60. package/dist/nodes/Evaluation/Evaluation/Evaluation.node.ee.js.map +1 -1
  61. package/dist/nodes/Evaluation/EvaluationTrigger/EvaluationTrigger.node.ee.js +1 -1
  62. package/dist/nodes/Evaluation/EvaluationTrigger/EvaluationTrigger.node.ee.js.map +1 -1
  63. package/dist/nodes/ExecuteWorkflow/ExecuteWorkflow/ExecuteWorkflow.node.d.ts.map +1 -1
  64. package/dist/nodes/ExecuteWorkflow/ExecuteWorkflow/ExecuteWorkflow.node.js +0 -56
  65. package/dist/nodes/ExecuteWorkflow/ExecuteWorkflow/ExecuteWorkflow.node.js.map +1 -1
  66. package/dist/nodes/ExecuteWorkflow/ExecuteWorkflow/GenericFunctions.d.ts.map +1 -1
  67. package/dist/nodes/ExecuteWorkflow/ExecuteWorkflow/GenericFunctions.js +3 -33
  68. package/dist/nodes/ExecuteWorkflow/ExecuteWorkflow/GenericFunctions.js.map +1 -1
  69. package/dist/nodes/Filter/V1/FilterV1.node.js +1 -1
  70. package/dist/nodes/Filter/V1/FilterV1.node.js.map +1 -1
  71. package/dist/nodes/Filter/V2/FilterV2.node.js +1 -1
  72. package/dist/nodes/Filter/V2/FilterV2.node.js.map +1 -1
  73. package/dist/nodes/Form/v1/FormTriggerV1.node.d.ts +1 -1
  74. package/dist/nodes/Form/v2/FormTriggerV2.node.d.ts +1 -1
  75. package/dist/nodes/Google/Gmail/GmailTrigger.node.d.ts.map +1 -1
  76. package/dist/nodes/Google/Gmail/GmailTrigger.node.js +43 -48
  77. package/dist/nodes/Google/Gmail/GmailTrigger.node.js.map +1 -1
  78. package/dist/nodes/HttpRequest/V1/HttpRequestV1.node.js +1 -1
  79. package/dist/nodes/HttpRequest/V1/HttpRequestV1.node.js.map +1 -1
  80. package/dist/nodes/HttpRequest/V2/HttpRequestV2.node.js +1 -1
  81. package/dist/nodes/HttpRequest/V2/HttpRequestV2.node.js.map +1 -1
  82. package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js +1 -1
  83. package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js.map +1 -1
  84. package/dist/nodes/ICalendar/createEvent.operation.d.ts.map +1 -1
  85. package/dist/nodes/ICalendar/createEvent.operation.js +31 -177
  86. package/dist/nodes/ICalendar/createEvent.operation.js.map +1 -1
  87. package/dist/nodes/If/V1/IfV1.node.js +1 -1
  88. package/dist/nodes/If/V1/IfV1.node.js.map +1 -1
  89. package/dist/nodes/If/V2/IfV2.node.js +1 -1
  90. package/dist/nodes/If/V2/IfV2.node.js.map +1 -1
  91. package/dist/nodes/Merge/v1/MergeV1.node.js +1 -1
  92. package/dist/nodes/Merge/v1/MergeV1.node.js.map +1 -1
  93. package/dist/nodes/Notion/shared/GenericFunctions.d.ts +3 -3
  94. package/dist/nodes/Notion/shared/GenericFunctions.d.ts.map +1 -1
  95. package/dist/nodes/Set/v1/SetV1.node.js +1 -1
  96. package/dist/nodes/Set/v1/SetV1.node.js.map +1 -1
  97. package/dist/nodes/Simulate/Simulate.node.js +1 -1
  98. package/dist/nodes/Simulate/Simulate.node.js.map +1 -1
  99. package/dist/nodes/Simulate/SimulateTrigger.node.js +1 -1
  100. package/dist/nodes/Simulate/SimulateTrigger.node.js.map +1 -1
  101. package/dist/nodes/Slack/SlackTrigger.node.d.ts.map +1 -1
  102. package/dist/nodes/Slack/SlackTrigger.node.js +8 -0
  103. package/dist/nodes/Slack/SlackTrigger.node.js.map +1 -1
  104. package/dist/nodes/Slack/SlackTriggerHelpers.d.ts.map +1 -1
  105. package/dist/nodes/Slack/SlackTriggerHelpers.js +6 -2
  106. package/dist/nodes/Slack/SlackTriggerHelpers.js.map +1 -1
  107. package/dist/nodes/Slack/V2/SlackHitlWebhook.d.ts +1 -1
  108. package/dist/nodes/SplitInBatches/v1/SplitInBatchesV1.node.js +1 -1
  109. package/dist/nodes/SplitInBatches/v1/SplitInBatchesV1.node.js.map +1 -1
  110. package/dist/nodes/SplitInBatches/v2/SplitInBatchesV2.node.js +1 -1
  111. package/dist/nodes/SplitInBatches/v2/SplitInBatchesV2.node.js.map +1 -1
  112. package/dist/nodes/SpreadsheetFile/v1/SpreadsheetFileV1.node.js +1 -1
  113. package/dist/nodes/SpreadsheetFile/v1/SpreadsheetFileV1.node.js.map +1 -1
  114. package/dist/nodes/SpreadsheetFile/v2/SpreadsheetFileV2.node.js +1 -1
  115. package/dist/nodes/SpreadsheetFile/v2/SpreadsheetFileV2.node.js.map +1 -1
  116. package/dist/nodes/StickyNote/StickyNote.node.js +1 -1
  117. package/dist/nodes/StickyNote/StickyNote.node.js.map +1 -1
  118. package/dist/nodes/Switch/V1/SwitchV1.node.js +1 -1
  119. package/dist/nodes/Switch/V1/SwitchV1.node.js.map +1 -1
  120. package/dist/nodes/Switch/V2/SwitchV2.node.js +1 -1
  121. package/dist/nodes/Switch/V2/SwitchV2.node.js.map +1 -1
  122. package/dist/nodes/Switch/V3/SwitchV3.node.js +1 -1
  123. package/dist/nodes/Switch/V3/SwitchV3.node.js.map +1 -1
  124. package/dist/types/credentials.json +3 -4
  125. package/dist/types/nodes.json +33 -51
  126. package/package.json +13 -32
  127. package/dist/credentials/OrbitApi.credentials.d.ts +0 -8
  128. package/dist/credentials/OrbitApi.credentials.d.ts.map +0 -1
  129. package/dist/credentials/OrbitApi.credentials.js +0 -25
  130. package/dist/credentials/OrbitApi.credentials.js.map +0 -1
  131. package/dist/nodes/AiTransform/AiTransform.node.d.ts +0 -6
  132. package/dist/nodes/AiTransform/AiTransform.node.d.ts.map +0 -1
  133. package/dist/nodes/AiTransform/AiTransform.node.js +0 -101
  134. package/dist/nodes/AiTransform/AiTransform.node.js.map +0 -1
  135. package/dist/nodes/AiTransform/AiTransform.node.json +0 -18
  136. package/dist/nodes/AiTransform/aitransform.svg +0 -10
  137. package/dist/nodes/Cron/Cron.node.d.ts +0 -6
  138. package/dist/nodes/Cron/Cron.node.d.ts.map +0 -1
  139. package/dist/nodes/Cron/Cron.node.js +0 -64
  140. package/dist/nodes/Cron/Cron.node.js.map +0 -1
  141. package/dist/nodes/Cron/Cron.node.json +0 -135
  142. package/dist/nodes/Function/Function.node.d.ts +0 -6
  143. package/dist/nodes/Function/Function.node.d.ts.map +0 -1
  144. package/dist/nodes/Function/Function.node.js +0 -184
  145. package/dist/nodes/Function/Function.node.js.map +0 -1
  146. package/dist/nodes/Function/Function.node.json +0 -129
  147. package/dist/nodes/FunctionItem/FunctionItem.node.d.ts +0 -6
  148. package/dist/nodes/FunctionItem/FunctionItem.node.d.ts.map +0 -1
  149. package/dist/nodes/FunctionItem/FunctionItem.node.js +0 -206
  150. package/dist/nodes/FunctionItem/FunctionItem.node.js.map +0 -1
  151. package/dist/nodes/FunctionItem/FunctionItem.node.json +0 -28
  152. package/dist/nodes/HtmlExtract/HtmlExtract.node.d.ts +0 -6
  153. package/dist/nodes/HtmlExtract/HtmlExtract.node.d.ts.map +0 -1
  154. package/dist/nodes/HtmlExtract/HtmlExtract.node.js +0 -300
  155. package/dist/nodes/HtmlExtract/HtmlExtract.node.js.map +0 -1
  156. package/dist/nodes/HtmlExtract/HtmlExtract.node.json +0 -38
  157. package/dist/nodes/ICalendar/ICalendar.node.d.ts +0 -6
  158. package/dist/nodes/ICalendar/ICalendar.node.d.ts.map +0 -1
  159. package/dist/nodes/ICalendar/ICalendar.node.js +0 -84
  160. package/dist/nodes/ICalendar/ICalendar.node.js.map +0 -1
  161. package/dist/nodes/ICalendar/ICalendar.node.json +0 -17
  162. package/dist/nodes/Interval/Interval.node.d.ts +0 -6
  163. package/dist/nodes/Interval/Interval.node.d.ts.map +0 -1
  164. package/dist/nodes/Interval/Interval.node.js +0 -97
  165. package/dist/nodes/Interval/Interval.node.js.map +0 -1
  166. package/dist/nodes/Interval/Interval.node.json +0 -29
  167. package/dist/nodes/ItemLists/ItemLists.node.d.ts +0 -5
  168. package/dist/nodes/ItemLists/ItemLists.node.d.ts.map +0 -1
  169. package/dist/nodes/ItemLists/ItemLists.node.js +0 -32
  170. package/dist/nodes/ItemLists/ItemLists.node.js.map +0 -1
  171. package/dist/nodes/ItemLists/ItemLists.node.json +0 -48
  172. package/dist/nodes/ItemLists/V1/ItemListsV1.node.d.ts +0 -7
  173. package/dist/nodes/ItemLists/V1/ItemListsV1.node.d.ts.map +0 -1
  174. package/dist/nodes/ItemLists/V1/ItemListsV1.node.js +0 -1254
  175. package/dist/nodes/ItemLists/V1/ItemListsV1.node.js.map +0 -1
  176. package/dist/nodes/ItemLists/V1/summarize.operation.d.ts +0 -4
  177. package/dist/nodes/ItemLists/V1/summarize.operation.d.ts.map +0 -1
  178. package/dist/nodes/ItemLists/V1/summarize.operation.js +0 -468
  179. package/dist/nodes/ItemLists/V1/summarize.operation.js.map +0 -1
  180. package/dist/nodes/ItemLists/V2/ItemListsV2.node.d.ts +0 -7
  181. package/dist/nodes/ItemLists/V2/ItemListsV2.node.d.ts.map +0 -1
  182. package/dist/nodes/ItemLists/V2/ItemListsV2.node.js +0 -1287
  183. package/dist/nodes/ItemLists/V2/ItemListsV2.node.js.map +0 -1
  184. package/dist/nodes/ItemLists/V2/summarize.operation.d.ts +0 -4
  185. package/dist/nodes/ItemLists/V2/summarize.operation.d.ts.map +0 -1
  186. package/dist/nodes/ItemLists/V2/summarize.operation.js +0 -502
  187. package/dist/nodes/ItemLists/V2/summarize.operation.js.map +0 -1
  188. package/dist/nodes/ItemLists/V3/ItemListsV3.node.d.ts +0 -7
  189. package/dist/nodes/ItemLists/V3/ItemListsV3.node.d.ts.map +0 -1
  190. package/dist/nodes/ItemLists/V3/ItemListsV3.node.js +0 -19
  191. package/dist/nodes/ItemLists/V3/ItemListsV3.node.js.map +0 -1
  192. package/dist/nodes/ItemLists/V3/actions/common.descriptions.d.ts +0 -3
  193. package/dist/nodes/ItemLists/V3/actions/common.descriptions.d.ts.map +0 -1
  194. package/dist/nodes/ItemLists/V3/actions/common.descriptions.js +0 -11
  195. package/dist/nodes/ItemLists/V3/actions/common.descriptions.js.map +0 -1
  196. package/dist/nodes/ItemLists/V3/actions/itemList/concatenateItems.operation.d.ts +0 -31
  197. package/dist/nodes/ItemLists/V3/actions/itemList/concatenateItems.operation.d.ts.map +0 -1
  198. package/dist/nodes/ItemLists/V3/actions/itemList/concatenateItems.operation.js +0 -351
  199. package/dist/nodes/ItemLists/V3/actions/itemList/concatenateItems.operation.js.map +0 -1
  200. package/dist/nodes/ItemLists/V3/actions/itemList/index.d.ts +0 -10
  201. package/dist/nodes/ItemLists/V3/actions/itemList/index.d.ts.map +0 -1
  202. package/dist/nodes/ItemLists/V3/actions/itemList/index.js +0 -107
  203. package/dist/nodes/ItemLists/V3/actions/itemList/index.js.map +0 -1
  204. package/dist/nodes/ItemLists/V3/actions/itemList/limit.operation.d.ts +0 -31
  205. package/dist/nodes/ItemLists/V3/actions/itemList/limit.operation.d.ts.map +0 -1
  206. package/dist/nodes/ItemLists/V3/actions/itemList/limit.operation.js +0 -57
  207. package/dist/nodes/ItemLists/V3/actions/itemList/limit.operation.js.map +0 -1
  208. package/dist/nodes/ItemLists/V3/actions/itemList/removeDuplicates.operation.d.ts +0 -31
  209. package/dist/nodes/ItemLists/V3/actions/itemList/removeDuplicates.operation.d.ts.map +0 -1
  210. package/dist/nodes/ItemLists/V3/actions/itemList/removeDuplicates.operation.js +0 -207
  211. package/dist/nodes/ItemLists/V3/actions/itemList/removeDuplicates.operation.js.map +0 -1
  212. package/dist/nodes/ItemLists/V3/actions/itemList/sort.operation.d.ts +0 -31
  213. package/dist/nodes/ItemLists/V3/actions/itemList/sort.operation.d.ts.map +0 -1
  214. package/dist/nodes/ItemLists/V3/actions/itemList/sort.operation.js +0 -240
  215. package/dist/nodes/ItemLists/V3/actions/itemList/sort.operation.js.map +0 -1
  216. package/dist/nodes/ItemLists/V3/actions/itemList/splitOutItems.operation.d.ts +0 -31
  217. package/dist/nodes/ItemLists/V3/actions/itemList/splitOutItems.operation.d.ts.map +0 -1
  218. package/dist/nodes/ItemLists/V3/actions/itemList/splitOutItems.operation.js +0 -207
  219. package/dist/nodes/ItemLists/V3/actions/itemList/splitOutItems.operation.js.map +0 -1
  220. package/dist/nodes/ItemLists/V3/actions/itemList/summarize.operation.d.ts +0 -32
  221. package/dist/nodes/ItemLists/V3/actions/itemList/summarize.operation.d.ts.map +0 -1
  222. package/dist/nodes/ItemLists/V3/actions/itemList/summarize.operation.js +0 -502
  223. package/dist/nodes/ItemLists/V3/actions/itemList/summarize.operation.js.map +0 -1
  224. package/dist/nodes/ItemLists/V3/actions/node.type.d.ts +0 -7
  225. package/dist/nodes/ItemLists/V3/actions/node.type.d.ts.map +0 -1
  226. package/dist/nodes/ItemLists/V3/actions/node.type.js +0 -3
  227. package/dist/nodes/ItemLists/V3/actions/node.type.js.map +0 -1
  228. package/dist/nodes/ItemLists/V3/actions/router.d.ts +0 -3
  229. package/dist/nodes/ItemLists/V3/actions/router.d.ts.map +0 -1
  230. package/dist/nodes/ItemLists/V3/actions/router.js +0 -57
  231. package/dist/nodes/ItemLists/V3/actions/router.js.map +0 -1
  232. package/dist/nodes/ItemLists/V3/actions/versionDescription.d.ts +0 -3
  233. package/dist/nodes/ItemLists/V3/actions/versionDescription.d.ts.map +0 -1
  234. package/dist/nodes/ItemLists/V3/actions/versionDescription.js +0 -70
  235. package/dist/nodes/ItemLists/V3/actions/versionDescription.js.map +0 -1
  236. package/dist/nodes/ItemLists/V3/helpers/utils.d.ts +0 -6
  237. package/dist/nodes/ItemLists/V3/helpers/utils.d.ts.map +0 -1
  238. package/dist/nodes/ItemLists/V3/helpers/utils.js +0 -100
  239. package/dist/nodes/ItemLists/V3/helpers/utils.js.map +0 -1
  240. package/dist/nodes/ItemLists/__schema__/v3.0.0/itemList/limit.json +0 -9
  241. package/dist/nodes/ItemLists/__schema__/v3.1.0/itemList/limit.json +0 -8
  242. package/dist/nodes/ItemLists/__schema__/v3.1.0/itemList/removeDuplicates.json +0 -77
  243. package/dist/nodes/ItemLists/__schema__/v3.1.0/itemList/sort.json +0 -45
  244. package/dist/nodes/ItemLists/__schema__/v3.1.0/itemList/summarize.json +0 -15
  245. package/dist/nodes/ItemLists/itemLists.svg +0 -1
  246. package/dist/nodes/MoveBinaryData/MoveBinaryData.node.d.ts +0 -6
  247. package/dist/nodes/MoveBinaryData/MoveBinaryData.node.d.ts.map +0 -1
  248. package/dist/nodes/MoveBinaryData/MoveBinaryData.node.js +0 -443
  249. package/dist/nodes/MoveBinaryData/MoveBinaryData.node.js.map +0 -1
  250. package/dist/nodes/MoveBinaryData/MoveBinaryData.node.json +0 -17
  251. package/dist/nodes/OpenAi/ChatDescription.d.ts +0 -4
  252. package/dist/nodes/OpenAi/ChatDescription.d.ts.map +0 -1
  253. package/dist/nodes/OpenAi/ChatDescription.js +0 -396
  254. package/dist/nodes/OpenAi/ChatDescription.js.map +0 -1
  255. package/dist/nodes/OpenAi/GenericFunctions.d.ts +0 -3
  256. package/dist/nodes/OpenAi/GenericFunctions.d.ts.map +0 -1
  257. package/dist/nodes/OpenAi/GenericFunctions.js +0 -11
  258. package/dist/nodes/OpenAi/GenericFunctions.js.map +0 -1
  259. package/dist/nodes/OpenAi/ImageDescription.d.ts +0 -4
  260. package/dist/nodes/OpenAi/ImageDescription.d.ts.map +0 -1
  261. package/dist/nodes/OpenAi/ImageDescription.js +0 -392
  262. package/dist/nodes/OpenAi/ImageDescription.js.map +0 -1
  263. package/dist/nodes/OpenAi/OpenAi.node.d.ts +0 -5
  264. package/dist/nodes/OpenAi/OpenAi.node.d.ts.map +0 -1
  265. package/dist/nodes/OpenAi/OpenAi.node.js +0 -79
  266. package/dist/nodes/OpenAi/OpenAi.node.js.map +0 -1
  267. package/dist/nodes/OpenAi/OpenAi.node.json +0 -19
  268. package/dist/nodes/OpenAi/TextDescription.d.ts +0 -4
  269. package/dist/nodes/OpenAi/TextDescription.d.ts.map +0 -1
  270. package/dist/nodes/OpenAi/TextDescription.js +0 -488
  271. package/dist/nodes/OpenAi/TextDescription.js.map +0 -1
  272. package/dist/nodes/OpenAi/__schema__/v1.0.0/chat/chat.json +0 -9
  273. package/dist/nodes/OpenAi/__schema__/v1.0.0/image/create.json +0 -9
  274. package/dist/nodes/OpenAi/__schema__/v1.1.0/chat/complete.json +0 -57
  275. package/dist/nodes/OpenAi/__schema__/v1.1.0/text/chat.json +0 -9
  276. package/dist/nodes/OpenAi/__schema__/v1.1.0/text/complete.json +0 -15
  277. package/dist/nodes/OpenAi/openAi.dark.svg +0 -3
  278. package/dist/nodes/OpenAi/openAi.svg +0 -1
  279. package/dist/nodes/Orbit/ActivityDescription.d.ts +0 -4
  280. package/dist/nodes/Orbit/ActivityDescription.d.ts.map +0 -1
  281. package/dist/nodes/Orbit/ActivityDescription.js +0 -213
  282. package/dist/nodes/Orbit/ActivityDescription.js.map +0 -1
  283. package/dist/nodes/Orbit/GenericFunctions.d.ts +0 -11
  284. package/dist/nodes/Orbit/GenericFunctions.d.ts.map +0 -1
  285. package/dist/nodes/Orbit/GenericFunctions.js +0 -84
  286. package/dist/nodes/Orbit/GenericFunctions.js.map +0 -1
  287. package/dist/nodes/Orbit/Interfaces.d.ts +0 -20
  288. package/dist/nodes/Orbit/Interfaces.d.ts.map +0 -1
  289. package/dist/nodes/Orbit/Interfaces.js +0 -3
  290. package/dist/nodes/Orbit/Interfaces.js.map +0 -1
  291. package/dist/nodes/Orbit/MemberDescription.d.ts +0 -4
  292. package/dist/nodes/Orbit/MemberDescription.d.ts.map +0 -1
  293. package/dist/nodes/Orbit/MemberDescription.js +0 -747
  294. package/dist/nodes/Orbit/MemberDescription.js.map +0 -1
  295. package/dist/nodes/Orbit/NoteDescription.d.ts +0 -4
  296. package/dist/nodes/Orbit/NoteDescription.d.ts.map +0 -1
  297. package/dist/nodes/Orbit/NoteDescription.js +0 -221
  298. package/dist/nodes/Orbit/NoteDescription.js.map +0 -1
  299. package/dist/nodes/Orbit/Orbit.node.d.ts +0 -12
  300. package/dist/nodes/Orbit/Orbit.node.d.ts.map +0 -1
  301. package/dist/nodes/Orbit/Orbit.node.js +0 -94
  302. package/dist/nodes/Orbit/Orbit.node.js.map +0 -1
  303. package/dist/nodes/Orbit/Orbit.node.json +0 -25
  304. package/dist/nodes/Orbit/PostDescription.d.ts +0 -4
  305. package/dist/nodes/Orbit/PostDescription.d.ts.map +0 -1
  306. package/dist/nodes/Orbit/PostDescription.js +0 -227
  307. package/dist/nodes/Orbit/PostDescription.js.map +0 -1
  308. package/dist/nodes/Orbit/orbit.dark.svg +0 -7
  309. package/dist/nodes/Orbit/orbit.svg +0 -7
  310. package/dist/nodes/ReadBinaryFile/ReadBinaryFile.node.d.ts +0 -6
  311. package/dist/nodes/ReadBinaryFile/ReadBinaryFile.node.d.ts.map +0 -1
  312. package/dist/nodes/ReadBinaryFile/ReadBinaryFile.node.js +0 -86
  313. package/dist/nodes/ReadBinaryFile/ReadBinaryFile.node.js.map +0 -1
  314. package/dist/nodes/ReadBinaryFile/ReadBinaryFile.node.json +0 -34
  315. package/dist/nodes/ReadBinaryFiles/ReadBinaryFiles.node.d.ts +0 -6
  316. package/dist/nodes/ReadBinaryFiles/ReadBinaryFiles.node.d.ts.map +0 -1
  317. package/dist/nodes/ReadBinaryFiles/ReadBinaryFiles.node.js +0 -62
  318. package/dist/nodes/ReadBinaryFiles/ReadBinaryFiles.node.js.map +0 -1
  319. package/dist/nodes/ReadBinaryFiles/ReadBinaryFiles.node.json +0 -17
  320. package/dist/nodes/ReadPdf/ReadPDF.node.d.ts +0 -6
  321. package/dist/nodes/ReadPdf/ReadPDF.node.d.ts.map +0 -1
  322. package/dist/nodes/ReadPdf/ReadPDF.node.js +0 -89
  323. package/dist/nodes/ReadPdf/ReadPDF.node.js.map +0 -1
  324. package/dist/nodes/ReadPdf/ReadPDF.node.json +0 -16
  325. package/dist/nodes/WorkflowTrigger/WorkflowTrigger.node.d.ts +0 -6
  326. package/dist/nodes/WorkflowTrigger/WorkflowTrigger.node.d.ts.map +0 -1
  327. package/dist/nodes/WorkflowTrigger/WorkflowTrigger.node.js +0 -91
  328. package/dist/nodes/WorkflowTrigger/WorkflowTrigger.node.js.map +0 -1
  329. package/dist/nodes/WorkflowTrigger/WorkflowTrigger.node.json +0 -16
  330. package/dist/nodes/WriteBinaryFile/WriteBinaryFile.node.d.ts +0 -6
  331. package/dist/nodes/WriteBinaryFile/WriteBinaryFile.node.d.ts.map +0 -1
  332. package/dist/nodes/WriteBinaryFile/WriteBinaryFile.node.js +0 -118
  333. package/dist/nodes/WriteBinaryFile/WriteBinaryFile.node.js.map +0 -1
  334. package/dist/nodes/WriteBinaryFile/WriteBinaryFile.node.json +0 -24
@@ -1,213 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.activityFields = exports.activityOperations = void 0;
4
- exports.activityOperations = [
5
- {
6
- displayName: 'Operation',
7
- name: 'operation',
8
- type: 'options',
9
- noDataExpression: true,
10
- displayOptions: {
11
- show: {
12
- resource: ['activity'],
13
- },
14
- },
15
- options: [
16
- {
17
- name: 'Create',
18
- value: 'create',
19
- description: 'Create an activity for a member',
20
- action: 'Create an activity',
21
- },
22
- {
23
- name: 'Get Many',
24
- value: 'getAll',
25
- description: 'Get many activities',
26
- action: 'Get many activities',
27
- },
28
- ],
29
- default: 'create',
30
- },
31
- ];
32
- exports.activityFields = [
33
- /* -------------------------------------------------------------------------- */
34
- /* activity:create */
35
- /* -------------------------------------------------------------------------- */
36
- {
37
- displayName: 'Workspace Name or ID',
38
- name: 'workspaceId',
39
- type: 'options',
40
- description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>',
41
- typeOptions: {
42
- loadOptionsMethod: 'getWorkspaces',
43
- },
44
- default: 'Deprecated',
45
- required: true,
46
- displayOptions: {
47
- show: {
48
- resource: ['activity'],
49
- operation: ['create'],
50
- },
51
- },
52
- },
53
- {
54
- displayName: 'Member ID',
55
- name: 'memberId',
56
- type: 'string',
57
- default: '',
58
- required: true,
59
- displayOptions: {
60
- show: {
61
- resource: ['activity'],
62
- operation: ['create'],
63
- },
64
- },
65
- },
66
- {
67
- displayName: 'Title',
68
- name: 'title',
69
- type: 'string',
70
- default: '',
71
- required: true,
72
- displayOptions: {
73
- show: {
74
- resource: ['activity'],
75
- operation: ['create'],
76
- },
77
- },
78
- },
79
- {
80
- displayName: 'Additional Fields',
81
- name: 'additionalFields',
82
- type: 'collection',
83
- placeholder: 'Add Field',
84
- displayOptions: {
85
- show: {
86
- resource: ['activity'],
87
- operation: ['create'],
88
- },
89
- },
90
- default: {},
91
- options: [
92
- {
93
- displayName: 'Activity Type Name or ID',
94
- name: 'activityType',
95
- type: 'options',
96
- typeOptions: {
97
- loadOptionsMethod: 'getActivityTypes',
98
- },
99
- default: 'Deprecated',
100
- description: 'A user-defined way to group activities of the same nature. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.',
101
- },
102
- {
103
- displayName: 'Description',
104
- name: 'description',
105
- type: 'string',
106
- default: '',
107
- description: 'A description of the activity; displayed in the timeline',
108
- },
109
- {
110
- displayName: 'Key',
111
- name: 'key',
112
- type: 'string',
113
- default: '',
114
- description: 'Supply a key that must be unique or leave blank to have one generated',
115
- },
116
- {
117
- displayName: 'Link',
118
- name: 'link',
119
- type: 'string',
120
- default: '',
121
- description: 'A URL for the activity; displayed in the timeline',
122
- },
123
- {
124
- displayName: 'Link Text',
125
- name: 'linkText',
126
- type: 'string',
127
- default: '',
128
- description: 'The text for the timeline link',
129
- },
130
- {
131
- displayName: 'Occurred At',
132
- name: 'occurredAt',
133
- type: 'dateTime',
134
- default: '',
135
- description: 'The date and time the activity occurred; defaults to now',
136
- },
137
- ],
138
- },
139
- /* -------------------------------------------------------------------------- */
140
- /* activity:getAll */
141
- /* -------------------------------------------------------------------------- */
142
- {
143
- displayName: 'Workspace Name or ID',
144
- name: 'workspaceId',
145
- type: 'options',
146
- description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>',
147
- typeOptions: {
148
- loadOptionsMethod: 'getWorkspaces',
149
- },
150
- default: 'Deprecated',
151
- required: true,
152
- displayOptions: {
153
- show: {
154
- resource: ['activity'],
155
- operation: ['getAll'],
156
- },
157
- },
158
- },
159
- {
160
- displayName: 'Return All',
161
- name: 'returnAll',
162
- type: 'boolean',
163
- displayOptions: {
164
- show: {
165
- operation: ['getAll'],
166
- resource: ['activity'],
167
- },
168
- },
169
- default: false,
170
- description: 'Whether to return all results or only up to a given limit',
171
- },
172
- {
173
- displayName: 'Limit',
174
- name: 'limit',
175
- type: 'number',
176
- displayOptions: {
177
- show: {
178
- operation: ['getAll'],
179
- resource: ['activity'],
180
- returnAll: [false],
181
- },
182
- },
183
- typeOptions: {
184
- minValue: 1,
185
- maxValue: 500,
186
- },
187
- default: 100,
188
- description: 'Max number of results to return',
189
- },
190
- {
191
- displayName: 'Filters',
192
- name: 'filters',
193
- type: 'collection',
194
- placeholder: 'Add Filter',
195
- default: {},
196
- displayOptions: {
197
- show: {
198
- resource: ['activity'],
199
- operation: ['getAll'],
200
- },
201
- },
202
- options: [
203
- {
204
- displayName: 'Member ID',
205
- name: 'memberId',
206
- type: 'string',
207
- default: '',
208
- description: 'When set the post will be filtered by the member ID',
209
- },
210
- ],
211
- },
212
- ];
213
- //# sourceMappingURL=ActivityDescription.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ActivityDescription.js","sourceRoot":"","sources":["../../../nodes/Orbit/ActivityDescription.ts"],"names":[],"mappings":";;;AAEa,QAAA,kBAAkB,GAAsB;IACpD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,UAAU,CAAC;aACtB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,iCAAiC;gBAC9C,MAAM,EAAE,oBAAoB;aAC5B;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,qBAAqB;gBAClC,MAAM,EAAE,qBAAqB;aAC7B;SACD;QACD,OAAO,EAAE,QAAQ;KACjB;CACD,CAAC;AAEW,QAAA,cAAc,GAAsB;IAChD,gFAAgF;IAChF,gFAAgF;IAChF,gFAAgF;IAChF;QACC,WAAW,EAAE,sBAAsB;QACnC,IAAI,EAAE,aAAa;QACnB,IAAI,EAAE,SAAS;QACf,WAAW,EACV,gHAAgH;QACjH,WAAW,EAAE;YACZ,iBAAiB,EAAE,eAAe;SAClC;QACD,OAAO,EAAE,YAAY;QACrB,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,UAAU,CAAC;gBACtB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;KACD;IACD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE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iCAAiC;KAC9C;IACD;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,YAAY;QACzB,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,UAAU,CAAC;gBACtB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,qDAAqD;aAClE;SACD;KACD;CACD,CAAC"}
@@ -1,11 +0,0 @@
1
- import type { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions, IDataObject, IHttpRequestMethods } from 'n8n-workflow';
2
- import type { IRelation } from './Interfaces';
3
- export declare function orbitApiRequest(this: IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions, method: IHttpRequestMethods, resource: string, body?: any, qs?: IDataObject, uri?: string, option?: IDataObject): Promise<any>;
4
- export declare function resolveIdentities(responseData: IRelation): void;
5
- export declare function resolveMember(responseData: IRelation): void;
6
- /**
7
- * Make an API request to paginated flow endpoint
8
- * and return all results
9
- */
10
- export declare function orbitApiRequestAllItems(this: IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions, propertyName: string, method: IHttpRequestMethods, resource: string, body?: any, query?: IDataObject): Promise<any>;
11
- //# sourceMappingURL=GenericFunctions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GenericFunctions.d.ts","sourceRoot":"","sources":["../../../nodes/Orbit/GenericFunctions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEX,iBAAiB,EACjB,cAAc,EACd,qBAAqB,EACrB,WAAW,EACX,mBAAmB,EAEnB,MAAM,cAAc,CAAC;AAGtB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,wBAAsB,eAAe,CACpC,IAAI,EAAE,cAAc,GAAG,iBAAiB,GAAG,qBAAqB,EAChE,MAAM,EAAE,mBAAmB,EAC3B,QAAQ,EAAE,MAAM,EAEhB,IAAI,GAAE,GAAQ,EACd,EAAE,GAAE,WAAgB,EACpB,GAAG,CAAC,EAAE,MAAM,EACZ,MAAM,GAAE,WAAgB,GACtB,OAAO,CAAC,GAAG,CAAC,CAoBd;AAED,wBAAgB,iBAAiB,CAAC,YAAY,EAAE,SAAS,QAiBxD;AAED,wBAAgB,aAAa,CAAC,YAAY,EAAE,SAAS,QAgBpD;AAED;;;GAGG;AACH,wBAAsB,uBAAuB,CAC5C,IAAI,EAAE,cAAc,GAAG,iBAAiB,GAAG,qBAAqB,EAChE,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,mBAAmB,EAC3B,QAAQ,EAAE,MAAM,EAEhB,IAAI,GAAE,GAAQ,EACd,KAAK,GAAE,WAAgB,GACrB,OAAO,CAAC,GAAG,CAAC,CAyBd"}
@@ -1,84 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.orbitApiRequest = orbitApiRequest;
4
- exports.resolveIdentities = resolveIdentities;
5
- exports.resolveMember = resolveMember;
6
- exports.orbitApiRequestAllItems = orbitApiRequestAllItems;
7
- const n8n_workflow_1 = require("n8n-workflow");
8
- async function orbitApiRequest(method, resource, body = {}, qs = {}, uri, option = {}) {
9
- try {
10
- const credentials = await this.getCredentials('orbitApi');
11
- let options = {
12
- headers: {
13
- Authorization: `Bearer ${credentials.accessToken}`,
14
- },
15
- method,
16
- qs,
17
- body,
18
- uri: uri || `https://app.orbit.love/api/v1${resource}`,
19
- json: true,
20
- };
21
- options = Object.assign({}, options, option);
22
- return await this.helpers.request(options);
23
- }
24
- catch (error) {
25
- throw new n8n_workflow_1.NodeApiError(this.getNode(), error);
26
- }
27
- }
28
- function resolveIdentities(responseData) {
29
- const identities = {};
30
- for (const data of responseData.included) {
31
- identities[data.id] = data;
32
- }
33
- if (!Array.isArray(responseData.data)) {
34
- responseData.data = [responseData.data];
35
- }
36
- for (let i = 0; i < responseData.data.length; i++) {
37
- for (let y = 0; y < responseData.data[i].relationships.identities.data.length; y++) {
38
- //@ts-ignore
39
- responseData.data[i].relationships.identities.data[y] =
40
- identities[responseData.data[i].relationships.identities.data[y].id];
41
- }
42
- }
43
- }
44
- function resolveMember(responseData) {
45
- const members = {};
46
- for (const data of responseData.included) {
47
- members[data.id] = data;
48
- }
49
- if (!Array.isArray(responseData.data)) {
50
- responseData.data = [responseData.data];
51
- }
52
- for (let i = 0; i < responseData.data.length; i++) {
53
- //@ts-ignore
54
- responseData.data[i].relationships.member.data =
55
- //@ts-ignore
56
- members[responseData.data[i].relationships.member.data.id];
57
- }
58
- }
59
- /**
60
- * Make an API request to paginated flow endpoint
61
- * and return all results
62
- */
63
- async function orbitApiRequestAllItems(propertyName, method, resource, body = {}, query = {}) {
64
- const returnData = [];
65
- let responseData;
66
- query.page = 1;
67
- do {
68
- responseData = await orbitApiRequest.call(this, method, resource, body, query);
69
- returnData.push.apply(returnData, responseData[propertyName]);
70
- if (query.resolveIdentities === true) {
71
- resolveIdentities(responseData);
72
- }
73
- if (query.resolveMember === true) {
74
- resolveMember(responseData);
75
- }
76
- query.page++;
77
- const limit = query.limit;
78
- if (limit && returnData.length >= limit) {
79
- return returnData;
80
- }
81
- } while (responseData.data.length !== 0);
82
- return returnData;
83
- }
84
- //# sourceMappingURL=GenericFunctions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GenericFunctions.js","sourceRoot":"","sources":["../../../nodes/Orbit/GenericFunctions.ts"],"names":[],"mappings":";;;;;;AASA,+CAA4C;AAIrC,KAAK,0BAEX,MAA2B,EAC3B,QAAgB,EAEhB,IAAI,GAAQ,EAAE,EACd,EAAE,GAAgB,EAAE,EACpB,GAAY,EACZ,MAAM,GAAgB,EAAE;IAExB,IAAI,CAAC;QACJ,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,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M,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;QAC/E,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,YAAY,CAAC,YAAY,CAAkB,CAAC,CAAC;QAE/E,IAAI,KAAK,CAAC,iBAAiB,KAAK,IAAI,EAAE,CAAC;YACtC,iBAAiB,CAAC,YAAyB,CAAC,CAAC;QAC9C,CAAC;QAED,IAAI,KAAK,CAAC,aAAa,KAAK,IAAI,EAAE,CAAC;YAClC,aAAa,CAAC,YAAyB,CAAC,CAAC;QAC1C,CAAC;QAED,KAAK,CAAC,IAAI,EAAE,CAAC;QACb,MAAM,KAAK,GAAG,KAAK,CAAC,KAA2B,CAAC;QAChD,IAAI,KAAK,IAAI,UAAU,CAAC,MAAM,IAAI,KAAK,EAAE,CAAC;YACzC,OAAO,UAAU,CAAC;QACnB,CAAC;IACF,CAAC,QAAQ,YAAY,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE;IACzC,OAAO,UAAU,CAAC;AACnB,CAAC"}
@@ -1,20 +0,0 @@
1
- import type { IDataObject } from 'n8n-workflow';
2
- export interface IData {
3
- data: [
4
- {
5
- id: string;
6
- }
7
- ];
8
- }
9
- export interface IRelation {
10
- data: [
11
- {
12
- relationships: {
13
- identities: IData;
14
- member: IData;
15
- };
16
- }
17
- ];
18
- included: IDataObject[];
19
- }
20
- //# sourceMappingURL=Interfaces.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Interfaces.d.ts","sourceRoot":"","sources":["../../../nodes/Orbit/Interfaces.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,MAAM,WAAW,KAAK;IACrB,IAAI,EAAE;QACL;YACC,EAAE,EAAE,MAAM,CAAC;SACX;KACD,CAAC;CACF;AAED,MAAM,WAAW,SAAS;IACzB,IAAI,EAAE;QACL;YACC,aAAa,EAAE;gBACd,UAAU,EAAE,KAAK,CAAC;gBAClB,MAAM,EAAE,KAAK,CAAC;aACd,CAAC;SACF;KACD,CAAC;IACF,QAAQ,EAAE,WAAW,EAAE,CAAC;CACxB"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Interfaces.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Interfaces.js","sourceRoot":"","sources":["../../../nodes/Orbit/Interfaces.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import type { INodeProperties } from 'n8n-workflow';
2
- export declare const memberOperations: INodeProperties[];
3
- export declare const memberFields: INodeProperties[];
4
- //# sourceMappingURL=MemberDescription.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MemberDescription.d.ts","sourceRoot":"","sources":["../../../nodes/Orbit/MemberDescription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,eAAO,MAAM,gBAAgB,EAAE,eAAe,EAmD7C,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,eAAe,EAksBzC,CAAC"}