@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,7 +1,7 @@
|
|
|
1
1
|
import { HttpClient } from "../../runtime/http-client.js";
|
|
2
2
|
import type { CurrentUser } from "../../types/common.js";
|
|
3
3
|
import type { SystemAccessToken } from "../../types/system.js";
|
|
4
|
-
import type { Task } from "../../types/tasks.js";
|
|
4
|
+
import type { Task, TaskEnsureResult, TaskEpicEntity, TaskEpicEntityCollection } from "../../types/tasks.js";
|
|
5
5
|
import type { Thread } from "../../types/threads.js";
|
|
6
6
|
import type { User, UserInvite, UserSSHKey } from "../../types/users.js";
|
|
7
7
|
export declare class IntegrationResource {
|
|
@@ -76,6 +76,98 @@ export declare class UserSshKeyResource {
|
|
|
76
76
|
public_key: string;
|
|
77
77
|
}): Promise<UserSSHKey>;
|
|
78
78
|
}
|
|
79
|
+
export declare class UserTaskEpicResource {
|
|
80
|
+
private http;
|
|
81
|
+
constructor(http: HttpClient);
|
|
82
|
+
/**
|
|
83
|
+
* List an owner's epic summaries
|
|
84
|
+
* 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.
|
|
85
|
+
* @param params - Query parameters.
|
|
86
|
+
* @param params.representation - labels (default) or entities.
|
|
87
|
+
* @param params.name - Exact entity name; only used for entities.
|
|
88
|
+
* @param params.sourceScope - Exact source scope; supply all three source fields.
|
|
89
|
+
* @param params.sourceType - Exact source type.
|
|
90
|
+
* @param params.sourceId - Exact source ID.
|
|
91
|
+
* @param params.topPriority - Exact highest open priority, from 0 to 4.
|
|
92
|
+
* @param params.owner - Keep only epics with at least one non-closed task owned by this user: `me` or a user public ID (`usr_...`).
|
|
93
|
+
* @param params.includeClosed - Include epics with no non-closed tasks; defaults to false.
|
|
94
|
+
* @param params.limit - Maximum epics; defaults to 50, capped at 100.
|
|
95
|
+
* @param params.afterCursor - Opaque forward cursor from the preceding page.
|
|
96
|
+
* @returns Successful response
|
|
97
|
+
*/
|
|
98
|
+
list(user: string, params?: {
|
|
99
|
+
representation?: string;
|
|
100
|
+
name?: string;
|
|
101
|
+
team?: string;
|
|
102
|
+
org?: string;
|
|
103
|
+
sourceScope?: string;
|
|
104
|
+
sourceType?: string;
|
|
105
|
+
sourceId?: string;
|
|
106
|
+
topPriority?: number;
|
|
107
|
+
owner?: string;
|
|
108
|
+
includeClosed?: boolean;
|
|
109
|
+
limit?: number;
|
|
110
|
+
afterCursor?: string;
|
|
111
|
+
}): Promise<{
|
|
112
|
+
after_cursor?: string | null | undefined;
|
|
113
|
+
before_cursor?: string | null | undefined;
|
|
114
|
+
data: {
|
|
115
|
+
blocked_count: number;
|
|
116
|
+
counts: Record<string, unknown>;
|
|
117
|
+
epic: string;
|
|
118
|
+
next_ready: {
|
|
119
|
+
id: string;
|
|
120
|
+
name: string;
|
|
121
|
+
priority: number;
|
|
122
|
+
status: string;
|
|
123
|
+
}[];
|
|
124
|
+
owner?: {
|
|
125
|
+
alias?: string | null | undefined;
|
|
126
|
+
id?: string | null | undefined;
|
|
127
|
+
name?: string | null | undefined;
|
|
128
|
+
profile_picture?: {
|
|
129
|
+
file?: string | null | undefined;
|
|
130
|
+
height?: number | null | undefined;
|
|
131
|
+
media?: string | null | undefined;
|
|
132
|
+
mime_type?: string | null | undefined;
|
|
133
|
+
refresh_url?: string | null | undefined;
|
|
134
|
+
url?: string | null | undefined;
|
|
135
|
+
width?: number | null | undefined;
|
|
136
|
+
} | null | undefined;
|
|
137
|
+
} | null | undefined;
|
|
138
|
+
primary_task?: {
|
|
139
|
+
id: string;
|
|
140
|
+
name: string;
|
|
141
|
+
priority: number;
|
|
142
|
+
status: string;
|
|
143
|
+
} | null | undefined;
|
|
144
|
+
root_blockers: {
|
|
145
|
+
downstream_count: number;
|
|
146
|
+
id: string;
|
|
147
|
+
name: string;
|
|
148
|
+
priority: number;
|
|
149
|
+
status: string;
|
|
150
|
+
}[];
|
|
151
|
+
root_blockers_partial: boolean;
|
|
152
|
+
top_open_priority?: number | null | undefined;
|
|
153
|
+
updated_at: string;
|
|
154
|
+
}[];
|
|
155
|
+
has_more: boolean;
|
|
156
|
+
no_epic_open_count: number;
|
|
157
|
+
} | TaskEpicEntityCollection>;
|
|
158
|
+
/**
|
|
159
|
+
* Create a task Epic
|
|
160
|
+
* @param input - Request body.
|
|
161
|
+
* @returns Successful response
|
|
162
|
+
*/
|
|
163
|
+
create(user: string, input: {
|
|
164
|
+
description?: string | undefined;
|
|
165
|
+
metadata?: Record<string, unknown> | undefined;
|
|
166
|
+
name: string;
|
|
167
|
+
state?: string | undefined;
|
|
168
|
+
team?: string | undefined;
|
|
169
|
+
}): Promise<TaskEpicEntity>;
|
|
170
|
+
}
|
|
79
171
|
export declare class UserTaskResource {
|
|
80
172
|
private http;
|
|
81
173
|
constructor(http: HttpClient);
|
|
@@ -96,6 +188,9 @@ export declare class UserTaskResource {
|
|
|
96
188
|
* @param params.status - Filter tasks by status. One of `"open"`, `"in_progress"`, `"in_review"`, or `"done"`. Omit to return tasks in all statuses.
|
|
97
189
|
* @param params.ownerUser - Filter tasks assigned to a specific user. Provide the user's public ID (`usr_...`).
|
|
98
190
|
* @param params.ownerAgent - Filter tasks assigned to a specific agent. Provide the agent's public ID (`agi_...`).
|
|
191
|
+
* @param params.owner - Return only tasks owned by this user: `me` or a user public ID (`usr_...`).
|
|
192
|
+
* @param params.involving - Return only tasks owned or created by this user: `me` or a user public ID (`usr_...`). The "My work" predicate.
|
|
193
|
+
* @param params.summary - When true, omit `description` from every task. Use for list views.
|
|
99
194
|
* @param params.priority - Filter tasks by priority, from 0 (highest) to 4 (lowest).
|
|
100
195
|
* @param params.tag - Return only tasks carrying this tag (matched against the canonical lowercase form).
|
|
101
196
|
* @param params.parent - Return only subtasks of the given task (`tsk_...`), or pass `none` to return only top-level tasks.
|
|
@@ -110,6 +205,7 @@ export declare class UserTaskResource {
|
|
|
110
205
|
* @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.
|
|
111
206
|
* @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.
|
|
112
207
|
* @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.
|
|
208
|
+
* @param params.attention - When true, return paused, failed, or in-progress tasks with no lease or a past lease expiry.
|
|
113
209
|
* @param params.limit - Maximum number of tasks to return. Capped at 100.
|
|
114
210
|
* @param params.afterCursor - Opaque cursor returned by the previous page.
|
|
115
211
|
* @returns Successful response
|
|
@@ -120,6 +216,9 @@ export declare class UserTaskResource {
|
|
|
120
216
|
status?: string;
|
|
121
217
|
ownerUser?: string;
|
|
122
218
|
ownerAgent?: string;
|
|
219
|
+
owner?: string;
|
|
220
|
+
involving?: string;
|
|
221
|
+
summary?: boolean;
|
|
123
222
|
priority?: number;
|
|
124
223
|
tag?: string;
|
|
125
224
|
parent?: string;
|
|
@@ -134,6 +233,7 @@ export declare class UserTaskResource {
|
|
|
134
233
|
dueAfter?: string;
|
|
135
234
|
overdue?: boolean;
|
|
136
235
|
ready?: boolean;
|
|
236
|
+
attention?: boolean;
|
|
137
237
|
limit?: number;
|
|
138
238
|
afterCursor?: string;
|
|
139
239
|
}): Promise<{
|
|
@@ -143,6 +243,7 @@ export declare class UserTaskResource {
|
|
|
143
243
|
agent?: string | null | undefined;
|
|
144
244
|
aggregate_version?: number | null | undefined;
|
|
145
245
|
blocked_by_count?: number | undefined;
|
|
246
|
+
blockers?: string[] | undefined;
|
|
146
247
|
closed_at?: string | null | undefined;
|
|
147
248
|
comments_count?: number | undefined;
|
|
148
249
|
created_at?: string | undefined;
|
|
@@ -170,9 +271,12 @@ export declare class UserTaskResource {
|
|
|
170
271
|
description?: string | null | undefined;
|
|
171
272
|
due_date?: string | null | undefined;
|
|
172
273
|
epic?: string | null | undefined;
|
|
274
|
+
human_answer_receipts?: Record<string, unknown> | undefined;
|
|
173
275
|
id: string;
|
|
174
276
|
is_blocked?: boolean | undefined;
|
|
277
|
+
is_stalled?: boolean | undefined;
|
|
175
278
|
links?: Record<string, unknown> | undefined;
|
|
279
|
+
machine_rescope_receipts?: Record<string, unknown> | undefined;
|
|
176
280
|
metadata?: Record<string, unknown> | undefined;
|
|
177
281
|
name: string;
|
|
178
282
|
org?: string | null | undefined;
|
|
@@ -194,13 +298,18 @@ export declare class UserTaskResource {
|
|
|
194
298
|
owner_user?: string | null | undefined;
|
|
195
299
|
parent?: string | null | undefined;
|
|
196
300
|
priority?: number | undefined;
|
|
301
|
+
project_id?: string | null | undefined;
|
|
197
302
|
sandbox?: string | null | undefined;
|
|
198
303
|
source_id?: string | null | undefined;
|
|
199
304
|
source_scope?: string | null | undefined;
|
|
200
305
|
source_type?: string | null | undefined;
|
|
306
|
+
stalled_since?: string | null | undefined;
|
|
201
307
|
status: string;
|
|
202
308
|
subtasks_count?: number | undefined;
|
|
203
309
|
tags?: string[] | undefined;
|
|
310
|
+
target_binary?: string | null | undefined;
|
|
311
|
+
target_version?: string | null | undefined;
|
|
312
|
+
task_epic?: string | null | undefined;
|
|
204
313
|
team?: string | null | undefined;
|
|
205
314
|
thread?: string | null | undefined;
|
|
206
315
|
updated_at?: string | undefined;
|
|
@@ -229,9 +338,11 @@ export declare class UserTaskResource {
|
|
|
229
338
|
agent?: string | undefined;
|
|
230
339
|
org?: string | undefined;
|
|
231
340
|
task: {
|
|
341
|
+
blockers?: string[] | undefined;
|
|
232
342
|
description?: string | undefined;
|
|
233
343
|
due_date?: string | undefined;
|
|
234
344
|
epic?: string | undefined;
|
|
345
|
+
epic_id?: string | undefined;
|
|
235
346
|
id?: string | undefined;
|
|
236
347
|
links?: Record<string, unknown> | undefined;
|
|
237
348
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -240,11 +351,14 @@ export declare class UserTaskResource {
|
|
|
240
351
|
owner_user?: string | undefined;
|
|
241
352
|
parent?: string | undefined;
|
|
242
353
|
priority?: number | undefined;
|
|
354
|
+
project_id?: string | undefined;
|
|
243
355
|
source_id?: string | undefined;
|
|
244
356
|
source_scope?: string | undefined;
|
|
245
357
|
source_type?: string | undefined;
|
|
246
358
|
status?: string | undefined;
|
|
247
359
|
tags?: string[] | undefined;
|
|
360
|
+
target_binary?: string | undefined;
|
|
361
|
+
target_version?: string | undefined;
|
|
248
362
|
thread?: string | undefined;
|
|
249
363
|
};
|
|
250
364
|
team?: string | undefined;
|
|
@@ -277,6 +391,7 @@ export declare class UserTaskResource {
|
|
|
277
391
|
agent?: string | null | undefined;
|
|
278
392
|
aggregate_version?: number | null | undefined;
|
|
279
393
|
blocked_by_count?: number | undefined;
|
|
394
|
+
blockers?: string[] | undefined;
|
|
280
395
|
closed_at?: string | null | undefined;
|
|
281
396
|
comments_count?: number | undefined;
|
|
282
397
|
created_at?: string | undefined;
|
|
@@ -304,9 +419,12 @@ export declare class UserTaskResource {
|
|
|
304
419
|
description?: string | null | undefined;
|
|
305
420
|
due_date?: string | null | undefined;
|
|
306
421
|
epic?: string | null | undefined;
|
|
422
|
+
human_answer_receipts?: Record<string, unknown> | undefined;
|
|
307
423
|
id: string;
|
|
308
424
|
is_blocked?: boolean | undefined;
|
|
425
|
+
is_stalled?: boolean | undefined;
|
|
309
426
|
links?: Record<string, unknown> | undefined;
|
|
427
|
+
machine_rescope_receipts?: Record<string, unknown> | undefined;
|
|
310
428
|
metadata?: Record<string, unknown> | undefined;
|
|
311
429
|
name: string;
|
|
312
430
|
org?: string | null | undefined;
|
|
@@ -328,13 +446,18 @@ export declare class UserTaskResource {
|
|
|
328
446
|
owner_user?: string | null | undefined;
|
|
329
447
|
parent?: string | null | undefined;
|
|
330
448
|
priority?: number | undefined;
|
|
449
|
+
project_id?: string | null | undefined;
|
|
331
450
|
sandbox?: string | null | undefined;
|
|
332
451
|
source_id?: string | null | undefined;
|
|
333
452
|
source_scope?: string | null | undefined;
|
|
334
453
|
source_type?: string | null | undefined;
|
|
454
|
+
stalled_since?: string | null | undefined;
|
|
335
455
|
status: string;
|
|
336
456
|
subtasks_count?: number | undefined;
|
|
337
457
|
tags?: string[] | undefined;
|
|
458
|
+
target_binary?: string | null | undefined;
|
|
459
|
+
target_version?: string | null | undefined;
|
|
460
|
+
task_epic?: string | null | undefined;
|
|
338
461
|
team?: string | null | undefined;
|
|
339
462
|
thread?: string | null | undefined;
|
|
340
463
|
updated_at?: string | undefined;
|
|
@@ -343,11 +466,140 @@ export declare class UserTaskResource {
|
|
|
343
466
|
}[];
|
|
344
467
|
has_more: boolean;
|
|
345
468
|
}>;
|
|
469
|
+
/**
|
|
470
|
+
* Find an owner's tasks by external reference
|
|
471
|
+
* Returns all exact external-reference matches owned by the requested principal. Multiple matches remain explicit; callers must not choose an arbitrary task.
|
|
472
|
+
* @param user - User ID (`usr_...`) for user-scoped tasks.
|
|
473
|
+
* @param params - Query parameters.
|
|
474
|
+
* @param params.team - Team owner.
|
|
475
|
+
* @param params.org - Organization consistency check.
|
|
476
|
+
* @param params.externalScope - External host.
|
|
477
|
+
* @param params.objectType - External object type.
|
|
478
|
+
* @param params.objectId - External object identity.
|
|
479
|
+
* @returns Successful response
|
|
480
|
+
*/
|
|
481
|
+
byExternalReference(user: string, params?: {
|
|
482
|
+
team?: string;
|
|
483
|
+
org?: string;
|
|
484
|
+
externalScope?: string;
|
|
485
|
+
objectType?: string;
|
|
486
|
+
objectId?: string;
|
|
487
|
+
}): Promise<{
|
|
488
|
+
data: {
|
|
489
|
+
agent?: string | null | undefined;
|
|
490
|
+
aggregate_version?: number | null | undefined;
|
|
491
|
+
blocked_by_count?: number | undefined;
|
|
492
|
+
blockers?: string[] | undefined;
|
|
493
|
+
closed_at?: string | null | undefined;
|
|
494
|
+
comments_count?: number | undefined;
|
|
495
|
+
created_at?: string | undefined;
|
|
496
|
+
created_by_actor?: {
|
|
497
|
+
alias?: string | null | undefined;
|
|
498
|
+
id?: string | null | undefined;
|
|
499
|
+
name?: string | null | undefined;
|
|
500
|
+
profile_picture?: {
|
|
501
|
+
file?: string | null | undefined;
|
|
502
|
+
height?: number | null | undefined;
|
|
503
|
+
media?: string | null | undefined;
|
|
504
|
+
mime_type?: string | null | undefined;
|
|
505
|
+
refresh_url?: string | null | undefined;
|
|
506
|
+
url?: string | null | undefined;
|
|
507
|
+
width?: number | null | undefined;
|
|
508
|
+
} | null | undefined;
|
|
509
|
+
} | null | undefined;
|
|
510
|
+
created_by_agent?: string | null | undefined;
|
|
511
|
+
created_by_user?: string | null | undefined;
|
|
512
|
+
current_lease?: {
|
|
513
|
+
expires_at: string;
|
|
514
|
+
harness: string;
|
|
515
|
+
session_name: string;
|
|
516
|
+
} | null | undefined;
|
|
517
|
+
description?: string | null | undefined;
|
|
518
|
+
due_date?: string | null | undefined;
|
|
519
|
+
epic?: string | null | undefined;
|
|
520
|
+
human_answer_receipts?: Record<string, unknown> | undefined;
|
|
521
|
+
id: string;
|
|
522
|
+
is_blocked?: boolean | undefined;
|
|
523
|
+
is_stalled?: boolean | undefined;
|
|
524
|
+
links?: Record<string, unknown> | undefined;
|
|
525
|
+
machine_rescope_receipts?: Record<string, unknown> | undefined;
|
|
526
|
+
metadata?: Record<string, unknown> | undefined;
|
|
527
|
+
name: string;
|
|
528
|
+
org?: string | null | undefined;
|
|
529
|
+
owner_actor?: {
|
|
530
|
+
alias?: string | null | undefined;
|
|
531
|
+
id?: string | null | undefined;
|
|
532
|
+
name?: string | null | undefined;
|
|
533
|
+
profile_picture?: {
|
|
534
|
+
file?: string | null | undefined;
|
|
535
|
+
height?: number | null | undefined;
|
|
536
|
+
media?: string | null | undefined;
|
|
537
|
+
mime_type?: string | null | undefined;
|
|
538
|
+
refresh_url?: string | null | undefined;
|
|
539
|
+
url?: string | null | undefined;
|
|
540
|
+
width?: number | null | undefined;
|
|
541
|
+
} | null | undefined;
|
|
542
|
+
} | null | undefined;
|
|
543
|
+
owner_agent?: string | null | undefined;
|
|
544
|
+
owner_user?: string | null | undefined;
|
|
545
|
+
parent?: string | null | undefined;
|
|
546
|
+
priority?: number | undefined;
|
|
547
|
+
project_id?: string | null | undefined;
|
|
548
|
+
sandbox?: string | null | undefined;
|
|
549
|
+
source_id?: string | null | undefined;
|
|
550
|
+
source_scope?: string | null | undefined;
|
|
551
|
+
source_type?: string | null | undefined;
|
|
552
|
+
stalled_since?: string | null | undefined;
|
|
553
|
+
status: string;
|
|
554
|
+
subtasks_count?: number | undefined;
|
|
555
|
+
tags?: string[] | undefined;
|
|
556
|
+
target_binary?: string | null | undefined;
|
|
557
|
+
target_version?: string | null | undefined;
|
|
558
|
+
task_epic?: string | null | undefined;
|
|
559
|
+
team?: string | null | undefined;
|
|
560
|
+
thread?: string | null | undefined;
|
|
561
|
+
updated_at?: string | undefined;
|
|
562
|
+
user?: string | null | undefined;
|
|
563
|
+
}[];
|
|
564
|
+
}>;
|
|
565
|
+
/**
|
|
566
|
+
* Find or create a task by source
|
|
567
|
+
* 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.
|
|
568
|
+
* @param user - User ID (`usr_...`) for user-scoped tasks.
|
|
569
|
+
* @param input - Request body.
|
|
570
|
+
* @param input.agent - Explicit acting agent for privileged callers.
|
|
571
|
+
* @param input.description - Initial task description.
|
|
572
|
+
* @param input.epic - Initial epic grouping.
|
|
573
|
+
* @param input.name - Initial task name.
|
|
574
|
+
* @param input.org - Explicit organization for privileged callers.
|
|
575
|
+
* @param input.owner_user - Initial assigned user; immutable on retries.
|
|
576
|
+
* @param input.source_id - Source identity, for example owner/repo#123.
|
|
577
|
+
* @param input.source_scope - Source scope, for example github.
|
|
578
|
+
* @param input.source_type - Source type, for example pull_request.
|
|
579
|
+
* @param input.status - Initial task status.
|
|
580
|
+
* @param input.team - Team owner.
|
|
581
|
+
* @returns The task and whether this request created it.
|
|
582
|
+
*/
|
|
583
|
+
bySource(user: string, input: {
|
|
584
|
+
agent?: string | undefined;
|
|
585
|
+
description?: string | undefined;
|
|
586
|
+
epic?: string | undefined;
|
|
587
|
+
name: string;
|
|
588
|
+
org?: string | undefined;
|
|
589
|
+
owner_user?: string | undefined;
|
|
590
|
+
source_id: string;
|
|
591
|
+
source_scope: string;
|
|
592
|
+
source_type: string;
|
|
593
|
+
status?: string | undefined;
|
|
594
|
+
team?: string | undefined;
|
|
595
|
+
}): Promise<TaskEnsureResult>;
|
|
346
596
|
/**
|
|
347
597
|
* List an owner's ready tasks
|
|
348
598
|
* Returns open tasks with no unfinished blockers and no active session lease.
|
|
349
599
|
* Readiness is calculated by the server from the current task projection. It is
|
|
350
600
|
* a snapshot, not a reservation; claim a task lease before starting work.
|
|
601
|
+
* Results are ordered by priority (0, the most urgent, first), then oldest
|
|
602
|
+
* first, so the first page is always the most urgent ready work.
|
|
351
603
|
* Pass `explain=true` to include every open task with a stable readiness reason.
|
|
352
604
|
* @param user - User ID (`usr_...`) for user-scoped tasks.
|
|
353
605
|
* @param params - Query parameters.
|
|
@@ -385,6 +637,7 @@ export declare class UserTaskResource {
|
|
|
385
637
|
agent?: string | null | undefined;
|
|
386
638
|
aggregate_version?: number | null | undefined;
|
|
387
639
|
blocked_by_count?: number | undefined;
|
|
640
|
+
blockers?: string[] | undefined;
|
|
388
641
|
closed_at?: string | null | undefined;
|
|
389
642
|
comments_count?: number | undefined;
|
|
390
643
|
created_at?: string | undefined;
|
|
@@ -412,9 +665,12 @@ export declare class UserTaskResource {
|
|
|
412
665
|
description?: string | null | undefined;
|
|
413
666
|
due_date?: string | null | undefined;
|
|
414
667
|
epic?: string | null | undefined;
|
|
668
|
+
human_answer_receipts?: Record<string, unknown> | undefined;
|
|
415
669
|
id: string;
|
|
416
670
|
is_blocked?: boolean | undefined;
|
|
671
|
+
is_stalled?: boolean | undefined;
|
|
417
672
|
links?: Record<string, unknown> | undefined;
|
|
673
|
+
machine_rescope_receipts?: Record<string, unknown> | undefined;
|
|
418
674
|
metadata?: Record<string, unknown> | undefined;
|
|
419
675
|
name: string;
|
|
420
676
|
org?: string | null | undefined;
|
|
@@ -436,13 +692,18 @@ export declare class UserTaskResource {
|
|
|
436
692
|
owner_user?: string | null | undefined;
|
|
437
693
|
parent?: string | null | undefined;
|
|
438
694
|
priority?: number | undefined;
|
|
695
|
+
project_id?: string | null | undefined;
|
|
439
696
|
sandbox?: string | null | undefined;
|
|
440
697
|
source_id?: string | null | undefined;
|
|
441
698
|
source_scope?: string | null | undefined;
|
|
442
699
|
source_type?: string | null | undefined;
|
|
700
|
+
stalled_since?: string | null | undefined;
|
|
443
701
|
status: string;
|
|
444
702
|
subtasks_count?: number | undefined;
|
|
445
703
|
tags?: string[] | undefined;
|
|
704
|
+
target_binary?: string | null | undefined;
|
|
705
|
+
target_version?: string | null | undefined;
|
|
706
|
+
task_epic?: string | null | undefined;
|
|
446
707
|
team?: string | null | undefined;
|
|
447
708
|
thread?: string | null | undefined;
|
|
448
709
|
updated_at?: string | undefined;
|
|
@@ -505,6 +766,7 @@ export declare class UserTaskResource {
|
|
|
505
766
|
agent?: string | null | undefined;
|
|
506
767
|
aggregate_version?: number | null | undefined;
|
|
507
768
|
blocked_by_count?: number | undefined;
|
|
769
|
+
blockers?: string[] | undefined;
|
|
508
770
|
closed_at?: string | null | undefined;
|
|
509
771
|
comments_count?: number | undefined;
|
|
510
772
|
created_at?: string | undefined;
|
|
@@ -532,9 +794,12 @@ export declare class UserTaskResource {
|
|
|
532
794
|
description?: string | null | undefined;
|
|
533
795
|
due_date?: string | null | undefined;
|
|
534
796
|
epic?: string | null | undefined;
|
|
797
|
+
human_answer_receipts?: Record<string, unknown> | undefined;
|
|
535
798
|
id: string;
|
|
536
799
|
is_blocked?: boolean | undefined;
|
|
800
|
+
is_stalled?: boolean | undefined;
|
|
537
801
|
links?: Record<string, unknown> | undefined;
|
|
802
|
+
machine_rescope_receipts?: Record<string, unknown> | undefined;
|
|
538
803
|
metadata?: Record<string, unknown> | undefined;
|
|
539
804
|
name: string;
|
|
540
805
|
org?: string | null | undefined;
|
|
@@ -556,13 +821,18 @@ export declare class UserTaskResource {
|
|
|
556
821
|
owner_user?: string | null | undefined;
|
|
557
822
|
parent?: string | null | undefined;
|
|
558
823
|
priority?: number | undefined;
|
|
824
|
+
project_id?: string | null | undefined;
|
|
559
825
|
sandbox?: string | null | undefined;
|
|
560
826
|
source_id?: string | null | undefined;
|
|
561
827
|
source_scope?: string | null | undefined;
|
|
562
828
|
source_type?: string | null | undefined;
|
|
829
|
+
stalled_since?: string | null | undefined;
|
|
563
830
|
status: string;
|
|
564
831
|
subtasks_count?: number | undefined;
|
|
565
832
|
tags?: string[] | undefined;
|
|
833
|
+
target_binary?: string | null | undefined;
|
|
834
|
+
target_version?: string | null | undefined;
|
|
835
|
+
task_epic?: string | null | undefined;
|
|
566
836
|
team?: string | null | undefined;
|
|
567
837
|
thread?: string | null | undefined;
|
|
568
838
|
updated_at?: string | undefined;
|
|
@@ -646,15 +916,30 @@ export declare class UserThreadResource {
|
|
|
646
916
|
principal?: string | undefined;
|
|
647
917
|
principal_type: string;
|
|
648
918
|
}[] | undefined;
|
|
919
|
+
add_denies?: {
|
|
920
|
+
actions: string[];
|
|
921
|
+
principal?: string | undefined;
|
|
922
|
+
principal_type: string;
|
|
923
|
+
}[] | undefined;
|
|
924
|
+
denies?: {
|
|
925
|
+
actions: string[];
|
|
926
|
+
principal?: string | undefined;
|
|
927
|
+
principal_type: string;
|
|
928
|
+
}[] | undefined;
|
|
649
929
|
grants?: {
|
|
650
930
|
actions: string[];
|
|
651
931
|
principal?: string | undefined;
|
|
652
932
|
principal_type: string;
|
|
653
933
|
}[] | undefined;
|
|
934
|
+
preserve_denies?: boolean | undefined;
|
|
654
935
|
remove?: {
|
|
655
936
|
principal?: string | undefined;
|
|
656
937
|
principal_type: string;
|
|
657
938
|
}[] | undefined;
|
|
939
|
+
remove_denies?: {
|
|
940
|
+
principal?: string | undefined;
|
|
941
|
+
principal_type: string;
|
|
942
|
+
}[] | undefined;
|
|
658
943
|
} | null | undefined;
|
|
659
944
|
actors?: {
|
|
660
945
|
alias?: string | null | undefined;
|
|
@@ -698,8 +983,10 @@ export declare class UserThreadResource {
|
|
|
698
983
|
type: string;
|
|
699
984
|
url?: string | null | undefined;
|
|
700
985
|
variants?: {
|
|
986
|
+
byte_size?: number | null | undefined;
|
|
701
987
|
content_type?: string | null | undefined;
|
|
702
988
|
created_at?: string | undefined;
|
|
989
|
+
duration_ms?: number | null | undefined;
|
|
703
990
|
file?: string | undefined;
|
|
704
991
|
filename?: string | null | undefined;
|
|
705
992
|
height?: number | null | undefined;
|
|
@@ -713,8 +1000,10 @@ export declare class UserThreadResource {
|
|
|
713
1000
|
url?: string | null | undefined;
|
|
714
1001
|
width?: number | null | undefined;
|
|
715
1002
|
} | null | undefined;
|
|
1003
|
+
sha256?: string | null | undefined;
|
|
716
1004
|
updated_at?: string | undefined;
|
|
717
1005
|
url?: string | null | undefined;
|
|
1006
|
+
url_expires_at?: string | null | undefined;
|
|
718
1007
|
variant_key?: string | undefined;
|
|
719
1008
|
width?: number | null | undefined;
|
|
720
1009
|
}[] | undefined;
|
|
@@ -806,15 +1095,30 @@ export declare class UserThreadResource {
|
|
|
806
1095
|
principal?: string | undefined;
|
|
807
1096
|
principal_type: string;
|
|
808
1097
|
}[] | undefined;
|
|
1098
|
+
add_denies?: {
|
|
1099
|
+
actions: string[];
|
|
1100
|
+
principal?: string | undefined;
|
|
1101
|
+
principal_type: string;
|
|
1102
|
+
}[] | undefined;
|
|
1103
|
+
denies?: {
|
|
1104
|
+
actions: string[];
|
|
1105
|
+
principal?: string | undefined;
|
|
1106
|
+
principal_type: string;
|
|
1107
|
+
}[] | undefined;
|
|
809
1108
|
grants?: {
|
|
810
1109
|
actions: string[];
|
|
811
1110
|
principal?: string | undefined;
|
|
812
1111
|
principal_type: string;
|
|
813
1112
|
}[] | undefined;
|
|
1113
|
+
preserve_denies?: boolean | undefined;
|
|
814
1114
|
remove?: {
|
|
815
1115
|
principal?: string | undefined;
|
|
816
1116
|
principal_type: string;
|
|
817
1117
|
}[] | undefined;
|
|
1118
|
+
remove_denies?: {
|
|
1119
|
+
principal?: string | undefined;
|
|
1120
|
+
principal_type: string;
|
|
1121
|
+
}[] | undefined;
|
|
818
1122
|
} | null | undefined;
|
|
819
1123
|
app?: string | undefined;
|
|
820
1124
|
created_at?: string | undefined;
|
|
@@ -987,6 +1291,7 @@ export declare class UserThreadResource {
|
|
|
987
1291
|
sub_threads?: Record<string, unknown>[] | null | undefined;
|
|
988
1292
|
tags?: string[] | undefined;
|
|
989
1293
|
team?: string | null | undefined;
|
|
1294
|
+
thread_template_key?: string | null | undefined;
|
|
990
1295
|
title?: string | null | undefined;
|
|
991
1296
|
ttl?: string | null | undefined;
|
|
992
1297
|
unread_count?: number | null | undefined;
|
|
@@ -1036,6 +1341,38 @@ export declare class UserThreadResource {
|
|
|
1036
1341
|
visibility?: "team" | "restricted" | "private" | "org" | undefined;
|
|
1037
1342
|
};
|
|
1038
1343
|
}): Promise<Thread>;
|
|
1344
|
+
/**
|
|
1345
|
+
* Create a private thread from a template
|
|
1346
|
+
* Creates a private personal thread, installs the template's agent once per user,
|
|
1347
|
+
* and atomically adds its members and a dedicated E2B computer. Requires
|
|
1348
|
+
* `devbox_access`. The computer starts pending and provisions asynchronously.
|
|
1349
|
+
* `key` is prefixed by the template namespace and is unique for the user. Replays return
|
|
1350
|
+
* 200 and never provision another computer or resend the first message; creation
|
|
1351
|
+
* returns 201. Initial-message delivery occurs after commit; a delivery failure
|
|
1352
|
+
* is returned as `first_message_error` so the caller can resend it.
|
|
1353
|
+
* `computer` is optional and applies on creation only: a replay with the same
|
|
1354
|
+
* `key` returns the original thread and computer, ignoring any different
|
|
1355
|
+
* `computer`, exactly like `title` and `first_message`. Invalid `computer`
|
|
1356
|
+
* input returns 422 `invalid_parameters` before anything is created; a provider
|
|
1357
|
+
* this deployment has no credentials for returns 422 `provider_unavailable`.
|
|
1358
|
+
* Unknown templates return 422 `unknown_thread_template`; installation failures
|
|
1359
|
+
* return 502 `agent_install_failed`. Computer config and credentials are never returned.
|
|
1360
|
+
* @param user - User ID (`usr_...`) whose threads should be listed.
|
|
1361
|
+
* @param input - Request body.
|
|
1362
|
+
* @param input.computer - Optional computer choice, applied on creation only: `provider` (`sprites`, `vercel`, `e2b` or `devbox`; defaults to the template's) and `repositories` (0 to 16 `{repository: owner/name, ref: optional}`; the first is the primary working directory).
|
|
1363
|
+
* @param input.first_message - Optional first user message, posted only on creation.
|
|
1364
|
+
* @param input.key - Required nonempty client idempotency key.
|
|
1365
|
+
* @param input.template - Thread template lookup key.
|
|
1366
|
+
* @param input.title - Title for the new thread.
|
|
1367
|
+
* @returns Thread fields plus agent and computers summaries, and optional first_message_error.
|
|
1368
|
+
*/
|
|
1369
|
+
fromTemplate(user: string, input: {
|
|
1370
|
+
computer?: Record<string, unknown> | undefined;
|
|
1371
|
+
first_message?: string | undefined;
|
|
1372
|
+
key?: string | undefined;
|
|
1373
|
+
template: string;
|
|
1374
|
+
title?: string | undefined;
|
|
1375
|
+
}): Promise<Record<string, unknown>>;
|
|
1039
1376
|
}
|
|
1040
1377
|
export declare class TokenResource {
|
|
1041
1378
|
private http;
|
|
@@ -1112,6 +1449,7 @@ export declare class UserResource {
|
|
|
1112
1449
|
private http;
|
|
1113
1450
|
readonly integrations: IntegrationResource;
|
|
1114
1451
|
readonly ssh_keys: UserSshKeyResource;
|
|
1452
|
+
readonly task_epics: UserTaskEpicResource;
|
|
1115
1453
|
readonly tasks: UserTaskResource;
|
|
1116
1454
|
readonly threads: UserThreadResource;
|
|
1117
1455
|
readonly tokens: TokenResource;
|
|
@@ -1135,8 +1473,8 @@ export declare class UserResource {
|
|
|
1135
1473
|
/**
|
|
1136
1474
|
* Retrieve a user by ID
|
|
1137
1475
|
* Returns the user identified by `user`. The authenticated user must share
|
|
1138
|
-
* at least one team with the target user; requests
|
|
1139
|
-
*
|
|
1476
|
+
* an organization or at least one team with the target user; other requests
|
|
1477
|
+
* are rejected with 403.
|
|
1140
1478
|
* A user may always retrieve their own profile with this endpoint. Use the
|
|
1141
1479
|
* `GET /users/me` endpoint as a convenience alias for retrieving the
|
|
1142
1480
|
* authenticated user without specifying an ID.
|
|
@@ -1166,6 +1504,37 @@ export declare class UserResource {
|
|
|
1166
1504
|
groupKeyPrefix?: string;
|
|
1167
1505
|
}): Promise<{
|
|
1168
1506
|
data: {
|
|
1507
|
+
acl?: {
|
|
1508
|
+
add?: {
|
|
1509
|
+
actions: string[];
|
|
1510
|
+
principal?: string | undefined;
|
|
1511
|
+
principal_type: string;
|
|
1512
|
+
}[] | undefined;
|
|
1513
|
+
add_denies?: {
|
|
1514
|
+
actions: string[];
|
|
1515
|
+
principal?: string | undefined;
|
|
1516
|
+
principal_type: string;
|
|
1517
|
+
}[] | undefined;
|
|
1518
|
+
denies?: {
|
|
1519
|
+
actions: string[];
|
|
1520
|
+
principal?: string | undefined;
|
|
1521
|
+
principal_type: string;
|
|
1522
|
+
}[] | undefined;
|
|
1523
|
+
grants?: {
|
|
1524
|
+
actions: string[];
|
|
1525
|
+
principal?: string | undefined;
|
|
1526
|
+
principal_type: string;
|
|
1527
|
+
}[] | undefined;
|
|
1528
|
+
preserve_denies?: boolean | undefined;
|
|
1529
|
+
remove?: {
|
|
1530
|
+
principal?: string | undefined;
|
|
1531
|
+
principal_type: string;
|
|
1532
|
+
}[] | undefined;
|
|
1533
|
+
remove_denies?: {
|
|
1534
|
+
principal?: string | undefined;
|
|
1535
|
+
principal_type: string;
|
|
1536
|
+
}[] | undefined;
|
|
1537
|
+
} | null | undefined;
|
|
1169
1538
|
agent?: string | undefined;
|
|
1170
1539
|
content_type?: string | undefined;
|
|
1171
1540
|
created_at?: string | undefined;
|