n8n-nodes-base 1.11.0 → 1.12.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 (79) hide show
  1. package/dist/build.tsbuildinfo +1 -1
  2. package/dist/credentials/Ldap.credentials.js +7 -2
  3. package/dist/credentials/Ldap.credentials.js.map +1 -1
  4. package/dist/known/nodes.json +4 -0
  5. package/dist/nodes/CrateDb/CrateDb.node.js +2 -2
  6. package/dist/nodes/CrateDb/CrateDb.node.js.map +1 -1
  7. package/dist/nodes/Form/FormTrigger.node.d.ts +5 -0
  8. package/dist/nodes/Form/FormTrigger.node.js +255 -0
  9. package/dist/nodes/Form/FormTrigger.node.js.map +1 -0
  10. package/dist/nodes/Form/FormTrigger.node.json +18 -0
  11. package/dist/nodes/Form/form.svg +5 -0
  12. package/dist/nodes/Form/interfaces.d.ts +35 -0
  13. package/dist/nodes/Form/interfaces.js +3 -0
  14. package/dist/nodes/Form/interfaces.js.map +1 -0
  15. package/dist/nodes/Form/utils.d.ts +2 -0
  16. package/dist/nodes/Form/utils.js +54 -0
  17. package/dist/nodes/Form/utils.js.map +1 -0
  18. package/dist/nodes/Google/Calendar/GoogleCalendarTrigger.node.js +13 -3
  19. package/dist/nodes/Google/Calendar/GoogleCalendarTrigger.node.js.map +1 -1
  20. package/dist/nodes/Google/Sheet/GoogleSheets.node.js +2 -1
  21. package/dist/nodes/Google/Sheet/GoogleSheets.node.js.map +1 -1
  22. package/dist/nodes/Google/Sheet/v2/actions/sheet/append.operation.js +8 -4
  23. package/dist/nodes/Google/Sheet/v2/actions/sheet/append.operation.js.map +1 -1
  24. package/dist/nodes/Google/Sheet/v2/actions/sheet/appendOrUpdate.operation.js +13 -5
  25. package/dist/nodes/Google/Sheet/v2/actions/sheet/appendOrUpdate.operation.js.map +1 -1
  26. package/dist/nodes/Google/Sheet/v2/actions/sheet/commonDescription.d.ts +5 -5
  27. package/dist/nodes/Google/Sheet/v2/actions/sheet/commonDescription.js +230 -240
  28. package/dist/nodes/Google/Sheet/v2/actions/sheet/commonDescription.js.map +1 -1
  29. package/dist/nodes/Google/Sheet/v2/actions/sheet/read.operation.js +2 -2
  30. package/dist/nodes/Google/Sheet/v2/actions/sheet/read.operation.js.map +1 -1
  31. package/dist/nodes/Google/Sheet/v2/actions/sheet/update.operation.js +24 -8
  32. package/dist/nodes/Google/Sheet/v2/actions/sheet/update.operation.js.map +1 -1
  33. package/dist/nodes/Google/Sheet/v2/actions/versionDescription.js +1 -1
  34. package/dist/nodes/Google/Sheet/v2/actions/versionDescription.js.map +1 -1
  35. package/dist/nodes/Google/Sheet/v2/helpers/GoogleSheet.d.ts +3 -0
  36. package/dist/nodes/Google/Sheet/v2/helpers/GoogleSheet.js +29 -1
  37. package/dist/nodes/Google/Sheet/v2/helpers/GoogleSheet.js.map +1 -1
  38. package/dist/nodes/Google/Sheet/v2/helpers/GoogleSheets.utils.d.ts +1 -0
  39. package/dist/nodes/Google/Sheet/v2/helpers/GoogleSheets.utils.js +8 -1
  40. package/dist/nodes/Google/Sheet/v2/helpers/GoogleSheets.utils.js.map +1 -1
  41. package/dist/nodes/Google/Sheet/v2/methods/resourceMapping.js +21 -8
  42. package/dist/nodes/Google/Sheet/v2/methods/resourceMapping.js.map +1 -1
  43. package/dist/nodes/Hubspot/HubspotTrigger.node.js +15 -0
  44. package/dist/nodes/Hubspot/HubspotTrigger.node.js.map +1 -1
  45. package/dist/nodes/Ldap/Helpers.js +3 -0
  46. package/dist/nodes/Ldap/Helpers.js.map +1 -1
  47. package/dist/nodes/Ldap/Ldap.node.js +46 -4
  48. package/dist/nodes/Ldap/Ldap.node.js.map +1 -1
  49. package/dist/nodes/MoveBinaryData/MoveBinaryData.node.js +1 -1
  50. package/dist/nodes/Postgres/PostgresTrigger.functions.js +4 -4
  51. package/dist/nodes/Postgres/PostgresTrigger.functions.js.map +1 -1
  52. package/dist/nodes/Postgres/PostgresTrigger.node.js +2 -2
  53. package/dist/nodes/Postgres/PostgresTrigger.node.js.map +1 -1
  54. package/dist/nodes/Postgres/v1/PostgresV1.node.js +3 -3
  55. package/dist/nodes/Postgres/v1/PostgresV1.node.js.map +1 -1
  56. package/dist/nodes/QuestDb/QuestDb.node.js +2 -2
  57. package/dist/nodes/QuestDb/QuestDb.node.js.map +1 -1
  58. package/dist/nodes/Set/Set.node.js +2 -1
  59. package/dist/nodes/Set/Set.node.js.map +1 -1
  60. package/dist/nodes/Set/test/Set.workflow.null_values.json +244 -0
  61. package/dist/nodes/Set/v2/SetV2.node.js +1 -1
  62. package/dist/nodes/Set/v2/SetV2.node.js.map +1 -1
  63. package/dist/nodes/Set/v2/helpers/utils.js +3 -0
  64. package/dist/nodes/Set/v2/helpers/utils.js.map +1 -1
  65. package/dist/nodes/Set/v2/manual.mode.js +4 -1
  66. package/dist/nodes/Set/v2/manual.mode.js.map +1 -1
  67. package/dist/nodes/SpreadsheetFile/description.js +52 -0
  68. package/dist/nodes/SpreadsheetFile/description.js.map +1 -1
  69. package/dist/nodes/SpreadsheetFile/test/workflow.bom.json +155 -0
  70. package/dist/nodes/SpreadsheetFile/test/workflow.json +23 -5
  71. package/dist/nodes/SpreadsheetFile/v2/SpreadsheetFileV2.node.js +15 -2
  72. package/dist/nodes/SpreadsheetFile/v2/SpreadsheetFileV2.node.js.map +1 -1
  73. package/dist/nodes/TheHiveProject/actions/alert/create.operation.js +2 -1
  74. package/dist/nodes/TheHiveProject/actions/alert/create.operation.js.map +1 -1
  75. package/dist/nodes/TimescaleDb/TimescaleDb.node.js +2 -2
  76. package/dist/nodes/TimescaleDb/TimescaleDb.node.js.map +1 -1
  77. package/dist/types/credentials.json +1 -1
  78. package/dist/types/nodes.json +18 -15
  79. package/package.json +4 -3
