n8n-nodes-base 1.105.2 → 1.107.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 (211) hide show
  1. package/dist/nodes/Affinity/__schema__/v1.0.0/organization/get.json +1 -4
  2. package/dist/nodes/Affinity/__schema__/v1.0.0/person/getAll.json +24 -0
  3. package/dist/nodes/Airtable/test/v2/node/helpers.d.ts.map +1 -1
  4. package/dist/nodes/Airtable/test/v2/node/helpers.js +8 -8
  5. package/dist/nodes/Airtable/test/v2/node/helpers.js.map +1 -1
  6. package/dist/nodes/Airtable/v2/actions/record/create.operation.d.ts.map +1 -1
  7. package/dist/nodes/Airtable/v2/actions/record/create.operation.js +6 -5
  8. package/dist/nodes/Airtable/v2/actions/record/create.operation.js.map +1 -1
  9. package/dist/nodes/Airtop/__schema__/v1.0.0/extraction/getPaginated.json +7 -1
  10. package/dist/nodes/Airtop/__schema__/v1.0.0/extraction/scrape.json +7 -1
  11. package/dist/nodes/Airtop/__schema__/v1.0.0/interaction/click.json +42 -0
  12. package/dist/nodes/Airtop/__schema__/v1.0.0/session/create.json +60 -1
  13. package/dist/nodes/Airtop/__schema__/v1.0.0/session/terminate.json +9 -0
  14. package/dist/nodes/Airtop/__schema__/v1.0.0/window/create.json +1 -4
  15. package/dist/nodes/Aws/DynamoDB/__schema__/v1.0.0/item/getAll.json +9 -0
  16. package/dist/nodes/BambooHr/__schema__/v1.0.0/companyReport/get.json +1 -7
  17. package/dist/nodes/BambooHr/__schema__/v1.0.0/employee/getAll.json +10 -1
  18. package/dist/nodes/Bitly/__schema__/v1.0.0/link/create.json +7 -1
  19. package/dist/nodes/Box/__schema__/v1.0.0/file/download.json +7 -1
  20. package/dist/nodes/ClickUp/__schema__/v1.0.0/folder/create.json +74 -1
  21. package/dist/nodes/ClickUp/__schema__/v1.0.0/list/customFields.json +26 -1
  22. package/dist/nodes/Coda/__schema__/v1.1.0/table/getAllRows.json +4 -1
  23. package/dist/nodes/Code/Code.node.d.ts.map +1 -1
  24. package/dist/nodes/Code/Code.node.js +46 -26
  25. package/dist/nodes/Code/Code.node.js.map +1 -1
  26. package/dist/nodes/Code/JsTaskRunnerSandbox.d.ts +0 -1
  27. package/dist/nodes/Code/JsTaskRunnerSandbox.d.ts.map +1 -1
  28. package/dist/nodes/Code/JsTaskRunnerSandbox.js +3 -15
  29. package/dist/nodes/Code/JsTaskRunnerSandbox.js.map +1 -1
  30. package/dist/nodes/Code/PythonTaskRunnerSandbox.d.ts +17 -0
  31. package/dist/nodes/Code/PythonTaskRunnerSandbox.d.ts.map +1 -0
  32. package/dist/nodes/Code/PythonTaskRunnerSandbox.js +39 -0
  33. package/dist/nodes/Code/PythonTaskRunnerSandbox.js.map +1 -0
  34. package/dist/nodes/Code/descriptions/PythonCodeDescription.d.ts.map +1 -1
  35. package/dist/nodes/Code/descriptions/PythonCodeDescription.js +15 -3
  36. package/dist/nodes/Code/descriptions/PythonCodeDescription.js.map +1 -1
  37. package/dist/nodes/Code/native-python-without-runner.error.d.ts +5 -0
  38. package/dist/nodes/Code/native-python-without-runner.error.d.ts.map +1 -0
  39. package/dist/nodes/Code/native-python-without-runner.error.js +11 -0
  40. package/dist/nodes/Code/native-python-without-runner.error.js.map +1 -0
  41. package/dist/nodes/Code/throw-execution-error.d.ts +2 -0
  42. package/dist/nodes/Code/throw-execution-error.d.ts.map +1 -0
  43. package/dist/nodes/Code/throw-execution-error.js +17 -0
  44. package/dist/nodes/Code/throw-execution-error.js.map +1 -0
  45. package/dist/nodes/CoinGecko/__schema__/v1.0.0/coin/candlestick.json +9 -0
  46. package/dist/nodes/Contentful/__schema__/v1.0.0/contentType/get.json +27 -0
  47. package/dist/nodes/Dropbox/__schema__/v1.0.0/file/download.json +1 -19
  48. package/dist/nodes/Dropcontact/__schema__/v1.0.0/contact/enrich.json +1 -19
  49. package/dist/nodes/Elastic/Elasticsearch/__schema__/v1.0.0/document/getAll.json +4 -1
  50. package/dist/nodes/EmailSend/__schema__/v2.1.0/email/send.json +1 -7
  51. package/dist/nodes/Files/ExtractFromFile/actions/moveTo.operation.js +1 -1
  52. package/dist/nodes/Files/ExtractFromFile/actions/moveTo.operation.js.map +1 -1
  53. package/dist/nodes/Files/ReadWriteFile/helpers/utils.d.ts.map +1 -1
  54. package/dist/nodes/Files/ReadWriteFile/helpers/utils.js +18 -16
  55. package/dist/nodes/Files/ReadWriteFile/helpers/utils.js.map +1 -1
  56. package/dist/nodes/Form/Form.node.d.ts.map +1 -1
  57. package/dist/nodes/Form/Form.node.js +3 -1
  58. package/dist/nodes/Form/Form.node.js.map +1 -1
  59. package/dist/nodes/Form/FormTrigger.node.d.ts.map +1 -1
  60. package/dist/nodes/Form/FormTrigger.node.js +2 -1
  61. package/dist/nodes/Form/FormTrigger.node.js.map +1 -1
  62. package/dist/nodes/Form/common.descriptions.d.ts.map +1 -1
  63. package/dist/nodes/Form/common.descriptions.js +171 -14
  64. package/dist/nodes/Form/common.descriptions.js.map +1 -1
  65. package/dist/nodes/Form/interfaces.d.ts +21 -11
  66. package/dist/nodes/Form/interfaces.d.ts.map +1 -1
  67. package/dist/nodes/Form/interfaces.js.map +1 -1
  68. package/dist/nodes/Form/utils/utils.d.ts +4 -0
  69. package/dist/nodes/Form/utils/utils.d.ts.map +1 -1
  70. package/dist/nodes/Form/utils/utils.js +16 -2
  71. package/dist/nodes/Form/utils/utils.js.map +1 -1
  72. package/dist/nodes/Form/v2/FormTriggerV2.node.d.ts.map +1 -1
  73. package/dist/nodes/Form/v2/FormTriggerV2.node.js +3 -1
  74. package/dist/nodes/Form/v2/FormTriggerV2.node.js.map +1 -1
  75. package/dist/nodes/FreshworksCrm/__schema__/v1.0.0/search/query.json +35 -0
  76. package/dist/nodes/Github/__schema__/v1.1.0/file/get.json +1 -42
  77. package/dist/nodes/Gitlab/__schema__/v1.0.0/file/get.json +4 -1
  78. package/dist/nodes/Google/Analytics/__schema__/v2.0.0/report/get.json +71 -2
  79. package/dist/nodes/Google/Calendar/__schema__/v1.3.0/event/create.json +4 -1
  80. package/dist/nodes/Google/Calendar/__schema__/v1.3.0/event/getAll.json +1 -4
  81. package/dist/nodes/Google/Chat/__schema__/v1.0.0/message/create.json +30 -1
  82. package/dist/nodes/Google/Chat/__schema__/v1.0.0/message/get.json +1 -63
  83. package/dist/nodes/Google/CloudStorage/__schema__/v1.0.0/object/getAll.json +7 -1
  84. package/dist/nodes/Google/Contacts/__schema__/v1.0.0/contact/getAll.json +21 -1
  85. package/dist/nodes/Google/Drive/__schema__/v3.0.0/file/upload.json +34 -1
  86. package/dist/nodes/Google/Firebase/CloudFirestore/__schema__/v1.1.0/document/create.json +1 -4
  87. package/dist/nodes/Google/Firebase/CloudFirestore/__schema__/v1.1.0/document/getAll.json +1 -4
  88. package/dist/nodes/Google/GSuiteAdmin/__schema__/v1.0.0/user/get.json +1 -65
  89. package/dist/nodes/Google/GSuiteAdmin/__schema__/v1.0.0/user/getAll.json +1 -22
  90. package/dist/nodes/Google/Gmail/__schema__/v2.1.0/message/getAll.json +27 -123
  91. package/dist/nodes/Google/Task/__schema__/v1.0.0/task/getAll.json +4 -4
  92. package/dist/nodes/Grist/GenericFunctions.d.ts +1 -0
  93. package/dist/nodes/Grist/GenericFunctions.d.ts.map +1 -1
  94. package/dist/nodes/Grist/GenericFunctions.js +5 -1
  95. package/dist/nodes/Grist/GenericFunctions.js.map +1 -1
  96. package/dist/nodes/HighLevel/__schema__/v2.0.0/calendar/bookAppointment.json +36 -0
  97. package/dist/nodes/HomeAssistant/__schema__/v1.0.0/state/get.json +1 -7
  98. package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.d.ts.map +1 -1
  99. package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js +190 -179
  100. package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js.map +1 -1
  101. package/dist/nodes/Hubspot/__schema__/v2.1.0/company/getAll.json +4 -1
  102. package/dist/nodes/Hubspot/__schema__/v2.1.0/deal/getAll.json +1 -257
  103. package/dist/nodes/Hubspot/__schema__/v2.1.0/deal/search.json +10 -1
  104. package/dist/nodes/Hubspot/__schema__/v2.1.0/ticket/get.json +67 -1
  105. package/dist/nodes/Hubspot/__schema__/v2.1.0/ticket/getAll.json +61 -1
  106. package/dist/nodes/Jenkins/__schema__/v1.0.0/job/trigger.json +9 -0
  107. package/dist/nodes/Jenkins/__schema__/v1.0.0/job/triggerParams.json +9 -0
  108. package/dist/nodes/JinaAI/__schema__/v1.0.0/reader/read.json +9 -1
  109. package/dist/nodes/Jira/__schema__/v1.0.0/issue/get.json +121 -1
  110. package/dist/nodes/Jira/__schema__/v1.0.0/issue/getAll.json +310 -1
  111. package/dist/nodes/Lemlist/__schema__/v2.0.0/campaign/getStats.json +39 -0
  112. package/dist/nodes/Lemlist/__schema__/v2.0.0/enrich/get.json +3 -18
  113. package/dist/nodes/Lemlist/__schema__/v2.0.0/lead/get.json +1 -4
  114. package/dist/nodes/Mailchimp/__schema__/v1.0.0/member/create.json +15 -1
  115. package/dist/nodes/Mailchimp/__schema__/v1.0.0/member/get.json +7 -4
  116. package/dist/nodes/Marketstack/__schema__/v1.0.0/endOfDayData/getAll.json +1 -4
  117. package/dist/nodes/Matrix/__schema__/v1.0.0/message/getAll.json +4 -1
  118. package/dist/nodes/Metabase/__schema__/v1.0.0/databases/getAll.json +21 -0
  119. package/dist/nodes/Metabase/__schema__/v1.0.0/databases/getFields.json +9 -13
  120. package/dist/nodes/Metabase/__schema__/v1.0.0/questions/get.json +85 -12
  121. package/dist/nodes/Microsoft/AzureCosmosDb/__schema__/v1.0.0/item/getAll.json +12 -0
  122. package/dist/nodes/Microsoft/Entra/__schema__/v1.0.0/group/getAll.json +27 -0
  123. package/dist/nodes/Microsoft/Entra/__schema__/v1.0.0/user/create.json +13 -18
  124. package/dist/nodes/Microsoft/Entra/__schema__/v1.0.0/user/getAll.json +1 -4
  125. package/dist/nodes/Microsoft/OneDrive/__schema__/v1.0.0/file/download.json +10 -23
  126. package/dist/nodes/Microsoft/OneDrive/__schema__/v1.0.0/folder/create.json +15 -7
  127. package/dist/nodes/Microsoft/Outlook/__schema__/v2.0.0/message/get.json +39 -4
  128. package/dist/nodes/Microsoft/Outlook/__schema__/v2.0.0/message/getAll.json +1 -4
  129. package/dist/nodes/Microsoft/Outlook/__schema__/v2.0.0/messageAttachment/get.json +1 -25
  130. package/dist/nodes/Microsoft/SharePoint/__schema__/v1.0.0/item/get.json +71 -0
  131. package/dist/nodes/Microsoft/SharePoint/__schema__/v1.0.0/item/getAll.json +1 -70
  132. package/dist/nodes/Microsoft/SharePoint/__schema__/v1.0.0/list/get.json +27 -0
  133. package/dist/nodes/Microsoft/SharePoint/__schema__/v1.0.0/list/getAll.json +27 -0
  134. package/dist/nodes/Microsoft/Sql/MicrosoftSql.node.js +1 -1
  135. package/dist/nodes/Microsoft/Sql/MicrosoftSql.node.js.map +1 -1
  136. package/dist/nodes/Microsoft/ToDo/__schema__/v1.0.0/task/getAll.json +18 -1
  137. package/dist/nodes/N8nTrainingCustomerDatastore/__schema__/v1.0.0/execution/get.json +1 -4
  138. package/dist/nodes/N8nTrainingCustomerDatastore/__schema__/v1.0.0/execution/getAll.json +1 -4
  139. package/dist/nodes/N8nTrainingCustomerDatastore/__schema__/v1.0.0/workflow/create.json +10 -1
  140. package/dist/nodes/Nasa/__schema__/v1.0.0/donkiSolarFlare/get.json +1 -7
  141. package/dist/nodes/NextCloud/__schema__/v1.0.0/file/download.json +2 -32
  142. package/dist/nodes/Odoo/__schema__/v1.0.0/contact/get.json +1 -4
  143. package/dist/nodes/Odoo/__schema__/v1.0.0/opportunity/getAll.json +4 -1
  144. package/dist/nodes/Okta/__schema__/v1.0.0/user/getAll.json +1 -37
  145. package/dist/nodes/Perplexity/__schema__/v1.0.0/chat/complete.json +12 -1
  146. package/dist/nodes/Phantombuster/__schema__/v1.0.0/agent/getOutput.json +1 -10
  147. package/dist/nodes/Reddit/__schema__/v1.0.0/post/getAll.json +78 -4
  148. package/dist/nodes/RespondToWebhook/RespondToWebhook.node.d.ts.map +1 -1
  149. package/dist/nodes/RespondToWebhook/RespondToWebhook.node.js +1 -15
  150. package/dist/nodes/RespondToWebhook/RespondToWebhook.node.js.map +1 -1
  151. package/dist/nodes/RespondToWebhook/utils/binary.d.ts +1 -1
  152. package/dist/nodes/RespondToWebhook/utils/binary.d.ts.map +1 -1
  153. package/dist/nodes/RespondToWebhook/utils/binary.js +2 -17
  154. package/dist/nodes/RespondToWebhook/utils/binary.js.map +1 -1
  155. package/dist/nodes/S3/__schema__/v1.0.0/file/download.json +10 -1
  156. package/dist/nodes/Salesforce/__schema__/v1.0.0/case/getAll.json +4 -1
  157. package/dist/nodes/Salesforce/__schema__/v1.0.0/customObject/create.json +15 -1
  158. package/dist/nodes/Salesforce/__schema__/v1.0.0/customObject/getAll.json +4 -1
  159. package/dist/nodes/Salesforce/__schema__/v1.0.0/customObject/upsert.json +4 -4
  160. package/dist/nodes/Salesforce/__schema__/v1.0.0/opportunity/getAll.json +5 -2
  161. package/dist/nodes/Salesforce/__schema__/v1.0.0/task/getAll.json +10 -4
  162. package/dist/nodes/Salesforce/__schema__/v1.0.0/user/getAll.json +1 -4
  163. package/dist/nodes/SeaTable/__schema__/v2.0.0/row/create.json +24 -0
  164. package/dist/nodes/Shopify/__schema__/v1.0.0/order/getAll.json +4 -45
  165. package/dist/nodes/Shopify/__schema__/v1.0.0/product/get.json +1 -4
  166. package/dist/nodes/Slack/V2/MessageDescription.js +1 -1
  167. package/dist/nodes/Slack/V2/MessageDescription.js.map +1 -1
  168. package/dist/nodes/Slack/__schema__/v2.3.0/channel/history.json +3 -3
  169. package/dist/nodes/Slack/__schema__/v2.3.0/channel/join.json +2 -174
  170. package/dist/nodes/Slack/__schema__/v2.3.0/channel/replies.json +44 -4
  171. package/dist/nodes/Stripe/__schema__/v1.0.0/balance/get.json +34 -1
  172. package/dist/nodes/Telegram/__schema__/v1.2.0/chat/get.json +1 -4
  173. package/dist/nodes/Telegram/__schema__/v1.2.0/chat/member.json +4 -4
  174. package/dist/nodes/Telegram/__schema__/v1.2.0/message/editMessageText.json +4 -1
  175. package/dist/nodes/Telegram/__schema__/v1.2.0/message/sendMessage.json +1 -12
  176. package/dist/nodes/Todoist/GenericFunctions.d.ts +1 -1
  177. package/dist/nodes/Todoist/GenericFunctions.d.ts.map +1 -1
  178. package/dist/nodes/Todoist/GenericFunctions.js +2 -2
  179. package/dist/nodes/Todoist/GenericFunctions.js.map +1 -1
  180. package/dist/nodes/Todoist/v2/OperationHandler.d.ts +134 -15
  181. package/dist/nodes/Todoist/v2/OperationHandler.d.ts.map +1 -1
  182. package/dist/nodes/Todoist/v2/OperationHandler.js +555 -52
  183. package/dist/nodes/Todoist/v2/OperationHandler.js.map +1 -1
  184. package/dist/nodes/Todoist/v2/Service.d.ts +36 -3
  185. package/dist/nodes/Todoist/v2/Service.d.ts.map +1 -1
  186. package/dist/nodes/Todoist/v2/Service.js +105 -2
  187. package/dist/nodes/Todoist/v2/Service.js.map +1 -1
  188. package/dist/nodes/Todoist/v2/TodoistV2.node.d.ts.map +1 -1
  189. package/dist/nodes/Todoist/v2/TodoistV2.node.js +1240 -31
  190. package/dist/nodes/Todoist/v2/TodoistV2.node.js.map +1 -1
  191. package/dist/nodes/Trello/__schema__/v1.0.0/attachment/get.json +4 -1
  192. package/dist/nodes/Trello/__schema__/v1.0.0/label/getAll.json +18 -0
  193. package/dist/nodes/Trello/__schema__/v1.0.0/list/getAll.json +1 -4
  194. package/dist/nodes/Trello/__schema__/v1.0.0/list/getCards.json +11 -2
  195. package/dist/nodes/Twilio/__schema__/v1.0.0/sms/send.json +7 -1
  196. package/dist/nodes/Wait/Wait.node.d.ts.map +1 -1
  197. package/dist/nodes/Wait/Wait.node.js +9 -1
  198. package/dist/nodes/Wait/Wait.node.js.map +1 -1
  199. package/dist/nodes/Wait/validation.d.ts +4 -0
  200. package/dist/nodes/Wait/validation.d.ts.map +1 -0
  201. package/dist/nodes/Wait/validation.js +11 -0
  202. package/dist/nodes/Wait/validation.js.map +1 -0
  203. package/dist/nodes/Wise/__schema__/v1.0.0/exchangeRate/get.json +4 -1
  204. package/dist/nodes/Wordpress/__schema__/v1.0.0/post/getAll.json +15 -1
  205. package/dist/nodes/Xero/__schema__/v1.0.0/contact/getAll.json +1 -4
  206. package/dist/nodes/Zoho/__schema__/v1.0.0/contact/getAll.json +15 -14
  207. package/dist/nodes/Zoho/__schema__/v1.0.0/lead/getAll.json +10 -32
  208. package/dist/typecheck.tsbuildinfo +1 -1
  209. package/dist/types/credentials.json +1 -1
  210. package/dist/types/nodes.json +18 -18
  211. package/package.json +7 -7
