atlassian-toolkit-wasm 0.0.0 → 0.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.
@@ -0,0 +1,1767 @@
1
+ // Generated by dts-bundle-generator v9.5.1
2
+
3
+ declare function markdownToStorage(markdown: string): string;
4
+ declare function markdownToWiki(markdown: string): string;
5
+ declare function storageToMarkdown(storage: string): string;
6
+ declare function wikiToMarkdown(wiki: string): string;
7
+ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
8
+ export interface InitOutput {
9
+ readonly memory: WebAssembly.Memory;
10
+ readonly __wbg_client_free: (a: number, b: number) => void;
11
+ readonly adfToMarkdown: (a: any) => [
12
+ number,
13
+ number,
14
+ number,
15
+ number
16
+ ];
17
+ readonly client_call: (a: number, b: number, c: number, d: number, e: number, f: any) => [
18
+ number,
19
+ number,
20
+ number
21
+ ];
22
+ readonly client_configured: (a: number, b: number, c: number) => number;
23
+ readonly client_request: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: any, i: any) => [
24
+ number,
25
+ number,
26
+ number
27
+ ];
28
+ readonly client_task: (a: number, b: number, c: number, d: any) => [
29
+ number,
30
+ number,
31
+ number
32
+ ];
33
+ readonly client_withConnections: (a: any) => [
34
+ number,
35
+ number,
36
+ number
37
+ ];
38
+ readonly markdownToAdf: (a: number, b: number) => any;
39
+ readonly markdownToStorage: (a: number, b: number) => [
40
+ number,
41
+ number
42
+ ];
43
+ readonly markdownToWiki: (a: number, b: number) => [
44
+ number,
45
+ number
46
+ ];
47
+ readonly storageToMarkdown: (a: number, b: number) => [
48
+ number,
49
+ number
50
+ ];
51
+ readonly taskList: () => any;
52
+ readonly wikiToMarkdown: (a: number, b: number) => [
53
+ number,
54
+ number
55
+ ];
56
+ readonly wasm_bindgen_438d19545310cc09___convert__closures_____invoke___js_sys_691b08b2ef9c461d___Function_fn_wasm_bindgen_438d19545310cc09___JsValue_____wasm_bindgen_438d19545310cc09___sys__Undefined___js_sys_691b08b2ef9c461d___Function_fn_wasm_bindgen_438d19545310cc09___JsValue_____wasm_bindgen_438d19545310cc09___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
57
+ readonly wasm_bindgen_438d19545310cc09___convert__closures_____invoke___wasm_bindgen_438d19545310cc09___JsValue__core_d941ad8722425d2e___result__Result_____wasm_bindgen_438d19545310cc09___JsError___true_: (a: number, b: number, c: any) => [
58
+ number,
59
+ number
60
+ ];
61
+ readonly wasm_bindgen_438d19545310cc09___convert__closures_____invoke_______true_: (a: number, b: number) => void;
62
+ readonly wasm_bindgen_438d19545310cc09___convert__closures_____invoke_______true__1_: (a: number, b: number) => void;
63
+ readonly __wbindgen_malloc: (a: number, b: number) => number;
64
+ readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
65
+ readonly __wbindgen_free: (a: number, b: number, c: number) => void;
66
+ readonly __wbindgen_exn_store: (a: number) => void;
67
+ readonly __externref_table_alloc: () => number;
68
+ readonly __wbindgen_externrefs: WebAssembly.Table;
69
+ readonly __wbindgen_destroy_closure: (a: number, b: number) => void;
70
+ readonly __externref_table_dealloc: (a: number) => void;
71
+ readonly __wbindgen_start: () => void;
72
+ }
73
+ declare function __wbg_init(module_or_path?: {
74
+ module_or_path: InitInput | Promise<InitInput>;
75
+ } | InitInput | Promise<InitInput>): Promise<InitOutput>;
76
+ /** The result type of a task: from `TaskResults` when known, else `unknown`. */
77
+ export type TaskResult<N extends string> = N extends keyof TaskResults ? TaskResults[N] : unknown;
78
+ /** Arguments of `jira_issue_list`: Search Jira issues with filters (or extra JQL). Returns small records: key, summary, status, type, assignee, priority, updated, url. With no filters: your unresolved issues. */
79
+ export interface JiraIssueListArgs {
80
+ /** Project key (CLI default: [jira] project in .atl.toml). */
81
+ project?: string | null;
82
+ /** Statuses, for example `In Progress`; `~Done` excludes Done. Give several to match any of them. */
83
+ status?: string[];
84
+ /** `me`, `x` (unassigned), or a user; ~ negates. */
85
+ assignee?: string | null;
86
+ /** `me` or a user; ~ negates. */
87
+ reporter?: string | null;
88
+ /** Issue types, for example Bug. */
89
+ type?: string[];
90
+ /** Labels; ~ negates. */
91
+ labels?: string[];
92
+ /** Priorities, for example High; ~ negates. */
93
+ priority?: string[];
94
+ /** Components; ~ negates. */
95
+ component?: string[];
96
+ /** Resolutions, for example Fixed or Unresolved; ~ negates. */
97
+ resolution?: string[];
98
+ /** Parent issue key (an epic on Cloud, or the parent of sub-tasks). */
99
+ parent?: string | null;
100
+ /** Only issues you watch. */
101
+ watching?: boolean;
102
+ /** Issues you viewed recently, most recent first. */
103
+ history?: boolean;
104
+ /** Sprint: current (open), next (future), closed, a sprint ID, or a sprint name. */
105
+ sprint?: string | null;
106
+ /** Created since: -7d, -1h, today, week, month, or a date (2026-01-31). */
107
+ created?: string | null;
108
+ /** Created before: -7d, today, week, month, or a date. */
109
+ created_before?: string | null;
110
+ /** Updated since: -7d, -1h, today, week, month, or a date. */
111
+ updated?: string | null;
112
+ /** Updated before: -7d, today, week, month, or a date. */
113
+ updated_before?: string | null;
114
+ /** Full-text search over summary, description and comments. */
115
+ text?: string | null;
116
+ /** Extra JQL combined with AND; may end with ORDER BY. */
117
+ jql?: string | null;
118
+ /** Sort field (default updated), newest first unless `reverse`. */
119
+ order_by?: string | null;
120
+ /** Oldest first. */
121
+ reverse?: boolean;
122
+ /** Issues per page, 1-100 (default 50). */
123
+ limit?: number;
124
+ /** `next_page_token` from the previous page. */
125
+ page_token?: string | null;
126
+ }
127
+ /** Arguments of `jira_issue_count`: Count Jira issues matching the same filters as issue_list. */
128
+ export interface JiraIssueCountArgs {
129
+ /** Project key (CLI default: [jira] project in .atl.toml). */
130
+ project?: string | null;
131
+ /** Statuses, for example `In Progress`; `~Done` excludes Done. Give several to match any of them. */
132
+ status?: string[];
133
+ /** `me`, `x` (unassigned), or a user; ~ negates. */
134
+ assignee?: string | null;
135
+ /** `me` or a user; ~ negates. */
136
+ reporter?: string | null;
137
+ /** Issue types, for example Bug. */
138
+ type?: string[];
139
+ /** Labels; ~ negates. */
140
+ labels?: string[];
141
+ /** Priorities, for example High; ~ negates. */
142
+ priority?: string[];
143
+ /** Components; ~ negates. */
144
+ component?: string[];
145
+ /** Resolutions, for example Fixed or Unresolved; ~ negates. */
146
+ resolution?: string[];
147
+ /** Parent issue key (an epic on Cloud, or the parent of sub-tasks). */
148
+ parent?: string | null;
149
+ /** Only issues you watch. */
150
+ watching?: boolean;
151
+ /** Issues you viewed recently, most recent first. */
152
+ history?: boolean;
153
+ /** Sprint: current (open), next (future), closed, a sprint ID, or a sprint name. */
154
+ sprint?: string | null;
155
+ /** Created since: -7d, -1h, today, week, month, or a date (2026-01-31). */
156
+ created?: string | null;
157
+ /** Created before: -7d, today, week, month, or a date. */
158
+ created_before?: string | null;
159
+ /** Updated since: -7d, -1h, today, week, month, or a date. */
160
+ updated?: string | null;
161
+ /** Updated before: -7d, today, week, month, or a date. */
162
+ updated_before?: string | null;
163
+ /** Full-text search over summary, description and comments. */
164
+ text?: string | null;
165
+ /** Extra JQL combined with AND; may end with ORDER BY. */
166
+ jql?: string | null;
167
+ /** Sort field (default updated), newest first unless `reverse`. */
168
+ order_by?: string | null;
169
+ /** Oldest first. */
170
+ reverse?: boolean;
171
+ /** Issues per page, 1-100 (default 50). */
172
+ limit?: number;
173
+ /** `next_page_token` from the previous page. */
174
+ page_token?: string | null;
175
+ }
176
+ /** Arguments of `jira_issue_view`: One Jira issue with description and latest comments as Markdown, plus any `fields` asked for by name. */
177
+ export interface JiraIssueViewArgs {
178
+ key: string;
179
+ /** How many of the latest comments to include. */
180
+ comments?: number;
181
+ /** Extra fields to include, by name or ID (for example "Story Points"). */
182
+ fields?: string[];
183
+ }
184
+ /** Arguments of `jira_issue_delete`: Delete a Jira issue (with `subtasks: true`, also its sub-tasks). Cannot be undone. */
185
+ export interface JiraIssueDeleteArgs {
186
+ key: string;
187
+ /** Also delete the sub-tasks (Jira refuses otherwise when there are some). */
188
+ subtasks?: boolean;
189
+ }
190
+ /** Arguments of `jira_issue_watchers`: Who watches a Jira issue, and whether you do. */
191
+ export interface JiraIssueWatchersArgs {
192
+ /** Issue key, for example ABC-123. */
193
+ key: string;
194
+ }
195
+ /** Arguments of `jira_issue_watch`: Add a watcher to a Jira issue (default: you). */
196
+ export interface JiraIssueWatchArgs {
197
+ key: string;
198
+ /** `me`, an email, or a name. */
199
+ user?: string;
200
+ }
201
+ /** Arguments of `jira_issue_unwatch`: Remove a watcher from a Jira issue (default: you). */
202
+ export interface JiraIssueUnwatchArgs {
203
+ key: string;
204
+ /** `me`, an email, or a name. */
205
+ user?: string;
206
+ }
207
+ /** Arguments of `jira_field_list`: Jira system and custom fields (ID, name, type), optionally filtered by part of the name. Use the names in the `fields` argument of issue create, edit and view. */
208
+ export interface JiraFieldListArgs {
209
+ /** Part of the field name or ID. */
210
+ filter?: string | null;
211
+ }
212
+ /** Arguments of `jira_issue_create`: Create a Jira issue; the description is Markdown. */
213
+ export interface JiraIssueCreateArgs {
214
+ project: string;
215
+ /** Issue type name, for example Task, Bug, Story. */
216
+ type?: string;
217
+ summary: string;
218
+ /** Description in Markdown. */
219
+ description?: string | null;
220
+ /** `me` or a user. */
221
+ assignee?: string | null;
222
+ labels?: string[];
223
+ priority?: string | null;
224
+ /** Parent issue key. */
225
+ parent?: string | null;
226
+ components?: string[];
227
+ fix_versions?: string[];
228
+ /** Versions the problem affects. */
229
+ affects_versions?: string[];
230
+ /** Original estimate, for example "2h". */
231
+ estimate?: string | null;
232
+ /** `me` or a user. */
233
+ reporter?: string | null;
234
+ /** Other fields by name or ID, for example {"Story Points": "3"}. */
235
+ fields?: Record<string, unknown>;
236
+ }
237
+ /** Arguments of `jira_issue_edit`: Change a Jira issue's summary, description (Markdown), priority or labels. */
238
+ export interface JiraIssueEditArgs {
239
+ key: string;
240
+ summary?: string | null;
241
+ /** New description in Markdown. */
242
+ description?: string | null;
243
+ priority?: string | null;
244
+ /** `me`, `x` (unassigned), or a user. */
245
+ assignee?: string | null;
246
+ /** New parent issue key. */
247
+ parent?: string | null;
248
+ reporter?: string | null;
249
+ /** Original estimate, for example "2h". */
250
+ estimate?: string | null;
251
+ add_labels?: string[];
252
+ remove_labels?: string[];
253
+ add_components?: string[];
254
+ remove_components?: string[];
255
+ add_fix_versions?: string[];
256
+ remove_fix_versions?: string[];
257
+ add_affects_versions?: string[];
258
+ remove_affects_versions?: string[];
259
+ /** Other fields by name or ID, for example {"Story Points": "5"}. */
260
+ fields?: Record<string, unknown>;
261
+ /** Do not email watchers (Jira may need admin rights for it). */
262
+ skip_notify?: boolean;
263
+ }
264
+ /** Arguments of `jira_issue_assign`: Assign a Jira issue to me, nobody (x), or a user. */
265
+ export interface JiraIssueAssignArgs {
266
+ key: string;
267
+ /** `me`, `x` (unassigned), or a user (email or name). */
268
+ user: string;
269
+ }
270
+ /** Arguments of `jira_issue_transitions`: Statuses a Jira issue can move to. */
271
+ export interface JiraIssueTransitionsArgs {
272
+ /** Issue key, for example ABC-123. */
273
+ key: string;
274
+ }
275
+ /** Arguments of `jira_issue_move`: Move a Jira issue to another status (by status or transition name). */
276
+ export interface JiraIssueMoveArgs {
277
+ key: string;
278
+ /** Target status or transition name. */
279
+ status: string;
280
+ /** Optional Markdown comment added with the transition. */
281
+ comment?: string | null;
282
+ /** Resolution to set, for example Fixed (must be on the transition screen). */
283
+ resolution?: string | null;
284
+ /** Assignee to set: `me`, `x`, or a user. */
285
+ assignee?: string | null;
286
+ }
287
+ /** Arguments of `jira_issue_comment`: Add a Markdown comment to a Jira issue. */
288
+ export interface JiraIssueCommentArgs {
289
+ key: string;
290
+ /** Comment in Markdown. */
291
+ body: string;
292
+ /** A Jira Service Management internal note (customers do not see it). */
293
+ internal?: boolean;
294
+ }
295
+ /** Arguments of `jira_issue_link`: Link two Jira issues so that 'from <kind> to' reads true, for example from A-1 kind blocks to A-2. */
296
+ export interface JiraIssueLinkArgs {
297
+ from: string;
298
+ to: string;
299
+ /** Link type name ("Blocks"), outward phrase ("blocks"), or inward phrase ("is blocked by"); reads "from <kind> to". */
300
+ kind: string;
301
+ }
302
+ /** Arguments of `jira_issue_unlink`: Remove the links between two Jira issues (optionally only one link type). */
303
+ export interface JiraIssueUnlinkArgs {
304
+ from: string;
305
+ to: string;
306
+ /** Only links of this type (name, outward or inward phrase). */
307
+ kind?: string | null;
308
+ }
309
+ /** Arguments of `jira_issue_remote_link`: Add a web link (URL and title) to a Jira issue. */
310
+ export interface JiraIssueRemoteLinkArgs {
311
+ key: string;
312
+ url: string;
313
+ /** Link text (default: the URL). */
314
+ title?: string | null;
315
+ }
316
+ /** Arguments of `jira_comment_list`: Every comment of a Jira issue, oldest first, with IDs, as Markdown. */
317
+ export interface JiraCommentListArgs {
318
+ key: string;
319
+ limit?: number;
320
+ }
321
+ /** Arguments of `jira_comment_edit`: Replace the text of a Jira comment (Markdown). */
322
+ export interface JiraCommentEditArgs {
323
+ key: string;
324
+ /** Comment ID (see jira_comment_list). */
325
+ id: string;
326
+ /** New text in Markdown. */
327
+ body: string;
328
+ }
329
+ /** Arguments of `jira_comment_delete`: Delete a Jira comment. Cannot be undone. */
330
+ export interface JiraCommentDeleteArgs {
331
+ key: string;
332
+ id: string;
333
+ }
334
+ /** Arguments of `jira_worklog_list`: Time logged on a Jira issue: author, time spent, start, comment. */
335
+ export interface JiraWorklogListArgs {
336
+ /** Issue key, for example ABC-123. */
337
+ key: string;
338
+ }
339
+ /** Arguments of `jira_issue_history`: Field changes of a Jira issue, newest first: when, who, field, from, to. */
340
+ export interface JiraIssueHistoryArgs {
341
+ key: string;
342
+ limit?: number;
343
+ }
344
+ /** Arguments of `jira_component_list`: Components of a Jira project with their leads. */
345
+ export interface JiraComponentListArgs {
346
+ /** Project key, for example ABC. */
347
+ project: string;
348
+ }
349
+ /** Arguments of `jira_sprint_create`: Create a future sprint on a board (default: the project's first board). */
350
+ export interface JiraSprintCreateArgs {
351
+ name: string;
352
+ /** Board ID (default: the first board of `project`). */
353
+ board?: number | null;
354
+ project?: string | null;
355
+ /** YYYY-MM-DD or ISO 8601. */
356
+ start?: string | null;
357
+ end?: string | null;
358
+ goal?: string | null;
359
+ }
360
+ /** Arguments of `jira_sprint_start`: Start a future sprint; Jira needs a start and an end date. */
361
+ export interface JiraSprintStartArgs {
362
+ sprint: number;
363
+ /** YYYY-MM-DD or ISO 8601 (default: the sprint's start, else now). */
364
+ start?: string | null;
365
+ /** YYYY-MM-DD or ISO 8601 (default: the sprint's end; required when it has none). */
366
+ end?: string | null;
367
+ }
368
+ /** Arguments of `jira_sprint_close`: Complete an active sprint. */
369
+ export interface JiraSprintCloseArgs {
370
+ sprint: number;
371
+ }
372
+ /** Arguments of `jira_release_list`: Versions (releases) of a Jira project: name, released, archived, release date. */
373
+ export interface JiraReleaseListArgs {
374
+ /** Project key. */
375
+ project: string;
376
+ /** unreleased, released, archived, or all (default). */
377
+ state?: string;
378
+ }
379
+ /** Arguments of `jira_issue_link_types`: Jira issue link types with their outward and inward phrases. */
380
+ export interface JiraIssueLinkTypesArgs {
381
+ }
382
+ /** Arguments of `jira_issue_clone`: Copy a Jira issue (summary, description, type, labels, priority, components, parent). */
383
+ export interface JiraIssueCloneArgs {
384
+ key: string;
385
+ /** Summary for the copy (default: the original's). */
386
+ summary?: string | null;
387
+ priority?: string | null;
388
+ /** `me` or a user. */
389
+ assignee?: string | null;
390
+ /** Labels for the copy (default: the original's). */
391
+ labels?: string[];
392
+ /** "FIND:REPLACE" pairs applied to the summary and description. */
393
+ replace?: string[];
394
+ }
395
+ /** Arguments of `jira_issue_worklog`: Log time on a Jira issue. */
396
+ export interface JiraIssueWorklogArgs {
397
+ key: string;
398
+ /** Time spent, for example "2h 30m" or "1d". */
399
+ time: string;
400
+ comment?: string | null;
401
+ /** Start time, for example 2026-11-09T09:00:00.000+0000. */
402
+ started?: string | null;
403
+ }
404
+ /** Arguments of `jira_issue_attach`: Upload local files to a Jira issue. */
405
+ export interface JiraIssueAttachArgs {
406
+ key: string;
407
+ /** Local file paths to upload. */
408
+ files: string[];
409
+ }
410
+ /** Arguments of `jira_issue_attachments`: List a Jira issue's attachments. */
411
+ export interface JiraIssueAttachmentsArgs {
412
+ /** Issue key, for example ABC-123. */
413
+ key: string;
414
+ }
415
+ /** Arguments of `jira_jql_check`: Validate JQL with Jira's parser; returns valid, errors, warnings. */
416
+ export interface JiraJqlCheckArgs {
417
+ jql: string;
418
+ }
419
+ /** Arguments of `jira_jql_fields`: Fields (with operators) and functions usable in JQL on this site. */
420
+ export interface JiraJqlFieldsArgs {
421
+ }
422
+ /** Arguments of `jira_jql_suggest`: Value suggestions for a JQL field, for example field=status prefix=In. */
423
+ export interface JiraJqlSuggestArgs {
424
+ /** JQL field name, for example status, project, assignee. */
425
+ field: string;
426
+ /** Start of the value. */
427
+ prefix?: string;
428
+ }
429
+ /** Arguments of `jira_filter_list`: Saved Jira filters (Cloud: all visible, Data Center: favourites). */
430
+ export interface JiraFilterListArgs {
431
+ /** Part of the filter name. */
432
+ name?: string | null;
433
+ }
434
+ /** Arguments of `jira_filter_run`: Run a saved Jira filter by ID or exact name; returns issue records. */
435
+ export interface JiraFilterRunArgs {
436
+ /** Filter ID or exact name. */
437
+ filter: string;
438
+ limit?: number;
439
+ page_token?: string | null;
440
+ }
441
+ /** Arguments of `jira_epic_list`: Open epics, optionally of one project. */
442
+ export interface JiraEpicListArgs {
443
+ project?: string | null;
444
+ limit?: number;
445
+ }
446
+ /** Arguments of `jira_epic_add`: Move issues into an epic. */
447
+ export interface JiraEpicAddArgs {
448
+ /** Epic key. */
449
+ epic: string;
450
+ issues: string[];
451
+ }
452
+ /** Arguments of `jira_epic_remove`: Remove issues from their epic. */
453
+ export interface JiraEpicRemoveArgs {
454
+ issues: string[];
455
+ }
456
+ /** Arguments of `jira_board_list`: Jira Software boards, optionally of one project. */
457
+ export interface JiraBoardListArgs {
458
+ project?: string | null;
459
+ }
460
+ /** Arguments of `jira_sprint_list`: Sprints of a board. */
461
+ export interface JiraSprintListArgs {
462
+ /** Board ID (default: the project's first board). */
463
+ board?: number | null;
464
+ project?: string | null;
465
+ /** active, future, closed, or a comma-separated mix. */
466
+ state?: string;
467
+ }
468
+ /** Arguments of `jira_sprint_add`: Move issues into a sprint. */
469
+ export interface JiraSprintAddArgs {
470
+ sprint: number;
471
+ issues: string[];
472
+ }
473
+ /** Arguments of `jira_project_list`: Jira projects. */
474
+ export interface JiraProjectListArgs {
475
+ }
476
+ /** Arguments of `jira_issue_types`: Issue type names of a Jira project (without sub-task types), for the `type` argument of jira_issue_create. */
477
+ export interface JiraIssueTypesArgs {
478
+ /** Project key, for example ABC. */
479
+ project: string;
480
+ }
481
+ /** Arguments of `jira_me`: The signed-in Jira user. */
482
+ export interface JiraMeArgs {
483
+ }
484
+ /** Arguments of `confluence_page_get`: A Confluence page as Markdown (with title, space, version, url). */
485
+ export interface ConfluencePageGetArgs {
486
+ /** Page ID, page URL, or SPACE:Title. */
487
+ page: string;
488
+ /** Also return `document`: the Markdown with front matter (id, title, space, parent, version), ready for confluence_page_push. */
489
+ front_matter?: boolean;
490
+ /** Also return the storage-format XHTML. */
491
+ storage?: boolean;
492
+ /** An older version number (see confluence_page_history). */
493
+ version?: number | null;
494
+ }
495
+ /** Arguments of `confluence_page_create`: Create a Confluence page from Markdown (or storage format). */
496
+ export interface ConfluencePageCreateArgs {
497
+ /** Space key. */
498
+ space: string;
499
+ title: string;
500
+ /** Parent page: ID, URL, or SPACE:Title. */
501
+ parent?: string | null;
502
+ /** Body in Markdown. */
503
+ markdown?: string | null;
504
+ /** Body in storage format (instead of markdown). */
505
+ storage?: string | null;
506
+ }
507
+ /** Arguments of `confluence_blog_list`: Blog posts of a Confluence space, newest first. */
508
+ export interface ConfluenceBlogListArgs {
509
+ space: string;
510
+ limit?: number;
511
+ }
512
+ /** Arguments of `confluence_blog_get`: One Confluence blog post with its body as Markdown. */
513
+ export interface ConfluenceBlogGetArgs {
514
+ /** Blog post ID. */
515
+ id: string;
516
+ }
517
+ /** Arguments of `confluence_blog_create`: Publish a Confluence blog post from Markdown. */
518
+ export interface ConfluenceBlogCreateArgs {
519
+ space: string;
520
+ title: string;
521
+ /** Body in Markdown. */
522
+ markdown?: string | null;
523
+ /** Body in storage format (instead of markdown). */
524
+ storage?: string | null;
525
+ }
526
+ /** Arguments of `confluence_space_create`: Create a Confluence space with a key, a name and an optional plain-text description. */
527
+ export interface ConfluenceSpaceCreateArgs {
528
+ key: string;
529
+ name: string;
530
+ /** Plain text. */
531
+ description?: string | null;
532
+ }
533
+ /** Arguments of `confluence_page_update`: Replace a Confluence page's title and/or body; the version is bumped automatically. */
534
+ export interface ConfluencePageUpdateArgs {
535
+ page: string;
536
+ title?: string | null;
537
+ markdown?: string | null;
538
+ storage?: string | null;
539
+ }
540
+ /** Arguments of `confluence_page_delete`: Delete a Confluence page. */
541
+ export interface ConfluencePageDeleteArgs {
542
+ /** Page ID, page URL, or SPACE:Title. */
543
+ page: string;
544
+ }
545
+ /** Arguments of `confluence_page_children`: Children of a Confluence page (Cloud: also folders), or with `recursive` the whole tree, depth first, each row with type, depth and parent. */
546
+ export interface ConfluencePageChildrenArgs {
547
+ /** Page ID, page URL, or SPACE:Title. */
548
+ page: string;
549
+ /** The whole tree below the page, not only direct children. */
550
+ recursive?: boolean;
551
+ /** With `recursive`, stop at this depth (1 = direct children). */
552
+ max_depth?: number | null;
553
+ }
554
+ /** Arguments of `confluence_page_find`: Confluence pages whose title contains the words, optionally in one space. */
555
+ export interface ConfluencePageFindArgs {
556
+ /** Words the title contains. */
557
+ title: string;
558
+ space?: string | null;
559
+ limit?: number;
560
+ }
561
+ /** Arguments of `confluence_page_attach`: Upload local files to a Confluence page. */
562
+ export interface ConfluencePageAttachArgs {
563
+ /** Upload new versions of attachments with the same name. */
564
+ replace?: boolean;
565
+ /** Page ID, page URL, or SPACE:Title. */
566
+ page: string;
567
+ /** Local file paths to upload. */
568
+ files: string[];
569
+ }
570
+ /** Arguments of `confluence_page_attachments`: Attachments of a Confluence page with download URLs. */
571
+ export interface ConfluencePageAttachmentsArgs {
572
+ page: string;
573
+ /** Only titles matching this glob, for example "*.png". */
574
+ pattern?: string | null;
575
+ }
576
+ /** Arguments of `confluence_page_comments`: Footer (or with `inline`, inline) comments of a Confluence page, oldest first, as Markdown, with the replied-to `parent`. */
577
+ export interface ConfluencePageCommentsArgs {
578
+ page: string;
579
+ limit?: number;
580
+ /** Inline comments instead of footer comments. */
581
+ inline?: boolean;
582
+ }
583
+ /** Arguments of `confluence_page_comment`: Add a footer comment (Markdown) to a Confluence page, or a reply with `parent`. */
584
+ export interface ConfluencePageCommentArgs {
585
+ page: string;
586
+ /** Comment in Markdown. */
587
+ body: string;
588
+ /** Reply to this comment ID. */
589
+ parent?: string | null;
590
+ }
591
+ /** Arguments of `confluence_comment_delete`: Delete a Confluence comment by ID. */
592
+ export interface ConfluenceCommentDeleteArgs {
593
+ /** Content ID. */
594
+ id: string;
595
+ }
596
+ /** Arguments of `confluence_attachment_delete`: Delete a Confluence attachment by ID. */
597
+ export interface ConfluenceAttachmentDeleteArgs {
598
+ /** Content ID. */
599
+ id: string;
600
+ }
601
+ /** Arguments of `confluence_page_export`: Export a Confluence page (and with `recursive` its tree) to local Markdown folders: <title>/index.md with front matter and _attachments/. Changes nothing on the server. */
602
+ export interface ConfluencePageExportArgs {
603
+ /** Page ID, page URL, or SPACE:Title. */
604
+ page: string;
605
+ /** Folder to write into. */
606
+ dest: string;
607
+ /** Also export the pages below. */
608
+ recursive?: boolean;
609
+ max_depth?: number | null;
610
+ /** Title globs to skip (with their subtrees). */
611
+ exclude?: string[];
612
+ /** Download attachments into _attachments/ (default true). */
613
+ attachments?: boolean;
614
+ /** List the files without writing. */
615
+ dry_run?: boolean;
616
+ }
617
+ /** Arguments of `confluence_page_push`: Publish local Markdown files: update the page in each file's front matter (refusing pages changed on the server unless `force`, skipping unchanged ones), create pages for new files under their folder's index.md, upload referenced images, and write ids and versions back. */
618
+ export interface ConfluencePagePushArgs {
619
+ /** Markdown files or folders of them. */
620
+ paths: string[];
621
+ /** Space for new pages without one in their front matter. */
622
+ space?: string | null;
623
+ /** Parent page for new pages without one. */
624
+ parent?: string | null;
625
+ /** Overwrite pages that changed on the server since the file was written. */
626
+ force?: boolean;
627
+ dry_run?: boolean;
628
+ }
629
+ /** Arguments of `confluence_page_copy_tree`: Copy a Confluence page and the pages below it under another page (titles, bodies, labels). */
630
+ export interface ConfluencePageCopyTreeArgs {
631
+ /** The page to copy with the pages below it. */
632
+ page: string;
633
+ /** The new parent page. */
634
+ target: string;
635
+ /** Appended to each title (default " (copy)" in the same space). */
636
+ suffix?: string | null;
637
+ max_depth?: number | null;
638
+ exclude?: string[];
639
+ dry_run?: boolean;
640
+ }
641
+ /** Arguments of `confluence_page_labels`: Labels of a Confluence page. */
642
+ export interface ConfluencePageLabelsArgs {
643
+ /** Page ID, page URL, or SPACE:Title. */
644
+ page: string;
645
+ }
646
+ /** Arguments of `confluence_page_label`: Add and remove labels on a Confluence page; returns the resulting labels. */
647
+ export interface ConfluencePageLabelArgs {
648
+ page: string;
649
+ add?: string[];
650
+ remove?: string[];
651
+ }
652
+ /** Arguments of `confluence_page_move`: Move a Confluence page under another page (position append) or next to it (before/after, Cloud only). */
653
+ export interface ConfluencePageMoveArgs {
654
+ page: string;
655
+ /** The page to move next to or under. */
656
+ target: string;
657
+ /** append (last child of target), before or after (sibling; Cloud only). */
658
+ position?: string;
659
+ }
660
+ /** Arguments of `confluence_page_history`: Versions of a Confluence page, newest first: number, author, date, message. Read one with confluence_page_get and `version`. */
661
+ export interface ConfluencePageHistoryArgs {
662
+ /** Page ID, page URL, or SPACE:Title. */
663
+ page: string;
664
+ limit?: number;
665
+ }
666
+ /** Arguments of `confluence_space_list`: Confluence spaces. */
667
+ export interface ConfluenceSpaceListArgs {
668
+ limit?: number;
669
+ }
670
+ /** Arguments of `confluence_space_pages`: Top-level pages of a Confluence space. */
671
+ export interface ConfluenceSpacePagesArgs {
672
+ space: string;
673
+ limit?: number;
674
+ }
675
+ /** Arguments of `confluence_search`: Search Confluence by words or CQL; returns id, type, title, space, excerpt, url. */
676
+ export interface ConfluenceSearchArgs {
677
+ /** Plain words (ignored when cql is given). */
678
+ query?: string | null;
679
+ /** Raw CQL. */
680
+ cql?: string | null;
681
+ space?: string | null;
682
+ /** page, blogpost, attachment, comment. */
683
+ type?: string | null;
684
+ limit?: number;
685
+ }
686
+ /** Arguments of `bitbucket_repo_list`: Bitbucket repositories of a workspace (Cloud) or project (Data Center), or the ones you belong to. */
687
+ export interface BitbucketRepoListArgs {
688
+ /** Workspace (Cloud) or project key (Data Center); omit for your repositories. */
689
+ owner?: string | null;
690
+ limit?: number;
691
+ }
692
+ /** Arguments of `bitbucket_repo_view`: One Bitbucket repository with its default branch and URL. */
693
+ export interface BitbucketRepoViewArgs {
694
+ /** WORKSPACE/REPO (Cloud) or PROJECT/REPO (Data Center). */
695
+ repo: string;
696
+ }
697
+ /** Arguments of `bitbucket_branch_list`: Branches of a Bitbucket repository, most recently changed first. */
698
+ export interface BitbucketBranchListArgs {
699
+ repo: string;
700
+ /** Part of the branch name. */
701
+ filter?: string | null;
702
+ limit?: number;
703
+ }
704
+ /** Arguments of `bitbucket_pr_list`: Pull requests of a Bitbucket repository by state. */
705
+ export interface BitbucketPrListArgs {
706
+ repo: string;
707
+ /** open, merged, declined, or all. */
708
+ state?: string;
709
+ limit?: number;
710
+ }
711
+ /** Arguments of `bitbucket_pr_view`: One pull request with description, reviewers and approvals. */
712
+ export interface BitbucketPrViewArgs {
713
+ repo: string;
714
+ /** Pull request ID. */
715
+ id: number;
716
+ }
717
+ /** Arguments of `bitbucket_pr_create`: Open a pull request from a source branch. */
718
+ export interface BitbucketPrCreateArgs {
719
+ repo: string;
720
+ title: string;
721
+ /** Source branch. */
722
+ source: string;
723
+ /** Destination branch (default: the repository's main branch). */
724
+ destination?: string | null;
725
+ /** Description in Markdown. */
726
+ description?: string | null;
727
+ /** Open it as a draft (not ready for review). */
728
+ draft?: boolean;
729
+ }
730
+ /** Arguments of `bitbucket_pr_merge`: Merge a pull request. */
731
+ export interface BitbucketPrMergeArgs {
732
+ repo: string;
733
+ id: number;
734
+ /** Cloud only: merge_commit, squash, or fast_forward. */
735
+ strategy?: string | null;
736
+ }
737
+ /** Arguments of `bitbucket_pr_approve`: Approve a pull request as the signed-in user. */
738
+ export interface BitbucketPrApproveArgs {
739
+ repo: string;
740
+ /** Pull request ID. */
741
+ id: number;
742
+ }
743
+ /** Arguments of `bitbucket_pr_comment`: Add a Markdown comment to a pull request. */
744
+ export interface BitbucketPrCommentArgs {
745
+ repo: string;
746
+ id: number;
747
+ /** Comment in Markdown. */
748
+ body: string;
749
+ }
750
+ /** Arguments of `bitbucket_pr_diff`: The unified diff of a pull request. */
751
+ export interface BitbucketPrDiffArgs {
752
+ repo: string;
753
+ /** Pull request ID. */
754
+ id: number;
755
+ }
756
+ /** Arguments of `bitbucket_pr_comments`: Comments of a pull request, oldest first, as Markdown: general and inline (path, line), replies flattened with `parent`. */
757
+ export interface BitbucketPrCommentsArgs {
758
+ repo: string;
759
+ id: number;
760
+ limit?: number;
761
+ }
762
+ /** Arguments of `bitbucket_pr_checks`: Build statuses of a pull request's latest commit, with `passed` (none failed) and `pending` (some still running). */
763
+ export interface BitbucketPrChecksArgs {
764
+ repo: string;
765
+ /** Pull request ID. */
766
+ id: number;
767
+ }
768
+ /** Arguments of `bitbucket_pr_unapprove`: Remove your approval from a pull request. */
769
+ export interface BitbucketPrUnapproveArgs {
770
+ repo: string;
771
+ /** Pull request ID. */
772
+ id: number;
773
+ }
774
+ /** Arguments of `bitbucket_pr_ready`: Mark a draft pull request as ready for review (or, with `draft: true`, as a draft again). */
775
+ export interface BitbucketPrReadyArgs {
776
+ repo: string;
777
+ id: number;
778
+ /** True turns it back into a draft. */
779
+ draft?: boolean;
780
+ }
781
+ /** Arguments of `bitbucket_branch_create`: Create a branch from another branch, a tag or a commit (default: the main branch). */
782
+ export interface BitbucketBranchCreateArgs {
783
+ repo: string;
784
+ name: string;
785
+ /** Branch, tag or commit to start from (default: the main branch). */
786
+ from?: string | null;
787
+ }
788
+ /** Arguments of `bitbucket_branch_delete`: Delete a branch. Unmerged commits on it can be lost. */
789
+ export interface BitbucketBranchDeleteArgs {
790
+ repo: string;
791
+ name: string;
792
+ }
793
+ /** Arguments of `bitbucket_commit_list`: Recent commits of a branch, newest first: hash, author, date, first line of the message. */
794
+ export interface BitbucketCommitListArgs {
795
+ repo: string;
796
+ /** Branch (default: the main branch). */
797
+ branch?: string | null;
798
+ limit?: number;
799
+ }
800
+ /** Arguments of `bitbucket_pipeline_list`: Latest Bitbucket Pipelines runs, newest first (Cloud only). */
801
+ export interface BitbucketPipelineListArgs {
802
+ repo: string;
803
+ limit?: number;
804
+ }
805
+ /** Arguments of `bitbucket_pipeline_run`: Start the pipeline of a branch, or a custom pipeline (Cloud only). */
806
+ export interface BitbucketPipelineRunArgs {
807
+ repo: string;
808
+ branch: string;
809
+ /** Name of a custom pipeline in bitbucket-pipelines.yml. */
810
+ custom?: string | null;
811
+ }
812
+ /** Arguments of `bitbucket_pr_decline`: Decline a Bitbucket pull request (Cloud cannot reopen it). */
813
+ export interface BitbucketPrDeclineArgs {
814
+ repo: string;
815
+ /** Pull request ID. */
816
+ id: number;
817
+ }
818
+ /** Arguments of `bitbucket_pr_request_changes`: Mark a Bitbucket pull request as needing changes by you (Cloud: request changes; Data Center: needs work). */
819
+ export interface BitbucketPrRequestChangesArgs {
820
+ repo: string;
821
+ /** Pull request ID. */
822
+ id: number;
823
+ }
824
+ /** Arguments of `bitbucket_pr_edit`: Change a Bitbucket pull request's title, description (Markdown) or destination branch. */
825
+ export interface BitbucketPrEditArgs {
826
+ repo: string;
827
+ id: number;
828
+ title?: string | null;
829
+ /** New description in Markdown. */
830
+ description?: string | null;
831
+ /** New destination branch. */
832
+ destination?: string | null;
833
+ }
834
+ /** Arguments of `bitbucket_pr_reviewers`: Add and remove reviewers of a Bitbucket pull request; other reviewers are kept. */
835
+ export interface BitbucketPrReviewersArgs {
836
+ repo: string;
837
+ id: number;
838
+ /** Users to add: display name, nickname, account ID or {uuid} (Cloud); username, name or email (Data Center). */
839
+ add?: string[];
840
+ /** Reviewers to remove, matched the same way. */
841
+ remove?: string[];
842
+ }
843
+ /** Arguments of `bitbucket_pipeline_stop`: Stop a running Bitbucket pipeline by build number or UUID (Cloud only). */
844
+ export interface BitbucketPipelineStopArgs {
845
+ repo: string;
846
+ /** Build number or pipeline UUID. */
847
+ id: string;
848
+ }
849
+ /** Arguments of `bitbucket_pipeline_view`: One Bitbucket pipeline by build number or UUID, with each step's state and result (Cloud only). */
850
+ export interface BitbucketPipelineViewArgs {
851
+ repo: string;
852
+ /** Build number or pipeline UUID. */
853
+ id: string;
854
+ }
855
+ /** Arguments of `bitbucket_pipeline_logs`: Log text of one pipeline step (by name or UUID) or of every step (Cloud only). */
856
+ export interface BitbucketPipelineLogsArgs {
857
+ repo: string;
858
+ /** Build number or pipeline UUID. */
859
+ id: string;
860
+ /** Step name or UUID (default: every step). */
861
+ step?: string | null;
862
+ }
863
+ /** Arguments of `jsm_desk_list`: Jira Service Management service desks (id, project key, name). */
864
+ export interface JsmDeskListArgs {
865
+ }
866
+ /** Arguments of `jsm_request_types`: Request types of a service desk. */
867
+ export interface JsmRequestTypesArgs {
868
+ /** Service desk ID or project key. */
869
+ desk: string;
870
+ }
871
+ /** Arguments of `jsm_queue_list`: Queues of a service desk with issue counts. */
872
+ export interface JsmQueueListArgs {
873
+ /** Service desk ID or project key. */
874
+ desk: string;
875
+ }
876
+ /** Arguments of `jsm_queue_issues`: Issues in a service desk queue (by queue ID or name). */
877
+ export interface JsmQueueIssuesArgs {
878
+ desk: string;
879
+ /** Queue ID or name. */
880
+ queue: string;
881
+ limit?: number;
882
+ }
883
+ /** Arguments of `jsm_request_list`: Customer requests by status, optionally of one service desk. */
884
+ export interface JsmRequestListArgs {
885
+ /** Service desk ID or project key (default: all). */
886
+ desk?: string | null;
887
+ /** open, closed, or all. */
888
+ status?: string;
889
+ /** Words to find. */
890
+ search?: string | null;
891
+ /** Only requests you raised. */
892
+ mine?: boolean;
893
+ limit?: number;
894
+ }
895
+ /** Arguments of `jsm_request_view`: One customer request with its description and latest comments. */
896
+ export interface JsmRequestViewArgs {
897
+ /** Request key, for example HELP-7. */
898
+ key: string;
899
+ /** How many of the latest comments to include. */
900
+ comments?: number;
901
+ }
902
+ /** Arguments of `jsm_request_create`: Raise a customer request, optionally for a customer. */
903
+ export interface JsmRequestCreateArgs {
904
+ desk: string;
905
+ /** Request type ID or name (see jsm_request_types). */
906
+ type: string;
907
+ summary: string;
908
+ description?: string | null;
909
+ /** Customer email or account ID to raise the request for. */
910
+ on_behalf_of?: string | null;
911
+ }
912
+ /** Arguments of `jsm_request_comment`: Reply to a customer request, or add an internal note. */
913
+ export interface JsmRequestCommentArgs {
914
+ key: string;
915
+ body: string;
916
+ /** An internal note that customers cannot see. */
917
+ internal?: boolean;
918
+ }
919
+ /** Arguments of `jsm_request_transitions`: Transitions available on a customer request. */
920
+ export interface JsmRequestTransitionsArgs {
921
+ /** Issue key, for example ABC-123. */
922
+ key: string;
923
+ }
924
+ /** Arguments of `jsm_request_move`: Run a customer request transition by name or ID. */
925
+ export interface JsmRequestMoveArgs {
926
+ key: string;
927
+ /** Transition name or ID (see jsm_request_transitions). */
928
+ transition: string;
929
+ comment?: string | null;
930
+ }
931
+ /** Arguments of `jsm_request_approvals`: Approvals of a JSM request: name, decision (pending, approved, declined), approvers, and whether you can answer. */
932
+ export interface JsmRequestApprovalsArgs {
933
+ /** Issue key, for example ABC-123. */
934
+ key: string;
935
+ }
936
+ /** Arguments of `jsm_request_approve`: Approve or decline (decision: decline) a JSM request's approval; without an ID, the one pending approval you can answer. */
937
+ export interface JsmRequestApproveArgs {
938
+ key: string;
939
+ /** Approval ID (default: the one pending approval you can answer). */
940
+ approval?: string | null;
941
+ /** approve or decline. */
942
+ decision?: string;
943
+ }
944
+ /** Arguments of `jsm_request_participants`: List a JSM request's participants, after adding and removing any (me, an email or a name). */
945
+ export interface JsmRequestParticipantsArgs {
946
+ key: string;
947
+ /** Users to add: me, an email or a name. */
948
+ add?: string[];
949
+ remove?: string[];
950
+ }
951
+ /** Arguments of `jsm_request_sla`: SLAs of a JSM request: state (ongoing, paused, met, breached), time remaining and goal. */
952
+ export interface JsmRequestSlaArgs {
953
+ /** Issue key, for example ABC-123. */
954
+ key: string;
955
+ }
956
+ /** Arguments of `jsm_request_attach`: Attach local files to a JSM request (public unless internal). */
957
+ export interface JsmRequestAttachArgs {
958
+ key: string;
959
+ /** Local file paths to upload. */
960
+ files: string[];
961
+ /** Keep the files internal (agents only); customers see them otherwise. */
962
+ internal?: boolean;
963
+ }
964
+ /** Arguments of `jsm_request_attachments`: Attachments of a JSM request with download URLs. */
965
+ export interface JsmRequestAttachmentsArgs {
966
+ /** Issue key, for example ABC-123. */
967
+ key: string;
968
+ }
969
+ /** Arguments of `trello_board_list`: Your open Trello boards. */
970
+ export interface TrelloBoardListArgs {
971
+ }
972
+ /** Arguments of `trello_list_list`: Open lists of a Trello board (board by name, URL, short link or ID). */
973
+ export interface TrelloListListArgs {
974
+ /** Board name, URL, short link or ID. */
975
+ board: string;
976
+ }
977
+ /** Arguments of `trello_card_list`: Cards of a Trello board or one of its lists, or your cards on every board (`mine`). */
978
+ export interface TrelloCardListArgs {
979
+ /** Board name, URL, short link or ID. */
980
+ board?: string | null;
981
+ /** List name or ID on the board. */
982
+ list?: string | null;
983
+ /** Your cards on every board instead. */
984
+ mine?: boolean;
985
+ }
986
+ /** Arguments of `trello_card_view`: One Trello card with list, board, description and latest comments. */
987
+ export interface TrelloCardViewArgs {
988
+ /** Card URL, short link or ID. */
989
+ card: string;
990
+ }
991
+ /** Arguments of `trello_card_create`: Create a Trello card in a list (by name with `board`, or by list ID). */
992
+ export interface TrelloCardCreateArgs {
993
+ /** Board name, URL, short link or ID (needed when `list` is a name). */
994
+ board?: string | null;
995
+ /** List name or ID. */
996
+ list: string;
997
+ name: string;
998
+ /** Description (Markdown). */
999
+ description?: string | null;
1000
+ /** Due date, for example 2026-12-01 or 2026-12-01T17:00:00Z. */
1001
+ due?: string | null;
1002
+ }
1003
+ /** Arguments of `trello_card_move`: Move a Trello card to another list (by default on the card's own board). */
1004
+ export interface TrelloCardMoveArgs {
1005
+ card: string;
1006
+ /** Target list name or ID. */
1007
+ list: string;
1008
+ /** Board of the list (default: the card's board). */
1009
+ board?: string | null;
1010
+ }
1011
+ /** Arguments of `trello_card_comment`: Add a comment to a Trello card. */
1012
+ export interface TrelloCardCommentArgs {
1013
+ card: string;
1014
+ text: string;
1015
+ }
1016
+ /** Arguments of `trello_card_archive`: Archive (close) a Trello card. */
1017
+ export interface TrelloCardArchiveArgs {
1018
+ /** Card URL, short link or ID. */
1019
+ card: string;
1020
+ }
1021
+ /** Arguments of `trello_card_edit`: Change a Trello card: name, description, due date, done, labels (by name or color) and members (username, name or me). */
1022
+ export interface TrelloCardEditArgs {
1023
+ /** Card URL, short link or ID. */
1024
+ card: string;
1025
+ name?: string | null;
1026
+ /** Description (Markdown). */
1027
+ description?: string | null;
1028
+ /** Due date or date-time; an empty string removes it. */
1029
+ due?: string | null;
1030
+ /** Mark the due date complete (true) or not (false). */
1031
+ done?: boolean | null;
1032
+ /** Label names or colors on the card's board. */
1033
+ add_labels?: string[];
1034
+ remove_labels?: string[];
1035
+ /** Members by username, full name, or me. */
1036
+ add_members?: string[];
1037
+ remove_members?: string[];
1038
+ }
1039
+ /** Arguments of `trello_checklist_list`: Checklists of a Trello card with their items and whether each is done. */
1040
+ export interface TrelloChecklistListArgs {
1041
+ /** Card URL, short link or ID. */
1042
+ card: string;
1043
+ }
1044
+ /** Arguments of `trello_checklist_create`: Add a checklist with items to a Trello card. */
1045
+ export interface TrelloChecklistCreateArgs {
1046
+ card: string;
1047
+ name: string;
1048
+ /** Items to add, in order. */
1049
+ items?: string[];
1050
+ }
1051
+ /** Arguments of `trello_checklist_check`: Tick (or with done: false, untick) a Trello checklist item by name or ID. */
1052
+ export interface TrelloChecklistCheckArgs {
1053
+ card: string;
1054
+ /** Item name or ID. */
1055
+ item: string;
1056
+ /** false unticks the item. */
1057
+ done?: boolean;
1058
+ }
1059
+ /** Arguments of `admin_org_list`: Organizations the Atlassian Admin API key can see. */
1060
+ export interface AdminOrgListArgs {
1061
+ }
1062
+ /** Arguments of `admin_directory_list`: User directories of an Atlassian organization. */
1063
+ export interface AdminDirectoryListArgs {
1064
+ /** Organization ID or name (default: the only one the API key sees). */
1065
+ org?: string | null;
1066
+ }
1067
+ /** Arguments of `admin_user_list`: Managed users of an Atlassian organization (every directory), optionally matching `search`. */
1068
+ export interface AdminUserListArgs {
1069
+ org?: string | null;
1070
+ /** Words to match in names and emails. */
1071
+ search?: string | null;
1072
+ limit?: number;
1073
+ }
1074
+ /** Arguments of `admin_user_suspend`: Suspend a managed user's access to every product (by account ID or email). */
1075
+ export interface AdminUserSuspendArgs {
1076
+ org?: string | null;
1077
+ /** Account ID or email. */
1078
+ user: string;
1079
+ /** Directory ID (default: the directory where the user is found). */
1080
+ directory?: string | null;
1081
+ }
1082
+ /** Arguments of `admin_user_restore`: Restore a suspended managed user's access (by account ID or email). */
1083
+ export interface AdminUserRestoreArgs {
1084
+ org?: string | null;
1085
+ /** Account ID or email. */
1086
+ user: string;
1087
+ /** Directory ID (default: the directory where the user is found). */
1088
+ directory?: string | null;
1089
+ }
1090
+ /** Arguments of `admin_group_add_member`: Add a managed user (email or account ID) to a group (name or ID) of an Atlassian organization. */
1091
+ export interface AdminGroupAddMemberArgs {
1092
+ /** Organization ID or name (default: the only one). */
1093
+ org?: string | null;
1094
+ /** Group ID or name. */
1095
+ group: string;
1096
+ /** Email or account ID. */
1097
+ user: string;
1098
+ }
1099
+ /** Arguments of `admin_group_remove_member`: Remove a managed user from a group of an Atlassian organization. */
1100
+ export interface AdminGroupRemoveMemberArgs {
1101
+ /** Organization ID or name (default: the only one). */
1102
+ org?: string | null;
1103
+ /** Group ID or name. */
1104
+ group: string;
1105
+ /** Email or account ID. */
1106
+ user: string;
1107
+ }
1108
+ /** Arguments of `admin_group_list`: Groups of an Atlassian organization (every directory), optionally matching `search`. */
1109
+ export interface AdminGroupListArgs {
1110
+ org?: string | null;
1111
+ /** Words to match in names and emails. */
1112
+ search?: string | null;
1113
+ limit?: number;
1114
+ }
1115
+ /** Arguments of `admin_domain_list`: Domains of an Atlassian organization with their verification status. */
1116
+ export interface AdminDomainListArgs {
1117
+ /** Organization ID or name (default: the only one the API key sees). */
1118
+ org?: string | null;
1119
+ }
1120
+ /** Arguments of `admin_event_list`: Audit log events of an Atlassian organization, newest first, filtered by words, dates and action. */
1121
+ export interface AdminEventListArgs {
1122
+ org?: string | null;
1123
+ /** Words to find in the events. */
1124
+ search?: string | null;
1125
+ /** Start date or time, for example 2026-11-01. */
1126
+ from?: string | null;
1127
+ /** End date or time. */
1128
+ to?: string | null;
1129
+ /** Event action, for example user_added_to_group. */
1130
+ action?: string | null;
1131
+ limit?: number;
1132
+ }
1133
+ /** The arguments of every task, by task name. */
1134
+ export interface TaskArgs {
1135
+ jira_issue_list: JiraIssueListArgs;
1136
+ jira_issue_count: JiraIssueCountArgs;
1137
+ jira_issue_view: JiraIssueViewArgs;
1138
+ jira_issue_delete: JiraIssueDeleteArgs;
1139
+ jira_issue_watchers: JiraIssueWatchersArgs;
1140
+ jira_issue_watch: JiraIssueWatchArgs;
1141
+ jira_issue_unwatch: JiraIssueUnwatchArgs;
1142
+ jira_field_list: JiraFieldListArgs;
1143
+ jira_issue_create: JiraIssueCreateArgs;
1144
+ jira_issue_edit: JiraIssueEditArgs;
1145
+ jira_issue_assign: JiraIssueAssignArgs;
1146
+ jira_issue_transitions: JiraIssueTransitionsArgs;
1147
+ jira_issue_move: JiraIssueMoveArgs;
1148
+ jira_issue_comment: JiraIssueCommentArgs;
1149
+ jira_issue_link: JiraIssueLinkArgs;
1150
+ jira_issue_unlink: JiraIssueUnlinkArgs;
1151
+ jira_issue_remote_link: JiraIssueRemoteLinkArgs;
1152
+ jira_comment_list: JiraCommentListArgs;
1153
+ jira_comment_edit: JiraCommentEditArgs;
1154
+ jira_comment_delete: JiraCommentDeleteArgs;
1155
+ jira_worklog_list: JiraWorklogListArgs;
1156
+ jira_issue_history: JiraIssueHistoryArgs;
1157
+ jira_component_list: JiraComponentListArgs;
1158
+ jira_sprint_create: JiraSprintCreateArgs;
1159
+ jira_sprint_start: JiraSprintStartArgs;
1160
+ jira_sprint_close: JiraSprintCloseArgs;
1161
+ jira_release_list: JiraReleaseListArgs;
1162
+ jira_issue_link_types: JiraIssueLinkTypesArgs;
1163
+ jira_issue_clone: JiraIssueCloneArgs;
1164
+ jira_issue_worklog: JiraIssueWorklogArgs;
1165
+ jira_issue_attach: JiraIssueAttachArgs;
1166
+ jira_issue_attachments: JiraIssueAttachmentsArgs;
1167
+ jira_jql_check: JiraJqlCheckArgs;
1168
+ jira_jql_fields: JiraJqlFieldsArgs;
1169
+ jira_jql_suggest: JiraJqlSuggestArgs;
1170
+ jira_filter_list: JiraFilterListArgs;
1171
+ jira_filter_run: JiraFilterRunArgs;
1172
+ jira_epic_list: JiraEpicListArgs;
1173
+ jira_epic_add: JiraEpicAddArgs;
1174
+ jira_epic_remove: JiraEpicRemoveArgs;
1175
+ jira_board_list: JiraBoardListArgs;
1176
+ jira_sprint_list: JiraSprintListArgs;
1177
+ jira_sprint_add: JiraSprintAddArgs;
1178
+ jira_project_list: JiraProjectListArgs;
1179
+ jira_issue_types: JiraIssueTypesArgs;
1180
+ jira_me: JiraMeArgs;
1181
+ confluence_page_get: ConfluencePageGetArgs;
1182
+ confluence_page_create: ConfluencePageCreateArgs;
1183
+ confluence_blog_list: ConfluenceBlogListArgs;
1184
+ confluence_blog_get: ConfluenceBlogGetArgs;
1185
+ confluence_blog_create: ConfluenceBlogCreateArgs;
1186
+ confluence_space_create: ConfluenceSpaceCreateArgs;
1187
+ confluence_page_update: ConfluencePageUpdateArgs;
1188
+ confluence_page_delete: ConfluencePageDeleteArgs;
1189
+ confluence_page_children: ConfluencePageChildrenArgs;
1190
+ confluence_page_find: ConfluencePageFindArgs;
1191
+ confluence_page_attach: ConfluencePageAttachArgs;
1192
+ confluence_page_attachments: ConfluencePageAttachmentsArgs;
1193
+ confluence_page_comments: ConfluencePageCommentsArgs;
1194
+ confluence_page_comment: ConfluencePageCommentArgs;
1195
+ confluence_comment_delete: ConfluenceCommentDeleteArgs;
1196
+ confluence_attachment_delete: ConfluenceAttachmentDeleteArgs;
1197
+ confluence_page_export: ConfluencePageExportArgs;
1198
+ confluence_page_push: ConfluencePagePushArgs;
1199
+ confluence_page_copy_tree: ConfluencePageCopyTreeArgs;
1200
+ confluence_page_labels: ConfluencePageLabelsArgs;
1201
+ confluence_page_label: ConfluencePageLabelArgs;
1202
+ confluence_page_move: ConfluencePageMoveArgs;
1203
+ confluence_page_history: ConfluencePageHistoryArgs;
1204
+ confluence_space_list: ConfluenceSpaceListArgs;
1205
+ confluence_space_pages: ConfluenceSpacePagesArgs;
1206
+ confluence_search: ConfluenceSearchArgs;
1207
+ bitbucket_repo_list: BitbucketRepoListArgs;
1208
+ bitbucket_repo_view: BitbucketRepoViewArgs;
1209
+ bitbucket_branch_list: BitbucketBranchListArgs;
1210
+ bitbucket_pr_list: BitbucketPrListArgs;
1211
+ bitbucket_pr_view: BitbucketPrViewArgs;
1212
+ bitbucket_pr_create: BitbucketPrCreateArgs;
1213
+ bitbucket_pr_merge: BitbucketPrMergeArgs;
1214
+ bitbucket_pr_approve: BitbucketPrApproveArgs;
1215
+ bitbucket_pr_comment: BitbucketPrCommentArgs;
1216
+ bitbucket_pr_diff: BitbucketPrDiffArgs;
1217
+ bitbucket_pr_comments: BitbucketPrCommentsArgs;
1218
+ bitbucket_pr_checks: BitbucketPrChecksArgs;
1219
+ bitbucket_pr_unapprove: BitbucketPrUnapproveArgs;
1220
+ bitbucket_pr_ready: BitbucketPrReadyArgs;
1221
+ bitbucket_branch_create: BitbucketBranchCreateArgs;
1222
+ bitbucket_branch_delete: BitbucketBranchDeleteArgs;
1223
+ bitbucket_commit_list: BitbucketCommitListArgs;
1224
+ bitbucket_pipeline_list: BitbucketPipelineListArgs;
1225
+ bitbucket_pipeline_run: BitbucketPipelineRunArgs;
1226
+ bitbucket_pr_decline: BitbucketPrDeclineArgs;
1227
+ bitbucket_pr_request_changes: BitbucketPrRequestChangesArgs;
1228
+ bitbucket_pr_edit: BitbucketPrEditArgs;
1229
+ bitbucket_pr_reviewers: BitbucketPrReviewersArgs;
1230
+ bitbucket_pipeline_stop: BitbucketPipelineStopArgs;
1231
+ bitbucket_pipeline_view: BitbucketPipelineViewArgs;
1232
+ bitbucket_pipeline_logs: BitbucketPipelineLogsArgs;
1233
+ jsm_desk_list: JsmDeskListArgs;
1234
+ jsm_request_types: JsmRequestTypesArgs;
1235
+ jsm_queue_list: JsmQueueListArgs;
1236
+ jsm_queue_issues: JsmQueueIssuesArgs;
1237
+ jsm_request_list: JsmRequestListArgs;
1238
+ jsm_request_view: JsmRequestViewArgs;
1239
+ jsm_request_create: JsmRequestCreateArgs;
1240
+ jsm_request_comment: JsmRequestCommentArgs;
1241
+ jsm_request_transitions: JsmRequestTransitionsArgs;
1242
+ jsm_request_move: JsmRequestMoveArgs;
1243
+ jsm_request_approvals: JsmRequestApprovalsArgs;
1244
+ jsm_request_approve: JsmRequestApproveArgs;
1245
+ jsm_request_participants: JsmRequestParticipantsArgs;
1246
+ jsm_request_sla: JsmRequestSlaArgs;
1247
+ jsm_request_attach: JsmRequestAttachArgs;
1248
+ jsm_request_attachments: JsmRequestAttachmentsArgs;
1249
+ trello_board_list: TrelloBoardListArgs;
1250
+ trello_list_list: TrelloListListArgs;
1251
+ trello_card_list: TrelloCardListArgs;
1252
+ trello_card_view: TrelloCardViewArgs;
1253
+ trello_card_create: TrelloCardCreateArgs;
1254
+ trello_card_move: TrelloCardMoveArgs;
1255
+ trello_card_comment: TrelloCardCommentArgs;
1256
+ trello_card_archive: TrelloCardArchiveArgs;
1257
+ trello_card_edit: TrelloCardEditArgs;
1258
+ trello_checklist_list: TrelloChecklistListArgs;
1259
+ trello_checklist_create: TrelloChecklistCreateArgs;
1260
+ trello_checklist_check: TrelloChecklistCheckArgs;
1261
+ admin_org_list: AdminOrgListArgs;
1262
+ admin_directory_list: AdminDirectoryListArgs;
1263
+ admin_user_list: AdminUserListArgs;
1264
+ admin_user_suspend: AdminUserSuspendArgs;
1265
+ admin_user_restore: AdminUserRestoreArgs;
1266
+ admin_group_add_member: AdminGroupAddMemberArgs;
1267
+ admin_group_remove_member: AdminGroupRemoveMemberArgs;
1268
+ admin_group_list: AdminGroupListArgs;
1269
+ admin_domain_list: AdminDomainListArgs;
1270
+ admin_event_list: AdminEventListArgs;
1271
+ }
1272
+ export type TaskName = keyof TaskArgs;
1273
+ /** Every value of `AtlError.code`. */
1274
+ export type ErrorCode = "auth" | "api" | "invalid" | "unknown" | "read_only" | "dry_run" | "input_required" | "internal";
1275
+ /** One typed method per task; each SDK supplies `task()` over its own transport. */
1276
+ export declare abstract class GeneratedTasks {
1277
+ /** Runs any task from `tasks()`, for example `task("jira_issue_view", { key: "A-1" })`. */
1278
+ abstract task<T = unknown>(name: string, args?: Record<string, unknown>): Promise<T>;
1279
+ /** Search Jira issues with filters (or extra JQL). Returns small records: key, summary, status, type, assignee, priority, updated, url. With no filters: your unresolved issues. */
1280
+ jiraIssueList(args?: JiraIssueListArgs): Promise<TaskResult<"jira_issue_list">>;
1281
+ /** Count Jira issues matching the same filters as issue_list. */
1282
+ jiraIssueCount(args?: JiraIssueCountArgs): Promise<TaskResult<"jira_issue_count">>;
1283
+ /** One Jira issue with description and latest comments as Markdown, plus any `fields` asked for by name. */
1284
+ jiraIssueView(args: JiraIssueViewArgs): Promise<TaskResult<"jira_issue_view">>;
1285
+ /** Delete a Jira issue (with `subtasks: true`, also its sub-tasks). Cannot be undone. */
1286
+ jiraIssueDelete(args: JiraIssueDeleteArgs): Promise<TaskResult<"jira_issue_delete">>;
1287
+ /** Who watches a Jira issue, and whether you do. */
1288
+ jiraIssueWatchers(args: JiraIssueWatchersArgs): Promise<TaskResult<"jira_issue_watchers">>;
1289
+ /** Add a watcher to a Jira issue (default: you). */
1290
+ jiraIssueWatch(args: JiraIssueWatchArgs): Promise<TaskResult<"jira_issue_watch">>;
1291
+ /** Remove a watcher from a Jira issue (default: you). */
1292
+ jiraIssueUnwatch(args: JiraIssueUnwatchArgs): Promise<TaskResult<"jira_issue_unwatch">>;
1293
+ /** Jira system and custom fields (ID, name, type), optionally filtered by part of the name. Use the names in the `fields` argument of issue create, edit and view. */
1294
+ jiraFieldList(args?: JiraFieldListArgs): Promise<TaskResult<"jira_field_list">>;
1295
+ /** Create a Jira issue; the description is Markdown. */
1296
+ jiraIssueCreate(args: JiraIssueCreateArgs): Promise<TaskResult<"jira_issue_create">>;
1297
+ /** Change a Jira issue's summary, description (Markdown), priority or labels. */
1298
+ jiraIssueEdit(args: JiraIssueEditArgs): Promise<TaskResult<"jira_issue_edit">>;
1299
+ /** Assign a Jira issue to me, nobody (x), or a user. */
1300
+ jiraIssueAssign(args: JiraIssueAssignArgs): Promise<TaskResult<"jira_issue_assign">>;
1301
+ /** Statuses a Jira issue can move to. */
1302
+ jiraIssueTransitions(args: JiraIssueTransitionsArgs): Promise<TaskResult<"jira_issue_transitions">>;
1303
+ /** Move a Jira issue to another status (by status or transition name). */
1304
+ jiraIssueMove(args: JiraIssueMoveArgs): Promise<TaskResult<"jira_issue_move">>;
1305
+ /** Add a Markdown comment to a Jira issue. */
1306
+ jiraIssueComment(args: JiraIssueCommentArgs): Promise<TaskResult<"jira_issue_comment">>;
1307
+ /** Link two Jira issues so that 'from <kind> to' reads true, for example from A-1 kind blocks to A-2. */
1308
+ jiraIssueLink(args: JiraIssueLinkArgs): Promise<TaskResult<"jira_issue_link">>;
1309
+ /** Remove the links between two Jira issues (optionally only one link type). */
1310
+ jiraIssueUnlink(args: JiraIssueUnlinkArgs): Promise<TaskResult<"jira_issue_unlink">>;
1311
+ /** Add a web link (URL and title) to a Jira issue. */
1312
+ jiraIssueRemoteLink(args: JiraIssueRemoteLinkArgs): Promise<TaskResult<"jira_issue_remote_link">>;
1313
+ /** Every comment of a Jira issue, oldest first, with IDs, as Markdown. */
1314
+ jiraCommentList(args: JiraCommentListArgs): Promise<TaskResult<"jira_comment_list">>;
1315
+ /** Replace the text of a Jira comment (Markdown). */
1316
+ jiraCommentEdit(args: JiraCommentEditArgs): Promise<TaskResult<"jira_comment_edit">>;
1317
+ /** Delete a Jira comment. Cannot be undone. */
1318
+ jiraCommentDelete(args: JiraCommentDeleteArgs): Promise<TaskResult<"jira_comment_delete">>;
1319
+ /** Time logged on a Jira issue: author, time spent, start, comment. */
1320
+ jiraWorklogList(args: JiraWorklogListArgs): Promise<TaskResult<"jira_worklog_list">>;
1321
+ /** Field changes of a Jira issue, newest first: when, who, field, from, to. */
1322
+ jiraIssueHistory(args: JiraIssueHistoryArgs): Promise<TaskResult<"jira_issue_history">>;
1323
+ /** Components of a Jira project with their leads. */
1324
+ jiraComponentList(args: JiraComponentListArgs): Promise<TaskResult<"jira_component_list">>;
1325
+ /** Create a future sprint on a board (default: the project's first board). */
1326
+ jiraSprintCreate(args: JiraSprintCreateArgs): Promise<TaskResult<"jira_sprint_create">>;
1327
+ /** Start a future sprint; Jira needs a start and an end date. */
1328
+ jiraSprintStart(args: JiraSprintStartArgs): Promise<TaskResult<"jira_sprint_start">>;
1329
+ /** Complete an active sprint. */
1330
+ jiraSprintClose(args: JiraSprintCloseArgs): Promise<TaskResult<"jira_sprint_close">>;
1331
+ /** Versions (releases) of a Jira project: name, released, archived, release date. */
1332
+ jiraReleaseList(args: JiraReleaseListArgs): Promise<TaskResult<"jira_release_list">>;
1333
+ /** Jira issue link types with their outward and inward phrases. */
1334
+ jiraIssueLinkTypes(args?: JiraIssueLinkTypesArgs): Promise<TaskResult<"jira_issue_link_types">>;
1335
+ /** Copy a Jira issue (summary, description, type, labels, priority, components, parent). */
1336
+ jiraIssueClone(args: JiraIssueCloneArgs): Promise<TaskResult<"jira_issue_clone">>;
1337
+ /** Log time on a Jira issue. */
1338
+ jiraIssueWorklog(args: JiraIssueWorklogArgs): Promise<TaskResult<"jira_issue_worklog">>;
1339
+ /** Upload local files to a Jira issue. */
1340
+ jiraIssueAttach(args: JiraIssueAttachArgs): Promise<TaskResult<"jira_issue_attach">>;
1341
+ /** List a Jira issue's attachments. */
1342
+ jiraIssueAttachments(args: JiraIssueAttachmentsArgs): Promise<TaskResult<"jira_issue_attachments">>;
1343
+ /** Validate JQL with Jira's parser; returns valid, errors, warnings. */
1344
+ jiraJqlCheck(args: JiraJqlCheckArgs): Promise<TaskResult<"jira_jql_check">>;
1345
+ /** Fields (with operators) and functions usable in JQL on this site. */
1346
+ jiraJqlFields(args?: JiraJqlFieldsArgs): Promise<TaskResult<"jira_jql_fields">>;
1347
+ /** Value suggestions for a JQL field, for example field=status prefix=In. */
1348
+ jiraJqlSuggest(args: JiraJqlSuggestArgs): Promise<TaskResult<"jira_jql_suggest">>;
1349
+ /** Saved Jira filters (Cloud: all visible, Data Center: favourites). */
1350
+ jiraFilterList(args?: JiraFilterListArgs): Promise<TaskResult<"jira_filter_list">>;
1351
+ /** Run a saved Jira filter by ID or exact name; returns issue records. */
1352
+ jiraFilterRun(args: JiraFilterRunArgs): Promise<TaskResult<"jira_filter_run">>;
1353
+ /** Open epics, optionally of one project. */
1354
+ jiraEpicList(args?: JiraEpicListArgs): Promise<TaskResult<"jira_epic_list">>;
1355
+ /** Move issues into an epic. */
1356
+ jiraEpicAdd(args: JiraEpicAddArgs): Promise<TaskResult<"jira_epic_add">>;
1357
+ /** Remove issues from their epic. */
1358
+ jiraEpicRemove(args: JiraEpicRemoveArgs): Promise<TaskResult<"jira_epic_remove">>;
1359
+ /** Jira Software boards, optionally of one project. */
1360
+ jiraBoardList(args?: JiraBoardListArgs): Promise<TaskResult<"jira_board_list">>;
1361
+ /** Sprints of a board. */
1362
+ jiraSprintList(args?: JiraSprintListArgs): Promise<TaskResult<"jira_sprint_list">>;
1363
+ /** Move issues into a sprint. */
1364
+ jiraSprintAdd(args: JiraSprintAddArgs): Promise<TaskResult<"jira_sprint_add">>;
1365
+ /** Jira projects. */
1366
+ jiraProjectList(args?: JiraProjectListArgs): Promise<TaskResult<"jira_project_list">>;
1367
+ /** Issue type names of a Jira project (without sub-task types), for the `type` argument of jira_issue_create. */
1368
+ jiraIssueTypes(args: JiraIssueTypesArgs): Promise<TaskResult<"jira_issue_types">>;
1369
+ /** The signed-in Jira user. */
1370
+ jiraMe(args?: JiraMeArgs): Promise<TaskResult<"jira_me">>;
1371
+ /** A Confluence page as Markdown (with title, space, version, url). */
1372
+ confluencePageGet(args: ConfluencePageGetArgs): Promise<TaskResult<"confluence_page_get">>;
1373
+ /** Create a Confluence page from Markdown (or storage format). */
1374
+ confluencePageCreate(args: ConfluencePageCreateArgs): Promise<TaskResult<"confluence_page_create">>;
1375
+ /** Blog posts of a Confluence space, newest first. */
1376
+ confluenceBlogList(args: ConfluenceBlogListArgs): Promise<TaskResult<"confluence_blog_list">>;
1377
+ /** One Confluence blog post with its body as Markdown. */
1378
+ confluenceBlogGet(args: ConfluenceBlogGetArgs): Promise<TaskResult<"confluence_blog_get">>;
1379
+ /** Publish a Confluence blog post from Markdown. */
1380
+ confluenceBlogCreate(args: ConfluenceBlogCreateArgs): Promise<TaskResult<"confluence_blog_create">>;
1381
+ /** Create a Confluence space with a key, a name and an optional plain-text description. */
1382
+ confluenceSpaceCreate(args: ConfluenceSpaceCreateArgs): Promise<TaskResult<"confluence_space_create">>;
1383
+ /** Replace a Confluence page's title and/or body; the version is bumped automatically. */
1384
+ confluencePageUpdate(args: ConfluencePageUpdateArgs): Promise<TaskResult<"confluence_page_update">>;
1385
+ /** Delete a Confluence page. */
1386
+ confluencePageDelete(args: ConfluencePageDeleteArgs): Promise<TaskResult<"confluence_page_delete">>;
1387
+ /** Children of a Confluence page (Cloud: also folders), or with `recursive` the whole tree, depth first, each row with type, depth and parent. */
1388
+ confluencePageChildren(args: ConfluencePageChildrenArgs): Promise<TaskResult<"confluence_page_children">>;
1389
+ /** Confluence pages whose title contains the words, optionally in one space. */
1390
+ confluencePageFind(args: ConfluencePageFindArgs): Promise<TaskResult<"confluence_page_find">>;
1391
+ /** Upload local files to a Confluence page. */
1392
+ confluencePageAttach(args: ConfluencePageAttachArgs): Promise<TaskResult<"confluence_page_attach">>;
1393
+ /** Attachments of a Confluence page with download URLs. */
1394
+ confluencePageAttachments(args: ConfluencePageAttachmentsArgs): Promise<TaskResult<"confluence_page_attachments">>;
1395
+ /** Footer (or with `inline`, inline) comments of a Confluence page, oldest first, as Markdown, with the replied-to `parent`. */
1396
+ confluencePageComments(args: ConfluencePageCommentsArgs): Promise<TaskResult<"confluence_page_comments">>;
1397
+ /** Add a footer comment (Markdown) to a Confluence page, or a reply with `parent`. */
1398
+ confluencePageComment(args: ConfluencePageCommentArgs): Promise<TaskResult<"confluence_page_comment">>;
1399
+ /** Delete a Confluence comment by ID. */
1400
+ confluenceCommentDelete(args: ConfluenceCommentDeleteArgs): Promise<TaskResult<"confluence_comment_delete">>;
1401
+ /** Delete a Confluence attachment by ID. */
1402
+ confluenceAttachmentDelete(args: ConfluenceAttachmentDeleteArgs): Promise<TaskResult<"confluence_attachment_delete">>;
1403
+ /** Export a Confluence page (and with `recursive` its tree) to local Markdown folders: <title>/index.md with front matter and _attachments/. Changes nothing on the server. */
1404
+ confluencePageExport(args: ConfluencePageExportArgs): Promise<TaskResult<"confluence_page_export">>;
1405
+ /** Publish local Markdown files: update the page in each file's front matter (refusing pages changed on the server unless `force`, skipping unchanged ones), create pages for new files under their folder's index.md, upload referenced images, and write ids and versions back. */
1406
+ confluencePagePush(args: ConfluencePagePushArgs): Promise<TaskResult<"confluence_page_push">>;
1407
+ /** Copy a Confluence page and the pages below it under another page (titles, bodies, labels). */
1408
+ confluencePageCopyTree(args: ConfluencePageCopyTreeArgs): Promise<TaskResult<"confluence_page_copy_tree">>;
1409
+ /** Labels of a Confluence page. */
1410
+ confluencePageLabels(args: ConfluencePageLabelsArgs): Promise<TaskResult<"confluence_page_labels">>;
1411
+ /** Add and remove labels on a Confluence page; returns the resulting labels. */
1412
+ confluencePageLabel(args: ConfluencePageLabelArgs): Promise<TaskResult<"confluence_page_label">>;
1413
+ /** Move a Confluence page under another page (position append) or next to it (before/after, Cloud only). */
1414
+ confluencePageMove(args: ConfluencePageMoveArgs): Promise<TaskResult<"confluence_page_move">>;
1415
+ /** Versions of a Confluence page, newest first: number, author, date, message. Read one with confluence_page_get and `version`. */
1416
+ confluencePageHistory(args: ConfluencePageHistoryArgs): Promise<TaskResult<"confluence_page_history">>;
1417
+ /** Confluence spaces. */
1418
+ confluenceSpaceList(args?: ConfluenceSpaceListArgs): Promise<TaskResult<"confluence_space_list">>;
1419
+ /** Top-level pages of a Confluence space. */
1420
+ confluenceSpacePages(args: ConfluenceSpacePagesArgs): Promise<TaskResult<"confluence_space_pages">>;
1421
+ /** Search Confluence by words or CQL; returns id, type, title, space, excerpt, url. */
1422
+ confluenceSearch(args?: ConfluenceSearchArgs): Promise<TaskResult<"confluence_search">>;
1423
+ /** Bitbucket repositories of a workspace (Cloud) or project (Data Center), or the ones you belong to. */
1424
+ bitbucketRepoList(args?: BitbucketRepoListArgs): Promise<TaskResult<"bitbucket_repo_list">>;
1425
+ /** One Bitbucket repository with its default branch and URL. */
1426
+ bitbucketRepoView(args: BitbucketRepoViewArgs): Promise<TaskResult<"bitbucket_repo_view">>;
1427
+ /** Branches of a Bitbucket repository, most recently changed first. */
1428
+ bitbucketBranchList(args: BitbucketBranchListArgs): Promise<TaskResult<"bitbucket_branch_list">>;
1429
+ /** Pull requests of a Bitbucket repository by state. */
1430
+ bitbucketPrList(args: BitbucketPrListArgs): Promise<TaskResult<"bitbucket_pr_list">>;
1431
+ /** One pull request with description, reviewers and approvals. */
1432
+ bitbucketPrView(args: BitbucketPrViewArgs): Promise<TaskResult<"bitbucket_pr_view">>;
1433
+ /** Open a pull request from a source branch. */
1434
+ bitbucketPrCreate(args: BitbucketPrCreateArgs): Promise<TaskResult<"bitbucket_pr_create">>;
1435
+ /** Merge a pull request. */
1436
+ bitbucketPrMerge(args: BitbucketPrMergeArgs): Promise<TaskResult<"bitbucket_pr_merge">>;
1437
+ /** Approve a pull request as the signed-in user. */
1438
+ bitbucketPrApprove(args: BitbucketPrApproveArgs): Promise<TaskResult<"bitbucket_pr_approve">>;
1439
+ /** Add a Markdown comment to a pull request. */
1440
+ bitbucketPrComment(args: BitbucketPrCommentArgs): Promise<TaskResult<"bitbucket_pr_comment">>;
1441
+ /** The unified diff of a pull request. */
1442
+ bitbucketPrDiff(args: BitbucketPrDiffArgs): Promise<TaskResult<"bitbucket_pr_diff">>;
1443
+ /** Comments of a pull request, oldest first, as Markdown: general and inline (path, line), replies flattened with `parent`. */
1444
+ bitbucketPrComments(args: BitbucketPrCommentsArgs): Promise<TaskResult<"bitbucket_pr_comments">>;
1445
+ /** Build statuses of a pull request's latest commit, with `passed` (none failed) and `pending` (some still running). */
1446
+ bitbucketPrChecks(args: BitbucketPrChecksArgs): Promise<TaskResult<"bitbucket_pr_checks">>;
1447
+ /** Remove your approval from a pull request. */
1448
+ bitbucketPrUnapprove(args: BitbucketPrUnapproveArgs): Promise<TaskResult<"bitbucket_pr_unapprove">>;
1449
+ /** Mark a draft pull request as ready for review (or, with `draft: true`, as a draft again). */
1450
+ bitbucketPrReady(args: BitbucketPrReadyArgs): Promise<TaskResult<"bitbucket_pr_ready">>;
1451
+ /** Create a branch from another branch, a tag or a commit (default: the main branch). */
1452
+ bitbucketBranchCreate(args: BitbucketBranchCreateArgs): Promise<TaskResult<"bitbucket_branch_create">>;
1453
+ /** Delete a branch. Unmerged commits on it can be lost. */
1454
+ bitbucketBranchDelete(args: BitbucketBranchDeleteArgs): Promise<TaskResult<"bitbucket_branch_delete">>;
1455
+ /** Recent commits of a branch, newest first: hash, author, date, first line of the message. */
1456
+ bitbucketCommitList(args: BitbucketCommitListArgs): Promise<TaskResult<"bitbucket_commit_list">>;
1457
+ /** Latest Bitbucket Pipelines runs, newest first (Cloud only). */
1458
+ bitbucketPipelineList(args: BitbucketPipelineListArgs): Promise<TaskResult<"bitbucket_pipeline_list">>;
1459
+ /** Start the pipeline of a branch, or a custom pipeline (Cloud only). */
1460
+ bitbucketPipelineRun(args: BitbucketPipelineRunArgs): Promise<TaskResult<"bitbucket_pipeline_run">>;
1461
+ /** Decline a Bitbucket pull request (Cloud cannot reopen it). */
1462
+ bitbucketPrDecline(args: BitbucketPrDeclineArgs): Promise<TaskResult<"bitbucket_pr_decline">>;
1463
+ /** Mark a Bitbucket pull request as needing changes by you (Cloud: request changes; Data Center: needs work). */
1464
+ bitbucketPrRequestChanges(args: BitbucketPrRequestChangesArgs): Promise<TaskResult<"bitbucket_pr_request_changes">>;
1465
+ /** Change a Bitbucket pull request's title, description (Markdown) or destination branch. */
1466
+ bitbucketPrEdit(args: BitbucketPrEditArgs): Promise<TaskResult<"bitbucket_pr_edit">>;
1467
+ /** Add and remove reviewers of a Bitbucket pull request; other reviewers are kept. */
1468
+ bitbucketPrReviewers(args: BitbucketPrReviewersArgs): Promise<TaskResult<"bitbucket_pr_reviewers">>;
1469
+ /** Stop a running Bitbucket pipeline by build number or UUID (Cloud only). */
1470
+ bitbucketPipelineStop(args: BitbucketPipelineStopArgs): Promise<TaskResult<"bitbucket_pipeline_stop">>;
1471
+ /** One Bitbucket pipeline by build number or UUID, with each step's state and result (Cloud only). */
1472
+ bitbucketPipelineView(args: BitbucketPipelineViewArgs): Promise<TaskResult<"bitbucket_pipeline_view">>;
1473
+ /** Log text of one pipeline step (by name or UUID) or of every step (Cloud only). */
1474
+ bitbucketPipelineLogs(args: BitbucketPipelineLogsArgs): Promise<TaskResult<"bitbucket_pipeline_logs">>;
1475
+ /** Jira Service Management service desks (id, project key, name). */
1476
+ jsmDeskList(args?: JsmDeskListArgs): Promise<TaskResult<"jsm_desk_list">>;
1477
+ /** Request types of a service desk. */
1478
+ jsmRequestTypes(args: JsmRequestTypesArgs): Promise<TaskResult<"jsm_request_types">>;
1479
+ /** Queues of a service desk with issue counts. */
1480
+ jsmQueueList(args: JsmQueueListArgs): Promise<TaskResult<"jsm_queue_list">>;
1481
+ /** Issues in a service desk queue (by queue ID or name). */
1482
+ jsmQueueIssues(args: JsmQueueIssuesArgs): Promise<TaskResult<"jsm_queue_issues">>;
1483
+ /** Customer requests by status, optionally of one service desk. */
1484
+ jsmRequestList(args?: JsmRequestListArgs): Promise<TaskResult<"jsm_request_list">>;
1485
+ /** One customer request with its description and latest comments. */
1486
+ jsmRequestView(args: JsmRequestViewArgs): Promise<TaskResult<"jsm_request_view">>;
1487
+ /** Raise a customer request, optionally for a customer. */
1488
+ jsmRequestCreate(args: JsmRequestCreateArgs): Promise<TaskResult<"jsm_request_create">>;
1489
+ /** Reply to a customer request, or add an internal note. */
1490
+ jsmRequestComment(args: JsmRequestCommentArgs): Promise<TaskResult<"jsm_request_comment">>;
1491
+ /** Transitions available on a customer request. */
1492
+ jsmRequestTransitions(args: JsmRequestTransitionsArgs): Promise<TaskResult<"jsm_request_transitions">>;
1493
+ /** Run a customer request transition by name or ID. */
1494
+ jsmRequestMove(args: JsmRequestMoveArgs): Promise<TaskResult<"jsm_request_move">>;
1495
+ /** Approvals of a JSM request: name, decision (pending, approved, declined), approvers, and whether you can answer. */
1496
+ jsmRequestApprovals(args: JsmRequestApprovalsArgs): Promise<TaskResult<"jsm_request_approvals">>;
1497
+ /** Approve or decline (decision: decline) a JSM request's approval; without an ID, the one pending approval you can answer. */
1498
+ jsmRequestApprove(args: JsmRequestApproveArgs): Promise<TaskResult<"jsm_request_approve">>;
1499
+ /** List a JSM request's participants, after adding and removing any (me, an email or a name). */
1500
+ jsmRequestParticipants(args: JsmRequestParticipantsArgs): Promise<TaskResult<"jsm_request_participants">>;
1501
+ /** SLAs of a JSM request: state (ongoing, paused, met, breached), time remaining and goal. */
1502
+ jsmRequestSla(args: JsmRequestSlaArgs): Promise<TaskResult<"jsm_request_sla">>;
1503
+ /** Attach local files to a JSM request (public unless internal). */
1504
+ jsmRequestAttach(args: JsmRequestAttachArgs): Promise<TaskResult<"jsm_request_attach">>;
1505
+ /** Attachments of a JSM request with download URLs. */
1506
+ jsmRequestAttachments(args: JsmRequestAttachmentsArgs): Promise<TaskResult<"jsm_request_attachments">>;
1507
+ /** Your open Trello boards. */
1508
+ trelloBoardList(args?: TrelloBoardListArgs): Promise<TaskResult<"trello_board_list">>;
1509
+ /** Open lists of a Trello board (board by name, URL, short link or ID). */
1510
+ trelloListList(args: TrelloListListArgs): Promise<TaskResult<"trello_list_list">>;
1511
+ /** Cards of a Trello board or one of its lists, or your cards on every board (`mine`). */
1512
+ trelloCardList(args?: TrelloCardListArgs): Promise<TaskResult<"trello_card_list">>;
1513
+ /** One Trello card with list, board, description and latest comments. */
1514
+ trelloCardView(args: TrelloCardViewArgs): Promise<TaskResult<"trello_card_view">>;
1515
+ /** Create a Trello card in a list (by name with `board`, or by list ID). */
1516
+ trelloCardCreate(args: TrelloCardCreateArgs): Promise<TaskResult<"trello_card_create">>;
1517
+ /** Move a Trello card to another list (by default on the card's own board). */
1518
+ trelloCardMove(args: TrelloCardMoveArgs): Promise<TaskResult<"trello_card_move">>;
1519
+ /** Add a comment to a Trello card. */
1520
+ trelloCardComment(args: TrelloCardCommentArgs): Promise<TaskResult<"trello_card_comment">>;
1521
+ /** Archive (close) a Trello card. */
1522
+ trelloCardArchive(args: TrelloCardArchiveArgs): Promise<TaskResult<"trello_card_archive">>;
1523
+ /** Change a Trello card: name, description, due date, done, labels (by name or color) and members (username, name or me). */
1524
+ trelloCardEdit(args: TrelloCardEditArgs): Promise<TaskResult<"trello_card_edit">>;
1525
+ /** Checklists of a Trello card with their items and whether each is done. */
1526
+ trelloChecklistList(args: TrelloChecklistListArgs): Promise<TaskResult<"trello_checklist_list">>;
1527
+ /** Add a checklist with items to a Trello card. */
1528
+ trelloChecklistCreate(args: TrelloChecklistCreateArgs): Promise<TaskResult<"trello_checklist_create">>;
1529
+ /** Tick (or with done: false, untick) a Trello checklist item by name or ID. */
1530
+ trelloChecklistCheck(args: TrelloChecklistCheckArgs): Promise<TaskResult<"trello_checklist_check">>;
1531
+ /** Organizations the Atlassian Admin API key can see. */
1532
+ adminOrgList(args?: AdminOrgListArgs): Promise<TaskResult<"admin_org_list">>;
1533
+ /** User directories of an Atlassian organization. */
1534
+ adminDirectoryList(args?: AdminDirectoryListArgs): Promise<TaskResult<"admin_directory_list">>;
1535
+ /** Managed users of an Atlassian organization (every directory), optionally matching `search`. */
1536
+ adminUserList(args?: AdminUserListArgs): Promise<TaskResult<"admin_user_list">>;
1537
+ /** Suspend a managed user's access to every product (by account ID or email). */
1538
+ adminUserSuspend(args: AdminUserSuspendArgs): Promise<TaskResult<"admin_user_suspend">>;
1539
+ /** Restore a suspended managed user's access (by account ID or email). */
1540
+ adminUserRestore(args: AdminUserRestoreArgs): Promise<TaskResult<"admin_user_restore">>;
1541
+ /** Add a managed user (email or account ID) to a group (name or ID) of an Atlassian organization. */
1542
+ adminGroupAddMember(args: AdminGroupAddMemberArgs): Promise<TaskResult<"admin_group_add_member">>;
1543
+ /** Remove a managed user from a group of an Atlassian organization. */
1544
+ adminGroupRemoveMember(args: AdminGroupRemoveMemberArgs): Promise<TaskResult<"admin_group_remove_member">>;
1545
+ /** Groups of an Atlassian organization (every directory), optionally matching `search`. */
1546
+ adminGroupList(args?: AdminGroupListArgs): Promise<TaskResult<"admin_group_list">>;
1547
+ /** Domains of an Atlassian organization with their verification status. */
1548
+ adminDomainList(args?: AdminDomainListArgs): Promise<TaskResult<"admin_domain_list">>;
1549
+ /** Audit log events of an Atlassian organization, newest first, filtered by words, dates and action. */
1550
+ adminEventList(args?: AdminEventListArgs): Promise<TaskResult<"admin_event_list">>;
1551
+ }
1552
+ export type Family = "jira" | "confluence" | "bitbucket" | "trello" | "admin" | "admin-scim";
1553
+ export type Auth = {
1554
+ kind: "basic";
1555
+ username: string;
1556
+ secret: string;
1557
+ } | {
1558
+ kind: "bearer";
1559
+ token: string;
1560
+ } | {
1561
+ kind: "trello";
1562
+ key: string;
1563
+ token: string;
1564
+ }
1565
+ /** A browser session's Cookie header (Data Center behind SSO). */
1566
+ | {
1567
+ kind: "cookie";
1568
+ cookie: string;
1569
+ }
1570
+ /** Basic credentials from $NETRC or ~/.netrc for the server's host. */
1571
+ | {
1572
+ kind: "netrc";
1573
+ }
1574
+ /** Anonymous access. */
1575
+ | {
1576
+ kind: "none";
1577
+ };
1578
+ export interface Connection {
1579
+ deployment: "cloud" | "data-center";
1580
+ base_url: string;
1581
+ auth: Auth;
1582
+ read_only?: boolean;
1583
+ /** Browser URL when base_url is the api.atlassian.com gateway. */
1584
+ site_url?: string;
1585
+ /** PEM client certificate for mutual TLS (Node only). */
1586
+ client_cert?: string;
1587
+ /** PEM key of client_cert, when not in the same file. */
1588
+ client_key?: string;
1589
+ /** PEM CA certificates to trust in addition to the system roots. */
1590
+ ca_cert?: string;
1591
+ }
1592
+ export type Connections = Partial<Record<Family, Connection>>;
1593
+ /** For `input_required`: the argument to fill in and its valid values. */
1594
+ export interface InputRequired {
1595
+ arg: string;
1596
+ choices: {
1597
+ value: string;
1598
+ label: string;
1599
+ }[];
1600
+ }
1601
+ export declare class AtlError extends Error {
1602
+ readonly code: ErrorCode;
1603
+ readonly status?: number | undefined;
1604
+ readonly details?: unknown | undefined;
1605
+ readonly input?: InputRequired | undefined;
1606
+ constructor(code: ErrorCode, message: string, status?: number | undefined, details?: unknown | undefined, input?: InputRequired | undefined);
1607
+ }
1608
+ /** Rethrows an SDK error (a JSON object in the message) as an AtlError. */
1609
+ export declare function rethrow(err: unknown): never;
1610
+ /** Issue filters for jiraIssueList and jiraIssueCount; `~` excludes a value. */
1611
+ export type IssueQuery = JiraIssueListArgs;
1612
+ export interface IssueSummary {
1613
+ key: string;
1614
+ summary: string;
1615
+ status: string;
1616
+ status_category: string;
1617
+ type: string;
1618
+ assignee: string | null;
1619
+ priority: string | null;
1620
+ updated: string | null;
1621
+ url: string;
1622
+ }
1623
+ export interface IssuePage {
1624
+ issues: IssueSummary[];
1625
+ next_page_token: string | null;
1626
+ total: number | null;
1627
+ jql: string;
1628
+ }
1629
+ interface Comment$1 {
1630
+ id: string;
1631
+ author: string | null;
1632
+ created: string | null;
1633
+ body: string;
1634
+ }
1635
+ export interface IssueDetail extends IssueSummary {
1636
+ reporter: string | null;
1637
+ created: string | null;
1638
+ labels: string[];
1639
+ components: string[];
1640
+ parent: string | null;
1641
+ subtasks: string[];
1642
+ description: string;
1643
+ comments: Comment$1[];
1644
+ comment_count: number;
1645
+ }
1646
+ export interface Page {
1647
+ id: string;
1648
+ title: string;
1649
+ space: string | null;
1650
+ version: number;
1651
+ url: string;
1652
+ markdown: string;
1653
+ storage?: string;
1654
+ }
1655
+ export interface PageSummary {
1656
+ id: string;
1657
+ title: string;
1658
+ url: string;
1659
+ }
1660
+ export interface PullRequest {
1661
+ id: number;
1662
+ title: string;
1663
+ state: "OPEN" | "MERGED" | "DECLINED" | "SUPERSEDED";
1664
+ author: string | null;
1665
+ source: string;
1666
+ destination: string;
1667
+ updated: string | null;
1668
+ description: string;
1669
+ reviewers: string[];
1670
+ approved_by: string[];
1671
+ url: string;
1672
+ }
1673
+ export interface ServiceRequest {
1674
+ key: string;
1675
+ summary: string;
1676
+ status: string;
1677
+ type: string | null;
1678
+ reporter: string | null;
1679
+ created: string | null;
1680
+ url: string;
1681
+ }
1682
+ export interface TaskDef {
1683
+ name: string;
1684
+ description: string;
1685
+ read_only: boolean;
1686
+ schema: Record<string, unknown>;
1687
+ }
1688
+ /** Result types of the tasks whose results have a hand-written type; other tasks return `unknown`. */
1689
+ export interface TaskResults {
1690
+ jira_issue_list: IssuePage;
1691
+ jira_issue_count: {
1692
+ count: number;
1693
+ jql: string;
1694
+ };
1695
+ jira_issue_view: IssueDetail;
1696
+ jira_issue_create: {
1697
+ key: string;
1698
+ url: string;
1699
+ };
1700
+ jira_issue_edit: {
1701
+ key: string;
1702
+ updated: boolean;
1703
+ url: string;
1704
+ };
1705
+ jira_issue_assign: {
1706
+ key: string;
1707
+ assignee: string;
1708
+ };
1709
+ jira_issue_move: {
1710
+ key: string;
1711
+ status: string;
1712
+ transition: string;
1713
+ };
1714
+ jira_issue_comment: Comment$1;
1715
+ jira_jql_check: {
1716
+ valid: boolean;
1717
+ errors: string[];
1718
+ warnings: string[];
1719
+ };
1720
+ jira_filter_run: IssuePage;
1721
+ confluence_page_get: Page;
1722
+ confluence_page_create: PageSummary;
1723
+ confluence_page_update: PageSummary;
1724
+ confluence_search: {
1725
+ cql: string;
1726
+ results: unknown[];
1727
+ };
1728
+ bitbucket_pr_list: PullRequest[];
1729
+ bitbucket_pr_create: PullRequest;
1730
+ jsm_request_list: ServiceRequest[];
1731
+ jsm_request_create: ServiceRequest;
1732
+ }
1733
+ export declare function init(input?: Parameters<typeof __wbg_init>[0]): Promise<unknown>;
1734
+ export declare class Client extends GeneratedTasks {
1735
+ private readonly inner;
1736
+ private constructor();
1737
+ static withConnections(connections: Connections): Client;
1738
+ configured(options: {
1739
+ readOnly?: boolean;
1740
+ maxRetries?: number;
1741
+ }): Client;
1742
+ task<T = unknown>(name: string, args?: Record<string, unknown>): Promise<T>;
1743
+ call<T = unknown>(service: string, operation: string, args?: {
1744
+ params?: Record<string, unknown>;
1745
+ body?: unknown;
1746
+ }): Promise<T>;
1747
+ request<T = unknown>(service: string, method: string, path: string, options?: {
1748
+ query?: Record<string, unknown>;
1749
+ body?: unknown;
1750
+ }): Promise<T>;
1751
+ }
1752
+ export declare function tasks(): TaskDef[];
1753
+ export declare const markup: {
1754
+ markdownToAdf: (markdown: string) => Record<string, unknown>;
1755
+ adfToMarkdown: (adf: unknown) => string;
1756
+ markdownToStorage: typeof markdownToStorage;
1757
+ storageToMarkdown: typeof storageToMarkdown;
1758
+ markdownToWiki: typeof markdownToWiki;
1759
+ wikiToMarkdown: typeof wikiToMarkdown;
1760
+ };
1761
+
1762
+ export {
1763
+ Comment$1 as Comment,
1764
+ GeneratedTasks as Tasks,
1765
+ };
1766
+
1767
+ export {};