@archastro/sdk 0.20.0 → 0.22.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/dist/channels/api_artifact_channel.d.ts +48 -0
- package/dist/channels/api_artifact_channel.d.ts.map +1 -0
- package/dist/channels/api_artifact_channel.js +85 -0
- package/dist/channels/api_artifact_channel.js.map +1 -0
- package/dist/channels/api_chat_channel.d.ts +3 -1
- package/dist/channels/api_chat_channel.d.ts.map +1 -1
- package/dist/channels/api_chat_channel.js +6 -2
- package/dist/channels/api_chat_channel.js.map +1 -1
- package/dist/client.d.ts +10 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +11 -1
- package/dist/client.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/types/ai.d.ts +124 -10
- package/dist/types/ai.d.ts.map +1 -1
- package/dist/types/ai.js +27 -7
- package/dist/types/ai.js.map +1 -1
- package/dist/types/artifacts.d.ts +448 -0
- package/dist/types/artifacts.d.ts.map +1 -1
- package/dist/types/artifacts.js +65 -1
- package/dist/types/artifacts.js.map +1 -1
- package/dist/types/automations.d.ts +26 -26
- package/dist/types/automations.d.ts.map +1 -1
- package/dist/types/automations.js +10 -10
- package/dist/types/automations.js.map +1 -1
- package/dist/types/chat.d.ts +4150 -0
- package/dist/types/chat.d.ts.map +1 -1
- package/dist/types/common.d.ts +3635 -357
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/common.js +186 -32
- package/dist/types/common.js.map +1 -1
- package/dist/types/computers.d.ts +42 -0
- package/dist/types/computers.d.ts.map +1 -0
- package/dist/types/computers.js +19 -0
- package/dist/types/computers.js.map +1 -0
- package/dist/types/events.d.ts +34 -16
- package/dist/types/events.d.ts.map +1 -1
- package/dist/types/events.js +3 -1
- package/dist/types/events.js.map +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +3 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/relays.d.ts +22 -0
- package/dist/types/relays.d.ts.map +1 -0
- package/dist/types/relays.js +12 -0
- package/dist/types/relays.js.map +1 -0
- package/dist/types/tasks.d.ts +839 -14
- package/dist/types/tasks.d.ts.map +1 -1
- package/dist/types/tasks.js +85 -11
- package/dist/types/tasks.js.map +1 -1
- package/dist/types/teams.d.ts +381 -0
- package/dist/types/teams.d.ts.map +1 -1
- package/dist/types/threads.d.ts +421 -0
- package/dist/types/threads.d.ts.map +1 -1
- package/dist/types/threads.js +3 -1
- package/dist/types/threads.js.map +1 -1
- package/dist/v1/resources/activity_feed.d.ts +15 -0
- package/dist/v1/resources/activity_feed.d.ts.map +1 -1
- package/dist/v1/resources/activity_feed.js +1 -1
- package/dist/v1/resources/agent_computers.d.ts +48 -1
- package/dist/v1/resources/agent_computers.d.ts.map +1 -1
- package/dist/v1/resources/agent_computers.js +17 -1
- package/dist/v1/resources/agent_computers.js.map +1 -1
- package/dist/v1/resources/agent_requests.d.ts +62 -0
- package/dist/v1/resources/agent_requests.d.ts.map +1 -0
- package/dist/v1/resources/agent_requests.js +79 -0
- package/dist/v1/resources/agent_requests.js.map +1 -0
- package/dist/v1/resources/agent_routines.d.ts +15 -0
- package/dist/v1/resources/agent_routines.d.ts.map +1 -1
- package/dist/v1/resources/agent_routines.js +1 -1
- package/dist/v1/resources/agent_routines.js.map +1 -1
- package/dist/v1/resources/agent_sessions.d.ts +23 -1
- package/dist/v1/resources/agent_sessions.d.ts.map +1 -1
- package/dist/v1/resources/agent_sessions.js +26 -1
- package/dist/v1/resources/agent_sessions.js.map +1 -1
- package/dist/v1/resources/agents.d.ts +96 -1
- package/dist/v1/resources/agents.d.ts.map +1 -1
- package/dist/v1/resources/agents.js +13 -2
- package/dist/v1/resources/agents.js.map +1 -1
- package/dist/v1/resources/ai.d.ts +55 -4
- package/dist/v1/resources/ai.d.ts.map +1 -1
- package/dist/v1/resources/ai.js +44 -4
- package/dist/v1/resources/ai.js.map +1 -1
- package/dist/v1/resources/artifacts.d.ts +64 -2
- package/dist/v1/resources/artifacts.d.ts.map +1 -1
- package/dist/v1/resources/artifacts.js +3 -2
- package/dist/v1/resources/artifacts.js.map +1 -1
- package/dist/v1/resources/automation_runs.d.ts +6 -2
- package/dist/v1/resources/automation_runs.d.ts.map +1 -1
- package/dist/v1/resources/automation_runs.js +10 -4
- package/dist/v1/resources/automation_runs.js.map +1 -1
- package/dist/v1/resources/computers.d.ts +113 -0
- package/dist/v1/resources/computers.d.ts.map +1 -0
- package/dist/v1/resources/computers.js +113 -0
- package/dist/v1/resources/computers.js.map +1 -0
- package/dist/v1/resources/custom_objects.d.ts +154 -0
- package/dist/v1/resources/custom_objects.d.ts.map +1 -1
- package/dist/v1/resources/custom_objects.js +60 -1
- package/dist/v1/resources/custom_objects.js.map +1 -1
- package/dist/v1/resources/event_subscriptions.d.ts +12 -0
- package/dist/v1/resources/event_subscriptions.d.ts.map +1 -1
- package/dist/v1/resources/event_subscriptions.js +7 -1
- package/dist/v1/resources/event_subscriptions.js.map +1 -1
- package/dist/v1/resources/files.d.ts +56 -10
- package/dist/v1/resources/files.d.ts.map +1 -1
- package/dist/v1/resources/files.js +39 -11
- package/dist/v1/resources/files.js.map +1 -1
- package/dist/v1/resources/index.d.ts +5 -0
- package/dist/v1/resources/index.d.ts.map +1 -1
- package/dist/v1/resources/index.js +6 -1
- package/dist/v1/resources/index.js.map +1 -1
- package/dist/v1/resources/knowledge_sources.d.ts +4 -0
- package/dist/v1/resources/knowledge_sources.d.ts.map +1 -1
- package/dist/v1/resources/knowledge_sources.js +1 -1
- package/dist/v1/resources/kv.d.ts +75 -31
- package/dist/v1/resources/kv.d.ts.map +1 -1
- package/dist/v1/resources/kv.js +79 -32
- package/dist/v1/resources/kv.js.map +1 -1
- package/dist/v1/resources/notifications.d.ts +14 -0
- package/dist/v1/resources/notifications.d.ts.map +1 -1
- package/dist/v1/resources/notifications.js +13 -1
- package/dist/v1/resources/notifications.js.map +1 -1
- package/dist/v1/resources/oauth.d.ts +2 -0
- package/dist/v1/resources/oauth.d.ts.map +1 -1
- package/dist/v1/resources/oauth.js +2 -1
- package/dist/v1/resources/oauth.js.map +1 -1
- package/dist/v1/resources/orgs.d.ts +907 -1
- package/dist/v1/resources/orgs.d.ts.map +1 -1
- package/dist/v1/resources/orgs.js +471 -2
- package/dist/v1/resources/orgs.js.map +1 -1
- package/dist/v1/resources/private_service_enrollments.d.ts +7 -0
- package/dist/v1/resources/private_service_enrollments.d.ts.map +1 -1
- package/dist/v1/resources/private_service_enrollments.js +10 -1
- package/dist/v1/resources/private_service_enrollments.js.map +1 -1
- package/dist/v1/resources/relays.d.ts +38 -0
- package/dist/v1/resources/relays.d.ts.map +1 -0
- package/dist/v1/resources/relays.js +44 -0
- package/dist/v1/resources/relays.js.map +1 -0
- package/dist/v1/resources/scripts.d.ts +20 -9
- package/dist/v1/resources/scripts.d.ts.map +1 -1
- package/dist/v1/resources/scripts.js +18 -10
- package/dist/v1/resources/scripts.js.map +1 -1
- package/dist/v1/resources/solutions.d.ts +15 -0
- package/dist/v1/resources/solutions.d.ts.map +1 -1
- package/dist/v1/resources/solutions.js +1 -1
- package/dist/v1/resources/solutions.js.map +1 -1
- package/dist/v1/resources/task_epics.d.ts +85 -0
- package/dist/v1/resources/task_epics.d.ts.map +1 -0
- package/dist/v1/resources/task_epics.js +71 -0
- package/dist/v1/resources/task_epics.js.map +1 -0
- package/dist/v1/resources/task_ownership_conversions.d.ts +14 -0
- package/dist/v1/resources/task_ownership_conversions.d.ts.map +1 -0
- package/dist/v1/resources/task_ownership_conversions.js +19 -0
- package/dist/v1/resources/task_ownership_conversions.js.map +1 -0
- package/dist/v1/resources/tasks.d.ts +122 -1
- package/dist/v1/resources/tasks.d.ts.map +1 -1
- package/dist/v1/resources/tasks.js +73 -1
- package/dist/v1/resources/tasks.js.map +1 -1
- package/dist/v1/resources/teams.d.ts +415 -1
- package/dist/v1/resources/teams.d.ts.map +1 -1
- package/dist/v1/resources/teams.js +137 -1
- package/dist/v1/resources/teams.js.map +1 -1
- package/dist/v1/resources/thread_messages.d.ts +15 -0
- package/dist/v1/resources/thread_messages.d.ts.map +1 -1
- package/dist/v1/resources/thread_messages.js +1 -1
- package/dist/v1/resources/thread_messages.js.map +1 -1
- package/dist/v1/resources/threads.d.ts +126 -0
- package/dist/v1/resources/threads.d.ts.map +1 -1
- package/dist/v1/resources/threads.js +43 -1
- package/dist/v1/resources/threads.js.map +1 -1
- package/dist/v1/resources/users.d.ts +372 -3
- package/dist/v1/resources/users.d.ts.map +1 -1
- package/dist/v1/resources/users.js +167 -3
- package/dist/v1/resources/users.js.map +1 -1
- package/dist/v1/resources/workflows.d.ts +5 -1
- package/dist/v1/resources/workflows.d.ts.map +1 -1
- package/dist/v1/resources/workflows.js +6 -2
- package/dist/v1/resources/workflows.js.map +1 -1
- package/dist/v1.d.ts +10 -0
- package/dist/v1.d.ts.map +1 -1
- package/dist/v1.js +16 -1
- package/dist/v1.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient } from "../../runtime/http-client.js";
|
|
2
2
|
import type { CustomObject } from "../../types/common.js";
|
|
3
|
-
import type { Task } from "../../types/tasks.js";
|
|
3
|
+
import type { Task, TaskEnsureResult, TaskEpicEntity, TaskEpicEntityCollection } from "../../types/tasks.js";
|
|
4
4
|
import type { Team, TeamDeleteImpactResponse, TeamInvite, TeamMembership } from "../../types/teams.js";
|
|
5
5
|
import type { Thread } from "../../types/threads.js";
|
|
6
6
|
export declare class TeamCustomObjectResource {
|
|
@@ -44,17 +44,34 @@ export declare class TeamCustomObjectResource {
|
|
|
44
44
|
principal?: string | undefined;
|
|
45
45
|
principal_type: string;
|
|
46
46
|
}[] | undefined;
|
|
47
|
+
add_denies?: {
|
|
48
|
+
actions: string[];
|
|
49
|
+
principal?: string | undefined;
|
|
50
|
+
principal_type: string;
|
|
51
|
+
}[] | undefined;
|
|
52
|
+
denies?: {
|
|
53
|
+
actions: string[];
|
|
54
|
+
principal?: string | undefined;
|
|
55
|
+
principal_type: string;
|
|
56
|
+
}[] | undefined;
|
|
47
57
|
grants?: {
|
|
48
58
|
actions: string[];
|
|
49
59
|
principal?: string | undefined;
|
|
50
60
|
principal_type: string;
|
|
51
61
|
}[] | undefined;
|
|
62
|
+
preserve_denies?: boolean | undefined;
|
|
52
63
|
remove?: {
|
|
53
64
|
principal?: string | undefined;
|
|
54
65
|
principal_type: string;
|
|
55
66
|
}[] | undefined;
|
|
67
|
+
remove_denies?: {
|
|
68
|
+
principal?: string | undefined;
|
|
69
|
+
principal_type: string;
|
|
70
|
+
}[] | undefined;
|
|
56
71
|
} | undefined;
|
|
72
|
+
agent?: string | undefined;
|
|
57
73
|
created_at?: string | undefined;
|
|
74
|
+
expires_at?: string | null | undefined;
|
|
58
75
|
fields?: Record<string, unknown> | undefined;
|
|
59
76
|
id: string;
|
|
60
77
|
org?: string | undefined;
|
|
@@ -160,15 +177,30 @@ export declare class MemberResource {
|
|
|
160
177
|
principal?: string | undefined;
|
|
161
178
|
principal_type: string;
|
|
162
179
|
}[] | undefined;
|
|
180
|
+
add_denies?: {
|
|
181
|
+
actions: string[];
|
|
182
|
+
principal?: string | undefined;
|
|
183
|
+
principal_type: string;
|
|
184
|
+
}[] | undefined;
|
|
185
|
+
denies?: {
|
|
186
|
+
actions: string[];
|
|
187
|
+
principal?: string | undefined;
|
|
188
|
+
principal_type: string;
|
|
189
|
+
}[] | undefined;
|
|
163
190
|
grants?: {
|
|
164
191
|
actions: string[];
|
|
165
192
|
principal?: string | undefined;
|
|
166
193
|
principal_type: string;
|
|
167
194
|
}[] | undefined;
|
|
195
|
+
preserve_denies?: boolean | undefined;
|
|
168
196
|
remove?: {
|
|
169
197
|
principal?: string | undefined;
|
|
170
198
|
principal_type: string;
|
|
171
199
|
}[] | undefined;
|
|
200
|
+
remove_denies?: {
|
|
201
|
+
principal?: string | undefined;
|
|
202
|
+
principal_type: string;
|
|
203
|
+
}[] | undefined;
|
|
172
204
|
} | null | undefined;
|
|
173
205
|
app?: string | undefined;
|
|
174
206
|
created_at?: string | undefined;
|
|
@@ -417,6 +449,98 @@ export declare class MemberResource {
|
|
|
417
449
|
role: string;
|
|
418
450
|
}): Promise<TeamMembership>;
|
|
419
451
|
}
|
|
452
|
+
export declare class TeamTaskEpicResource {
|
|
453
|
+
private http;
|
|
454
|
+
constructor(http: HttpClient);
|
|
455
|
+
/**
|
|
456
|
+
* List an owner's epic summaries
|
|
457
|
+
* Groups tasks by their exact epic label, ordered by label. Closed tasks include cancelled tasks, but cancelled prerequisites still block. Source filters select the tasks summarized; blockers outside that selection still affect readiness. Root ranking is capped per epic and root_blockers_partial is true when that graph is truncated. No epic entity is created.
|
|
458
|
+
* @param params - Query parameters.
|
|
459
|
+
* @param params.representation - labels (default) or entities.
|
|
460
|
+
* @param params.name - Exact entity name; only used for entities.
|
|
461
|
+
* @param params.sourceScope - Exact source scope; supply all three source fields.
|
|
462
|
+
* @param params.sourceType - Exact source type.
|
|
463
|
+
* @param params.sourceId - Exact source ID.
|
|
464
|
+
* @param params.topPriority - Exact highest open priority, from 0 to 4.
|
|
465
|
+
* @param params.owner - Keep only epics with at least one non-closed task owned by this user: `me` or a user public ID (`usr_...`).
|
|
466
|
+
* @param params.includeClosed - Include epics with no non-closed tasks; defaults to false.
|
|
467
|
+
* @param params.limit - Maximum epics; defaults to 50, capped at 100.
|
|
468
|
+
* @param params.afterCursor - Opaque forward cursor from the preceding page.
|
|
469
|
+
* @returns Successful response
|
|
470
|
+
*/
|
|
471
|
+
list(team: string, params?: {
|
|
472
|
+
representation?: string;
|
|
473
|
+
name?: string;
|
|
474
|
+
user?: string;
|
|
475
|
+
org?: string;
|
|
476
|
+
sourceScope?: string;
|
|
477
|
+
sourceType?: string;
|
|
478
|
+
sourceId?: string;
|
|
479
|
+
topPriority?: number;
|
|
480
|
+
owner?: string;
|
|
481
|
+
includeClosed?: boolean;
|
|
482
|
+
limit?: number;
|
|
483
|
+
afterCursor?: string;
|
|
484
|
+
}): Promise<{
|
|
485
|
+
after_cursor?: string | null | undefined;
|
|
486
|
+
before_cursor?: string | null | undefined;
|
|
487
|
+
data: {
|
|
488
|
+
blocked_count: number;
|
|
489
|
+
counts: Record<string, unknown>;
|
|
490
|
+
epic: string;
|
|
491
|
+
next_ready: {
|
|
492
|
+
id: string;
|
|
493
|
+
name: string;
|
|
494
|
+
priority: number;
|
|
495
|
+
status: string;
|
|
496
|
+
}[];
|
|
497
|
+
owner?: {
|
|
498
|
+
alias?: string | null | undefined;
|
|
499
|
+
id?: string | null | undefined;
|
|
500
|
+
name?: string | null | undefined;
|
|
501
|
+
profile_picture?: {
|
|
502
|
+
file?: string | null | undefined;
|
|
503
|
+
height?: number | null | undefined;
|
|
504
|
+
media?: string | null | undefined;
|
|
505
|
+
mime_type?: string | null | undefined;
|
|
506
|
+
refresh_url?: string | null | undefined;
|
|
507
|
+
url?: string | null | undefined;
|
|
508
|
+
width?: number | null | undefined;
|
|
509
|
+
} | null | undefined;
|
|
510
|
+
} | null | undefined;
|
|
511
|
+
primary_task?: {
|
|
512
|
+
id: string;
|
|
513
|
+
name: string;
|
|
514
|
+
priority: number;
|
|
515
|
+
status: string;
|
|
516
|
+
} | null | undefined;
|
|
517
|
+
root_blockers: {
|
|
518
|
+
downstream_count: number;
|
|
519
|
+
id: string;
|
|
520
|
+
name: string;
|
|
521
|
+
priority: number;
|
|
522
|
+
status: string;
|
|
523
|
+
}[];
|
|
524
|
+
root_blockers_partial: boolean;
|
|
525
|
+
top_open_priority?: number | null | undefined;
|
|
526
|
+
updated_at: string;
|
|
527
|
+
}[];
|
|
528
|
+
has_more: boolean;
|
|
529
|
+
no_epic_open_count: number;
|
|
530
|
+
} | TaskEpicEntityCollection>;
|
|
531
|
+
/**
|
|
532
|
+
* Create a task Epic
|
|
533
|
+
* @param input - Request body.
|
|
534
|
+
* @returns Successful response
|
|
535
|
+
*/
|
|
536
|
+
create(team: string, input: {
|
|
537
|
+
description?: string | undefined;
|
|
538
|
+
metadata?: Record<string, unknown> | undefined;
|
|
539
|
+
name: string;
|
|
540
|
+
state?: string | undefined;
|
|
541
|
+
user?: string | undefined;
|
|
542
|
+
}): Promise<TaskEpicEntity>;
|
|
543
|
+
}
|
|
420
544
|
export declare class TeamTaskResource {
|
|
421
545
|
private http;
|
|
422
546
|
constructor(http: HttpClient);
|
|
@@ -437,6 +561,9 @@ export declare class TeamTaskResource {
|
|
|
437
561
|
* @param params.status - Filter tasks by status. One of `"open"`, `"in_progress"`, `"in_review"`, or `"done"`. Omit to return tasks in all statuses.
|
|
438
562
|
* @param params.ownerUser - Filter tasks assigned to a specific user. Provide the user's public ID (`usr_...`).
|
|
439
563
|
* @param params.ownerAgent - Filter tasks assigned to a specific agent. Provide the agent's public ID (`agi_...`).
|
|
564
|
+
* @param params.owner - Return only tasks owned by this user: `me` or a user public ID (`usr_...`).
|
|
565
|
+
* @param params.involving - Return only tasks owned or created by this user: `me` or a user public ID (`usr_...`). The "My work" predicate.
|
|
566
|
+
* @param params.summary - When true, omit `description` from every task. Use for list views.
|
|
440
567
|
* @param params.priority - Filter tasks by priority, from 0 (highest) to 4 (lowest).
|
|
441
568
|
* @param params.tag - Return only tasks carrying this tag (matched against the canonical lowercase form).
|
|
442
569
|
* @param params.parent - Return only subtasks of the given task (`tsk_...`), or pass `none` to return only top-level tasks.
|
|
@@ -451,6 +578,7 @@ export declare class TeamTaskResource {
|
|
|
451
578
|
* @param params.dueAfter - Return only tasks with a due date strictly after this ISO 8601 datetime or date. Tasks without a due date are excluded.
|
|
452
579
|
* @param params.overdue - When `true`, return only overdue tasks: a due date before the current UTC day and a status other than `"done"`. A task due today is not overdue.
|
|
453
580
|
* @param params.ready - When true, return only open tasks with no unfinished blockers and no active session lease. This is a projection snapshot; claim a lease before starting work.
|
|
581
|
+
* @param params.attention - When true, return paused, failed, or in-progress tasks with no lease or a past lease expiry.
|
|
454
582
|
* @param params.limit - Maximum number of tasks to return. Capped at 100.
|
|
455
583
|
* @param params.afterCursor - Opaque cursor returned by the previous page.
|
|
456
584
|
* @returns Successful response
|
|
@@ -461,6 +589,9 @@ export declare class TeamTaskResource {
|
|
|
461
589
|
status?: string;
|
|
462
590
|
ownerUser?: string;
|
|
463
591
|
ownerAgent?: string;
|
|
592
|
+
owner?: string;
|
|
593
|
+
involving?: string;
|
|
594
|
+
summary?: boolean;
|
|
464
595
|
priority?: number;
|
|
465
596
|
tag?: string;
|
|
466
597
|
parent?: string;
|
|
@@ -475,6 +606,7 @@ export declare class TeamTaskResource {
|
|
|
475
606
|
dueAfter?: string;
|
|
476
607
|
overdue?: boolean;
|
|
477
608
|
ready?: boolean;
|
|
609
|
+
attention?: boolean;
|
|
478
610
|
limit?: number;
|
|
479
611
|
afterCursor?: string;
|
|
480
612
|
}): Promise<{
|
|
@@ -484,6 +616,7 @@ export declare class TeamTaskResource {
|
|
|
484
616
|
agent?: string | null | undefined;
|
|
485
617
|
aggregate_version?: number | null | undefined;
|
|
486
618
|
blocked_by_count?: number | undefined;
|
|
619
|
+
blockers?: string[] | undefined;
|
|
487
620
|
closed_at?: string | null | undefined;
|
|
488
621
|
comments_count?: number | undefined;
|
|
489
622
|
created_at?: string | undefined;
|
|
@@ -511,9 +644,12 @@ export declare class TeamTaskResource {
|
|
|
511
644
|
description?: string | null | undefined;
|
|
512
645
|
due_date?: string | null | undefined;
|
|
513
646
|
epic?: string | null | undefined;
|
|
647
|
+
human_answer_receipts?: Record<string, unknown> | undefined;
|
|
514
648
|
id: string;
|
|
515
649
|
is_blocked?: boolean | undefined;
|
|
650
|
+
is_stalled?: boolean | undefined;
|
|
516
651
|
links?: Record<string, unknown> | undefined;
|
|
652
|
+
machine_rescope_receipts?: Record<string, unknown> | undefined;
|
|
517
653
|
metadata?: Record<string, unknown> | undefined;
|
|
518
654
|
name: string;
|
|
519
655
|
org?: string | null | undefined;
|
|
@@ -535,13 +671,18 @@ export declare class TeamTaskResource {
|
|
|
535
671
|
owner_user?: string | null | undefined;
|
|
536
672
|
parent?: string | null | undefined;
|
|
537
673
|
priority?: number | undefined;
|
|
674
|
+
project_id?: string | null | undefined;
|
|
538
675
|
sandbox?: string | null | undefined;
|
|
539
676
|
source_id?: string | null | undefined;
|
|
540
677
|
source_scope?: string | null | undefined;
|
|
541
678
|
source_type?: string | null | undefined;
|
|
679
|
+
stalled_since?: string | null | undefined;
|
|
542
680
|
status: string;
|
|
543
681
|
subtasks_count?: number | undefined;
|
|
544
682
|
tags?: string[] | undefined;
|
|
683
|
+
target_binary?: string | null | undefined;
|
|
684
|
+
target_version?: string | null | undefined;
|
|
685
|
+
task_epic?: string | null | undefined;
|
|
545
686
|
team?: string | null | undefined;
|
|
546
687
|
thread?: string | null | undefined;
|
|
547
688
|
updated_at?: string | undefined;
|
|
@@ -570,9 +711,11 @@ export declare class TeamTaskResource {
|
|
|
570
711
|
agent?: string | undefined;
|
|
571
712
|
org?: string | undefined;
|
|
572
713
|
task: {
|
|
714
|
+
blockers?: string[] | undefined;
|
|
573
715
|
description?: string | undefined;
|
|
574
716
|
due_date?: string | undefined;
|
|
575
717
|
epic?: string | undefined;
|
|
718
|
+
epic_id?: string | undefined;
|
|
576
719
|
id?: string | undefined;
|
|
577
720
|
links?: Record<string, unknown> | undefined;
|
|
578
721
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -581,11 +724,14 @@ export declare class TeamTaskResource {
|
|
|
581
724
|
owner_user?: string | undefined;
|
|
582
725
|
parent?: string | undefined;
|
|
583
726
|
priority?: number | undefined;
|
|
727
|
+
project_id?: string | undefined;
|
|
584
728
|
source_id?: string | undefined;
|
|
585
729
|
source_scope?: string | undefined;
|
|
586
730
|
source_type?: string | undefined;
|
|
587
731
|
status?: string | undefined;
|
|
588
732
|
tags?: string[] | undefined;
|
|
733
|
+
target_binary?: string | undefined;
|
|
734
|
+
target_version?: string | undefined;
|
|
589
735
|
thread?: string | undefined;
|
|
590
736
|
};
|
|
591
737
|
user?: string | undefined;
|
|
@@ -618,6 +764,7 @@ export declare class TeamTaskResource {
|
|
|
618
764
|
agent?: string | null | undefined;
|
|
619
765
|
aggregate_version?: number | null | undefined;
|
|
620
766
|
blocked_by_count?: number | undefined;
|
|
767
|
+
blockers?: string[] | undefined;
|
|
621
768
|
closed_at?: string | null | undefined;
|
|
622
769
|
comments_count?: number | undefined;
|
|
623
770
|
created_at?: string | undefined;
|
|
@@ -645,9 +792,12 @@ export declare class TeamTaskResource {
|
|
|
645
792
|
description?: string | null | undefined;
|
|
646
793
|
due_date?: string | null | undefined;
|
|
647
794
|
epic?: string | null | undefined;
|
|
795
|
+
human_answer_receipts?: Record<string, unknown> | undefined;
|
|
648
796
|
id: string;
|
|
649
797
|
is_blocked?: boolean | undefined;
|
|
798
|
+
is_stalled?: boolean | undefined;
|
|
650
799
|
links?: Record<string, unknown> | undefined;
|
|
800
|
+
machine_rescope_receipts?: Record<string, unknown> | undefined;
|
|
651
801
|
metadata?: Record<string, unknown> | undefined;
|
|
652
802
|
name: string;
|
|
653
803
|
org?: string | null | undefined;
|
|
@@ -669,13 +819,18 @@ export declare class TeamTaskResource {
|
|
|
669
819
|
owner_user?: string | null | undefined;
|
|
670
820
|
parent?: string | null | undefined;
|
|
671
821
|
priority?: number | undefined;
|
|
822
|
+
project_id?: string | null | undefined;
|
|
672
823
|
sandbox?: string | null | undefined;
|
|
673
824
|
source_id?: string | null | undefined;
|
|
674
825
|
source_scope?: string | null | undefined;
|
|
675
826
|
source_type?: string | null | undefined;
|
|
827
|
+
stalled_since?: string | null | undefined;
|
|
676
828
|
status: string;
|
|
677
829
|
subtasks_count?: number | undefined;
|
|
678
830
|
tags?: string[] | undefined;
|
|
831
|
+
target_binary?: string | null | undefined;
|
|
832
|
+
target_version?: string | null | undefined;
|
|
833
|
+
task_epic?: string | null | undefined;
|
|
679
834
|
team?: string | null | undefined;
|
|
680
835
|
thread?: string | null | undefined;
|
|
681
836
|
updated_at?: string | undefined;
|
|
@@ -684,6 +839,133 @@ export declare class TeamTaskResource {
|
|
|
684
839
|
}[];
|
|
685
840
|
has_more: boolean;
|
|
686
841
|
}>;
|
|
842
|
+
/**
|
|
843
|
+
* Find an owner's tasks by external reference
|
|
844
|
+
* Returns all exact external-reference matches owned by the requested principal. Multiple matches remain explicit; callers must not choose an arbitrary task.
|
|
845
|
+
* @param team - Team ID (`tem_...`). Only tasks belonging to this team are returned.
|
|
846
|
+
* @param params - Query parameters.
|
|
847
|
+
* @param params.user - User owner.
|
|
848
|
+
* @param params.org - Organization consistency check.
|
|
849
|
+
* @param params.externalScope - External host.
|
|
850
|
+
* @param params.objectType - External object type.
|
|
851
|
+
* @param params.objectId - External object identity.
|
|
852
|
+
* @returns Successful response
|
|
853
|
+
*/
|
|
854
|
+
byExternalReference(team: string, params?: {
|
|
855
|
+
user?: string;
|
|
856
|
+
org?: string;
|
|
857
|
+
externalScope?: string;
|
|
858
|
+
objectType?: string;
|
|
859
|
+
objectId?: string;
|
|
860
|
+
}): Promise<{
|
|
861
|
+
data: {
|
|
862
|
+
agent?: string | null | undefined;
|
|
863
|
+
aggregate_version?: number | null | undefined;
|
|
864
|
+
blocked_by_count?: number | undefined;
|
|
865
|
+
blockers?: string[] | undefined;
|
|
866
|
+
closed_at?: string | null | undefined;
|
|
867
|
+
comments_count?: number | undefined;
|
|
868
|
+
created_at?: string | undefined;
|
|
869
|
+
created_by_actor?: {
|
|
870
|
+
alias?: string | null | undefined;
|
|
871
|
+
id?: string | null | undefined;
|
|
872
|
+
name?: string | null | undefined;
|
|
873
|
+
profile_picture?: {
|
|
874
|
+
file?: string | null | undefined;
|
|
875
|
+
height?: number | null | undefined;
|
|
876
|
+
media?: string | null | undefined;
|
|
877
|
+
mime_type?: string | null | undefined;
|
|
878
|
+
refresh_url?: string | null | undefined;
|
|
879
|
+
url?: string | null | undefined;
|
|
880
|
+
width?: number | null | undefined;
|
|
881
|
+
} | null | undefined;
|
|
882
|
+
} | null | undefined;
|
|
883
|
+
created_by_agent?: string | null | undefined;
|
|
884
|
+
created_by_user?: string | null | undefined;
|
|
885
|
+
current_lease?: {
|
|
886
|
+
expires_at: string;
|
|
887
|
+
harness: string;
|
|
888
|
+
session_name: string;
|
|
889
|
+
} | null | undefined;
|
|
890
|
+
description?: string | null | undefined;
|
|
891
|
+
due_date?: string | null | undefined;
|
|
892
|
+
epic?: string | null | undefined;
|
|
893
|
+
human_answer_receipts?: Record<string, unknown> | undefined;
|
|
894
|
+
id: string;
|
|
895
|
+
is_blocked?: boolean | undefined;
|
|
896
|
+
is_stalled?: boolean | undefined;
|
|
897
|
+
links?: Record<string, unknown> | undefined;
|
|
898
|
+
machine_rescope_receipts?: Record<string, unknown> | undefined;
|
|
899
|
+
metadata?: Record<string, unknown> | undefined;
|
|
900
|
+
name: string;
|
|
901
|
+
org?: string | null | undefined;
|
|
902
|
+
owner_actor?: {
|
|
903
|
+
alias?: string | null | undefined;
|
|
904
|
+
id?: string | null | undefined;
|
|
905
|
+
name?: string | null | undefined;
|
|
906
|
+
profile_picture?: {
|
|
907
|
+
file?: string | null | undefined;
|
|
908
|
+
height?: number | null | undefined;
|
|
909
|
+
media?: string | null | undefined;
|
|
910
|
+
mime_type?: string | null | undefined;
|
|
911
|
+
refresh_url?: string | null | undefined;
|
|
912
|
+
url?: string | null | undefined;
|
|
913
|
+
width?: number | null | undefined;
|
|
914
|
+
} | null | undefined;
|
|
915
|
+
} | null | undefined;
|
|
916
|
+
owner_agent?: string | null | undefined;
|
|
917
|
+
owner_user?: string | null | undefined;
|
|
918
|
+
parent?: string | null | undefined;
|
|
919
|
+
priority?: number | undefined;
|
|
920
|
+
project_id?: string | null | undefined;
|
|
921
|
+
sandbox?: string | null | undefined;
|
|
922
|
+
source_id?: string | null | undefined;
|
|
923
|
+
source_scope?: string | null | undefined;
|
|
924
|
+
source_type?: string | null | undefined;
|
|
925
|
+
stalled_since?: string | null | undefined;
|
|
926
|
+
status: string;
|
|
927
|
+
subtasks_count?: number | undefined;
|
|
928
|
+
tags?: string[] | undefined;
|
|
929
|
+
target_binary?: string | null | undefined;
|
|
930
|
+
target_version?: string | null | undefined;
|
|
931
|
+
task_epic?: string | null | undefined;
|
|
932
|
+
team?: string | null | undefined;
|
|
933
|
+
thread?: string | null | undefined;
|
|
934
|
+
updated_at?: string | undefined;
|
|
935
|
+
user?: string | null | undefined;
|
|
936
|
+
}[];
|
|
937
|
+
}>;
|
|
938
|
+
/**
|
|
939
|
+
* Find or create a task by source
|
|
940
|
+
* Atomically creates one task per owner, tenant and source. Retries return the current task without updating it. Historical tasks created through ordinary create are not adopted.
|
|
941
|
+
* @param team - Team ID (`tem_...`). Only tasks belonging to this team are returned.
|
|
942
|
+
* @param input - Request body.
|
|
943
|
+
* @param input.agent - Explicit acting agent for privileged callers.
|
|
944
|
+
* @param input.description - Initial task description.
|
|
945
|
+
* @param input.epic - Initial epic grouping.
|
|
946
|
+
* @param input.name - Initial task name.
|
|
947
|
+
* @param input.org - Explicit organization for privileged callers.
|
|
948
|
+
* @param input.owner_user - Initial assigned user; immutable on retries.
|
|
949
|
+
* @param input.source_id - Source identity, for example owner/repo#123.
|
|
950
|
+
* @param input.source_scope - Source scope, for example github.
|
|
951
|
+
* @param input.source_type - Source type, for example pull_request.
|
|
952
|
+
* @param input.status - Initial task status.
|
|
953
|
+
* @param input.user - User owner, or explicit acting user on a team route.
|
|
954
|
+
* @returns The task and whether this request created it.
|
|
955
|
+
*/
|
|
956
|
+
bySource(team: string, input: {
|
|
957
|
+
agent?: string | undefined;
|
|
958
|
+
description?: string | undefined;
|
|
959
|
+
epic?: string | undefined;
|
|
960
|
+
name: string;
|
|
961
|
+
org?: string | undefined;
|
|
962
|
+
owner_user?: string | undefined;
|
|
963
|
+
source_id: string;
|
|
964
|
+
source_scope: string;
|
|
965
|
+
source_type: string;
|
|
966
|
+
status?: string | undefined;
|
|
967
|
+
user?: string | undefined;
|
|
968
|
+
}): Promise<TaskEnsureResult>;
|
|
687
969
|
/**
|
|
688
970
|
* Get task activity metrics for a team
|
|
689
971
|
* Returns task activity metrics scoped to one team (the Network in ArchAgents).
|
|
@@ -717,6 +999,8 @@ export declare class TeamTaskResource {
|
|
|
717
999
|
* Returns open tasks with no unfinished blockers and no active session lease.
|
|
718
1000
|
* Readiness is calculated by the server from the current task projection. It is
|
|
719
1001
|
* a snapshot, not a reservation; claim a task lease before starting work.
|
|
1002
|
+
* Results are ordered by priority (0, the most urgent, first), then oldest
|
|
1003
|
+
* first, so the first page is always the most urgent ready work.
|
|
720
1004
|
* Pass `explain=true` to include every open task with a stable readiness reason.
|
|
721
1005
|
* @param team - Team ID (`tem_...`). Only tasks belonging to this team are returned.
|
|
722
1006
|
* @param params - Query parameters.
|
|
@@ -754,6 +1038,7 @@ export declare class TeamTaskResource {
|
|
|
754
1038
|
agent?: string | null | undefined;
|
|
755
1039
|
aggregate_version?: number | null | undefined;
|
|
756
1040
|
blocked_by_count?: number | undefined;
|
|
1041
|
+
blockers?: string[] | undefined;
|
|
757
1042
|
closed_at?: string | null | undefined;
|
|
758
1043
|
comments_count?: number | undefined;
|
|
759
1044
|
created_at?: string | undefined;
|
|
@@ -781,9 +1066,12 @@ export declare class TeamTaskResource {
|
|
|
781
1066
|
description?: string | null | undefined;
|
|
782
1067
|
due_date?: string | null | undefined;
|
|
783
1068
|
epic?: string | null | undefined;
|
|
1069
|
+
human_answer_receipts?: Record<string, unknown> | undefined;
|
|
784
1070
|
id: string;
|
|
785
1071
|
is_blocked?: boolean | undefined;
|
|
1072
|
+
is_stalled?: boolean | undefined;
|
|
786
1073
|
links?: Record<string, unknown> | undefined;
|
|
1074
|
+
machine_rescope_receipts?: Record<string, unknown> | undefined;
|
|
787
1075
|
metadata?: Record<string, unknown> | undefined;
|
|
788
1076
|
name: string;
|
|
789
1077
|
org?: string | null | undefined;
|
|
@@ -805,13 +1093,18 @@ export declare class TeamTaskResource {
|
|
|
805
1093
|
owner_user?: string | null | undefined;
|
|
806
1094
|
parent?: string | null | undefined;
|
|
807
1095
|
priority?: number | undefined;
|
|
1096
|
+
project_id?: string | null | undefined;
|
|
808
1097
|
sandbox?: string | null | undefined;
|
|
809
1098
|
source_id?: string | null | undefined;
|
|
810
1099
|
source_scope?: string | null | undefined;
|
|
811
1100
|
source_type?: string | null | undefined;
|
|
1101
|
+
stalled_since?: string | null | undefined;
|
|
812
1102
|
status: string;
|
|
813
1103
|
subtasks_count?: number | undefined;
|
|
814
1104
|
tags?: string[] | undefined;
|
|
1105
|
+
target_binary?: string | null | undefined;
|
|
1106
|
+
target_version?: string | null | undefined;
|
|
1107
|
+
task_epic?: string | null | undefined;
|
|
815
1108
|
team?: string | null | undefined;
|
|
816
1109
|
thread?: string | null | undefined;
|
|
817
1110
|
updated_at?: string | undefined;
|
|
@@ -874,6 +1167,7 @@ export declare class TeamTaskResource {
|
|
|
874
1167
|
agent?: string | null | undefined;
|
|
875
1168
|
aggregate_version?: number | null | undefined;
|
|
876
1169
|
blocked_by_count?: number | undefined;
|
|
1170
|
+
blockers?: string[] | undefined;
|
|
877
1171
|
closed_at?: string | null | undefined;
|
|
878
1172
|
comments_count?: number | undefined;
|
|
879
1173
|
created_at?: string | undefined;
|
|
@@ -901,9 +1195,12 @@ export declare class TeamTaskResource {
|
|
|
901
1195
|
description?: string | null | undefined;
|
|
902
1196
|
due_date?: string | null | undefined;
|
|
903
1197
|
epic?: string | null | undefined;
|
|
1198
|
+
human_answer_receipts?: Record<string, unknown> | undefined;
|
|
904
1199
|
id: string;
|
|
905
1200
|
is_blocked?: boolean | undefined;
|
|
1201
|
+
is_stalled?: boolean | undefined;
|
|
906
1202
|
links?: Record<string, unknown> | undefined;
|
|
1203
|
+
machine_rescope_receipts?: Record<string, unknown> | undefined;
|
|
907
1204
|
metadata?: Record<string, unknown> | undefined;
|
|
908
1205
|
name: string;
|
|
909
1206
|
org?: string | null | undefined;
|
|
@@ -925,13 +1222,18 @@ export declare class TeamTaskResource {
|
|
|
925
1222
|
owner_user?: string | null | undefined;
|
|
926
1223
|
parent?: string | null | undefined;
|
|
927
1224
|
priority?: number | undefined;
|
|
1225
|
+
project_id?: string | null | undefined;
|
|
928
1226
|
sandbox?: string | null | undefined;
|
|
929
1227
|
source_id?: string | null | undefined;
|
|
930
1228
|
source_scope?: string | null | undefined;
|
|
931
1229
|
source_type?: string | null | undefined;
|
|
1230
|
+
stalled_since?: string | null | undefined;
|
|
932
1231
|
status: string;
|
|
933
1232
|
subtasks_count?: number | undefined;
|
|
934
1233
|
tags?: string[] | undefined;
|
|
1234
|
+
target_binary?: string | null | undefined;
|
|
1235
|
+
target_version?: string | null | undefined;
|
|
1236
|
+
task_epic?: string | null | undefined;
|
|
935
1237
|
team?: string | null | undefined;
|
|
936
1238
|
thread?: string | null | undefined;
|
|
937
1239
|
updated_at?: string | undefined;
|
|
@@ -1008,15 +1310,30 @@ export declare class TeamThreadResource {
|
|
|
1008
1310
|
principal?: string | undefined;
|
|
1009
1311
|
principal_type: string;
|
|
1010
1312
|
}[] | undefined;
|
|
1313
|
+
add_denies?: {
|
|
1314
|
+
actions: string[];
|
|
1315
|
+
principal?: string | undefined;
|
|
1316
|
+
principal_type: string;
|
|
1317
|
+
}[] | undefined;
|
|
1318
|
+
denies?: {
|
|
1319
|
+
actions: string[];
|
|
1320
|
+
principal?: string | undefined;
|
|
1321
|
+
principal_type: string;
|
|
1322
|
+
}[] | undefined;
|
|
1011
1323
|
grants?: {
|
|
1012
1324
|
actions: string[];
|
|
1013
1325
|
principal?: string | undefined;
|
|
1014
1326
|
principal_type: string;
|
|
1015
1327
|
}[] | undefined;
|
|
1328
|
+
preserve_denies?: boolean | undefined;
|
|
1016
1329
|
remove?: {
|
|
1017
1330
|
principal?: string | undefined;
|
|
1018
1331
|
principal_type: string;
|
|
1019
1332
|
}[] | undefined;
|
|
1333
|
+
remove_denies?: {
|
|
1334
|
+
principal?: string | undefined;
|
|
1335
|
+
principal_type: string;
|
|
1336
|
+
}[] | undefined;
|
|
1020
1337
|
} | null | undefined;
|
|
1021
1338
|
actors?: {
|
|
1022
1339
|
alias?: string | null | undefined;
|
|
@@ -1060,8 +1377,10 @@ export declare class TeamThreadResource {
|
|
|
1060
1377
|
type: string;
|
|
1061
1378
|
url?: string | null | undefined;
|
|
1062
1379
|
variants?: {
|
|
1380
|
+
byte_size?: number | null | undefined;
|
|
1063
1381
|
content_type?: string | null | undefined;
|
|
1064
1382
|
created_at?: string | undefined;
|
|
1383
|
+
duration_ms?: number | null | undefined;
|
|
1065
1384
|
file?: string | undefined;
|
|
1066
1385
|
filename?: string | null | undefined;
|
|
1067
1386
|
height?: number | null | undefined;
|
|
@@ -1075,8 +1394,10 @@ export declare class TeamThreadResource {
|
|
|
1075
1394
|
url?: string | null | undefined;
|
|
1076
1395
|
width?: number | null | undefined;
|
|
1077
1396
|
} | null | undefined;
|
|
1397
|
+
sha256?: string | null | undefined;
|
|
1078
1398
|
updated_at?: string | undefined;
|
|
1079
1399
|
url?: string | null | undefined;
|
|
1400
|
+
url_expires_at?: string | null | undefined;
|
|
1080
1401
|
variant_key?: string | undefined;
|
|
1081
1402
|
width?: number | null | undefined;
|
|
1082
1403
|
}[] | undefined;
|
|
@@ -1168,15 +1489,30 @@ export declare class TeamThreadResource {
|
|
|
1168
1489
|
principal?: string | undefined;
|
|
1169
1490
|
principal_type: string;
|
|
1170
1491
|
}[] | undefined;
|
|
1492
|
+
add_denies?: {
|
|
1493
|
+
actions: string[];
|
|
1494
|
+
principal?: string | undefined;
|
|
1495
|
+
principal_type: string;
|
|
1496
|
+
}[] | undefined;
|
|
1497
|
+
denies?: {
|
|
1498
|
+
actions: string[];
|
|
1499
|
+
principal?: string | undefined;
|
|
1500
|
+
principal_type: string;
|
|
1501
|
+
}[] | undefined;
|
|
1171
1502
|
grants?: {
|
|
1172
1503
|
actions: string[];
|
|
1173
1504
|
principal?: string | undefined;
|
|
1174
1505
|
principal_type: string;
|
|
1175
1506
|
}[] | undefined;
|
|
1507
|
+
preserve_denies?: boolean | undefined;
|
|
1176
1508
|
remove?: {
|
|
1177
1509
|
principal?: string | undefined;
|
|
1178
1510
|
principal_type: string;
|
|
1179
1511
|
}[] | undefined;
|
|
1512
|
+
remove_denies?: {
|
|
1513
|
+
principal?: string | undefined;
|
|
1514
|
+
principal_type: string;
|
|
1515
|
+
}[] | undefined;
|
|
1180
1516
|
} | null | undefined;
|
|
1181
1517
|
app?: string | undefined;
|
|
1182
1518
|
created_at?: string | undefined;
|
|
@@ -1349,6 +1685,7 @@ export declare class TeamThreadResource {
|
|
|
1349
1685
|
sub_threads?: Record<string, unknown>[] | null | undefined;
|
|
1350
1686
|
tags?: string[] | undefined;
|
|
1351
1687
|
team?: string | null | undefined;
|
|
1688
|
+
thread_template_key?: string | null | undefined;
|
|
1352
1689
|
title?: string | null | undefined;
|
|
1353
1690
|
ttl?: string | null | undefined;
|
|
1354
1691
|
unread_count?: number | null | undefined;
|
|
@@ -1434,6 +1771,7 @@ export declare class TeamResource {
|
|
|
1434
1771
|
readonly custom_objects: TeamCustomObjectResource;
|
|
1435
1772
|
readonly invite: TeamInviteResource;
|
|
1436
1773
|
readonly members: MemberResource;
|
|
1774
|
+
readonly task_epics: TeamTaskEpicResource;
|
|
1437
1775
|
readonly tasks: TeamTaskResource;
|
|
1438
1776
|
readonly threads: TeamThreadResource;
|
|
1439
1777
|
constructor(http: HttpClient);
|
|
@@ -1476,15 +1814,30 @@ export declare class TeamResource {
|
|
|
1476
1814
|
principal?: string | undefined;
|
|
1477
1815
|
principal_type: string;
|
|
1478
1816
|
}[] | undefined;
|
|
1817
|
+
add_denies?: {
|
|
1818
|
+
actions: string[];
|
|
1819
|
+
principal?: string | undefined;
|
|
1820
|
+
principal_type: string;
|
|
1821
|
+
}[] | undefined;
|
|
1822
|
+
denies?: {
|
|
1823
|
+
actions: string[];
|
|
1824
|
+
principal?: string | undefined;
|
|
1825
|
+
principal_type: string;
|
|
1826
|
+
}[] | undefined;
|
|
1479
1827
|
grants?: {
|
|
1480
1828
|
actions: string[];
|
|
1481
1829
|
principal?: string | undefined;
|
|
1482
1830
|
principal_type: string;
|
|
1483
1831
|
}[] | undefined;
|
|
1832
|
+
preserve_denies?: boolean | undefined;
|
|
1484
1833
|
remove?: {
|
|
1485
1834
|
principal?: string | undefined;
|
|
1486
1835
|
principal_type: string;
|
|
1487
1836
|
}[] | undefined;
|
|
1837
|
+
remove_denies?: {
|
|
1838
|
+
principal?: string | undefined;
|
|
1839
|
+
principal_type: string;
|
|
1840
|
+
}[] | undefined;
|
|
1488
1841
|
} | null | undefined;
|
|
1489
1842
|
app?: string | undefined;
|
|
1490
1843
|
badges?: Record<string, unknown> | null | undefined;
|
|
@@ -1530,15 +1883,30 @@ export declare class TeamResource {
|
|
|
1530
1883
|
principal?: string | undefined;
|
|
1531
1884
|
principal_type: string;
|
|
1532
1885
|
}[] | undefined;
|
|
1886
|
+
add_denies?: {
|
|
1887
|
+
actions: string[];
|
|
1888
|
+
principal?: string | undefined;
|
|
1889
|
+
principal_type: string;
|
|
1890
|
+
}[] | undefined;
|
|
1891
|
+
denies?: {
|
|
1892
|
+
actions: string[];
|
|
1893
|
+
principal?: string | undefined;
|
|
1894
|
+
principal_type: string;
|
|
1895
|
+
}[] | undefined;
|
|
1533
1896
|
grants?: {
|
|
1534
1897
|
actions: string[];
|
|
1535
1898
|
principal?: string | undefined;
|
|
1536
1899
|
principal_type: string;
|
|
1537
1900
|
}[] | undefined;
|
|
1901
|
+
preserve_denies?: boolean | undefined;
|
|
1538
1902
|
remove?: {
|
|
1539
1903
|
principal?: string | undefined;
|
|
1540
1904
|
principal_type: string;
|
|
1541
1905
|
}[] | undefined;
|
|
1906
|
+
remove_denies?: {
|
|
1907
|
+
principal?: string | undefined;
|
|
1908
|
+
principal_type: string;
|
|
1909
|
+
}[] | undefined;
|
|
1542
1910
|
} | undefined;
|
|
1543
1911
|
description?: string | undefined;
|
|
1544
1912
|
idempotency_key?: string | undefined;
|
|
@@ -1617,15 +1985,30 @@ export declare class TeamResource {
|
|
|
1617
1985
|
principal?: string | undefined;
|
|
1618
1986
|
principal_type: string;
|
|
1619
1987
|
}[] | undefined;
|
|
1988
|
+
add_denies?: {
|
|
1989
|
+
actions: string[];
|
|
1990
|
+
principal?: string | undefined;
|
|
1991
|
+
principal_type: string;
|
|
1992
|
+
}[] | undefined;
|
|
1993
|
+
denies?: {
|
|
1994
|
+
actions: string[];
|
|
1995
|
+
principal?: string | undefined;
|
|
1996
|
+
principal_type: string;
|
|
1997
|
+
}[] | undefined;
|
|
1620
1998
|
grants?: {
|
|
1621
1999
|
actions: string[];
|
|
1622
2000
|
principal?: string | undefined;
|
|
1623
2001
|
principal_type: string;
|
|
1624
2002
|
}[] | undefined;
|
|
2003
|
+
preserve_denies?: boolean | undefined;
|
|
1625
2004
|
remove?: {
|
|
1626
2005
|
principal?: string | undefined;
|
|
1627
2006
|
principal_type: string;
|
|
1628
2007
|
}[] | undefined;
|
|
2008
|
+
remove_denies?: {
|
|
2009
|
+
principal?: string | undefined;
|
|
2010
|
+
principal_type: string;
|
|
2011
|
+
}[] | undefined;
|
|
1629
2012
|
} | undefined;
|
|
1630
2013
|
description?: string | undefined;
|
|
1631
2014
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -1658,6 +2041,37 @@ export declare class TeamResource {
|
|
|
1658
2041
|
groupKeyPrefix?: string;
|
|
1659
2042
|
}): Promise<{
|
|
1660
2043
|
data: {
|
|
2044
|
+
acl?: {
|
|
2045
|
+
add?: {
|
|
2046
|
+
actions: string[];
|
|
2047
|
+
principal?: string | undefined;
|
|
2048
|
+
principal_type: string;
|
|
2049
|
+
}[] | undefined;
|
|
2050
|
+
add_denies?: {
|
|
2051
|
+
actions: string[];
|
|
2052
|
+
principal?: string | undefined;
|
|
2053
|
+
principal_type: string;
|
|
2054
|
+
}[] | undefined;
|
|
2055
|
+
denies?: {
|
|
2056
|
+
actions: string[];
|
|
2057
|
+
principal?: string | undefined;
|
|
2058
|
+
principal_type: string;
|
|
2059
|
+
}[] | undefined;
|
|
2060
|
+
grants?: {
|
|
2061
|
+
actions: string[];
|
|
2062
|
+
principal?: string | undefined;
|
|
2063
|
+
principal_type: string;
|
|
2064
|
+
}[] | undefined;
|
|
2065
|
+
preserve_denies?: boolean | undefined;
|
|
2066
|
+
remove?: {
|
|
2067
|
+
principal?: string | undefined;
|
|
2068
|
+
principal_type: string;
|
|
2069
|
+
}[] | undefined;
|
|
2070
|
+
remove_denies?: {
|
|
2071
|
+
principal?: string | undefined;
|
|
2072
|
+
principal_type: string;
|
|
2073
|
+
}[] | undefined;
|
|
2074
|
+
} | null | undefined;
|
|
1661
2075
|
agent?: string | undefined;
|
|
1662
2076
|
content_type?: string | undefined;
|
|
1663
2077
|
created_at?: string | undefined;
|