@@ -1,151 +1,55 @@
1
1
  {
2
2
  "type": "object",
3
3
  "properties": {
4
- "date": {
4
+ "From": {
5
5
  "type": "string"
6
6
  },
7
- "from": {
8
- "type": "object",
9
- "properties": {
10
- "html": {
11
- "type": "string"
12
- },
13
- "text": {
14
- "type": "string"
15
- },
16
- "value": {
17
- "type": "array",
18
- "items": {
19
- "type": "object",
20
- "properties": {
21
- "address": {
22
- "type": "string"
23
- },
24
- "name": {
25
- "type": "string"
26
- }
27
- }
7
+ "historyId": {
8
+ "type": "string"
9
+ },
10
+ "id": {
11
+ "type": "string"
12
+ },
13
+ "internalDate": {
14
+ "type": "string"
15
+ },
16
+ "labels": {
17
+ "type": "array",
18
+ "items": {
19
+ "type": "object",
20
+ "properties": {
21
+ "id": {
22
+ "type": "string"
23
+ },
24
+ "name": {
25
+ "type": "string"
28
26
  }
29
27
  }
30
28
  }
31
29
  },
32
- "headers": {
30
+ "payload": {
33
31
  "type": "object",
34
32
  "properties": {
35
- "arc-authentication-results": {
36
- "type": "string"
37
- },
38
- "arc-message-signature": {
39
- "type": "string"
40
- },
41
- "arc-seal": {
42
- "type": "string"
43
- },
44
- "authentication-results": {
45
- "type": "string"
46
- },
47
- "content-type": {
48
- "type": "string"
49
- },
50
- "date": {
51
- "type": "string"
52
- },
53
- "delivered-to": {
54
- "type": "string"
55
- },
56
- "dkim-signature": {
57
- "type": "string"
58
- },
59
- "feedback-id": {
60
- "type": "string"
61
- },
62
- "from": {
63
- "type": "string"
64
- },
65
- "message-id": {
66
- "type": "string"
67
- },
68
- "mime-version": {
69
- "type": "string"
70
- },
71
- "received": {
72
- "type": "string"
73
- },
74
- "received-spf": {
75
- "type": "string"
76
- },
77
- "reply-to": {
78
- "type": "string"
79
- },
80
- "return-path": {
81
- "type": "string"
82
- },
83
- "subject": {
84
- "type": "string"
85
- },
86
- "to": {
87
- "type": "string"
88
- },
89
- "x-google-smtp-source": {
90
- "type": "string"
91
- },
92
- "x-received": {
33
+ "mimeType": {
93
34
  "type": "string"
94
35
  }
95
36
  }
96
37
  },
97
- "id": {
98
- "type": "string"
99
- },
100
- "labelIds": {
101
- "type": "array",
102
- "items": {
103
- "type": "string"
104
- }
105
- },
106
- "messageId": {
107
- "type": "string"
108
- },
109
38
  "sizeEstimate": {
110
39
  "type": "integer"
111
40
  },
112
- "subject": {
113
- "type": "string"
114
- },
115
- "text": {
41
+ "snippet": {
116
42
  "type": "string"
117
43
  },
118
- "textAsHtml": {
44
+ "Subject": {
119
45
  "type": "string"
120
46
  },
121
47
  "threadId": {
122
48
  "type": "string"
123
49
  },
124
- "to": {
125
- "type": "object",
126
- "properties": {
127
- "html": {
128
- "type": "string"
129
- },
130
- "text": {
131
- "type": "string"
132
- },
133
- "value": {
134
- "type": "array",
135
- "items": {
136
- "type": "object",
137
- "properties": {
138
- "address": {
139
- "type": "string"
140
- },
141
- "name": {
142
- "type": "string"
143
- }
144
- }
145
- }
146
- }
147
- }
50
+ "To": {
51
+ "type": "string"
148
52
  }
149
53
  },
150
- "version": 4
54
+ "version": 5
151
55
  }
@@ -1,9 +1,6 @@
1
1
  {
2
2
  "type": "object",
3
3
  "properties": {
4
- "due": {
5
- "type": "string"
6
- },
7
4
  "etag": {
8
5
  "type": "string"
9
6
  },
@@ -30,6 +27,9 @@
30
27
  }
31
28
  }
32
29
  },
30
+ "notes": {
31
+ "type": "string"
32
+ },
33
33
  "position": {
34
34
  "type": "string"
35
35
  },
@@ -49,5 +49,5 @@
49
49
  "type": "string"
50
50
  }
51
51
  },
52
- "version": 3
52
+ "version": 4
53
53
  }
@@ -2,6 +2,7 @@ import type { IDataObject, IExecuteFunctions, IHttpRequestMethods, ILoadOptionsF
2
2
  import type { GristDefinedFields, GristFilterProperties, GristSortProperties } from './types';
3
3
  export declare function gristApiRequest(this: IExecuteFunctions | ILoadOptionsFunctions, method: IHttpRequestMethods, endpoint: string, body?: IDataObject | number[], qs?: IDataObject): Promise<any>;
4
4
  export declare function parseSortProperties(sortProperties: GristSortProperties): string;
5
+ export declare function isSafeInteger(val: number): boolean;
5
6
  export declare function parseFilterProperties(filterProperties: GristFilterProperties): {
6
7
  [key: string]: (string | number)[];
7
8
  };
@@ -1 +1 @@
1
- {"version":3,"file":"GenericFunctions.d.ts","sourceRoot":"","sources":["../../../nodes/Grist/GenericFunctions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,WAAW,EACX,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EAGrB,MAAM,cAAc,CAAC;AAGtB,OAAO,KAAK,EAEX,kBAAkB,EAClB,qBAAqB,EACrB,mBAAmB,EACnB,MAAM,SAAS,CAAC;AAEjB,wBAAsB,eAAe,CACpC,IAAI,EAAE,iBAAiB,GAAG,qBAAqB,EAC/C,MAAM,EAAE,mBAAmB,EAC3B,QAAQ,EAAE,MAAM,EAChB,IAAI,GAAE,WAAW,GAAG,MAAM,EAAO,EACjC,EAAE,GAAE,WAAgB,gBAoCpB;AAED,wBAAgB,mBAAmB,CAAC,cAAc,EAAE,mBAAmB,UAOtE;AAED,wBAAgB,qBAAqB,CAAC,gBAAgB,EAAE,qBAAqB;;EAO5E;AAED,wBAAgB,kBAAkB,CAAC,sBAAsB,EAAE,kBAAkB;;EAK5E;AAED,wBAAgB,qBAAqB,CAAC,YAAY,EAAE,MAAM,EAAE,EAAE,cAAc,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,GAAG;;EAMhG;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,iBAAiB,EAAE,MAAM,EAAE,kBAAkB,QAO3F"}
1
+ {"version":3,"file":"GenericFunctions.d.ts","sourceRoot":"","sources":["../../../nodes/Grist/GenericFunctions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,WAAW,EACX,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EAGrB,MAAM,cAAc,CAAC;AAGtB,OAAO,KAAK,EAEX,kBAAkB,EAClB,qBAAqB,EACrB,mBAAmB,EACnB,MAAM,SAAS,CAAC;AAEjB,wBAAsB,eAAe,CACpC,IAAI,EAAE,iBAAiB,GAAG,qBAAqB,EAC/C,MAAM,EAAE,mBAAmB,EAC3B,QAAQ,EAAE,MAAM,EAChB,IAAI,GAAE,WAAW,GAAG,MAAM,EAAO,EACjC,EAAE,GAAE,WAAgB,gBAoCpB;AAED,wBAAgB,mBAAmB,CAAC,cAAc,EAAE,mBAAmB,UAOtE;AAED,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,WAExC;AAED,wBAAgB,qBAAqB,CAAC,gBAAgB,EAAE,qBAAqB;;EAO5E;AAED,wBAAgB,kBAAkB,CAAC,sBAAsB,EAAE,kBAAkB;;EAK5E;AAED,wBAAgB,qBAAqB,CAAC,YAAY,EAAE,MAAM,EAAE,EAAE,cAAc,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,GAAG;;EAMhG;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,iBAAiB,EAAE,MAAM,EAAE,kBAAkB,QAO3F"}
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.gristApiRequest = gristApiRequest;
4
4
  exports.parseSortProperties = parseSortProperties;
5
+ exports.isSafeInteger = isSafeInteger;
5
6
  exports.parseFilterProperties = parseFilterProperties;
6
7
  exports.parseDefinedFields = parseDefinedFields;
7
8
  exports.parseAutoMappedInputs = parseAutoMappedInputs;
@@ -47,10 +48,13 @@ function parseSortProperties(sortProperties) {
47
48
  return acc;
48
49
  }, '');
49
50
  }
51
+ function isSafeInteger(val) {
52
+ return !isNaN(val) && val > Number.MIN_VALUE && val < Number.MAX_VALUE;
53
+ }
50
54
  function parseFilterProperties(filterProperties) {
51
55
  return filterProperties.reduce((acc, cur) => {
52
56
  acc[cur.field] = acc[cur.field] ?? [];
53
- const values = isNaN(Number(cur.values)) ? cur.values : Number(cur.values);
57
+ const values = isSafeInteger(Number(cur.values)) ? Number(cur.values) : cur.values;
54
58
  acc[cur.field].push(values);
55
59
  return acc;
56
60
  }, {});
@@ -1 +1 @@
1
- {"version":3,"file":"GenericFunctions.js","sourceRoot":"","sources":["../../../nodes/Grist/GenericFunctions.ts"],"names":[],"mappings":";;AAiBA,0CAyCC;AAED,kDAOC;AAED,sDAOC;AAED,gDAKC;AAED,sDAMC;AAED,4DAOC;AA5FD,+CAAgE;AASzD,KAAK,UAAU,eAAe,CAEpC,MAA2B,EAC3B,QAAgB,EAChB,OAA+B,EAAE,EACjC,KAAkB,EAAE;IAEpB,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,eAAe,EAAE,aAAa,EAAE,GACzD,MAAM,IAAI,CAAC,cAAc,CAAmB,UAAU,CAAC,CAAC;IAEzD,MAAM,WAAW,GAChB,QAAQ,KAAK,MAAM;QAClB,CAAC,CAAC,gCAAgC,QAAQ,EAAE;QAC5C,CAAC,CAAC,QAAQ,KAAK,MAAM;YACpB,CAAC,CAAC,WAAW,eAAe,oBAAoB,QAAQ,EAAE;YAC1D,CAAC,CAAC,GAAG,aAAa,OAAO,QAAQ,EAAE,CAAC;IAEvC,MAAM,OAAO,GAAoB;QAChC,OAAO,EAAE;YACR,aAAa,EAAE,UAAU,MAAM,EAAE;SACjC;QACD,MAAM;QACN,GAAG,EAAE,WAAW;QAChB,EAAE;QACF,IAAI;QACJ,IAAI,EAAE,IAAI;KACV,CAAC;IAEF,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,I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,CAAC,MAAM,CAAyB,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE;QAClE,IAAI,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC;YAAE,OAAO,GAAG,CAAC;QAChD,GAAG,GAAG,EAAE,GAAG,GAAG,EAAE,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;QACzC,OAAO,GAAG,CAAC;IACZ,CAAC,EAAE,EAAE,CAAC,CAAC;AACR,CAAC;AAED,SAAgB,wBAAwB,CAA0B,MAA0B;IAC3F,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC;QACrB,MAAM,IAAI,iCAAkB,CAC3B,IAAI,CAAC,OAAO,EAAE,EACd,6EAA6E,CAC7E,CAAC;IACH,CAAC;AACF,CAAC"}
@@ -0,0 +1,36 @@
1
+ {
2
+ "type": "object",
3
+ "properties": {
4
+ "address": {
5
+ "type": "string"
6
+ },
7
+ "appoinmentStatus": {
8
+ "type": "string"
9
+ },
10
+ "assignedUserId": {
11
+ "type": "string"
12
+ },
13
+ "calendarId": {
14
+ "type": "string"
15
+ },
16
+ "contactId": {
17
+ "type": "string"
18
+ },
19
+ "id": {
20
+ "type": "string"
21
+ },
22
+ "isRecurring": {
23
+ "type": "boolean"
24
+ },
25
+ "status": {
26
+ "type": "string"
27
+ },
28
+ "title": {
29
+ "type": "string"
30
+ },
31
+ "traceId": {
32
+ "type": "string"
33
+ }
34
+ },
35
+ "version": 1
36
+ }
@@ -9,12 +9,6 @@
9
9
  },
10
10
  "friendly_name": {
11
11
  "type": "string"
12
- },
13
- "state_class": {
14
- "type": "string"
15
- },
16
- "unit_of_measurement": {
17
- "type": "string"
18
12
  }
19
13
  }
20
14
  },
@@ -42,5 +36,5 @@
42
36
  "type": "string"
43
37
  }
44
38
  },
45
- "version": 1
39
+ "version": 2
46
40
  }
@@ -1 +1 @@
1
- {"version":3,"file":"HttpRequestV3.node.d.ts","sourceRoot":"","sources":["../../../../nodes/HttpRequest/V3/HttpRequestV3.node.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAGX,iBAAiB,EACjB,kBAAkB,EAClB,SAAS,EACT,wBAAwB,EACxB,oBAAoB,EAMpB,MAAM,cAAc,CAAC;AAoCtB,qBAAa,aAAc,YAAW,SAAS;IAC9C,WAAW,EAAE,oBAAoB,CAAC;gBAEtB,eAAe,EAAE,wBAAwB;IAmC/C,OAAO,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC;CA67BvE"}
1
+ {"version":3,"file":"HttpRequestV3.node.d.ts","sourceRoot":"","sources":["../../../../nodes/HttpRequest/V3/HttpRequestV3.node.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAGX,iBAAiB,EACjB,kBAAkB,EAClB,SAAS,EACT,wBAAwB,EACxB,oBAAoB,EAMpB,MAAM,cAAc,CAAC;AAoCtB,qBAAa,aAAc,YAAW,SAAS;IAC9C,WAAW,EAAE,oBAAoB,CAAC;gBAEtB,eAAe,EAAE,wBAAwB;IAmC/C,OAAO,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC;CA08BvE"}