n8n-nodes-miroapp 1.0.1
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.
- package/LICENSE.md +19 -0
- package/README.md +349 -0
- package/dist/credentials/MiroApi.credentials.d.ts +10 -0
- package/dist/credentials/MiroApi.credentials.js +41 -0
- package/dist/credentials/MiroApi.credentials.js.map +1 -0
- package/dist/credentials/MiroOAuth2Api.credentials.d.ts +9 -0
- package/dist/credentials/MiroOAuth2Api.credentials.js +52 -0
- package/dist/credentials/MiroOAuth2Api.credentials.js.map +1 -0
- package/dist/credentials/icons/miro.dark.svg +1 -0
- package/dist/credentials/icons/miro.svg +1 -0
- package/dist/nodes/Miro/Miro.node.d.ts +6 -0
- package/dist/nodes/Miro/Miro.node.js +4126 -0
- package/dist/nodes/Miro/Miro.node.js.map +1 -0
- package/dist/nodes/Miro/Miro.node.json +19 -0
- package/dist/nodes/Miro/miro.dark.svg +1 -0
- package/dist/nodes/Miro/miro.svg +1 -0
- package/dist/package.json +57 -0
- package/package.json +57 -0
|
@@ -0,0 +1,4126 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Miro = void 0;
|
|
4
|
+
exports.executeItem = executeItem;
|
|
5
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
6
|
+
const BASE_URL = 'https://api.miro.com';
|
|
7
|
+
const MAX_UPLOAD_BYTES = 6 * 1024 * 1024;
|
|
8
|
+
const MAX_BULK_RESOURCES = 20;
|
|
9
|
+
const UPLOAD_OPERATIONS = {
|
|
10
|
+
createDocumentItemUsingFileFromDevicePost: 'singleResource',
|
|
11
|
+
createImageItemUsingLocalFilePost: 'singleResource',
|
|
12
|
+
createItemsInBulkUsingFileFromDevicePost: 'bulkResources',
|
|
13
|
+
updateDocumentItemUsingFileFromDevicePatch: 'singleResource',
|
|
14
|
+
updateImageItemUsingFileFromDevicePatch: 'singleResource',
|
|
15
|
+
};
|
|
16
|
+
class Miro {
|
|
17
|
+
constructor() {
|
|
18
|
+
this.description = {
|
|
19
|
+
name: 'miro',
|
|
20
|
+
displayName: 'Miro',
|
|
21
|
+
group: ['transform'],
|
|
22
|
+
version: 1,
|
|
23
|
+
subtitle: '={{$parameter["resource"] + " → " + $parameter["operation"]}}',
|
|
24
|
+
description: 'Use the Miro API',
|
|
25
|
+
defaults: { name: 'Miro' },
|
|
26
|
+
icon: { light: 'file:miro.svg', dark: 'file:miro.dark.svg' },
|
|
27
|
+
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
28
|
+
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
29
|
+
usableAsTool: true,
|
|
30
|
+
credentials: [
|
|
31
|
+
{
|
|
32
|
+
name: 'miroApi',
|
|
33
|
+
required: true,
|
|
34
|
+
displayOptions: { show: { authentication: ['accessToken'] } },
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
name: 'miroOAuth2Api',
|
|
38
|
+
required: true,
|
|
39
|
+
displayOptions: { show: { authentication: ['oAuth2'] } },
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
properties: [
|
|
43
|
+
{
|
|
44
|
+
displayName: 'Authentication',
|
|
45
|
+
name: 'authentication',
|
|
46
|
+
type: 'options',
|
|
47
|
+
noDataExpression: true,
|
|
48
|
+
options: [
|
|
49
|
+
{ name: 'Access Token', value: 'accessToken' },
|
|
50
|
+
{ name: 'OAuth2', value: 'oAuth2' },
|
|
51
|
+
],
|
|
52
|
+
default: 'accessToken',
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
displayName: 'Resource',
|
|
56
|
+
name: 'resource',
|
|
57
|
+
type: 'options',
|
|
58
|
+
noDataExpression: true,
|
|
59
|
+
options: [
|
|
60
|
+
{
|
|
61
|
+
name: 'Apps - Metric',
|
|
62
|
+
value: 'appsMetric',
|
|
63
|
+
description: 'Usage metrics for a Miro app (experimental Miro API, may change without notice)',
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
name: 'Authentication - Token',
|
|
67
|
+
value: 'authenticationToken',
|
|
68
|
+
description: 'Revoke an OAuth access token',
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
name: 'Boards - Board',
|
|
72
|
+
value: 'boardsBoard',
|
|
73
|
+
description: 'Create, read, update, copy and delete boards',
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
name: 'Boards - Export Job',
|
|
77
|
+
value: 'boardsExportJob',
|
|
78
|
+
description: 'Bulk-export boards through asynchronous export jobs',
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
name: 'Boards - Member',
|
|
82
|
+
value: 'boardsMember',
|
|
83
|
+
description: 'Share a board and manage the roles of its members',
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
name: 'Boards - User Group Assignment',
|
|
87
|
+
value: 'boardsUserGroupAssignment',
|
|
88
|
+
description: 'Share a board with organization user groups',
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
name: 'Governance - AI Interaction Log',
|
|
92
|
+
value: 'governanceAIInteractionLog',
|
|
93
|
+
description: 'Audit how people used Miro AI features',
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
name: 'Governance - Audit Log',
|
|
97
|
+
value: 'governanceAuditLog',
|
|
98
|
+
description: 'Audit events from the last 90 days',
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
name: 'Governance - Board Content Log',
|
|
102
|
+
value: 'governanceBoardContentLog',
|
|
103
|
+
description: 'Track content changes made to board items',
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
name: 'Governance - Board Data Classification',
|
|
107
|
+
value: 'governanceBoardDataClassification',
|
|
108
|
+
description: 'Read and set the classification label of a board',
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
name: 'Governance - Legal Hold',
|
|
112
|
+
value: 'governanceLegalHold',
|
|
113
|
+
description: 'Manage eDiscovery cases and the legal holds they contain',
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
name: 'Governance - Organization Data Classification',
|
|
117
|
+
value: 'governanceOrganizationDataClassification',
|
|
118
|
+
description: 'Read the classification settings of an organization',
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
name: 'Governance - Team Data Classification',
|
|
122
|
+
value: 'governanceTeamDataClassification',
|
|
123
|
+
description: 'Read and update the classification settings of a team',
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
name: 'Governance - User Session',
|
|
127
|
+
value: 'governanceUserSession',
|
|
128
|
+
description: 'Sign a user out of all of their Miro sessions',
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
name: 'Items - App Card',
|
|
132
|
+
value: 'itemsAppCard',
|
|
133
|
+
description: 'Cards that stay in sync with data from an external app',
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
name: 'Items - Card',
|
|
137
|
+
value: 'itemsCard',
|
|
138
|
+
description: 'Task cards with an assignee, a due date and a description',
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
name: 'Items - Code Widget',
|
|
142
|
+
value: 'itemsCodeWidget',
|
|
143
|
+
description: 'Syntax-highlighted code blocks placed on a board (experimental Miro API, may change without notice)',
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
name: 'Items - Connector',
|
|
147
|
+
value: 'itemsConnector',
|
|
148
|
+
description: 'Lines and arrows that link two items together',
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
name: 'Items - Doc Format',
|
|
152
|
+
value: 'itemsDocFormat',
|
|
153
|
+
description: 'Native Miro documents written in Markdown',
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
name: 'Items - Document',
|
|
157
|
+
value: 'itemsDocument',
|
|
158
|
+
description: 'Files such as PDFs, uploaded from a URL or from a file',
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
name: 'Items - Embed',
|
|
162
|
+
value: 'itemsEmbed',
|
|
163
|
+
description: 'Live content embedded from an external URL',
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
name: 'Items - Flowchart Shape',
|
|
167
|
+
value: 'itemsFlowchartShape',
|
|
168
|
+
description: 'Shapes drawn from the flowchart shape vocabulary (experimental Miro API, may change without notice)',
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
name: 'Items - Frame',
|
|
172
|
+
value: 'itemsFrame',
|
|
173
|
+
description: 'Frames that group and lay out the items they contain',
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
name: 'Items - Group',
|
|
177
|
+
value: 'itemsGroup',
|
|
178
|
+
description: 'Group several board items so they move together',
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
name: 'Items - Image',
|
|
182
|
+
value: 'itemsImage',
|
|
183
|
+
description: 'Images, uploaded from a URL or from a file',
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
name: 'Items - Item',
|
|
187
|
+
value: 'itemsItem',
|
|
188
|
+
description: 'Read, move and delete any item, and create items in bulk',
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
name: 'Items - Mind Map Node',
|
|
192
|
+
value: 'itemsMindMapNode',
|
|
193
|
+
description: 'Nodes of a mind map and their hierarchy (experimental Miro API, may change without notice)',
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
name: 'Items - Shape',
|
|
197
|
+
value: 'itemsShape',
|
|
198
|
+
description: 'Geometric shapes with text, fill and border styling',
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
name: 'Items - Sticky Note',
|
|
202
|
+
value: 'itemsStickyNote',
|
|
203
|
+
description: 'Sticky notes, the most common board item',
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
name: 'Items - Tag',
|
|
207
|
+
value: 'itemsTag',
|
|
208
|
+
description: 'Board tags, and attaching them to items',
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
name: 'Items - Text',
|
|
212
|
+
value: 'itemsText',
|
|
213
|
+
description: 'Free-standing text placed on a board',
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
name: 'Organization - Member',
|
|
217
|
+
value: 'organizationMember',
|
|
218
|
+
description: 'Read the members of an organization and their licences',
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
name: 'Organization - Organization',
|
|
222
|
+
value: 'organizationOrganization',
|
|
223
|
+
description: 'Read information about an organization',
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
name: 'Organization - Project',
|
|
227
|
+
value: 'organizationProject',
|
|
228
|
+
description: 'Projects that group boards inside a team',
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
name: 'Organization - Project Member',
|
|
232
|
+
value: 'organizationProjectMember',
|
|
233
|
+
description: 'Add, read, update and remove members of a project',
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
name: 'Organization - Project Setting',
|
|
237
|
+
value: 'organizationProjectSetting',
|
|
238
|
+
description: 'Read and update the settings of a project',
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
name: 'Organization - Project User Group Assignment',
|
|
242
|
+
value: 'organizationProjectUserGroupAssignment',
|
|
243
|
+
description: 'Share a project with organization user groups',
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
name: 'Organization - Team',
|
|
247
|
+
value: 'organizationTeam',
|
|
248
|
+
description: 'Create, read, update and delete the teams of an organization',
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
name: 'Organization - Team Member',
|
|
252
|
+
value: 'organizationTeamMember',
|
|
253
|
+
description: 'Invite, read, update and remove members of a team',
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
name: 'Organization - Team Setting',
|
|
257
|
+
value: 'organizationTeamSetting',
|
|
258
|
+
description: 'Read and update team settings, and the organization defaults',
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
name: 'Organization - Team User Group',
|
|
262
|
+
value: 'organizationTeamUserGroup',
|
|
263
|
+
description: 'Connect organization user groups to a team',
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
name: 'Organization - User Group',
|
|
267
|
+
value: 'organizationUserGroup',
|
|
268
|
+
description: 'Create, read, update and delete organization user groups',
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
name: 'Organization - User Group Member',
|
|
272
|
+
value: 'organizationUserGroupMember',
|
|
273
|
+
description: 'Manage who belongs to an organization user group',
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
name: 'Organization - User Group Team',
|
|
277
|
+
value: 'organizationUserGroupTeam',
|
|
278
|
+
description: 'Read the teams that an organization user group belongs to',
|
|
279
|
+
},
|
|
280
|
+
],
|
|
281
|
+
default: 'appsMetric',
|
|
282
|
+
required: true,
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
displayName: 'Operation',
|
|
286
|
+
name: 'operation',
|
|
287
|
+
type: 'options',
|
|
288
|
+
noDataExpression: true,
|
|
289
|
+
displayOptions: { show: { resource: ['appsMetric'] } },
|
|
290
|
+
options: [
|
|
291
|
+
{
|
|
292
|
+
name: 'Get App Metrics',
|
|
293
|
+
value: 'getMetricsGet',
|
|
294
|
+
action: 'Gets app metrics',
|
|
295
|
+
description: 'Returns a list of usage metrics for a specific app for a given time range, grouped by requested time period. This endpoint requires an app management API token. It can be generated in the Your Apps section of Developer Hub (experimental Miro API, may change without notice).',
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
name: 'Get Total App Metrics',
|
|
299
|
+
value: 'getMetricsTotalGet',
|
|
300
|
+
action: 'Gets total app metrics',
|
|
301
|
+
description: 'Returns total usage metrics for a specific app since the app was created. This endpoint requires an app management API token. It can be generated in your apps section of Developer Hub (experimental Miro API, may change without notice).',
|
|
302
|
+
},
|
|
303
|
+
],
|
|
304
|
+
default: 'getMetricsGet',
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
displayName: 'Operation',
|
|
308
|
+
name: 'operation',
|
|
309
|
+
type: 'options',
|
|
310
|
+
noDataExpression: true,
|
|
311
|
+
displayOptions: { show: { resource: ['authenticationToken'] } },
|
|
312
|
+
options: [
|
|
313
|
+
{
|
|
314
|
+
name: 'Revoke Token',
|
|
315
|
+
value: 'revokeTokenV2Post',
|
|
316
|
+
action: 'Revokes token',
|
|
317
|
+
description: 'Revoke the current access token. Revoking an access token means that the access token will no longer work. When an access token is revoked, the refresh token is also revoked and no longer valid. This does not uninstall the application for the user.',
|
|
318
|
+
},
|
|
319
|
+
],
|
|
320
|
+
default: 'revokeTokenV2Post',
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
displayName: 'Operation',
|
|
324
|
+
name: 'operation',
|
|
325
|
+
type: 'options',
|
|
326
|
+
noDataExpression: true,
|
|
327
|
+
displayOptions: { show: { resource: ['boardsBoard'] } },
|
|
328
|
+
options: [
|
|
329
|
+
{
|
|
330
|
+
name: 'Copy Board',
|
|
331
|
+
value: 'copyBoardPut',
|
|
332
|
+
action: 'Copies board',
|
|
333
|
+
description: 'Creates a copy of an existing board. You can also update the name, description, sharing policy, and permissions policy for the new board in the request body.',
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
name: 'Create Board',
|
|
337
|
+
value: 'createBoardPost',
|
|
338
|
+
action: 'Creates board',
|
|
339
|
+
description: 'Creates a board with the specified name and sharing policies',
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
name: 'Delete Board',
|
|
343
|
+
value: 'deleteBoardDelete',
|
|
344
|
+
action: 'Deletes board',
|
|
345
|
+
description: 'Deletes a board. Deleted boards go to Trash (on paid plans) and can be restored via UI within 90 days after deletion.',
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
name: 'Get Boards',
|
|
349
|
+
value: 'getBoardsGet',
|
|
350
|
+
action: 'Gets boards',
|
|
351
|
+
description: 'Retrieves a list of boards accessible to the user associated with the provided access token. This endpoint supports filtering and sorting through URL query parameters.',
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
name: 'Get Specific Board',
|
|
355
|
+
value: 'getSpecificBoardGet',
|
|
356
|
+
action: 'Gets specific board',
|
|
357
|
+
description: 'Retrieves information about a board',
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
name: 'Update Board',
|
|
361
|
+
value: 'updateBoardPatch',
|
|
362
|
+
action: 'Updates board',
|
|
363
|
+
description: 'Updates a specific board',
|
|
364
|
+
},
|
|
365
|
+
],
|
|
366
|
+
default: 'copyBoardPut',
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
displayName: 'Operation',
|
|
370
|
+
name: 'operation',
|
|
371
|
+
type: 'options',
|
|
372
|
+
noDataExpression: true,
|
|
373
|
+
displayOptions: { show: { resource: ['boardsExportJob'] } },
|
|
374
|
+
options: [
|
|
375
|
+
{
|
|
376
|
+
name: 'Create Board Export Job',
|
|
377
|
+
value: 'enterpriseCreateBoardExportPost',
|
|
378
|
+
action: 'Creates board export job',
|
|
379
|
+
description: 'Creates an export job for one or more boards',
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
name: 'Create Task Export Link',
|
|
383
|
+
value: 'enterpriseCreateBoardExportTaskExportLinkPost',
|
|
384
|
+
action: 'Creates task export link',
|
|
385
|
+
description: 'Creates a link to download the results of a board export task',
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
name: 'Get Board Export Job Status',
|
|
389
|
+
value: 'enterpriseBoardExportJobStatusGet',
|
|
390
|
+
action: 'Gets board export job status',
|
|
391
|
+
description: 'Retrieves the status of the board export job',
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
name: 'Get Board Export Job Tasks List',
|
|
395
|
+
value: 'enterpriseBoardExportJobTasksGet',
|
|
396
|
+
action: 'Gets board export job tasks list',
|
|
397
|
+
description: 'Retrieves the list of tasks for the board export job',
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
name: 'Get Board Export Jobs List',
|
|
401
|
+
value: 'enterpriseBoardExportJobsGet',
|
|
402
|
+
action: 'Gets board export jobs list',
|
|
403
|
+
description: 'Retrieves the list of board export jobs based on the filters provided in the request',
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
name: 'Get Results for Board Export Job',
|
|
407
|
+
value: 'enterpriseBoardExportJobResultsGet',
|
|
408
|
+
action: 'Gets results for board export job',
|
|
409
|
+
description: 'Retrieves the result of the board export job. The response provides more information about the board export job, such as the S3 link to the files created.',
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
name: 'Update Board Export Job Status',
|
|
413
|
+
value: 'enterpriseUpdateBoardExportJobPut',
|
|
414
|
+
action: 'Updates board export job status',
|
|
415
|
+
description: 'Updates the status of the board export job',
|
|
416
|
+
},
|
|
417
|
+
],
|
|
418
|
+
default: 'enterpriseCreateBoardExportPost',
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
displayName: 'Operation',
|
|
422
|
+
name: 'operation',
|
|
423
|
+
type: 'options',
|
|
424
|
+
noDataExpression: true,
|
|
425
|
+
displayOptions: { show: { resource: ['boardsMember'] } },
|
|
426
|
+
options: [
|
|
427
|
+
{
|
|
428
|
+
name: 'Get All Board Members',
|
|
429
|
+
value: 'getBoardMembersGet',
|
|
430
|
+
action: 'Gets all board members',
|
|
431
|
+
description: 'Retrieves a pageable list of members for a board',
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
name: 'Get Specific Board Member',
|
|
435
|
+
value: 'getSpecificBoardMemberGet',
|
|
436
|
+
action: 'Gets specific board member',
|
|
437
|
+
description: 'Retrieves information for a board member',
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
name: 'Remove Board Member',
|
|
441
|
+
value: 'removeBoardMemberDelete',
|
|
442
|
+
action: 'Removes board member',
|
|
443
|
+
description: 'Removes a board member from a board',
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
name: 'Share Board',
|
|
447
|
+
value: 'shareBoardPost',
|
|
448
|
+
action: 'Shares board',
|
|
449
|
+
description: 'Shares the board and Invites new members to collaborate on a board by sending an invitation email',
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
name: 'Update Board Member',
|
|
453
|
+
value: 'updateBoardMemberPatch',
|
|
454
|
+
action: 'Updates board member',
|
|
455
|
+
description: 'Updates the role of a board member',
|
|
456
|
+
},
|
|
457
|
+
],
|
|
458
|
+
default: 'getBoardMembersGet',
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
displayName: 'Operation',
|
|
462
|
+
name: 'operation',
|
|
463
|
+
type: 'options',
|
|
464
|
+
noDataExpression: true,
|
|
465
|
+
displayOptions: { show: { resource: ['boardsUserGroupAssignment'] } },
|
|
466
|
+
options: [
|
|
467
|
+
{
|
|
468
|
+
name: 'Create Board User Group Assignments',
|
|
469
|
+
value: 'enterpriseBoardsCreateGroupPost',
|
|
470
|
+
action: 'Creates board user group assignments',
|
|
471
|
+
description: 'Shares a board with user groups with a specified role. Updates the role if already shared.',
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
name: 'Delete Board User Group Assignment',
|
|
475
|
+
value: 'enterpriseBoardsDeleteGroupsDelete',
|
|
476
|
+
action: 'Deletes board user group assignment',
|
|
477
|
+
description: 'Removes a user group from the specified board',
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
name: 'Get Board User Group Assignments',
|
|
481
|
+
value: 'enterpriseBoardsGetGroupsGet',
|
|
482
|
+
action: 'Gets board user group assignments',
|
|
483
|
+
description: 'Retrieves information about user groups invited to the specified board',
|
|
484
|
+
},
|
|
485
|
+
],
|
|
486
|
+
default: 'enterpriseBoardsCreateGroupPost',
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
displayName: 'Operation',
|
|
490
|
+
name: 'operation',
|
|
491
|
+
type: 'options',
|
|
492
|
+
noDataExpression: true,
|
|
493
|
+
displayOptions: { show: { resource: ['governanceAIInteractionLog'] } },
|
|
494
|
+
options: [
|
|
495
|
+
{
|
|
496
|
+
name: 'Get AI Interaction Logs',
|
|
497
|
+
value: 'enterpriseGetAiInteractionLogsGet',
|
|
498
|
+
action: 'Gets AI interaction logs',
|
|
499
|
+
description: 'Retrieves AI interaction logs for your organization. AI interaction logs capture user interactions with AI features in Miro. You can retrieve results for a specific time period.',
|
|
500
|
+
},
|
|
501
|
+
],
|
|
502
|
+
default: 'enterpriseGetAiInteractionLogsGet',
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
displayName: 'Operation',
|
|
506
|
+
name: 'operation',
|
|
507
|
+
type: 'options',
|
|
508
|
+
noDataExpression: true,
|
|
509
|
+
displayOptions: { show: { resource: ['governanceAuditLog'] } },
|
|
510
|
+
options: [
|
|
511
|
+
{
|
|
512
|
+
name: 'Get Audit Logs',
|
|
513
|
+
value: 'enterpriseGetAuditLogsGet',
|
|
514
|
+
action: 'Gets audit logs',
|
|
515
|
+
description: 'Retrieves a page of audit events from the last 90 days. If you want to retrieve data that is older than 90 days, you can use the CSV export feature.',
|
|
516
|
+
},
|
|
517
|
+
],
|
|
518
|
+
default: 'enterpriseGetAuditLogsGet',
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
displayName: 'Operation',
|
|
522
|
+
name: 'operation',
|
|
523
|
+
type: 'options',
|
|
524
|
+
noDataExpression: true,
|
|
525
|
+
displayOptions: { show: { resource: ['governanceBoardContentLog'] } },
|
|
526
|
+
options: [
|
|
527
|
+
{
|
|
528
|
+
name: 'Get Content Change Logs of Board Items',
|
|
529
|
+
value: 'enterpriseBoardContentItemLogsFetchGet',
|
|
530
|
+
action: 'Gets content change logs of board items',
|
|
531
|
+
description: 'Retrieves content changes for board items within your organization. Content changes are actions that users can perform on board items, such as updating a sticky note\'s text. You can retrieve results for a specific time period.',
|
|
532
|
+
},
|
|
533
|
+
],
|
|
534
|
+
default: 'enterpriseBoardContentItemLogsFetchGet',
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
displayName: 'Operation',
|
|
538
|
+
name: 'operation',
|
|
539
|
+
type: 'options',
|
|
540
|
+
noDataExpression: true,
|
|
541
|
+
displayOptions: { show: { resource: ['governanceBoardDataClassification'] } },
|
|
542
|
+
options: [
|
|
543
|
+
{
|
|
544
|
+
name: 'Get Board Classification',
|
|
545
|
+
value: 'enterpriseDataclassificationBoardGetGet',
|
|
546
|
+
action: 'Gets board classification',
|
|
547
|
+
description: 'Retrieves board classification for a board',
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
name: 'Update Board Classification',
|
|
551
|
+
value: 'enterpriseDataclassificationBoardSetPost',
|
|
552
|
+
action: 'Updates board classification',
|
|
553
|
+
description: 'Updates board classification for an existing board',
|
|
554
|
+
},
|
|
555
|
+
],
|
|
556
|
+
default: 'enterpriseDataclassificationBoardGetGet',
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
displayName: 'Operation',
|
|
560
|
+
name: 'operation',
|
|
561
|
+
type: 'options',
|
|
562
|
+
noDataExpression: true,
|
|
563
|
+
displayOptions: { show: { resource: ['governanceLegalHold'] } },
|
|
564
|
+
options: [
|
|
565
|
+
{
|
|
566
|
+
name: 'Close Case',
|
|
567
|
+
value: 'deleteCaseDelete',
|
|
568
|
+
action: 'Closes case',
|
|
569
|
+
description: 'Closing a case is the final stage in the eDiscovery process, marking the conclusion of a legal matter or investigation. You must ensure that all associated legal holds within the case are closed before closing the case.',
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
name: 'Close Legal Hold',
|
|
573
|
+
value: 'deleteLegalHoldDelete',
|
|
574
|
+
action: 'Closes legal hold',
|
|
575
|
+
description: 'Closing a legal hold is one of the final steps in the eDiscovery process once the litigation or investigation has concluded',
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
name: 'Create Case',
|
|
579
|
+
value: 'createCasePost',
|
|
580
|
+
action: 'Creates case',
|
|
581
|
+
description: 'Creating a case for legal hold is the first critical step in the eDiscovery process when litigation or an investigation is anticipated',
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
name: 'Create Legal Hold',
|
|
585
|
+
value: 'createLegalHoldPost',
|
|
586
|
+
action: 'Creates legal hold',
|
|
587
|
+
description: 'After creating a case it is possible to add one or multiple legal holds to the case',
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
name: 'Edit Case',
|
|
591
|
+
value: 'editCasePut',
|
|
592
|
+
action: 'Edits case',
|
|
593
|
+
description: 'Editing a case allows eDiscovery Admins to keep case details accurate and aligned with the evolving scope of a legal matter',
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
name: 'Edit Legal Hold',
|
|
597
|
+
value: 'editLegalHoldPut',
|
|
598
|
+
action: 'Edits legal hold',
|
|
599
|
+
description: 'Editing a legal hold allows eDiscovery Admins to adjust and refine ongoing legal preservation efforts as case requirements evolve',
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
name: 'Get All Cases',
|
|
603
|
+
value: 'getAllCasesGet',
|
|
604
|
+
action: 'Gets all cases',
|
|
605
|
+
description: 'Retrieves the list of eDiscovery cases in an organization',
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
name: 'Get All Legal Holds Within a Case',
|
|
609
|
+
value: 'getAllLegalHoldsGet',
|
|
610
|
+
action: 'Gets all legal holds within a case',
|
|
611
|
+
description: 'Retrieves the list of all legal holds within a case for an organization',
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
name: 'Get Board Export Jobs of a Case',
|
|
615
|
+
value: 'getLegalHoldExportJobsGet',
|
|
616
|
+
action: 'Gets board export jobs of a case',
|
|
617
|
+
description: 'Retrieves board export jobs for a case',
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
name: 'Get Case',
|
|
621
|
+
value: 'getCaseGet',
|
|
622
|
+
action: 'Gets case',
|
|
623
|
+
description: 'Retrieves information about a case in an organization',
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
name: 'Get Content Items Under Legal Hold',
|
|
627
|
+
value: 'getLegalHoldContentItemsGet',
|
|
628
|
+
action: 'Gets content items under legal hold',
|
|
629
|
+
description: 'Once a legal hold is in place you can review or explore the preserved Miro boards to ensure that all relevant data is intact and ready for legal proceedings or investigations',
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
name: 'Get Legal Hold Information',
|
|
633
|
+
value: 'getLegalHoldGet',
|
|
634
|
+
action: 'Gets legal hold information',
|
|
635
|
+
description: 'Retrieves information about a legal hold within a case for an organization',
|
|
636
|
+
},
|
|
637
|
+
],
|
|
638
|
+
default: 'deleteCaseDelete',
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
displayName: 'Operation',
|
|
642
|
+
name: 'operation',
|
|
643
|
+
type: 'options',
|
|
644
|
+
noDataExpression: true,
|
|
645
|
+
displayOptions: { show: { resource: ['governanceOrganizationDataClassification'] } },
|
|
646
|
+
options: [
|
|
647
|
+
{
|
|
648
|
+
name: 'Get Organization Settings',
|
|
649
|
+
value: 'enterpriseDataclassificationOrganizationSettingsGetGet',
|
|
650
|
+
action: 'Gets organization settings',
|
|
651
|
+
description: 'Retrieves board classification settings for an existing organization',
|
|
652
|
+
},
|
|
653
|
+
],
|
|
654
|
+
default: 'enterpriseDataclassificationOrganizationSettingsGetGet',
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
displayName: 'Operation',
|
|
658
|
+
name: 'operation',
|
|
659
|
+
type: 'options',
|
|
660
|
+
noDataExpression: true,
|
|
661
|
+
displayOptions: { show: { resource: ['governanceTeamDataClassification'] } },
|
|
662
|
+
options: [
|
|
663
|
+
{
|
|
664
|
+
name: 'Bulk Update Boards Classification',
|
|
665
|
+
value: 'enterpriseDataclassificationTeamBoardsBulkPatch',
|
|
666
|
+
action: 'Bulk updates boards classification',
|
|
667
|
+
description: 'Updates board classification for not-classified only or all boards in an existing team',
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
name: 'Get Team Classification Settings',
|
|
671
|
+
value: 'enterpriseDataclassificationTeamSettingsGetGet',
|
|
672
|
+
action: 'Gets team classification settings',
|
|
673
|
+
description: 'Retrieves board classification settings for an existing team',
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
name: 'Update Team Classification Settings',
|
|
677
|
+
value: 'enterpriseDataclassificationTeamSettingsSetPatch',
|
|
678
|
+
action: 'Updates team classification settings',
|
|
679
|
+
description: 'Updates board classification settings for an existing team',
|
|
680
|
+
},
|
|
681
|
+
],
|
|
682
|
+
default: 'enterpriseDataclassificationTeamBoardsBulkPatch',
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
displayName: 'Operation',
|
|
686
|
+
name: 'operation',
|
|
687
|
+
type: 'options',
|
|
688
|
+
noDataExpression: true,
|
|
689
|
+
displayOptions: { show: { resource: ['governanceUserSession'] } },
|
|
690
|
+
options: [
|
|
691
|
+
{
|
|
692
|
+
name: 'Reset All Sessions of a User',
|
|
693
|
+
value: 'enterprisePostUserSessionsResetPost',
|
|
694
|
+
action: 'Resets all sessions of a user',
|
|
695
|
+
description: 'Reset all sessions of a user. Admins can now take immediate action to restrict user access to company data in case of security concerns.',
|
|
696
|
+
},
|
|
697
|
+
],
|
|
698
|
+
default: 'enterprisePostUserSessionsResetPost',
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
displayName: 'Operation',
|
|
702
|
+
name: 'operation',
|
|
703
|
+
type: 'options',
|
|
704
|
+
noDataExpression: true,
|
|
705
|
+
displayOptions: { show: { resource: ['itemsAppCard'] } },
|
|
706
|
+
options: [
|
|
707
|
+
{
|
|
708
|
+
name: 'Create App Card Item',
|
|
709
|
+
value: 'createAppCardItemPost',
|
|
710
|
+
action: 'Creates app card item',
|
|
711
|
+
description: 'Adds an app card item to a board',
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
name: 'Delete App Card Item',
|
|
715
|
+
value: 'deleteAppCardItemDelete',
|
|
716
|
+
action: 'Deletes app card item',
|
|
717
|
+
description: 'Deletes an app card item from a board',
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
name: 'Get App Card Item',
|
|
721
|
+
value: 'getAppCardItemGet',
|
|
722
|
+
action: 'Gets app card item',
|
|
723
|
+
description: 'Retrieves information for a specific app card item on a board',
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
name: 'Update App Card Item',
|
|
727
|
+
value: 'updateAppCardItemPatch',
|
|
728
|
+
action: 'Updates app card item',
|
|
729
|
+
description: 'Updates an app card item on a board based on the data and style properties provided in the request body',
|
|
730
|
+
},
|
|
731
|
+
],
|
|
732
|
+
default: 'createAppCardItemPost',
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
displayName: 'Operation',
|
|
736
|
+
name: 'operation',
|
|
737
|
+
type: 'options',
|
|
738
|
+
noDataExpression: true,
|
|
739
|
+
displayOptions: { show: { resource: ['itemsCard'] } },
|
|
740
|
+
options: [
|
|
741
|
+
{
|
|
742
|
+
name: 'Create Card Item',
|
|
743
|
+
value: 'createCardItemPost',
|
|
744
|
+
action: 'Creates card item',
|
|
745
|
+
description: 'Adds a card item to a board',
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
name: 'Delete Card Item',
|
|
749
|
+
value: 'deleteCardItemDelete',
|
|
750
|
+
action: 'Deletes card item',
|
|
751
|
+
description: 'Deletes a card item from the board',
|
|
752
|
+
},
|
|
753
|
+
{
|
|
754
|
+
name: 'Get Card Item',
|
|
755
|
+
value: 'getCardItemGet',
|
|
756
|
+
action: 'Gets card item',
|
|
757
|
+
description: 'Retrieves information for a specific card item on a board',
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
name: 'Update Card Item',
|
|
761
|
+
value: 'updateCardItemPatch',
|
|
762
|
+
action: 'Updates card item',
|
|
763
|
+
description: 'Updates a card item on a board based on the data and style properties provided in the request body',
|
|
764
|
+
},
|
|
765
|
+
],
|
|
766
|
+
default: 'createCardItemPost',
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
displayName: 'Operation',
|
|
770
|
+
name: 'operation',
|
|
771
|
+
type: 'options',
|
|
772
|
+
noDataExpression: true,
|
|
773
|
+
displayOptions: { show: { resource: ['itemsCodeWidget'] } },
|
|
774
|
+
options: [
|
|
775
|
+
{
|
|
776
|
+
name: 'Create Code Widget Item',
|
|
777
|
+
value: 'createCodeWidgetItemPost',
|
|
778
|
+
action: 'Creates code widget item',
|
|
779
|
+
description: 'Adds a code widget item to a board (experimental Miro API, may change without notice)',
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
name: 'Delete Code Widget Item',
|
|
783
|
+
value: 'deleteCodeWidgetItemDelete',
|
|
784
|
+
action: 'Deletes code widget item',
|
|
785
|
+
description: 'Deletes a code widget item from the board (experimental Miro API, may change without notice)',
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
name: 'Get Code Widget Item',
|
|
789
|
+
value: 'getCodeWidgetItemGet',
|
|
790
|
+
action: 'Gets code widget item',
|
|
791
|
+
description: 'Retrieves information for a specific code widget item on a board (experimental Miro API, may change without notice)',
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
name: 'Get Code Widget Items',
|
|
795
|
+
value: 'getCodeWidgetItemsGet',
|
|
796
|
+
action: 'Gets code widget items',
|
|
797
|
+
description: 'Retrieves a list of code widget items for a specific board. This method returns results using a cursor-based approach (experimental Miro API, may change without notice).',
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
name: 'Move Code Widget Item',
|
|
801
|
+
value: 'moveCodeWidgetItemPatch',
|
|
802
|
+
action: 'Moves code widget item',
|
|
803
|
+
description: 'Updates the position of a code widget item on a board (experimental Miro API, may change without notice)',
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
name: 'Update Code Widget Item',
|
|
807
|
+
value: 'updateCodeWidgetItemPatch',
|
|
808
|
+
action: 'Updates code widget item',
|
|
809
|
+
description: 'Updates a code widget item on a board based on the data properties provided in the request body (experimental Miro API, may change without notice)',
|
|
810
|
+
},
|
|
811
|
+
],
|
|
812
|
+
default: 'createCodeWidgetItemPost',
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
displayName: 'Operation',
|
|
816
|
+
name: 'operation',
|
|
817
|
+
type: 'options',
|
|
818
|
+
noDataExpression: true,
|
|
819
|
+
displayOptions: { show: { resource: ['itemsConnector'] } },
|
|
820
|
+
options: [
|
|
821
|
+
{
|
|
822
|
+
name: 'Create Connector',
|
|
823
|
+
value: 'createConnectorPost',
|
|
824
|
+
action: 'Creates connector',
|
|
825
|
+
description: 'Adds a connector to a board',
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
name: 'Delete Connector',
|
|
829
|
+
value: 'deleteConnectorDelete',
|
|
830
|
+
action: 'Deletes connector',
|
|
831
|
+
description: 'Deletes the specified connector from the board',
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
name: 'Get Connectors',
|
|
835
|
+
value: 'getConnectorsGet',
|
|
836
|
+
action: 'Gets connectors',
|
|
837
|
+
description: 'Retrieves a list of connectors for a specific board. This method returns results using a cursor-based approach.',
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
name: 'Get Specific Connector',
|
|
841
|
+
value: 'getConnectorGet',
|
|
842
|
+
action: 'Gets specific connector',
|
|
843
|
+
description: 'Retrieves information for a specific connector on a board',
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
name: 'Update Connector',
|
|
847
|
+
value: 'updateConnectorPatch',
|
|
848
|
+
action: 'Updates connector',
|
|
849
|
+
description: 'Updates a connector on a board based on the data and style properties provided in the request body',
|
|
850
|
+
},
|
|
851
|
+
],
|
|
852
|
+
default: 'createConnectorPost',
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
displayName: 'Operation',
|
|
856
|
+
name: 'operation',
|
|
857
|
+
type: 'options',
|
|
858
|
+
noDataExpression: true,
|
|
859
|
+
displayOptions: { show: { resource: ['itemsDocFormat'] } },
|
|
860
|
+
options: [
|
|
861
|
+
{
|
|
862
|
+
name: 'Create Doc Format Item',
|
|
863
|
+
value: 'createDocFormatItemPost',
|
|
864
|
+
action: 'Creates doc format item',
|
|
865
|
+
description: 'Adds a doc format item to a board',
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
name: 'Delete Doc Format Item',
|
|
869
|
+
value: 'deleteDocFormatItemDelete',
|
|
870
|
+
action: 'Deletes doc format item',
|
|
871
|
+
description: 'Deletes a doc format item from the board',
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
name: 'Get Doc Format Item',
|
|
875
|
+
value: 'getDocFormatItemGet',
|
|
876
|
+
action: 'Gets doc format item',
|
|
877
|
+
description: 'Retrieves information for a specific doc format item on a board',
|
|
878
|
+
},
|
|
879
|
+
],
|
|
880
|
+
default: 'createDocFormatItemPost',
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
displayName: 'Operation',
|
|
884
|
+
name: 'operation',
|
|
885
|
+
type: 'options',
|
|
886
|
+
noDataExpression: true,
|
|
887
|
+
displayOptions: { show: { resource: ['itemsDocument'] } },
|
|
888
|
+
options: [
|
|
889
|
+
{
|
|
890
|
+
name: 'Create Document Item Using File From Device',
|
|
891
|
+
value: 'createDocumentItemUsingFileFromDevicePost',
|
|
892
|
+
action: 'Creates document item using file from device',
|
|
893
|
+
description: 'Adds a document item to a board by selecting file from device',
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
name: 'Create Document Item Using URL',
|
|
897
|
+
value: 'createDocumentItemUsingUrlPost',
|
|
898
|
+
action: 'Creates document item using URL',
|
|
899
|
+
description: 'Adds a document item to a board by specifying the URL where the document is hosted',
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
name: 'Delete Document Item',
|
|
903
|
+
value: 'deleteDocumentItemDelete',
|
|
904
|
+
action: 'Deletes document item',
|
|
905
|
+
description: 'Deletes a document item from the board',
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
name: 'Get Document Item',
|
|
909
|
+
value: 'getDocumentItemGet',
|
|
910
|
+
action: 'Gets document item',
|
|
911
|
+
description: 'Retrieves information for a specific document item on a board',
|
|
912
|
+
},
|
|
913
|
+
{
|
|
914
|
+
name: 'Update Document Item Using File From Device',
|
|
915
|
+
value: 'updateDocumentItemUsingFileFromDevicePatch',
|
|
916
|
+
action: 'Updates document item using file from device',
|
|
917
|
+
description: 'Updates a document item on a board by using file from a device',
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
name: 'Update Document Item Using URL',
|
|
921
|
+
value: 'updateDocumentItemUsingUrlPatch',
|
|
922
|
+
action: 'Updates document item using URL',
|
|
923
|
+
description: 'Updates a document item on a board',
|
|
924
|
+
},
|
|
925
|
+
],
|
|
926
|
+
default: 'createDocumentItemUsingFileFromDevicePost',
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
displayName: 'Operation',
|
|
930
|
+
name: 'operation',
|
|
931
|
+
type: 'options',
|
|
932
|
+
noDataExpression: true,
|
|
933
|
+
displayOptions: { show: { resource: ['itemsEmbed'] } },
|
|
934
|
+
options: [
|
|
935
|
+
{
|
|
936
|
+
name: 'Create Embed Item',
|
|
937
|
+
value: 'createEmbedItemPost',
|
|
938
|
+
action: 'Creates embed item',
|
|
939
|
+
description: 'Adds an embed item containing external content to a board',
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
name: 'Delete Embed Item',
|
|
943
|
+
value: 'deleteEmbedItemDelete',
|
|
944
|
+
action: 'Deletes embed item',
|
|
945
|
+
description: 'Deletes an embed item from the board',
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
name: 'Get Embed Item',
|
|
949
|
+
value: 'getEmbedItemGet',
|
|
950
|
+
action: 'Gets embed item',
|
|
951
|
+
description: 'Retrieves information for a specific embed item on a board',
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
name: 'Update Embed Item',
|
|
955
|
+
value: 'updateEmbedItemPatch',
|
|
956
|
+
action: 'Updates embed item',
|
|
957
|
+
description: 'Updates an embed item on a board based on the data properties provided in the request body',
|
|
958
|
+
},
|
|
959
|
+
],
|
|
960
|
+
default: 'createEmbedItemPost',
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
displayName: 'Operation',
|
|
964
|
+
name: 'operation',
|
|
965
|
+
type: 'options',
|
|
966
|
+
noDataExpression: true,
|
|
967
|
+
displayOptions: { show: { resource: ['itemsFlowchartShape'] } },
|
|
968
|
+
options: [
|
|
969
|
+
{
|
|
970
|
+
name: 'Create Flowchart Shape Item',
|
|
971
|
+
value: 'createShapeItemFlowchartPost',
|
|
972
|
+
action: 'Creates flowchart shape item',
|
|
973
|
+
description: 'Adds a flowchart shape item to a board (experimental Miro API, may change without notice)',
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
name: 'Delete Flowchart Shape Item',
|
|
977
|
+
value: 'deleteShapeItemFlowchartDelete',
|
|
978
|
+
action: 'Deletes flowchart shape item',
|
|
979
|
+
description: 'Deletes a flowchart shape item from the board (experimental Miro API, may change without notice)',
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
name: 'Get Flowchart Shape Item',
|
|
983
|
+
value: 'getShapeItemFlowchartGet',
|
|
984
|
+
action: 'Gets flowchart shape item',
|
|
985
|
+
description: 'Retrieves information for a specific shape item on a board (experimental Miro API, may change without notice)',
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
name: 'Update Flowchart Shape Item',
|
|
989
|
+
value: 'updateShapeItemFlowchartPatch',
|
|
990
|
+
action: 'Updates flowchart shape item',
|
|
991
|
+
description: 'Updates a flowchart shape item on a board based on the data and style properties provided in the request body (experimental Miro API, may change without notice)',
|
|
992
|
+
},
|
|
993
|
+
],
|
|
994
|
+
default: 'createShapeItemFlowchartPost',
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
displayName: 'Operation',
|
|
998
|
+
name: 'operation',
|
|
999
|
+
type: 'options',
|
|
1000
|
+
noDataExpression: true,
|
|
1001
|
+
displayOptions: { show: { resource: ['itemsFrame'] } },
|
|
1002
|
+
options: [
|
|
1003
|
+
{
|
|
1004
|
+
name: 'Create Frame',
|
|
1005
|
+
value: 'createFrameItemPost',
|
|
1006
|
+
action: 'Creates frame',
|
|
1007
|
+
description: 'Adds a frame to a board',
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
name: 'Delete Frame',
|
|
1011
|
+
value: 'deleteFrameItemDelete',
|
|
1012
|
+
action: 'Deletes frame',
|
|
1013
|
+
description: 'Deletes a frame from a board',
|
|
1014
|
+
},
|
|
1015
|
+
{
|
|
1016
|
+
name: 'Get Frame',
|
|
1017
|
+
value: 'getFrameItemGet',
|
|
1018
|
+
action: 'Gets frame',
|
|
1019
|
+
description: 'Retrieves information for a specific frame on a board',
|
|
1020
|
+
},
|
|
1021
|
+
{
|
|
1022
|
+
name: 'Get Items Within Frame',
|
|
1023
|
+
value: 'getItemsWithinFrameGet',
|
|
1024
|
+
action: 'Gets items within frame',
|
|
1025
|
+
description: 'Retrieves a list of items within a specific frame. A frame is a parent item and all items within a frame are child items. This method returns results using a cursor-based approach.',
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
name: 'Update Frame',
|
|
1029
|
+
value: 'updateFrameItemPatch',
|
|
1030
|
+
action: 'Updates frame',
|
|
1031
|
+
description: 'Updates a frame on a board based on the data, style, or geometry properties provided in the request body',
|
|
1032
|
+
},
|
|
1033
|
+
],
|
|
1034
|
+
default: 'createFrameItemPost',
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
displayName: 'Operation',
|
|
1038
|
+
name: 'operation',
|
|
1039
|
+
type: 'options',
|
|
1040
|
+
noDataExpression: true,
|
|
1041
|
+
displayOptions: { show: { resource: ['itemsGroup'] } },
|
|
1042
|
+
options: [
|
|
1043
|
+
{
|
|
1044
|
+
name: 'Create Group',
|
|
1045
|
+
value: 'createGroupPost',
|
|
1046
|
+
action: 'Creates group',
|
|
1047
|
+
description: 'Creates a group of items on a board. The group is created with the items that are passed in the request body.',
|
|
1048
|
+
},
|
|
1049
|
+
{
|
|
1050
|
+
name: 'Delete Group and Its Items',
|
|
1051
|
+
value: 'deleteGroupDelete',
|
|
1052
|
+
action: 'Deletes group and its items',
|
|
1053
|
+
description: 'Deletes a group from a board. All the items in the group are deleted along with the group. Note - this endpoint will delete items which are locked as well.',
|
|
1054
|
+
},
|
|
1055
|
+
{
|
|
1056
|
+
name: 'Get a Group by Its ID',
|
|
1057
|
+
value: 'getGroupByIdGet',
|
|
1058
|
+
action: 'Gets a group by its ID',
|
|
1059
|
+
description: 'Returns a list of items in a specific group',
|
|
1060
|
+
},
|
|
1061
|
+
{
|
|
1062
|
+
name: 'Get All Groups on a Board',
|
|
1063
|
+
value: 'getAllGroupsGet',
|
|
1064
|
+
action: 'Gets all groups on a board',
|
|
1065
|
+
description: 'Returns all the groups and the items of the respective groups within a specific board',
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
name: 'Get Items of a Group by ID',
|
|
1069
|
+
value: 'getItemsByGroupIdGet',
|
|
1070
|
+
action: 'Gets items of a group by ID',
|
|
1071
|
+
description: 'Returns a list of items that are a part of any group, within a specific board',
|
|
1072
|
+
},
|
|
1073
|
+
{
|
|
1074
|
+
name: 'Ungroup Items',
|
|
1075
|
+
value: 'unGroupDelete',
|
|
1076
|
+
action: 'Ungroups items',
|
|
1077
|
+
description: 'Ungroups items from a group',
|
|
1078
|
+
},
|
|
1079
|
+
{
|
|
1080
|
+
name: 'Update Group with New Items',
|
|
1081
|
+
value: 'updateGroupPut',
|
|
1082
|
+
action: 'Updates group with new items',
|
|
1083
|
+
description: 'This endpoint updates an existing group by replacing it entirely with a new group. When the update is made, the original group is completely replaced, and a new group ID is assigned.',
|
|
1084
|
+
},
|
|
1085
|
+
],
|
|
1086
|
+
default: 'createGroupPost',
|
|
1087
|
+
},
|
|
1088
|
+
{
|
|
1089
|
+
displayName: 'Operation',
|
|
1090
|
+
name: 'operation',
|
|
1091
|
+
type: 'options',
|
|
1092
|
+
noDataExpression: true,
|
|
1093
|
+
displayOptions: { show: { resource: ['itemsImage'] } },
|
|
1094
|
+
options: [
|
|
1095
|
+
{
|
|
1096
|
+
name: 'Create Image Item Using File From Device',
|
|
1097
|
+
value: 'createImageItemUsingLocalFilePost',
|
|
1098
|
+
action: 'Creates image item using file from device',
|
|
1099
|
+
description: 'Adds an image item to a board by specifying a file from device',
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
name: 'Create Image Item Using URL',
|
|
1103
|
+
value: 'createImageItemUsingUrlPost',
|
|
1104
|
+
action: 'Creates image item using URL',
|
|
1105
|
+
description: 'Adds an image item to a board by specifying an image URL',
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
name: 'Delete Image Item',
|
|
1109
|
+
value: 'deleteImageItemDelete',
|
|
1110
|
+
action: 'Deletes image item',
|
|
1111
|
+
description: 'Deletes an image item from the board',
|
|
1112
|
+
},
|
|
1113
|
+
{
|
|
1114
|
+
name: 'Get Image Item',
|
|
1115
|
+
value: 'getImageItemGet',
|
|
1116
|
+
action: 'Gets image item',
|
|
1117
|
+
description: 'Retrieves information for a specific image item on a board',
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
name: 'Update Image Item Using File From Device',
|
|
1121
|
+
value: 'updateImageItemUsingFileFromDevicePatch',
|
|
1122
|
+
action: 'Updates image item using file from device',
|
|
1123
|
+
description: 'Updates an image item on a board',
|
|
1124
|
+
},
|
|
1125
|
+
{
|
|
1126
|
+
name: 'Update Image Item Using URL',
|
|
1127
|
+
value: 'updateImageItemUsingUrlPatch',
|
|
1128
|
+
action: 'Updates image item using URL',
|
|
1129
|
+
description: 'Updates an image item on a board',
|
|
1130
|
+
},
|
|
1131
|
+
],
|
|
1132
|
+
default: 'createImageItemUsingLocalFilePost',
|
|
1133
|
+
},
|
|
1134
|
+
{
|
|
1135
|
+
displayName: 'Operation',
|
|
1136
|
+
name: 'operation',
|
|
1137
|
+
type: 'options',
|
|
1138
|
+
noDataExpression: true,
|
|
1139
|
+
displayOptions: { show: { resource: ['itemsItem'] } },
|
|
1140
|
+
options: [
|
|
1141
|
+
{
|
|
1142
|
+
name: 'Create Items in Bulk',
|
|
1143
|
+
value: 'createItemsPost',
|
|
1144
|
+
action: 'Creates items in bulk',
|
|
1145
|
+
description: 'Adds different types of items to a board. You can add up to 20 items of the same or different type per create call. For example, you can create 3 shape items, 4 card items, and 5 sticky notes in one create call.',
|
|
1146
|
+
},
|
|
1147
|
+
{
|
|
1148
|
+
name: 'Create Items in Bulk Using File From Device',
|
|
1149
|
+
value: 'createItemsInBulkUsingFileFromDevicePost',
|
|
1150
|
+
action: 'Creates items in bulk using file from device',
|
|
1151
|
+
description: 'Adds different types of items to a board using files from a device. You can add up to 20 items of the same or different type per create call. For example, you can create 5 document items and 5 images in one create call.',
|
|
1152
|
+
},
|
|
1153
|
+
{
|
|
1154
|
+
name: 'Delete Experimental Item',
|
|
1155
|
+
value: 'deleteItemExperimentalDelete',
|
|
1156
|
+
action: 'Deletes experimental item',
|
|
1157
|
+
description: 'Deletes an item from a board (experimental Miro API, may change without notice)',
|
|
1158
|
+
},
|
|
1159
|
+
{
|
|
1160
|
+
name: 'Delete Item',
|
|
1161
|
+
value: 'deleteItemDelete',
|
|
1162
|
+
action: 'Deletes item',
|
|
1163
|
+
description: 'Deletes an item from a board',
|
|
1164
|
+
},
|
|
1165
|
+
{
|
|
1166
|
+
name: 'Get Experimental Items on Board',
|
|
1167
|
+
value: 'getItemsExperimentalGet',
|
|
1168
|
+
action: 'Gets experimental items on board',
|
|
1169
|
+
description: 'Retrieves a list of items for a specific board. You can retrieve all items on the board, a list of child items inside a parent item, or a list of specific types of items by specifying URL query parameter values (experimental Miro API, may change without notice).',
|
|
1170
|
+
},
|
|
1171
|
+
{
|
|
1172
|
+
name: 'Get Items on Board',
|
|
1173
|
+
value: 'getItemsGet',
|
|
1174
|
+
action: 'Gets items on board',
|
|
1175
|
+
description: 'Retrieves a list of items for a specific board. You can retrieve all items on the board, a list of child items inside a parent item, or a list of specific types of items by specifying URL query parameter values.',
|
|
1176
|
+
},
|
|
1177
|
+
{
|
|
1178
|
+
name: 'Get Specific Experimental Item on Board',
|
|
1179
|
+
value: 'getSpecificItemExperimentalGet',
|
|
1180
|
+
action: 'Gets specific experimental item on board',
|
|
1181
|
+
description: 'Retrieves information for a specific item on a board (experimental Miro API, may change without notice)',
|
|
1182
|
+
},
|
|
1183
|
+
{
|
|
1184
|
+
name: 'Get Specific Item on Board',
|
|
1185
|
+
value: 'getSpecificItemGet',
|
|
1186
|
+
action: 'Gets specific item on board',
|
|
1187
|
+
description: 'Retrieves information for a specific item on a board',
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
name: 'Update Item Position or Parent',
|
|
1191
|
+
value: 'updateItemPositionOrParentPatch',
|
|
1192
|
+
action: 'Updates item position or parent',
|
|
1193
|
+
description: 'Updates the position or the parent of an item on a board',
|
|
1194
|
+
},
|
|
1195
|
+
],
|
|
1196
|
+
default: 'createItemsPost',
|
|
1197
|
+
},
|
|
1198
|
+
{
|
|
1199
|
+
displayName: 'Operation',
|
|
1200
|
+
name: 'operation',
|
|
1201
|
+
type: 'options',
|
|
1202
|
+
noDataExpression: true,
|
|
1203
|
+
displayOptions: { show: { resource: ['itemsMindMapNode'] } },
|
|
1204
|
+
options: [
|
|
1205
|
+
{
|
|
1206
|
+
name: 'Create Mind Map Node',
|
|
1207
|
+
value: 'createMindmapNodesExperimentalPost',
|
|
1208
|
+
action: 'Creates mind map node',
|
|
1209
|
+
description: 'Adds a mind map node to a board. A root node is the starting point of a mind map. A node that is created under a root node is a child node. For information on mind maps, use cases, mind map structure, and more, see the Mind Map Overview page (experimental Miro API, may change without notice).',
|
|
1210
|
+
},
|
|
1211
|
+
{
|
|
1212
|
+
name: 'Delete Mind Map Node',
|
|
1213
|
+
value: 'deleteMindmapNodeExperimentalDelete',
|
|
1214
|
+
action: 'Deletes mind map node',
|
|
1215
|
+
description: 'Deletes a mind map node item and its child nodes from the board (experimental Miro API, may change without notice)',
|
|
1216
|
+
},
|
|
1217
|
+
{
|
|
1218
|
+
name: 'Get Mind Map Nodes',
|
|
1219
|
+
value: 'getMindmapNodesExperimentalGet',
|
|
1220
|
+
action: 'Gets mind map nodes',
|
|
1221
|
+
description: 'Retrieves a list of mind map nodes for a specific board. This method returns results using a cursor-based approach (experimental Miro API, may change without notice).',
|
|
1222
|
+
},
|
|
1223
|
+
{
|
|
1224
|
+
name: 'Get Specific Mind Map Node',
|
|
1225
|
+
value: 'getMindmapNodeExperimentalGet',
|
|
1226
|
+
action: 'Gets specific mind map node',
|
|
1227
|
+
description: 'Retrieves information for a specific mind map node on a board (experimental Miro API, may change without notice)',
|
|
1228
|
+
},
|
|
1229
|
+
],
|
|
1230
|
+
default: 'createMindmapNodesExperimentalPost',
|
|
1231
|
+
},
|
|
1232
|
+
{
|
|
1233
|
+
displayName: 'Operation',
|
|
1234
|
+
name: 'operation',
|
|
1235
|
+
type: 'options',
|
|
1236
|
+
noDataExpression: true,
|
|
1237
|
+
displayOptions: { show: { resource: ['itemsShape'] } },
|
|
1238
|
+
options: [
|
|
1239
|
+
{
|
|
1240
|
+
name: 'Create Shape Item',
|
|
1241
|
+
value: 'createShapeItemPost',
|
|
1242
|
+
action: 'Creates shape item',
|
|
1243
|
+
description: 'Adds a shape item to a board',
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
name: 'Delete Shape Item',
|
|
1247
|
+
value: 'deleteShapeItemDelete',
|
|
1248
|
+
action: 'Deletes shape item',
|
|
1249
|
+
description: 'Deletes a shape item from the board',
|
|
1250
|
+
},
|
|
1251
|
+
{
|
|
1252
|
+
name: 'Get Shape Item',
|
|
1253
|
+
value: 'getShapeItemGet',
|
|
1254
|
+
action: 'Gets shape item',
|
|
1255
|
+
description: 'Retrieves information for a specific shape item on a board',
|
|
1256
|
+
},
|
|
1257
|
+
{
|
|
1258
|
+
name: 'Update Shape Item',
|
|
1259
|
+
value: 'updateShapeItemPatch',
|
|
1260
|
+
action: 'Updates shape item',
|
|
1261
|
+
description: 'Updates a shape item on a board based on the data and style properties provided in the request body',
|
|
1262
|
+
},
|
|
1263
|
+
],
|
|
1264
|
+
default: 'createShapeItemPost',
|
|
1265
|
+
},
|
|
1266
|
+
{
|
|
1267
|
+
displayName: 'Operation',
|
|
1268
|
+
name: 'operation',
|
|
1269
|
+
type: 'options',
|
|
1270
|
+
noDataExpression: true,
|
|
1271
|
+
displayOptions: { show: { resource: ['itemsStickyNote'] } },
|
|
1272
|
+
options: [
|
|
1273
|
+
{
|
|
1274
|
+
name: 'Create Sticky Note Item',
|
|
1275
|
+
value: 'createStickyNoteItemPost',
|
|
1276
|
+
action: 'Creates sticky note item',
|
|
1277
|
+
description: 'Adds a sticky note item to a board',
|
|
1278
|
+
},
|
|
1279
|
+
{
|
|
1280
|
+
name: 'Delete Sticky Note Item',
|
|
1281
|
+
value: 'deleteStickyNoteItemDelete',
|
|
1282
|
+
action: 'Deletes sticky note item',
|
|
1283
|
+
description: 'Deletes a sticky note item from the board',
|
|
1284
|
+
},
|
|
1285
|
+
{
|
|
1286
|
+
name: 'Get Sticky Note Item',
|
|
1287
|
+
value: 'getStickyNoteItemGet',
|
|
1288
|
+
action: 'Gets sticky note item',
|
|
1289
|
+
description: 'Retrieves information for a specific sticky note item on a board',
|
|
1290
|
+
},
|
|
1291
|
+
{
|
|
1292
|
+
name: 'Update Sticky Note Item',
|
|
1293
|
+
value: 'updateStickyNoteItemPatch',
|
|
1294
|
+
action: 'Updates sticky note item',
|
|
1295
|
+
description: 'Updates a sticky note item on a board based on the data and style properties provided in the request body',
|
|
1296
|
+
},
|
|
1297
|
+
],
|
|
1298
|
+
default: 'createStickyNoteItemPost',
|
|
1299
|
+
},
|
|
1300
|
+
{
|
|
1301
|
+
displayName: 'Operation',
|
|
1302
|
+
name: 'operation',
|
|
1303
|
+
type: 'options',
|
|
1304
|
+
noDataExpression: true,
|
|
1305
|
+
displayOptions: { show: { resource: ['itemsTag'] } },
|
|
1306
|
+
options: [
|
|
1307
|
+
{
|
|
1308
|
+
name: 'Attach Tag to Item',
|
|
1309
|
+
value: 'attachTagToItemPost',
|
|
1310
|
+
action: 'Attaches tag to item',
|
|
1311
|
+
description: 'Attach an existing tag to the specified item. Card and sticky note items can have up to 8 tags.',
|
|
1312
|
+
},
|
|
1313
|
+
{
|
|
1314
|
+
name: 'Create Tag',
|
|
1315
|
+
value: 'createTagPost',
|
|
1316
|
+
action: 'Creates tag',
|
|
1317
|
+
description: 'Creates a tag on a board',
|
|
1318
|
+
},
|
|
1319
|
+
{
|
|
1320
|
+
name: 'Delete Tag',
|
|
1321
|
+
value: 'deleteTagDelete',
|
|
1322
|
+
action: 'Deletes tag',
|
|
1323
|
+
description: 'Deletes the specified tag from the board. The tag is also removed from all cards and sticky notes on the board.',
|
|
1324
|
+
},
|
|
1325
|
+
{
|
|
1326
|
+
name: 'Get Items by Tag',
|
|
1327
|
+
value: 'getItemsByTagGet',
|
|
1328
|
+
action: 'Gets items by tag',
|
|
1329
|
+
description: 'Retrieves all the items that have the specified tag',
|
|
1330
|
+
},
|
|
1331
|
+
{
|
|
1332
|
+
name: 'Get Tag',
|
|
1333
|
+
value: 'getTagGet',
|
|
1334
|
+
action: 'Gets tag',
|
|
1335
|
+
description: 'Retrieves information for a specific tag',
|
|
1336
|
+
},
|
|
1337
|
+
{
|
|
1338
|
+
name: 'Get Tags From Board',
|
|
1339
|
+
value: 'getTagsFromBoardGet',
|
|
1340
|
+
action: 'Gets tags from board',
|
|
1341
|
+
description: 'Retrieves all the tags from the specified board',
|
|
1342
|
+
},
|
|
1343
|
+
{
|
|
1344
|
+
name: 'Get Tags From Item',
|
|
1345
|
+
value: 'getTagsFromItemGet',
|
|
1346
|
+
action: 'Gets tags from item',
|
|
1347
|
+
description: 'Retrieves all the tags from the specified item',
|
|
1348
|
+
},
|
|
1349
|
+
{
|
|
1350
|
+
name: 'Remove Tag From Item',
|
|
1351
|
+
value: 'removeTagFromItemDelete',
|
|
1352
|
+
action: 'Removes tag from item',
|
|
1353
|
+
description: 'Removes the specified tag from the specified item. The tag still exists on the board.',
|
|
1354
|
+
},
|
|
1355
|
+
{
|
|
1356
|
+
name: 'Update Tag',
|
|
1357
|
+
value: 'updateTagPatch',
|
|
1358
|
+
action: 'Updates tag',
|
|
1359
|
+
description: 'Updates a tag based on the data properties provided in the request body',
|
|
1360
|
+
},
|
|
1361
|
+
],
|
|
1362
|
+
default: 'attachTagToItemPost',
|
|
1363
|
+
},
|
|
1364
|
+
{
|
|
1365
|
+
displayName: 'Operation',
|
|
1366
|
+
name: 'operation',
|
|
1367
|
+
type: 'options',
|
|
1368
|
+
noDataExpression: true,
|
|
1369
|
+
displayOptions: { show: { resource: ['itemsText'] } },
|
|
1370
|
+
options: [
|
|
1371
|
+
{
|
|
1372
|
+
name: 'Create Text Item',
|
|
1373
|
+
value: 'createTextItemPost',
|
|
1374
|
+
action: 'Creates text item',
|
|
1375
|
+
description: 'Adds a text item to a board',
|
|
1376
|
+
},
|
|
1377
|
+
{
|
|
1378
|
+
name: 'Delete Text Item',
|
|
1379
|
+
value: 'deleteTextItemDelete',
|
|
1380
|
+
action: 'Deletes text item',
|
|
1381
|
+
description: 'Deletes a text item from the board',
|
|
1382
|
+
},
|
|
1383
|
+
{
|
|
1384
|
+
name: 'Get Text Item',
|
|
1385
|
+
value: 'getTextItemGet',
|
|
1386
|
+
action: 'Gets text item',
|
|
1387
|
+
description: 'Retrieves information for a specific text item on a board',
|
|
1388
|
+
},
|
|
1389
|
+
{
|
|
1390
|
+
name: 'Update Text Item',
|
|
1391
|
+
value: 'updateTextItemPatch',
|
|
1392
|
+
action: 'Updates text item',
|
|
1393
|
+
description: 'Updates a text item on a board based on the data and style properties provided in the request body',
|
|
1394
|
+
},
|
|
1395
|
+
],
|
|
1396
|
+
default: 'createTextItemPost',
|
|
1397
|
+
},
|
|
1398
|
+
{
|
|
1399
|
+
displayName: 'Operation',
|
|
1400
|
+
name: 'operation',
|
|
1401
|
+
type: 'options',
|
|
1402
|
+
noDataExpression: true,
|
|
1403
|
+
displayOptions: { show: { resource: ['organizationMember'] } },
|
|
1404
|
+
options: [
|
|
1405
|
+
{
|
|
1406
|
+
name: 'Get Organization Member',
|
|
1407
|
+
value: 'enterpriseGetOrganizationMemberGet',
|
|
1408
|
+
action: 'Gets organization member',
|
|
1409
|
+
description: 'Retrieves organization member information for an existing organization',
|
|
1410
|
+
},
|
|
1411
|
+
{
|
|
1412
|
+
name: 'Get Organization Members',
|
|
1413
|
+
value: 'enterpriseGetOrganizationMembersGet',
|
|
1414
|
+
action: 'Gets organization members',
|
|
1415
|
+
description: 'Retrieves organization members based on the organization ID and the cursor, or based on the user emails provided in the request',
|
|
1416
|
+
},
|
|
1417
|
+
],
|
|
1418
|
+
default: 'enterpriseGetOrganizationMemberGet',
|
|
1419
|
+
},
|
|
1420
|
+
{
|
|
1421
|
+
displayName: 'Operation',
|
|
1422
|
+
name: 'operation',
|
|
1423
|
+
type: 'options',
|
|
1424
|
+
noDataExpression: true,
|
|
1425
|
+
displayOptions: { show: { resource: ['organizationOrganization'] } },
|
|
1426
|
+
options: [
|
|
1427
|
+
{
|
|
1428
|
+
name: 'Get Organization Info',
|
|
1429
|
+
value: 'enterpriseGetOrganizationGet',
|
|
1430
|
+
action: 'Gets organization info',
|
|
1431
|
+
description: 'Retrieves organization information',
|
|
1432
|
+
},
|
|
1433
|
+
],
|
|
1434
|
+
default: 'enterpriseGetOrganizationGet',
|
|
1435
|
+
},
|
|
1436
|
+
{
|
|
1437
|
+
displayName: 'Operation',
|
|
1438
|
+
name: 'operation',
|
|
1439
|
+
type: 'options',
|
|
1440
|
+
noDataExpression: true,
|
|
1441
|
+
displayOptions: { show: { resource: ['organizationProject'] } },
|
|
1442
|
+
options: [
|
|
1443
|
+
{
|
|
1444
|
+
name: 'Create Project',
|
|
1445
|
+
value: 'enterpriseCreateProjectPost',
|
|
1446
|
+
action: 'Creates project',
|
|
1447
|
+
description: 'Projects are essentially folders of boards with the option to manage user access for a smaller group of people within a team. Projects are here to help you organize your boards and make them easier to find and share.',
|
|
1448
|
+
},
|
|
1449
|
+
{
|
|
1450
|
+
name: 'Delete Project',
|
|
1451
|
+
value: 'enterpriseDeleteProjectDelete',
|
|
1452
|
+
action: 'Deletes project',
|
|
1453
|
+
description: 'Deletes a project. After a project is deleted, all boards and users that belong to the project remain in the team.',
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
name: 'Get Project',
|
|
1457
|
+
value: 'enterpriseGetProjectGet',
|
|
1458
|
+
action: 'Gets project',
|
|
1459
|
+
description: 'Retrieves project information, such as a name for an existing project',
|
|
1460
|
+
},
|
|
1461
|
+
{
|
|
1462
|
+
name: 'Get Projects',
|
|
1463
|
+
value: 'enterpriseGetProjectsGet',
|
|
1464
|
+
action: 'Gets projects',
|
|
1465
|
+
description: 'Retrieves the list of projects in an existing team of an organization. You can retrieve all projects, including all private projects (projects that haven\'t been specifically shared with you) by enabling Content Admin permissions.',
|
|
1466
|
+
},
|
|
1467
|
+
{
|
|
1468
|
+
name: 'Update Project',
|
|
1469
|
+
value: 'enterpriseUpdateProjectPatch',
|
|
1470
|
+
action: 'Updates project',
|
|
1471
|
+
description: 'Update information about a project, such as the project name',
|
|
1472
|
+
},
|
|
1473
|
+
],
|
|
1474
|
+
default: 'enterpriseCreateProjectPost',
|
|
1475
|
+
},
|
|
1476
|
+
{
|
|
1477
|
+
displayName: 'Operation',
|
|
1478
|
+
name: 'operation',
|
|
1479
|
+
type: 'options',
|
|
1480
|
+
noDataExpression: true,
|
|
1481
|
+
displayOptions: { show: { resource: ['organizationProjectMember'] } },
|
|
1482
|
+
options: [
|
|
1483
|
+
{
|
|
1484
|
+
name: 'Add Member in a Project',
|
|
1485
|
+
value: 'enterpriseAddProjectMemberPost',
|
|
1486
|
+
action: 'Adds member in a project',
|
|
1487
|
+
description: 'Add a Miro user to a project',
|
|
1488
|
+
},
|
|
1489
|
+
{
|
|
1490
|
+
name: 'Get Project Member',
|
|
1491
|
+
value: 'enterpriseGetProjectMemberGet',
|
|
1492
|
+
action: 'Gets project member',
|
|
1493
|
+
description: 'Retrieves information for a specific project member',
|
|
1494
|
+
},
|
|
1495
|
+
{
|
|
1496
|
+
name: 'Get Project Members',
|
|
1497
|
+
value: 'enterpriseGetProjectMembersGet',
|
|
1498
|
+
action: 'Gets project members',
|
|
1499
|
+
description: 'Retrieves the list of members for a specific project',
|
|
1500
|
+
},
|
|
1501
|
+
{
|
|
1502
|
+
name: 'Remove Project Member',
|
|
1503
|
+
value: 'enterpriseDeleteProjectMemberDelete',
|
|
1504
|
+
action: 'Removes project member',
|
|
1505
|
+
description: 'Remove a member from a project. The user remains in the team even after the member is removed from a project.',
|
|
1506
|
+
},
|
|
1507
|
+
{
|
|
1508
|
+
name: 'Update Project Member',
|
|
1509
|
+
value: 'enterpriseUpdateProjectMemberPatch',
|
|
1510
|
+
action: 'Updates project member',
|
|
1511
|
+
description: 'Updates details of a project member, such as the member\'s role',
|
|
1512
|
+
},
|
|
1513
|
+
],
|
|
1514
|
+
default: 'enterpriseAddProjectMemberPost',
|
|
1515
|
+
},
|
|
1516
|
+
{
|
|
1517
|
+
displayName: 'Operation',
|
|
1518
|
+
name: 'operation',
|
|
1519
|
+
type: 'options',
|
|
1520
|
+
noDataExpression: true,
|
|
1521
|
+
displayOptions: { show: { resource: ['organizationProjectSetting'] } },
|
|
1522
|
+
options: [
|
|
1523
|
+
{
|
|
1524
|
+
name: 'Get Project Settings',
|
|
1525
|
+
value: 'enterpriseGetProjectSettingsGet',
|
|
1526
|
+
action: 'Gets project settings',
|
|
1527
|
+
description: 'Retrieves the project settings',
|
|
1528
|
+
},
|
|
1529
|
+
{
|
|
1530
|
+
name: 'Update Project Settings',
|
|
1531
|
+
value: 'enterpriseUpdateProjectSettingsPatch',
|
|
1532
|
+
action: 'Updates project settings',
|
|
1533
|
+
description: 'Updates the settings of a project',
|
|
1534
|
+
},
|
|
1535
|
+
],
|
|
1536
|
+
default: 'enterpriseGetProjectSettingsGet',
|
|
1537
|
+
},
|
|
1538
|
+
{
|
|
1539
|
+
displayName: 'Operation',
|
|
1540
|
+
name: 'operation',
|
|
1541
|
+
type: 'options',
|
|
1542
|
+
noDataExpression: true,
|
|
1543
|
+
displayOptions: { show: { resource: ['organizationProjectUserGroupAssignment'] } },
|
|
1544
|
+
options: [
|
|
1545
|
+
{
|
|
1546
|
+
name: 'Create Project User Group Assignments',
|
|
1547
|
+
value: 'enterpriseProjectCreateGroupPost',
|
|
1548
|
+
action: 'Creates project user group assignments',
|
|
1549
|
+
description: 'Shares a project with user groups with a specified role. Updates the role if already shared.',
|
|
1550
|
+
},
|
|
1551
|
+
{
|
|
1552
|
+
name: 'Delete Project User Group Assignment',
|
|
1553
|
+
value: 'enterpriseProjectDeleteGroupsDelete',
|
|
1554
|
+
action: 'Deletes project user group assignment',
|
|
1555
|
+
description: 'Removes a user group from the specified project',
|
|
1556
|
+
},
|
|
1557
|
+
{
|
|
1558
|
+
name: 'Get Project User Group Assignments',
|
|
1559
|
+
value: 'enterpriseProjectsGetGroupsGet',
|
|
1560
|
+
action: 'Gets project user group assignments',
|
|
1561
|
+
description: 'Retrieves information about user groups invited to the specified project',
|
|
1562
|
+
},
|
|
1563
|
+
],
|
|
1564
|
+
default: 'enterpriseProjectCreateGroupPost',
|
|
1565
|
+
},
|
|
1566
|
+
{
|
|
1567
|
+
displayName: 'Operation',
|
|
1568
|
+
name: 'operation',
|
|
1569
|
+
type: 'options',
|
|
1570
|
+
noDataExpression: true,
|
|
1571
|
+
displayOptions: { show: { resource: ['organizationTeam'] } },
|
|
1572
|
+
options: [
|
|
1573
|
+
{
|
|
1574
|
+
name: 'Create Team',
|
|
1575
|
+
value: 'enterpriseCreateTeamPost',
|
|
1576
|
+
action: 'Creates team',
|
|
1577
|
+
description: 'Creates a new team in an existing organization',
|
|
1578
|
+
},
|
|
1579
|
+
{
|
|
1580
|
+
name: 'Delete Team',
|
|
1581
|
+
value: 'enterpriseDeleteTeamDelete',
|
|
1582
|
+
action: 'Deletes team',
|
|
1583
|
+
description: 'Deletes an existing team',
|
|
1584
|
+
},
|
|
1585
|
+
{
|
|
1586
|
+
name: 'Get Team',
|
|
1587
|
+
value: 'enterpriseGetTeamGet',
|
|
1588
|
+
action: 'Gets team',
|
|
1589
|
+
description: 'Retrieves team information for an existing team',
|
|
1590
|
+
},
|
|
1591
|
+
{
|
|
1592
|
+
name: 'Get Teams',
|
|
1593
|
+
value: 'enterpriseGetTeamsGet',
|
|
1594
|
+
action: 'Gets teams',
|
|
1595
|
+
description: 'Retrieves list of teams in an existing organization',
|
|
1596
|
+
},
|
|
1597
|
+
{
|
|
1598
|
+
name: 'Update Team',
|
|
1599
|
+
value: 'enterpriseUpdateTeamPatch',
|
|
1600
|
+
action: 'Updates team',
|
|
1601
|
+
description: 'Updates an existing team',
|
|
1602
|
+
},
|
|
1603
|
+
],
|
|
1604
|
+
default: 'enterpriseCreateTeamPost',
|
|
1605
|
+
},
|
|
1606
|
+
{
|
|
1607
|
+
displayName: 'Operation',
|
|
1608
|
+
name: 'operation',
|
|
1609
|
+
type: 'options',
|
|
1610
|
+
noDataExpression: true,
|
|
1611
|
+
displayOptions: { show: { resource: ['organizationTeamMember'] } },
|
|
1612
|
+
options: [
|
|
1613
|
+
{
|
|
1614
|
+
name: 'Delete Team Member From Team',
|
|
1615
|
+
value: 'enterpriseDeleteTeamMemberDelete',
|
|
1616
|
+
action: 'Deletes team member from team',
|
|
1617
|
+
description: 'Deletes team member from team by ID',
|
|
1618
|
+
},
|
|
1619
|
+
{
|
|
1620
|
+
name: 'Get Team Member',
|
|
1621
|
+
value: 'enterpriseGetTeamMemberGet',
|
|
1622
|
+
action: 'Gets team member',
|
|
1623
|
+
description: 'Retrieves team member by ID',
|
|
1624
|
+
},
|
|
1625
|
+
{
|
|
1626
|
+
name: 'Get Team Members',
|
|
1627
|
+
value: 'enterpriseGetTeamMembersGet',
|
|
1628
|
+
action: 'Gets team members',
|
|
1629
|
+
description: 'Retrieves team members by cursor',
|
|
1630
|
+
},
|
|
1631
|
+
{
|
|
1632
|
+
name: 'Invite Team Members',
|
|
1633
|
+
value: 'enterpriseInviteTeamMemberPost',
|
|
1634
|
+
action: 'Invites team members',
|
|
1635
|
+
description: 'Invites a new Miro user to an existing team. The user must exist in your Miro organization.',
|
|
1636
|
+
},
|
|
1637
|
+
{
|
|
1638
|
+
name: 'Update Team Member',
|
|
1639
|
+
value: 'enterpriseUpdateTeamMemberPatch',
|
|
1640
|
+
action: 'Updates team member',
|
|
1641
|
+
description: 'Updates team member role in team by ID',
|
|
1642
|
+
},
|
|
1643
|
+
],
|
|
1644
|
+
default: 'enterpriseDeleteTeamMemberDelete',
|
|
1645
|
+
},
|
|
1646
|
+
{
|
|
1647
|
+
displayName: 'Operation',
|
|
1648
|
+
name: 'operation',
|
|
1649
|
+
type: 'options',
|
|
1650
|
+
noDataExpression: true,
|
|
1651
|
+
displayOptions: { show: { resource: ['organizationTeamSetting'] } },
|
|
1652
|
+
options: [
|
|
1653
|
+
{
|
|
1654
|
+
name: 'Get Default Team Settings',
|
|
1655
|
+
value: 'enterpriseGetDefaultTeamSettingsGet',
|
|
1656
|
+
action: 'Gets default team settings',
|
|
1657
|
+
description: 'Retrieves default team settings of an existing organization',
|
|
1658
|
+
},
|
|
1659
|
+
{
|
|
1660
|
+
name: 'Get Team Settings',
|
|
1661
|
+
value: 'enterpriseGetTeamSettingsGet',
|
|
1662
|
+
action: 'Gets team settings',
|
|
1663
|
+
description: 'Retrieves team settings of an existing team',
|
|
1664
|
+
},
|
|
1665
|
+
{
|
|
1666
|
+
name: 'Update Team Settings',
|
|
1667
|
+
value: 'enterpriseUpdateTeamSettingsPatch',
|
|
1668
|
+
action: 'Updates team settings',
|
|
1669
|
+
description: 'Updates team settings of an existing team',
|
|
1670
|
+
},
|
|
1671
|
+
],
|
|
1672
|
+
default: 'enterpriseGetDefaultTeamSettingsGet',
|
|
1673
|
+
},
|
|
1674
|
+
{
|
|
1675
|
+
displayName: 'Operation',
|
|
1676
|
+
name: 'operation',
|
|
1677
|
+
type: 'options',
|
|
1678
|
+
noDataExpression: true,
|
|
1679
|
+
displayOptions: { show: { resource: ['organizationTeamUserGroup'] } },
|
|
1680
|
+
options: [
|
|
1681
|
+
{
|
|
1682
|
+
name: 'Create User Group to Team Connection',
|
|
1683
|
+
value: 'enterpriseTeamsCreateGroupPost',
|
|
1684
|
+
action: 'Creates user group to team connection',
|
|
1685
|
+
description: 'Adds a user group to a team in an organization',
|
|
1686
|
+
},
|
|
1687
|
+
{
|
|
1688
|
+
name: 'Delete User Group to Team Connection',
|
|
1689
|
+
value: 'enterpriseTeamsDeleteGroupDelete',
|
|
1690
|
+
action: 'Deletes user group to team connection',
|
|
1691
|
+
description: 'Removes a user group from a team in an existing organization',
|
|
1692
|
+
},
|
|
1693
|
+
{
|
|
1694
|
+
name: 'Get User Group of a Team',
|
|
1695
|
+
value: 'enterpriseTeamsGetGroupGet',
|
|
1696
|
+
action: 'Gets user group of a team',
|
|
1697
|
+
description: 'Retrieves information about a specific user group of a team',
|
|
1698
|
+
},
|
|
1699
|
+
{
|
|
1700
|
+
name: 'Get User Group to Team Connections',
|
|
1701
|
+
value: 'enterpriseTeamsGetGroupsGet',
|
|
1702
|
+
action: 'Gets user group to team connections',
|
|
1703
|
+
description: 'Retrieves the list of user groups that are part of a team in an organization',
|
|
1704
|
+
},
|
|
1705
|
+
],
|
|
1706
|
+
default: 'enterpriseTeamsCreateGroupPost',
|
|
1707
|
+
},
|
|
1708
|
+
{
|
|
1709
|
+
displayName: 'Operation',
|
|
1710
|
+
name: 'operation',
|
|
1711
|
+
type: 'options',
|
|
1712
|
+
noDataExpression: true,
|
|
1713
|
+
displayOptions: { show: { resource: ['organizationUserGroup'] } },
|
|
1714
|
+
options: [
|
|
1715
|
+
{
|
|
1716
|
+
name: 'Create User Group',
|
|
1717
|
+
value: 'enterpriseCreateGroupPost',
|
|
1718
|
+
action: 'Creates user group',
|
|
1719
|
+
description: 'Creates a new user group in an organization',
|
|
1720
|
+
},
|
|
1721
|
+
{
|
|
1722
|
+
name: 'Delete User Group',
|
|
1723
|
+
value: 'enterpriseDeleteGroupDelete',
|
|
1724
|
+
action: 'Deletes user group',
|
|
1725
|
+
description: 'Deletes a user group from an organization',
|
|
1726
|
+
},
|
|
1727
|
+
{
|
|
1728
|
+
name: 'Get User Group',
|
|
1729
|
+
value: 'enterpriseGetGroupGet',
|
|
1730
|
+
action: 'Gets user group',
|
|
1731
|
+
description: 'Retrieves a user group in an organization',
|
|
1732
|
+
},
|
|
1733
|
+
{
|
|
1734
|
+
name: 'Get User Groups',
|
|
1735
|
+
value: 'enterpriseGetGroupsGet',
|
|
1736
|
+
action: 'Gets user groups',
|
|
1737
|
+
description: 'Retrieves the list of user groups in an organization',
|
|
1738
|
+
},
|
|
1739
|
+
{
|
|
1740
|
+
name: 'Update User Group',
|
|
1741
|
+
value: 'enterpriseUpdateGroupPatch',
|
|
1742
|
+
action: 'Updates user group',
|
|
1743
|
+
description: 'Updates a user group in an organization',
|
|
1744
|
+
},
|
|
1745
|
+
],
|
|
1746
|
+
default: 'enterpriseCreateGroupPost',
|
|
1747
|
+
},
|
|
1748
|
+
{
|
|
1749
|
+
displayName: 'Operation',
|
|
1750
|
+
name: 'operation',
|
|
1751
|
+
type: 'options',
|
|
1752
|
+
noDataExpression: true,
|
|
1753
|
+
displayOptions: { show: { resource: ['organizationUserGroupMember'] } },
|
|
1754
|
+
options: [
|
|
1755
|
+
{
|
|
1756
|
+
name: 'Bulk Edit of Membership in User Group',
|
|
1757
|
+
value: 'enterpriseUpdateGroupMembersPatch',
|
|
1758
|
+
action: 'Bulk edits of membership in user group',
|
|
1759
|
+
description: 'Add and remove members in one request. For example, remove user A and add user B. You can add or remove up to 500 users at a time.',
|
|
1760
|
+
},
|
|
1761
|
+
{
|
|
1762
|
+
name: 'Create User Group Member',
|
|
1763
|
+
value: 'enterpriseCreateGroupMemberPost',
|
|
1764
|
+
action: 'Creates user group member',
|
|
1765
|
+
description: 'Adds a member to a user group in an organization',
|
|
1766
|
+
},
|
|
1767
|
+
{
|
|
1768
|
+
name: 'Delete User Group Member',
|
|
1769
|
+
value: 'enterpriseDeleteGroupMemberDelete',
|
|
1770
|
+
action: 'Deletes user group member',
|
|
1771
|
+
description: 'Removes a member from a user group in an organization',
|
|
1772
|
+
},
|
|
1773
|
+
{
|
|
1774
|
+
name: 'Get User Group Member',
|
|
1775
|
+
value: 'enterpriseGetGroupMemberGet',
|
|
1776
|
+
action: 'Gets user group member',
|
|
1777
|
+
description: 'Retrieves information about a user group member in an organization',
|
|
1778
|
+
},
|
|
1779
|
+
{
|
|
1780
|
+
name: 'Get User Group Members',
|
|
1781
|
+
value: 'enterpriseGetGroupMembersGet',
|
|
1782
|
+
action: 'Gets user group members',
|
|
1783
|
+
description: 'Retrieves the list of members who are part of a team in an existing organization',
|
|
1784
|
+
},
|
|
1785
|
+
],
|
|
1786
|
+
default: 'enterpriseUpdateGroupMembersPatch',
|
|
1787
|
+
},
|
|
1788
|
+
{
|
|
1789
|
+
displayName: 'Operation',
|
|
1790
|
+
name: 'operation',
|
|
1791
|
+
type: 'options',
|
|
1792
|
+
noDataExpression: true,
|
|
1793
|
+
displayOptions: { show: { resource: ['organizationUserGroupTeam'] } },
|
|
1794
|
+
options: [
|
|
1795
|
+
{
|
|
1796
|
+
name: 'Get Teams of a User Group',
|
|
1797
|
+
value: 'enterpriseGroupsGetTeamsGet',
|
|
1798
|
+
action: 'Gets teams of a user group',
|
|
1799
|
+
description: 'Retrieves the list of teams that the user group is a part of',
|
|
1800
|
+
},
|
|
1801
|
+
{
|
|
1802
|
+
name: 'Get User Group Team',
|
|
1803
|
+
value: 'enterpriseGroupsGetTeamGet',
|
|
1804
|
+
action: 'Gets user group team',
|
|
1805
|
+
description: 'Retrieves information of a team that the user group is a part of in an organization',
|
|
1806
|
+
},
|
|
1807
|
+
],
|
|
1808
|
+
default: 'enterpriseGroupsGetTeamsGet',
|
|
1809
|
+
},
|
|
1810
|
+
{
|
|
1811
|
+
displayName: 'App ID',
|
|
1812
|
+
name: 'app_id',
|
|
1813
|
+
type: 'string',
|
|
1814
|
+
default: '',
|
|
1815
|
+
description: 'Unique identifier (ID) of the app',
|
|
1816
|
+
displayOptions: {
|
|
1817
|
+
show: {
|
|
1818
|
+
operation: [
|
|
1819
|
+
'getMetricsGet',
|
|
1820
|
+
'getMetricsTotalGet',
|
|
1821
|
+
],
|
|
1822
|
+
},
|
|
1823
|
+
},
|
|
1824
|
+
},
|
|
1825
|
+
{
|
|
1826
|
+
displayName: 'Board ID',
|
|
1827
|
+
name: 'board_id',
|
|
1828
|
+
type: 'string',
|
|
1829
|
+
default: '',
|
|
1830
|
+
description: 'Unique identifier (ID) of the board',
|
|
1831
|
+
displayOptions: {
|
|
1832
|
+
show: {
|
|
1833
|
+
operation: [
|
|
1834
|
+
'attachTagToItemPost',
|
|
1835
|
+
'createAppCardItemPost',
|
|
1836
|
+
'createCardItemPost',
|
|
1837
|
+
'createCodeWidgetItemPost',
|
|
1838
|
+
'createConnectorPost',
|
|
1839
|
+
'createDocFormatItemPost',
|
|
1840
|
+
'createDocumentItemUsingFileFromDevicePost',
|
|
1841
|
+
'createDocumentItemUsingUrlPost',
|
|
1842
|
+
'createEmbedItemPost',
|
|
1843
|
+
'createFrameItemPost',
|
|
1844
|
+
'createGroupPost',
|
|
1845
|
+
'createImageItemUsingLocalFilePost',
|
|
1846
|
+
'createImageItemUsingUrlPost',
|
|
1847
|
+
'createItemsInBulkUsingFileFromDevicePost',
|
|
1848
|
+
'createItemsPost',
|
|
1849
|
+
'createMindmapNodesExperimentalPost',
|
|
1850
|
+
'createShapeItemFlowchartPost',
|
|
1851
|
+
'createShapeItemPost',
|
|
1852
|
+
'createStickyNoteItemPost',
|
|
1853
|
+
'createTagPost',
|
|
1854
|
+
'createTextItemPost',
|
|
1855
|
+
'deleteAppCardItemDelete',
|
|
1856
|
+
'deleteBoardDelete',
|
|
1857
|
+
'deleteCardItemDelete',
|
|
1858
|
+
'deleteCodeWidgetItemDelete',
|
|
1859
|
+
'deleteConnectorDelete',
|
|
1860
|
+
'deleteDocFormatItemDelete',
|
|
1861
|
+
'deleteDocumentItemDelete',
|
|
1862
|
+
'deleteEmbedItemDelete',
|
|
1863
|
+
'deleteFrameItemDelete',
|
|
1864
|
+
'deleteGroupDelete',
|
|
1865
|
+
'deleteImageItemDelete',
|
|
1866
|
+
'deleteItemDelete',
|
|
1867
|
+
'deleteItemExperimentalDelete',
|
|
1868
|
+
'deleteMindmapNodeExperimentalDelete',
|
|
1869
|
+
'deleteShapeItemDelete',
|
|
1870
|
+
'deleteShapeItemFlowchartDelete',
|
|
1871
|
+
'deleteStickyNoteItemDelete',
|
|
1872
|
+
'deleteTagDelete',
|
|
1873
|
+
'deleteTextItemDelete',
|
|
1874
|
+
'enterpriseBoardsCreateGroupPost',
|
|
1875
|
+
'enterpriseBoardsDeleteGroupsDelete',
|
|
1876
|
+
'enterpriseBoardsGetGroupsGet',
|
|
1877
|
+
'enterpriseDataclassificationBoardGetGet',
|
|
1878
|
+
'enterpriseDataclassificationBoardSetPost',
|
|
1879
|
+
'getAllGroupsGet',
|
|
1880
|
+
'getAppCardItemGet',
|
|
1881
|
+
'getBoardMembersGet',
|
|
1882
|
+
'getCardItemGet',
|
|
1883
|
+
'getCodeWidgetItemGet',
|
|
1884
|
+
'getCodeWidgetItemsGet',
|
|
1885
|
+
'getConnectorGet',
|
|
1886
|
+
'getConnectorsGet',
|
|
1887
|
+
'getDocFormatItemGet',
|
|
1888
|
+
'getDocumentItemGet',
|
|
1889
|
+
'getEmbedItemGet',
|
|
1890
|
+
'getFrameItemGet',
|
|
1891
|
+
'getGroupByIdGet',
|
|
1892
|
+
'getImageItemGet',
|
|
1893
|
+
'getItemsByGroupIdGet',
|
|
1894
|
+
'getItemsByTagGet',
|
|
1895
|
+
'getItemsExperimentalGet',
|
|
1896
|
+
'getItemsGet',
|
|
1897
|
+
'getItemsWithinFrameGet',
|
|
1898
|
+
'getMindmapNodeExperimentalGet',
|
|
1899
|
+
'getMindmapNodesExperimentalGet',
|
|
1900
|
+
'getShapeItemFlowchartGet',
|
|
1901
|
+
'getShapeItemGet',
|
|
1902
|
+
'getSpecificBoardGet',
|
|
1903
|
+
'getSpecificBoardMemberGet',
|
|
1904
|
+
'getSpecificItemExperimentalGet',
|
|
1905
|
+
'getSpecificItemGet',
|
|
1906
|
+
'getStickyNoteItemGet',
|
|
1907
|
+
'getTagGet',
|
|
1908
|
+
'getTagsFromBoardGet',
|
|
1909
|
+
'getTagsFromItemGet',
|
|
1910
|
+
'getTextItemGet',
|
|
1911
|
+
'moveCodeWidgetItemPatch',
|
|
1912
|
+
'removeBoardMemberDelete',
|
|
1913
|
+
'removeTagFromItemDelete',
|
|
1914
|
+
'shareBoardPost',
|
|
1915
|
+
'unGroupDelete',
|
|
1916
|
+
'updateAppCardItemPatch',
|
|
1917
|
+
'updateBoardMemberPatch',
|
|
1918
|
+
'updateBoardPatch',
|
|
1919
|
+
'updateCardItemPatch',
|
|
1920
|
+
'updateCodeWidgetItemPatch',
|
|
1921
|
+
'updateConnectorPatch',
|
|
1922
|
+
'updateDocumentItemUsingFileFromDevicePatch',
|
|
1923
|
+
'updateDocumentItemUsingUrlPatch',
|
|
1924
|
+
'updateEmbedItemPatch',
|
|
1925
|
+
'updateFrameItemPatch',
|
|
1926
|
+
'updateGroupPut',
|
|
1927
|
+
'updateImageItemUsingFileFromDevicePatch',
|
|
1928
|
+
'updateImageItemUsingUrlPatch',
|
|
1929
|
+
'updateItemPositionOrParentPatch',
|
|
1930
|
+
'updateShapeItemFlowchartPatch',
|
|
1931
|
+
'updateShapeItemPatch',
|
|
1932
|
+
'updateStickyNoteItemPatch',
|
|
1933
|
+
'updateTagPatch',
|
|
1934
|
+
'updateTextItemPatch',
|
|
1935
|
+
],
|
|
1936
|
+
},
|
|
1937
|
+
},
|
|
1938
|
+
},
|
|
1939
|
+
{
|
|
1940
|
+
displayName: 'Board Member ID',
|
|
1941
|
+
name: 'board_member_id',
|
|
1942
|
+
type: 'string',
|
|
1943
|
+
default: '',
|
|
1944
|
+
description: 'Unique identifier (ID) of the board member',
|
|
1945
|
+
displayOptions: {
|
|
1946
|
+
show: {
|
|
1947
|
+
operation: [
|
|
1948
|
+
'getSpecificBoardMemberGet',
|
|
1949
|
+
'removeBoardMemberDelete',
|
|
1950
|
+
'updateBoardMemberPatch',
|
|
1951
|
+
],
|
|
1952
|
+
},
|
|
1953
|
+
},
|
|
1954
|
+
},
|
|
1955
|
+
{
|
|
1956
|
+
displayName: 'Case ID',
|
|
1957
|
+
name: 'case_id',
|
|
1958
|
+
type: 'string',
|
|
1959
|
+
default: '',
|
|
1960
|
+
description: 'Unique identifier (ID) of the case',
|
|
1961
|
+
displayOptions: {
|
|
1962
|
+
show: {
|
|
1963
|
+
operation: [
|
|
1964
|
+
'createLegalHoldPost',
|
|
1965
|
+
'deleteCaseDelete',
|
|
1966
|
+
'deleteLegalHoldDelete',
|
|
1967
|
+
'editCasePut',
|
|
1968
|
+
'editLegalHoldPut',
|
|
1969
|
+
'getAllLegalHoldsGet',
|
|
1970
|
+
'getCaseGet',
|
|
1971
|
+
'getLegalHoldContentItemsGet',
|
|
1972
|
+
'getLegalHoldExportJobsGet',
|
|
1973
|
+
'getLegalHoldGet',
|
|
1974
|
+
],
|
|
1975
|
+
},
|
|
1976
|
+
},
|
|
1977
|
+
},
|
|
1978
|
+
{
|
|
1979
|
+
displayName: 'Connector ID',
|
|
1980
|
+
name: 'connector_id',
|
|
1981
|
+
type: 'string',
|
|
1982
|
+
default: '',
|
|
1983
|
+
description: 'Unique identifier (ID) of the connector',
|
|
1984
|
+
displayOptions: {
|
|
1985
|
+
show: {
|
|
1986
|
+
operation: [
|
|
1987
|
+
'deleteConnectorDelete',
|
|
1988
|
+
'getConnectorGet',
|
|
1989
|
+
'updateConnectorPatch',
|
|
1990
|
+
],
|
|
1991
|
+
},
|
|
1992
|
+
},
|
|
1993
|
+
},
|
|
1994
|
+
{
|
|
1995
|
+
displayName: 'Group ID',
|
|
1996
|
+
name: 'group_id',
|
|
1997
|
+
type: 'string',
|
|
1998
|
+
default: '',
|
|
1999
|
+
description: 'Unique identifier (ID) of the group',
|
|
2000
|
+
displayOptions: {
|
|
2001
|
+
show: {
|
|
2002
|
+
operation: [
|
|
2003
|
+
'deleteGroupDelete',
|
|
2004
|
+
'enterpriseBoardsDeleteGroupsDelete',
|
|
2005
|
+
'enterpriseCreateGroupMemberPost',
|
|
2006
|
+
'enterpriseDeleteGroupDelete',
|
|
2007
|
+
'enterpriseDeleteGroupMemberDelete',
|
|
2008
|
+
'enterpriseGetGroupGet',
|
|
2009
|
+
'enterpriseGetGroupMemberGet',
|
|
2010
|
+
'enterpriseGetGroupMembersGet',
|
|
2011
|
+
'enterpriseGroupsGetTeamGet',
|
|
2012
|
+
'enterpriseGroupsGetTeamsGet',
|
|
2013
|
+
'enterpriseProjectDeleteGroupsDelete',
|
|
2014
|
+
'enterpriseTeamsDeleteGroupDelete',
|
|
2015
|
+
'enterpriseTeamsGetGroupGet',
|
|
2016
|
+
'enterpriseUpdateGroupMembersPatch',
|
|
2017
|
+
'enterpriseUpdateGroupPatch',
|
|
2018
|
+
'getGroupByIdGet',
|
|
2019
|
+
'unGroupDelete',
|
|
2020
|
+
'updateGroupPut',
|
|
2021
|
+
],
|
|
2022
|
+
},
|
|
2023
|
+
},
|
|
2024
|
+
},
|
|
2025
|
+
{
|
|
2026
|
+
displayName: 'Item ID',
|
|
2027
|
+
name: 'item_id',
|
|
2028
|
+
type: 'string',
|
|
2029
|
+
default: '',
|
|
2030
|
+
description: 'Unique identifier (ID) of the item',
|
|
2031
|
+
displayOptions: {
|
|
2032
|
+
show: {
|
|
2033
|
+
operation: [
|
|
2034
|
+
'attachTagToItemPost',
|
|
2035
|
+
'deleteAppCardItemDelete',
|
|
2036
|
+
'deleteCardItemDelete',
|
|
2037
|
+
'deleteCodeWidgetItemDelete',
|
|
2038
|
+
'deleteDocFormatItemDelete',
|
|
2039
|
+
'deleteDocumentItemDelete',
|
|
2040
|
+
'deleteEmbedItemDelete',
|
|
2041
|
+
'deleteFrameItemDelete',
|
|
2042
|
+
'deleteImageItemDelete',
|
|
2043
|
+
'deleteItemDelete',
|
|
2044
|
+
'deleteItemExperimentalDelete',
|
|
2045
|
+
'deleteMindmapNodeExperimentalDelete',
|
|
2046
|
+
'deleteShapeItemDelete',
|
|
2047
|
+
'deleteShapeItemFlowchartDelete',
|
|
2048
|
+
'deleteStickyNoteItemDelete',
|
|
2049
|
+
'deleteTextItemDelete',
|
|
2050
|
+
'getAppCardItemGet',
|
|
2051
|
+
'getCardItemGet',
|
|
2052
|
+
'getCodeWidgetItemGet',
|
|
2053
|
+
'getDocFormatItemGet',
|
|
2054
|
+
'getDocumentItemGet',
|
|
2055
|
+
'getEmbedItemGet',
|
|
2056
|
+
'getFrameItemGet',
|
|
2057
|
+
'getImageItemGet',
|
|
2058
|
+
'getMindmapNodeExperimentalGet',
|
|
2059
|
+
'getShapeItemFlowchartGet',
|
|
2060
|
+
'getShapeItemGet',
|
|
2061
|
+
'getSpecificItemExperimentalGet',
|
|
2062
|
+
'getSpecificItemGet',
|
|
2063
|
+
'getStickyNoteItemGet',
|
|
2064
|
+
'getTagsFromItemGet',
|
|
2065
|
+
'getTextItemGet',
|
|
2066
|
+
'moveCodeWidgetItemPatch',
|
|
2067
|
+
'removeTagFromItemDelete',
|
|
2068
|
+
'updateAppCardItemPatch',
|
|
2069
|
+
'updateCardItemPatch',
|
|
2070
|
+
'updateCodeWidgetItemPatch',
|
|
2071
|
+
'updateDocumentItemUsingFileFromDevicePatch',
|
|
2072
|
+
'updateDocumentItemUsingUrlPatch',
|
|
2073
|
+
'updateEmbedItemPatch',
|
|
2074
|
+
'updateFrameItemPatch',
|
|
2075
|
+
'updateImageItemUsingFileFromDevicePatch',
|
|
2076
|
+
'updateImageItemUsingUrlPatch',
|
|
2077
|
+
'updateItemPositionOrParentPatch',
|
|
2078
|
+
'updateShapeItemFlowchartPatch',
|
|
2079
|
+
'updateShapeItemPatch',
|
|
2080
|
+
'updateStickyNoteItemPatch',
|
|
2081
|
+
'updateTextItemPatch',
|
|
2082
|
+
],
|
|
2083
|
+
},
|
|
2084
|
+
},
|
|
2085
|
+
},
|
|
2086
|
+
{
|
|
2087
|
+
displayName: 'Job ID',
|
|
2088
|
+
name: 'job_id',
|
|
2089
|
+
type: 'string',
|
|
2090
|
+
default: '',
|
|
2091
|
+
description: 'Unique identifier (ID) of the board export job',
|
|
2092
|
+
displayOptions: {
|
|
2093
|
+
show: {
|
|
2094
|
+
operation: [
|
|
2095
|
+
'enterpriseBoardExportJobResultsGet',
|
|
2096
|
+
'enterpriseBoardExportJobStatusGet',
|
|
2097
|
+
'enterpriseBoardExportJobTasksGet',
|
|
2098
|
+
'enterpriseCreateBoardExportTaskExportLinkPost',
|
|
2099
|
+
'enterpriseUpdateBoardExportJobPut',
|
|
2100
|
+
],
|
|
2101
|
+
},
|
|
2102
|
+
},
|
|
2103
|
+
},
|
|
2104
|
+
{
|
|
2105
|
+
displayName: 'Legal Hold ID',
|
|
2106
|
+
name: 'legal_hold_id',
|
|
2107
|
+
type: 'string',
|
|
2108
|
+
default: '',
|
|
2109
|
+
description: 'Unique identifier (ID) of the legal hold',
|
|
2110
|
+
displayOptions: {
|
|
2111
|
+
show: {
|
|
2112
|
+
operation: [
|
|
2113
|
+
'deleteLegalHoldDelete',
|
|
2114
|
+
'editLegalHoldPut',
|
|
2115
|
+
'getLegalHoldContentItemsGet',
|
|
2116
|
+
'getLegalHoldGet',
|
|
2117
|
+
],
|
|
2118
|
+
},
|
|
2119
|
+
},
|
|
2120
|
+
},
|
|
2121
|
+
{
|
|
2122
|
+
displayName: 'Member ID',
|
|
2123
|
+
name: 'member_id',
|
|
2124
|
+
type: 'string',
|
|
2125
|
+
default: '',
|
|
2126
|
+
description: 'Unique identifier (ID) of the member',
|
|
2127
|
+
displayOptions: {
|
|
2128
|
+
show: {
|
|
2129
|
+
operation: [
|
|
2130
|
+
'enterpriseDeleteGroupMemberDelete',
|
|
2131
|
+
'enterpriseDeleteProjectMemberDelete',
|
|
2132
|
+
'enterpriseDeleteTeamMemberDelete',
|
|
2133
|
+
'enterpriseGetGroupMemberGet',
|
|
2134
|
+
'enterpriseGetOrganizationMemberGet',
|
|
2135
|
+
'enterpriseGetProjectMemberGet',
|
|
2136
|
+
'enterpriseGetTeamMemberGet',
|
|
2137
|
+
'enterpriseUpdateProjectMemberPatch',
|
|
2138
|
+
'enterpriseUpdateTeamMemberPatch',
|
|
2139
|
+
],
|
|
2140
|
+
},
|
|
2141
|
+
},
|
|
2142
|
+
},
|
|
2143
|
+
{
|
|
2144
|
+
displayName: 'Organization ID',
|
|
2145
|
+
name: 'org_id',
|
|
2146
|
+
type: 'string',
|
|
2147
|
+
default: '',
|
|
2148
|
+
description: 'Unique identifier (ID) of the organization',
|
|
2149
|
+
displayOptions: {
|
|
2150
|
+
show: {
|
|
2151
|
+
operation: [
|
|
2152
|
+
'createCasePost',
|
|
2153
|
+
'createLegalHoldPost',
|
|
2154
|
+
'deleteCaseDelete',
|
|
2155
|
+
'deleteLegalHoldDelete',
|
|
2156
|
+
'editCasePut',
|
|
2157
|
+
'editLegalHoldPut',
|
|
2158
|
+
'enterpriseAddProjectMemberPost',
|
|
2159
|
+
'enterpriseBoardContentItemLogsFetchGet',
|
|
2160
|
+
'enterpriseBoardExportJobResultsGet',
|
|
2161
|
+
'enterpriseBoardExportJobStatusGet',
|
|
2162
|
+
'enterpriseBoardExportJobTasksGet',
|
|
2163
|
+
'enterpriseBoardExportJobsGet',
|
|
2164
|
+
'enterpriseBoardsCreateGroupPost',
|
|
2165
|
+
'enterpriseBoardsDeleteGroupsDelete',
|
|
2166
|
+
'enterpriseBoardsGetGroupsGet',
|
|
2167
|
+
'enterpriseCreateBoardExportPost',
|
|
2168
|
+
'enterpriseCreateBoardExportTaskExportLinkPost',
|
|
2169
|
+
'enterpriseCreateGroupMemberPost',
|
|
2170
|
+
'enterpriseCreateGroupPost',
|
|
2171
|
+
'enterpriseCreateProjectPost',
|
|
2172
|
+
'enterpriseCreateTeamPost',
|
|
2173
|
+
'enterpriseDataclassificationBoardGetGet',
|
|
2174
|
+
'enterpriseDataclassificationBoardSetPost',
|
|
2175
|
+
'enterpriseDataclassificationOrganizationSettingsGetGet',
|
|
2176
|
+
'enterpriseDataclassificationTeamBoardsBulkPatch',
|
|
2177
|
+
'enterpriseDataclassificationTeamSettingsGetGet',
|
|
2178
|
+
'enterpriseDataclassificationTeamSettingsSetPatch',
|
|
2179
|
+
'enterpriseDeleteGroupDelete',
|
|
2180
|
+
'enterpriseDeleteGroupMemberDelete',
|
|
2181
|
+
'enterpriseDeleteProjectDelete',
|
|
2182
|
+
'enterpriseDeleteProjectMemberDelete',
|
|
2183
|
+
'enterpriseDeleteTeamDelete',
|
|
2184
|
+
'enterpriseDeleteTeamMemberDelete',
|
|
2185
|
+
'enterpriseGetAiInteractionLogsGet',
|
|
2186
|
+
'enterpriseGetDefaultTeamSettingsGet',
|
|
2187
|
+
'enterpriseGetGroupGet',
|
|
2188
|
+
'enterpriseGetGroupMemberGet',
|
|
2189
|
+
'enterpriseGetGroupMembersGet',
|
|
2190
|
+
'enterpriseGetGroupsGet',
|
|
2191
|
+
'enterpriseGetOrganizationGet',
|
|
2192
|
+
'enterpriseGetOrganizationMemberGet',
|
|
2193
|
+
'enterpriseGetOrganizationMembersGet',
|
|
2194
|
+
'enterpriseGetProjectGet',
|
|
2195
|
+
'enterpriseGetProjectMemberGet',
|
|
2196
|
+
'enterpriseGetProjectMembersGet',
|
|
2197
|
+
'enterpriseGetProjectSettingsGet',
|
|
2198
|
+
'enterpriseGetProjectsGet',
|
|
2199
|
+
'enterpriseGetTeamGet',
|
|
2200
|
+
'enterpriseGetTeamMemberGet',
|
|
2201
|
+
'enterpriseGetTeamMembersGet',
|
|
2202
|
+
'enterpriseGetTeamSettingsGet',
|
|
2203
|
+
'enterpriseGetTeamsGet',
|
|
2204
|
+
'enterpriseGroupsGetTeamGet',
|
|
2205
|
+
'enterpriseGroupsGetTeamsGet',
|
|
2206
|
+
'enterpriseInviteTeamMemberPost',
|
|
2207
|
+
'enterpriseProjectCreateGroupPost',
|
|
2208
|
+
'enterpriseProjectDeleteGroupsDelete',
|
|
2209
|
+
'enterpriseProjectsGetGroupsGet',
|
|
2210
|
+
'enterpriseTeamsCreateGroupPost',
|
|
2211
|
+
'enterpriseTeamsDeleteGroupDelete',
|
|
2212
|
+
'enterpriseTeamsGetGroupGet',
|
|
2213
|
+
'enterpriseTeamsGetGroupsGet',
|
|
2214
|
+
'enterpriseUpdateBoardExportJobPut',
|
|
2215
|
+
'enterpriseUpdateGroupMembersPatch',
|
|
2216
|
+
'enterpriseUpdateGroupPatch',
|
|
2217
|
+
'enterpriseUpdateProjectMemberPatch',
|
|
2218
|
+
'enterpriseUpdateProjectPatch',
|
|
2219
|
+
'enterpriseUpdateProjectSettingsPatch',
|
|
2220
|
+
'enterpriseUpdateTeamMemberPatch',
|
|
2221
|
+
'enterpriseUpdateTeamPatch',
|
|
2222
|
+
'enterpriseUpdateTeamSettingsPatch',
|
|
2223
|
+
'getAllCasesGet',
|
|
2224
|
+
'getAllLegalHoldsGet',
|
|
2225
|
+
'getCaseGet',
|
|
2226
|
+
'getLegalHoldContentItemsGet',
|
|
2227
|
+
'getLegalHoldExportJobsGet',
|
|
2228
|
+
'getLegalHoldGet',
|
|
2229
|
+
],
|
|
2230
|
+
},
|
|
2231
|
+
},
|
|
2232
|
+
},
|
|
2233
|
+
{
|
|
2234
|
+
displayName: 'Project ID',
|
|
2235
|
+
name: 'project_id',
|
|
2236
|
+
type: 'string',
|
|
2237
|
+
default: '',
|
|
2238
|
+
description: 'Unique identifier (ID) of the project',
|
|
2239
|
+
displayOptions: {
|
|
2240
|
+
show: {
|
|
2241
|
+
operation: [
|
|
2242
|
+
'enterpriseAddProjectMemberPost',
|
|
2243
|
+
'enterpriseDeleteProjectDelete',
|
|
2244
|
+
'enterpriseDeleteProjectMemberDelete',
|
|
2245
|
+
'enterpriseGetProjectGet',
|
|
2246
|
+
'enterpriseGetProjectMemberGet',
|
|
2247
|
+
'enterpriseGetProjectMembersGet',
|
|
2248
|
+
'enterpriseGetProjectSettingsGet',
|
|
2249
|
+
'enterpriseProjectCreateGroupPost',
|
|
2250
|
+
'enterpriseProjectDeleteGroupsDelete',
|
|
2251
|
+
'enterpriseProjectsGetGroupsGet',
|
|
2252
|
+
'enterpriseUpdateProjectMemberPatch',
|
|
2253
|
+
'enterpriseUpdateProjectPatch',
|
|
2254
|
+
'enterpriseUpdateProjectSettingsPatch',
|
|
2255
|
+
],
|
|
2256
|
+
},
|
|
2257
|
+
},
|
|
2258
|
+
},
|
|
2259
|
+
{
|
|
2260
|
+
displayName: 'Tag ID',
|
|
2261
|
+
name: 'tag_id',
|
|
2262
|
+
type: 'string',
|
|
2263
|
+
default: '',
|
|
2264
|
+
description: 'Unique identifier (ID) of the tag',
|
|
2265
|
+
displayOptions: {
|
|
2266
|
+
show: {
|
|
2267
|
+
operation: [
|
|
2268
|
+
'deleteTagDelete',
|
|
2269
|
+
'getTagGet',
|
|
2270
|
+
'updateTagPatch',
|
|
2271
|
+
],
|
|
2272
|
+
},
|
|
2273
|
+
},
|
|
2274
|
+
},
|
|
2275
|
+
{
|
|
2276
|
+
displayName: 'Task ID',
|
|
2277
|
+
name: 'task_id',
|
|
2278
|
+
type: 'string',
|
|
2279
|
+
default: '',
|
|
2280
|
+
description: 'Unique identifier (ID) of the board export task',
|
|
2281
|
+
displayOptions: {
|
|
2282
|
+
show: {
|
|
2283
|
+
operation: [
|
|
2284
|
+
'enterpriseCreateBoardExportTaskExportLinkPost',
|
|
2285
|
+
],
|
|
2286
|
+
},
|
|
2287
|
+
},
|
|
2288
|
+
},
|
|
2289
|
+
{
|
|
2290
|
+
displayName: 'Team ID',
|
|
2291
|
+
name: 'team_id',
|
|
2292
|
+
type: 'string',
|
|
2293
|
+
default: '',
|
|
2294
|
+
description: 'Unique identifier (ID) of the team',
|
|
2295
|
+
displayOptions: {
|
|
2296
|
+
show: {
|
|
2297
|
+
operation: [
|
|
2298
|
+
'enterpriseAddProjectMemberPost',
|
|
2299
|
+
'enterpriseCreateProjectPost',
|
|
2300
|
+
'enterpriseDataclassificationBoardGetGet',
|
|
2301
|
+
'enterpriseDataclassificationBoardSetPost',
|
|
2302
|
+
'enterpriseDataclassificationTeamBoardsBulkPatch',
|
|
2303
|
+
'enterpriseDataclassificationTeamSettingsGetGet',
|
|
2304
|
+
'enterpriseDataclassificationTeamSettingsSetPatch',
|
|
2305
|
+
'enterpriseDeleteProjectDelete',
|
|
2306
|
+
'enterpriseDeleteProjectMemberDelete',
|
|
2307
|
+
'enterpriseDeleteTeamDelete',
|
|
2308
|
+
'enterpriseDeleteTeamMemberDelete',
|
|
2309
|
+
'enterpriseGetProjectGet',
|
|
2310
|
+
'enterpriseGetProjectMemberGet',
|
|
2311
|
+
'enterpriseGetProjectMembersGet',
|
|
2312
|
+
'enterpriseGetProjectSettingsGet',
|
|
2313
|
+
'enterpriseGetProjectsGet',
|
|
2314
|
+
'enterpriseGetTeamGet',
|
|
2315
|
+
'enterpriseGetTeamMemberGet',
|
|
2316
|
+
'enterpriseGetTeamMembersGet',
|
|
2317
|
+
'enterpriseGetTeamSettingsGet',
|
|
2318
|
+
'enterpriseGroupsGetTeamGet',
|
|
2319
|
+
'enterpriseInviteTeamMemberPost',
|
|
2320
|
+
'enterpriseTeamsCreateGroupPost',
|
|
2321
|
+
'enterpriseTeamsDeleteGroupDelete',
|
|
2322
|
+
'enterpriseTeamsGetGroupGet',
|
|
2323
|
+
'enterpriseTeamsGetGroupsGet',
|
|
2324
|
+
'enterpriseUpdateProjectMemberPatch',
|
|
2325
|
+
'enterpriseUpdateProjectPatch',
|
|
2326
|
+
'enterpriseUpdateProjectSettingsPatch',
|
|
2327
|
+
'enterpriseUpdateTeamMemberPatch',
|
|
2328
|
+
'enterpriseUpdateTeamPatch',
|
|
2329
|
+
'enterpriseUpdateTeamSettingsPatch',
|
|
2330
|
+
],
|
|
2331
|
+
},
|
|
2332
|
+
},
|
|
2333
|
+
},
|
|
2334
|
+
{
|
|
2335
|
+
displayName: 'Binary Property',
|
|
2336
|
+
name: 'binaryPropertyName',
|
|
2337
|
+
type: 'string',
|
|
2338
|
+
default: 'data',
|
|
2339
|
+
required: true,
|
|
2340
|
+
description: 'Name of the binary property that holds the file to upload. Miro rejects uploads larger than 6 MB.',
|
|
2341
|
+
displayOptions: {
|
|
2342
|
+
show: {
|
|
2343
|
+
operation: [
|
|
2344
|
+
'createDocumentItemUsingFileFromDevicePost',
|
|
2345
|
+
'createImageItemUsingLocalFilePost',
|
|
2346
|
+
'createItemsInBulkUsingFileFromDevicePost',
|
|
2347
|
+
'updateDocumentItemUsingFileFromDevicePatch',
|
|
2348
|
+
'updateImageItemUsingFileFromDevicePatch',
|
|
2349
|
+
],
|
|
2350
|
+
},
|
|
2351
|
+
},
|
|
2352
|
+
},
|
|
2353
|
+
{
|
|
2354
|
+
displayName: 'Resource Binary Properties',
|
|
2355
|
+
name: 'resourceBinaryProperties',
|
|
2356
|
+
type: 'string',
|
|
2357
|
+
default: 'resource',
|
|
2358
|
+
required: true,
|
|
2359
|
+
description: 'Comma-separated names of the binary properties that hold the files to create, 20 at most',
|
|
2360
|
+
displayOptions: {
|
|
2361
|
+
show: {
|
|
2362
|
+
operation: [
|
|
2363
|
+
'createItemsInBulkUsingFileFromDevicePost',
|
|
2364
|
+
],
|
|
2365
|
+
},
|
|
2366
|
+
},
|
|
2367
|
+
},
|
|
2368
|
+
{
|
|
2369
|
+
displayName: 'Query Parameters',
|
|
2370
|
+
name: 'queryParameters',
|
|
2371
|
+
type: 'collection',
|
|
2372
|
+
placeholder: 'Add Query Parameters',
|
|
2373
|
+
default: {},
|
|
2374
|
+
options: [
|
|
2375
|
+
{
|
|
2376
|
+
displayName: 'Active',
|
|
2377
|
+
name: 'active',
|
|
2378
|
+
type: 'boolean',
|
|
2379
|
+
default: false,
|
|
2380
|
+
description: 'Whether to return only active organization members',
|
|
2381
|
+
},
|
|
2382
|
+
{
|
|
2383
|
+
displayName: 'Board IDs',
|
|
2384
|
+
name: 'board_ids',
|
|
2385
|
+
type: 'string',
|
|
2386
|
+
default: '',
|
|
2387
|
+
description: 'List of board IDs for which you want to retrieve the content logs Provide a comma-separated list',
|
|
2388
|
+
},
|
|
2389
|
+
{
|
|
2390
|
+
displayName: 'Copy From',
|
|
2391
|
+
name: 'copy_from',
|
|
2392
|
+
type: 'string',
|
|
2393
|
+
default: '',
|
|
2394
|
+
description: 'Unique identifier (ID) of the board that you want to copy',
|
|
2395
|
+
},
|
|
2396
|
+
{
|
|
2397
|
+
displayName: 'Created After',
|
|
2398
|
+
name: 'createdAfter',
|
|
2399
|
+
type: 'string',
|
|
2400
|
+
default: '',
|
|
2401
|
+
description: 'Retrieve audit logs created after this date, as an ISO-8601 timestamp',
|
|
2402
|
+
},
|
|
2403
|
+
{
|
|
2404
|
+
displayName: 'Created Before',
|
|
2405
|
+
name: 'createdBefore',
|
|
2406
|
+
type: 'string',
|
|
2407
|
+
default: '',
|
|
2408
|
+
description: 'Retrieve audit logs created before this date, as an ISO-8601 timestamp',
|
|
2409
|
+
},
|
|
2410
|
+
{
|
|
2411
|
+
displayName: 'Creator ID',
|
|
2412
|
+
name: 'creatorId',
|
|
2413
|
+
type: 'string',
|
|
2414
|
+
default: '',
|
|
2415
|
+
description: 'Unique identifier of the board export job creator Provide a comma-separated list',
|
|
2416
|
+
},
|
|
2417
|
+
{
|
|
2418
|
+
displayName: 'Cursor',
|
|
2419
|
+
name: 'cursor',
|
|
2420
|
+
type: 'string',
|
|
2421
|
+
default: '',
|
|
2422
|
+
description: 'A cursor-paginated method returns a portion of the total set of results based on the limit specified and a cursor that points to the next portion of the results',
|
|
2423
|
+
},
|
|
2424
|
+
{
|
|
2425
|
+
displayName: 'Email',
|
|
2426
|
+
name: 'email',
|
|
2427
|
+
placeholder: 'name@email.com',
|
|
2428
|
+
type: 'string',
|
|
2429
|
+
default: '',
|
|
2430
|
+
description: 'Email address of the user whose sessions you want to reset',
|
|
2431
|
+
},
|
|
2432
|
+
{
|
|
2433
|
+
displayName: 'Emails',
|
|
2434
|
+
name: 'emails',
|
|
2435
|
+
type: 'string',
|
|
2436
|
+
default: '',
|
|
2437
|
+
description: 'Filters AI interaction logs using a list of user emails. Only AI interactions associated with the provided emails will be included in the response. Provide a comma-separated list.',
|
|
2438
|
+
},
|
|
2439
|
+
{
|
|
2440
|
+
displayName: 'End Date',
|
|
2441
|
+
name: 'endDate',
|
|
2442
|
+
type: 'string',
|
|
2443
|
+
default: '',
|
|
2444
|
+
description: 'End date of the reporting period, as YYYY-MM-DD',
|
|
2445
|
+
},
|
|
2446
|
+
{
|
|
2447
|
+
displayName: 'From',
|
|
2448
|
+
name: 'from',
|
|
2449
|
+
type: 'string',
|
|
2450
|
+
default: '',
|
|
2451
|
+
description: 'Start of the period to retrieve, as an ISO-8601 timestamp',
|
|
2452
|
+
},
|
|
2453
|
+
{
|
|
2454
|
+
displayName: 'Group Item ID',
|
|
2455
|
+
name: 'group_item_id',
|
|
2456
|
+
type: 'string',
|
|
2457
|
+
default: '',
|
|
2458
|
+
description: 'Unique identifier (ID) of the group whose items you want to retrieve',
|
|
2459
|
+
},
|
|
2460
|
+
{
|
|
2461
|
+
displayName: 'License',
|
|
2462
|
+
name: 'license',
|
|
2463
|
+
type: 'options',
|
|
2464
|
+
options: [
|
|
2465
|
+
{ name: 'Advanced', value: 'advanced' },
|
|
2466
|
+
{ name: 'Basic', value: 'basic' },
|
|
2467
|
+
{ name: 'Free', value: 'free' },
|
|
2468
|
+
{ name: 'Free Restricted', value: 'free_restricted' },
|
|
2469
|
+
{ name: 'Full', value: 'full' },
|
|
2470
|
+
{ name: 'Full Trial', value: 'full_trial' },
|
|
2471
|
+
{ name: 'Occasional', value: 'occasional' },
|
|
2472
|
+
{ name: 'Standard', value: 'standard' },
|
|
2473
|
+
{ name: 'Unknown', value: 'unknown' },
|
|
2474
|
+
],
|
|
2475
|
+
default: 'advanced',
|
|
2476
|
+
description: 'Filter organization members by the license assigned to them',
|
|
2477
|
+
},
|
|
2478
|
+
{
|
|
2479
|
+
displayName: 'Limit',
|
|
2480
|
+
name: 'limit',
|
|
2481
|
+
type: 'number',
|
|
2482
|
+
typeOptions: { minValue: 1 },
|
|
2483
|
+
default: 50,
|
|
2484
|
+
description: 'Max number of results to return',
|
|
2485
|
+
},
|
|
2486
|
+
{
|
|
2487
|
+
displayName: 'Name',
|
|
2488
|
+
name: 'name',
|
|
2489
|
+
type: 'string',
|
|
2490
|
+
default: '',
|
|
2491
|
+
description: 'Name query. Filters teams by name using case insensitive partial match. A value "dev" will return both "Developer\'s team" and "Team for developers".',
|
|
2492
|
+
},
|
|
2493
|
+
{
|
|
2494
|
+
displayName: 'Object IDs',
|
|
2495
|
+
name: 'object_ids',
|
|
2496
|
+
type: 'string',
|
|
2497
|
+
default: '',
|
|
2498
|
+
description: 'List of object IDs used to retrieve AI interaction logs. Currently, supported object types include board IDs and organization IDs. Provide a comma-separated list.',
|
|
2499
|
+
},
|
|
2500
|
+
{
|
|
2501
|
+
displayName: 'Offset',
|
|
2502
|
+
name: 'offset',
|
|
2503
|
+
type: 'string',
|
|
2504
|
+
default: '',
|
|
2505
|
+
description: 'Number of results to skip before returning results',
|
|
2506
|
+
},
|
|
2507
|
+
{
|
|
2508
|
+
displayName: 'Owner',
|
|
2509
|
+
name: 'owner',
|
|
2510
|
+
type: 'string',
|
|
2511
|
+
default: '',
|
|
2512
|
+
description: 'Filter boards by the email address of their owner',
|
|
2513
|
+
},
|
|
2514
|
+
{
|
|
2515
|
+
displayName: 'Parent Item ID',
|
|
2516
|
+
name: 'parent_item_id',
|
|
2517
|
+
type: 'string',
|
|
2518
|
+
default: '',
|
|
2519
|
+
description: 'Unique identifier (ID) of the frame whose items you want to retrieve',
|
|
2520
|
+
},
|
|
2521
|
+
{
|
|
2522
|
+
displayName: 'Period',
|
|
2523
|
+
name: 'period',
|
|
2524
|
+
type: 'options',
|
|
2525
|
+
options: [
|
|
2526
|
+
{ name: 'Day', value: 'DAY' },
|
|
2527
|
+
{ name: 'Month', value: 'MONTH' },
|
|
2528
|
+
{ name: 'Week', value: 'WEEK' },
|
|
2529
|
+
],
|
|
2530
|
+
default: 'WEEK',
|
|
2531
|
+
description: 'Group data by this time period',
|
|
2532
|
+
},
|
|
2533
|
+
{
|
|
2534
|
+
displayName: 'Project ID',
|
|
2535
|
+
name: 'project_id',
|
|
2536
|
+
type: 'string',
|
|
2537
|
+
default: '',
|
|
2538
|
+
description: 'Unique identifier (ID) of the project',
|
|
2539
|
+
},
|
|
2540
|
+
{
|
|
2541
|
+
displayName: 'Query',
|
|
2542
|
+
name: 'query',
|
|
2543
|
+
type: 'string',
|
|
2544
|
+
default: '',
|
|
2545
|
+
description: 'Search term to filter boards by name or description',
|
|
2546
|
+
},
|
|
2547
|
+
{
|
|
2548
|
+
displayName: 'Request ID',
|
|
2549
|
+
name: 'request_id',
|
|
2550
|
+
type: 'string',
|
|
2551
|
+
default: '',
|
|
2552
|
+
description: 'Unique identifier (UUID) that you generate for this export request',
|
|
2553
|
+
},
|
|
2554
|
+
{
|
|
2555
|
+
displayName: 'Role',
|
|
2556
|
+
name: 'role',
|
|
2557
|
+
type: 'options',
|
|
2558
|
+
options: [
|
|
2559
|
+
{ name: 'Organization External User', value: 'organization_external_user' },
|
|
2560
|
+
{ name: 'Organization Internal Admin', value: 'organization_internal_admin' },
|
|
2561
|
+
{ name: 'Organization Internal User', value: 'organization_internal_user' },
|
|
2562
|
+
{ name: 'Organization Team Guest User', value: 'organization_team_guest_user' },
|
|
2563
|
+
{ name: 'Unknown', value: 'unknown' },
|
|
2564
|
+
],
|
|
2565
|
+
default: 'organization_external_user',
|
|
2566
|
+
description: 'Filter members by the role assigned to them',
|
|
2567
|
+
},
|
|
2568
|
+
{
|
|
2569
|
+
displayName: 'Sort',
|
|
2570
|
+
name: 'sort',
|
|
2571
|
+
type: 'options',
|
|
2572
|
+
options: [
|
|
2573
|
+
{ name: 'Alphabetically', value: 'alphabetically' },
|
|
2574
|
+
{ name: 'Default', value: 'default' },
|
|
2575
|
+
{ name: 'Last Created', value: 'last_created' },
|
|
2576
|
+
{ name: 'Last Modified', value: 'last_modified' },
|
|
2577
|
+
{ name: 'Last Opened', value: 'last_opened' },
|
|
2578
|
+
],
|
|
2579
|
+
default: 'default',
|
|
2580
|
+
description: 'Order in which you want to view the result set',
|
|
2581
|
+
},
|
|
2582
|
+
{
|
|
2583
|
+
displayName: 'Sorting',
|
|
2584
|
+
name: 'sorting',
|
|
2585
|
+
type: 'options',
|
|
2586
|
+
options: [
|
|
2587
|
+
{ name: 'Asc', value: 'asc' },
|
|
2588
|
+
{ name: 'Desc', value: 'desc' },
|
|
2589
|
+
],
|
|
2590
|
+
default: 'asc',
|
|
2591
|
+
description: 'Sort order in which you want to view the result set based on the interaction date. To sort by an ascending date, specify `asc`.',
|
|
2592
|
+
},
|
|
2593
|
+
{
|
|
2594
|
+
displayName: 'Start Date',
|
|
2595
|
+
name: 'startDate',
|
|
2596
|
+
type: 'string',
|
|
2597
|
+
default: '',
|
|
2598
|
+
description: 'Start date of the reporting period, as YYYY-MM-DD',
|
|
2599
|
+
},
|
|
2600
|
+
{
|
|
2601
|
+
displayName: 'Status',
|
|
2602
|
+
name: 'status',
|
|
2603
|
+
type: 'string',
|
|
2604
|
+
default: '',
|
|
2605
|
+
description: 'Status of the board export jobs that you want to retrieve, such as JOB_STATUS_CREATED, JOB_STATUS_IN_PROGRESS, JOB_STATUS_CANCELLED or JOB_STATUS_FINISHED Provide a comma-separated list',
|
|
2606
|
+
},
|
|
2607
|
+
{
|
|
2608
|
+
displayName: 'Tag ID',
|
|
2609
|
+
name: 'tag_id',
|
|
2610
|
+
type: 'string',
|
|
2611
|
+
default: '',
|
|
2612
|
+
description: 'Unique identifier (ID) of the tag',
|
|
2613
|
+
},
|
|
2614
|
+
{
|
|
2615
|
+
displayName: 'Team ID',
|
|
2616
|
+
name: 'team_id',
|
|
2617
|
+
type: 'string',
|
|
2618
|
+
default: '',
|
|
2619
|
+
description: 'Unique identifier (ID) of the team',
|
|
2620
|
+
},
|
|
2621
|
+
{
|
|
2622
|
+
displayName: 'Text Content Type',
|
|
2623
|
+
name: 'textContentType',
|
|
2624
|
+
type: 'options',
|
|
2625
|
+
options: [
|
|
2626
|
+
{ name: 'Html', value: 'html' },
|
|
2627
|
+
{ name: 'Markdown', value: 'markdown' },
|
|
2628
|
+
],
|
|
2629
|
+
default: 'html',
|
|
2630
|
+
description: 'Controls the contentType of the returned doc\'s content',
|
|
2631
|
+
},
|
|
2632
|
+
{
|
|
2633
|
+
displayName: 'To',
|
|
2634
|
+
name: 'to',
|
|
2635
|
+
type: 'string',
|
|
2636
|
+
default: '',
|
|
2637
|
+
description: 'End of the period to retrieve, as an ISO-8601 timestamp',
|
|
2638
|
+
},
|
|
2639
|
+
{
|
|
2640
|
+
displayName: 'Type',
|
|
2641
|
+
name: 'type',
|
|
2642
|
+
type: 'options',
|
|
2643
|
+
options: [
|
|
2644
|
+
{ name: 'App Card', value: 'app_card' },
|
|
2645
|
+
{ name: 'Card', value: 'card' },
|
|
2646
|
+
{ name: 'Data Table Format', value: 'data_table_format' },
|
|
2647
|
+
{ name: 'Doc Format', value: 'doc_format' },
|
|
2648
|
+
{ name: 'Document', value: 'document' },
|
|
2649
|
+
{ name: 'Embed', value: 'embed' },
|
|
2650
|
+
{ name: 'Frame', value: 'frame' },
|
|
2651
|
+
{ name: 'Image', value: 'image' },
|
|
2652
|
+
{ name: 'Preview', value: 'preview' },
|
|
2653
|
+
{ name: 'Shape', value: 'shape' },
|
|
2654
|
+
{ name: 'Sticky Note', value: 'sticky_note' },
|
|
2655
|
+
{ name: 'Text', value: 'text' },
|
|
2656
|
+
],
|
|
2657
|
+
default: 'app_card',
|
|
2658
|
+
description: 'Type of items to retrieve',
|
|
2659
|
+
},
|
|
2660
|
+
],
|
|
2661
|
+
},
|
|
2662
|
+
{
|
|
2663
|
+
displayName: 'Request Body',
|
|
2664
|
+
name: 'requestBody',
|
|
2665
|
+
type: 'json',
|
|
2666
|
+
default: '{}',
|
|
2667
|
+
description: 'Raw JSON request body. See the Miro API reference of the selected operation for its schema.',
|
|
2668
|
+
displayOptions: {
|
|
2669
|
+
show: {
|
|
2670
|
+
operation: [
|
|
2671
|
+
'copyBoardPut',
|
|
2672
|
+
'createAppCardItemPost',
|
|
2673
|
+
'createBoardPost',
|
|
2674
|
+
'createCardItemPost',
|
|
2675
|
+
'createCasePost',
|
|
2676
|
+
'createCodeWidgetItemPost',
|
|
2677
|
+
'createConnectorPost',
|
|
2678
|
+
'createDocFormatItemPost',
|
|
2679
|
+
'createDocumentItemUsingFileFromDevicePost',
|
|
2680
|
+
'createDocumentItemUsingUrlPost',
|
|
2681
|
+
'createEmbedItemPost',
|
|
2682
|
+
'createFrameItemPost',
|
|
2683
|
+
'createGroupPost',
|
|
2684
|
+
'createImageItemUsingLocalFilePost',
|
|
2685
|
+
'createImageItemUsingUrlPost',
|
|
2686
|
+
'createItemsInBulkUsingFileFromDevicePost',
|
|
2687
|
+
'createItemsPost',
|
|
2688
|
+
'createLegalHoldPost',
|
|
2689
|
+
'createMindmapNodesExperimentalPost',
|
|
2690
|
+
'createShapeItemFlowchartPost',
|
|
2691
|
+
'createShapeItemPost',
|
|
2692
|
+
'createStickyNoteItemPost',
|
|
2693
|
+
'createTagPost',
|
|
2694
|
+
'createTextItemPost',
|
|
2695
|
+
'editCasePut',
|
|
2696
|
+
'editLegalHoldPut',
|
|
2697
|
+
'enterpriseAddProjectMemberPost',
|
|
2698
|
+
'enterpriseBoardsCreateGroupPost',
|
|
2699
|
+
'enterpriseCreateBoardExportPost',
|
|
2700
|
+
'enterpriseCreateGroupMemberPost',
|
|
2701
|
+
'enterpriseCreateGroupPost',
|
|
2702
|
+
'enterpriseCreateProjectPost',
|
|
2703
|
+
'enterpriseCreateTeamPost',
|
|
2704
|
+
'enterpriseDataclassificationBoardSetPost',
|
|
2705
|
+
'enterpriseDataclassificationTeamBoardsBulkPatch',
|
|
2706
|
+
'enterpriseDataclassificationTeamSettingsSetPatch',
|
|
2707
|
+
'enterpriseInviteTeamMemberPost',
|
|
2708
|
+
'enterpriseProjectCreateGroupPost',
|
|
2709
|
+
'enterpriseTeamsCreateGroupPost',
|
|
2710
|
+
'enterpriseUpdateBoardExportJobPut',
|
|
2711
|
+
'enterpriseUpdateGroupMembersPatch',
|
|
2712
|
+
'enterpriseUpdateGroupPatch',
|
|
2713
|
+
'enterpriseUpdateProjectMemberPatch',
|
|
2714
|
+
'enterpriseUpdateProjectPatch',
|
|
2715
|
+
'enterpriseUpdateProjectSettingsPatch',
|
|
2716
|
+
'enterpriseUpdateTeamMemberPatch',
|
|
2717
|
+
'enterpriseUpdateTeamPatch',
|
|
2718
|
+
'enterpriseUpdateTeamSettingsPatch',
|
|
2719
|
+
'moveCodeWidgetItemPatch',
|
|
2720
|
+
'revokeTokenV2Post',
|
|
2721
|
+
'shareBoardPost',
|
|
2722
|
+
'updateAppCardItemPatch',
|
|
2723
|
+
'updateBoardMemberPatch',
|
|
2724
|
+
'updateBoardPatch',
|
|
2725
|
+
'updateCardItemPatch',
|
|
2726
|
+
'updateCodeWidgetItemPatch',
|
|
2727
|
+
'updateConnectorPatch',
|
|
2728
|
+
'updateDocumentItemUsingFileFromDevicePatch',
|
|
2729
|
+
'updateDocumentItemUsingUrlPatch',
|
|
2730
|
+
'updateEmbedItemPatch',
|
|
2731
|
+
'updateFrameItemPatch',
|
|
2732
|
+
'updateGroupPut',
|
|
2733
|
+
'updateImageItemUsingFileFromDevicePatch',
|
|
2734
|
+
'updateImageItemUsingUrlPatch',
|
|
2735
|
+
'updateItemPositionOrParentPatch',
|
|
2736
|
+
'updateShapeItemFlowchartPatch',
|
|
2737
|
+
'updateShapeItemPatch',
|
|
2738
|
+
'updateStickyNoteItemPatch',
|
|
2739
|
+
'updateTagPatch',
|
|
2740
|
+
'updateTextItemPatch',
|
|
2741
|
+
],
|
|
2742
|
+
},
|
|
2743
|
+
},
|
|
2744
|
+
},
|
|
2745
|
+
],
|
|
2746
|
+
};
|
|
2747
|
+
}
|
|
2748
|
+
async execute() {
|
|
2749
|
+
const items = this.getInputData();
|
|
2750
|
+
const returnData = [];
|
|
2751
|
+
for (let i = 0; i < items.length; i++) {
|
|
2752
|
+
if (!this.continueOnFail()) {
|
|
2753
|
+
returnData.push(...(await executeItem.call(this, i)));
|
|
2754
|
+
continue;
|
|
2755
|
+
}
|
|
2756
|
+
try {
|
|
2757
|
+
returnData.push(...(await executeItem.call(this, i)));
|
|
2758
|
+
}
|
|
2759
|
+
catch (error) {
|
|
2760
|
+
returnData.push({
|
|
2761
|
+
json: { error: error.message },
|
|
2762
|
+
pairedItem: { item: i },
|
|
2763
|
+
});
|
|
2764
|
+
}
|
|
2765
|
+
}
|
|
2766
|
+
return [returnData];
|
|
2767
|
+
}
|
|
2768
|
+
}
|
|
2769
|
+
exports.Miro = Miro;
|
|
2770
|
+
async function executeItem(i) {
|
|
2771
|
+
var _a;
|
|
2772
|
+
const resource = this.getNodeParameter('resource', i, '');
|
|
2773
|
+
const operation = this.getNodeParameter('operation', i, '');
|
|
2774
|
+
const authentication = this.getNodeParameter('authentication', 0, 'accessToken');
|
|
2775
|
+
const credentialType = authentication === 'oAuth2' ? 'miroOAuth2Api' : 'miroApi';
|
|
2776
|
+
const appId = this.getNodeParameter('app_id', i, '');
|
|
2777
|
+
const boardId = this.getNodeParameter('board_id', i, '');
|
|
2778
|
+
const boardMemberId = this.getNodeParameter('board_member_id', i, '');
|
|
2779
|
+
const caseId = this.getNodeParameter('case_id', i, '');
|
|
2780
|
+
const connectorId = this.getNodeParameter('connector_id', i, '');
|
|
2781
|
+
const groupId = this.getNodeParameter('group_id', i, '');
|
|
2782
|
+
const itemId = this.getNodeParameter('item_id', i, '');
|
|
2783
|
+
const jobId = this.getNodeParameter('job_id', i, '');
|
|
2784
|
+
const legalHoldId = this.getNodeParameter('legal_hold_id', i, '');
|
|
2785
|
+
const memberId = this.getNodeParameter('member_id', i, '');
|
|
2786
|
+
const orgId = this.getNodeParameter('org_id', i, '');
|
|
2787
|
+
const projectId = this.getNodeParameter('project_id', i, '');
|
|
2788
|
+
const tagId = this.getNodeParameter('tag_id', i, '');
|
|
2789
|
+
const taskId = this.getNodeParameter('task_id', i, '');
|
|
2790
|
+
const teamId = this.getNodeParameter('team_id', i, '');
|
|
2791
|
+
const queryParameters = this.getNodeParameter('queryParameters', i, {});
|
|
2792
|
+
const queryParams = new URLSearchParams();
|
|
2793
|
+
Object.entries(queryParameters).forEach(([key, value]) => {
|
|
2794
|
+
if (value === '' || value === null || value === undefined)
|
|
2795
|
+
return;
|
|
2796
|
+
queryParams.append(key, String(value));
|
|
2797
|
+
});
|
|
2798
|
+
switch (operation) {
|
|
2799
|
+
case 'attachTagToItemPost':
|
|
2800
|
+
case 'getItemsByTagGet':
|
|
2801
|
+
case 'removeTagFromItemDelete':
|
|
2802
|
+
if (!queryParams.has('tag_id')) {
|
|
2803
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'This operation needs the Tag ID query parameter. Add it under Query Parameters', { itemIndex: i });
|
|
2804
|
+
}
|
|
2805
|
+
break;
|
|
2806
|
+
case 'copyBoardPut':
|
|
2807
|
+
if (!queryParams.has('copy_from')) {
|
|
2808
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'This operation needs the Copy From query parameter. Add it under Query Parameters', { itemIndex: i });
|
|
2809
|
+
}
|
|
2810
|
+
break;
|
|
2811
|
+
case 'deleteGroupDelete':
|
|
2812
|
+
queryParams.set('delete_items', 'true');
|
|
2813
|
+
break;
|
|
2814
|
+
case 'enterpriseBoardContentItemLogsFetchGet':
|
|
2815
|
+
case 'enterpriseGetAiInteractionLogsGet':
|
|
2816
|
+
if (!queryParams.has('from') || !queryParams.has('to')) {
|
|
2817
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'This operation needs the From and To query parameters. Add them under Query Parameters', { itemIndex: i });
|
|
2818
|
+
}
|
|
2819
|
+
break;
|
|
2820
|
+
case 'enterpriseCreateBoardExportPost':
|
|
2821
|
+
if (!queryParams.has('request_id')) {
|
|
2822
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'This operation needs the Request ID query parameter. Add it under Query Parameters', { itemIndex: i });
|
|
2823
|
+
}
|
|
2824
|
+
break;
|
|
2825
|
+
case 'enterpriseGetAuditLogsGet':
|
|
2826
|
+
if (!queryParams.has('createdAfter') || !queryParams.has('createdBefore')) {
|
|
2827
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'This operation needs the Created After and Created Before query parameters. Add them under Query Parameters', { itemIndex: i });
|
|
2828
|
+
}
|
|
2829
|
+
break;
|
|
2830
|
+
case 'enterprisePostUserSessionsResetPost':
|
|
2831
|
+
if (!queryParams.has('email')) {
|
|
2832
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'This operation needs the Email query parameter. Add it under Query Parameters', { itemIndex: i });
|
|
2833
|
+
}
|
|
2834
|
+
break;
|
|
2835
|
+
case 'getItemsByGroupIdGet':
|
|
2836
|
+
if (!queryParams.has('group_item_id')) {
|
|
2837
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'This operation needs the Group Item ID query parameter. Add it under Query Parameters', { itemIndex: i });
|
|
2838
|
+
}
|
|
2839
|
+
break;
|
|
2840
|
+
case 'getItemsWithinFrameGet':
|
|
2841
|
+
if (!queryParams.has('parent_item_id')) {
|
|
2842
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'This operation needs the Parent Item ID query parameter. Add it under Query Parameters', { itemIndex: i });
|
|
2843
|
+
}
|
|
2844
|
+
break;
|
|
2845
|
+
case 'getMetricsGet':
|
|
2846
|
+
if (!queryParams.has('endDate') || !queryParams.has('startDate')) {
|
|
2847
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'This operation needs the End Date and Start Date query parameters. Add them under Query Parameters', { itemIndex: i });
|
|
2848
|
+
}
|
|
2849
|
+
break;
|
|
2850
|
+
case 'unGroupDelete':
|
|
2851
|
+
queryParams.set('delete_items', 'false');
|
|
2852
|
+
break;
|
|
2853
|
+
default:
|
|
2854
|
+
break;
|
|
2855
|
+
}
|
|
2856
|
+
const queryString = queryParams.toString() ? `?${queryParams.toString()}` : '';
|
|
2857
|
+
let endpointPath = '';
|
|
2858
|
+
switch (resource) {
|
|
2859
|
+
case 'appsMetric':
|
|
2860
|
+
switch (operation) {
|
|
2861
|
+
case 'getMetricsGet':
|
|
2862
|
+
if (!appId) {
|
|
2863
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'App ID is required', { itemIndex: i });
|
|
2864
|
+
}
|
|
2865
|
+
endpointPath = `/v2-experimental/apps/${appId}/metrics${queryString}`;
|
|
2866
|
+
break;
|
|
2867
|
+
case 'getMetricsTotalGet':
|
|
2868
|
+
if (!appId) {
|
|
2869
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'App ID is required', { itemIndex: i });
|
|
2870
|
+
}
|
|
2871
|
+
endpointPath = `/v2-experimental/apps/${appId}/metrics-total${queryString}`;
|
|
2872
|
+
break;
|
|
2873
|
+
default:
|
|
2874
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
2875
|
+
}
|
|
2876
|
+
break;
|
|
2877
|
+
case 'authenticationToken':
|
|
2878
|
+
switch (operation) {
|
|
2879
|
+
case 'revokeTokenV2Post':
|
|
2880
|
+
endpointPath = `/v2/oauth/revoke${queryString}`;
|
|
2881
|
+
break;
|
|
2882
|
+
default:
|
|
2883
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
2884
|
+
}
|
|
2885
|
+
break;
|
|
2886
|
+
case 'boardsBoard':
|
|
2887
|
+
switch (operation) {
|
|
2888
|
+
case 'copyBoardPut':
|
|
2889
|
+
case 'createBoardPost':
|
|
2890
|
+
case 'getBoardsGet':
|
|
2891
|
+
endpointPath = `/v2/boards${queryString}`;
|
|
2892
|
+
break;
|
|
2893
|
+
case 'deleteBoardDelete':
|
|
2894
|
+
case 'getSpecificBoardGet':
|
|
2895
|
+
case 'updateBoardPatch':
|
|
2896
|
+
if (!boardId) {
|
|
2897
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
2898
|
+
}
|
|
2899
|
+
endpointPath = `/v2/boards/${boardId}${queryString}`;
|
|
2900
|
+
break;
|
|
2901
|
+
default:
|
|
2902
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
2903
|
+
}
|
|
2904
|
+
break;
|
|
2905
|
+
case 'boardsExportJob':
|
|
2906
|
+
switch (operation) {
|
|
2907
|
+
case 'enterpriseBoardExportJobResultsGet':
|
|
2908
|
+
if (!orgId) {
|
|
2909
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
2910
|
+
}
|
|
2911
|
+
if (!jobId) {
|
|
2912
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Job ID is required', { itemIndex: i });
|
|
2913
|
+
}
|
|
2914
|
+
endpointPath = `/v2/orgs/${orgId}/boards/export/jobs/${jobId}/results${queryString}`;
|
|
2915
|
+
break;
|
|
2916
|
+
case 'enterpriseBoardExportJobStatusGet':
|
|
2917
|
+
if (!orgId) {
|
|
2918
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
2919
|
+
}
|
|
2920
|
+
if (!jobId) {
|
|
2921
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Job ID is required', { itemIndex: i });
|
|
2922
|
+
}
|
|
2923
|
+
endpointPath = `/v2/orgs/${orgId}/boards/export/jobs/${jobId}${queryString}`;
|
|
2924
|
+
break;
|
|
2925
|
+
case 'enterpriseBoardExportJobTasksGet':
|
|
2926
|
+
if (!orgId) {
|
|
2927
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
2928
|
+
}
|
|
2929
|
+
if (!jobId) {
|
|
2930
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Job ID is required', { itemIndex: i });
|
|
2931
|
+
}
|
|
2932
|
+
endpointPath = `/v2/orgs/${orgId}/boards/export/jobs/${jobId}/tasks${queryString}`;
|
|
2933
|
+
break;
|
|
2934
|
+
case 'enterpriseBoardExportJobsGet':
|
|
2935
|
+
case 'enterpriseCreateBoardExportPost':
|
|
2936
|
+
if (!orgId) {
|
|
2937
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
2938
|
+
}
|
|
2939
|
+
endpointPath = `/v2/orgs/${orgId}/boards/export/jobs${queryString}`;
|
|
2940
|
+
break;
|
|
2941
|
+
case 'enterpriseCreateBoardExportTaskExportLinkPost':
|
|
2942
|
+
if (!orgId) {
|
|
2943
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
2944
|
+
}
|
|
2945
|
+
if (!jobId) {
|
|
2946
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Job ID is required', { itemIndex: i });
|
|
2947
|
+
}
|
|
2948
|
+
if (!taskId) {
|
|
2949
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Task ID is required', { itemIndex: i });
|
|
2950
|
+
}
|
|
2951
|
+
endpointPath = `/v2/orgs/${orgId}/boards/export/jobs/${jobId}/tasks/${taskId}/export-link${queryString}`;
|
|
2952
|
+
break;
|
|
2953
|
+
case 'enterpriseUpdateBoardExportJobPut':
|
|
2954
|
+
if (!orgId) {
|
|
2955
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
2956
|
+
}
|
|
2957
|
+
if (!jobId) {
|
|
2958
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Job ID is required', { itemIndex: i });
|
|
2959
|
+
}
|
|
2960
|
+
endpointPath = `/v2/orgs/${orgId}/boards/export/jobs/${jobId}/status${queryString}`;
|
|
2961
|
+
break;
|
|
2962
|
+
default:
|
|
2963
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
2964
|
+
}
|
|
2965
|
+
break;
|
|
2966
|
+
case 'boardsMember':
|
|
2967
|
+
switch (operation) {
|
|
2968
|
+
case 'getBoardMembersGet':
|
|
2969
|
+
case 'shareBoardPost':
|
|
2970
|
+
if (!boardId) {
|
|
2971
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
2972
|
+
}
|
|
2973
|
+
endpointPath = `/v2/boards/${boardId}/members${queryString}`;
|
|
2974
|
+
break;
|
|
2975
|
+
case 'getSpecificBoardMemberGet':
|
|
2976
|
+
case 'removeBoardMemberDelete':
|
|
2977
|
+
case 'updateBoardMemberPatch':
|
|
2978
|
+
if (!boardId) {
|
|
2979
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
2980
|
+
}
|
|
2981
|
+
if (!boardMemberId) {
|
|
2982
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board Member ID is required', { itemIndex: i });
|
|
2983
|
+
}
|
|
2984
|
+
endpointPath = `/v2/boards/${boardId}/members/${boardMemberId}${queryString}`;
|
|
2985
|
+
break;
|
|
2986
|
+
default:
|
|
2987
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
2988
|
+
}
|
|
2989
|
+
break;
|
|
2990
|
+
case 'boardsUserGroupAssignment':
|
|
2991
|
+
switch (operation) {
|
|
2992
|
+
case 'enterpriseBoardsCreateGroupPost':
|
|
2993
|
+
case 'enterpriseBoardsGetGroupsGet':
|
|
2994
|
+
if (!orgId) {
|
|
2995
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
2996
|
+
}
|
|
2997
|
+
if (!boardId) {
|
|
2998
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
2999
|
+
}
|
|
3000
|
+
endpointPath = `/v2/orgs/${orgId}/boards/${boardId}/groups${queryString}`;
|
|
3001
|
+
break;
|
|
3002
|
+
case 'enterpriseBoardsDeleteGroupsDelete':
|
|
3003
|
+
if (!orgId) {
|
|
3004
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3005
|
+
}
|
|
3006
|
+
if (!boardId) {
|
|
3007
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3008
|
+
}
|
|
3009
|
+
if (!groupId) {
|
|
3010
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Group ID is required', { itemIndex: i });
|
|
3011
|
+
}
|
|
3012
|
+
endpointPath = `/v2/orgs/${orgId}/boards/${boardId}/groups/${groupId}${queryString}`;
|
|
3013
|
+
break;
|
|
3014
|
+
default:
|
|
3015
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3016
|
+
}
|
|
3017
|
+
break;
|
|
3018
|
+
case 'governanceAIInteractionLog':
|
|
3019
|
+
switch (operation) {
|
|
3020
|
+
case 'enterpriseGetAiInteractionLogsGet':
|
|
3021
|
+
if (!orgId) {
|
|
3022
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3023
|
+
}
|
|
3024
|
+
endpointPath = `/v2/orgs/${orgId}/ai-interaction-logs${queryString}`;
|
|
3025
|
+
break;
|
|
3026
|
+
default:
|
|
3027
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3028
|
+
}
|
|
3029
|
+
break;
|
|
3030
|
+
case 'governanceAuditLog':
|
|
3031
|
+
switch (operation) {
|
|
3032
|
+
case 'enterpriseGetAuditLogsGet':
|
|
3033
|
+
endpointPath = `/v2/audit/logs${queryString}`;
|
|
3034
|
+
break;
|
|
3035
|
+
default:
|
|
3036
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3037
|
+
}
|
|
3038
|
+
break;
|
|
3039
|
+
case 'governanceBoardContentLog':
|
|
3040
|
+
switch (operation) {
|
|
3041
|
+
case 'enterpriseBoardContentItemLogsFetchGet':
|
|
3042
|
+
if (!orgId) {
|
|
3043
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3044
|
+
}
|
|
3045
|
+
endpointPath = `/v2/orgs/${orgId}/content-logs/items${queryString}`;
|
|
3046
|
+
break;
|
|
3047
|
+
default:
|
|
3048
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3049
|
+
}
|
|
3050
|
+
break;
|
|
3051
|
+
case 'governanceBoardDataClassification':
|
|
3052
|
+
switch (operation) {
|
|
3053
|
+
case 'enterpriseDataclassificationBoardGetGet':
|
|
3054
|
+
case 'enterpriseDataclassificationBoardSetPost':
|
|
3055
|
+
if (!orgId) {
|
|
3056
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3057
|
+
}
|
|
3058
|
+
if (!teamId) {
|
|
3059
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Team ID is required', { itemIndex: i });
|
|
3060
|
+
}
|
|
3061
|
+
if (!boardId) {
|
|
3062
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3063
|
+
}
|
|
3064
|
+
endpointPath = `/v2/orgs/${orgId}/teams/${teamId}/boards/${boardId}/data-classification${queryString}`;
|
|
3065
|
+
break;
|
|
3066
|
+
default:
|
|
3067
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3068
|
+
}
|
|
3069
|
+
break;
|
|
3070
|
+
case 'governanceLegalHold':
|
|
3071
|
+
switch (operation) {
|
|
3072
|
+
case 'createCasePost':
|
|
3073
|
+
case 'getAllCasesGet':
|
|
3074
|
+
if (!orgId) {
|
|
3075
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3076
|
+
}
|
|
3077
|
+
endpointPath = `/v2/orgs/${orgId}/cases${queryString}`;
|
|
3078
|
+
break;
|
|
3079
|
+
case 'createLegalHoldPost':
|
|
3080
|
+
case 'getAllLegalHoldsGet':
|
|
3081
|
+
if (!orgId) {
|
|
3082
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3083
|
+
}
|
|
3084
|
+
if (!caseId) {
|
|
3085
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Case ID is required', { itemIndex: i });
|
|
3086
|
+
}
|
|
3087
|
+
endpointPath = `/v2/orgs/${orgId}/cases/${caseId}/legal-holds${queryString}`;
|
|
3088
|
+
break;
|
|
3089
|
+
case 'deleteCaseDelete':
|
|
3090
|
+
case 'editCasePut':
|
|
3091
|
+
case 'getCaseGet':
|
|
3092
|
+
if (!orgId) {
|
|
3093
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3094
|
+
}
|
|
3095
|
+
if (!caseId) {
|
|
3096
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Case ID is required', { itemIndex: i });
|
|
3097
|
+
}
|
|
3098
|
+
endpointPath = `/v2/orgs/${orgId}/cases/${caseId}${queryString}`;
|
|
3099
|
+
break;
|
|
3100
|
+
case 'deleteLegalHoldDelete':
|
|
3101
|
+
case 'editLegalHoldPut':
|
|
3102
|
+
case 'getLegalHoldGet':
|
|
3103
|
+
if (!orgId) {
|
|
3104
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3105
|
+
}
|
|
3106
|
+
if (!caseId) {
|
|
3107
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Case ID is required', { itemIndex: i });
|
|
3108
|
+
}
|
|
3109
|
+
if (!legalHoldId) {
|
|
3110
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Legal Hold ID is required', { itemIndex: i });
|
|
3111
|
+
}
|
|
3112
|
+
endpointPath = `/v2/orgs/${orgId}/cases/${caseId}/legal-holds/${legalHoldId}${queryString}`;
|
|
3113
|
+
break;
|
|
3114
|
+
case 'getLegalHoldContentItemsGet':
|
|
3115
|
+
if (!orgId) {
|
|
3116
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3117
|
+
}
|
|
3118
|
+
if (!caseId) {
|
|
3119
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Case ID is required', { itemIndex: i });
|
|
3120
|
+
}
|
|
3121
|
+
if (!legalHoldId) {
|
|
3122
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Legal Hold ID is required', { itemIndex: i });
|
|
3123
|
+
}
|
|
3124
|
+
endpointPath = `/v2/orgs/${orgId}/cases/${caseId}/legal-holds/${legalHoldId}/content-items${queryString}`;
|
|
3125
|
+
break;
|
|
3126
|
+
case 'getLegalHoldExportJobsGet':
|
|
3127
|
+
if (!orgId) {
|
|
3128
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3129
|
+
}
|
|
3130
|
+
if (!caseId) {
|
|
3131
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Case ID is required', { itemIndex: i });
|
|
3132
|
+
}
|
|
3133
|
+
endpointPath = `/v2/orgs/${orgId}/cases/${caseId}/export-jobs${queryString}`;
|
|
3134
|
+
break;
|
|
3135
|
+
default:
|
|
3136
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3137
|
+
}
|
|
3138
|
+
break;
|
|
3139
|
+
case 'governanceOrganizationDataClassification':
|
|
3140
|
+
switch (operation) {
|
|
3141
|
+
case 'enterpriseDataclassificationOrganizationSettingsGetGet':
|
|
3142
|
+
if (!orgId) {
|
|
3143
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3144
|
+
}
|
|
3145
|
+
endpointPath = `/v2/orgs/${orgId}/data-classification-settings${queryString}`;
|
|
3146
|
+
break;
|
|
3147
|
+
default:
|
|
3148
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3149
|
+
}
|
|
3150
|
+
break;
|
|
3151
|
+
case 'governanceTeamDataClassification':
|
|
3152
|
+
switch (operation) {
|
|
3153
|
+
case 'enterpriseDataclassificationTeamBoardsBulkPatch':
|
|
3154
|
+
if (!orgId) {
|
|
3155
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3156
|
+
}
|
|
3157
|
+
if (!teamId) {
|
|
3158
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Team ID is required', { itemIndex: i });
|
|
3159
|
+
}
|
|
3160
|
+
endpointPath = `/v2/orgs/${orgId}/teams/${teamId}/data-classification${queryString}`;
|
|
3161
|
+
break;
|
|
3162
|
+
case 'enterpriseDataclassificationTeamSettingsGetGet':
|
|
3163
|
+
case 'enterpriseDataclassificationTeamSettingsSetPatch':
|
|
3164
|
+
if (!orgId) {
|
|
3165
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3166
|
+
}
|
|
3167
|
+
if (!teamId) {
|
|
3168
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Team ID is required', { itemIndex: i });
|
|
3169
|
+
}
|
|
3170
|
+
endpointPath = `/v2/orgs/${orgId}/teams/${teamId}/data-classification-settings${queryString}`;
|
|
3171
|
+
break;
|
|
3172
|
+
default:
|
|
3173
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3174
|
+
}
|
|
3175
|
+
break;
|
|
3176
|
+
case 'governanceUserSession':
|
|
3177
|
+
switch (operation) {
|
|
3178
|
+
case 'enterprisePostUserSessionsResetPost':
|
|
3179
|
+
endpointPath = `/v2/sessions/reset_all${queryString}`;
|
|
3180
|
+
break;
|
|
3181
|
+
default:
|
|
3182
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3183
|
+
}
|
|
3184
|
+
break;
|
|
3185
|
+
case 'itemsAppCard':
|
|
3186
|
+
switch (operation) {
|
|
3187
|
+
case 'createAppCardItemPost':
|
|
3188
|
+
if (!boardId) {
|
|
3189
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3190
|
+
}
|
|
3191
|
+
endpointPath = `/v2/boards/${boardId}/app_cards${queryString}`;
|
|
3192
|
+
break;
|
|
3193
|
+
case 'deleteAppCardItemDelete':
|
|
3194
|
+
case 'getAppCardItemGet':
|
|
3195
|
+
case 'updateAppCardItemPatch':
|
|
3196
|
+
if (!boardId) {
|
|
3197
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3198
|
+
}
|
|
3199
|
+
if (!itemId) {
|
|
3200
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Item ID is required', { itemIndex: i });
|
|
3201
|
+
}
|
|
3202
|
+
endpointPath = `/v2/boards/${boardId}/app_cards/${itemId}${queryString}`;
|
|
3203
|
+
break;
|
|
3204
|
+
default:
|
|
3205
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3206
|
+
}
|
|
3207
|
+
break;
|
|
3208
|
+
case 'itemsCard':
|
|
3209
|
+
switch (operation) {
|
|
3210
|
+
case 'createCardItemPost':
|
|
3211
|
+
if (!boardId) {
|
|
3212
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3213
|
+
}
|
|
3214
|
+
endpointPath = `/v2/boards/${boardId}/cards${queryString}`;
|
|
3215
|
+
break;
|
|
3216
|
+
case 'deleteCardItemDelete':
|
|
3217
|
+
case 'getCardItemGet':
|
|
3218
|
+
case 'updateCardItemPatch':
|
|
3219
|
+
if (!boardId) {
|
|
3220
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3221
|
+
}
|
|
3222
|
+
if (!itemId) {
|
|
3223
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Item ID is required', { itemIndex: i });
|
|
3224
|
+
}
|
|
3225
|
+
endpointPath = `/v2/boards/${boardId}/cards/${itemId}${queryString}`;
|
|
3226
|
+
break;
|
|
3227
|
+
default:
|
|
3228
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3229
|
+
}
|
|
3230
|
+
break;
|
|
3231
|
+
case 'itemsCodeWidget':
|
|
3232
|
+
switch (operation) {
|
|
3233
|
+
case 'createCodeWidgetItemPost':
|
|
3234
|
+
case 'getCodeWidgetItemsGet':
|
|
3235
|
+
if (!boardId) {
|
|
3236
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3237
|
+
}
|
|
3238
|
+
endpointPath = `/v2-experimental/boards/${boardId}/code_widgets${queryString}`;
|
|
3239
|
+
break;
|
|
3240
|
+
case 'deleteCodeWidgetItemDelete':
|
|
3241
|
+
case 'getCodeWidgetItemGet':
|
|
3242
|
+
case 'updateCodeWidgetItemPatch':
|
|
3243
|
+
if (!boardId) {
|
|
3244
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3245
|
+
}
|
|
3246
|
+
if (!itemId) {
|
|
3247
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Item ID is required', { itemIndex: i });
|
|
3248
|
+
}
|
|
3249
|
+
endpointPath = `/v2-experimental/boards/${boardId}/code_widgets/${itemId}${queryString}`;
|
|
3250
|
+
break;
|
|
3251
|
+
case 'moveCodeWidgetItemPatch':
|
|
3252
|
+
if (!boardId) {
|
|
3253
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3254
|
+
}
|
|
3255
|
+
if (!itemId) {
|
|
3256
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Item ID is required', { itemIndex: i });
|
|
3257
|
+
}
|
|
3258
|
+
endpointPath = `/v2-experimental/boards/${boardId}/code_widgets/${itemId}/position${queryString}`;
|
|
3259
|
+
break;
|
|
3260
|
+
default:
|
|
3261
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3262
|
+
}
|
|
3263
|
+
break;
|
|
3264
|
+
case 'itemsConnector':
|
|
3265
|
+
switch (operation) {
|
|
3266
|
+
case 'createConnectorPost':
|
|
3267
|
+
case 'getConnectorsGet':
|
|
3268
|
+
if (!boardId) {
|
|
3269
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3270
|
+
}
|
|
3271
|
+
endpointPath = `/v2/boards/${boardId}/connectors${queryString}`;
|
|
3272
|
+
break;
|
|
3273
|
+
case 'deleteConnectorDelete':
|
|
3274
|
+
case 'getConnectorGet':
|
|
3275
|
+
case 'updateConnectorPatch':
|
|
3276
|
+
if (!boardId) {
|
|
3277
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3278
|
+
}
|
|
3279
|
+
if (!connectorId) {
|
|
3280
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Connector ID is required', { itemIndex: i });
|
|
3281
|
+
}
|
|
3282
|
+
endpointPath = `/v2/boards/${boardId}/connectors/${connectorId}${queryString}`;
|
|
3283
|
+
break;
|
|
3284
|
+
default:
|
|
3285
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3286
|
+
}
|
|
3287
|
+
break;
|
|
3288
|
+
case 'itemsDocFormat':
|
|
3289
|
+
switch (operation) {
|
|
3290
|
+
case 'createDocFormatItemPost':
|
|
3291
|
+
if (!boardId) {
|
|
3292
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3293
|
+
}
|
|
3294
|
+
endpointPath = `/v2/boards/${boardId}/docs${queryString}`;
|
|
3295
|
+
break;
|
|
3296
|
+
case 'deleteDocFormatItemDelete':
|
|
3297
|
+
case 'getDocFormatItemGet':
|
|
3298
|
+
if (!boardId) {
|
|
3299
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3300
|
+
}
|
|
3301
|
+
if (!itemId) {
|
|
3302
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Item ID is required', { itemIndex: i });
|
|
3303
|
+
}
|
|
3304
|
+
endpointPath = `/v2/boards/${boardId}/docs/${itemId}${queryString}`;
|
|
3305
|
+
break;
|
|
3306
|
+
default:
|
|
3307
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3308
|
+
}
|
|
3309
|
+
break;
|
|
3310
|
+
case 'itemsDocument':
|
|
3311
|
+
switch (operation) {
|
|
3312
|
+
case 'createDocumentItemUsingFileFromDevicePost':
|
|
3313
|
+
case 'createDocumentItemUsingUrlPost':
|
|
3314
|
+
if (!boardId) {
|
|
3315
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3316
|
+
}
|
|
3317
|
+
endpointPath = `/v2/boards/${boardId}/documents${queryString}`;
|
|
3318
|
+
break;
|
|
3319
|
+
case 'deleteDocumentItemDelete':
|
|
3320
|
+
case 'getDocumentItemGet':
|
|
3321
|
+
case 'updateDocumentItemUsingFileFromDevicePatch':
|
|
3322
|
+
case 'updateDocumentItemUsingUrlPatch':
|
|
3323
|
+
if (!boardId) {
|
|
3324
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3325
|
+
}
|
|
3326
|
+
if (!itemId) {
|
|
3327
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Item ID is required', { itemIndex: i });
|
|
3328
|
+
}
|
|
3329
|
+
endpointPath = `/v2/boards/${boardId}/documents/${itemId}${queryString}`;
|
|
3330
|
+
break;
|
|
3331
|
+
default:
|
|
3332
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3333
|
+
}
|
|
3334
|
+
break;
|
|
3335
|
+
case 'itemsEmbed':
|
|
3336
|
+
switch (operation) {
|
|
3337
|
+
case 'createEmbedItemPost':
|
|
3338
|
+
if (!boardId) {
|
|
3339
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3340
|
+
}
|
|
3341
|
+
endpointPath = `/v2/boards/${boardId}/embeds${queryString}`;
|
|
3342
|
+
break;
|
|
3343
|
+
case 'deleteEmbedItemDelete':
|
|
3344
|
+
case 'getEmbedItemGet':
|
|
3345
|
+
case 'updateEmbedItemPatch':
|
|
3346
|
+
if (!boardId) {
|
|
3347
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3348
|
+
}
|
|
3349
|
+
if (!itemId) {
|
|
3350
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Item ID is required', { itemIndex: i });
|
|
3351
|
+
}
|
|
3352
|
+
endpointPath = `/v2/boards/${boardId}/embeds/${itemId}${queryString}`;
|
|
3353
|
+
break;
|
|
3354
|
+
default:
|
|
3355
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3356
|
+
}
|
|
3357
|
+
break;
|
|
3358
|
+
case 'itemsFlowchartShape':
|
|
3359
|
+
switch (operation) {
|
|
3360
|
+
case 'createShapeItemFlowchartPost':
|
|
3361
|
+
if (!boardId) {
|
|
3362
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3363
|
+
}
|
|
3364
|
+
endpointPath = `/v2-experimental/boards/${boardId}/shapes${queryString}`;
|
|
3365
|
+
break;
|
|
3366
|
+
case 'deleteShapeItemFlowchartDelete':
|
|
3367
|
+
case 'getShapeItemFlowchartGet':
|
|
3368
|
+
case 'updateShapeItemFlowchartPatch':
|
|
3369
|
+
if (!boardId) {
|
|
3370
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3371
|
+
}
|
|
3372
|
+
if (!itemId) {
|
|
3373
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Item ID is required', { itemIndex: i });
|
|
3374
|
+
}
|
|
3375
|
+
endpointPath = `/v2-experimental/boards/${boardId}/shapes/${itemId}${queryString}`;
|
|
3376
|
+
break;
|
|
3377
|
+
default:
|
|
3378
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3379
|
+
}
|
|
3380
|
+
break;
|
|
3381
|
+
case 'itemsFrame':
|
|
3382
|
+
switch (operation) {
|
|
3383
|
+
case 'createFrameItemPost':
|
|
3384
|
+
if (!boardId) {
|
|
3385
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3386
|
+
}
|
|
3387
|
+
endpointPath = `/v2/boards/${boardId}/frames${queryString}`;
|
|
3388
|
+
break;
|
|
3389
|
+
case 'deleteFrameItemDelete':
|
|
3390
|
+
case 'getFrameItemGet':
|
|
3391
|
+
case 'updateFrameItemPatch':
|
|
3392
|
+
if (!boardId) {
|
|
3393
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3394
|
+
}
|
|
3395
|
+
if (!itemId) {
|
|
3396
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Item ID is required', { itemIndex: i });
|
|
3397
|
+
}
|
|
3398
|
+
endpointPath = `/v2/boards/${boardId}/frames/${itemId}${queryString}`;
|
|
3399
|
+
break;
|
|
3400
|
+
case 'getItemsWithinFrameGet':
|
|
3401
|
+
if (!boardId) {
|
|
3402
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3403
|
+
}
|
|
3404
|
+
endpointPath = `/v2/boards/${boardId}/items${queryString}`;
|
|
3405
|
+
break;
|
|
3406
|
+
default:
|
|
3407
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3408
|
+
}
|
|
3409
|
+
break;
|
|
3410
|
+
case 'itemsGroup':
|
|
3411
|
+
switch (operation) {
|
|
3412
|
+
case 'createGroupPost':
|
|
3413
|
+
case 'getAllGroupsGet':
|
|
3414
|
+
if (!boardId) {
|
|
3415
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3416
|
+
}
|
|
3417
|
+
endpointPath = `/v2/boards/${boardId}/groups${queryString}`;
|
|
3418
|
+
break;
|
|
3419
|
+
case 'deleteGroupDelete':
|
|
3420
|
+
case 'getGroupByIdGet':
|
|
3421
|
+
case 'unGroupDelete':
|
|
3422
|
+
case 'updateGroupPut':
|
|
3423
|
+
if (!boardId) {
|
|
3424
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3425
|
+
}
|
|
3426
|
+
if (!groupId) {
|
|
3427
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Group ID is required', { itemIndex: i });
|
|
3428
|
+
}
|
|
3429
|
+
endpointPath = `/v2/boards/${boardId}/groups/${groupId}${queryString}`;
|
|
3430
|
+
break;
|
|
3431
|
+
case 'getItemsByGroupIdGet':
|
|
3432
|
+
if (!boardId) {
|
|
3433
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3434
|
+
}
|
|
3435
|
+
endpointPath = `/v2/boards/${boardId}/groups/items${queryString}`;
|
|
3436
|
+
break;
|
|
3437
|
+
default:
|
|
3438
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3439
|
+
}
|
|
3440
|
+
break;
|
|
3441
|
+
case 'itemsImage':
|
|
3442
|
+
switch (operation) {
|
|
3443
|
+
case 'createImageItemUsingLocalFilePost':
|
|
3444
|
+
case 'createImageItemUsingUrlPost':
|
|
3445
|
+
if (!boardId) {
|
|
3446
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3447
|
+
}
|
|
3448
|
+
endpointPath = `/v2/boards/${boardId}/images${queryString}`;
|
|
3449
|
+
break;
|
|
3450
|
+
case 'deleteImageItemDelete':
|
|
3451
|
+
case 'getImageItemGet':
|
|
3452
|
+
case 'updateImageItemUsingFileFromDevicePatch':
|
|
3453
|
+
case 'updateImageItemUsingUrlPatch':
|
|
3454
|
+
if (!boardId) {
|
|
3455
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3456
|
+
}
|
|
3457
|
+
if (!itemId) {
|
|
3458
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Item ID is required', { itemIndex: i });
|
|
3459
|
+
}
|
|
3460
|
+
endpointPath = `/v2/boards/${boardId}/images/${itemId}${queryString}`;
|
|
3461
|
+
break;
|
|
3462
|
+
default:
|
|
3463
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3464
|
+
}
|
|
3465
|
+
break;
|
|
3466
|
+
case 'itemsItem':
|
|
3467
|
+
switch (operation) {
|
|
3468
|
+
case 'createItemsInBulkUsingFileFromDevicePost':
|
|
3469
|
+
case 'createItemsPost':
|
|
3470
|
+
if (!boardId) {
|
|
3471
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3472
|
+
}
|
|
3473
|
+
endpointPath = `/v2/boards/${boardId}/items/bulk${queryString}`;
|
|
3474
|
+
break;
|
|
3475
|
+
case 'deleteItemDelete':
|
|
3476
|
+
case 'getSpecificItemGet':
|
|
3477
|
+
case 'updateItemPositionOrParentPatch':
|
|
3478
|
+
if (!boardId) {
|
|
3479
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3480
|
+
}
|
|
3481
|
+
if (!itemId) {
|
|
3482
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Item ID is required', { itemIndex: i });
|
|
3483
|
+
}
|
|
3484
|
+
endpointPath = `/v2/boards/${boardId}/items/${itemId}${queryString}`;
|
|
3485
|
+
break;
|
|
3486
|
+
case 'deleteItemExperimentalDelete':
|
|
3487
|
+
case 'getSpecificItemExperimentalGet':
|
|
3488
|
+
if (!boardId) {
|
|
3489
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3490
|
+
}
|
|
3491
|
+
if (!itemId) {
|
|
3492
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Item ID is required', { itemIndex: i });
|
|
3493
|
+
}
|
|
3494
|
+
endpointPath = `/v2-experimental/boards/${boardId}/items/${itemId}${queryString}`;
|
|
3495
|
+
break;
|
|
3496
|
+
case 'getItemsExperimentalGet':
|
|
3497
|
+
if (!boardId) {
|
|
3498
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3499
|
+
}
|
|
3500
|
+
endpointPath = `/v2-experimental/boards/${boardId}/items${queryString}`;
|
|
3501
|
+
break;
|
|
3502
|
+
case 'getItemsGet':
|
|
3503
|
+
if (!boardId) {
|
|
3504
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3505
|
+
}
|
|
3506
|
+
endpointPath = `/v2/boards/${boardId}/items${queryString}`;
|
|
3507
|
+
break;
|
|
3508
|
+
default:
|
|
3509
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3510
|
+
}
|
|
3511
|
+
break;
|
|
3512
|
+
case 'itemsMindMapNode':
|
|
3513
|
+
switch (operation) {
|
|
3514
|
+
case 'createMindmapNodesExperimentalPost':
|
|
3515
|
+
case 'getMindmapNodesExperimentalGet':
|
|
3516
|
+
if (!boardId) {
|
|
3517
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3518
|
+
}
|
|
3519
|
+
endpointPath = `/v2-experimental/boards/${boardId}/mindmap_nodes${queryString}`;
|
|
3520
|
+
break;
|
|
3521
|
+
case 'deleteMindmapNodeExperimentalDelete':
|
|
3522
|
+
case 'getMindmapNodeExperimentalGet':
|
|
3523
|
+
if (!boardId) {
|
|
3524
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3525
|
+
}
|
|
3526
|
+
if (!itemId) {
|
|
3527
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Item ID is required', { itemIndex: i });
|
|
3528
|
+
}
|
|
3529
|
+
endpointPath = `/v2-experimental/boards/${boardId}/mindmap_nodes/${itemId}${queryString}`;
|
|
3530
|
+
break;
|
|
3531
|
+
default:
|
|
3532
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3533
|
+
}
|
|
3534
|
+
break;
|
|
3535
|
+
case 'itemsShape':
|
|
3536
|
+
switch (operation) {
|
|
3537
|
+
case 'createShapeItemPost':
|
|
3538
|
+
if (!boardId) {
|
|
3539
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3540
|
+
}
|
|
3541
|
+
endpointPath = `/v2/boards/${boardId}/shapes${queryString}`;
|
|
3542
|
+
break;
|
|
3543
|
+
case 'deleteShapeItemDelete':
|
|
3544
|
+
case 'getShapeItemGet':
|
|
3545
|
+
case 'updateShapeItemPatch':
|
|
3546
|
+
if (!boardId) {
|
|
3547
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3548
|
+
}
|
|
3549
|
+
if (!itemId) {
|
|
3550
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Item ID is required', { itemIndex: i });
|
|
3551
|
+
}
|
|
3552
|
+
endpointPath = `/v2/boards/${boardId}/shapes/${itemId}${queryString}`;
|
|
3553
|
+
break;
|
|
3554
|
+
default:
|
|
3555
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3556
|
+
}
|
|
3557
|
+
break;
|
|
3558
|
+
case 'itemsStickyNote':
|
|
3559
|
+
switch (operation) {
|
|
3560
|
+
case 'createStickyNoteItemPost':
|
|
3561
|
+
if (!boardId) {
|
|
3562
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3563
|
+
}
|
|
3564
|
+
endpointPath = `/v2/boards/${boardId}/sticky_notes${queryString}`;
|
|
3565
|
+
break;
|
|
3566
|
+
case 'deleteStickyNoteItemDelete':
|
|
3567
|
+
case 'getStickyNoteItemGet':
|
|
3568
|
+
case 'updateStickyNoteItemPatch':
|
|
3569
|
+
if (!boardId) {
|
|
3570
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3571
|
+
}
|
|
3572
|
+
if (!itemId) {
|
|
3573
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Item ID is required', { itemIndex: i });
|
|
3574
|
+
}
|
|
3575
|
+
endpointPath = `/v2/boards/${boardId}/sticky_notes/${itemId}${queryString}`;
|
|
3576
|
+
break;
|
|
3577
|
+
default:
|
|
3578
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3579
|
+
}
|
|
3580
|
+
break;
|
|
3581
|
+
case 'itemsTag':
|
|
3582
|
+
switch (operation) {
|
|
3583
|
+
case 'attachTagToItemPost':
|
|
3584
|
+
case 'removeTagFromItemDelete':
|
|
3585
|
+
if (!boardId) {
|
|
3586
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3587
|
+
}
|
|
3588
|
+
if (!itemId) {
|
|
3589
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Item ID is required', { itemIndex: i });
|
|
3590
|
+
}
|
|
3591
|
+
endpointPath = `/v2/boards/${boardId}/items/${itemId}${queryString}`;
|
|
3592
|
+
break;
|
|
3593
|
+
case 'createTagPost':
|
|
3594
|
+
case 'getTagsFromBoardGet':
|
|
3595
|
+
if (!boardId) {
|
|
3596
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3597
|
+
}
|
|
3598
|
+
endpointPath = `/v2/boards/${boardId}/tags${queryString}`;
|
|
3599
|
+
break;
|
|
3600
|
+
case 'deleteTagDelete':
|
|
3601
|
+
case 'getTagGet':
|
|
3602
|
+
case 'updateTagPatch':
|
|
3603
|
+
if (!boardId) {
|
|
3604
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3605
|
+
}
|
|
3606
|
+
if (!tagId) {
|
|
3607
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Tag ID is required', { itemIndex: i });
|
|
3608
|
+
}
|
|
3609
|
+
endpointPath = `/v2/boards/${boardId}/tags/${tagId}${queryString}`;
|
|
3610
|
+
break;
|
|
3611
|
+
case 'getItemsByTagGet':
|
|
3612
|
+
if (!boardId) {
|
|
3613
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3614
|
+
}
|
|
3615
|
+
endpointPath = `/v2/boards/${boardId}/items${queryString}`;
|
|
3616
|
+
break;
|
|
3617
|
+
case 'getTagsFromItemGet':
|
|
3618
|
+
if (!boardId) {
|
|
3619
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3620
|
+
}
|
|
3621
|
+
if (!itemId) {
|
|
3622
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Item ID is required', { itemIndex: i });
|
|
3623
|
+
}
|
|
3624
|
+
endpointPath = `/v2/boards/${boardId}/items/${itemId}/tags${queryString}`;
|
|
3625
|
+
break;
|
|
3626
|
+
default:
|
|
3627
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3628
|
+
}
|
|
3629
|
+
break;
|
|
3630
|
+
case 'itemsText':
|
|
3631
|
+
switch (operation) {
|
|
3632
|
+
case 'createTextItemPost':
|
|
3633
|
+
if (!boardId) {
|
|
3634
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3635
|
+
}
|
|
3636
|
+
endpointPath = `/v2/boards/${boardId}/texts${queryString}`;
|
|
3637
|
+
break;
|
|
3638
|
+
case 'deleteTextItemDelete':
|
|
3639
|
+
case 'getTextItemGet':
|
|
3640
|
+
case 'updateTextItemPatch':
|
|
3641
|
+
if (!boardId) {
|
|
3642
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Board ID is required', { itemIndex: i });
|
|
3643
|
+
}
|
|
3644
|
+
if (!itemId) {
|
|
3645
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Item ID is required', { itemIndex: i });
|
|
3646
|
+
}
|
|
3647
|
+
endpointPath = `/v2/boards/${boardId}/texts/${itemId}${queryString}`;
|
|
3648
|
+
break;
|
|
3649
|
+
default:
|
|
3650
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3651
|
+
}
|
|
3652
|
+
break;
|
|
3653
|
+
case 'organizationMember':
|
|
3654
|
+
switch (operation) {
|
|
3655
|
+
case 'enterpriseGetOrganizationMemberGet':
|
|
3656
|
+
if (!orgId) {
|
|
3657
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3658
|
+
}
|
|
3659
|
+
if (!memberId) {
|
|
3660
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Member ID is required', { itemIndex: i });
|
|
3661
|
+
}
|
|
3662
|
+
endpointPath = `/v2/orgs/${orgId}/members/${memberId}${queryString}`;
|
|
3663
|
+
break;
|
|
3664
|
+
case 'enterpriseGetOrganizationMembersGet':
|
|
3665
|
+
if (!orgId) {
|
|
3666
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3667
|
+
}
|
|
3668
|
+
endpointPath = `/v2/orgs/${orgId}/members${queryString}`;
|
|
3669
|
+
break;
|
|
3670
|
+
default:
|
|
3671
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3672
|
+
}
|
|
3673
|
+
break;
|
|
3674
|
+
case 'organizationOrganization':
|
|
3675
|
+
switch (operation) {
|
|
3676
|
+
case 'enterpriseGetOrganizationGet':
|
|
3677
|
+
if (!orgId) {
|
|
3678
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3679
|
+
}
|
|
3680
|
+
endpointPath = `/v2/orgs/${orgId}${queryString}`;
|
|
3681
|
+
break;
|
|
3682
|
+
default:
|
|
3683
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3684
|
+
}
|
|
3685
|
+
break;
|
|
3686
|
+
case 'organizationProject':
|
|
3687
|
+
switch (operation) {
|
|
3688
|
+
case 'enterpriseCreateProjectPost':
|
|
3689
|
+
case 'enterpriseGetProjectsGet':
|
|
3690
|
+
if (!orgId) {
|
|
3691
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3692
|
+
}
|
|
3693
|
+
if (!teamId) {
|
|
3694
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Team ID is required', { itemIndex: i });
|
|
3695
|
+
}
|
|
3696
|
+
endpointPath = `/v2/orgs/${orgId}/teams/${teamId}/projects${queryString}`;
|
|
3697
|
+
break;
|
|
3698
|
+
case 'enterpriseDeleteProjectDelete':
|
|
3699
|
+
case 'enterpriseGetProjectGet':
|
|
3700
|
+
case 'enterpriseUpdateProjectPatch':
|
|
3701
|
+
if (!orgId) {
|
|
3702
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3703
|
+
}
|
|
3704
|
+
if (!teamId) {
|
|
3705
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Team ID is required', { itemIndex: i });
|
|
3706
|
+
}
|
|
3707
|
+
if (!projectId) {
|
|
3708
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Project ID is required', { itemIndex: i });
|
|
3709
|
+
}
|
|
3710
|
+
endpointPath = `/v2/orgs/${orgId}/teams/${teamId}/projects/${projectId}${queryString}`;
|
|
3711
|
+
break;
|
|
3712
|
+
default:
|
|
3713
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3714
|
+
}
|
|
3715
|
+
break;
|
|
3716
|
+
case 'organizationProjectMember':
|
|
3717
|
+
switch (operation) {
|
|
3718
|
+
case 'enterpriseAddProjectMemberPost':
|
|
3719
|
+
case 'enterpriseGetProjectMembersGet':
|
|
3720
|
+
if (!orgId) {
|
|
3721
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3722
|
+
}
|
|
3723
|
+
if (!teamId) {
|
|
3724
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Team ID is required', { itemIndex: i });
|
|
3725
|
+
}
|
|
3726
|
+
if (!projectId) {
|
|
3727
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Project ID is required', { itemIndex: i });
|
|
3728
|
+
}
|
|
3729
|
+
endpointPath = `/v2/orgs/${orgId}/teams/${teamId}/projects/${projectId}/members${queryString}`;
|
|
3730
|
+
break;
|
|
3731
|
+
case 'enterpriseDeleteProjectMemberDelete':
|
|
3732
|
+
case 'enterpriseGetProjectMemberGet':
|
|
3733
|
+
case 'enterpriseUpdateProjectMemberPatch':
|
|
3734
|
+
if (!orgId) {
|
|
3735
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3736
|
+
}
|
|
3737
|
+
if (!teamId) {
|
|
3738
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Team ID is required', { itemIndex: i });
|
|
3739
|
+
}
|
|
3740
|
+
if (!projectId) {
|
|
3741
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Project ID is required', { itemIndex: i });
|
|
3742
|
+
}
|
|
3743
|
+
if (!memberId) {
|
|
3744
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Member ID is required', { itemIndex: i });
|
|
3745
|
+
}
|
|
3746
|
+
endpointPath = `/v2/orgs/${orgId}/teams/${teamId}/projects/${projectId}/members/${memberId}${queryString}`;
|
|
3747
|
+
break;
|
|
3748
|
+
default:
|
|
3749
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3750
|
+
}
|
|
3751
|
+
break;
|
|
3752
|
+
case 'organizationProjectSetting':
|
|
3753
|
+
switch (operation) {
|
|
3754
|
+
case 'enterpriseGetProjectSettingsGet':
|
|
3755
|
+
case 'enterpriseUpdateProjectSettingsPatch':
|
|
3756
|
+
if (!orgId) {
|
|
3757
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3758
|
+
}
|
|
3759
|
+
if (!teamId) {
|
|
3760
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Team ID is required', { itemIndex: i });
|
|
3761
|
+
}
|
|
3762
|
+
if (!projectId) {
|
|
3763
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Project ID is required', { itemIndex: i });
|
|
3764
|
+
}
|
|
3765
|
+
endpointPath = `/v2/orgs/${orgId}/teams/${teamId}/projects/${projectId}/settings${queryString}`;
|
|
3766
|
+
break;
|
|
3767
|
+
default:
|
|
3768
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3769
|
+
}
|
|
3770
|
+
break;
|
|
3771
|
+
case 'organizationProjectUserGroupAssignment':
|
|
3772
|
+
switch (operation) {
|
|
3773
|
+
case 'enterpriseProjectCreateGroupPost':
|
|
3774
|
+
case 'enterpriseProjectsGetGroupsGet':
|
|
3775
|
+
if (!orgId) {
|
|
3776
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3777
|
+
}
|
|
3778
|
+
if (!projectId) {
|
|
3779
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Project ID is required', { itemIndex: i });
|
|
3780
|
+
}
|
|
3781
|
+
endpointPath = `/v2/orgs/${orgId}/projects/${projectId}/groups${queryString}`;
|
|
3782
|
+
break;
|
|
3783
|
+
case 'enterpriseProjectDeleteGroupsDelete':
|
|
3784
|
+
if (!orgId) {
|
|
3785
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3786
|
+
}
|
|
3787
|
+
if (!projectId) {
|
|
3788
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Project ID is required', { itemIndex: i });
|
|
3789
|
+
}
|
|
3790
|
+
if (!groupId) {
|
|
3791
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Group ID is required', { itemIndex: i });
|
|
3792
|
+
}
|
|
3793
|
+
endpointPath = `/v2/orgs/${orgId}/projects/${projectId}/groups/${groupId}${queryString}`;
|
|
3794
|
+
break;
|
|
3795
|
+
default:
|
|
3796
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3797
|
+
}
|
|
3798
|
+
break;
|
|
3799
|
+
case 'organizationTeam':
|
|
3800
|
+
switch (operation) {
|
|
3801
|
+
case 'enterpriseCreateTeamPost':
|
|
3802
|
+
case 'enterpriseGetTeamsGet':
|
|
3803
|
+
if (!orgId) {
|
|
3804
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3805
|
+
}
|
|
3806
|
+
endpointPath = `/v2/orgs/${orgId}/teams${queryString}`;
|
|
3807
|
+
break;
|
|
3808
|
+
case 'enterpriseDeleteTeamDelete':
|
|
3809
|
+
case 'enterpriseGetTeamGet':
|
|
3810
|
+
case 'enterpriseUpdateTeamPatch':
|
|
3811
|
+
if (!orgId) {
|
|
3812
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3813
|
+
}
|
|
3814
|
+
if (!teamId) {
|
|
3815
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Team ID is required', { itemIndex: i });
|
|
3816
|
+
}
|
|
3817
|
+
endpointPath = `/v2/orgs/${orgId}/teams/${teamId}${queryString}`;
|
|
3818
|
+
break;
|
|
3819
|
+
default:
|
|
3820
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3821
|
+
}
|
|
3822
|
+
break;
|
|
3823
|
+
case 'organizationTeamMember':
|
|
3824
|
+
switch (operation) {
|
|
3825
|
+
case 'enterpriseDeleteTeamMemberDelete':
|
|
3826
|
+
case 'enterpriseGetTeamMemberGet':
|
|
3827
|
+
case 'enterpriseUpdateTeamMemberPatch':
|
|
3828
|
+
if (!orgId) {
|
|
3829
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3830
|
+
}
|
|
3831
|
+
if (!teamId) {
|
|
3832
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Team ID is required', { itemIndex: i });
|
|
3833
|
+
}
|
|
3834
|
+
if (!memberId) {
|
|
3835
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Member ID is required', { itemIndex: i });
|
|
3836
|
+
}
|
|
3837
|
+
endpointPath = `/v2/orgs/${orgId}/teams/${teamId}/members/${memberId}${queryString}`;
|
|
3838
|
+
break;
|
|
3839
|
+
case 'enterpriseGetTeamMembersGet':
|
|
3840
|
+
case 'enterpriseInviteTeamMemberPost':
|
|
3841
|
+
if (!orgId) {
|
|
3842
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3843
|
+
}
|
|
3844
|
+
if (!teamId) {
|
|
3845
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Team ID is required', { itemIndex: i });
|
|
3846
|
+
}
|
|
3847
|
+
endpointPath = `/v2/orgs/${orgId}/teams/${teamId}/members${queryString}`;
|
|
3848
|
+
break;
|
|
3849
|
+
default:
|
|
3850
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3851
|
+
}
|
|
3852
|
+
break;
|
|
3853
|
+
case 'organizationTeamSetting':
|
|
3854
|
+
switch (operation) {
|
|
3855
|
+
case 'enterpriseGetDefaultTeamSettingsGet':
|
|
3856
|
+
if (!orgId) {
|
|
3857
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3858
|
+
}
|
|
3859
|
+
endpointPath = `/v2/orgs/${orgId}/default_teams_settings${queryString}`;
|
|
3860
|
+
break;
|
|
3861
|
+
case 'enterpriseGetTeamSettingsGet':
|
|
3862
|
+
case 'enterpriseUpdateTeamSettingsPatch':
|
|
3863
|
+
if (!orgId) {
|
|
3864
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3865
|
+
}
|
|
3866
|
+
if (!teamId) {
|
|
3867
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Team ID is required', { itemIndex: i });
|
|
3868
|
+
}
|
|
3869
|
+
endpointPath = `/v2/orgs/${orgId}/teams/${teamId}/settings${queryString}`;
|
|
3870
|
+
break;
|
|
3871
|
+
default:
|
|
3872
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3873
|
+
}
|
|
3874
|
+
break;
|
|
3875
|
+
case 'organizationTeamUserGroup':
|
|
3876
|
+
switch (operation) {
|
|
3877
|
+
case 'enterpriseTeamsCreateGroupPost':
|
|
3878
|
+
case 'enterpriseTeamsGetGroupsGet':
|
|
3879
|
+
if (!orgId) {
|
|
3880
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3881
|
+
}
|
|
3882
|
+
if (!teamId) {
|
|
3883
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Team ID is required', { itemIndex: i });
|
|
3884
|
+
}
|
|
3885
|
+
endpointPath = `/v2/orgs/${orgId}/teams/${teamId}/groups${queryString}`;
|
|
3886
|
+
break;
|
|
3887
|
+
case 'enterpriseTeamsDeleteGroupDelete':
|
|
3888
|
+
case 'enterpriseTeamsGetGroupGet':
|
|
3889
|
+
if (!orgId) {
|
|
3890
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3891
|
+
}
|
|
3892
|
+
if (!teamId) {
|
|
3893
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Team ID is required', { itemIndex: i });
|
|
3894
|
+
}
|
|
3895
|
+
if (!groupId) {
|
|
3896
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Group ID is required', { itemIndex: i });
|
|
3897
|
+
}
|
|
3898
|
+
endpointPath = `/v2/orgs/${orgId}/teams/${teamId}/groups/${groupId}${queryString}`;
|
|
3899
|
+
break;
|
|
3900
|
+
default:
|
|
3901
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3902
|
+
}
|
|
3903
|
+
break;
|
|
3904
|
+
case 'organizationUserGroup':
|
|
3905
|
+
switch (operation) {
|
|
3906
|
+
case 'enterpriseCreateGroupPost':
|
|
3907
|
+
case 'enterpriseGetGroupsGet':
|
|
3908
|
+
if (!orgId) {
|
|
3909
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3910
|
+
}
|
|
3911
|
+
endpointPath = `/v2/orgs/${orgId}/groups${queryString}`;
|
|
3912
|
+
break;
|
|
3913
|
+
case 'enterpriseDeleteGroupDelete':
|
|
3914
|
+
case 'enterpriseGetGroupGet':
|
|
3915
|
+
case 'enterpriseUpdateGroupPatch':
|
|
3916
|
+
if (!orgId) {
|
|
3917
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3918
|
+
}
|
|
3919
|
+
if (!groupId) {
|
|
3920
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Group ID is required', { itemIndex: i });
|
|
3921
|
+
}
|
|
3922
|
+
endpointPath = `/v2/orgs/${orgId}/groups/${groupId}${queryString}`;
|
|
3923
|
+
break;
|
|
3924
|
+
default:
|
|
3925
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3926
|
+
}
|
|
3927
|
+
break;
|
|
3928
|
+
case 'organizationUserGroupMember':
|
|
3929
|
+
switch (operation) {
|
|
3930
|
+
case 'enterpriseCreateGroupMemberPost':
|
|
3931
|
+
case 'enterpriseGetGroupMembersGet':
|
|
3932
|
+
case 'enterpriseUpdateGroupMembersPatch':
|
|
3933
|
+
if (!orgId) {
|
|
3934
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3935
|
+
}
|
|
3936
|
+
if (!groupId) {
|
|
3937
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Group ID is required', { itemIndex: i });
|
|
3938
|
+
}
|
|
3939
|
+
endpointPath = `/v2/orgs/${orgId}/groups/${groupId}/members${queryString}`;
|
|
3940
|
+
break;
|
|
3941
|
+
case 'enterpriseDeleteGroupMemberDelete':
|
|
3942
|
+
case 'enterpriseGetGroupMemberGet':
|
|
3943
|
+
if (!orgId) {
|
|
3944
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3945
|
+
}
|
|
3946
|
+
if (!groupId) {
|
|
3947
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Group ID is required', { itemIndex: i });
|
|
3948
|
+
}
|
|
3949
|
+
if (!memberId) {
|
|
3950
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Member ID is required', { itemIndex: i });
|
|
3951
|
+
}
|
|
3952
|
+
endpointPath = `/v2/orgs/${orgId}/groups/${groupId}/members/${memberId}${queryString}`;
|
|
3953
|
+
break;
|
|
3954
|
+
default:
|
|
3955
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3956
|
+
}
|
|
3957
|
+
break;
|
|
3958
|
+
case 'organizationUserGroupTeam':
|
|
3959
|
+
switch (operation) {
|
|
3960
|
+
case 'enterpriseGroupsGetTeamGet':
|
|
3961
|
+
if (!orgId) {
|
|
3962
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3963
|
+
}
|
|
3964
|
+
if (!groupId) {
|
|
3965
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Group ID is required', { itemIndex: i });
|
|
3966
|
+
}
|
|
3967
|
+
if (!teamId) {
|
|
3968
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Team ID is required', { itemIndex: i });
|
|
3969
|
+
}
|
|
3970
|
+
endpointPath = `/v2/orgs/${orgId}/groups/${groupId}/teams/${teamId}${queryString}`;
|
|
3971
|
+
break;
|
|
3972
|
+
case 'enterpriseGroupsGetTeamsGet':
|
|
3973
|
+
if (!orgId) {
|
|
3974
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Organization ID is required', { itemIndex: i });
|
|
3975
|
+
}
|
|
3976
|
+
if (!groupId) {
|
|
3977
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Group ID is required', { itemIndex: i });
|
|
3978
|
+
}
|
|
3979
|
+
endpointPath = `/v2/orgs/${orgId}/groups/${groupId}/teams${queryString}`;
|
|
3980
|
+
break;
|
|
3981
|
+
default:
|
|
3982
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operation}`);
|
|
3983
|
+
}
|
|
3984
|
+
break;
|
|
3985
|
+
default:
|
|
3986
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown resource: ${resource}`);
|
|
3987
|
+
}
|
|
3988
|
+
const method = operation.endsWith('Delete')
|
|
3989
|
+
? 'DELETE'
|
|
3990
|
+
: operation.endsWith('Patch')
|
|
3991
|
+
? 'PATCH'
|
|
3992
|
+
: operation.endsWith('Put')
|
|
3993
|
+
? 'PUT'
|
|
3994
|
+
: operation.endsWith('Post')
|
|
3995
|
+
? 'POST'
|
|
3996
|
+
: 'GET';
|
|
3997
|
+
const url = `${BASE_URL}${endpointPath}`;
|
|
3998
|
+
if (UPLOAD_OPERATIONS[operation]) {
|
|
3999
|
+
const uploaded = await uploadRequest.call(this, i, credentialType, method, url, operation);
|
|
4000
|
+
return this.helpers.constructExecutionMetaData(this.helpers.returnJsonArray(normalizeResponse(uploaded)), { itemData: { item: i } });
|
|
4001
|
+
}
|
|
4002
|
+
const headers = { Accept: 'application/json' };
|
|
4003
|
+
let body;
|
|
4004
|
+
if (['PATCH', 'POST', 'PUT'].includes(method)) {
|
|
4005
|
+
const raw = ((_a = this.getNodeParameter('requestBody', i, '')) !== null && _a !== void 0 ? _a : '').trim();
|
|
4006
|
+
if (raw !== '' && raw !== '{}') {
|
|
4007
|
+
try {
|
|
4008
|
+
body = JSON.parse(raw);
|
|
4009
|
+
}
|
|
4010
|
+
catch {
|
|
4011
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Request Body is not valid JSON', {
|
|
4012
|
+
itemIndex: i,
|
|
4013
|
+
});
|
|
4014
|
+
}
|
|
4015
|
+
headers['Content-Type'] = 'application/json';
|
|
4016
|
+
}
|
|
4017
|
+
}
|
|
4018
|
+
const options = {
|
|
4019
|
+
method,
|
|
4020
|
+
url,
|
|
4021
|
+
headers,
|
|
4022
|
+
json: true,
|
|
4023
|
+
...(body !== undefined ? { body } : {}),
|
|
4024
|
+
};
|
|
4025
|
+
let response;
|
|
4026
|
+
try {
|
|
4027
|
+
response = await this.helpers.httpRequestWithAuthentication.call(this, credentialType, options);
|
|
4028
|
+
}
|
|
4029
|
+
catch (error) {
|
|
4030
|
+
throw new n8n_workflow_1.NodeApiError(this.getNode(), error, {
|
|
4031
|
+
message: `Miro API request failed: ${method} ${endpointPath}`,
|
|
4032
|
+
itemIndex: i,
|
|
4033
|
+
});
|
|
4034
|
+
}
|
|
4035
|
+
return this.helpers.constructExecutionMetaData(this.helpers.returnJsonArray(normalizeResponse(response)), { itemData: { item: i } });
|
|
4036
|
+
}
|
|
4037
|
+
function normalizeResponse(response) {
|
|
4038
|
+
if (response === null || response === undefined || response === '') {
|
|
4039
|
+
return { success: true, statusCode: 204 };
|
|
4040
|
+
}
|
|
4041
|
+
if (typeof response === 'string') {
|
|
4042
|
+
const trimmed = response.trim();
|
|
4043
|
+
if (trimmed === '') {
|
|
4044
|
+
return { success: true, statusCode: 204 };
|
|
4045
|
+
}
|
|
4046
|
+
try {
|
|
4047
|
+
return JSON.parse(trimmed);
|
|
4048
|
+
}
|
|
4049
|
+
catch {
|
|
4050
|
+
return { message: trimmed };
|
|
4051
|
+
}
|
|
4052
|
+
}
|
|
4053
|
+
return response;
|
|
4054
|
+
}
|
|
4055
|
+
async function buildFilePart(i, propertyName) {
|
|
4056
|
+
const binaryData = this.helpers.assertBinaryData(i, propertyName.trim());
|
|
4057
|
+
if (!binaryData.fileName) {
|
|
4058
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `No file name set on binary property "${propertyName}"`, { itemIndex: i });
|
|
4059
|
+
}
|
|
4060
|
+
let value;
|
|
4061
|
+
if (binaryData.id) {
|
|
4062
|
+
value = await this.helpers.getBinaryStream(binaryData.id);
|
|
4063
|
+
}
|
|
4064
|
+
else {
|
|
4065
|
+
const buffer = Buffer.from(binaryData.data, n8n_workflow_1.BINARY_ENCODING);
|
|
4066
|
+
if (buffer.byteLength > MAX_UPLOAD_BYTES) {
|
|
4067
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `File "${binaryData.fileName}" is ${Math.round(buffer.byteLength / 1024 / 1024)} MB. Miro rejects uploads larger than 6 MB`, { itemIndex: i });
|
|
4068
|
+
}
|
|
4069
|
+
value = buffer;
|
|
4070
|
+
}
|
|
4071
|
+
return {
|
|
4072
|
+
value,
|
|
4073
|
+
options: { filename: binaryData.fileName, contentType: binaryData.mimeType },
|
|
4074
|
+
};
|
|
4075
|
+
}
|
|
4076
|
+
async function uploadRequest(i, credentialType, method, url, operation) {
|
|
4077
|
+
var _a;
|
|
4078
|
+
const shape = UPLOAD_OPERATIONS[operation];
|
|
4079
|
+
const binaryPropertyName = this.getNodeParameter('binaryPropertyName', i, 'data');
|
|
4080
|
+
const formData = {};
|
|
4081
|
+
if (shape === 'singleResource') {
|
|
4082
|
+
formData.resource = await buildFilePart.call(this, i, binaryPropertyName);
|
|
4083
|
+
const raw = ((_a = this.getNodeParameter('requestBody', i, '')) !== null && _a !== void 0 ? _a : '').trim();
|
|
4084
|
+
if (raw !== '' && raw !== '{}') {
|
|
4085
|
+
try {
|
|
4086
|
+
JSON.parse(raw);
|
|
4087
|
+
}
|
|
4088
|
+
catch {
|
|
4089
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Request Body is not valid JSON', {
|
|
4090
|
+
itemIndex: i,
|
|
4091
|
+
});
|
|
4092
|
+
}
|
|
4093
|
+
formData.data = { value: raw, options: { contentType: 'application/json' } };
|
|
4094
|
+
}
|
|
4095
|
+
}
|
|
4096
|
+
else {
|
|
4097
|
+
formData.data = await buildFilePart.call(this, i, binaryPropertyName);
|
|
4098
|
+
const names = this.getNodeParameter('resourceBinaryProperties', i, 'resource')
|
|
4099
|
+
.split(',')
|
|
4100
|
+
.map((name) => name.trim())
|
|
4101
|
+
.filter((name) => name !== '');
|
|
4102
|
+
if (names.length === 0) {
|
|
4103
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'At least one resource binary property is required', { itemIndex: i });
|
|
4104
|
+
}
|
|
4105
|
+
if (names.length > MAX_BULK_RESOURCES) {
|
|
4106
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Miro accepts a maximum of 20 items per bulk file upload', { itemIndex: i });
|
|
4107
|
+
}
|
|
4108
|
+
formData.resources = await Promise.all(names.map(async (name) => await buildFilePart.call(this, i, name)));
|
|
4109
|
+
}
|
|
4110
|
+
try {
|
|
4111
|
+
return await this.helpers.requestWithAuthentication.call(this, credentialType, {
|
|
4112
|
+
method,
|
|
4113
|
+
url,
|
|
4114
|
+
headers: { Accept: 'application/json' },
|
|
4115
|
+
formData,
|
|
4116
|
+
json: true,
|
|
4117
|
+
});
|
|
4118
|
+
}
|
|
4119
|
+
catch (error) {
|
|
4120
|
+
throw new n8n_workflow_1.NodeApiError(this.getNode(), error, {
|
|
4121
|
+
message: `Miro file upload failed: ${method} ${url}`,
|
|
4122
|
+
itemIndex: i,
|
|
4123
|
+
});
|
|
4124
|
+
}
|
|
4125
|
+
}
|
|
4126
|
+
//# sourceMappingURL=Miro.node.js.map
|