@blickwerk/n8n-nodes-microsoft-planner 1.4.0 → 1.6.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 (42) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +233 -30
  3. package/dist/credentials/MicrosoftPlannerOAuth2Api.credentials.d.ts +2 -2
  4. package/dist/credentials/MicrosoftPlannerOAuth2Api.credentials.js +11 -29
  5. package/dist/credentials/MicrosoftPlannerOAuth2Api.credentials.js.map +1 -0
  6. package/dist/nodes/MicrosoftPlanner/BucketDescription.d.ts +3 -0
  7. package/dist/nodes/MicrosoftPlanner/BucketDescription.js +180 -0
  8. package/dist/nodes/MicrosoftPlanner/BucketDescription.js.map +1 -0
  9. package/dist/nodes/MicrosoftPlanner/CommentDescription.d.ts +3 -0
  10. package/dist/nodes/MicrosoftPlanner/CommentDescription.js +156 -0
  11. package/dist/nodes/MicrosoftPlanner/CommentDescription.js.map +1 -0
  12. package/dist/nodes/MicrosoftPlanner/GenericFunctions.d.ts +19 -6
  13. package/dist/nodes/MicrosoftPlanner/GenericFunctions.js +251 -34
  14. package/dist/nodes/MicrosoftPlanner/GenericFunctions.js.map +1 -0
  15. package/dist/nodes/MicrosoftPlanner/MicrosoftPlanner.node.d.ts +6 -7
  16. package/dist/nodes/MicrosoftPlanner/MicrosoftPlanner.node.js +118 -279
  17. package/dist/nodes/MicrosoftPlanner/MicrosoftPlanner.node.js.map +1 -0
  18. package/dist/nodes/MicrosoftPlanner/MicrosoftPlanner.node.json +18 -0
  19. package/dist/nodes/MicrosoftPlanner/PlanDescription.d.ts +3 -0
  20. package/dist/nodes/MicrosoftPlanner/PlanDescription.js +435 -0
  21. package/dist/nodes/MicrosoftPlanner/PlanDescription.js.map +1 -0
  22. package/dist/nodes/MicrosoftPlanner/SharedFields.d.ts +10 -0
  23. package/dist/nodes/MicrosoftPlanner/SharedFields.js +316 -0
  24. package/dist/nodes/MicrosoftPlanner/SharedFields.js.map +1 -0
  25. package/dist/nodes/MicrosoftPlanner/TaskDescription.d.ts +1 -1
  26. package/dist/nodes/MicrosoftPlanner/TaskDescription.js +271 -177
  27. package/dist/nodes/MicrosoftPlanner/TaskDescription.js.map +1 -0
  28. package/dist/nodes/MicrosoftPlanner/actions/bucket.d.ts +2 -0
  29. package/dist/nodes/MicrosoftPlanner/actions/bucket.js +72 -0
  30. package/dist/nodes/MicrosoftPlanner/actions/bucket.js.map +1 -0
  31. package/dist/nodes/MicrosoftPlanner/actions/comment.d.ts +2 -0
  32. package/dist/nodes/MicrosoftPlanner/actions/comment.js +100 -0
  33. package/dist/nodes/MicrosoftPlanner/actions/comment.js.map +1 -0
  34. package/dist/nodes/MicrosoftPlanner/actions/plan.d.ts +4 -0
  35. package/dist/nodes/MicrosoftPlanner/actions/plan.js +116 -0
  36. package/dist/nodes/MicrosoftPlanner/actions/plan.js.map +1 -0
  37. package/dist/nodes/MicrosoftPlanner/actions/task.d.ts +4 -0
  38. package/dist/nodes/MicrosoftPlanner/actions/task.js +392 -0
  39. package/dist/nodes/MicrosoftPlanner/actions/task.js.map +1 -0
  40. package/dist/package.json +60 -0
  41. package/dist/tsconfig.tsbuildinfo +1 -0
  42. package/package.json +22 -20
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.taskFields = exports.taskOperations = void 0;
4
+ const SharedFields_1 = require("./SharedFields");
4
5
  exports.taskOperations = [
5
6
  {
6
7
  displayName: 'Operation',
@@ -19,16 +20,34 @@ exports.taskOperations = [
19
20
  description: 'Create a new task',
20
21
  action: 'Create a task',
21
22
  },
23
+ {
24
+ name: 'Delete',
25
+ value: 'delete',
26
+ description: 'Delete a task',
27
+ action: 'Delete a task',
28
+ },
22
29
  {
23
30
  name: 'Get',
24
31
  value: 'get',
25
32
  description: 'Get a task',
26
33
  action: 'Get a task',
27
34
  },
35
+ {
36
+ name: 'Get Board Format',
37
+ value: 'getBoardFormat',
38
+ description: 'Get the ordering of a task in one of the board views',
39
+ action: 'Get the board format of a task',
40
+ },
41
+ {
42
+ name: 'Get Files',
43
+ value: 'getFiles',
44
+ description: 'Get files attached to a task',
45
+ action: 'Get files from a task',
46
+ },
28
47
  {
29
48
  name: 'Get Many',
30
49
  value: 'getAll',
31
- description: 'Get many tasks',
50
+ description: 'Get many tasks of a plan, a bucket, the current user or another user',
32
51
  action: 'Get many tasks',
33
52
  },
34
53
  {
@@ -38,25 +57,38 @@ exports.taskOperations = [
38
57
  action: 'Update a task',
39
58
  },
40
59
  {
41
- name: 'Delete',
42
- value: 'delete',
43
- description: 'Delete a task',
44
- action: 'Delete a task',
45
- },
46
- {
47
- name: 'Get Files',
48
- value: 'getFiles',
49
- description: 'Get files attached to a task',
50
- action: 'Get files from a task',
60
+ name: 'Update Board Format',
61
+ value: 'updateBoardFormat',
62
+ description: 'Change the ordering of a task in one of the board views',
63
+ action: 'Update the board format of a task',
51
64
  },
52
65
  ],
53
66
  default: 'create',
54
67
  },
55
68
  ];
