@umbraco-automate/mcp 17.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +218 -0
- package/dist/collections.js +4545 -0
- package/dist/collections.js.map +1 -0
- package/dist/index.js +4755 -0
- package/dist/index.js.map +1 -0
- package/dist/tool-types.d.ts +2088 -0
- package/package.json +88 -0
|
@@ -0,0 +1,2088 @@
|
|
|
1
|
+
// AUTO-GENERATED by @umbraco-cms/mcp-server-sdk → umbraco-mcp-generate-types
|
|
2
|
+
// Do not edit by hand. Regenerate after every build.
|
|
3
|
+
|
|
4
|
+
export interface ListPendingApprovalsOutput {
|
|
5
|
+
items: {
|
|
6
|
+
runId: string;
|
|
7
|
+
stepId: string;
|
|
8
|
+
automationId: string;
|
|
9
|
+
automationName: string;
|
|
10
|
+
prompt?: string | null;
|
|
11
|
+
requestedUtc?: string | null;
|
|
12
|
+
[k: string]: unknown;
|
|
13
|
+
}[];
|
|
14
|
+
[k: string]: unknown;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface DecideApprovalStepInput {
|
|
18
|
+
/**
|
|
19
|
+
* ID of the paused workflow run, from list-pending-approvals.
|
|
20
|
+
*/
|
|
21
|
+
runId: string;
|
|
22
|
+
/**
|
|
23
|
+
* ID of the pending approval step within the run, from list-pending-approvals.
|
|
24
|
+
*/
|
|
25
|
+
stepId: string;
|
|
26
|
+
/**
|
|
27
|
+
* The decision: 'Approved' resumes the run past this step, 'Rejected' fails the run at this step.
|
|
28
|
+
*/
|
|
29
|
+
outcome: "Approved" | "Rejected";
|
|
30
|
+
/**
|
|
31
|
+
* Optional free-text reason or note to record alongside the decision.
|
|
32
|
+
*/
|
|
33
|
+
comment?: string | null;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export interface ListAutomationsInput {
|
|
37
|
+
/**
|
|
38
|
+
* Optional text matched against automation name and alias.
|
|
39
|
+
*/
|
|
40
|
+
filter?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Optional. Only return automations filed in this workspace group.
|
|
43
|
+
*/
|
|
44
|
+
groupId?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Optional. Only return automations in this workspace (id from list-workspaces).
|
|
47
|
+
*/
|
|
48
|
+
workspaceId?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Pagination cursor from a previous response's nextCursor field. Omit for the first page.
|
|
51
|
+
*/
|
|
52
|
+
cursor?: string;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export interface ListAutomationsOutput {
|
|
56
|
+
total: number;
|
|
57
|
+
items: {
|
|
58
|
+
id: string;
|
|
59
|
+
alias: string;
|
|
60
|
+
name: string;
|
|
61
|
+
description?: string | null;
|
|
62
|
+
workspaceId: string;
|
|
63
|
+
groupId?: string | null;
|
|
64
|
+
status: "Draft" | "Published" | "Unpublished";
|
|
65
|
+
triggerAlias?: string | null;
|
|
66
|
+
version: number;
|
|
67
|
+
publishedVersion?: number | null;
|
|
68
|
+
dateCreated: string;
|
|
69
|
+
dateModified: string;
|
|
70
|
+
health: "Healthy" | "Degraded" | "Disabled";
|
|
71
|
+
[k: string]: unknown;
|
|
72
|
+
}[];
|
|
73
|
+
/**
|
|
74
|
+
* Cursor for the next page. Pass as the cursor parameter to fetch more results. Absent when on the last page.
|
|
75
|
+
*/
|
|
76
|
+
nextCursor?: string | null;
|
|
77
|
+
[k: string]: unknown;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export interface GetAutomationInput {
|
|
81
|
+
/**
|
|
82
|
+
* Id of the automation (from list-automations or create-automation).
|
|
83
|
+
*/
|
|
84
|
+
id: string;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export interface GetAutomationOutput {
|
|
88
|
+
id: string;
|
|
89
|
+
alias: string;
|
|
90
|
+
name: string;
|
|
91
|
+
description?: string | null;
|
|
92
|
+
status: "Draft" | "Published" | "Unpublished";
|
|
93
|
+
publishedVersion?: number | null;
|
|
94
|
+
workspaceId: string;
|
|
95
|
+
groupId?: string | null;
|
|
96
|
+
trigger?: {
|
|
97
|
+
triggerAlias: string;
|
|
98
|
+
settings: {
|
|
99
|
+
[k: string]: unknown;
|
|
100
|
+
};
|
|
101
|
+
[k: string]: unknown;
|
|
102
|
+
} | null;
|
|
103
|
+
steps: {
|
|
104
|
+
id: string;
|
|
105
|
+
actionAlias: string;
|
|
106
|
+
name: string;
|
|
107
|
+
alias?: string | null;
|
|
108
|
+
connectionId?: string | null;
|
|
109
|
+
settings: {
|
|
110
|
+
[k: string]: unknown;
|
|
111
|
+
};
|
|
112
|
+
inputMappings: {
|
|
113
|
+
[k: string]: string;
|
|
114
|
+
};
|
|
115
|
+
position: {
|
|
116
|
+
x: number;
|
|
117
|
+
y: number;
|
|
118
|
+
[k: string]: unknown;
|
|
119
|
+
};
|
|
120
|
+
errorBehavior: "Retry" | "Suspend" | "Terminate" | "Compensate";
|
|
121
|
+
retryInterval?: string | null;
|
|
122
|
+
maxRetries?: number | null;
|
|
123
|
+
[k: string]: unknown;
|
|
124
|
+
}[];
|
|
125
|
+
connections: {
|
|
126
|
+
sourceStepId: string;
|
|
127
|
+
sourceHandle?: string | null;
|
|
128
|
+
targetStepId: string;
|
|
129
|
+
targetHandle?: string | null;
|
|
130
|
+
outcome?: string | null;
|
|
131
|
+
filter?: {
|
|
132
|
+
groups: {
|
|
133
|
+
conditions: {
|
|
134
|
+
leftOperand: string;
|
|
135
|
+
operator:
|
|
136
|
+
| "Equals"
|
|
137
|
+
| "NotEquals"
|
|
138
|
+
| "Contains"
|
|
139
|
+
| "NotContains"
|
|
140
|
+
| "StartsWith"
|
|
141
|
+
| "EndsWith"
|
|
142
|
+
| "GreaterThan"
|
|
143
|
+
| "LessThan"
|
|
144
|
+
| "GreaterThanOrEquals"
|
|
145
|
+
| "LessThanOrEquals"
|
|
146
|
+
| "IsEmpty"
|
|
147
|
+
| "IsNotEmpty";
|
|
148
|
+
rightOperand: string;
|
|
149
|
+
[k: string]: unknown;
|
|
150
|
+
}[];
|
|
151
|
+
[k: string]: unknown;
|
|
152
|
+
}[];
|
|
153
|
+
[k: string]: unknown;
|
|
154
|
+
} | null;
|
|
155
|
+
[k: string]: unknown;
|
|
156
|
+
}[];
|
|
157
|
+
canvasState?: string | null;
|
|
158
|
+
version: number;
|
|
159
|
+
dateCreated: string;
|
|
160
|
+
dateModified: string;
|
|
161
|
+
notificationSettings?: {
|
|
162
|
+
channels: {
|
|
163
|
+
channelAlias: string;
|
|
164
|
+
settings: {
|
|
165
|
+
[k: string]: unknown;
|
|
166
|
+
};
|
|
167
|
+
isEnabled: boolean;
|
|
168
|
+
notifyOn:
|
|
169
|
+
| "Never"
|
|
170
|
+
| "Failed"
|
|
171
|
+
| "Suspended"
|
|
172
|
+
| "FailedOrSuspended"
|
|
173
|
+
| "Completed"
|
|
174
|
+
| "Recovered"
|
|
175
|
+
| "Disabled"
|
|
176
|
+
| "Warning"
|
|
177
|
+
| "ReEnabled"
|
|
178
|
+
| "Resumed"
|
|
179
|
+
| "Rejected";
|
|
180
|
+
[k: string]: unknown;
|
|
181
|
+
}[];
|
|
182
|
+
[k: string]: unknown;
|
|
183
|
+
} | null;
|
|
184
|
+
health: "Healthy" | "Degraded" | "Disabled";
|
|
185
|
+
warningIssuedUtc?: string | null;
|
|
186
|
+
disabledUtc?: string | null;
|
|
187
|
+
[k: string]: unknown;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
export interface GetAutomationAncestorsInput {
|
|
191
|
+
/**
|
|
192
|
+
* Id of the automation (from list-automations or create-automation).
|
|
193
|
+
*/
|
|
194
|
+
id: string;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
export interface GetAutomationAncestorsOutput {
|
|
198
|
+
items: {
|
|
199
|
+
id: string;
|
|
200
|
+
entityType: string;
|
|
201
|
+
name: string;
|
|
202
|
+
parentId?: string | null;
|
|
203
|
+
parentEntityType?: string | null;
|
|
204
|
+
hasChildren: boolean;
|
|
205
|
+
isFolder: boolean;
|
|
206
|
+
[k: string]: unknown;
|
|
207
|
+
}[];
|
|
208
|
+
[k: string]: unknown;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
export interface ExportAutomationInput {
|
|
212
|
+
/**
|
|
213
|
+
* Id of the automation to export.
|
|
214
|
+
*/
|
|
215
|
+
id: string;
|
|
216
|
+
/**
|
|
217
|
+
* Optional. Limits which parts of the automation are exported. Omit to export everything.
|
|
218
|
+
*/
|
|
219
|
+
include?: string;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
export interface ExportAutomationOutput {
|
|
223
|
+
formatVersion: string;
|
|
224
|
+
exportedAt: string;
|
|
225
|
+
exportedFrom: {
|
|
226
|
+
product: string;
|
|
227
|
+
version: string;
|
|
228
|
+
[k: string]: unknown;
|
|
229
|
+
};
|
|
230
|
+
automation: {
|
|
231
|
+
id: string;
|
|
232
|
+
alias: string;
|
|
233
|
+
name: string;
|
|
234
|
+
description?: string | null;
|
|
235
|
+
trigger?: {
|
|
236
|
+
triggerAlias: string;
|
|
237
|
+
settings: {
|
|
238
|
+
[k: string]: unknown;
|
|
239
|
+
};
|
|
240
|
+
[k: string]: unknown;
|
|
241
|
+
} | null;
|
|
242
|
+
steps: {
|
|
243
|
+
id: string;
|
|
244
|
+
actionAlias: string;
|
|
245
|
+
name: string;
|
|
246
|
+
alias?: string | null;
|
|
247
|
+
connectionAlias?: string | null;
|
|
248
|
+
settings: {
|
|
249
|
+
[k: string]: unknown;
|
|
250
|
+
};
|
|
251
|
+
inputMappings: {
|
|
252
|
+
[k: string]: string;
|
|
253
|
+
};
|
|
254
|
+
position: {
|
|
255
|
+
x: number;
|
|
256
|
+
y: number;
|
|
257
|
+
[k: string]: unknown;
|
|
258
|
+
};
|
|
259
|
+
errorBehavior: "Retry" | "Suspend" | "Terminate" | "Compensate";
|
|
260
|
+
retryInterval?: string | null;
|
|
261
|
+
maxRetries?: number | null;
|
|
262
|
+
[k: string]: unknown;
|
|
263
|
+
}[];
|
|
264
|
+
connections: {
|
|
265
|
+
sourceStepId: string;
|
|
266
|
+
sourceHandle?: string | null;
|
|
267
|
+
targetStepId: string;
|
|
268
|
+
targetHandle?: string | null;
|
|
269
|
+
outcome?: string | null;
|
|
270
|
+
filter?: {
|
|
271
|
+
groups: {
|
|
272
|
+
conditions: {
|
|
273
|
+
leftOperand: string;
|
|
274
|
+
operator:
|
|
275
|
+
| "Equals"
|
|
276
|
+
| "NotEquals"
|
|
277
|
+
| "Contains"
|
|
278
|
+
| "NotContains"
|
|
279
|
+
| "StartsWith"
|
|
280
|
+
| "EndsWith"
|
|
281
|
+
| "GreaterThan"
|
|
282
|
+
| "LessThan"
|
|
283
|
+
| "GreaterThanOrEquals"
|
|
284
|
+
| "LessThanOrEquals"
|
|
285
|
+
| "IsEmpty"
|
|
286
|
+
| "IsNotEmpty";
|
|
287
|
+
rightOperand: string;
|
|
288
|
+
[k: string]: unknown;
|
|
289
|
+
}[];
|
|
290
|
+
[k: string]: unknown;
|
|
291
|
+
}[];
|
|
292
|
+
[k: string]: unknown;
|
|
293
|
+
} | null;
|
|
294
|
+
[k: string]: unknown;
|
|
295
|
+
}[];
|
|
296
|
+
canvasState?: string | null;
|
|
297
|
+
notificationSettings?: {
|
|
298
|
+
channels: {
|
|
299
|
+
channelAlias: string;
|
|
300
|
+
settings: {
|
|
301
|
+
[k: string]: unknown;
|
|
302
|
+
};
|
|
303
|
+
isEnabled: boolean;
|
|
304
|
+
notifyOn:
|
|
305
|
+
| "Never"
|
|
306
|
+
| "Failed"
|
|
307
|
+
| "Suspended"
|
|
308
|
+
| "FailedOrSuspended"
|
|
309
|
+
| "Completed"
|
|
310
|
+
| "Recovered"
|
|
311
|
+
| "Disabled"
|
|
312
|
+
| "Warning"
|
|
313
|
+
| "ReEnabled"
|
|
314
|
+
| "Resumed"
|
|
315
|
+
| "Rejected";
|
|
316
|
+
[k: string]: unknown;
|
|
317
|
+
}[];
|
|
318
|
+
[k: string]: unknown;
|
|
319
|
+
} | null;
|
|
320
|
+
[k: string]: unknown;
|
|
321
|
+
};
|
|
322
|
+
connectionReferences: {
|
|
323
|
+
alias: string;
|
|
324
|
+
type: string;
|
|
325
|
+
name: string;
|
|
326
|
+
[k: string]: unknown;
|
|
327
|
+
}[];
|
|
328
|
+
[k: string]: unknown;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
export interface ListAutomationRunsInput {
|
|
332
|
+
/**
|
|
333
|
+
* Id of the automation whose runs to list.
|
|
334
|
+
*/
|
|
335
|
+
id: string;
|
|
336
|
+
/**
|
|
337
|
+
* Pagination cursor from a previous response's nextCursor field. Omit for the first page.
|
|
338
|
+
*/
|
|
339
|
+
cursor?: string;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
export interface ListAutomationRunsOutput {
|
|
343
|
+
total: number;
|
|
344
|
+
items: {
|
|
345
|
+
id: string;
|
|
346
|
+
automationId: string;
|
|
347
|
+
automationVersion: number;
|
|
348
|
+
status: "Pending" | "Running" | "Completed" | "Failed" | "Suspended" | "Cancelled" | "Rejected";
|
|
349
|
+
startedUtc?: string | null;
|
|
350
|
+
completedUtc?: string | null;
|
|
351
|
+
initiatedBy: string;
|
|
352
|
+
correlationId?: string | null;
|
|
353
|
+
error?: string | null;
|
|
354
|
+
triggerAlias?: string | null;
|
|
355
|
+
stepRuns: {
|
|
356
|
+
id: string;
|
|
357
|
+
stepId: string;
|
|
358
|
+
actionAlias: string;
|
|
359
|
+
status:
|
|
360
|
+
| "Pending"
|
|
361
|
+
| "Running"
|
|
362
|
+
| "Completed"
|
|
363
|
+
| "Failed"
|
|
364
|
+
| "Skipped"
|
|
365
|
+
| "WaitingForInput"
|
|
366
|
+
| "Sleeping"
|
|
367
|
+
| "Rejected"
|
|
368
|
+
| "Cancelled";
|
|
369
|
+
startedUtc?: string | null;
|
|
370
|
+
completedUtc?: string | null;
|
|
371
|
+
error?: string | null;
|
|
372
|
+
retryCount: number;
|
|
373
|
+
durationMs?: number | null;
|
|
374
|
+
branchOutcome?: string | null;
|
|
375
|
+
iterationIndex?: number | null;
|
|
376
|
+
iterationTotal?: number | null;
|
|
377
|
+
logEntries?: {
|
|
378
|
+
timestampUtc: string;
|
|
379
|
+
level: "Debug" | "Info" | "Warning" | "Error";
|
|
380
|
+
message: string;
|
|
381
|
+
[k: string]: unknown;
|
|
382
|
+
}[];
|
|
383
|
+
[k: string]: unknown;
|
|
384
|
+
}[];
|
|
385
|
+
[k: string]: unknown;
|
|
386
|
+
}[];
|
|
387
|
+
/**
|
|
388
|
+
* Cursor for the next page. Pass as the cursor parameter to fetch more results. Absent when on the last page.
|
|
389
|
+
*/
|
|
390
|
+
nextCursor?: string | null;
|
|
391
|
+
[k: string]: unknown;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
export interface GetAutomationWebhookUrlInput {
|
|
395
|
+
/**
|
|
396
|
+
* Id of the automation (from list-automations or create-automation).
|
|
397
|
+
*/
|
|
398
|
+
id: string;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
export interface GetAutomationWebhookUrlOutput {
|
|
402
|
+
url: string;
|
|
403
|
+
/**
|
|
404
|
+
* Present when the URL was derived rather than reported by Umbraco.
|
|
405
|
+
*/
|
|
406
|
+
note?: string;
|
|
407
|
+
[k: string]: unknown;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
export interface GetAutomationGroupInput {
|
|
411
|
+
/**
|
|
412
|
+
* Id of the workspace group (an automation's groupId, or an id from list-workspace-groups).
|
|
413
|
+
*/
|
|
414
|
+
groupId: string;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
export interface GetAutomationGroupOutput {
|
|
418
|
+
id: string;
|
|
419
|
+
name: string;
|
|
420
|
+
parentId?: string | null;
|
|
421
|
+
workspaceId: string;
|
|
422
|
+
dateCreated: string;
|
|
423
|
+
[k: string]: unknown;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
export interface CreateAutomationInput {
|
|
427
|
+
/**
|
|
428
|
+
* Unique, code-friendly alias for the automation (e.g. 'notify-on-publish').
|
|
429
|
+
*/
|
|
430
|
+
alias: string;
|
|
431
|
+
/**
|
|
432
|
+
* Human-readable display name.
|
|
433
|
+
*/
|
|
434
|
+
name: string;
|
|
435
|
+
/**
|
|
436
|
+
* Optional description of what this automation does.
|
|
437
|
+
*/
|
|
438
|
+
description?: string;
|
|
439
|
+
/**
|
|
440
|
+
* Id of the workspace this automation belongs to. Not validated against existing workspaces at creation time (verified against the live API) - pass an id from list-workspaces/get-workspace to avoid creating an automation under a workspace that doesn't exist.
|
|
441
|
+
*/
|
|
442
|
+
workspaceId: string;
|
|
443
|
+
/**
|
|
444
|
+
* Optional id of the workspace group (folder) to create the automation in.
|
|
445
|
+
*/
|
|
446
|
+
groupId?: string;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
export interface CreateAutomationOutput {
|
|
450
|
+
message: string;
|
|
451
|
+
id: string;
|
|
452
|
+
[k: string]: unknown;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
export interface PublishAutomationInput {
|
|
456
|
+
/**
|
|
457
|
+
* Id of the automation to publish. It must already have a trigger and at least one step.
|
|
458
|
+
*/
|
|
459
|
+
id: string;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
export interface UnpublishAutomationInput {
|
|
463
|
+
/**
|
|
464
|
+
* Id of the automation to unpublish.
|
|
465
|
+
*/
|
|
466
|
+
id: string;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
export interface ReEnableAutomationInput {
|
|
470
|
+
/**
|
|
471
|
+
* Id of the automation to re-enable.
|
|
472
|
+
*/
|
|
473
|
+
id: string;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
export interface TriggerAutomationInput {
|
|
477
|
+
/**
|
|
478
|
+
* Id of the published automation to run now.
|
|
479
|
+
*/
|
|
480
|
+
id: string;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
export interface ImportAutomationInput {
|
|
484
|
+
/**
|
|
485
|
+
* Id of the workspace to create the automation in (from list-workspaces).
|
|
486
|
+
*/
|
|
487
|
+
workspaceId: string;
|
|
488
|
+
/**
|
|
489
|
+
* The exact object returned by export-automation, passed through unmodified. Not meant to be written by hand.
|
|
490
|
+
*/
|
|
491
|
+
exportModel: {
|
|
492
|
+
formatVersion: string;
|
|
493
|
+
exportedAt: string;
|
|
494
|
+
exportedFrom: {
|
|
495
|
+
product: string;
|
|
496
|
+
version: string;
|
|
497
|
+
};
|
|
498
|
+
automation: {
|
|
499
|
+
id: string;
|
|
500
|
+
alias: string;
|
|
501
|
+
name: string;
|
|
502
|
+
description?: string | null;
|
|
503
|
+
trigger?: {
|
|
504
|
+
triggerAlias: string;
|
|
505
|
+
settings: {
|
|
506
|
+
[k: string]: unknown;
|
|
507
|
+
};
|
|
508
|
+
} | null;
|
|
509
|
+
steps: {
|
|
510
|
+
id: string;
|
|
511
|
+
actionAlias: string;
|
|
512
|
+
name: string;
|
|
513
|
+
alias?: string | null;
|
|
514
|
+
connectionAlias?: string | null;
|
|
515
|
+
settings: {
|
|
516
|
+
[k: string]: unknown;
|
|
517
|
+
};
|
|
518
|
+
inputMappings: {
|
|
519
|
+
[k: string]: string;
|
|
520
|
+
};
|
|
521
|
+
position: {
|
|
522
|
+
x: number;
|
|
523
|
+
y: number;
|
|
524
|
+
};
|
|
525
|
+
errorBehavior: "Retry" | "Suspend" | "Terminate" | "Compensate";
|
|
526
|
+
retryInterval?: string | null;
|
|
527
|
+
maxRetries?: number | null;
|
|
528
|
+
}[];
|
|
529
|
+
connections: {
|
|
530
|
+
sourceStepId: string;
|
|
531
|
+
sourceHandle?: string | null;
|
|
532
|
+
targetStepId: string;
|
|
533
|
+
targetHandle?: string | null;
|
|
534
|
+
outcome?: string | null;
|
|
535
|
+
filter?: {
|
|
536
|
+
groups: {
|
|
537
|
+
conditions: {
|
|
538
|
+
leftOperand: string;
|
|
539
|
+
operator:
|
|
540
|
+
| "Equals"
|
|
541
|
+
| "NotEquals"
|
|
542
|
+
| "Contains"
|
|
543
|
+
| "NotContains"
|
|
544
|
+
| "StartsWith"
|
|
545
|
+
| "EndsWith"
|
|
546
|
+
| "GreaterThan"
|
|
547
|
+
| "LessThan"
|
|
548
|
+
| "GreaterThanOrEquals"
|
|
549
|
+
| "LessThanOrEquals"
|
|
550
|
+
| "IsEmpty"
|
|
551
|
+
| "IsNotEmpty";
|
|
552
|
+
rightOperand: string;
|
|
553
|
+
}[];
|
|
554
|
+
}[];
|
|
555
|
+
} | null;
|
|
556
|
+
}[];
|
|
557
|
+
canvasState?: string | null;
|
|
558
|
+
notificationSettings?: {
|
|
559
|
+
channels: {
|
|
560
|
+
channelAlias: string;
|
|
561
|
+
settings: {
|
|
562
|
+
[k: string]: unknown;
|
|
563
|
+
};
|
|
564
|
+
isEnabled: boolean;
|
|
565
|
+
notifyOn:
|
|
566
|
+
| "Never"
|
|
567
|
+
| "Failed"
|
|
568
|
+
| "Suspended"
|
|
569
|
+
| "FailedOrSuspended"
|
|
570
|
+
| "Completed"
|
|
571
|
+
| "Recovered"
|
|
572
|
+
| "Disabled"
|
|
573
|
+
| "Warning"
|
|
574
|
+
| "ReEnabled"
|
|
575
|
+
| "Resumed"
|
|
576
|
+
| "Rejected";
|
|
577
|
+
}[];
|
|
578
|
+
} | null;
|
|
579
|
+
};
|
|
580
|
+
connectionReferences: {
|
|
581
|
+
alias: string;
|
|
582
|
+
type: string;
|
|
583
|
+
name: string;
|
|
584
|
+
}[];
|
|
585
|
+
};
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
export interface ImportAutomationOutput {
|
|
589
|
+
success: boolean;
|
|
590
|
+
automationId?: string | null;
|
|
591
|
+
automationAlias?: string | null;
|
|
592
|
+
errors: string[];
|
|
593
|
+
warnings: string[];
|
|
594
|
+
[k: string]: unknown;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
export interface ValidateAutomationImportInput {
|
|
598
|
+
/**
|
|
599
|
+
* Id of the workspace to validate the import against (from list-workspaces).
|
|
600
|
+
*/
|
|
601
|
+
workspaceId: string;
|
|
602
|
+
/**
|
|
603
|
+
* The exact object returned by export-automation, passed through unmodified. Not meant to be written by hand.
|
|
604
|
+
*/
|
|
605
|
+
exportModel: {
|
|
606
|
+
formatVersion: string;
|
|
607
|
+
exportedAt: string;
|
|
608
|
+
exportedFrom: {
|
|
609
|
+
product: string;
|
|
610
|
+
version: string;
|
|
611
|
+
};
|
|
612
|
+
automation: {
|
|
613
|
+
id: string;
|
|
614
|
+
alias: string;
|
|
615
|
+
name: string;
|
|
616
|
+
description?: string | null;
|
|
617
|
+
trigger?: {
|
|
618
|
+
triggerAlias: string;
|
|
619
|
+
settings: {
|
|
620
|
+
[k: string]: unknown;
|
|
621
|
+
};
|
|
622
|
+
} | null;
|
|
623
|
+
steps: {
|
|
624
|
+
id: string;
|
|
625
|
+
actionAlias: string;
|
|
626
|
+
name: string;
|
|
627
|
+
alias?: string | null;
|
|
628
|
+
connectionAlias?: string | null;
|
|
629
|
+
settings: {
|
|
630
|
+
[k: string]: unknown;
|
|
631
|
+
};
|
|
632
|
+
inputMappings: {
|
|
633
|
+
[k: string]: string;
|
|
634
|
+
};
|
|
635
|
+
position: {
|
|
636
|
+
x: number;
|
|
637
|
+
y: number;
|
|
638
|
+
};
|
|
639
|
+
errorBehavior: "Retry" | "Suspend" | "Terminate" | "Compensate";
|
|
640
|
+
retryInterval?: string | null;
|
|
641
|
+
maxRetries?: number | null;
|
|
642
|
+
}[];
|
|
643
|
+
connections: {
|
|
644
|
+
sourceStepId: string;
|
|
645
|
+
sourceHandle?: string | null;
|
|
646
|
+
targetStepId: string;
|
|
647
|
+
targetHandle?: string | null;
|
|
648
|
+
outcome?: string | null;
|
|
649
|
+
filter?: {
|
|
650
|
+
groups: {
|
|
651
|
+
conditions: {
|
|
652
|
+
leftOperand: string;
|
|
653
|
+
operator:
|
|
654
|
+
| "Equals"
|
|
655
|
+
| "NotEquals"
|
|
656
|
+
| "Contains"
|
|
657
|
+
| "NotContains"
|
|
658
|
+
| "StartsWith"
|
|
659
|
+
| "EndsWith"
|
|
660
|
+
| "GreaterThan"
|
|
661
|
+
| "LessThan"
|
|
662
|
+
| "GreaterThanOrEquals"
|
|
663
|
+
| "LessThanOrEquals"
|
|
664
|
+
| "IsEmpty"
|
|
665
|
+
| "IsNotEmpty";
|
|
666
|
+
rightOperand: string;
|
|
667
|
+
}[];
|
|
668
|
+
}[];
|
|
669
|
+
} | null;
|
|
670
|
+
}[];
|
|
671
|
+
canvasState?: string | null;
|
|
672
|
+
notificationSettings?: {
|
|
673
|
+
channels: {
|
|
674
|
+
channelAlias: string;
|
|
675
|
+
settings: {
|
|
676
|
+
[k: string]: unknown;
|
|
677
|
+
};
|
|
678
|
+
isEnabled: boolean;
|
|
679
|
+
notifyOn:
|
|
680
|
+
| "Never"
|
|
681
|
+
| "Failed"
|
|
682
|
+
| "Suspended"
|
|
683
|
+
| "FailedOrSuspended"
|
|
684
|
+
| "Completed"
|
|
685
|
+
| "Recovered"
|
|
686
|
+
| "Disabled"
|
|
687
|
+
| "Warning"
|
|
688
|
+
| "ReEnabled"
|
|
689
|
+
| "Resumed"
|
|
690
|
+
| "Rejected";
|
|
691
|
+
}[];
|
|
692
|
+
} | null;
|
|
693
|
+
};
|
|
694
|
+
connectionReferences: {
|
|
695
|
+
alias: string;
|
|
696
|
+
type: string;
|
|
697
|
+
name: string;
|
|
698
|
+
}[];
|
|
699
|
+
};
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
export interface ValidateAutomationImportOutput {
|
|
703
|
+
success: boolean;
|
|
704
|
+
automationId?: string | null;
|
|
705
|
+
automationAlias?: string | null;
|
|
706
|
+
errors: string[];
|
|
707
|
+
warnings: string[];
|
|
708
|
+
[k: string]: unknown;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
export interface UpdateAutomationInput {
|
|
712
|
+
/**
|
|
713
|
+
* Id of the automation to update.
|
|
714
|
+
*/
|
|
715
|
+
automationId: string;
|
|
716
|
+
/**
|
|
717
|
+
* New unique, code-friendly alias. Omit to leave unchanged.
|
|
718
|
+
*/
|
|
719
|
+
alias?: string;
|
|
720
|
+
/**
|
|
721
|
+
* New display name. Omit to leave unchanged.
|
|
722
|
+
*/
|
|
723
|
+
name?: string;
|
|
724
|
+
/**
|
|
725
|
+
* New description. Pass null to clear it. Omit to leave unchanged.
|
|
726
|
+
*/
|
|
727
|
+
description?: string | null;
|
|
728
|
+
/**
|
|
729
|
+
* New workspace group (folder) id, from get-automation-group / list-workspace-groups. Pass null to move it to the workspace root. Omit to leave unchanged.
|
|
730
|
+
*/
|
|
731
|
+
groupId?: string | null;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
export interface UpdateAutomationOutput {
|
|
735
|
+
message: string;
|
|
736
|
+
[k: string]: unknown;
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
export interface ImportAutomationIntoExistingInput {
|
|
740
|
+
/**
|
|
741
|
+
* Id of the existing automation to overwrite.
|
|
742
|
+
*/
|
|
743
|
+
id: string;
|
|
744
|
+
/**
|
|
745
|
+
* The exact object returned by export-automation, passed through unmodified. Not meant to be written by hand.
|
|
746
|
+
*/
|
|
747
|
+
exportModel: {
|
|
748
|
+
formatVersion: string;
|
|
749
|
+
exportedAt: string;
|
|
750
|
+
exportedFrom: {
|
|
751
|
+
product: string;
|
|
752
|
+
version: string;
|
|
753
|
+
};
|
|
754
|
+
automation: {
|
|
755
|
+
id: string;
|
|
756
|
+
alias: string;
|
|
757
|
+
name: string;
|
|
758
|
+
description?: string | null;
|
|
759
|
+
trigger?: {
|
|
760
|
+
triggerAlias: string;
|
|
761
|
+
settings: {
|
|
762
|
+
[k: string]: unknown;
|
|
763
|
+
};
|
|
764
|
+
} | null;
|
|
765
|
+
steps: {
|
|
766
|
+
id: string;
|
|
767
|
+
actionAlias: string;
|
|
768
|
+
name: string;
|
|
769
|
+
alias?: string | null;
|
|
770
|
+
connectionAlias?: string | null;
|
|
771
|
+
settings: {
|
|
772
|
+
[k: string]: unknown;
|
|
773
|
+
};
|
|
774
|
+
inputMappings: {
|
|
775
|
+
[k: string]: string;
|
|
776
|
+
};
|
|
777
|
+
position: {
|
|
778
|
+
x: number;
|
|
779
|
+
y: number;
|
|
780
|
+
};
|
|
781
|
+
errorBehavior: "Retry" | "Suspend" | "Terminate" | "Compensate";
|
|
782
|
+
retryInterval?: string | null;
|
|
783
|
+
maxRetries?: number | null;
|
|
784
|
+
}[];
|
|
785
|
+
connections: {
|
|
786
|
+
sourceStepId: string;
|
|
787
|
+
sourceHandle?: string | null;
|
|
788
|
+
targetStepId: string;
|
|
789
|
+
targetHandle?: string | null;
|
|
790
|
+
outcome?: string | null;
|
|
791
|
+
filter?: {
|
|
792
|
+
groups: {
|
|
793
|
+
conditions: {
|
|
794
|
+
leftOperand: string;
|
|
795
|
+
operator:
|
|
796
|
+
| "Equals"
|
|
797
|
+
| "NotEquals"
|
|
798
|
+
| "Contains"
|
|
799
|
+
| "NotContains"
|
|
800
|
+
| "StartsWith"
|
|
801
|
+
| "EndsWith"
|
|
802
|
+
| "GreaterThan"
|
|
803
|
+
| "LessThan"
|
|
804
|
+
| "GreaterThanOrEquals"
|
|
805
|
+
| "LessThanOrEquals"
|
|
806
|
+
| "IsEmpty"
|
|
807
|
+
| "IsNotEmpty";
|
|
808
|
+
rightOperand: string;
|
|
809
|
+
}[];
|
|
810
|
+
}[];
|
|
811
|
+
} | null;
|
|
812
|
+
}[];
|
|
813
|
+
canvasState?: string | null;
|
|
814
|
+
notificationSettings?: {
|
|
815
|
+
channels: {
|
|
816
|
+
channelAlias: string;
|
|
817
|
+
settings: {
|
|
818
|
+
[k: string]: unknown;
|
|
819
|
+
};
|
|
820
|
+
isEnabled: boolean;
|
|
821
|
+
notifyOn:
|
|
822
|
+
| "Never"
|
|
823
|
+
| "Failed"
|
|
824
|
+
| "Suspended"
|
|
825
|
+
| "FailedOrSuspended"
|
|
826
|
+
| "Completed"
|
|
827
|
+
| "Recovered"
|
|
828
|
+
| "Disabled"
|
|
829
|
+
| "Warning"
|
|
830
|
+
| "ReEnabled"
|
|
831
|
+
| "Resumed"
|
|
832
|
+
| "Rejected";
|
|
833
|
+
}[];
|
|
834
|
+
} | null;
|
|
835
|
+
};
|
|
836
|
+
connectionReferences: {
|
|
837
|
+
alias: string;
|
|
838
|
+
type: string;
|
|
839
|
+
name: string;
|
|
840
|
+
}[];
|
|
841
|
+
};
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
export interface ImportAutomationIntoExistingOutput {
|
|
845
|
+
success: boolean;
|
|
846
|
+
automationId?: string | null;
|
|
847
|
+
automationAlias?: string | null;
|
|
848
|
+
errors: string[];
|
|
849
|
+
warnings: string[];
|
|
850
|
+
[k: string]: unknown;
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
export interface DeleteAutomationInput {
|
|
854
|
+
/**
|
|
855
|
+
* Id of the automation to delete permanently.
|
|
856
|
+
*/
|
|
857
|
+
id: string;
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
export interface AddAutomationStepInput {
|
|
861
|
+
/**
|
|
862
|
+
* Id of the automation to add the step to.
|
|
863
|
+
*/
|
|
864
|
+
automationId: string;
|
|
865
|
+
/**
|
|
866
|
+
* Alias of the action or control-flow step type to use, as returned by list-catalogue-actions or list-catalogue-control-flows.
|
|
867
|
+
*/
|
|
868
|
+
actionAlias: string;
|
|
869
|
+
/**
|
|
870
|
+
* Unique name for this step within the automation. Letters and digits only, starting with a letter - no hyphens, underscores or spaces (e.g. 'sendWelcomeEmail'). Use this to refer to the step later in connect-automation-steps, update-automation-step, and remove-automation-step.
|
|
871
|
+
*/
|
|
872
|
+
alias: string;
|
|
873
|
+
/**
|
|
874
|
+
* Human-readable display name for this step.
|
|
875
|
+
*/
|
|
876
|
+
name: string;
|
|
877
|
+
/**
|
|
878
|
+
* The step's configuration, matching the shape described by that step type's settingsSchema (see list-catalogue-actions/list-catalogue-control-flows). Defaults to an empty object if omitted. Use each settingsSchema field's `key` exactly - a key the step type doesn't declare is refused, because Automate would save it without using it. Fields with supportsBindings: true accept binding expressions: `${trigger.<field>}` for the trigger's output and `${steps.<stepAlias>.<field>}` for an earlier step's output, with field names taken from that trigger's or step's outputSchema (for one with hasDynamicOutputSchema, from resolve-step-type-output-schema). Values reach the step as given, so a value written to a content property must be in that property's stored form - e.g. a Toggle (true/false) property takes 1 or 0, not "true". Condition-based steps take a condition set: { groups: [{ conditions: [{ leftOperand, operator, rightOperand }] }] } - conditions within a group are ANDed, groups are ORed (there is no combinator field). If/While put it under `conditions`; Switch takes `cases`: [{ name, conditions: <condition set> }], evaluated in order, first match wins. Connect each Switch case with connect-automation-steps using outcome = the case name, plus outcome "default" for no match; an If connects with outcome "true"/"false", a While/ForEach/Parallel with "body"/"done". Operators: Equals, NotEquals, Contains, NotContains, StartsWith, EndsWith, GreaterThan, LessThan, GreaterThanOrEquals, LessThanOrEquals, IsEmpty, IsNotEmpty. Keys may be camelCase; they are saved in the PascalCase form the backoffice editor reads.
|
|
879
|
+
*/
|
|
880
|
+
settings?: {
|
|
881
|
+
[k: string]: unknown;
|
|
882
|
+
};
|
|
883
|
+
/**
|
|
884
|
+
* Maps this step's input fields to expressions referencing earlier steps' output (e.g. trigger data or a prior step's result). Defaults to none if omitted - configure later with update-automation-step once you know what's available.
|
|
885
|
+
*/
|
|
886
|
+
inputMappings?: {
|
|
887
|
+
[k: string]: string;
|
|
888
|
+
};
|
|
889
|
+
/**
|
|
890
|
+
* What happens if this step fails at runtime: Retry (per retryInterval/maxRetries), Suspend (pause the run for manual resume-run), Terminate (fail the run), or Compensate (run a compensating step). Defaults to Terminate.
|
|
891
|
+
*/
|
|
892
|
+
errorBehavior?: "Retry" | "Suspend" | "Terminate" | "Compensate";
|
|
893
|
+
/**
|
|
894
|
+
* Delay before retrying, as a d.hh:mm:ss duration string (e.g. '00:05:00' for 5 minutes). Only meaningful when errorBehavior is Retry.
|
|
895
|
+
*/
|
|
896
|
+
retryInterval?: string;
|
|
897
|
+
/**
|
|
898
|
+
* Maximum retry attempts before giving up. Only meaningful when errorBehavior is Retry.
|
|
899
|
+
*/
|
|
900
|
+
maxRetries?: number;
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
export interface AddAutomationStepOutput {
|
|
904
|
+
message: string;
|
|
905
|
+
stepId: string;
|
|
906
|
+
alias: string;
|
|
907
|
+
[k: string]: unknown;
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
export interface UpdateAutomationStepInput {
|
|
911
|
+
/**
|
|
912
|
+
* Id of the automation the step belongs to.
|
|
913
|
+
*/
|
|
914
|
+
automationId: string;
|
|
915
|
+
/**
|
|
916
|
+
* The step to update, by its alias (preferred) or its step id, as seen in get-automation.
|
|
917
|
+
*/
|
|
918
|
+
step: string;
|
|
919
|
+
/**
|
|
920
|
+
* New display name, if changing it.
|
|
921
|
+
*/
|
|
922
|
+
name?: string;
|
|
923
|
+
/**
|
|
924
|
+
* New configuration for the step, replacing its current settings entirely (not merged field-by-field). Match the shape from that step type's settingsSchema. Omit to leave settings unchanged. Use each settingsSchema field's `key` exactly - a key the step type doesn't declare is refused, because Automate would save it without using it. Fields with supportsBindings: true accept binding expressions: `${trigger.<field>}` for the trigger's output and `${steps.<stepAlias>.<field>}` for an earlier step's output, with field names taken from that trigger's or step's outputSchema (for one with hasDynamicOutputSchema, from resolve-step-type-output-schema). Values reach the step as given, so a value written to a content property must be in that property's stored form - e.g. a Toggle (true/false) property takes 1 or 0, not "true". Condition-based steps take a condition set: { groups: [{ conditions: [{ leftOperand, operator, rightOperand }] }] } - conditions within a group are ANDed, groups are ORed (there is no combinator field). If/While put it under `conditions`; Switch takes `cases`: [{ name, conditions: <condition set> }], evaluated in order, first match wins. Connect each Switch case with connect-automation-steps using outcome = the case name, plus outcome "default" for no match; an If connects with outcome "true"/"false", a While/ForEach/Parallel with "body"/"done". Operators: Equals, NotEquals, Contains, NotContains, StartsWith, EndsWith, GreaterThan, LessThan, GreaterThanOrEquals, LessThanOrEquals, IsEmpty, IsNotEmpty. Keys may be camelCase; they are saved in the PascalCase form the backoffice editor reads.
|
|
925
|
+
*/
|
|
926
|
+
settings?: {
|
|
927
|
+
[k: string]: unknown;
|
|
928
|
+
};
|
|
929
|
+
/**
|
|
930
|
+
* New input mappings, replacing the current set entirely (not merged). Omit to leave mappings unchanged.
|
|
931
|
+
*/
|
|
932
|
+
inputMappings?: {
|
|
933
|
+
[k: string]: string;
|
|
934
|
+
};
|
|
935
|
+
/**
|
|
936
|
+
* New failure-handling behavior. Omit to leave unchanged.
|
|
937
|
+
*/
|
|
938
|
+
errorBehavior?: "Retry" | "Suspend" | "Terminate" | "Compensate";
|
|
939
|
+
/**
|
|
940
|
+
* New retry delay as a d.hh:mm:ss duration string, only meaningful with errorBehavior Retry. Pass null to clear it. Omit to leave unchanged.
|
|
941
|
+
*/
|
|
942
|
+
retryInterval?: string | null;
|
|
943
|
+
/**
|
|
944
|
+
* New max retry count. Pass null to clear it. Omit to leave unchanged.
|
|
945
|
+
*/
|
|
946
|
+
maxRetries?: number | null;
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
export interface UpdateAutomationStepOutput {
|
|
950
|
+
message: string;
|
|
951
|
+
[k: string]: unknown;
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
export interface RemoveAutomationStepInput {
|
|
955
|
+
/**
|
|
956
|
+
* Id of the automation the step belongs to.
|
|
957
|
+
*/
|
|
958
|
+
automationId: string;
|
|
959
|
+
/**
|
|
960
|
+
* The step to remove, by its alias (preferred) or its step id, as seen in get-automation.
|
|
961
|
+
*/
|
|
962
|
+
step: string;
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
export interface RemoveAutomationStepOutput {
|
|
966
|
+
message: string;
|
|
967
|
+
removedConnectionCount: number;
|
|
968
|
+
[k: string]: unknown;
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
export interface ConnectAutomationStepsInput {
|
|
972
|
+
/**
|
|
973
|
+
* Id of the automation to connect steps within.
|
|
974
|
+
*/
|
|
975
|
+
automationId: string;
|
|
976
|
+
/**
|
|
977
|
+
* The step this connection runs from, by alias (preferred) or step id. Pass the literal "trigger" to run this step directly off the automation's trigger instead of another step.
|
|
978
|
+
*/
|
|
979
|
+
sourceStep: string;
|
|
980
|
+
/**
|
|
981
|
+
* The step this connection runs to, by alias (preferred) or step id.
|
|
982
|
+
*/
|
|
983
|
+
targetStep: string;
|
|
984
|
+
/**
|
|
985
|
+
* Which named output of the source step this connection leaves from. Required when the source step has named outputs, and must match one exactly (matching is case-insensitive here and saved in the exact form): If - "true"/"false"; Switch - one of its case names, or "default"; Request Approval - "approved"/"rejected" (needs Umbraco Automate 17.2+ (Umbraco 17) / 18.2+ (Umbraco 18); before that it has a single output that runs on approval - omit outcome); While/ForEach/Parallel - "body" (runs inside the loop/branch; "loop" also accepted) or "done" (runs once afterwards; "after" also accepted; needs Umbraco Automate 17.3+ (Umbraco 17) / 18.3+ (Umbraco 18), before which a container has only a body). Omit for steps with a single output, and for the trigger.
|
|
986
|
+
*/
|
|
987
|
+
outcome?: string;
|
|
988
|
+
/**
|
|
989
|
+
* Optional list of conditions that must ALL be true (AND) for this connection to be followed - use this for a conditional path off a branching step. Omit for an unconditional connection. This tool only supports a single AND-group; for the rarer OR-of-AND case, build the connection through the Umbraco backoffice canvas instead.
|
|
990
|
+
*/
|
|
991
|
+
conditions?: {
|
|
992
|
+
/**
|
|
993
|
+
* Expression to test, e.g. a reference to the source step's output or trigger data.
|
|
994
|
+
*/
|
|
995
|
+
leftOperand: string;
|
|
996
|
+
operator:
|
|
997
|
+
| "Equals"
|
|
998
|
+
| "NotEquals"
|
|
999
|
+
| "Contains"
|
|
1000
|
+
| "NotContains"
|
|
1001
|
+
| "StartsWith"
|
|
1002
|
+
| "EndsWith"
|
|
1003
|
+
| "GreaterThan"
|
|
1004
|
+
| "LessThan"
|
|
1005
|
+
| "GreaterThanOrEquals"
|
|
1006
|
+
| "LessThanOrEquals"
|
|
1007
|
+
| "IsEmpty"
|
|
1008
|
+
| "IsNotEmpty";
|
|
1009
|
+
/**
|
|
1010
|
+
* Value to compare against. Ignored for IsEmpty/IsNotEmpty but still required by the API - pass an empty string.
|
|
1011
|
+
*/
|
|
1012
|
+
rightOperand: string;
|
|
1013
|
+
}[];
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
export interface ConnectAutomationStepsOutput {
|
|
1017
|
+
message: string;
|
|
1018
|
+
[k: string]: unknown;
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
export interface DisconnectAutomationStepsInput {
|
|
1022
|
+
/**
|
|
1023
|
+
* Id of the automation to disconnect steps within.
|
|
1024
|
+
*/
|
|
1025
|
+
automationId: string;
|
|
1026
|
+
/**
|
|
1027
|
+
* The connection's source step, by alias (preferred) or step id. Pass "trigger" to remove a connection that runs directly off the automation's trigger.
|
|
1028
|
+
*/
|
|
1029
|
+
sourceStep: string;
|
|
1030
|
+
/**
|
|
1031
|
+
* The connection's target step, by alias (preferred) or step id.
|
|
1032
|
+
*/
|
|
1033
|
+
targetStep: string;
|
|
1034
|
+
/**
|
|
1035
|
+
* If there are multiple connections between the same two steps for different outcomes (e.g. a branching step's 'true' and 'false' paths both pointing at the same target), narrow to the one for this outcome. Omit to remove all connections between the two steps.
|
|
1036
|
+
*/
|
|
1037
|
+
outcome?: string;
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
export interface DisconnectAutomationStepsOutput {
|
|
1041
|
+
message: string;
|
|
1042
|
+
removedCount: number;
|
|
1043
|
+
[k: string]: unknown;
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
export interface SetAutomationTriggerInput {
|
|
1047
|
+
/**
|
|
1048
|
+
* Id of the automation to set the trigger for.
|
|
1049
|
+
*/
|
|
1050
|
+
automationId: string;
|
|
1051
|
+
/**
|
|
1052
|
+
* Alias of the trigger type to use, as returned by list-catalogue-triggers. Omit (leave unset) to clear the automation's trigger entirely.
|
|
1053
|
+
*/
|
|
1054
|
+
triggerAlias?: string;
|
|
1055
|
+
/**
|
|
1056
|
+
* The trigger's configuration, matching the shape described by that trigger type's settingsSchema (see list-catalogue-triggers), e.g. Form Submitted takes `formIds` (an array of form ids). Use each settingsSchema field's `key` exactly - a key the step type doesn't declare is refused, because Automate would save it without using it. Required when setting a triggerAlias; ignored when clearing the trigger.
|
|
1057
|
+
*/
|
|
1058
|
+
settings?: {
|
|
1059
|
+
[k: string]: unknown;
|
|
1060
|
+
};
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
export interface SetAutomationTriggerOutput {
|
|
1064
|
+
message: string;
|
|
1065
|
+
[k: string]: unknown;
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
export interface ListCatalogueActionsInput {
|
|
1069
|
+
/**
|
|
1070
|
+
* Optional. Only return items usable with connections configured in this workspace (id from list-workspaces).
|
|
1071
|
+
*/
|
|
1072
|
+
workspaceId?: string;
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
export interface ListCatalogueActionsOutput {
|
|
1076
|
+
items: {
|
|
1077
|
+
alias: string;
|
|
1078
|
+
name: string;
|
|
1079
|
+
description?: string | null;
|
|
1080
|
+
group?: string | null;
|
|
1081
|
+
icon?: string | null;
|
|
1082
|
+
connectionTypeAlias?: string | null;
|
|
1083
|
+
settingsSchema?: {
|
|
1084
|
+
fields: {
|
|
1085
|
+
key: string;
|
|
1086
|
+
label: string;
|
|
1087
|
+
description?: string | null;
|
|
1088
|
+
valueKind?: "String" | "Scalar" | "Collection";
|
|
1089
|
+
editorUiAlias?: string | null;
|
|
1090
|
+
editorConfig?: string | null;
|
|
1091
|
+
defaultValue?: unknown;
|
|
1092
|
+
sortOrder: number;
|
|
1093
|
+
isSensitive: boolean;
|
|
1094
|
+
isRequired: boolean;
|
|
1095
|
+
group?: string | null;
|
|
1096
|
+
supportsBindings: boolean;
|
|
1097
|
+
visibleWhen?: {
|
|
1098
|
+
key: string;
|
|
1099
|
+
values: string[];
|
|
1100
|
+
[k: string]: unknown;
|
|
1101
|
+
} | null;
|
|
1102
|
+
[k: string]: unknown;
|
|
1103
|
+
}[];
|
|
1104
|
+
[k: string]: unknown;
|
|
1105
|
+
} | null;
|
|
1106
|
+
outputSchema?: {
|
|
1107
|
+
[k: string]: unknown;
|
|
1108
|
+
} | null;
|
|
1109
|
+
hasDynamicOutputSchema: boolean;
|
|
1110
|
+
outcomes?: {
|
|
1111
|
+
key: string;
|
|
1112
|
+
label: string;
|
|
1113
|
+
isDefault: boolean;
|
|
1114
|
+
description?: string | null;
|
|
1115
|
+
[k: string]: unknown;
|
|
1116
|
+
}[];
|
|
1117
|
+
hasDynamicOutcomes?: boolean;
|
|
1118
|
+
type: string;
|
|
1119
|
+
[k: string]: unknown;
|
|
1120
|
+
}[];
|
|
1121
|
+
[k: string]: unknown;
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
export interface ListCatalogueConnectionTypesOutput {
|
|
1125
|
+
items: {
|
|
1126
|
+
alias: string;
|
|
1127
|
+
name: string;
|
|
1128
|
+
description?: string | null;
|
|
1129
|
+
group?: string | null;
|
|
1130
|
+
icon?: string | null;
|
|
1131
|
+
settingsSchema?: {
|
|
1132
|
+
fields: {
|
|
1133
|
+
key: string;
|
|
1134
|
+
label: string;
|
|
1135
|
+
description?: string | null;
|
|
1136
|
+
valueKind?: "String" | "Scalar" | "Collection";
|
|
1137
|
+
editorUiAlias?: string | null;
|
|
1138
|
+
editorConfig?: string | null;
|
|
1139
|
+
defaultValue?: unknown;
|
|
1140
|
+
sortOrder: number;
|
|
1141
|
+
isSensitive: boolean;
|
|
1142
|
+
isRequired: boolean;
|
|
1143
|
+
group?: string | null;
|
|
1144
|
+
supportsBindings: boolean;
|
|
1145
|
+
visibleWhen?: {
|
|
1146
|
+
key: string;
|
|
1147
|
+
values: string[];
|
|
1148
|
+
[k: string]: unknown;
|
|
1149
|
+
} | null;
|
|
1150
|
+
[k: string]: unknown;
|
|
1151
|
+
}[];
|
|
1152
|
+
[k: string]: unknown;
|
|
1153
|
+
} | null;
|
|
1154
|
+
[k: string]: unknown;
|
|
1155
|
+
}[];
|
|
1156
|
+
[k: string]: unknown;
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
export interface ListCatalogueControlFlowsOutput {
|
|
1160
|
+
items: {
|
|
1161
|
+
alias: string;
|
|
1162
|
+
name: string;
|
|
1163
|
+
description?: string | null;
|
|
1164
|
+
group?: string | null;
|
|
1165
|
+
icon?: string | null;
|
|
1166
|
+
connectionTypeAlias?: string | null;
|
|
1167
|
+
settingsSchema?: {
|
|
1168
|
+
fields: {
|
|
1169
|
+
key: string;
|
|
1170
|
+
label: string;
|
|
1171
|
+
description?: string | null;
|
|
1172
|
+
valueKind?: "String" | "Scalar" | "Collection";
|
|
1173
|
+
editorUiAlias?: string | null;
|
|
1174
|
+
editorConfig?: string | null;
|
|
1175
|
+
defaultValue?: unknown;
|
|
1176
|
+
sortOrder: number;
|
|
1177
|
+
isSensitive: boolean;
|
|
1178
|
+
isRequired: boolean;
|
|
1179
|
+
group?: string | null;
|
|
1180
|
+
supportsBindings: boolean;
|
|
1181
|
+
visibleWhen?: {
|
|
1182
|
+
key: string;
|
|
1183
|
+
values: string[];
|
|
1184
|
+
[k: string]: unknown;
|
|
1185
|
+
} | null;
|
|
1186
|
+
[k: string]: unknown;
|
|
1187
|
+
}[];
|
|
1188
|
+
[k: string]: unknown;
|
|
1189
|
+
} | null;
|
|
1190
|
+
outputSchema?: {
|
|
1191
|
+
[k: string]: unknown;
|
|
1192
|
+
} | null;
|
|
1193
|
+
hasDynamicOutputSchema: boolean;
|
|
1194
|
+
outcomes?: {
|
|
1195
|
+
key: string;
|
|
1196
|
+
label: string;
|
|
1197
|
+
isDefault: boolean;
|
|
1198
|
+
description?: string | null;
|
|
1199
|
+
[k: string]: unknown;
|
|
1200
|
+
}[];
|
|
1201
|
+
hasDynamicOutcomes?: boolean;
|
|
1202
|
+
type: string;
|
|
1203
|
+
[k: string]: unknown;
|
|
1204
|
+
}[];
|
|
1205
|
+
[k: string]: unknown;
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
export interface ListCatalogueNotificationChannelsOutput {
|
|
1209
|
+
items: {
|
|
1210
|
+
alias: string;
|
|
1211
|
+
name: string;
|
|
1212
|
+
description?: string | null;
|
|
1213
|
+
icon?: string | null;
|
|
1214
|
+
settingsSchema?: {
|
|
1215
|
+
fields: {
|
|
1216
|
+
key: string;
|
|
1217
|
+
label: string;
|
|
1218
|
+
description?: string | null;
|
|
1219
|
+
valueKind?: "String" | "Scalar" | "Collection";
|
|
1220
|
+
editorUiAlias?: string | null;
|
|
1221
|
+
editorConfig?: string | null;
|
|
1222
|
+
defaultValue?: unknown;
|
|
1223
|
+
sortOrder: number;
|
|
1224
|
+
isSensitive: boolean;
|
|
1225
|
+
isRequired: boolean;
|
|
1226
|
+
group?: string | null;
|
|
1227
|
+
supportsBindings: boolean;
|
|
1228
|
+
visibleWhen?: {
|
|
1229
|
+
key: string;
|
|
1230
|
+
values: string[];
|
|
1231
|
+
[k: string]: unknown;
|
|
1232
|
+
} | null;
|
|
1233
|
+
[k: string]: unknown;
|
|
1234
|
+
}[];
|
|
1235
|
+
[k: string]: unknown;
|
|
1236
|
+
} | null;
|
|
1237
|
+
[k: string]: unknown;
|
|
1238
|
+
}[];
|
|
1239
|
+
[k: string]: unknown;
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
export interface ListCatalogueStepTypesInput {
|
|
1243
|
+
/**
|
|
1244
|
+
* Optional category filter, using a `type` value as returned by this tool when called without it. Omit to list every category.
|
|
1245
|
+
*/
|
|
1246
|
+
type?: string;
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
export interface ListCatalogueStepTypesOutput {
|
|
1250
|
+
items: {
|
|
1251
|
+
alias: string;
|
|
1252
|
+
name: string;
|
|
1253
|
+
description?: string | null;
|
|
1254
|
+
group?: string | null;
|
|
1255
|
+
icon?: string | null;
|
|
1256
|
+
connectionTypeAlias?: string | null;
|
|
1257
|
+
settingsSchema?: {
|
|
1258
|
+
fields: {
|
|
1259
|
+
key: string;
|
|
1260
|
+
label: string;
|
|
1261
|
+
description?: string | null;
|
|
1262
|
+
valueKind?: "String" | "Scalar" | "Collection";
|
|
1263
|
+
editorUiAlias?: string | null;
|
|
1264
|
+
editorConfig?: string | null;
|
|
1265
|
+
defaultValue?: unknown;
|
|
1266
|
+
sortOrder: number;
|
|
1267
|
+
isSensitive: boolean;
|
|
1268
|
+
isRequired: boolean;
|
|
1269
|
+
group?: string | null;
|
|
1270
|
+
supportsBindings: boolean;
|
|
1271
|
+
visibleWhen?: {
|
|
1272
|
+
key: string;
|
|
1273
|
+
values: string[];
|
|
1274
|
+
[k: string]: unknown;
|
|
1275
|
+
} | null;
|
|
1276
|
+
[k: string]: unknown;
|
|
1277
|
+
}[];
|
|
1278
|
+
[k: string]: unknown;
|
|
1279
|
+
} | null;
|
|
1280
|
+
outputSchema?: {
|
|
1281
|
+
[k: string]: unknown;
|
|
1282
|
+
} | null;
|
|
1283
|
+
hasDynamicOutputSchema: boolean;
|
|
1284
|
+
outcomes?: {
|
|
1285
|
+
key: string;
|
|
1286
|
+
label: string;
|
|
1287
|
+
isDefault: boolean;
|
|
1288
|
+
description?: string | null;
|
|
1289
|
+
[k: string]: unknown;
|
|
1290
|
+
}[];
|
|
1291
|
+
hasDynamicOutcomes?: boolean;
|
|
1292
|
+
type: string;
|
|
1293
|
+
[k: string]: unknown;
|
|
1294
|
+
}[];
|
|
1295
|
+
[k: string]: unknown;
|
|
1296
|
+
}
|
|
1297
|
+
|
|
1298
|
+
export interface ListCatalogueTriggersInput {
|
|
1299
|
+
/**
|
|
1300
|
+
* Optional. Only return items usable with connections configured in this workspace (id from list-workspaces).
|
|
1301
|
+
*/
|
|
1302
|
+
workspaceId?: string;
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1305
|
+
export interface ListCatalogueTriggersOutput {
|
|
1306
|
+
items: {
|
|
1307
|
+
alias: string;
|
|
1308
|
+
name: string;
|
|
1309
|
+
description?: string | null;
|
|
1310
|
+
group?: string | null;
|
|
1311
|
+
icon?: string | null;
|
|
1312
|
+
connectionTypeAlias?: string | null;
|
|
1313
|
+
settingsSchema?: {
|
|
1314
|
+
fields: {
|
|
1315
|
+
key: string;
|
|
1316
|
+
label: string;
|
|
1317
|
+
description?: string | null;
|
|
1318
|
+
valueKind?: "String" | "Scalar" | "Collection";
|
|
1319
|
+
editorUiAlias?: string | null;
|
|
1320
|
+
editorConfig?: string | null;
|
|
1321
|
+
defaultValue?: unknown;
|
|
1322
|
+
sortOrder: number;
|
|
1323
|
+
isSensitive: boolean;
|
|
1324
|
+
isRequired: boolean;
|
|
1325
|
+
group?: string | null;
|
|
1326
|
+
supportsBindings: boolean;
|
|
1327
|
+
visibleWhen?: {
|
|
1328
|
+
key: string;
|
|
1329
|
+
values: string[];
|
|
1330
|
+
[k: string]: unknown;
|
|
1331
|
+
} | null;
|
|
1332
|
+
[k: string]: unknown;
|
|
1333
|
+
}[];
|
|
1334
|
+
[k: string]: unknown;
|
|
1335
|
+
} | null;
|
|
1336
|
+
outputSchema?: {
|
|
1337
|
+
[k: string]: unknown;
|
|
1338
|
+
} | null;
|
|
1339
|
+
hasDynamicOutputSchema: boolean;
|
|
1340
|
+
outcomes?: {
|
|
1341
|
+
key: string;
|
|
1342
|
+
label: string;
|
|
1343
|
+
isDefault: boolean;
|
|
1344
|
+
description?: string | null;
|
|
1345
|
+
[k: string]: unknown;
|
|
1346
|
+
}[];
|
|
1347
|
+
hasDynamicOutcomes?: boolean;
|
|
1348
|
+
type: string;
|
|
1349
|
+
supportsManualRun?: boolean;
|
|
1350
|
+
[k: string]: unknown;
|
|
1351
|
+
}[];
|
|
1352
|
+
[k: string]: unknown;
|
|
1353
|
+
}
|
|
1354
|
+
|
|
1355
|
+
export interface ListCatalogueWebhookAuthenticatorsOutput {
|
|
1356
|
+
items: {
|
|
1357
|
+
alias: string;
|
|
1358
|
+
name: string;
|
|
1359
|
+
description?: string | null;
|
|
1360
|
+
settingsSchema?: {
|
|
1361
|
+
fields: {
|
|
1362
|
+
key: string;
|
|
1363
|
+
label: string;
|
|
1364
|
+
description?: string | null;
|
|
1365
|
+
valueKind?: "String" | "Scalar" | "Collection";
|
|
1366
|
+
editorUiAlias?: string | null;
|
|
1367
|
+
editorConfig?: string | null;
|
|
1368
|
+
defaultValue?: unknown;
|
|
1369
|
+
sortOrder: number;
|
|
1370
|
+
isSensitive: boolean;
|
|
1371
|
+
isRequired: boolean;
|
|
1372
|
+
group?: string | null;
|
|
1373
|
+
supportsBindings: boolean;
|
|
1374
|
+
visibleWhen?: {
|
|
1375
|
+
key: string;
|
|
1376
|
+
values: string[];
|
|
1377
|
+
[k: string]: unknown;
|
|
1378
|
+
} | null;
|
|
1379
|
+
[k: string]: unknown;
|
|
1380
|
+
}[];
|
|
1381
|
+
[k: string]: unknown;
|
|
1382
|
+
} | null;
|
|
1383
|
+
[k: string]: unknown;
|
|
1384
|
+
}[];
|
|
1385
|
+
[k: string]: unknown;
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
export interface ResolveStepTypeOutputSchemaInput {
|
|
1389
|
+
/**
|
|
1390
|
+
* The step type alias to resolve, as returned by list-catalogue-actions, list-catalogue-control-flows, list-catalogue-triggers, or list-catalogue-step-types.
|
|
1391
|
+
*/
|
|
1392
|
+
alias: string;
|
|
1393
|
+
/**
|
|
1394
|
+
* The step's configured settings, matching the shape described by that step type's settingsSchema, e.g. Form Submitted takes `formIds` (an array of form ids). Use each settingsSchema field's `key` exactly - a key the step type doesn't declare is refused, because Automate would save it without using it. Used to resolve a dynamic output schema when hasDynamicOutputSchema is true. An id that doesn't exist is not reported - it just adds nothing (a form that doesn't exist adds no fields), so check ids before relying on the result.
|
|
1395
|
+
*/
|
|
1396
|
+
settings: {
|
|
1397
|
+
[k: string]: unknown;
|
|
1398
|
+
};
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1401
|
+
export interface ResolveStepTypeOutputSchemaOutput {
|
|
1402
|
+
[k: string]: unknown;
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1405
|
+
export interface ListConnectionsInput {
|
|
1406
|
+
/**
|
|
1407
|
+
* Optional text matched against connection name and alias.
|
|
1408
|
+
*/
|
|
1409
|
+
filter?: string;
|
|
1410
|
+
/**
|
|
1411
|
+
* Pagination cursor from a previous response's nextCursor field. Omit for the first page.
|
|
1412
|
+
*/
|
|
1413
|
+
cursor?: string;
|
|
1414
|
+
}
|
|
1415
|
+
|
|
1416
|
+
export interface ListConnectionsOutput {
|
|
1417
|
+
total: number;
|
|
1418
|
+
items: {
|
|
1419
|
+
id: string;
|
|
1420
|
+
alias: string;
|
|
1421
|
+
name: string;
|
|
1422
|
+
type: string;
|
|
1423
|
+
version: number;
|
|
1424
|
+
dateCreated: string;
|
|
1425
|
+
dateModified: string;
|
|
1426
|
+
[k: string]: unknown;
|
|
1427
|
+
}[];
|
|
1428
|
+
/**
|
|
1429
|
+
* Cursor for the next page. Pass as the cursor parameter to fetch more results. Absent when on the last page.
|
|
1430
|
+
*/
|
|
1431
|
+
nextCursor?: string | null;
|
|
1432
|
+
[k: string]: unknown;
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
export interface GetConnectionInput {
|
|
1436
|
+
/**
|
|
1437
|
+
* Id of the connection (from list-connections or create-connection).
|
|
1438
|
+
*/
|
|
1439
|
+
id: string;
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
export interface GetConnectionOutput {
|
|
1443
|
+
id: string;
|
|
1444
|
+
alias: string;
|
|
1445
|
+
name: string;
|
|
1446
|
+
type: string;
|
|
1447
|
+
settings: {
|
|
1448
|
+
[k: string]: unknown;
|
|
1449
|
+
};
|
|
1450
|
+
version: number;
|
|
1451
|
+
dateCreated: string;
|
|
1452
|
+
dateModified: string;
|
|
1453
|
+
[k: string]: unknown;
|
|
1454
|
+
}
|
|
1455
|
+
|
|
1456
|
+
export interface CreateConnectionInput {
|
|
1457
|
+
/**
|
|
1458
|
+
* Unique, code-friendly alias that automation steps use to reference this connection.
|
|
1459
|
+
*/
|
|
1460
|
+
alias: string;
|
|
1461
|
+
/**
|
|
1462
|
+
* Human-readable display name.
|
|
1463
|
+
*/
|
|
1464
|
+
name: string;
|
|
1465
|
+
/**
|
|
1466
|
+
* Connection type alias, from list-catalogue-connection-types (e.g. 'http').
|
|
1467
|
+
*/
|
|
1468
|
+
type: string;
|
|
1469
|
+
/**
|
|
1470
|
+
* Settings object matching that connection type's settingsSchema from list-catalogue-connection-types.
|
|
1471
|
+
*/
|
|
1472
|
+
settings: {
|
|
1473
|
+
[k: string]: unknown;
|
|
1474
|
+
};
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1477
|
+
export interface CreateConnectionOutput {
|
|
1478
|
+
message: string;
|
|
1479
|
+
id: string;
|
|
1480
|
+
[k: string]: unknown;
|
|
1481
|
+
}
|
|
1482
|
+
|
|
1483
|
+
export interface TestConnectionInput {
|
|
1484
|
+
/**
|
|
1485
|
+
* Id of the saved connection to test.
|
|
1486
|
+
*/
|
|
1487
|
+
id: string;
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1490
|
+
export interface TestConnectionOutput {
|
|
1491
|
+
status: "Success" | "Warning" | "Failure";
|
|
1492
|
+
message?: string | null;
|
|
1493
|
+
details: string[];
|
|
1494
|
+
[k: string]: unknown;
|
|
1495
|
+
}
|
|
1496
|
+
|
|
1497
|
+
export interface UpdateConnectionInput {
|
|
1498
|
+
/**
|
|
1499
|
+
* Id of the connection to update.
|
|
1500
|
+
*/
|
|
1501
|
+
id: string;
|
|
1502
|
+
/**
|
|
1503
|
+
* Connection alias. Pass the current value to keep it.
|
|
1504
|
+
*/
|
|
1505
|
+
alias: string;
|
|
1506
|
+
/**
|
|
1507
|
+
* Display name. Pass the current value to keep it.
|
|
1508
|
+
*/
|
|
1509
|
+
name: string;
|
|
1510
|
+
/**
|
|
1511
|
+
* Connection type alias from list-catalogue-connection-types. Pass the current value to keep it.
|
|
1512
|
+
*/
|
|
1513
|
+
type: string;
|
|
1514
|
+
/**
|
|
1515
|
+
* The complete settings object for the connection type. Replaces the stored settings - include every field you want to keep.
|
|
1516
|
+
*/
|
|
1517
|
+
settings: {
|
|
1518
|
+
[k: string]: unknown;
|
|
1519
|
+
};
|
|
1520
|
+
/**
|
|
1521
|
+
* The connection's current version from get-connection. A stale value is rejected as a conflict.
|
|
1522
|
+
*/
|
|
1523
|
+
version: number;
|
|
1524
|
+
}
|
|
1525
|
+
|
|
1526
|
+
export interface DeleteConnectionInput {
|
|
1527
|
+
/**
|
|
1528
|
+
* Id of the connection to delete permanently.
|
|
1529
|
+
*/
|
|
1530
|
+
id: string;
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1533
|
+
export interface GetMetricsInput {
|
|
1534
|
+
/**
|
|
1535
|
+
* Optional. Only count runs of automations in this workspace (id from list-workspaces).
|
|
1536
|
+
*/
|
|
1537
|
+
workspaceId?: string;
|
|
1538
|
+
/**
|
|
1539
|
+
* Optional start of the time window, as an ISO 8601 date-time (e.g. '2026-09-01T00:00:00Z'). Omit for no lower bound.
|
|
1540
|
+
*/
|
|
1541
|
+
from?: string;
|
|
1542
|
+
/**
|
|
1543
|
+
* Optional end of the time window, as an ISO 8601 date-time (e.g. '2026-09-30T23:59:59Z'). Omit for no upper bound.
|
|
1544
|
+
*/
|
|
1545
|
+
to?: string;
|
|
1546
|
+
}
|
|
1547
|
+
|
|
1548
|
+
export interface GetMetricsOutput {
|
|
1549
|
+
totalRuns: number;
|
|
1550
|
+
byStatus: {
|
|
1551
|
+
[k: string]: number;
|
|
1552
|
+
};
|
|
1553
|
+
successRate: number;
|
|
1554
|
+
[k: string]: unknown;
|
|
1555
|
+
}
|
|
1556
|
+
|
|
1557
|
+
export interface GetMetricsByAutomationInput {
|
|
1558
|
+
/**
|
|
1559
|
+
* Optional. Only count runs of automations in this workspace (id from list-workspaces).
|
|
1560
|
+
*/
|
|
1561
|
+
workspaceId?: string;
|
|
1562
|
+
/**
|
|
1563
|
+
* Optional start of the time window, as an ISO 8601 date-time (e.g. '2026-09-01T00:00:00Z'). Omit for no lower bound.
|
|
1564
|
+
*/
|
|
1565
|
+
from?: string;
|
|
1566
|
+
/**
|
|
1567
|
+
* Optional end of the time window, as an ISO 8601 date-time (e.g. '2026-09-30T23:59:59Z'). Omit for no upper bound.
|
|
1568
|
+
*/
|
|
1569
|
+
to?: string;
|
|
1570
|
+
/**
|
|
1571
|
+
* Maximum number of automations to return (default 10).
|
|
1572
|
+
*/
|
|
1573
|
+
take?: number;
|
|
1574
|
+
}
|
|
1575
|
+
|
|
1576
|
+
export interface GetMetricsByAutomationOutput {
|
|
1577
|
+
items: {
|
|
1578
|
+
automationId: string;
|
|
1579
|
+
automationName: string;
|
|
1580
|
+
totalRuns: number;
|
|
1581
|
+
successCount: number;
|
|
1582
|
+
failCount: number;
|
|
1583
|
+
[k: string]: unknown;
|
|
1584
|
+
}[];
|
|
1585
|
+
[k: string]: unknown;
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
export interface ListRunsInput {
|
|
1589
|
+
/**
|
|
1590
|
+
* Pagination cursor from a previous response's nextCursor field. Omit for the first page.
|
|
1591
|
+
*/
|
|
1592
|
+
cursor?: string;
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
export interface ListRunsOutput {
|
|
1596
|
+
total: number;
|
|
1597
|
+
items: {
|
|
1598
|
+
id: string;
|
|
1599
|
+
automationId: string;
|
|
1600
|
+
automationName: string;
|
|
1601
|
+
automationVersion: number;
|
|
1602
|
+
status: "Pending" | "Running" | "Completed" | "Failed" | "Suspended" | "Cancelled" | "Rejected";
|
|
1603
|
+
startedUtc?: string | null;
|
|
1604
|
+
completedUtc?: string | null;
|
|
1605
|
+
initiatedBy: string;
|
|
1606
|
+
correlationId?: string | null;
|
|
1607
|
+
error?: string | null;
|
|
1608
|
+
[k: string]: unknown;
|
|
1609
|
+
}[];
|
|
1610
|
+
/**
|
|
1611
|
+
* Cursor for the next page. Pass as the cursor parameter to fetch more results. Absent when on the last page.
|
|
1612
|
+
*/
|
|
1613
|
+
nextCursor?: string | null;
|
|
1614
|
+
[k: string]: unknown;
|
|
1615
|
+
}
|
|
1616
|
+
|
|
1617
|
+
export interface GetRunByIdInput {
|
|
1618
|
+
/**
|
|
1619
|
+
* Id of the run (from list-runs or list-automation-runs).
|
|
1620
|
+
*/
|
|
1621
|
+
id: string;
|
|
1622
|
+
}
|
|
1623
|
+
|
|
1624
|
+
export interface GetRunByIdOutput {
|
|
1625
|
+
id: string;
|
|
1626
|
+
automationId: string;
|
|
1627
|
+
automationVersion: number;
|
|
1628
|
+
status: "Pending" | "Running" | "Completed" | "Failed" | "Suspended" | "Cancelled" | "Rejected";
|
|
1629
|
+
startedUtc?: string | null;
|
|
1630
|
+
completedUtc?: string | null;
|
|
1631
|
+
initiatedBy: string;
|
|
1632
|
+
correlationId?: string | null;
|
|
1633
|
+
error?: string | null;
|
|
1634
|
+
triggerAlias?: string | null;
|
|
1635
|
+
stepRuns: {
|
|
1636
|
+
id: string;
|
|
1637
|
+
stepId: string;
|
|
1638
|
+
actionAlias: string;
|
|
1639
|
+
status:
|
|
1640
|
+
| "Pending"
|
|
1641
|
+
| "Running"
|
|
1642
|
+
| "Completed"
|
|
1643
|
+
| "Failed"
|
|
1644
|
+
| "Skipped"
|
|
1645
|
+
| "WaitingForInput"
|
|
1646
|
+
| "Sleeping"
|
|
1647
|
+
| "Rejected"
|
|
1648
|
+
| "Cancelled";
|
|
1649
|
+
startedUtc?: string | null;
|
|
1650
|
+
completedUtc?: string | null;
|
|
1651
|
+
error?: string | null;
|
|
1652
|
+
retryCount: number;
|
|
1653
|
+
durationMs?: number | null;
|
|
1654
|
+
branchOutcome?: string | null;
|
|
1655
|
+
iterationIndex?: number | null;
|
|
1656
|
+
iterationTotal?: number | null;
|
|
1657
|
+
logEntries?: {
|
|
1658
|
+
timestampUtc: string;
|
|
1659
|
+
level: "Debug" | "Info" | "Warning" | "Error";
|
|
1660
|
+
message: string;
|
|
1661
|
+
[k: string]: unknown;
|
|
1662
|
+
}[];
|
|
1663
|
+
[k: string]: unknown;
|
|
1664
|
+
}[];
|
|
1665
|
+
[k: string]: unknown;
|
|
1666
|
+
}
|
|
1667
|
+
|
|
1668
|
+
export interface ReplayRunInput {
|
|
1669
|
+
/**
|
|
1670
|
+
* Id of the finished run to replay.
|
|
1671
|
+
*/
|
|
1672
|
+
id: string;
|
|
1673
|
+
}
|
|
1674
|
+
|
|
1675
|
+
export interface ResumeRunInput {
|
|
1676
|
+
/**
|
|
1677
|
+
* Id of the Suspended run to continue.
|
|
1678
|
+
*/
|
|
1679
|
+
id: string;
|
|
1680
|
+
}
|
|
1681
|
+
|
|
1682
|
+
export interface SuspendRunInput {
|
|
1683
|
+
/**
|
|
1684
|
+
* Id of the Pending or Running run to pause.
|
|
1685
|
+
*/
|
|
1686
|
+
id: string;
|
|
1687
|
+
}
|
|
1688
|
+
|
|
1689
|
+
export interface TerminateRunInput {
|
|
1690
|
+
/**
|
|
1691
|
+
* Id of the Pending, Running or Suspended run to stop.
|
|
1692
|
+
*/
|
|
1693
|
+
id: string;
|
|
1694
|
+
}
|
|
1695
|
+
|
|
1696
|
+
export interface ListVersionHistorySupportedTypesOutput {
|
|
1697
|
+
items: string[];
|
|
1698
|
+
[k: string]: unknown;
|
|
1699
|
+
}
|
|
1700
|
+
|
|
1701
|
+
export interface ListVersionHistoryInput {
|
|
1702
|
+
/**
|
|
1703
|
+
* Entity type in PascalCase, e.g. 'Automation'. See list-version-history-supported-types for the accepted values.
|
|
1704
|
+
*/
|
|
1705
|
+
entityType: string;
|
|
1706
|
+
/**
|
|
1707
|
+
* Id of the entity whose history to list, e.g. an automation id.
|
|
1708
|
+
*/
|
|
1709
|
+
entityId: string;
|
|
1710
|
+
/**
|
|
1711
|
+
* Pagination cursor from a previous response's nextCursor field. Omit for the first page.
|
|
1712
|
+
*/
|
|
1713
|
+
cursor?: string;
|
|
1714
|
+
}
|
|
1715
|
+
|
|
1716
|
+
export interface ListVersionHistoryOutput {
|
|
1717
|
+
currentVersion: number;
|
|
1718
|
+
totalVersions: number;
|
|
1719
|
+
publishedVersion?: number | null;
|
|
1720
|
+
versions: {
|
|
1721
|
+
id: string;
|
|
1722
|
+
entityId: string;
|
|
1723
|
+
version: number;
|
|
1724
|
+
dateCreated: string;
|
|
1725
|
+
createdByUserId?: string | null;
|
|
1726
|
+
changeDescription?: string | null;
|
|
1727
|
+
isPublished: boolean;
|
|
1728
|
+
[k: string]: unknown;
|
|
1729
|
+
}[];
|
|
1730
|
+
/**
|
|
1731
|
+
* Cursor for the next page. Pass as the cursor parameter to fetch more results. Absent when on the last page.
|
|
1732
|
+
*/
|
|
1733
|
+
nextCursor?: string | null;
|
|
1734
|
+
[k: string]: unknown;
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1737
|
+
export interface GetVersionHistoryEntryInput {
|
|
1738
|
+
/**
|
|
1739
|
+
* Entity type in PascalCase, e.g. 'Automation'. See list-version-history-supported-types for the accepted values.
|
|
1740
|
+
*/
|
|
1741
|
+
entityType: string;
|
|
1742
|
+
/**
|
|
1743
|
+
* Id of the entity whose history to read, e.g. an automation id.
|
|
1744
|
+
*/
|
|
1745
|
+
entityId: string;
|
|
1746
|
+
/**
|
|
1747
|
+
* Version number to read, from list-version-history (1 is the original creation).
|
|
1748
|
+
*/
|
|
1749
|
+
entityVersion: number;
|
|
1750
|
+
}
|
|
1751
|
+
|
|
1752
|
+
export interface GetVersionHistoryEntryOutput {
|
|
1753
|
+
id: string;
|
|
1754
|
+
entityId: string;
|
|
1755
|
+
version: number;
|
|
1756
|
+
dateCreated: string;
|
|
1757
|
+
createdByUserId?: string | null;
|
|
1758
|
+
changeDescription?: string | null;
|
|
1759
|
+
isPublished: boolean;
|
|
1760
|
+
[k: string]: unknown;
|
|
1761
|
+
}
|
|
1762
|
+
|
|
1763
|
+
export interface CompareVersionHistoryInput {
|
|
1764
|
+
/**
|
|
1765
|
+
* Entity type in PascalCase, e.g. 'Automation'. See list-version-history-supported-types for the accepted values.
|
|
1766
|
+
*/
|
|
1767
|
+
entityType: string;
|
|
1768
|
+
/**
|
|
1769
|
+
* Id of the entity whose history to read, e.g. an automation id.
|
|
1770
|
+
*/
|
|
1771
|
+
entityId: string;
|
|
1772
|
+
/**
|
|
1773
|
+
* The older version number to compare from, from list-version-history.
|
|
1774
|
+
*/
|
|
1775
|
+
fromEntityVersion: number;
|
|
1776
|
+
/**
|
|
1777
|
+
* The newer version number to compare to, from list-version-history.
|
|
1778
|
+
*/
|
|
1779
|
+
toEntityVersion: number;
|
|
1780
|
+
}
|
|
1781
|
+
|
|
1782
|
+
export interface CompareVersionHistoryOutput {
|
|
1783
|
+
fromVersion: number;
|
|
1784
|
+
toVersion: number;
|
|
1785
|
+
changes: {
|
|
1786
|
+
path: string;
|
|
1787
|
+
oldValue?: string | null;
|
|
1788
|
+
newValue?: string | null;
|
|
1789
|
+
[k: string]: unknown;
|
|
1790
|
+
}[];
|
|
1791
|
+
[k: string]: unknown;
|
|
1792
|
+
}
|
|
1793
|
+
|
|
1794
|
+
export interface RollbackVersionHistoryInput {
|
|
1795
|
+
/**
|
|
1796
|
+
* Entity type in PascalCase, e.g. 'Automation'. See list-version-history-supported-types for the accepted values.
|
|
1797
|
+
*/
|
|
1798
|
+
entityType: string;
|
|
1799
|
+
/**
|
|
1800
|
+
* Id of the entity whose history to read, e.g. an automation id.
|
|
1801
|
+
*/
|
|
1802
|
+
entityId: string;
|
|
1803
|
+
/**
|
|
1804
|
+
* Version number to restore, from list-version-history.
|
|
1805
|
+
*/
|
|
1806
|
+
entityVersion: number;
|
|
1807
|
+
}
|
|
1808
|
+
|
|
1809
|
+
export interface ListWorkspacesInput {
|
|
1810
|
+
/**
|
|
1811
|
+
* Optional text matched against workspace name and alias.
|
|
1812
|
+
*/
|
|
1813
|
+
filter?: string;
|
|
1814
|
+
/**
|
|
1815
|
+
* Pagination cursor from a previous response's nextCursor field. Omit for the first page.
|
|
1816
|
+
*/
|
|
1817
|
+
cursor?: string;
|
|
1818
|
+
}
|
|
1819
|
+
|
|
1820
|
+
export interface ListWorkspacesOutput {
|
|
1821
|
+
total: number;
|
|
1822
|
+
items: {
|
|
1823
|
+
id: string;
|
|
1824
|
+
alias: string;
|
|
1825
|
+
name: string;
|
|
1826
|
+
serviceAccountKey: string;
|
|
1827
|
+
version: number;
|
|
1828
|
+
dateCreated: string;
|
|
1829
|
+
dateModified: string;
|
|
1830
|
+
[k: string]: unknown;
|
|
1831
|
+
}[];
|
|
1832
|
+
/**
|
|
1833
|
+
* Cursor for the next page. Pass as the cursor parameter to fetch more results. Absent when on the last page.
|
|
1834
|
+
*/
|
|
1835
|
+
nextCursor?: string | null;
|
|
1836
|
+
[k: string]: unknown;
|
|
1837
|
+
}
|
|
1838
|
+
|
|
1839
|
+
export interface GetWorkspaceInput {
|
|
1840
|
+
/**
|
|
1841
|
+
* The id of the workspace to fetch.
|
|
1842
|
+
*/
|
|
1843
|
+
workspaceId: string;
|
|
1844
|
+
}
|
|
1845
|
+
|
|
1846
|
+
export interface GetWorkspaceOutput {
|
|
1847
|
+
id: string;
|
|
1848
|
+
alias: string;
|
|
1849
|
+
name: string;
|
|
1850
|
+
serviceAccountKey: string;
|
|
1851
|
+
userGroups: string[];
|
|
1852
|
+
allowedConnections: string[];
|
|
1853
|
+
version: number;
|
|
1854
|
+
dateCreated: string;
|
|
1855
|
+
dateModified: string;
|
|
1856
|
+
[k: string]: unknown;
|
|
1857
|
+
}
|
|
1858
|
+
|
|
1859
|
+
export interface ListWorkspaceGroupsInput {
|
|
1860
|
+
/**
|
|
1861
|
+
* The id of the workspace whose groups to list.
|
|
1862
|
+
*/
|
|
1863
|
+
workspaceId: string;
|
|
1864
|
+
/**
|
|
1865
|
+
* Optional parent group id. When set, returns only that group's direct children. When omitted, returns only the workspace's top-level groups (those with no parent) - not every group in the workspace. To see all groups, walk the tree: list top-level groups, then call this again with each group's id to list its children, recursively.
|
|
1866
|
+
*/
|
|
1867
|
+
parentGroupId?: string;
|
|
1868
|
+
}
|
|
1869
|
+
|
|
1870
|
+
export interface ListWorkspaceGroupsOutput {
|
|
1871
|
+
items: {
|
|
1872
|
+
id: string;
|
|
1873
|
+
name: string;
|
|
1874
|
+
parentId?: string | null;
|
|
1875
|
+
workspaceId: string;
|
|
1876
|
+
dateCreated: string;
|
|
1877
|
+
[k: string]: unknown;
|
|
1878
|
+
}[];
|
|
1879
|
+
[k: string]: unknown;
|
|
1880
|
+
}
|
|
1881
|
+
|
|
1882
|
+
export interface GetWorkspaceGroupInput {
|
|
1883
|
+
/**
|
|
1884
|
+
* The id of the workspace the group belongs to.
|
|
1885
|
+
*/
|
|
1886
|
+
workspaceId: string;
|
|
1887
|
+
/**
|
|
1888
|
+
* The id of the group to fetch.
|
|
1889
|
+
*/
|
|
1890
|
+
groupId: string;
|
|
1891
|
+
}
|
|
1892
|
+
|
|
1893
|
+
export interface GetWorkspaceGroupOutput {
|
|
1894
|
+
id: string;
|
|
1895
|
+
name: string;
|
|
1896
|
+
parentId?: string | null;
|
|
1897
|
+
workspaceId: string;
|
|
1898
|
+
dateCreated: string;
|
|
1899
|
+
[k: string]: unknown;
|
|
1900
|
+
}
|
|
1901
|
+
|
|
1902
|
+
export interface CreateWorkspaceInput {
|
|
1903
|
+
/**
|
|
1904
|
+
* Unique machine alias for the workspace.
|
|
1905
|
+
*/
|
|
1906
|
+
alias: string;
|
|
1907
|
+
/**
|
|
1908
|
+
* Human-friendly display name for the workspace.
|
|
1909
|
+
*/
|
|
1910
|
+
name: string;
|
|
1911
|
+
/**
|
|
1912
|
+
* Id of the Umbraco service account the workspace's automations run as.
|
|
1913
|
+
*/
|
|
1914
|
+
serviceAccountKey: string;
|
|
1915
|
+
/**
|
|
1916
|
+
* Ids of the Umbraco user groups allowed to manage this workspace.
|
|
1917
|
+
*/
|
|
1918
|
+
userGroups?: string[];
|
|
1919
|
+
/**
|
|
1920
|
+
* Ids of the connections that automations in this workspace are allowed to use.
|
|
1921
|
+
*/
|
|
1922
|
+
allowedConnections?: string[];
|
|
1923
|
+
}
|
|
1924
|
+
|
|
1925
|
+
export interface CreateWorkspaceOutput {
|
|
1926
|
+
success: boolean;
|
|
1927
|
+
id?: string;
|
|
1928
|
+
location?: string;
|
|
1929
|
+
[k: string]: unknown;
|
|
1930
|
+
}
|
|
1931
|
+
|
|
1932
|
+
export interface CreateWorkspaceGroupInput {
|
|
1933
|
+
/**
|
|
1934
|
+
* The id of the workspace to create the group in.
|
|
1935
|
+
*/
|
|
1936
|
+
workspaceId: string;
|
|
1937
|
+
/**
|
|
1938
|
+
* Display name for the group.
|
|
1939
|
+
*/
|
|
1940
|
+
name: string;
|
|
1941
|
+
/**
|
|
1942
|
+
* Optional id of a parent group, to nest this group underneath it. Omit for a top-level group.
|
|
1943
|
+
*/
|
|
1944
|
+
parentId?: string | null;
|
|
1945
|
+
}
|
|
1946
|
+
|
|
1947
|
+
export interface CreateWorkspaceGroupOutput {
|
|
1948
|
+
success: boolean;
|
|
1949
|
+
id?: string;
|
|
1950
|
+
location?: string;
|
|
1951
|
+
[k: string]: unknown;
|
|
1952
|
+
}
|
|
1953
|
+
|
|
1954
|
+
export interface UpdateWorkspaceInput {
|
|
1955
|
+
/**
|
|
1956
|
+
* The id of the workspace to update.
|
|
1957
|
+
*/
|
|
1958
|
+
workspaceId: string;
|
|
1959
|
+
/**
|
|
1960
|
+
* Unique machine alias for the workspace. Pass the current value to keep it.
|
|
1961
|
+
*/
|
|
1962
|
+
alias: string;
|
|
1963
|
+
/**
|
|
1964
|
+
* Display name for the workspace. Pass the current value to keep it.
|
|
1965
|
+
*/
|
|
1966
|
+
name: string;
|
|
1967
|
+
/**
|
|
1968
|
+
* Id of the Umbraco user the workspace's automations run as. Pass the current value from get-workspace to keep it.
|
|
1969
|
+
*/
|
|
1970
|
+
serviceAccountKey: string;
|
|
1971
|
+
/**
|
|
1972
|
+
* Ids of the Umbraco user groups allowed to manage this workspace. Replaces the whole list - pass the current list from get-workspace to keep it, or [] for none.
|
|
1973
|
+
*/
|
|
1974
|
+
userGroups: string[];
|
|
1975
|
+
/**
|
|
1976
|
+
* Ids of the connections this workspace's automations may use. Replaces the whole list - pass the current list from get-workspace to keep it, or [] for none.
|
|
1977
|
+
*/
|
|
1978
|
+
allowedConnections: string[];
|
|
1979
|
+
/**
|
|
1980
|
+
* The workspace's current version from get-workspace. A stale value is rejected as a conflict.
|
|
1981
|
+
*/
|
|
1982
|
+
version: number;
|
|
1983
|
+
}
|
|
1984
|
+
|
|
1985
|
+
export interface UpdateWorkspaceGroupInput {
|
|
1986
|
+
/**
|
|
1987
|
+
* The id of the workspace the group belongs to.
|
|
1988
|
+
*/
|
|
1989
|
+
workspaceId: string;
|
|
1990
|
+
/**
|
|
1991
|
+
* The id of the group to update.
|
|
1992
|
+
*/
|
|
1993
|
+
groupId: string;
|
|
1994
|
+
/**
|
|
1995
|
+
* Display name for the group. Pass the current name to keep it.
|
|
1996
|
+
*/
|
|
1997
|
+
name: string;
|
|
1998
|
+
/**
|
|
1999
|
+
* Optional id of the parent group to nest under. Omit or pass null to make it a top-level group.
|
|
2000
|
+
*/
|
|
2001
|
+
parentId?: string | null;
|
|
2002
|
+
}
|
|
2003
|
+
|
|
2004
|
+
export interface DeleteWorkspaceInput {
|
|
2005
|
+
/**
|
|
2006
|
+
* The id of the workspace to delete.
|
|
2007
|
+
*/
|
|
2008
|
+
workspaceId: string;
|
|
2009
|
+
}
|
|
2010
|
+
|
|
2011
|
+
export interface DeleteWorkspaceGroupInput {
|
|
2012
|
+
/**
|
|
2013
|
+
* The id of the workspace the group belongs to.
|
|
2014
|
+
*/
|
|
2015
|
+
workspaceId: string;
|
|
2016
|
+
/**
|
|
2017
|
+
* The id of the group to delete.
|
|
2018
|
+
*/
|
|
2019
|
+
groupId: string;
|
|
2020
|
+
}
|
|
2021
|
+
|
|
2022
|
+
export interface McpTools {
|
|
2023
|
+
"get-server-info": { input: Record<string, unknown>; output: unknown };
|
|
2024
|
+
"list-pending-approvals": { input: Record<string, unknown>; output: ListPendingApprovalsOutput };
|
|
2025
|
+
"decide-approval-step": { input: DecideApprovalStepInput; output: unknown };
|
|
2026
|
+
"list-automations": { input: ListAutomationsInput; output: ListAutomationsOutput };
|
|
2027
|
+
"get-automation": { input: GetAutomationInput; output: GetAutomationOutput };
|
|
2028
|
+
"get-automation-ancestors": { input: GetAutomationAncestorsInput; output: GetAutomationAncestorsOutput };
|
|
2029
|
+
"export-automation": { input: ExportAutomationInput; output: ExportAutomationOutput };
|
|
2030
|
+
"list-automation-runs": { input: ListAutomationRunsInput; output: ListAutomationRunsOutput };
|
|
2031
|
+
"get-automation-webhook-url": { input: GetAutomationWebhookUrlInput; output: GetAutomationWebhookUrlOutput };
|
|
2032
|
+
"get-automation-group": { input: GetAutomationGroupInput; output: GetAutomationGroupOutput };
|
|
2033
|
+
"create-automation": { input: CreateAutomationInput; output: CreateAutomationOutput };
|
|
2034
|
+
"publish-automation": { input: PublishAutomationInput; output: unknown };
|
|
2035
|
+
"unpublish-automation": { input: UnpublishAutomationInput; output: unknown };
|
|
2036
|
+
"re-enable-automation": { input: ReEnableAutomationInput; output: unknown };
|
|
2037
|
+
"trigger-automation": { input: TriggerAutomationInput; output: unknown };
|
|
2038
|
+
"import-automation": { input: ImportAutomationInput; output: ImportAutomationOutput };
|
|
2039
|
+
"validate-automation-import": { input: ValidateAutomationImportInput; output: ValidateAutomationImportOutput };
|
|
2040
|
+
"update-automation": { input: UpdateAutomationInput; output: UpdateAutomationOutput };
|
|
2041
|
+
"import-automation-into-existing": { input: ImportAutomationIntoExistingInput; output: ImportAutomationIntoExistingOutput };
|
|
2042
|
+
"delete-automation": { input: DeleteAutomationInput; output: unknown };
|
|
2043
|
+
"add-automation-step": { input: AddAutomationStepInput; output: AddAutomationStepOutput };
|
|
2044
|
+
"update-automation-step": { input: UpdateAutomationStepInput; output: UpdateAutomationStepOutput };
|
|
2045
|
+
"remove-automation-step": { input: RemoveAutomationStepInput; output: RemoveAutomationStepOutput };
|
|
2046
|
+
"connect-automation-steps": { input: ConnectAutomationStepsInput; output: ConnectAutomationStepsOutput };
|
|
2047
|
+
"disconnect-automation-steps": { input: DisconnectAutomationStepsInput; output: DisconnectAutomationStepsOutput };
|
|
2048
|
+
"set-automation-trigger": { input: SetAutomationTriggerInput; output: SetAutomationTriggerOutput };
|
|
2049
|
+
"list-catalogue-actions": { input: ListCatalogueActionsInput; output: ListCatalogueActionsOutput };
|
|
2050
|
+
"list-catalogue-connection-types": { input: Record<string, unknown>; output: ListCatalogueConnectionTypesOutput };
|
|
2051
|
+
"list-catalogue-control-flows": { input: Record<string, unknown>; output: ListCatalogueControlFlowsOutput };
|
|
2052
|
+
"list-catalogue-notification-channels": { input: Record<string, unknown>; output: ListCatalogueNotificationChannelsOutput };
|
|
2053
|
+
"list-catalogue-step-types": { input: ListCatalogueStepTypesInput; output: ListCatalogueStepTypesOutput };
|
|
2054
|
+
"list-catalogue-triggers": { input: ListCatalogueTriggersInput; output: ListCatalogueTriggersOutput };
|
|
2055
|
+
"list-catalogue-webhook-authenticators": { input: Record<string, unknown>; output: ListCatalogueWebhookAuthenticatorsOutput };
|
|
2056
|
+
"resolve-step-type-output-schema": { input: ResolveStepTypeOutputSchemaInput; output: ResolveStepTypeOutputSchemaOutput };
|
|
2057
|
+
"list-connections": { input: ListConnectionsInput; output: ListConnectionsOutput };
|
|
2058
|
+
"get-connection": { input: GetConnectionInput; output: GetConnectionOutput };
|
|
2059
|
+
"create-connection": { input: CreateConnectionInput; output: CreateConnectionOutput };
|
|
2060
|
+
"test-connection": { input: TestConnectionInput; output: TestConnectionOutput };
|
|
2061
|
+
"update-connection": { input: UpdateConnectionInput; output: unknown };
|
|
2062
|
+
"delete-connection": { input: DeleteConnectionInput; output: unknown };
|
|
2063
|
+
"get-metrics": { input: GetMetricsInput; output: GetMetricsOutput };
|
|
2064
|
+
"get-metrics-by-automation": { input: GetMetricsByAutomationInput; output: GetMetricsByAutomationOutput };
|
|
2065
|
+
"list-runs": { input: ListRunsInput; output: ListRunsOutput };
|
|
2066
|
+
"get-run-by-id": { input: GetRunByIdInput; output: GetRunByIdOutput };
|
|
2067
|
+
"replay-run": { input: ReplayRunInput; output: unknown };
|
|
2068
|
+
"resume-run": { input: ResumeRunInput; output: unknown };
|
|
2069
|
+
"suspend-run": { input: SuspendRunInput; output: unknown };
|
|
2070
|
+
"terminate-run": { input: TerminateRunInput; output: unknown };
|
|
2071
|
+
"list-version-history-supported-types": { input: Record<string, unknown>; output: ListVersionHistorySupportedTypesOutput };
|
|
2072
|
+
"list-version-history": { input: ListVersionHistoryInput; output: ListVersionHistoryOutput };
|
|
2073
|
+
"get-version-history-entry": { input: GetVersionHistoryEntryInput; output: GetVersionHistoryEntryOutput };
|
|
2074
|
+
"compare-version-history": { input: CompareVersionHistoryInput; output: CompareVersionHistoryOutput };
|
|
2075
|
+
"rollback-version-history": { input: RollbackVersionHistoryInput; output: unknown };
|
|
2076
|
+
"list-workspaces": { input: ListWorkspacesInput; output: ListWorkspacesOutput };
|
|
2077
|
+
"get-workspace": { input: GetWorkspaceInput; output: GetWorkspaceOutput };
|
|
2078
|
+
"list-workspace-groups": { input: ListWorkspaceGroupsInput; output: ListWorkspaceGroupsOutput };
|
|
2079
|
+
"get-workspace-group": { input: GetWorkspaceGroupInput; output: GetWorkspaceGroupOutput };
|
|
2080
|
+
"create-workspace": { input: CreateWorkspaceInput; output: CreateWorkspaceOutput };
|
|
2081
|
+
"create-workspace-group": { input: CreateWorkspaceGroupInput; output: CreateWorkspaceGroupOutput };
|
|
2082
|
+
"update-workspace": { input: UpdateWorkspaceInput; output: unknown };
|
|
2083
|
+
"update-workspace-group": { input: UpdateWorkspaceGroupInput; output: unknown };
|
|
2084
|
+
"delete-workspace": { input: DeleteWorkspaceInput; output: unknown };
|
|
2085
|
+
"delete-workspace-group": { input: DeleteWorkspaceGroupInput; output: unknown };
|
|
2086
|
+
}
|
|
2087
|
+
|
|
2088
|
+
export type McpToolsName = keyof McpTools;
|