@@ -1,260 +1,250 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.handlingExtraData = exports.cellFormat = exports.outputFormatting = exports.locationDefine = exports.dataLocationOnSheet = void 0;
4
- exports.dataLocationOnSheet = [
5
- {
6
- displayName: 'Data Location on Sheet',
7
- name: 'dataLocationOnSheet',
8
- type: 'fixedCollection',
9
- placeholder: 'Select Range',
10
- default: { values: { rangeDefinition: 'detectAutomatically' } },
11
- options: [
12
- {
13
- displayName: 'Values',
14
- name: 'values',
15
- values: [
16
- {
17
- displayName: 'Range Definition',
18
- name: 'rangeDefinition',
19
- type: 'options',
20
- options: [
21
- {
22
- name: 'Detect Automatically',
23
- value: 'detectAutomatically',
24
- description: 'Automatically detect the data range',
25
- },
26
- {
27
- name: 'Specify Range (A1 Notation)',
28
- value: 'specifyRangeA1',
29
- description: 'Manually specify the data range',
30
- },
31
- {
32
- name: 'Specify Range (Rows)',
33
- value: 'specifyRange',
34
- description: 'Manually specify the data range',
35
- },
36
- ],
37
- default: '',
38
- },
39
- {
40
- displayName: 'Read Rows Until',
41
- name: 'readRowsUntil',
42
- type: 'options',
43
- default: 'lastRowInSheet',
44
- options: [
45
- {
46
- name: 'First Empty Row',
47
- value: 'firstEmptyRow',
48
- },
49
- {
50
- name: 'Last Row In Sheet',
51
- value: 'lastRowInSheet',
52
- },
53
- ],
54
- displayOptions: {
55
- show: {
56
- rangeDefinition: ['detectAutomatically'],
57
- },
4
+ exports.dataLocationOnSheet = {
5
+ displayName: 'Data Location on Sheet',
6
+ name: 'dataLocationOnSheet',
7
+ type: 'fixedCollection',
8
+ placeholder: 'Select Range',
9
+ default: { values: { rangeDefinition: 'detectAutomatically' } },
10
+ options: [
11
+ {
12
+ displayName: 'Values',
13
+ name: 'values',
14
+ values: [
15
+ {
16
+ displayName: 'Range Definition',
17
+ name: 'rangeDefinition',
18
+ type: 'options',
19
+ options: [
20
+ {
21
+ name: 'Detect Automatically',
22
+ value: 'detectAutomatically',
23
+ description: 'Automatically detect the data range',
58
24
  },
59
- },
60
- {
61
- displayName: 'Header Row',
62
- name: 'headerRow',
63
- type: 'number',
64
- typeOptions: {
65
- minValue: 1,
25
+ {
26
+ name: 'Specify Range (A1 Notation)',
27
+ value: 'specifyRangeA1',
28
+ description: 'Manually specify the data range',
66
29
  },
67
- default: 1,
68
- description: "Index is relative to the set 'Range', first row index is 1",
69
- hint: 'Index of the row which contains the column names',
70
- displayOptions: {
71
- show: {
72
- rangeDefinition: ['specifyRange'],
73
- },
30
+ {
31
+ name: 'Specify Range (Rows)',
32
+ value: 'specifyRange',
33
+ description: 'Manually specify the data range',
74
34
  },
75
- },
76
- {
77
- displayName: 'First Data Row',
78
- name: 'firstDataRow',
79
- type: 'number',
80
- typeOptions: {
81
- minValue: 1,
35
+ ],
36
+ default: '',
37
+ },
38
+ {
39
+ displayName: 'Read Rows Until',
40
+ name: 'readRowsUntil',
41
+ type: 'options',
42
+ default: 'lastRowInSheet',
43
+ options: [
44
+ {
45
+ name: 'First Empty Row',
46
+ value: 'firstEmptyRow',
82
47
  },
83
- default: 2,
84
- description: "Index is relative to the set 'Range', first row index is 1",
85
- hint: 'Index of first row which contains the actual data',
86
- displayOptions: {
87
- show: {
88
- rangeDefinition: ['specifyRange'],
89
- },
48
+ {
49
+ name: 'Last Row In Sheet',
50
+ value: 'lastRowInSheet',
90
51
  },
52
+ ],
53
+ displayOptions: {
54
+ show: {
55
+ rangeDefinition: ['detectAutomatically'],
56
+ },
57
+ },
58
+ },
59
+ {
60
+ displayName: 'Header Row',
61
+ name: 'headerRow',
62
+ type: 'number',
63
+ typeOptions: {
64
+ minValue: 1,
91
65
  },
92
- {
93
- displayName: 'Range',
94
- name: 'range',
95
- type: 'string',
96
- default: '',
97
- placeholder: 'A:Z',
98
- description: 'The table range to read from or to append data to. See the Google <a href="https://developers.google.com/sheets/api/guides/values#writing">documentation</a> for the details.',
99
- hint: 'You can specify both the rows and the columns, e.g. C4:E7',
100
- displayOptions: {
101
- show: {
102
- rangeDefinition: ['specifyRangeA1'],
103
- },
66
+ default: 1,
67
+ description: "Index is relative to the set 'Range', first row index is 1",
68
+ hint: 'Index of the row which contains the column names',
69
+ displayOptions: {
70
+ show: {
71
+ rangeDefinition: ['specifyRange'],
104
72
  },
105
73
  },
106
- ],
107
- },
108
- ],
109
- },
110
- ];
111
- exports.locationDefine = [
112
- {
113
- displayName: 'Data Location on Sheet',
114
- name: 'locationDefine',
115
- type: 'fixedCollection',
116
- placeholder: 'Select Range',
117
- default: { values: {} },
118
- options: [
119
- {
120
- displayName: 'Values',
121
- name: 'values',
122
- values: [
123
- {
124
- displayName: 'Header Row',
125
- name: 'headerRow',
126
- type: 'number',
127
- typeOptions: {
128
- minValue: 1,
74
+ },
75
+ {
76
+ displayName: 'First Data Row',
77
+ name: 'firstDataRow',
78
+ type: 'number',
79
+ typeOptions: {
80
+ minValue: 1,
81
+ },
82
+ default: 2,
83
+ description: "Index is relative to the set 'Range', first row index is 1",
84
+ hint: 'Index of first row which contains the actual data',
85
+ displayOptions: {
86
+ show: {
87
+ rangeDefinition: ['specifyRange'],
129
88
  },
130
- default: 1,
131
- description: "Index is relative to the set 'Range', first row index is 1",
132
- hint: 'Index of the row which contains the column names',
133
89
  },
134
- {
135
- displayName: 'First Data Row',
136
- name: 'firstDataRow',
137
- type: 'number',
138
- typeOptions: {
139
- minValue: 1,
90
+ },
91
+ {
92
+ displayName: 'Range',
93
+ name: 'range',
94
+ type: 'string',
95
+ default: '',
96
+ placeholder: 'A:Z',
97
+ description: 'The table range to read from or to append data to. See the Google <a href="https://developers.google.com/sheets/api/guides/values#writing">documentation</a> for the details.',
98
+ hint: 'You can specify both the rows and the columns, e.g. C4:E7',
99
+ displayOptions: {
100
+ show: {
101
+ rangeDefinition: ['specifyRangeA1'],
140
102
  },
141
- default: 2,
142
- description: "Index is relative to the set 'Range', first row index is 1",
143
- hint: 'Index of first row which contains the actual data',
144
103
  },
145
- ],
146
- },
147
- ],
148
- },
149
- ];
150
- exports.outputFormatting = [
151
- {
152
- displayName: 'Output Formatting',
153
- name: 'outputFormatting',
154
- type: 'fixedCollection',
155
- placeholder: 'Add Formatting',
156
- default: { values: { general: 'UNFORMATTED_VALUE', date: 'FORMATTED_STRING' } },
157
- options: [
158
- {
159
- displayName: 'Values',
160
- name: 'values',
161
- values: [
162
- {
163
- displayName: 'General Formatting',
164
- name: 'general',
165
- type: 'options',
166
- options: [
167
- {
168
- name: 'Values (unformatted)',
169
- value: 'UNFORMATTED_VALUE',
170
- description: 'Numbers stay as numbers, but any currency signs or special formatting is lost',
171
- },
172
- {
173
- name: 'Values (formatted)',
174
- value: 'FORMATTED_VALUE',
175
- description: 'Numbers are turned to text, and displayed as in Google Sheets (e.g. with commas or currency signs)',
176
- },
177
- {
178
- name: 'Formulas',
179
- value: 'FORMULA',
180
- },
181
- ],
182
- default: '',
183
- description: 'Determines how values should be rendered in the output',
104
+ },
105
+ ],
106
+ },
107
+ ],
108
+ };
109
+ exports.locationDefine = {
110
+ displayName: 'Data Location on Sheet',
111
+ name: 'locationDefine',
112
+ type: 'fixedCollection',
113
+ placeholder: 'Select Range',
114
+ default: { values: {} },
115
+ options: [
116
+ {
117
+ displayName: 'Values',
118
+ name: 'values',
119
+ values: [
120
+ {
121
+ displayName: 'Header Row',
122
+ name: 'headerRow',
123
+ type: 'number',
124
+ typeOptions: {
125
+ minValue: 1,
184
126
  },
185
- {
186
- displayName: 'Date Formatting',
187
- name: 'date',
188
- type: 'options',
189
- default: '',
190
- options: [
191
- {
192
- name: 'Formatted Text',
193
- value: 'FORMATTED_STRING',
194
- description: "As displayed in Google Sheets, e.g. '01/01/2022'",
195
- },
196
- {
197
- name: 'Serial Number',
198
- value: 'SERIAL_NUMBER',
199
- description: 'A number representing the number of days since Dec 30, 1899',
200
- },
201
- ],
127
+ default: 1,
128
+ description: "Index is relative to the set 'Range', first row index is 1",
129
+ hint: 'Index of the row which contains the column names',
130
+ },
131
+ {
132
+ displayName: 'First Data Row',
133
+ name: 'firstDataRow',
134
+ type: 'number',
135
+ typeOptions: {
136
+ minValue: 1,
202
137
  },
203
- ],
204
- },
205
- ],
206
- },
207
- ];
208
- exports.cellFormat = [
209
- {
210
- displayName: 'Cell Format',
211
- name: 'cellFormat',
212
- type: 'options',
213
- options: [
214
- {
215
- name: 'Let n8n format',
216
- value: 'RAW',
217
- description: 'Cells have the same types as the input data',
218
- },
219
- {
220
- name: 'Let Google Sheets format',
221
- value: 'USER_ENTERED',
222
- description: 'Cells are styled as if you typed the values into Google Sheets directly',
223
- },
224
- ],
225
- default: 'RAW',
226
- description: 'Determines how data should be interpreted',
227
- },
228
- ];
229
- exports.handlingExtraData = [
230
- {
231
- displayName: 'Handling extra fields in input',
232
- name: 'handlingExtraData',
233
- type: 'options',
234
- options: [
235
- {
236
- name: 'Insert in New Column(s)',
237
- value: 'insertInNewColumn',
238
- description: 'Create a new column for extra data',
239
- },
240
- {
241
- name: 'Ignore Them',
242
- value: 'ignoreIt',
243
- description: 'Ignore extra data',
244
- },
245
- {
246
- name: 'Error',
247
- value: 'error',
248
- description: 'Throw an error',
249
- },
250
- ],
251
- displayOptions: {
252
- show: {
253
- '/dataMode': ['autoMapInputData'],
254
- },
138
+ default: 2,
139
+ description: "Index is relative to the set 'Range', first row index is 1",
140
+ hint: 'Index of first row which contains the actual data',
141
+ },
142
+ ],
143
+ },
144
+ ],
145
+ };
146
+ exports.outputFormatting = {
147
+ displayName: 'Output Formatting',
148
+ name: 'outputFormatting',
149
+ type: 'fixedCollection',
150
+ placeholder: 'Add Formatting',
151
+ default: { values: { general: 'UNFORMATTED_VALUE', date: 'FORMATTED_STRING' } },
152
+ options: [
153
+ {
154
+ displayName: 'Values',
155
+ name: 'values',
156
+ values: [
157
+ {
158
+ displayName: 'General Formatting',
159
+ name: 'general',
160
+ type: 'options',
161
+ options: [
162
+ {
163
+ name: 'Values (unformatted)',
164
+ value: 'UNFORMATTED_VALUE',
165
+ description: 'Numbers stay as numbers, but any currency signs or special formatting is lost',
166
+ },
167
+ {
168
+ name: 'Values (formatted)',
169
+ value: 'FORMATTED_VALUE',
170
+ description: 'Numbers are turned to text, and displayed as in Google Sheets (e.g. with commas or currency signs)',
171
+ },
172
+ {
173
+ name: 'Formulas',
174
+ value: 'FORMULA',
175
+ },
176
+ ],
177
+ default: '',
178
+ description: 'Determines how values should be rendered in the output',
179
+ },
180
+ {
181
+ displayName: 'Date Formatting',
182
+ name: 'date',
183
+ type: 'options',
184
+ default: '',
185
+ options: [
186
+ {
187
+ name: 'Formatted Text',
188
+ value: 'FORMATTED_STRING',
189
+ description: "As displayed in Google Sheets, e.g. '01/01/2022'",
190
+ },
191
+ {
192
+ name: 'Serial Number',
193
+ value: 'SERIAL_NUMBER',
194
+ description: 'A number representing the number of days since Dec 30, 1899',
195
+ },
196
+ ],
197
+ },
198
+ ],
199
+ },
200
+ ],
201
+ };
202
+ exports.cellFormat = {
203
+ displayName: 'Cell Format',
204
+ name: 'cellFormat',
205
+ type: 'options',
206
+ options: [
207
+ {
208
+ name: 'Let Google Sheets format',
209
+ value: 'USER_ENTERED',
210
+ description: 'Cells are styled as if you typed the values into Google Sheets directly',
211
+ },
212
+ {
213
+ name: 'Let n8n format',
214
+ value: 'RAW',
215
+ description: 'Cells have the same types as the input data',
216
+ },
217
+ ],
218
+ default: 'USER_ENTERED',
219
+ description: 'Determines how data should be interpreted',
220
+ };
221
+ exports.handlingExtraData = {
222
+ displayName: 'Handling extra fields in input',
223
+ name: 'handlingExtraData',
224
+ type: 'options',
225
+ options: [
226
+ {
227
+ name: 'Insert in New Column(s)',
228
+ value: 'insertInNewColumn',
229
+ description: 'Create a new column for extra data',
230
+ },
231
+ {
232
+ name: 'Ignore Them',
233
+ value: 'ignoreIt',
234
+ description: 'Ignore extra data',
235
+ },
236
+ {
237
+ name: 'Error',
238
+ value: 'error',
239
+ description: 'Throw an error',
240
+ },
241
+ ],
242
+ displayOptions: {
243
+ show: {
244
+ '/dataMode': ['autoMapInputData'],
255
245
  },
256
- default: 'insertInNewColumn',
257
- description: "What do to with fields that don't match any columns in the Google Sheet",
258
246
  },
259
- ];
247
+ default: 'insertInNewColumn',
248
+ description: "What do to with fields that don't match any columns in the Google Sheet",
249
+ };
260
250
  //# sourceMappingURL=commonDescription.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"commonDescription.js","sourceRoot":"","sources":["../../../../../../../nodes/Google/Sheet/v2/actions/sheet/commonDescription.ts"],"names":[],"mappings":";;;AAEa,QAAA,mBAAmB,GAAsB;IACrD;QACC,WAAW,EAAE,wBAAwB;QACrC,IAAI,EAAE,qBAAqB;QAC3B,IAAI,EAAE,iBAAiB;QACvB,WAAW,EAAE,cAAc;QAC3B,OAAO,EAAE,EAAE,MAAM,EAAE,EAAE,eAAe,EAAE,qBAAqB,EAAE,EAAE;QAC/D,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE;oBACP;wBACC,WAAW,EAAE,kBAAkB;wBAC/B,IAAI,EAAE,iBAAiB;wBACvB,IAAI,EAAE,SAAS;wBACf,OAAO,EAAE;4BACR;gCACC,IAAI,EAAE,sBAAsB;gCAC5B,KAAK,EAAE,qBAAqB;gCAC5B,WAAW,EAAE,qCAAqC;6BAClD;4BACD;gCACC,IAAI,EAAE,6BAA6B;gCACnC,KAAK,EAAE,gBAAgB;gCACvB,WAAW,EAAE,iCAAiC;6BAC9C;4BACD;gCACC,IAAI,EAAE,sBAAsB;gCAC5B,KAAK,EAAE,cAAc;gCACrB,WAAW,EAAE,iCAAiC;6BAC9C;yBACD;wBACD,OAAO,EAAE,EAAE;qBACX;oBACD;wBACC,WAAW,EAAE,iBAAiB;wBAC9B,IAAI,EAAE,eAAe;wBACrB,IAAI,EAAE,SAAS;wBACf,OAAO,EAAE,gBAAgB;wBACzB,OAAO,EAAE;4BACR;gCACC,IAAI,EAAE,iBAAiB;gCACvB,KAAK,EAAE,eAAe;6BACtB;4BACD;gCACC,IAAI,EAAE,mBAAmB;gCACzB,KAAK,EAAE,gBAAgB;6BACvB;yBACD;wBACD,cAAc,EAAE;4BACf,IAAI,EAAE;gCACL,eAAe,EAAE,CAAC,qBAAqB,CAAC;6BACxC;yBACD;qBACD;oBACD;wBACC,W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
1
+ {"version":3,"file":"commonDescription.js","sourceRoot":"","sources":["../../../../../../../nodes/Google/Sheet/v2/actions/sheet/commonDescription.ts"],"names":[],"mappings":";;;AAEa,QAAA,mBAAmB,GAAoB;IACnD,WAAW,EAAE,wBAAwB;IACrC,IAAI,EAAE,qBAAqB;IAC3B,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,cAAc;IAC3B,OAAO,EAAE,EAAE,MAAM,EAAE,EAAE,eAAe,EAAE,qBAAqB,EAAE,EAAE;IAC/D,OAAO,EAAE;QACR;YACC,WAAW,EAAE,QAAQ;YACrB,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE;gBACP;oBACC,WAAW,EAAE,kBAAkB;oBAC/B,IAAI,EAAE,iBAAiB;oBACvB,IAAI,EAAE,SAAS;oBACf,OAAO,EAAE;wBACR;4BACC,IAAI,EAAE,sBAAsB;4BAC5B,KAAK,EAAE,qBAAqB;4BAC5B,WAAW,EAAE,qCAAqC;yBAClD;wBACD;4BACC,IAAI,EAAE,6BAA6B;4BACnC,KAAK,EAAE,gBAAgB;4BACvB,WAAW,EAAE,iCAAiC;yBAC9C;wBACD;4BACC,IAAI,EAAE,sBAAsB;4BAC5B,KAAK,EAAE,cAAc;4BACrB,WAAW,EAAE,iCAAiC;yBAC9C;qBACD;oBACD,OAAO,EAAE,EAAE;iBACX;gBACD;oBACC,WAAW,EAAE,iBAAiB;oBAC9B,IAAI,EAAE,eAAe;oBACrB,IAAI,EAAE,SAAS;oBACf,OAAO,EAAE,gBAAgB;oBACzB,OAAO,EAAE;wBACR;4BACC,IAAI,EAAE,iBAAiB;4BACvB,KAAK,EAAE,eAAe;yBACtB;wBACD;4BACC,IAAI,EAAE,mBAAmB;4BACzB,KAAK,EAAE,gBAAgB;yBACvB;qBACD;oBACD,cAAc,EAAE;wBACf,IAAI,EAAE;4BACL,eAAe,EAAE,CAAC,qBAAqB,CAAC;yBACxC;qBACD;iBACD;gBACD;oBACC,WAAW,EAAE,YAAY;oBACzB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oBACX,OAAO,EAAE;wBACR;4BACC,IAAI,EAAE,gBAAgB;4BACtB,KAAK,EAAE,kBAAkB;4BACzB,WAAW,EAAE,kDAAkD;yBAC/D;wBACD;4BACC,IAAI,EAAE,eAAe;4BACrB,KAAK,EAAE,eAAe;4BACtB,WAAW,EAAE,6DAA6D;yBAC1E;qBACD;iBACD;aACD;SACD;KACD;CACD,CAAC;AAEW,QAAA,UAAU,GAAoB;IAC1C,WAAW,EAAE,aAAa;IAC1B,IAAI,EAAE,YAAY;IAClB,IAAI,EAAE,SAAS;IACf,OAAO,EAAE;QACR;YAEC,IAAI,EAAE,0BAA0B;YAChC,KAAK,EAAE,cAAc;YACrB,WAAW,EAAE,yEAAyE;SACtF;QACD;YAEC,IAAI,EAAE,gBAAgB;YACtB,KAAK,EAAE,KAAK;YACZ,WAAW,EAAE,6CAA6C;SAC1D;KACD;IACD,OAAO,EAAE,cAAc;IACvB,WAAW,EAAE,2CAA2C;CACxD,CAAC;AAEW,QAAA,iBAAiB,GAAoB;IAEjD,WAAW,EAAE,gCAAgC;IAC7C,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE,SAAS;IACf,OAAO,EAAE;QACR;YACC,IAAI,EAAE,yBAAyB;YAC/B,KAAK,EAAE,mBAAmB;YAC1B,WAAW,EAAE,oCAAoC;SACjD;QACD;YACC,IAAI,EAAE,aAAa;YACnB,KAAK,EAAE,UAAU;YACjB,WAAW,EAAE,mBAAmB;SAChC;QACD;YACC,IAAI,EAAE,OAAO;YACb,KAAK,EAAE,OAAO;YACd,WAAW,EAAE,gBAAgB;SAC7B;KACD;IACD,cAAc,EAAE;QACf,IAAI,EAAE;YACL,WAAW,EAAE,CAAC,kBAAkB,CAAC;SACjC;KACD;IACD,OAAO,EAAE,mBAAmB;IAC5B,WAAW,EAAE,yEAAyE;CACtF,CAAC"}
@@ -67,8 +67,8 @@ exports.description = [
67
67
  },
68
68
  },
69
69
  options: [
70
- ...commonDescription_1.dataLocationOnSheet,
71
- ...commonDescription_1.outputFormatting,
70
+ commonDescription_1.dataLocationOnSheet,
71
+ commonDescription_1.outputFormatting,
72
72
  {
73
73
  displayName: 'When Filter Has Multiple Matches',
74
74
  name: 'returnAllMatches',
@@ -1 +1 @@
1
- {"version":3,"file":"read.operation.js","sourceRoot":"","sources":["../../../../../../../nodes/Google/Sheet/v2/actions/sheet/read.operation.ts"],"names":[],"mappings":";;;AAEA,yEAI0C;AAC1C,2DAA4E;AAQ5E,iEAA2E;AAE9D,QAAA,WAAW,GAAoB;IAC3C;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,WAAW;QACjB,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,iBAAiB;QACvB,WAAW,EAAE;YACZ,uBAAuB,EAAE,YAAY;YACrC,cAAc,EAAE,IAAI;SACpB;QACD,OAAO,EAAE,EAAE;QACX,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE;oBACP;wBAEC,WAAW,EAAE,QAAQ;wBACrB,IAAI,EAAE,cAAc;wBACpB,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE;4BACZ,oBAAoB,EAAE,CAAC,iBAAiB,CAAC;4BACzC,iBAAiB,EAAE,2CAA2C;yBAC9D;wBACD,OAAO,EAAE,EAAE;wBACX,WAAW,EACV,yHAAyH;qBAC1H;oBACD;wBACC,WAAW,EAAE,OAAO;wBACpB,IAAI,EAAE,aAAa;wBACnB,IAAI,EAAE,QAAQ;wBACd,OAAO,EAAE,EAAE;wBACX,IAAI,EAAE,+CAA+C;qBACrD;iBACD;aACD;SACD;QACD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,OAAO,CAAC;gBACnB,SAAS,EAAE,CAAC,MAAM,CAAC;aACnB;YACD,IAAI,EAAE;gBACL,GAAG,uCAAkB;aACrB;SACD;KACD;IACD;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;QACf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CAAC,0BAA0B,CAAC,IAAkB,EAAE,SAAS,EAAE,YAAY,CAAC,CAAC;KAC7F;IAED,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;IAClC,MAAM,UAAU,GAAG,IAAA,kCAAsB,EAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAExD,MAAM,UAAU,GAAyB,YAAY,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;QACzE,OAAO;YACN,IAAI,EAAE,IAAI;YACV,UAAU;SACV,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,UAAU,CAAC;AACnB,CAAC;AAvED,0BAuEC"}
1
+ {"version":3,"file":"read.operation.js","sourceRoot":"","sources":["../../../../../../../nodes/Google/Sheet/v2/actions/sheet/read.operation.ts"],"names":[],"mappings":";;;AAEA,yEAI0C;AAC1C,2DAA4E;AAQ5E,iEAA2E;AAE9D,QAAA,WAAW,GAAoB;IAC3C;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,WAAW;QACjB,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,iBAAiB;QACvB,WAAW,EAAE;YACZ,uBAAuB,EAAE,YAAY;YACrC,cAAc,EAAE,IAAI;SACpB;QACD,OAAO,EAAE,EAAE;QACX,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE;oBACP;wBAEC,WAAW,EAAE,QAAQ;wBACrB,IAAI,EAAE,cAAc;wBACpB,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE;4BACZ,oBAAoB,EAAE,CAAC,iBAAiB,CAAC;4BACzC,iBAAiB,EAAE,2CAA2C;yBAC9D;wBACD,OAAO,EAAE,EAAE;wBACX,WAAW,EACV,yHAAyH;qBAC1H;oBACD;wBACC,WAAW,EAAE,OAAO;wBACpB,IAAI,EAAE,aAAa;wBACnB,IAAI,EAAE,QAAQ;wBACd,OAAO,EAAE,EAAE;w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YAC7F,IAAI,gBAAgB,CAAC,MAAM,EAAE;gBAC5B,YAAY,CAAC,IAAI,CAAC,GAAG,gBAAgB,CAAC,CAAC;aACvC;SACD;QAED,YAAY,GAAG,MAAM,KAAK,CAAC,YAAY,CACtC,IAAkB,EAClB,SAAS,EACT,YAAY,EACZ,YAAY,EACZ,gBAAgB,CAChB,CAAC;KACF;SAAM;QACN,YAAY,GAAG,KAAK,CAAC,0BAA0B,CAAC,IAAkB,EAAE,SAAS,EAAE,YAAY,CAAC,CAAC;KAC7F;IAED,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;IAClC,MAAM,UAAU,GAAG,IAAA,kCAAsB,EAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAExD,MAAM,UAAU,GAAyB,YAAY,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;QACzE,OAAO;YACN,IAAI,EAAE,IAAI;YACV,UAAU;SACV,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,UAAU,CAAC;AACnB,CAAC;AAvED,0BAuEC"}
@@ -162,7 +162,7 @@ exports.description = [
162
162
  show: {
163
163
  resource: ['sheet'],
164
164
  operation: ['update'],
165
- '@version': [4],
165
+ '@version': [4, 4.1],
166
166
  },
167
167
  hide: {
168
168
  ...GoogleSheets_utils_1.untilSheetSelected,
@@ -184,18 +184,26 @@ exports.description = [
184
184
  ...GoogleSheets_utils_1.untilSheetSelected,
185
185
  },
186
186
  },
187
- options: [...commonDescription_1.cellFormat, ...commonDescription_1.locationDefine, ...commonDescription_1.handlingExtraData],
187
+ options: [
188
+ commonDescription_1.cellFormat,
189
+ commonDescription_1.locationDefine,
190
+ commonDescription_1.handlingExtraData,
191
+ {
192
+ ...commonDescription_1.handlingExtraData,
193
+ displayOptions: { show: { '/columns.mappingMode': ['autoMapInputData'] } },
194
+ },
195
+ ],
188
196
  },
189
197
  ];
190
198
  async function execute(sheet, sheetName) {
191
199
  var _a;
192
200
  const items = this.getInputData();
193
- const valueInputMode = this.getNodeParameter('options.cellFormat', 0, 'RAW');
201
+ const nodeVersion = this.getNode().typeVersion;
194
202
  const range = `${sheetName}!A:Z`;
203
+ const valueInputMode = this.getNodeParameter('options.cellFormat', 0, (0, GoogleSheets_utils_1.cellFormatDefault)(nodeVersion));
195
204
  const options = this.getNodeParameter('options', 0, {});
196
205
  const valueRenderMode = (options.valueRenderMode || 'UNFORMATTED_VALUE');
197
206
  const locationDefineOptions = (_a = options.locationDefine) === null || _a === void 0 ? void 0 : _a.values;
198
- const nodeVersion = this.getNode().typeVersion;
199
207
  let headerRow = 0;
200
208
  let firstDataRow = 1;
201
209
  if (locationDefineOptions) {
@@ -232,7 +240,7 @@ async function execute(sheet, sheetName) {
232
240
  if (handlingExtraDataOption === 'ignoreIt') {
233
241
  data.push(items[i].json);
234
242
  }
235
- if (handlingExtraDataOption === 'error') {
243
+ if (handlingExtraDataOption === 'error' && columnsToMatchOn[0] !== 'row_number') {
236
244
  Object.keys(items[i].json).forEach((key) => {
237
245
  if (!columnNames.includes(key)) {
238
246
  throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Unexpected fields in node input', {
@@ -243,7 +251,7 @@ async function execute(sheet, sheetName) {
243
251
  });
244
252
  data.push(items[i].json);
245
253
  }
246
- if (handlingExtraDataOption === 'insertInNewColumn') {
254
+ if (handlingExtraDataOption === 'insertInNewColumn' && columnsToMatchOn[0] !== 'row_number') {
247
255
  Object.keys(items[i].json).forEach((key) => {
248
256
  if (!columnNames.includes(key)) {
249
257
  newColumns.add(key);
@@ -292,9 +300,17 @@ async function execute(sheet, sheetName) {
292
300
  }
293
301
  }
294
302
  if (newColumns.size) {
295
- await sheet.updateRows(sheetName, [columnNames.concat([...newColumns])], options.cellFormat || 'RAW', headerRow + 1);
303
+ await sheet.updateRows(sheetName, [columnNames.concat([...newColumns])], options.cellFormat || (0, GoogleSheets_utils_1.cellFormatDefault)(nodeVersion), headerRow + 1);
304
+ }
305
+ let preparedData;
306
+ if (columnsToMatchOn[0] === 'row_number') {
307
+ preparedData = sheet.prepareDataForUpdatingByRowNumber(data, range, [
308
+ columnNames.concat([...newColumns]),
309
+ ]);
310
+ }
311
+ else {
312
+ preparedData = await sheet.prepareDataForUpdateOrUpsert(data, columnsToMatchOn[0], range, headerRow, firstDataRow, valueRenderMode, false, [columnNames.concat([...newColumns])], columnValues);
296
313
  }
297
- const preparedData = await sheet.prepareDataForUpdateOrUpsert(data, columnsToMatchOn[0], range, headerRow, firstDataRow, valueRenderMode, false, [columnNames.concat([...newColumns])], columnValues);
298
314
  updateData.push(...preparedData.updateData);
299
315
  }
300
316
  if (updateData.length) {