69
+ const taskIdField = {
70
+ displayName: 'Task',
71
+ name: 'taskId',
72
+ type: 'resourceLocator',
73
+ default: { mode: 'id', value: '' },
74
+ required: true,
75
+ displayOptions: {
76
+ show: {
77
+ resource: ['task'],
78
+ operation: ['get', 'delete', 'update', 'getFiles', 'getBoardFormat', 'updateBoardFormat'],
79
+ },
80
+ },
81
+ modes: [
82
+ {
83
+ displayName: 'By ID',
84
+ name: 'id',
85
+ type: 'string',
86
+ placeholder: 'e.g. rz1EH6N_a0aLpRm-2QifxZgAF5OL',
87
+ },
88
+ ],
89
+ description: 'The task to operate on',
90
+ };
56
91
  exports.taskFields = [
57
- // ----------------------------------
58
- // task:create
59
- // ----------------------------------
60
92
  {
61
93
  displayName: 'Plan ID',
62
94
  name: 'planId',
@@ -70,7 +102,7 @@ exports.taskFields = [
70
102
  },
71
103
  default: '',
72
104
  description: 'The ID of the plan to which the task belongs',
73
- placeholder: 'Enter Plan ID',
105
+ placeholder: 'e.g. xqQg5FS2LkCp935s-FIFm2QAFkHM',
74
106
  },
75
107
  {
76
108
  displayName: 'Bucket',
@@ -130,6 +162,18 @@ exports.taskFields = [
130
162
  },
131
163
  },
132
164
  options: [
165
+ SharedFields_1.assigneePriorityField,
166
+ {
167
+ displayName: 'Assigned To (User IDs)',
168
+ name: 'assignments',
169
+ type: 'string',
170
+ default: '',
171
+ placeholder: 'user1@domain.com, user2@domain.com',
172
+ description: 'Comma-separated list of user emails or IDs to assign the task to',
173
+ },
174
+ (0, SharedFields_1.attachmentsField)(false),
175
+ (0, SharedFields_1.checklistField)(false),
176
+ SharedFields_1.conversationThreadIdField,
133
177
  {
134
178
  displayName: 'Description',
135
179
  name: 'description',
@@ -140,39 +184,6 @@ exports.taskFields = [
140
184
  default: '',
141
185
  description: 'Description of the task',
142
186
  },
143
- {
144
- displayName: 'Priority',
145
- name: 'priority',
146
- type: 'options',
147
- options: [
148
- {
149
- name: 'Urgent',
150
- value: 1,
151
- },
152
- {
153
- name: 'Important',
154
- value: 3,
155
- },
156
- {
157
- name: 'Medium',
158
- value: 5,
159
- },
160
- {
161
- name: 'Low',
162
- value: 9,
163
- },
164
- ],
165
- default: 5,
166
- description: 'Priority of the task',
167
- },
168
- {
169
- displayName: 'Assigned To (User IDs)',
170
- name: 'assignments',
171
- type: 'string',
172
- default: '',
173
- placeholder: 'user1@domain.com, user2@domain.com',
174
- description: 'Comma-separated list of user emails or IDs to assign the task to',
175
- },
176
187
  {
177
188
  displayName: 'Due Date Time',
178
189
  name: 'dueDateTime',
@@ -180,6 +191,11 @@ exports.taskFields = [
180
191
  default: '',
181
192
  description: 'Due date and time for the task',
182
193
  },
194
+ (0, SharedFields_1.labelsField)('Label Names or IDs', 'appliedCategories'),
195
+ SharedFields_1.orderHintField,
196
+ SharedFields_1.percentCompleteField,
197
+ SharedFields_1.previewTypeField,
198
+ SharedFields_1.priorityField,
183
199
  {
184
200
  displayName: 'Start Date Time',
185
201
  name: 'startDateTime',
@@ -187,40 +203,9 @@ exports.taskFields = [
187
203
  default: '',
188
204
  description: 'Start date and time for the task',
189
205
  },
190
- {
191
- displayName: 'Percent Complete',
192
- name: 'percentComplete',
193
- type: 'number',
194
- default: 0,
195
- description: 'Percentage of task completion (0-100)',
196
- },
197
206
  ],
198
207
  },
199
- // ----------------------------------
200
- // task:get
201
- // ----------------------------------
202
- {
203
- displayName: 'Task',
204
- name: 'taskId',
205
- type: 'resourceLocator',
206
- default: { mode: 'id', value: '' },
207
- required: true,
208
- displayOptions: {
209
- show: {
210
- resource: ['task'],
211
- operation: ['get', 'delete', 'update'],
212
- },
213
- },
214
- modes: [
215
- {
216
- displayName: 'By ID',
217
- name: 'id',
218
- type: 'string',
219
- placeholder: 'e.g. rz1EH6N_a0aLpRm-2QifxZgAF5OL',
220
- },
221
- ],
222
- description: 'The task to operate on',
223
- },
208
+ taskIdField,
224
209
  {
225
210
  displayName: 'Additional Fields',
226
211
  name: 'additionalFields',
@@ -239,44 +224,10 @@ exports.taskFields = [
239
224
  name: 'includeDetails',
240
225
  type: 'boolean',
241
226
  default: false,
242
- description: 'Whether to include task details (description, checklist, etc.)',
227
+ description: 'Whether to include task details (description, checklist, attachments, etc.)',
243
228
  },
244
229
  ],
245
230
  },
246
- // ----------------------------------
247
- // task:getAll
248
- // ----------------------------------
249
- {
250
- displayName: 'Return All',
251
- name: 'returnAll',
252
- type: 'boolean',
253
- displayOptions: {
254
- show: {
255
- resource: ['task'],
256
- operation: ['getAll'],
257
- },
258
- },
259
- default: false,
260
- description: 'Whether to return all results or only up to a given limit',
261
- },
262
- {
263
- displayName: 'Limit',
264
- name: 'limit',
265
- type: 'number',
266
- displayOptions: {
267
- show: {
268
- resource: ['task'],
269
- operation: ['getAll'],
270
- returnAll: [false],
271
- },
272
- },
273
- typeOptions: {
274
- minValue: 1,
275
- maxValue: 500,
276
- },
277
- default: 100,
278
- description: 'Max number of results to return',
279
- },
280
231
  {
281
232
  displayName: 'Filter By',
282
233
  name: 'filterBy',
@@ -291,14 +242,26 @@ exports.taskFields = [
291
242
  {
292
243
  name: 'Plan',
293
244
  value: 'plan',
245
+ description: 'All tasks of a plan',
294
246
  },
295
247
  {
296
248
  name: 'Bucket',
297
249
  value: 'bucket',
250
+ description: 'All tasks of a bucket',
251
+ },
252
+ {
253
+ name: 'My Tasks',
254
+ value: 'my',
255
+ description: 'Tasks assigned to the authenticated user',
256
+ },
257
+ {
258
+ name: 'User',
259
+ value: 'user',
260
+ description: 'Tasks assigned to a specific user',
298
261
  },
299
262
  ],
300
263
  default: 'plan',
301
- description: 'Choose whether to filter by Plan or Bucket',
264
+ description: 'Which set of tasks to return',
302
265
  },
303
266
  {
304
267
  displayName: 'Plan ID',
@@ -314,7 +277,7 @@ exports.taskFields = [
314
277
  default: '',
315
278
  required: true,
316
279
  description: 'The Plan ID to filter tasks',
317
- placeholder: 'Enter Plan ID',
280
+ placeholder: 'e.g. xqQg5FS2LkCp935s-FIFm2QAFkHM',
318
281
  },
319
282
  {
320
283
  displayName: 'Bucket',
@@ -348,71 +311,118 @@ exports.taskFields = [
348
311
  },
349
312
  ],
350
313
  },
351
- // ----------------------------------
352
- // task:update
353
- // ----------------------------------
354
314
  {
355
- displayName: 'Update Fields',
356
- name: 'updateFields',
315
+ displayName: 'User',
316
+ name: 'userId',
317
+ type: 'string',
318
+ displayOptions: {
319
+ show: {
320
+ resource: ['task'],
321
+ operation: ['getAll'],
322
+ filterBy: ['user'],
323
+ },
324
+ },
325
+ default: '',
326
+ required: true,
327
+ placeholder: 'user@domain.com',
328
+ description: 'Email address, user principal name or ID of the user',
329
+ },
330
+ {
331
+ displayName: 'Additional Fields',
332
+ name: 'additionalFields',
357
333
  type: 'collection',
358
334
  placeholder: 'Add Field',
359
335
  default: {},
360
336
  displayOptions: {
361
337
  show: {
362
338
  resource: ['task'],
363
- operation: ['update'],
339
+ operation: ['getAll'],
364
340
  },
365
341
  },
366
342
  options: [
367
343
  {
368
- displayName: 'Title',
369
- name: 'title',
344
+ displayName: 'Exclude Completed Tasks',
345
+ name: 'excludeCompleted',
346
+ type: 'boolean',
347
+ default: false,
348
+ description: 'Whether to leave out tasks that are 100% complete',
349
+ },
350
+ {
351
+ displayName: 'Include Details',
352
+ name: 'includeDetails',
353
+ type: 'boolean',
354
+ default: false,
355
+ description: 'Whether to include task details (description, checklist, attachments) for every task',
356
+ },
357
+ {
358
+ displayName: 'Select Properties',
359
+ name: 'select',
370
360
  type: 'string',
371
361
  default: '',
372
- description: 'Title of the task',
362
+ description: 'Comma-separated list of properties to specify which fields to return (e.g. title,percentComplete). The ID is always returned.',
363
+ },
364
+ ],
365
+ },
366
+ {
367
+ displayName: 'Update Fields',
368
+ name: 'updateFields',
369
+ type: 'collection',
370
+ placeholder: 'Add Field',
371
+ default: {},
372
+ displayOptions: {
373
+ show: {
374
+ resource: ['task'],
375
+ operation: ['update'],
373
376
  },
377
+ },
378
+ options: [
379
+ SharedFields_1.assigneePriorityField,
374
380
  {
375
- displayName: 'Description',
376
- name: 'description',
381
+ displayName: 'Assigned To (User IDs)',
382
+ name: 'assignments',
377
383
  type: 'string',
378
- typeOptions: {
379
- rows: 5,
380
- },
381
384
  default: '',
382
- description: 'Description of the task',
385
+ placeholder: 'user1@domain.com, user2@domain.com',
386
+ description: 'Comma-separated list of user emails or IDs to assign the task to',
383
387
  },
384
388
  {
385
- displayName: 'Priority',
386
- name: 'priority',
389
+ displayName: 'Assignment Mode',
390
+ name: 'assignmentsMode',
387
391
  type: 'options',
388
392
  options: [
389
393
  {
390
- name: 'Urgent',
391
- value: 0,
392
- },
393
- {
394
- name: 'Important',
395
- value: 1,
396
- },
397
- {
398
- name: 'Medium',
399
- value: 5,
394
+ name: 'Append',
395
+ value: 'append',
396
+ description: 'Add the given users to the existing assignees',
400
397
  },
401
398
  {
402
- name: 'Low',
403
- value: 9,
399
+ name: 'Replace',
400
+ value: 'replace',
401
+ description: 'The given users become the only assignees',
404
402
  },
405
403
  ],
406
- default: 5,
407
- description: 'Priority of the task',
404
+ default: 'append',
405
+ description: 'How "Assigned To" is applied to the existing assignees',
408
406
  },
407
+ (0, SharedFields_1.attachmentsField)(true),
409
408
  {
410
- displayName: 'Assigned To (User IDs)',
411
- name: 'assignments',
409
+ displayName: 'Bucket ID',
410
+ name: 'bucketId',
412
411
  type: 'string',
413
412
  default: '',
414
- placeholder: 'user1@domain.com, user2@domain.com',
415
- description: 'Comma-separated list of user emails or IDs to assign the task to',
413
+ description: 'Move task to a different bucket',
414
+ },
415
+ (0, SharedFields_1.checklistField)(true),
416
+ SharedFields_1.conversationThreadIdField,
417
+ {
418
+ displayName: 'Description',
419
+ name: 'description',
420
+ type: 'string',
421
+ typeOptions: {
422
+ rows: 5,
423
+ },
424
+ default: '',
425
+ description: 'Description of the task. Leave empty to clear the description.',
416
426
  },
417
427
  {
418
428
  displayName: 'Due Date Time',
@@ -421,6 +431,48 @@ exports.taskFields = [
421
431
  default: '',
422
432
  description: 'Due date and time for the task',
423
433
  },
434
+ (0, SharedFields_1.labelsField)('Label Names or IDs to Add', 'labelsToAdd'),
435
+ (0, SharedFields_1.labelsField)('Label Names or IDs to Remove', 'labelsToRemove'),
436
+ SharedFields_1.orderHintField,
437
+ SharedFields_1.percentCompleteField,
438
+ SharedFields_1.previewTypeField,
439
+ SharedFields_1.priorityField,
440
+ {
441
+ displayName: 'Remove Assignees',
442
+ name: 'removeAssignments',
443
+ type: 'string',
444
+ default: '',
445
+ placeholder: 'user1@domain.com, user2@domain.com',
446
+ description: 'Comma-separated list of user emails or IDs to unassign from the task',
447
+ },
448
+ {
449
+ displayName: 'Remove Attachments (URLs)',
450
+ name: 'removeAttachmentUrls',
451
+ type: 'string',
452
+ default: '',
453
+ description: 'Comma-separated list of attachment URLs to remove from the task',
454
+ },
455
+ {
456
+ displayName: 'Remove Checklist Items (IDs)',
457
+ name: 'removeChecklistItemIds',
458
+ type: 'string',
459
+ default: '',
460
+ description: 'Comma-separated list of checklist item IDs to remove from the task',
461
+ },
462
+ {
463
+ displayName: 'Remove Due Date',
464
+ name: 'clearDueDateTime',
465
+ type: 'boolean',
466
+ default: false,
467
+ description: 'Whether to remove the due date of the task',
468
+ },
469
+ {
470
+ displayName: 'Remove Start Date',
471
+ name: 'clearStartDateTime',
472
+ type: 'boolean',
473
+ default: false,
474
+ description: 'Whether to remove the start date of the task',
475
+ },
424
476
  {
425
477
  displayName: 'Start Date Time',
426
478
  name: 'startDateTime',
@@ -429,44 +481,86 @@ exports.taskFields = [
429
481
  description: 'Start date and time for the task',
430
482
  },
431
483
  {
432
- displayName: 'Percent Complete',
433
- name: 'percentComplete',
434
- type: 'number',
435
- default: 0,
436
- description: 'Percentage of task completion (0-100)',
437
- },
438
- {
439
- displayName: 'Bucket ID',
440
- name: 'bucketId',
484
+ displayName: 'Title',
485
+ name: 'title',
441
486
  type: 'string',
442
487
  default: '',
443
- description: 'Move task to a different bucket',
488
+ description: 'Title of the task',
444
489
  },
445
490
  ],
446
491
  },
447
- // ----------------------------------
448
- // task:getFiles
449
- // ----------------------------------
450
492
  {
451
- displayName: 'Task',
452
- name: 'taskId',
453
- type: 'resourceLocator',
454
- default: { mode: 'id', value: '' },
455
- required: true,
493
+ displayName: 'Board View',
494
+ name: 'boardFormatType',
495
+ type: 'options',
456
496
  displayOptions: {
457
497
  show: {
458
498
  resource: ['task'],
459
- operation: ['getFiles'],
499
+ operation: ['getBoardFormat', 'updateBoardFormat'],
460
500
  },
461
501
  },
462
- modes: [
502
+ options: [
463
503
  {
464
- displayName: 'By ID',
465
- name: 'id',
466
- type: 'string',
467
- placeholder: 'e.g. rz1EH6N_a0aLpRm-2QifxZgAF5OL',
504
+ name: 'Assigned To',
505
+ value: 'assignedToTaskBoardFormat',
506
+ description: 'Board grouped by assignee',
507
+ },
508
+ {
509
+ name: 'Bucket',
510
+ value: 'bucketTaskBoardFormat',
511
+ description: 'Board grouped by bucket',
512
+ },
513
+ {
514
+ name: 'Progress',
515
+ value: 'progressTaskBoardFormat',
516
+ description: 'Board grouped by progress',
468
517
  },
469
518
  ],
470
- description: 'The Task ID to get files from',
519
+ default: 'bucketTaskBoardFormat',
520
+ description: 'The board view whose task ordering should be used',
521
+ },
522
+ {
523
+ displayName: 'Order Hint',
524
+ name: 'boardOrderHint',
525
+ type: 'string',
526
+ displayOptions: {
527
+ show: {
528
+ resource: ['task'],
529
+ operation: ['updateBoardFormat'],
530
+ boardFormatType: ['bucketTaskBoardFormat', 'progressTaskBoardFormat'],
531
+ },
532
+ },
533
+ default: '',
534
+ required: true,
535
+ description: 'Order hint for the task in this board view (e.g. " !" to move it to the top)',
536
+ },
537
+ {
538
+ displayName: 'Unassigned Order Hint',
539
+ name: 'unassignedOrderHint',
540
+ type: 'string',
541
+ displayOptions: {
542
+ show: {
543
+ resource: ['task'],
544
+ operation: ['updateBoardFormat'],
545
+ boardFormatType: ['assignedToTaskBoardFormat'],
546
+ },
547
+ },
548
+ default: '',
549
+ description: 'Order hint for the task in the "Unassigned" column',
550
+ },
551
+ {
552
+ displayName: 'Order Hints by Assignee (JSON)',
553
+ name: 'orderHintsByAssignee',
554
+ type: 'json',
555
+ displayOptions: {
556
+ show: {
557
+ resource: ['task'],
558
+ operation: ['updateBoardFormat'],
559
+ boardFormatType: ['assignedToTaskBoardFormat'],
560
+ },
561
+ },
562
+ default: '{}',
563
+ description: 'JSON object mapping user IDs to order hints (e.g. {"6463a5ce-2119-4198-9f2a-628761df4a62": " !"})',
471
564
  },
472
565
  ];
566
+ //# sourceMappingURL=TaskDescription.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TaskDescription.js","sourceRoot":"","sources":["../../../nodes/MicrosoftPlanner/TaskDescription.ts"],"names":[],"mappings":";;;AACA,iDAUwB;AAKX,QAAA,cAAc,GAAsB;IAChD;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,MAAM,CAAC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@@
1
+ import type { IDataObject, IExecuteFunctions } from 'n8n-workflow';
2
+ export declare function executeBucket(this: IExecuteFunctions, operation: string, i: number): Promise<IDataObject | IDataObject[]>;