@sixb/client 0.2.3 → 0.2.5
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/agent-streams.d.ts +1 -1
- package/dist/agent-streams.d.ts.map +1 -1
- package/dist/browser.js +1 -1
- package/dist/{chunk-zerhr00d.js → chunk-60fdvjxa.js} +61 -2
- package/dist/chunk-60fdvjxa.js.map +10 -0
- package/dist/{chunk-seeyb9k9.js → chunk-pn4b10k4.js} +1 -1
- package/dist/{chunk-bgpzb1fn.js → chunk-tm588tr7.js} +1 -1
- package/dist/{chunk-90q7wa43.js → chunk-zta9jf24.js} +1 -1
- package/dist/{chunk-90q7wa43.js.map → chunk-zta9jf24.js.map} +2 -2
- package/dist/connectors/queries.d.ts.map +1 -1
- package/dist/generated/@tanstack/react-query.gen.d.ts +1620 -392
- package/dist/generated/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/sdk.gen.d.ts +32 -4
- package/dist/generated/sdk.gen.d.ts.map +1 -1
- package/dist/generated/types.gen.d.ts +1589 -220
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/dist/hooks.js +97 -5
- package/dist/hooks.js.map +3 -3
- package/dist/index.js +17 -5
- package/dist/index.js.map +1 -1
- package/dist/logs.js +2 -2
- package/dist/models.js +15 -3
- package/dist/models.js.map +1 -1
- package/dist/query.js +2 -2
- package/dist/users-hooks.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/agent-streams.ts +1 -0
- package/src/generated/@tanstack/react-query.gen.ts +188 -3
- package/src/generated/index.ts +35 -0
- package/src/generated/sdk.gen.ts +142 -3
- package/src/generated/types.gen.ts +2167 -272
- package/dist/chunk-zerhr00d.js.map +0 -10
- /package/dist/{chunk-seeyb9k9.js.map → chunk-pn4b10k4.js.map} +0 -0
- /package/dist/{chunk-bgpzb1fn.js.map → chunk-tm588tr7.js.map} +0 -0
|
@@ -105,7 +105,7 @@ export type ObjectQueryFacetsResponse = {
|
|
|
105
105
|
export type ArtifactErrorResponse = {
|
|
106
106
|
error: string
|
|
107
107
|
/**
|
|
108
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
108
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
109
109
|
*/
|
|
110
110
|
code?: string
|
|
111
111
|
/**
|
|
@@ -11438,6 +11438,11 @@ export type GetObjectLineageResponses = {
|
|
|
11438
11438
|
indexingId: string
|
|
11439
11439
|
}
|
|
11440
11440
|
}
|
|
11441
|
+
| {
|
|
11442
|
+
type: "script"
|
|
11443
|
+
runId: string
|
|
11444
|
+
path: string
|
|
11445
|
+
}
|
|
11441
11446
|
/**
|
|
11442
11447
|
* Absent for a direct write, and for an Action run the caller cannot view.
|
|
11443
11448
|
*/
|
|
@@ -11492,6 +11497,11 @@ export type GetObjectLineageResponses = {
|
|
|
11492
11497
|
indexingId: string
|
|
11493
11498
|
}
|
|
11494
11499
|
}
|
|
11500
|
+
| {
|
|
11501
|
+
type: "script"
|
|
11502
|
+
runId: string
|
|
11503
|
+
path: string
|
|
11504
|
+
}
|
|
11495
11505
|
}
|
|
11496
11506
|
| {
|
|
11497
11507
|
kind: "identity"
|
|
@@ -13491,6 +13501,132 @@ export type RecreateAgentThreadSandboxResponses = {
|
|
|
13491
13501
|
export type RecreateAgentThreadSandboxResponse =
|
|
13492
13502
|
RecreateAgentThreadSandboxResponses[keyof RecreateAgentThreadSandboxResponses]
|
|
13493
13503
|
|
|
13504
|
+
export type RestoreAgentThreadSandboxData = {
|
|
13505
|
+
body: {
|
|
13506
|
+
expectedSandboxName: string
|
|
13507
|
+
}
|
|
13508
|
+
path: {
|
|
13509
|
+
threadId: string
|
|
13510
|
+
}
|
|
13511
|
+
query?: never
|
|
13512
|
+
url: "/api/agent-threads/{threadId}/sandbox/restore"
|
|
13513
|
+
}
|
|
13514
|
+
|
|
13515
|
+
export type RestoreAgentThreadSandboxErrors = {
|
|
13516
|
+
/**
|
|
13517
|
+
* Response for status 400
|
|
13518
|
+
*/
|
|
13519
|
+
400: {
|
|
13520
|
+
error: string
|
|
13521
|
+
}
|
|
13522
|
+
/**
|
|
13523
|
+
* Response for status 403
|
|
13524
|
+
*/
|
|
13525
|
+
403: {
|
|
13526
|
+
error: string
|
|
13527
|
+
code?: string
|
|
13528
|
+
}
|
|
13529
|
+
/**
|
|
13530
|
+
* Response for status 404
|
|
13531
|
+
*/
|
|
13532
|
+
404: {
|
|
13533
|
+
error: string
|
|
13534
|
+
}
|
|
13535
|
+
/**
|
|
13536
|
+
* Response for status 409
|
|
13537
|
+
*/
|
|
13538
|
+
409: {
|
|
13539
|
+
error: string
|
|
13540
|
+
code?: string
|
|
13541
|
+
}
|
|
13542
|
+
}
|
|
13543
|
+
|
|
13544
|
+
export type RestoreAgentThreadSandboxError =
|
|
13545
|
+
RestoreAgentThreadSandboxErrors[keyof RestoreAgentThreadSandboxErrors]
|
|
13546
|
+
|
|
13547
|
+
export type RestoreAgentThreadSandboxResponses = {
|
|
13548
|
+
/**
|
|
13549
|
+
* Response for status 200
|
|
13550
|
+
*/
|
|
13551
|
+
200: {
|
|
13552
|
+
sandboxState?: {
|
|
13553
|
+
name: string
|
|
13554
|
+
status: "new" | "busy" | "ready" | "blocked" | "unavailable"
|
|
13555
|
+
initialized: boolean
|
|
13556
|
+
}
|
|
13557
|
+
id: string
|
|
13558
|
+
projectId: string
|
|
13559
|
+
kind: "conversation" | "subagent"
|
|
13560
|
+
parent?: {
|
|
13561
|
+
threadId: string
|
|
13562
|
+
spawnedBy: string
|
|
13563
|
+
key: string
|
|
13564
|
+
}
|
|
13565
|
+
ownerPrincipal: {
|
|
13566
|
+
type: "user" | "serviceAccount" | "system"
|
|
13567
|
+
id: string
|
|
13568
|
+
}
|
|
13569
|
+
owner: {
|
|
13570
|
+
type: "user" | "serviceAccount" | "system"
|
|
13571
|
+
id: string
|
|
13572
|
+
displayName?: string
|
|
13573
|
+
}
|
|
13574
|
+
participants: Array<{
|
|
13575
|
+
principal: {
|
|
13576
|
+
type: "user"
|
|
13577
|
+
id: string
|
|
13578
|
+
displayName?: string
|
|
13579
|
+
}
|
|
13580
|
+
addedAt: string
|
|
13581
|
+
addedBy: {
|
|
13582
|
+
type: "user" | "serviceAccount" | "system"
|
|
13583
|
+
id: string
|
|
13584
|
+
}
|
|
13585
|
+
}>
|
|
13586
|
+
title?: string
|
|
13587
|
+
sandboxParams?: {
|
|
13588
|
+
[key: string]:
|
|
13589
|
+
| string
|
|
13590
|
+
| number
|
|
13591
|
+
| boolean
|
|
13592
|
+
| Array<unknown>
|
|
13593
|
+
| {
|
|
13594
|
+
[key: string]: unknown
|
|
13595
|
+
}
|
|
13596
|
+
| null
|
|
13597
|
+
}
|
|
13598
|
+
runsOn?: "computer"
|
|
13599
|
+
computer?: {
|
|
13600
|
+
id: string
|
|
13601
|
+
name: string
|
|
13602
|
+
folder: string
|
|
13603
|
+
online: boolean
|
|
13604
|
+
}
|
|
13605
|
+
backgroundCommands?: Array<{
|
|
13606
|
+
threadId: string
|
|
13607
|
+
id: string
|
|
13608
|
+
command: string
|
|
13609
|
+
status: "running" | "exited" | "stopped"
|
|
13610
|
+
exitCode?: number
|
|
13611
|
+
startedAt: string
|
|
13612
|
+
endedAt?: string
|
|
13613
|
+
stopping?: boolean
|
|
13614
|
+
}>
|
|
13615
|
+
movedAt?: string
|
|
13616
|
+
status: "active" | "archived"
|
|
13617
|
+
activeRunId: string | null
|
|
13618
|
+
lastMessageAt?: string
|
|
13619
|
+
messageCount: number
|
|
13620
|
+
createdAt: string
|
|
13621
|
+
updatedAt: string
|
|
13622
|
+
approvalMode?: "manual" | "accept-edits" | "auto"
|
|
13623
|
+
approvalModeSource?: "thread" | "default" | "fallback" | "run"
|
|
13624
|
+
}
|
|
13625
|
+
}
|
|
13626
|
+
|
|
13627
|
+
export type RestoreAgentThreadSandboxResponse =
|
|
13628
|
+
RestoreAgentThreadSandboxResponses[keyof RestoreAgentThreadSandboxResponses]
|
|
13629
|
+
|
|
13494
13630
|
export type ListAgentThreadMessagesData = {
|
|
13495
13631
|
body?: never
|
|
13496
13632
|
path: {
|
|
@@ -13997,6 +14133,7 @@ export type PostAgentThreadMessageData = {
|
|
|
13997
14133
|
origin: "ambient" | "explicit"
|
|
13998
14134
|
}>
|
|
13999
14135
|
messageId?: string
|
|
14136
|
+
delivery?: "auto" | "steer" | "queue" | "send_now"
|
|
14000
14137
|
}
|
|
14001
14138
|
path: {
|
|
14002
14139
|
threadId: string
|
|
@@ -14071,7 +14208,7 @@ export type PostAgentThreadMessageResponses = {
|
|
|
14071
14208
|
* Response for status 202
|
|
14072
14209
|
*/
|
|
14073
14210
|
202: {
|
|
14074
|
-
run
|
|
14211
|
+
run?: {
|
|
14075
14212
|
id: string
|
|
14076
14213
|
projectId: string
|
|
14077
14214
|
kind: "conversation" | "subagent"
|
|
@@ -14098,211 +14235,1529 @@ export type PostAgentThreadMessageResponses = {
|
|
|
14098
14235
|
| "xhigh"
|
|
14099
14236
|
| "max"
|
|
14100
14237
|
| {
|
|
14101
|
-
budgetTokens: number
|
|
14238
|
+
budgetTokens: number
|
|
14239
|
+
}
|
|
14240
|
+
approvalMode?: "manual" | "accept-edits" | "auto"
|
|
14241
|
+
runsOn?: "computer"
|
|
14242
|
+
modelId?: string
|
|
14243
|
+
finishReason?:
|
|
14244
|
+
| "stop"
|
|
14245
|
+
| "length"
|
|
14246
|
+
| "content-filter"
|
|
14247
|
+
| "tool-calls"
|
|
14248
|
+
| "timeout"
|
|
14249
|
+
| "interrupted"
|
|
14250
|
+
| "awaiting_approval"
|
|
14251
|
+
| "awaiting_answer"
|
|
14252
|
+
| "error"
|
|
14253
|
+
| "other"
|
|
14254
|
+
| "unknown"
|
|
14255
|
+
usage?: {
|
|
14256
|
+
inputTokens?: number
|
|
14257
|
+
outputTokens?: number
|
|
14258
|
+
totalTokens?: number
|
|
14259
|
+
uncachedInputTokens?: number
|
|
14260
|
+
cacheReadInputTokens?: number
|
|
14261
|
+
cacheWriteInputTokens?: number
|
|
14262
|
+
textOutputTokens?: number
|
|
14263
|
+
reasoningOutputTokens?: number
|
|
14264
|
+
/**
|
|
14265
|
+
* Audio content duration in milliseconds; not billed duration.
|
|
14266
|
+
*/
|
|
14267
|
+
audioDurationMs?: number
|
|
14268
|
+
/**
|
|
14269
|
+
* Output tokens that encode generated images, within outputTokens.
|
|
14270
|
+
*/
|
|
14271
|
+
imageOutputTokens?: number
|
|
14272
|
+
/**
|
|
14273
|
+
* Output tokens that encode generated audio, within outputTokens.
|
|
14274
|
+
*/
|
|
14275
|
+
audioOutputTokens?: number
|
|
14276
|
+
/**
|
|
14277
|
+
* Images the call returned.
|
|
14278
|
+
*/
|
|
14279
|
+
outputImages?: number
|
|
14280
|
+
/**
|
|
14281
|
+
* Input characters, counted by the provider's own billing rule.
|
|
14282
|
+
*/
|
|
14283
|
+
inputCharacters?: number
|
|
14284
|
+
reportingStatus: "complete" | "partial" | "unavailable"
|
|
14285
|
+
}
|
|
14286
|
+
cost?: {
|
|
14287
|
+
amounts: Array<{
|
|
14288
|
+
currency: string
|
|
14289
|
+
amountNanos: string
|
|
14290
|
+
}>
|
|
14291
|
+
ratedCallCount: number
|
|
14292
|
+
unpriceableCallCount: number
|
|
14293
|
+
unvaluedCallCount: number
|
|
14294
|
+
}
|
|
14295
|
+
diagnostics?: Array<{
|
|
14296
|
+
code: "step_limit_reached" | "output_limit_reached"
|
|
14297
|
+
severity: "warning" | "error"
|
|
14298
|
+
scope: "run"
|
|
14299
|
+
message: string
|
|
14300
|
+
}>
|
|
14301
|
+
error?: {
|
|
14302
|
+
code:
|
|
14303
|
+
| "internal.unexpected"
|
|
14304
|
+
| "runtime.cancelled"
|
|
14305
|
+
| "agent.context_limit_exceeded"
|
|
14306
|
+
| "agent.execution_failed"
|
|
14307
|
+
| "agent.step_limit_reached"
|
|
14308
|
+
| "ai.usage_limit_exceeded"
|
|
14309
|
+
| "ai.usage_limit_unavailable"
|
|
14310
|
+
message: string
|
|
14311
|
+
retryable: boolean
|
|
14312
|
+
at: string
|
|
14313
|
+
/**
|
|
14314
|
+
* Any JSON-compatible value.
|
|
14315
|
+
*/
|
|
14316
|
+
details?:
|
|
14317
|
+
| string
|
|
14318
|
+
| number
|
|
14319
|
+
| boolean
|
|
14320
|
+
| Array<unknown>
|
|
14321
|
+
| {
|
|
14322
|
+
[key: string]: unknown
|
|
14323
|
+
}
|
|
14324
|
+
| null
|
|
14325
|
+
httpStatus?: number
|
|
14326
|
+
redacted?: true
|
|
14327
|
+
truncated?: true
|
|
14328
|
+
}
|
|
14329
|
+
attempt: number
|
|
14330
|
+
streamId: string
|
|
14331
|
+
createdAt: string
|
|
14332
|
+
startedAt?: string
|
|
14333
|
+
completedAt?: string
|
|
14334
|
+
}
|
|
14335
|
+
item?: {
|
|
14336
|
+
id: string
|
|
14337
|
+
projectId: string
|
|
14338
|
+
threadId: string
|
|
14339
|
+
messageId: string
|
|
14340
|
+
seq: number
|
|
14341
|
+
authorPrincipal: {
|
|
14342
|
+
type: "user" | "serviceAccount" | "system"
|
|
14343
|
+
id: string
|
|
14344
|
+
}
|
|
14345
|
+
mode: "steer" | "queue"
|
|
14346
|
+
parts: Array<
|
|
14347
|
+
| {
|
|
14348
|
+
type: "text"
|
|
14349
|
+
text: string
|
|
14350
|
+
/**
|
|
14351
|
+
* Any JSON-compatible value.
|
|
14352
|
+
*/
|
|
14353
|
+
providerMetadata?:
|
|
14354
|
+
| string
|
|
14355
|
+
| number
|
|
14356
|
+
| boolean
|
|
14357
|
+
| Array<unknown>
|
|
14358
|
+
| {
|
|
14359
|
+
[key: string]: unknown
|
|
14360
|
+
}
|
|
14361
|
+
| null
|
|
14362
|
+
}
|
|
14363
|
+
| {
|
|
14364
|
+
type: "continuation"
|
|
14365
|
+
}
|
|
14366
|
+
| {
|
|
14367
|
+
type: "approval-outcome"
|
|
14368
|
+
approvalId: string
|
|
14369
|
+
status: "approved" | "denied" | "cancelled" | "superseded" | "expired"
|
|
14370
|
+
call:
|
|
14371
|
+
| {
|
|
14372
|
+
kind: "action"
|
|
14373
|
+
actionId: string
|
|
14374
|
+
subject:
|
|
14375
|
+
| {
|
|
14376
|
+
kind: "none"
|
|
14377
|
+
}
|
|
14378
|
+
| {
|
|
14379
|
+
kind: "object"
|
|
14380
|
+
objectTypeId: string
|
|
14381
|
+
primaryId: string
|
|
14382
|
+
}
|
|
14383
|
+
}
|
|
14384
|
+
| {
|
|
14385
|
+
kind: "workflow"
|
|
14386
|
+
workflowId: string
|
|
14387
|
+
}
|
|
14388
|
+
outcome?:
|
|
14389
|
+
| {
|
|
14390
|
+
kind: "action-run"
|
|
14391
|
+
runId: string
|
|
14392
|
+
status: "succeeded" | "failed"
|
|
14393
|
+
error?: {
|
|
14394
|
+
code:
|
|
14395
|
+
| "internal.unexpected"
|
|
14396
|
+
| "runtime.cancelled"
|
|
14397
|
+
| "action.phase_failed"
|
|
14398
|
+
| "action.read_conflict"
|
|
14399
|
+
| "action.rejected"
|
|
14400
|
+
| "action.timeout"
|
|
14401
|
+
| "object.unique_violation"
|
|
14402
|
+
message: string
|
|
14403
|
+
retryable: boolean
|
|
14404
|
+
at: string
|
|
14405
|
+
details: {
|
|
14406
|
+
actionId: string
|
|
14407
|
+
runId: string
|
|
14408
|
+
phase: "validation" | "writeback" | "edits" | "commit" | "effects"
|
|
14409
|
+
}
|
|
14410
|
+
httpStatus?: number
|
|
14411
|
+
redacted?: true
|
|
14412
|
+
truncated?: true
|
|
14413
|
+
}
|
|
14414
|
+
}
|
|
14415
|
+
| {
|
|
14416
|
+
kind: "workflow-run"
|
|
14417
|
+
runId: string
|
|
14418
|
+
queuedAt: string
|
|
14419
|
+
}
|
|
14420
|
+
| {
|
|
14421
|
+
kind: "error"
|
|
14422
|
+
error: {
|
|
14423
|
+
code:
|
|
14424
|
+
| "action.phase_failed"
|
|
14425
|
+
| "action.read_conflict"
|
|
14426
|
+
| "action.rejected"
|
|
14427
|
+
| "action.run_in_progress"
|
|
14428
|
+
| "action.timeout"
|
|
14429
|
+
| "agent.approval_authority_lost"
|
|
14430
|
+
| "agent.context_limit_exceeded"
|
|
14431
|
+
| "agent.execution_failed"
|
|
14432
|
+
| "agent.step_limit_reached"
|
|
14433
|
+
| "ai.usage_limit_exceeded"
|
|
14434
|
+
| "ai.usage_limit_unavailable"
|
|
14435
|
+
| "connector.adapter_invalid"
|
|
14436
|
+
| "connector.authorization_invalid"
|
|
14437
|
+
| "connector.authorization_required"
|
|
14438
|
+
| "connector.configuration_invalid"
|
|
14439
|
+
| "connector.credentials_unavailable"
|
|
14440
|
+
| "connector.not_found"
|
|
14441
|
+
| "connector.operation_conflict"
|
|
14442
|
+
| "connector.operation_in_progress"
|
|
14443
|
+
| "connector.provider_failed"
|
|
14444
|
+
| "connector.provider_unavailable"
|
|
14445
|
+
| "connector.replacement_required"
|
|
14446
|
+
| "connector.revocation_pending"
|
|
14447
|
+
| "dataset.change_refused"
|
|
14448
|
+
| "dataset.not_found"
|
|
14449
|
+
| "dataset.version_incompatible"
|
|
14450
|
+
| "dataset.version_not_found"
|
|
14451
|
+
| "dataset.version_read_inconsistent"
|
|
14452
|
+
| "event.delivery_failed"
|
|
14453
|
+
| "internal.unexpected"
|
|
14454
|
+
| "queue.enqueue_failed"
|
|
14455
|
+
| "object.not_found"
|
|
14456
|
+
| "object.unique_violation"
|
|
14457
|
+
| "pipeline.step_failed"
|
|
14458
|
+
| "projection.definition_invalid"
|
|
14459
|
+
| "projection.execution_failed"
|
|
14460
|
+
| "projection.not_found"
|
|
14461
|
+
| "projection.run_already_terminal"
|
|
14462
|
+
| "projection.run_identity_mismatch"
|
|
14463
|
+
| "runtime.cancelled"
|
|
14464
|
+
| "runtime.stopping"
|
|
14465
|
+
| "vector.model_unavailable"
|
|
14466
|
+
| "vector.response_invalid"
|
|
14467
|
+
| "vector.outcome_unknown"
|
|
14468
|
+
| "storage.unavailable"
|
|
14469
|
+
| "sync.execution_failed"
|
|
14470
|
+
| "webhook.delivery_failed"
|
|
14471
|
+
| "webhook.delivery_rejected"
|
|
14472
|
+
| "workflow.node_failed"
|
|
14473
|
+
message: string
|
|
14474
|
+
retryable: boolean
|
|
14475
|
+
at: string
|
|
14476
|
+
/**
|
|
14477
|
+
* Any JSON-compatible value.
|
|
14478
|
+
*/
|
|
14479
|
+
details?:
|
|
14480
|
+
| string
|
|
14481
|
+
| number
|
|
14482
|
+
| boolean
|
|
14483
|
+
| Array<unknown>
|
|
14484
|
+
| {
|
|
14485
|
+
[key: string]: unknown
|
|
14486
|
+
}
|
|
14487
|
+
| null
|
|
14488
|
+
httpStatus?: number
|
|
14489
|
+
redacted?: true
|
|
14490
|
+
truncated?: true
|
|
14491
|
+
}
|
|
14492
|
+
}
|
|
14493
|
+
caller?: {
|
|
14494
|
+
runId: string
|
|
14495
|
+
key: string
|
|
14496
|
+
continues?: true
|
|
14497
|
+
}
|
|
14498
|
+
}
|
|
14499
|
+
| {
|
|
14500
|
+
type: "reasoning"
|
|
14501
|
+
text: string
|
|
14502
|
+
/**
|
|
14503
|
+
* Any JSON-compatible value.
|
|
14504
|
+
*/
|
|
14505
|
+
providerMetadata?:
|
|
14506
|
+
| string
|
|
14507
|
+
| number
|
|
14508
|
+
| boolean
|
|
14509
|
+
| Array<unknown>
|
|
14510
|
+
| {
|
|
14511
|
+
[key: string]: unknown
|
|
14512
|
+
}
|
|
14513
|
+
| null
|
|
14514
|
+
}
|
|
14515
|
+
| {
|
|
14516
|
+
type: "step-start"
|
|
14517
|
+
}
|
|
14518
|
+
| {
|
|
14519
|
+
type: "file"
|
|
14520
|
+
fileRef: {
|
|
14521
|
+
blobId: string
|
|
14522
|
+
digest: string
|
|
14523
|
+
sizeBytes: number
|
|
14524
|
+
fileName?: string
|
|
14525
|
+
mediaType?: string
|
|
14526
|
+
logicalPath?: string
|
|
14527
|
+
}
|
|
14528
|
+
/**
|
|
14529
|
+
* Any JSON-compatible value.
|
|
14530
|
+
*/
|
|
14531
|
+
providerMetadata?:
|
|
14532
|
+
| string
|
|
14533
|
+
| number
|
|
14534
|
+
| boolean
|
|
14535
|
+
| Array<unknown>
|
|
14536
|
+
| {
|
|
14537
|
+
[key: string]: unknown
|
|
14538
|
+
}
|
|
14539
|
+
| null
|
|
14540
|
+
}
|
|
14541
|
+
| {
|
|
14542
|
+
type: "provider-state"
|
|
14543
|
+
providerId: string
|
|
14544
|
+
/**
|
|
14545
|
+
* Any JSON-compatible value.
|
|
14546
|
+
*/
|
|
14547
|
+
data:
|
|
14548
|
+
| string
|
|
14549
|
+
| number
|
|
14550
|
+
| boolean
|
|
14551
|
+
| Array<unknown>
|
|
14552
|
+
| {
|
|
14553
|
+
[key: string]: unknown
|
|
14554
|
+
}
|
|
14555
|
+
| null
|
|
14556
|
+
}
|
|
14557
|
+
| {
|
|
14558
|
+
context:
|
|
14559
|
+
| {
|
|
14560
|
+
kind: "object"
|
|
14561
|
+
ref: {
|
|
14562
|
+
objectTypeId: string
|
|
14563
|
+
primaryId: string
|
|
14564
|
+
}
|
|
14565
|
+
/**
|
|
14566
|
+
* Shown in the chat instead of the object's title. Never sent to the model.
|
|
14567
|
+
*/
|
|
14568
|
+
label?: string
|
|
14569
|
+
}
|
|
14570
|
+
| {
|
|
14571
|
+
kind: "app-state"
|
|
14572
|
+
id: string
|
|
14573
|
+
label: string
|
|
14574
|
+
description: string
|
|
14575
|
+
/**
|
|
14576
|
+
* Any JSON-compatible value.
|
|
14577
|
+
*/
|
|
14578
|
+
value:
|
|
14579
|
+
| string
|
|
14580
|
+
| number
|
|
14581
|
+
| boolean
|
|
14582
|
+
| Array<unknown>
|
|
14583
|
+
| {
|
|
14584
|
+
[key: string]: unknown
|
|
14585
|
+
}
|
|
14586
|
+
| null
|
|
14587
|
+
}
|
|
14588
|
+
origin: "ambient" | "explicit"
|
|
14589
|
+
type: "context"
|
|
14590
|
+
}
|
|
14591
|
+
| {
|
|
14592
|
+
type: "tool-call"
|
|
14593
|
+
toolCallId: string
|
|
14594
|
+
toolName: string
|
|
14595
|
+
dynamic?: boolean
|
|
14596
|
+
providerExecuted?: boolean
|
|
14597
|
+
/**
|
|
14598
|
+
* Any JSON-compatible value.
|
|
14599
|
+
*/
|
|
14600
|
+
input:
|
|
14601
|
+
| string
|
|
14602
|
+
| number
|
|
14603
|
+
| boolean
|
|
14604
|
+
| Array<unknown>
|
|
14605
|
+
| {
|
|
14606
|
+
[key: string]: unknown
|
|
14607
|
+
}
|
|
14608
|
+
| null
|
|
14609
|
+
/**
|
|
14610
|
+
* Any JSON-compatible value.
|
|
14611
|
+
*/
|
|
14612
|
+
providerMetadata?:
|
|
14613
|
+
| string
|
|
14614
|
+
| number
|
|
14615
|
+
| boolean
|
|
14616
|
+
| Array<unknown>
|
|
14617
|
+
| {
|
|
14618
|
+
[key: string]: unknown
|
|
14619
|
+
}
|
|
14620
|
+
| null
|
|
14621
|
+
state: "output-available"
|
|
14622
|
+
/**
|
|
14623
|
+
* Any JSON-compatible value.
|
|
14624
|
+
*/
|
|
14625
|
+
output:
|
|
14626
|
+
| string
|
|
14627
|
+
| number
|
|
14628
|
+
| boolean
|
|
14629
|
+
| Array<unknown>
|
|
14630
|
+
| {
|
|
14631
|
+
[key: string]: unknown
|
|
14632
|
+
}
|
|
14633
|
+
| null
|
|
14634
|
+
outputFile?: {
|
|
14635
|
+
fileRef: {
|
|
14636
|
+
blobId: string
|
|
14637
|
+
digest: string
|
|
14638
|
+
sizeBytes: number
|
|
14639
|
+
fileName?: string
|
|
14640
|
+
mediaType?: string
|
|
14641
|
+
logicalPath?: string
|
|
14642
|
+
}
|
|
14643
|
+
path: string
|
|
14644
|
+
}
|
|
14645
|
+
}
|
|
14646
|
+
| {
|
|
14647
|
+
type: "tool-call"
|
|
14648
|
+
toolCallId: string
|
|
14649
|
+
toolName: string
|
|
14650
|
+
dynamic?: boolean
|
|
14651
|
+
providerExecuted?: boolean
|
|
14652
|
+
/**
|
|
14653
|
+
* Any JSON-compatible value.
|
|
14654
|
+
*/
|
|
14655
|
+
input:
|
|
14656
|
+
| string
|
|
14657
|
+
| number
|
|
14658
|
+
| boolean
|
|
14659
|
+
| Array<unknown>
|
|
14660
|
+
| {
|
|
14661
|
+
[key: string]: unknown
|
|
14662
|
+
}
|
|
14663
|
+
| null
|
|
14664
|
+
/**
|
|
14665
|
+
* Any JSON-compatible value.
|
|
14666
|
+
*/
|
|
14667
|
+
providerMetadata?:
|
|
14668
|
+
| string
|
|
14669
|
+
| number
|
|
14670
|
+
| boolean
|
|
14671
|
+
| Array<unknown>
|
|
14672
|
+
| {
|
|
14673
|
+
[key: string]: unknown
|
|
14674
|
+
}
|
|
14675
|
+
| null
|
|
14676
|
+
state: "output-error"
|
|
14677
|
+
errorText: string
|
|
14678
|
+
}
|
|
14679
|
+
| {
|
|
14680
|
+
type: "mail"
|
|
14681
|
+
id: string
|
|
14682
|
+
from: "parent"
|
|
14683
|
+
kind: "message" | "answer"
|
|
14684
|
+
inReplyTo?: string
|
|
14685
|
+
text: string
|
|
14686
|
+
afterAnswer?: true
|
|
14687
|
+
}
|
|
14688
|
+
>
|
|
14689
|
+
spec?: {
|
|
14690
|
+
model?: {
|
|
14691
|
+
provider: string
|
|
14692
|
+
modelId: string
|
|
14693
|
+
}
|
|
14694
|
+
reasoning?:
|
|
14695
|
+
| "provider-default"
|
|
14696
|
+
| "none"
|
|
14697
|
+
| "minimal"
|
|
14698
|
+
| "low"
|
|
14699
|
+
| "medium"
|
|
14700
|
+
| "high"
|
|
14701
|
+
| "xhigh"
|
|
14702
|
+
| "max"
|
|
14703
|
+
| {
|
|
14704
|
+
budgetTokens: number
|
|
14705
|
+
}
|
|
14706
|
+
approvalMode?: "manual" | "accept-edits" | "auto"
|
|
14707
|
+
}
|
|
14708
|
+
timeZone?: string
|
|
14709
|
+
locale?: string
|
|
14710
|
+
immediate?: boolean
|
|
14711
|
+
createdAt: string
|
|
14712
|
+
updatedAt: string
|
|
14713
|
+
}
|
|
14714
|
+
}
|
|
14715
|
+
}
|
|
14716
|
+
|
|
14717
|
+
export type PostAgentThreadMessageResponse =
|
|
14718
|
+
PostAgentThreadMessageResponses[keyof PostAgentThreadMessageResponses]
|
|
14719
|
+
|
|
14720
|
+
export type GetAgentMessageFileContentData = {
|
|
14721
|
+
body?: never
|
|
14722
|
+
path: {
|
|
14723
|
+
threadId: string
|
|
14724
|
+
messageId: string
|
|
14725
|
+
}
|
|
14726
|
+
query: {
|
|
14727
|
+
path: string
|
|
14728
|
+
disposition?: "inline" | "attachment"
|
|
14729
|
+
/**
|
|
14730
|
+
* Client cache key; the route still resolves the current file
|
|
14731
|
+
*/
|
|
14732
|
+
v?: string
|
|
14733
|
+
}
|
|
14734
|
+
url: "/api/agent-threads/{threadId}/messages/{messageId}/files/content"
|
|
14735
|
+
}
|
|
14736
|
+
|
|
14737
|
+
export type GetAgentMessageFileContentErrors = {
|
|
14738
|
+
/**
|
|
14739
|
+
* Response for status 400
|
|
14740
|
+
*/
|
|
14741
|
+
400: ErrorResponse
|
|
14742
|
+
/**
|
|
14743
|
+
* Response for status 404
|
|
14744
|
+
*/
|
|
14745
|
+
404: ErrorResponse
|
|
14746
|
+
/**
|
|
14747
|
+
* Requested byte range is not satisfiable
|
|
14748
|
+
*/
|
|
14749
|
+
416: unknown
|
|
14750
|
+
/**
|
|
14751
|
+
* The storage role backing this content is not configured
|
|
14752
|
+
*/
|
|
14753
|
+
501: ErrorResponse
|
|
14754
|
+
}
|
|
14755
|
+
|
|
14756
|
+
export type GetAgentMessageFileContentError =
|
|
14757
|
+
GetAgentMessageFileContentErrors[keyof GetAgentMessageFileContentErrors]
|
|
14758
|
+
|
|
14759
|
+
export type GetAgentMessageFileContentResponses = {
|
|
14760
|
+
/**
|
|
14761
|
+
* File content
|
|
14762
|
+
*/
|
|
14763
|
+
200: Blob | File
|
|
14764
|
+
/**
|
|
14765
|
+
* Partial file content
|
|
14766
|
+
*/
|
|
14767
|
+
206: Blob | File
|
|
14768
|
+
}
|
|
14769
|
+
|
|
14770
|
+
export type GetAgentMessageFileContentResponse =
|
|
14771
|
+
GetAgentMessageFileContentResponses[keyof GetAgentMessageFileContentResponses]
|
|
14772
|
+
|
|
14773
|
+
export type HeadAgentMessageFileContentData = {
|
|
14774
|
+
body?: never
|
|
14775
|
+
path: {
|
|
14776
|
+
threadId: string
|
|
14777
|
+
messageId: string
|
|
14778
|
+
}
|
|
14779
|
+
query: {
|
|
14780
|
+
path: string
|
|
14781
|
+
disposition?: "inline" | "attachment"
|
|
14782
|
+
/**
|
|
14783
|
+
* Client cache key; the route still resolves the current file
|
|
14784
|
+
*/
|
|
14785
|
+
v?: string
|
|
14786
|
+
}
|
|
14787
|
+
url: "/api/agent-threads/{threadId}/messages/{messageId}/files/content"
|
|
14788
|
+
}
|
|
14789
|
+
|
|
14790
|
+
export type HeadAgentMessageFileContentErrors = {
|
|
14791
|
+
/**
|
|
14792
|
+
* Response for status 400
|
|
14793
|
+
*/
|
|
14794
|
+
400: ErrorResponse
|
|
14795
|
+
/**
|
|
14796
|
+
* Response for status 404
|
|
14797
|
+
*/
|
|
14798
|
+
404: ErrorResponse
|
|
14799
|
+
/**
|
|
14800
|
+
* Requested byte range is not satisfiable
|
|
14801
|
+
*/
|
|
14802
|
+
416: unknown
|
|
14803
|
+
/**
|
|
14804
|
+
* The storage role backing this content is not configured
|
|
14805
|
+
*/
|
|
14806
|
+
501: ErrorResponse
|
|
14807
|
+
}
|
|
14808
|
+
|
|
14809
|
+
export type HeadAgentMessageFileContentError =
|
|
14810
|
+
HeadAgentMessageFileContentErrors[keyof HeadAgentMessageFileContentErrors]
|
|
14811
|
+
|
|
14812
|
+
export type HeadAgentMessageFileContentResponses = {
|
|
14813
|
+
/**
|
|
14814
|
+
* File content headers
|
|
14815
|
+
*/
|
|
14816
|
+
200: unknown
|
|
14817
|
+
/**
|
|
14818
|
+
* Partial file content headers
|
|
14819
|
+
*/
|
|
14820
|
+
206: unknown
|
|
14821
|
+
}
|
|
14822
|
+
|
|
14823
|
+
export type ListAgentThreadInboxData = {
|
|
14824
|
+
body?: never
|
|
14825
|
+
path: {
|
|
14826
|
+
threadId: string
|
|
14827
|
+
}
|
|
14828
|
+
query?: never
|
|
14829
|
+
url: "/api/agent-threads/{threadId}/inbox"
|
|
14830
|
+
}
|
|
14831
|
+
|
|
14832
|
+
export type ListAgentThreadInboxErrors = {
|
|
14833
|
+
/**
|
|
14834
|
+
* Response for status 400
|
|
14835
|
+
*/
|
|
14836
|
+
400: {
|
|
14837
|
+
error: string
|
|
14838
|
+
code?: string
|
|
14839
|
+
}
|
|
14840
|
+
/**
|
|
14841
|
+
* Response for status 404
|
|
14842
|
+
*/
|
|
14843
|
+
404: {
|
|
14844
|
+
error: string
|
|
14845
|
+
}
|
|
14846
|
+
/**
|
|
14847
|
+
* Response for status 501
|
|
14848
|
+
*/
|
|
14849
|
+
501: {
|
|
14850
|
+
error: string
|
|
14851
|
+
}
|
|
14852
|
+
}
|
|
14853
|
+
|
|
14854
|
+
export type ListAgentThreadInboxError = ListAgentThreadInboxErrors[keyof ListAgentThreadInboxErrors]
|
|
14855
|
+
|
|
14856
|
+
export type ListAgentThreadInboxResponses = {
|
|
14857
|
+
/**
|
|
14858
|
+
* Response for status 200
|
|
14859
|
+
*/
|
|
14860
|
+
200: {
|
|
14861
|
+
items: Array<{
|
|
14862
|
+
id: string
|
|
14863
|
+
projectId: string
|
|
14864
|
+
threadId: string
|
|
14865
|
+
messageId: string
|
|
14866
|
+
seq: number
|
|
14867
|
+
authorPrincipal: {
|
|
14868
|
+
type: "user" | "serviceAccount" | "system"
|
|
14869
|
+
id: string
|
|
14870
|
+
}
|
|
14871
|
+
mode: "steer" | "queue"
|
|
14872
|
+
parts: Array<
|
|
14873
|
+
| {
|
|
14874
|
+
type: "text"
|
|
14875
|
+
text: string
|
|
14876
|
+
/**
|
|
14877
|
+
* Any JSON-compatible value.
|
|
14878
|
+
*/
|
|
14879
|
+
providerMetadata?:
|
|
14880
|
+
| string
|
|
14881
|
+
| number
|
|
14882
|
+
| boolean
|
|
14883
|
+
| Array<unknown>
|
|
14884
|
+
| {
|
|
14885
|
+
[key: string]: unknown
|
|
14886
|
+
}
|
|
14887
|
+
| null
|
|
14888
|
+
}
|
|
14889
|
+
| {
|
|
14890
|
+
type: "continuation"
|
|
14891
|
+
}
|
|
14892
|
+
| {
|
|
14893
|
+
type: "approval-outcome"
|
|
14894
|
+
approvalId: string
|
|
14895
|
+
status: "approved" | "denied" | "cancelled" | "superseded" | "expired"
|
|
14896
|
+
call:
|
|
14897
|
+
| {
|
|
14898
|
+
kind: "action"
|
|
14899
|
+
actionId: string
|
|
14900
|
+
subject:
|
|
14901
|
+
| {
|
|
14902
|
+
kind: "none"
|
|
14903
|
+
}
|
|
14904
|
+
| {
|
|
14905
|
+
kind: "object"
|
|
14906
|
+
objectTypeId: string
|
|
14907
|
+
primaryId: string
|
|
14908
|
+
}
|
|
14909
|
+
}
|
|
14910
|
+
| {
|
|
14911
|
+
kind: "workflow"
|
|
14912
|
+
workflowId: string
|
|
14913
|
+
}
|
|
14914
|
+
outcome?:
|
|
14915
|
+
| {
|
|
14916
|
+
kind: "action-run"
|
|
14917
|
+
runId: string
|
|
14918
|
+
status: "succeeded" | "failed"
|
|
14919
|
+
error?: {
|
|
14920
|
+
code:
|
|
14921
|
+
| "internal.unexpected"
|
|
14922
|
+
| "runtime.cancelled"
|
|
14923
|
+
| "action.phase_failed"
|
|
14924
|
+
| "action.read_conflict"
|
|
14925
|
+
| "action.rejected"
|
|
14926
|
+
| "action.timeout"
|
|
14927
|
+
| "object.unique_violation"
|
|
14928
|
+
message: string
|
|
14929
|
+
retryable: boolean
|
|
14930
|
+
at: string
|
|
14931
|
+
details: {
|
|
14932
|
+
actionId: string
|
|
14933
|
+
runId: string
|
|
14934
|
+
phase: "validation" | "writeback" | "edits" | "commit" | "effects"
|
|
14935
|
+
}
|
|
14936
|
+
httpStatus?: number
|
|
14937
|
+
redacted?: true
|
|
14938
|
+
truncated?: true
|
|
14939
|
+
}
|
|
14940
|
+
}
|
|
14941
|
+
| {
|
|
14942
|
+
kind: "workflow-run"
|
|
14943
|
+
runId: string
|
|
14944
|
+
queuedAt: string
|
|
14945
|
+
}
|
|
14946
|
+
| {
|
|
14947
|
+
kind: "error"
|
|
14948
|
+
error: {
|
|
14949
|
+
code:
|
|
14950
|
+
| "action.phase_failed"
|
|
14951
|
+
| "action.read_conflict"
|
|
14952
|
+
| "action.rejected"
|
|
14953
|
+
| "action.run_in_progress"
|
|
14954
|
+
| "action.timeout"
|
|
14955
|
+
| "agent.approval_authority_lost"
|
|
14956
|
+
| "agent.context_limit_exceeded"
|
|
14957
|
+
| "agent.execution_failed"
|
|
14958
|
+
| "agent.step_limit_reached"
|
|
14959
|
+
| "ai.usage_limit_exceeded"
|
|
14960
|
+
| "ai.usage_limit_unavailable"
|
|
14961
|
+
| "connector.adapter_invalid"
|
|
14962
|
+
| "connector.authorization_invalid"
|
|
14963
|
+
| "connector.authorization_required"
|
|
14964
|
+
| "connector.configuration_invalid"
|
|
14965
|
+
| "connector.credentials_unavailable"
|
|
14966
|
+
| "connector.not_found"
|
|
14967
|
+
| "connector.operation_conflict"
|
|
14968
|
+
| "connector.operation_in_progress"
|
|
14969
|
+
| "connector.provider_failed"
|
|
14970
|
+
| "connector.provider_unavailable"
|
|
14971
|
+
| "connector.replacement_required"
|
|
14972
|
+
| "connector.revocation_pending"
|
|
14973
|
+
| "dataset.change_refused"
|
|
14974
|
+
| "dataset.not_found"
|
|
14975
|
+
| "dataset.version_incompatible"
|
|
14976
|
+
| "dataset.version_not_found"
|
|
14977
|
+
| "dataset.version_read_inconsistent"
|
|
14978
|
+
| "event.delivery_failed"
|
|
14979
|
+
| "internal.unexpected"
|
|
14980
|
+
| "queue.enqueue_failed"
|
|
14981
|
+
| "object.not_found"
|
|
14982
|
+
| "object.unique_violation"
|
|
14983
|
+
| "pipeline.step_failed"
|
|
14984
|
+
| "projection.definition_invalid"
|
|
14985
|
+
| "projection.execution_failed"
|
|
14986
|
+
| "projection.not_found"
|
|
14987
|
+
| "projection.run_already_terminal"
|
|
14988
|
+
| "projection.run_identity_mismatch"
|
|
14989
|
+
| "runtime.cancelled"
|
|
14990
|
+
| "runtime.stopping"
|
|
14991
|
+
| "vector.model_unavailable"
|
|
14992
|
+
| "vector.response_invalid"
|
|
14993
|
+
| "vector.outcome_unknown"
|
|
14994
|
+
| "storage.unavailable"
|
|
14995
|
+
| "sync.execution_failed"
|
|
14996
|
+
| "webhook.delivery_failed"
|
|
14997
|
+
| "webhook.delivery_rejected"
|
|
14998
|
+
| "workflow.node_failed"
|
|
14999
|
+
message: string
|
|
15000
|
+
retryable: boolean
|
|
15001
|
+
at: string
|
|
15002
|
+
/**
|
|
15003
|
+
* Any JSON-compatible value.
|
|
15004
|
+
*/
|
|
15005
|
+
details?:
|
|
15006
|
+
| string
|
|
15007
|
+
| number
|
|
15008
|
+
| boolean
|
|
15009
|
+
| Array<unknown>
|
|
15010
|
+
| {
|
|
15011
|
+
[key: string]: unknown
|
|
15012
|
+
}
|
|
15013
|
+
| null
|
|
15014
|
+
httpStatus?: number
|
|
15015
|
+
redacted?: true
|
|
15016
|
+
truncated?: true
|
|
15017
|
+
}
|
|
15018
|
+
}
|
|
15019
|
+
caller?: {
|
|
15020
|
+
runId: string
|
|
15021
|
+
key: string
|
|
15022
|
+
continues?: true
|
|
15023
|
+
}
|
|
15024
|
+
}
|
|
15025
|
+
| {
|
|
15026
|
+
type: "reasoning"
|
|
15027
|
+
text: string
|
|
15028
|
+
/**
|
|
15029
|
+
* Any JSON-compatible value.
|
|
15030
|
+
*/
|
|
15031
|
+
providerMetadata?:
|
|
15032
|
+
| string
|
|
15033
|
+
| number
|
|
15034
|
+
| boolean
|
|
15035
|
+
| Array<unknown>
|
|
15036
|
+
| {
|
|
15037
|
+
[key: string]: unknown
|
|
15038
|
+
}
|
|
15039
|
+
| null
|
|
15040
|
+
}
|
|
15041
|
+
| {
|
|
15042
|
+
type: "step-start"
|
|
15043
|
+
}
|
|
15044
|
+
| {
|
|
15045
|
+
type: "file"
|
|
15046
|
+
fileRef: {
|
|
15047
|
+
blobId: string
|
|
15048
|
+
digest: string
|
|
15049
|
+
sizeBytes: number
|
|
15050
|
+
fileName?: string
|
|
15051
|
+
mediaType?: string
|
|
15052
|
+
logicalPath?: string
|
|
15053
|
+
}
|
|
15054
|
+
/**
|
|
15055
|
+
* Any JSON-compatible value.
|
|
15056
|
+
*/
|
|
15057
|
+
providerMetadata?:
|
|
15058
|
+
| string
|
|
15059
|
+
| number
|
|
15060
|
+
| boolean
|
|
15061
|
+
| Array<unknown>
|
|
15062
|
+
| {
|
|
15063
|
+
[key: string]: unknown
|
|
15064
|
+
}
|
|
15065
|
+
| null
|
|
15066
|
+
}
|
|
15067
|
+
| {
|
|
15068
|
+
type: "provider-state"
|
|
15069
|
+
providerId: string
|
|
15070
|
+
/**
|
|
15071
|
+
* Any JSON-compatible value.
|
|
15072
|
+
*/
|
|
15073
|
+
data:
|
|
15074
|
+
| string
|
|
15075
|
+
| number
|
|
15076
|
+
| boolean
|
|
15077
|
+
| Array<unknown>
|
|
15078
|
+
| {
|
|
15079
|
+
[key: string]: unknown
|
|
15080
|
+
}
|
|
15081
|
+
| null
|
|
15082
|
+
}
|
|
15083
|
+
| {
|
|
15084
|
+
context:
|
|
15085
|
+
| {
|
|
15086
|
+
kind: "object"
|
|
15087
|
+
ref: {
|
|
15088
|
+
objectTypeId: string
|
|
15089
|
+
primaryId: string
|
|
15090
|
+
}
|
|
15091
|
+
/**
|
|
15092
|
+
* Shown in the chat instead of the object's title. Never sent to the model.
|
|
15093
|
+
*/
|
|
15094
|
+
label?: string
|
|
15095
|
+
}
|
|
15096
|
+
| {
|
|
15097
|
+
kind: "app-state"
|
|
15098
|
+
id: string
|
|
15099
|
+
label: string
|
|
15100
|
+
description: string
|
|
15101
|
+
/**
|
|
15102
|
+
* Any JSON-compatible value.
|
|
15103
|
+
*/
|
|
15104
|
+
value:
|
|
15105
|
+
| string
|
|
15106
|
+
| number
|
|
15107
|
+
| boolean
|
|
15108
|
+
| Array<unknown>
|
|
15109
|
+
| {
|
|
15110
|
+
[key: string]: unknown
|
|
15111
|
+
}
|
|
15112
|
+
| null
|
|
15113
|
+
}
|
|
15114
|
+
origin: "ambient" | "explicit"
|
|
15115
|
+
type: "context"
|
|
15116
|
+
}
|
|
15117
|
+
| {
|
|
15118
|
+
type: "tool-call"
|
|
15119
|
+
toolCallId: string
|
|
15120
|
+
toolName: string
|
|
15121
|
+
dynamic?: boolean
|
|
15122
|
+
providerExecuted?: boolean
|
|
15123
|
+
/**
|
|
15124
|
+
* Any JSON-compatible value.
|
|
15125
|
+
*/
|
|
15126
|
+
input:
|
|
15127
|
+
| string
|
|
15128
|
+
| number
|
|
15129
|
+
| boolean
|
|
15130
|
+
| Array<unknown>
|
|
15131
|
+
| {
|
|
15132
|
+
[key: string]: unknown
|
|
15133
|
+
}
|
|
15134
|
+
| null
|
|
15135
|
+
/**
|
|
15136
|
+
* Any JSON-compatible value.
|
|
15137
|
+
*/
|
|
15138
|
+
providerMetadata?:
|
|
15139
|
+
| string
|
|
15140
|
+
| number
|
|
15141
|
+
| boolean
|
|
15142
|
+
| Array<unknown>
|
|
15143
|
+
| {
|
|
15144
|
+
[key: string]: unknown
|
|
15145
|
+
}
|
|
15146
|
+
| null
|
|
15147
|
+
state: "output-available"
|
|
15148
|
+
/**
|
|
15149
|
+
* Any JSON-compatible value.
|
|
15150
|
+
*/
|
|
15151
|
+
output:
|
|
15152
|
+
| string
|
|
15153
|
+
| number
|
|
15154
|
+
| boolean
|
|
15155
|
+
| Array<unknown>
|
|
15156
|
+
| {
|
|
15157
|
+
[key: string]: unknown
|
|
15158
|
+
}
|
|
15159
|
+
| null
|
|
15160
|
+
outputFile?: {
|
|
15161
|
+
fileRef: {
|
|
15162
|
+
blobId: string
|
|
15163
|
+
digest: string
|
|
15164
|
+
sizeBytes: number
|
|
15165
|
+
fileName?: string
|
|
15166
|
+
mediaType?: string
|
|
15167
|
+
logicalPath?: string
|
|
15168
|
+
}
|
|
15169
|
+
path: string
|
|
15170
|
+
}
|
|
15171
|
+
}
|
|
15172
|
+
| {
|
|
15173
|
+
type: "tool-call"
|
|
15174
|
+
toolCallId: string
|
|
15175
|
+
toolName: string
|
|
15176
|
+
dynamic?: boolean
|
|
15177
|
+
providerExecuted?: boolean
|
|
15178
|
+
/**
|
|
15179
|
+
* Any JSON-compatible value.
|
|
15180
|
+
*/
|
|
15181
|
+
input:
|
|
15182
|
+
| string
|
|
15183
|
+
| number
|
|
15184
|
+
| boolean
|
|
15185
|
+
| Array<unknown>
|
|
15186
|
+
| {
|
|
15187
|
+
[key: string]: unknown
|
|
15188
|
+
}
|
|
15189
|
+
| null
|
|
15190
|
+
/**
|
|
15191
|
+
* Any JSON-compatible value.
|
|
15192
|
+
*/
|
|
15193
|
+
providerMetadata?:
|
|
15194
|
+
| string
|
|
15195
|
+
| number
|
|
15196
|
+
| boolean
|
|
15197
|
+
| Array<unknown>
|
|
15198
|
+
| {
|
|
15199
|
+
[key: string]: unknown
|
|
15200
|
+
}
|
|
15201
|
+
| null
|
|
15202
|
+
state: "output-error"
|
|
15203
|
+
errorText: string
|
|
15204
|
+
}
|
|
15205
|
+
| {
|
|
15206
|
+
type: "mail"
|
|
15207
|
+
id: string
|
|
15208
|
+
from: "parent"
|
|
15209
|
+
kind: "message" | "answer"
|
|
15210
|
+
inReplyTo?: string
|
|
15211
|
+
text: string
|
|
15212
|
+
afterAnswer?: true
|
|
15213
|
+
}
|
|
15214
|
+
>
|
|
15215
|
+
spec?: {
|
|
15216
|
+
model?: {
|
|
15217
|
+
provider: string
|
|
15218
|
+
modelId: string
|
|
15219
|
+
}
|
|
15220
|
+
reasoning?:
|
|
15221
|
+
| "provider-default"
|
|
15222
|
+
| "none"
|
|
15223
|
+
| "minimal"
|
|
15224
|
+
| "low"
|
|
15225
|
+
| "medium"
|
|
15226
|
+
| "high"
|
|
15227
|
+
| "xhigh"
|
|
15228
|
+
| "max"
|
|
15229
|
+
| {
|
|
15230
|
+
budgetTokens: number
|
|
15231
|
+
}
|
|
15232
|
+
approvalMode?: "manual" | "accept-edits" | "auto"
|
|
15233
|
+
}
|
|
15234
|
+
timeZone?: string
|
|
15235
|
+
locale?: string
|
|
15236
|
+
immediate?: boolean
|
|
15237
|
+
createdAt: string
|
|
15238
|
+
updatedAt: string
|
|
15239
|
+
}>
|
|
15240
|
+
}
|
|
15241
|
+
}
|
|
15242
|
+
|
|
15243
|
+
export type ListAgentThreadInboxResponse =
|
|
15244
|
+
ListAgentThreadInboxResponses[keyof ListAgentThreadInboxResponses]
|
|
15245
|
+
|
|
15246
|
+
export type WithdrawAgentThreadInboxItemData = {
|
|
15247
|
+
body?: never
|
|
15248
|
+
path: {
|
|
15249
|
+
threadId: string
|
|
15250
|
+
itemId: string
|
|
15251
|
+
}
|
|
15252
|
+
query?: never
|
|
15253
|
+
url: "/api/agent-threads/{threadId}/inbox/{itemId}"
|
|
15254
|
+
}
|
|
15255
|
+
|
|
15256
|
+
export type WithdrawAgentThreadInboxItemErrors = {
|
|
15257
|
+
/**
|
|
15258
|
+
* Response for status 400
|
|
15259
|
+
*/
|
|
15260
|
+
400: {
|
|
15261
|
+
error: string
|
|
15262
|
+
code?: string
|
|
15263
|
+
}
|
|
15264
|
+
/**
|
|
15265
|
+
* Response for status 403
|
|
15266
|
+
*/
|
|
15267
|
+
403: {
|
|
15268
|
+
error: string
|
|
15269
|
+
code?: string
|
|
15270
|
+
}
|
|
15271
|
+
/**
|
|
15272
|
+
* Response for status 404
|
|
15273
|
+
*/
|
|
15274
|
+
404: {
|
|
15275
|
+
error: string
|
|
15276
|
+
}
|
|
15277
|
+
/**
|
|
15278
|
+
* Response for status 409
|
|
15279
|
+
*/
|
|
15280
|
+
409: {
|
|
15281
|
+
error: string
|
|
15282
|
+
code?: string
|
|
15283
|
+
}
|
|
15284
|
+
/**
|
|
15285
|
+
* Response for status 501
|
|
15286
|
+
*/
|
|
15287
|
+
501: {
|
|
15288
|
+
error: string
|
|
15289
|
+
}
|
|
15290
|
+
}
|
|
15291
|
+
|
|
15292
|
+
export type WithdrawAgentThreadInboxItemError =
|
|
15293
|
+
WithdrawAgentThreadInboxItemErrors[keyof WithdrawAgentThreadInboxItemErrors]
|
|
15294
|
+
|
|
15295
|
+
export type WithdrawAgentThreadInboxItemResponses = {
|
|
15296
|
+
/**
|
|
15297
|
+
* Response for status 204
|
|
15298
|
+
*/
|
|
15299
|
+
204: unknown
|
|
15300
|
+
}
|
|
15301
|
+
|
|
15302
|
+
export type UpdateAgentThreadInboxItemData = {
|
|
15303
|
+
body: {
|
|
15304
|
+
text?: string
|
|
15305
|
+
model?: {
|
|
15306
|
+
provider: string
|
|
15307
|
+
modelId: string
|
|
15308
|
+
}
|
|
15309
|
+
reasoning?:
|
|
15310
|
+
| "provider-default"
|
|
15311
|
+
| "none"
|
|
15312
|
+
| "minimal"
|
|
15313
|
+
| "low"
|
|
15314
|
+
| "medium"
|
|
15315
|
+
| "high"
|
|
15316
|
+
| "xhigh"
|
|
15317
|
+
| "max"
|
|
15318
|
+
| {
|
|
15319
|
+
budgetTokens: number
|
|
15320
|
+
}
|
|
15321
|
+
approvalMode?: "manual" | "accept-edits" | "auto"
|
|
15322
|
+
delivery?: "steer" | "queue"
|
|
15323
|
+
immediate?: true
|
|
15324
|
+
}
|
|
15325
|
+
path: {
|
|
15326
|
+
threadId: string
|
|
15327
|
+
itemId: string
|
|
15328
|
+
}
|
|
15329
|
+
query?: never
|
|
15330
|
+
url: "/api/agent-threads/{threadId}/inbox/{itemId}"
|
|
15331
|
+
}
|
|
15332
|
+
|
|
15333
|
+
export type UpdateAgentThreadInboxItemErrors = {
|
|
15334
|
+
/**
|
|
15335
|
+
* Response for status 400
|
|
15336
|
+
*/
|
|
15337
|
+
400: {
|
|
15338
|
+
error: string
|
|
15339
|
+
code?: string
|
|
15340
|
+
}
|
|
15341
|
+
/**
|
|
15342
|
+
* Response for status 403
|
|
15343
|
+
*/
|
|
15344
|
+
403: {
|
|
15345
|
+
error: string
|
|
15346
|
+
code?: string
|
|
15347
|
+
}
|
|
15348
|
+
/**
|
|
15349
|
+
* Response for status 404
|
|
15350
|
+
*/
|
|
15351
|
+
404: {
|
|
15352
|
+
error: string
|
|
15353
|
+
}
|
|
15354
|
+
/**
|
|
15355
|
+
* Response for status 409
|
|
15356
|
+
*/
|
|
15357
|
+
409: {
|
|
15358
|
+
error: string
|
|
15359
|
+
code?: string
|
|
15360
|
+
}
|
|
15361
|
+
/**
|
|
15362
|
+
* Response for status 501
|
|
15363
|
+
*/
|
|
15364
|
+
501: {
|
|
15365
|
+
error: string
|
|
15366
|
+
}
|
|
15367
|
+
}
|
|
15368
|
+
|
|
15369
|
+
export type UpdateAgentThreadInboxItemError =
|
|
15370
|
+
UpdateAgentThreadInboxItemErrors[keyof UpdateAgentThreadInboxItemErrors]
|
|
15371
|
+
|
|
15372
|
+
export type UpdateAgentThreadInboxItemResponses = {
|
|
15373
|
+
/**
|
|
15374
|
+
* Response for status 200
|
|
15375
|
+
*/
|
|
15376
|
+
200: {
|
|
15377
|
+
item: {
|
|
15378
|
+
id: string
|
|
15379
|
+
projectId: string
|
|
15380
|
+
threadId: string
|
|
15381
|
+
messageId: string
|
|
15382
|
+
seq: number
|
|
15383
|
+
authorPrincipal: {
|
|
15384
|
+
type: "user" | "serviceAccount" | "system"
|
|
15385
|
+
id: string
|
|
15386
|
+
}
|
|
15387
|
+
mode: "steer" | "queue"
|
|
15388
|
+
parts: Array<
|
|
15389
|
+
| {
|
|
15390
|
+
type: "text"
|
|
15391
|
+
text: string
|
|
15392
|
+
/**
|
|
15393
|
+
* Any JSON-compatible value.
|
|
15394
|
+
*/
|
|
15395
|
+
providerMetadata?:
|
|
15396
|
+
| string
|
|
15397
|
+
| number
|
|
15398
|
+
| boolean
|
|
15399
|
+
| Array<unknown>
|
|
15400
|
+
| {
|
|
15401
|
+
[key: string]: unknown
|
|
15402
|
+
}
|
|
15403
|
+
| null
|
|
15404
|
+
}
|
|
15405
|
+
| {
|
|
15406
|
+
type: "continuation"
|
|
15407
|
+
}
|
|
15408
|
+
| {
|
|
15409
|
+
type: "approval-outcome"
|
|
15410
|
+
approvalId: string
|
|
15411
|
+
status: "approved" | "denied" | "cancelled" | "superseded" | "expired"
|
|
15412
|
+
call:
|
|
15413
|
+
| {
|
|
15414
|
+
kind: "action"
|
|
15415
|
+
actionId: string
|
|
15416
|
+
subject:
|
|
15417
|
+
| {
|
|
15418
|
+
kind: "none"
|
|
15419
|
+
}
|
|
15420
|
+
| {
|
|
15421
|
+
kind: "object"
|
|
15422
|
+
objectTypeId: string
|
|
15423
|
+
primaryId: string
|
|
15424
|
+
}
|
|
15425
|
+
}
|
|
15426
|
+
| {
|
|
15427
|
+
kind: "workflow"
|
|
15428
|
+
workflowId: string
|
|
15429
|
+
}
|
|
15430
|
+
outcome?:
|
|
15431
|
+
| {
|
|
15432
|
+
kind: "action-run"
|
|
15433
|
+
runId: string
|
|
15434
|
+
status: "succeeded" | "failed"
|
|
15435
|
+
error?: {
|
|
15436
|
+
code:
|
|
15437
|
+
| "internal.unexpected"
|
|
15438
|
+
| "runtime.cancelled"
|
|
15439
|
+
| "action.phase_failed"
|
|
15440
|
+
| "action.read_conflict"
|
|
15441
|
+
| "action.rejected"
|
|
15442
|
+
| "action.timeout"
|
|
15443
|
+
| "object.unique_violation"
|
|
15444
|
+
message: string
|
|
15445
|
+
retryable: boolean
|
|
15446
|
+
at: string
|
|
15447
|
+
details: {
|
|
15448
|
+
actionId: string
|
|
15449
|
+
runId: string
|
|
15450
|
+
phase: "validation" | "writeback" | "edits" | "commit" | "effects"
|
|
15451
|
+
}
|
|
15452
|
+
httpStatus?: number
|
|
15453
|
+
redacted?: true
|
|
15454
|
+
truncated?: true
|
|
15455
|
+
}
|
|
15456
|
+
}
|
|
15457
|
+
| {
|
|
15458
|
+
kind: "workflow-run"
|
|
15459
|
+
runId: string
|
|
15460
|
+
queuedAt: string
|
|
15461
|
+
}
|
|
15462
|
+
| {
|
|
15463
|
+
kind: "error"
|
|
15464
|
+
error: {
|
|
15465
|
+
code:
|
|
15466
|
+
| "action.phase_failed"
|
|
15467
|
+
| "action.read_conflict"
|
|
15468
|
+
| "action.rejected"
|
|
15469
|
+
| "action.run_in_progress"
|
|
15470
|
+
| "action.timeout"
|
|
15471
|
+
| "agent.approval_authority_lost"
|
|
15472
|
+
| "agent.context_limit_exceeded"
|
|
15473
|
+
| "agent.execution_failed"
|
|
15474
|
+
| "agent.step_limit_reached"
|
|
15475
|
+
| "ai.usage_limit_exceeded"
|
|
15476
|
+
| "ai.usage_limit_unavailable"
|
|
15477
|
+
| "connector.adapter_invalid"
|
|
15478
|
+
| "connector.authorization_invalid"
|
|
15479
|
+
| "connector.authorization_required"
|
|
15480
|
+
| "connector.configuration_invalid"
|
|
15481
|
+
| "connector.credentials_unavailable"
|
|
15482
|
+
| "connector.not_found"
|
|
15483
|
+
| "connector.operation_conflict"
|
|
15484
|
+
| "connector.operation_in_progress"
|
|
15485
|
+
| "connector.provider_failed"
|
|
15486
|
+
| "connector.provider_unavailable"
|
|
15487
|
+
| "connector.replacement_required"
|
|
15488
|
+
| "connector.revocation_pending"
|
|
15489
|
+
| "dataset.change_refused"
|
|
15490
|
+
| "dataset.not_found"
|
|
15491
|
+
| "dataset.version_incompatible"
|
|
15492
|
+
| "dataset.version_not_found"
|
|
15493
|
+
| "dataset.version_read_inconsistent"
|
|
15494
|
+
| "event.delivery_failed"
|
|
15495
|
+
| "internal.unexpected"
|
|
15496
|
+
| "queue.enqueue_failed"
|
|
15497
|
+
| "object.not_found"
|
|
15498
|
+
| "object.unique_violation"
|
|
15499
|
+
| "pipeline.step_failed"
|
|
15500
|
+
| "projection.definition_invalid"
|
|
15501
|
+
| "projection.execution_failed"
|
|
15502
|
+
| "projection.not_found"
|
|
15503
|
+
| "projection.run_already_terminal"
|
|
15504
|
+
| "projection.run_identity_mismatch"
|
|
15505
|
+
| "runtime.cancelled"
|
|
15506
|
+
| "runtime.stopping"
|
|
15507
|
+
| "vector.model_unavailable"
|
|
15508
|
+
| "vector.response_invalid"
|
|
15509
|
+
| "vector.outcome_unknown"
|
|
15510
|
+
| "storage.unavailable"
|
|
15511
|
+
| "sync.execution_failed"
|
|
15512
|
+
| "webhook.delivery_failed"
|
|
15513
|
+
| "webhook.delivery_rejected"
|
|
15514
|
+
| "workflow.node_failed"
|
|
15515
|
+
message: string
|
|
15516
|
+
retryable: boolean
|
|
15517
|
+
at: string
|
|
15518
|
+
/**
|
|
15519
|
+
* Any JSON-compatible value.
|
|
15520
|
+
*/
|
|
15521
|
+
details?:
|
|
15522
|
+
| string
|
|
15523
|
+
| number
|
|
15524
|
+
| boolean
|
|
15525
|
+
| Array<unknown>
|
|
15526
|
+
| {
|
|
15527
|
+
[key: string]: unknown
|
|
15528
|
+
}
|
|
15529
|
+
| null
|
|
15530
|
+
httpStatus?: number
|
|
15531
|
+
redacted?: true
|
|
15532
|
+
truncated?: true
|
|
15533
|
+
}
|
|
15534
|
+
}
|
|
15535
|
+
caller?: {
|
|
15536
|
+
runId: string
|
|
15537
|
+
key: string
|
|
15538
|
+
continues?: true
|
|
15539
|
+
}
|
|
15540
|
+
}
|
|
15541
|
+
| {
|
|
15542
|
+
type: "reasoning"
|
|
15543
|
+
text: string
|
|
15544
|
+
/**
|
|
15545
|
+
* Any JSON-compatible value.
|
|
15546
|
+
*/
|
|
15547
|
+
providerMetadata?:
|
|
15548
|
+
| string
|
|
15549
|
+
| number
|
|
15550
|
+
| boolean
|
|
15551
|
+
| Array<unknown>
|
|
15552
|
+
| {
|
|
15553
|
+
[key: string]: unknown
|
|
15554
|
+
}
|
|
15555
|
+
| null
|
|
15556
|
+
}
|
|
15557
|
+
| {
|
|
15558
|
+
type: "step-start"
|
|
15559
|
+
}
|
|
15560
|
+
| {
|
|
15561
|
+
type: "file"
|
|
15562
|
+
fileRef: {
|
|
15563
|
+
blobId: string
|
|
15564
|
+
digest: string
|
|
15565
|
+
sizeBytes: number
|
|
15566
|
+
fileName?: string
|
|
15567
|
+
mediaType?: string
|
|
15568
|
+
logicalPath?: string
|
|
15569
|
+
}
|
|
15570
|
+
/**
|
|
15571
|
+
* Any JSON-compatible value.
|
|
15572
|
+
*/
|
|
15573
|
+
providerMetadata?:
|
|
15574
|
+
| string
|
|
15575
|
+
| number
|
|
15576
|
+
| boolean
|
|
15577
|
+
| Array<unknown>
|
|
15578
|
+
| {
|
|
15579
|
+
[key: string]: unknown
|
|
15580
|
+
}
|
|
15581
|
+
| null
|
|
15582
|
+
}
|
|
15583
|
+
| {
|
|
15584
|
+
type: "provider-state"
|
|
15585
|
+
providerId: string
|
|
15586
|
+
/**
|
|
15587
|
+
* Any JSON-compatible value.
|
|
15588
|
+
*/
|
|
15589
|
+
data:
|
|
15590
|
+
| string
|
|
15591
|
+
| number
|
|
15592
|
+
| boolean
|
|
15593
|
+
| Array<unknown>
|
|
15594
|
+
| {
|
|
15595
|
+
[key: string]: unknown
|
|
15596
|
+
}
|
|
15597
|
+
| null
|
|
15598
|
+
}
|
|
15599
|
+
| {
|
|
15600
|
+
context:
|
|
15601
|
+
| {
|
|
15602
|
+
kind: "object"
|
|
15603
|
+
ref: {
|
|
15604
|
+
objectTypeId: string
|
|
15605
|
+
primaryId: string
|
|
15606
|
+
}
|
|
15607
|
+
/**
|
|
15608
|
+
* Shown in the chat instead of the object's title. Never sent to the model.
|
|
15609
|
+
*/
|
|
15610
|
+
label?: string
|
|
15611
|
+
}
|
|
15612
|
+
| {
|
|
15613
|
+
kind: "app-state"
|
|
15614
|
+
id: string
|
|
15615
|
+
label: string
|
|
15616
|
+
description: string
|
|
15617
|
+
/**
|
|
15618
|
+
* Any JSON-compatible value.
|
|
15619
|
+
*/
|
|
15620
|
+
value:
|
|
15621
|
+
| string
|
|
15622
|
+
| number
|
|
15623
|
+
| boolean
|
|
15624
|
+
| Array<unknown>
|
|
15625
|
+
| {
|
|
15626
|
+
[key: string]: unknown
|
|
15627
|
+
}
|
|
15628
|
+
| null
|
|
15629
|
+
}
|
|
15630
|
+
origin: "ambient" | "explicit"
|
|
15631
|
+
type: "context"
|
|
15632
|
+
}
|
|
15633
|
+
| {
|
|
15634
|
+
type: "tool-call"
|
|
15635
|
+
toolCallId: string
|
|
15636
|
+
toolName: string
|
|
15637
|
+
dynamic?: boolean
|
|
15638
|
+
providerExecuted?: boolean
|
|
15639
|
+
/**
|
|
15640
|
+
* Any JSON-compatible value.
|
|
15641
|
+
*/
|
|
15642
|
+
input:
|
|
15643
|
+
| string
|
|
15644
|
+
| number
|
|
15645
|
+
| boolean
|
|
15646
|
+
| Array<unknown>
|
|
15647
|
+
| {
|
|
15648
|
+
[key: string]: unknown
|
|
15649
|
+
}
|
|
15650
|
+
| null
|
|
15651
|
+
/**
|
|
15652
|
+
* Any JSON-compatible value.
|
|
15653
|
+
*/
|
|
15654
|
+
providerMetadata?:
|
|
15655
|
+
| string
|
|
15656
|
+
| number
|
|
15657
|
+
| boolean
|
|
15658
|
+
| Array<unknown>
|
|
15659
|
+
| {
|
|
15660
|
+
[key: string]: unknown
|
|
15661
|
+
}
|
|
15662
|
+
| null
|
|
15663
|
+
state: "output-available"
|
|
15664
|
+
/**
|
|
15665
|
+
* Any JSON-compatible value.
|
|
15666
|
+
*/
|
|
15667
|
+
output:
|
|
15668
|
+
| string
|
|
15669
|
+
| number
|
|
15670
|
+
| boolean
|
|
15671
|
+
| Array<unknown>
|
|
15672
|
+
| {
|
|
15673
|
+
[key: string]: unknown
|
|
15674
|
+
}
|
|
15675
|
+
| null
|
|
15676
|
+
outputFile?: {
|
|
15677
|
+
fileRef: {
|
|
15678
|
+
blobId: string
|
|
15679
|
+
digest: string
|
|
15680
|
+
sizeBytes: number
|
|
15681
|
+
fileName?: string
|
|
15682
|
+
mediaType?: string
|
|
15683
|
+
logicalPath?: string
|
|
15684
|
+
}
|
|
15685
|
+
path: string
|
|
15686
|
+
}
|
|
15687
|
+
}
|
|
15688
|
+
| {
|
|
15689
|
+
type: "tool-call"
|
|
15690
|
+
toolCallId: string
|
|
15691
|
+
toolName: string
|
|
15692
|
+
dynamic?: boolean
|
|
15693
|
+
providerExecuted?: boolean
|
|
15694
|
+
/**
|
|
15695
|
+
* Any JSON-compatible value.
|
|
15696
|
+
*/
|
|
15697
|
+
input:
|
|
15698
|
+
| string
|
|
15699
|
+
| number
|
|
15700
|
+
| boolean
|
|
15701
|
+
| Array<unknown>
|
|
15702
|
+
| {
|
|
15703
|
+
[key: string]: unknown
|
|
15704
|
+
}
|
|
15705
|
+
| null
|
|
15706
|
+
/**
|
|
15707
|
+
* Any JSON-compatible value.
|
|
15708
|
+
*/
|
|
15709
|
+
providerMetadata?:
|
|
15710
|
+
| string
|
|
15711
|
+
| number
|
|
15712
|
+
| boolean
|
|
15713
|
+
| Array<unknown>
|
|
15714
|
+
| {
|
|
15715
|
+
[key: string]: unknown
|
|
15716
|
+
}
|
|
15717
|
+
| null
|
|
15718
|
+
state: "output-error"
|
|
15719
|
+
errorText: string
|
|
15720
|
+
}
|
|
15721
|
+
| {
|
|
15722
|
+
type: "mail"
|
|
15723
|
+
id: string
|
|
15724
|
+
from: "parent"
|
|
15725
|
+
kind: "message" | "answer"
|
|
15726
|
+
inReplyTo?: string
|
|
15727
|
+
text: string
|
|
15728
|
+
afterAnswer?: true
|
|
14102
15729
|
}
|
|
14103
|
-
|
|
14104
|
-
|
|
14105
|
-
|
|
14106
|
-
|
|
14107
|
-
|
|
14108
|
-
|
|
14109
|
-
|
|
14110
|
-
|
|
14111
|
-
|
|
14112
|
-
|
|
14113
|
-
|
|
14114
|
-
|
|
14115
|
-
|
|
14116
|
-
|
|
14117
|
-
|
|
14118
|
-
usage?: {
|
|
14119
|
-
inputTokens?: number
|
|
14120
|
-
outputTokens?: number
|
|
14121
|
-
totalTokens?: number
|
|
14122
|
-
uncachedInputTokens?: number
|
|
14123
|
-
cacheReadInputTokens?: number
|
|
14124
|
-
cacheWriteInputTokens?: number
|
|
14125
|
-
textOutputTokens?: number
|
|
14126
|
-
reasoningOutputTokens?: number
|
|
14127
|
-
/**
|
|
14128
|
-
* Audio content duration in milliseconds; not billed duration.
|
|
14129
|
-
*/
|
|
14130
|
-
audioDurationMs?: number
|
|
14131
|
-
/**
|
|
14132
|
-
* Output tokens that encode generated images, within outputTokens.
|
|
14133
|
-
*/
|
|
14134
|
-
imageOutputTokens?: number
|
|
14135
|
-
/**
|
|
14136
|
-
* Output tokens that encode generated audio, within outputTokens.
|
|
14137
|
-
*/
|
|
14138
|
-
audioOutputTokens?: number
|
|
14139
|
-
/**
|
|
14140
|
-
* Images the call returned.
|
|
14141
|
-
*/
|
|
14142
|
-
outputImages?: number
|
|
14143
|
-
/**
|
|
14144
|
-
* Input characters, counted by the provider's own billing rule.
|
|
14145
|
-
*/
|
|
14146
|
-
inputCharacters?: number
|
|
14147
|
-
reportingStatus: "complete" | "partial" | "unavailable"
|
|
14148
|
-
}
|
|
14149
|
-
cost?: {
|
|
14150
|
-
amounts: Array<{
|
|
14151
|
-
currency: string
|
|
14152
|
-
amountNanos: string
|
|
14153
|
-
}>
|
|
14154
|
-
ratedCallCount: number
|
|
14155
|
-
unpriceableCallCount: number
|
|
14156
|
-
unvaluedCallCount: number
|
|
14157
|
-
}
|
|
14158
|
-
diagnostics?: Array<{
|
|
14159
|
-
code: "step_limit_reached" | "output_limit_reached"
|
|
14160
|
-
severity: "warning" | "error"
|
|
14161
|
-
scope: "run"
|
|
14162
|
-
message: string
|
|
14163
|
-
}>
|
|
14164
|
-
error?: {
|
|
14165
|
-
code:
|
|
14166
|
-
| "internal.unexpected"
|
|
14167
|
-
| "runtime.cancelled"
|
|
14168
|
-
| "agent.context_limit_exceeded"
|
|
14169
|
-
| "agent.execution_failed"
|
|
14170
|
-
| "agent.step_limit_reached"
|
|
14171
|
-
| "ai.usage_limit_exceeded"
|
|
14172
|
-
| "ai.usage_limit_unavailable"
|
|
14173
|
-
message: string
|
|
14174
|
-
retryable: boolean
|
|
14175
|
-
at: string
|
|
14176
|
-
/**
|
|
14177
|
-
* Any JSON-compatible value.
|
|
14178
|
-
*/
|
|
14179
|
-
details?:
|
|
14180
|
-
| string
|
|
14181
|
-
| number
|
|
14182
|
-
| boolean
|
|
14183
|
-
| Array<unknown>
|
|
15730
|
+
>
|
|
15731
|
+
spec?: {
|
|
15732
|
+
model?: {
|
|
15733
|
+
provider: string
|
|
15734
|
+
modelId: string
|
|
15735
|
+
}
|
|
15736
|
+
reasoning?:
|
|
15737
|
+
| "provider-default"
|
|
15738
|
+
| "none"
|
|
15739
|
+
| "minimal"
|
|
15740
|
+
| "low"
|
|
15741
|
+
| "medium"
|
|
15742
|
+
| "high"
|
|
15743
|
+
| "xhigh"
|
|
15744
|
+
| "max"
|
|
14184
15745
|
| {
|
|
14185
|
-
|
|
15746
|
+
budgetTokens: number
|
|
14186
15747
|
}
|
|
14187
|
-
|
|
14188
|
-
httpStatus?: number
|
|
14189
|
-
redacted?: true
|
|
14190
|
-
truncated?: true
|
|
15748
|
+
approvalMode?: "manual" | "accept-edits" | "auto"
|
|
14191
15749
|
}
|
|
14192
|
-
|
|
14193
|
-
|
|
15750
|
+
timeZone?: string
|
|
15751
|
+
locale?: string
|
|
15752
|
+
immediate?: boolean
|
|
14194
15753
|
createdAt: string
|
|
14195
|
-
|
|
14196
|
-
completedAt?: string
|
|
15754
|
+
updatedAt: string
|
|
14197
15755
|
}
|
|
14198
15756
|
}
|
|
14199
15757
|
}
|
|
14200
15758
|
|
|
14201
|
-
export type
|
|
14202
|
-
|
|
14203
|
-
|
|
14204
|
-
export type GetAgentMessageFileContentData = {
|
|
14205
|
-
body?: never
|
|
14206
|
-
path: {
|
|
14207
|
-
threadId: string
|
|
14208
|
-
messageId: string
|
|
14209
|
-
}
|
|
14210
|
-
query: {
|
|
14211
|
-
path: string
|
|
14212
|
-
disposition?: "inline" | "attachment"
|
|
14213
|
-
/**
|
|
14214
|
-
* Client cache key; the route still resolves the current file
|
|
14215
|
-
*/
|
|
14216
|
-
v?: string
|
|
14217
|
-
}
|
|
14218
|
-
url: "/api/agent-threads/{threadId}/messages/{messageId}/files/content"
|
|
14219
|
-
}
|
|
14220
|
-
|
|
14221
|
-
export type GetAgentMessageFileContentErrors = {
|
|
14222
|
-
/**
|
|
14223
|
-
* Response for status 400
|
|
14224
|
-
*/
|
|
14225
|
-
400: ErrorResponse
|
|
14226
|
-
/**
|
|
14227
|
-
* Response for status 404
|
|
14228
|
-
*/
|
|
14229
|
-
404: ErrorResponse
|
|
14230
|
-
/**
|
|
14231
|
-
* Requested byte range is not satisfiable
|
|
14232
|
-
*/
|
|
14233
|
-
416: unknown
|
|
14234
|
-
/**
|
|
14235
|
-
* The storage role backing this content is not configured
|
|
14236
|
-
*/
|
|
14237
|
-
501: ErrorResponse
|
|
14238
|
-
}
|
|
14239
|
-
|
|
14240
|
-
export type GetAgentMessageFileContentError =
|
|
14241
|
-
GetAgentMessageFileContentErrors[keyof GetAgentMessageFileContentErrors]
|
|
14242
|
-
|
|
14243
|
-
export type GetAgentMessageFileContentResponses = {
|
|
14244
|
-
/**
|
|
14245
|
-
* File content
|
|
14246
|
-
*/
|
|
14247
|
-
200: Blob | File
|
|
14248
|
-
/**
|
|
14249
|
-
* Partial file content
|
|
14250
|
-
*/
|
|
14251
|
-
206: Blob | File
|
|
14252
|
-
}
|
|
14253
|
-
|
|
14254
|
-
export type GetAgentMessageFileContentResponse =
|
|
14255
|
-
GetAgentMessageFileContentResponses[keyof GetAgentMessageFileContentResponses]
|
|
14256
|
-
|
|
14257
|
-
export type HeadAgentMessageFileContentData = {
|
|
14258
|
-
body?: never
|
|
14259
|
-
path: {
|
|
14260
|
-
threadId: string
|
|
14261
|
-
messageId: string
|
|
14262
|
-
}
|
|
14263
|
-
query: {
|
|
14264
|
-
path: string
|
|
14265
|
-
disposition?: "inline" | "attachment"
|
|
14266
|
-
/**
|
|
14267
|
-
* Client cache key; the route still resolves the current file
|
|
14268
|
-
*/
|
|
14269
|
-
v?: string
|
|
14270
|
-
}
|
|
14271
|
-
url: "/api/agent-threads/{threadId}/messages/{messageId}/files/content"
|
|
14272
|
-
}
|
|
14273
|
-
|
|
14274
|
-
export type HeadAgentMessageFileContentErrors = {
|
|
14275
|
-
/**
|
|
14276
|
-
* Response for status 400
|
|
14277
|
-
*/
|
|
14278
|
-
400: ErrorResponse
|
|
14279
|
-
/**
|
|
14280
|
-
* Response for status 404
|
|
14281
|
-
*/
|
|
14282
|
-
404: ErrorResponse
|
|
14283
|
-
/**
|
|
14284
|
-
* Requested byte range is not satisfiable
|
|
14285
|
-
*/
|
|
14286
|
-
416: unknown
|
|
14287
|
-
/**
|
|
14288
|
-
* The storage role backing this content is not configured
|
|
14289
|
-
*/
|
|
14290
|
-
501: ErrorResponse
|
|
14291
|
-
}
|
|
14292
|
-
|
|
14293
|
-
export type HeadAgentMessageFileContentError =
|
|
14294
|
-
HeadAgentMessageFileContentErrors[keyof HeadAgentMessageFileContentErrors]
|
|
14295
|
-
|
|
14296
|
-
export type HeadAgentMessageFileContentResponses = {
|
|
14297
|
-
/**
|
|
14298
|
-
* File content headers
|
|
14299
|
-
*/
|
|
14300
|
-
200: unknown
|
|
14301
|
-
/**
|
|
14302
|
-
* Partial file content headers
|
|
14303
|
-
*/
|
|
14304
|
-
206: unknown
|
|
14305
|
-
}
|
|
15759
|
+
export type UpdateAgentThreadInboxItemResponse =
|
|
15760
|
+
UpdateAgentThreadInboxItemResponses[keyof UpdateAgentThreadInboxItemResponses]
|
|
14306
15761
|
|
|
14307
15762
|
export type CancelAgentRunData = {
|
|
14308
15763
|
body: {
|
|
@@ -18197,7 +19652,7 @@ export type ListArtifactsErrors = {
|
|
|
18197
19652
|
400: {
|
|
18198
19653
|
error: string
|
|
18199
19654
|
/**
|
|
18200
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
19655
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
18201
19656
|
*/
|
|
18202
19657
|
code?: string
|
|
18203
19658
|
/**
|
|
@@ -18222,7 +19677,7 @@ export type ListArtifactsErrors = {
|
|
|
18222
19677
|
501: {
|
|
18223
19678
|
error: string
|
|
18224
19679
|
/**
|
|
18225
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
19680
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
18226
19681
|
*/
|
|
18227
19682
|
code?: string
|
|
18228
19683
|
/**
|
|
@@ -18311,7 +19766,7 @@ export type CreateArtifactErrors = {
|
|
|
18311
19766
|
400: {
|
|
18312
19767
|
error: string
|
|
18313
19768
|
/**
|
|
18314
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
19769
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
18315
19770
|
*/
|
|
18316
19771
|
code?: string
|
|
18317
19772
|
/**
|
|
@@ -18336,7 +19791,7 @@ export type CreateArtifactErrors = {
|
|
|
18336
19791
|
403: {
|
|
18337
19792
|
error: string
|
|
18338
19793
|
/**
|
|
18339
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
19794
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
18340
19795
|
*/
|
|
18341
19796
|
code?: string
|
|
18342
19797
|
/**
|
|
@@ -18361,7 +19816,7 @@ export type CreateArtifactErrors = {
|
|
|
18361
19816
|
404: {
|
|
18362
19817
|
error: string
|
|
18363
19818
|
/**
|
|
18364
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
19819
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
18365
19820
|
*/
|
|
18366
19821
|
code?: string
|
|
18367
19822
|
/**
|
|
@@ -18386,7 +19841,7 @@ export type CreateArtifactErrors = {
|
|
|
18386
19841
|
409: {
|
|
18387
19842
|
error: string
|
|
18388
19843
|
/**
|
|
18389
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
19844
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
18390
19845
|
*/
|
|
18391
19846
|
code?: string
|
|
18392
19847
|
/**
|
|
@@ -18411,7 +19866,7 @@ export type CreateArtifactErrors = {
|
|
|
18411
19866
|
501: {
|
|
18412
19867
|
error: string
|
|
18413
19868
|
/**
|
|
18414
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
19869
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
18415
19870
|
*/
|
|
18416
19871
|
code?: string
|
|
18417
19872
|
/**
|
|
@@ -18494,6 +19949,33 @@ export type CreateArtifactResponses = {
|
|
|
18494
19949
|
text: string
|
|
18495
19950
|
slug: string
|
|
18496
19951
|
}>
|
|
19952
|
+
/**
|
|
19953
|
+
* html for a designed document, document.html with its own stylesheets
|
|
19954
|
+
*/
|
|
19955
|
+
format?: "html"
|
|
19956
|
+
/**
|
|
19957
|
+
* The sheet a designed document's @page rule sets, in CSS pixels: its size and margins
|
|
19958
|
+
*/
|
|
19959
|
+
paper?: {
|
|
19960
|
+
width: number
|
|
19961
|
+
height: number
|
|
19962
|
+
margin: {
|
|
19963
|
+
top: number
|
|
19964
|
+
right: number
|
|
19965
|
+
bottom: number
|
|
19966
|
+
left: number
|
|
19967
|
+
}
|
|
19968
|
+
}
|
|
19969
|
+
/**
|
|
19970
|
+
* The object a designed document shows live data of, as <meta name="sixb:object-type"> names its type: the one object of that type that holds the document
|
|
19971
|
+
*/
|
|
19972
|
+
holder?: {
|
|
19973
|
+
objectTypeId: string
|
|
19974
|
+
/**
|
|
19975
|
+
* The holder's links its fields read through
|
|
19976
|
+
*/
|
|
19977
|
+
links: Array<string>
|
|
19978
|
+
}
|
|
18497
19979
|
}
|
|
18498
19980
|
| {
|
|
18499
19981
|
kind: "sheet"
|
|
@@ -18596,6 +20078,10 @@ export type CreateArtifactResponses = {
|
|
|
18596
20078
|
boardPreviews?: {
|
|
18597
20079
|
[key: string]: "ready" | "pending" | "none"
|
|
18598
20080
|
}
|
|
20081
|
+
/**
|
|
20082
|
+
* true for a designed document in a project that prints to PDF: POST to its pdf route to print it, with the values whoever asks reads
|
|
20083
|
+
*/
|
|
20084
|
+
printable?: boolean
|
|
18599
20085
|
}
|
|
18600
20086
|
warnings: Array<{
|
|
18601
20087
|
code: string
|
|
@@ -18623,7 +20109,7 @@ export type DeleteArtifactErrors = {
|
|
|
18623
20109
|
403: {
|
|
18624
20110
|
error: string
|
|
18625
20111
|
/**
|
|
18626
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20112
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
18627
20113
|
*/
|
|
18628
20114
|
code?: string
|
|
18629
20115
|
/**
|
|
@@ -18648,7 +20134,7 @@ export type DeleteArtifactErrors = {
|
|
|
18648
20134
|
404: {
|
|
18649
20135
|
error: string
|
|
18650
20136
|
/**
|
|
18651
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20137
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
18652
20138
|
*/
|
|
18653
20139
|
code?: string
|
|
18654
20140
|
/**
|
|
@@ -18673,7 +20159,7 @@ export type DeleteArtifactErrors = {
|
|
|
18673
20159
|
501: {
|
|
18674
20160
|
error: string
|
|
18675
20161
|
/**
|
|
18676
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20162
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
18677
20163
|
*/
|
|
18678
20164
|
code?: string
|
|
18679
20165
|
/**
|
|
@@ -18723,7 +20209,7 @@ export type GetArtifactErrors = {
|
|
|
18723
20209
|
403: {
|
|
18724
20210
|
error: string
|
|
18725
20211
|
/**
|
|
18726
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20212
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
18727
20213
|
*/
|
|
18728
20214
|
code?: string
|
|
18729
20215
|
/**
|
|
@@ -18748,7 +20234,7 @@ export type GetArtifactErrors = {
|
|
|
18748
20234
|
404: {
|
|
18749
20235
|
error: string
|
|
18750
20236
|
/**
|
|
18751
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20237
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
18752
20238
|
*/
|
|
18753
20239
|
code?: string
|
|
18754
20240
|
/**
|
|
@@ -18773,7 +20259,7 @@ export type GetArtifactErrors = {
|
|
|
18773
20259
|
501: {
|
|
18774
20260
|
error: string
|
|
18775
20261
|
/**
|
|
18776
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20262
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
18777
20263
|
*/
|
|
18778
20264
|
code?: string
|
|
18779
20265
|
/**
|
|
@@ -18894,7 +20380,7 @@ export type ListArtifactHoldersErrors = {
|
|
|
18894
20380
|
403: {
|
|
18895
20381
|
error: string
|
|
18896
20382
|
/**
|
|
18897
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20383
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
18898
20384
|
*/
|
|
18899
20385
|
code?: string
|
|
18900
20386
|
/**
|
|
@@ -18919,7 +20405,7 @@ export type ListArtifactHoldersErrors = {
|
|
|
18919
20405
|
404: {
|
|
18920
20406
|
error: string
|
|
18921
20407
|
/**
|
|
18922
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20408
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
18923
20409
|
*/
|
|
18924
20410
|
code?: string
|
|
18925
20411
|
/**
|
|
@@ -18944,7 +20430,7 @@ export type ListArtifactHoldersErrors = {
|
|
|
18944
20430
|
501: {
|
|
18945
20431
|
error: string
|
|
18946
20432
|
/**
|
|
18947
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20433
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
18948
20434
|
*/
|
|
18949
20435
|
code?: string
|
|
18950
20436
|
/**
|
|
@@ -19013,7 +20499,7 @@ export type ClearArtifactStateErrors = {
|
|
|
19013
20499
|
403: {
|
|
19014
20500
|
error: string
|
|
19015
20501
|
/**
|
|
19016
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20502
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
19017
20503
|
*/
|
|
19018
20504
|
code?: string
|
|
19019
20505
|
/**
|
|
@@ -19038,7 +20524,7 @@ export type ClearArtifactStateErrors = {
|
|
|
19038
20524
|
404: {
|
|
19039
20525
|
error: string
|
|
19040
20526
|
/**
|
|
19041
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20527
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
19042
20528
|
*/
|
|
19043
20529
|
code?: string
|
|
19044
20530
|
/**
|
|
@@ -19063,7 +20549,7 @@ export type ClearArtifactStateErrors = {
|
|
|
19063
20549
|
501: {
|
|
19064
20550
|
error: string
|
|
19065
20551
|
/**
|
|
19066
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20552
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
19067
20553
|
*/
|
|
19068
20554
|
code?: string
|
|
19069
20555
|
/**
|
|
@@ -19117,7 +20603,7 @@ export type GetArtifactStateErrors = {
|
|
|
19117
20603
|
403: {
|
|
19118
20604
|
error: string
|
|
19119
20605
|
/**
|
|
19120
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20606
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
19121
20607
|
*/
|
|
19122
20608
|
code?: string
|
|
19123
20609
|
/**
|
|
@@ -19142,7 +20628,7 @@ export type GetArtifactStateErrors = {
|
|
|
19142
20628
|
404: {
|
|
19143
20629
|
error: string
|
|
19144
20630
|
/**
|
|
19145
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20631
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
19146
20632
|
*/
|
|
19147
20633
|
code?: string
|
|
19148
20634
|
/**
|
|
@@ -19167,7 +20653,7 @@ export type GetArtifactStateErrors = {
|
|
|
19167
20653
|
501: {
|
|
19168
20654
|
error: string
|
|
19169
20655
|
/**
|
|
19170
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20656
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
19171
20657
|
*/
|
|
19172
20658
|
code?: string
|
|
19173
20659
|
/**
|
|
@@ -19231,7 +20717,7 @@ export type DeleteArtifactStateValueErrors = {
|
|
|
19231
20717
|
400: {
|
|
19232
20718
|
error: string
|
|
19233
20719
|
/**
|
|
19234
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20720
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
19235
20721
|
*/
|
|
19236
20722
|
code?: string
|
|
19237
20723
|
/**
|
|
@@ -19256,7 +20742,7 @@ export type DeleteArtifactStateValueErrors = {
|
|
|
19256
20742
|
403: {
|
|
19257
20743
|
error: string
|
|
19258
20744
|
/**
|
|
19259
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20745
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
19260
20746
|
*/
|
|
19261
20747
|
code?: string
|
|
19262
20748
|
/**
|
|
@@ -19281,7 +20767,7 @@ export type DeleteArtifactStateValueErrors = {
|
|
|
19281
20767
|
404: {
|
|
19282
20768
|
error: string
|
|
19283
20769
|
/**
|
|
19284
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20770
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
19285
20771
|
*/
|
|
19286
20772
|
code?: string
|
|
19287
20773
|
/**
|
|
@@ -19306,7 +20792,7 @@ export type DeleteArtifactStateValueErrors = {
|
|
|
19306
20792
|
501: {
|
|
19307
20793
|
error: string
|
|
19308
20794
|
/**
|
|
19309
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20795
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
19310
20796
|
*/
|
|
19311
20797
|
code?: string
|
|
19312
20798
|
/**
|
|
@@ -19367,7 +20853,7 @@ export type SetArtifactStateErrors = {
|
|
|
19367
20853
|
400: {
|
|
19368
20854
|
error: string
|
|
19369
20855
|
/**
|
|
19370
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20856
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
19371
20857
|
*/
|
|
19372
20858
|
code?: string
|
|
19373
20859
|
/**
|
|
@@ -19392,7 +20878,7 @@ export type SetArtifactStateErrors = {
|
|
|
19392
20878
|
403: {
|
|
19393
20879
|
error: string
|
|
19394
20880
|
/**
|
|
19395
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20881
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
19396
20882
|
*/
|
|
19397
20883
|
code?: string
|
|
19398
20884
|
/**
|
|
@@ -19417,7 +20903,7 @@ export type SetArtifactStateErrors = {
|
|
|
19417
20903
|
404: {
|
|
19418
20904
|
error: string
|
|
19419
20905
|
/**
|
|
19420
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20906
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
19421
20907
|
*/
|
|
19422
20908
|
code?: string
|
|
19423
20909
|
/**
|
|
@@ -19442,7 +20928,7 @@ export type SetArtifactStateErrors = {
|
|
|
19442
20928
|
413: {
|
|
19443
20929
|
error: string
|
|
19444
20930
|
/**
|
|
19445
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20931
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
19446
20932
|
*/
|
|
19447
20933
|
code?: string
|
|
19448
20934
|
/**
|
|
@@ -19467,7 +20953,7 @@ export type SetArtifactStateErrors = {
|
|
|
19467
20953
|
501: {
|
|
19468
20954
|
error: string
|
|
19469
20955
|
/**
|
|
19470
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20956
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
19471
20957
|
*/
|
|
19472
20958
|
code?: string
|
|
19473
20959
|
/**
|
|
@@ -19546,7 +21032,7 @@ export type UpdateArtifactErrors = {
|
|
|
19546
21032
|
400: {
|
|
19547
21033
|
error: string
|
|
19548
21034
|
/**
|
|
19549
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
21035
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
19550
21036
|
*/
|
|
19551
21037
|
code?: string
|
|
19552
21038
|
/**
|
|
@@ -19571,7 +21057,7 @@ export type UpdateArtifactErrors = {
|
|
|
19571
21057
|
403: {
|
|
19572
21058
|
error: string
|
|
19573
21059
|
/**
|
|
19574
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
21060
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
19575
21061
|
*/
|
|
19576
21062
|
code?: string
|
|
19577
21063
|
/**
|
|
@@ -19596,7 +21082,7 @@ export type UpdateArtifactErrors = {
|
|
|
19596
21082
|
404: {
|
|
19597
21083
|
error: string
|
|
19598
21084
|
/**
|
|
19599
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
21085
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
19600
21086
|
*/
|
|
19601
21087
|
code?: string
|
|
19602
21088
|
/**
|
|
@@ -19621,7 +21107,7 @@ export type UpdateArtifactErrors = {
|
|
|
19621
21107
|
409: {
|
|
19622
21108
|
error: string
|
|
19623
21109
|
/**
|
|
19624
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
21110
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
19625
21111
|
*/
|
|
19626
21112
|
code?: string
|
|
19627
21113
|
/**
|
|
@@ -19646,7 +21132,7 @@ export type UpdateArtifactErrors = {
|
|
|
19646
21132
|
501: {
|
|
19647
21133
|
error: string
|
|
19648
21134
|
/**
|
|
19649
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
21135
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
19650
21136
|
*/
|
|
19651
21137
|
code?: string
|
|
19652
21138
|
/**
|
|
@@ -19729,6 +21215,33 @@ export type UpdateArtifactResponses = {
|
|
|
19729
21215
|
text: string
|
|
19730
21216
|
slug: string
|
|
19731
21217
|
}>
|
|
21218
|
+
/**
|
|
21219
|
+
* html for a designed document, document.html with its own stylesheets
|
|
21220
|
+
*/
|
|
21221
|
+
format?: "html"
|
|
21222
|
+
/**
|
|
21223
|
+
* The sheet a designed document's @page rule sets, in CSS pixels: its size and margins
|
|
21224
|
+
*/
|
|
21225
|
+
paper?: {
|
|
21226
|
+
width: number
|
|
21227
|
+
height: number
|
|
21228
|
+
margin: {
|
|
21229
|
+
top: number
|
|
21230
|
+
right: number
|
|
21231
|
+
bottom: number
|
|
21232
|
+
left: number
|
|
21233
|
+
}
|
|
21234
|
+
}
|
|
21235
|
+
/**
|
|
21236
|
+
* The object a designed document shows live data of, as <meta name="sixb:object-type"> names its type: the one object of that type that holds the document
|
|
21237
|
+
*/
|
|
21238
|
+
holder?: {
|
|
21239
|
+
objectTypeId: string
|
|
21240
|
+
/**
|
|
21241
|
+
* The holder's links its fields read through
|
|
21242
|
+
*/
|
|
21243
|
+
links: Array<string>
|
|
21244
|
+
}
|
|
19732
21245
|
}
|
|
19733
21246
|
| {
|
|
19734
21247
|
kind: "sheet"
|
|
@@ -19831,6 +21344,10 @@ export type UpdateArtifactResponses = {
|
|
|
19831
21344
|
boardPreviews?: {
|
|
19832
21345
|
[key: string]: "ready" | "pending" | "none"
|
|
19833
21346
|
}
|
|
21347
|
+
/**
|
|
21348
|
+
* true for a designed document in a project that prints to PDF: POST to its pdf route to print it, with the values whoever asks reads
|
|
21349
|
+
*/
|
|
21350
|
+
printable?: boolean
|
|
19834
21351
|
}
|
|
19835
21352
|
warnings: Array<{
|
|
19836
21353
|
code: string
|
|
@@ -19863,7 +21380,7 @@ export type FreezeArtifactVersionErrors = {
|
|
|
19863
21380
|
400: {
|
|
19864
21381
|
error: string
|
|
19865
21382
|
/**
|
|
19866
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
21383
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
19867
21384
|
*/
|
|
19868
21385
|
code?: string
|
|
19869
21386
|
/**
|
|
@@ -19888,7 +21405,7 @@ export type FreezeArtifactVersionErrors = {
|
|
|
19888
21405
|
403: {
|
|
19889
21406
|
error: string
|
|
19890
21407
|
/**
|
|
19891
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
21408
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
19892
21409
|
*/
|
|
19893
21410
|
code?: string
|
|
19894
21411
|
/**
|
|
@@ -19913,7 +21430,7 @@ export type FreezeArtifactVersionErrors = {
|
|
|
19913
21430
|
404: {
|
|
19914
21431
|
error: string
|
|
19915
21432
|
/**
|
|
19916
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
21433
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
19917
21434
|
*/
|
|
19918
21435
|
code?: string
|
|
19919
21436
|
/**
|
|
@@ -19938,7 +21455,7 @@ export type FreezeArtifactVersionErrors = {
|
|
|
19938
21455
|
409: {
|
|
19939
21456
|
error: string
|
|
19940
21457
|
/**
|
|
19941
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
21458
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
19942
21459
|
*/
|
|
19943
21460
|
code?: string
|
|
19944
21461
|
/**
|
|
@@ -19963,7 +21480,7 @@ export type FreezeArtifactVersionErrors = {
|
|
|
19963
21480
|
501: {
|
|
19964
21481
|
error: string
|
|
19965
21482
|
/**
|
|
19966
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
21483
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
19967
21484
|
*/
|
|
19968
21485
|
code?: string
|
|
19969
21486
|
/**
|
|
@@ -20047,6 +21564,33 @@ export type FreezeArtifactVersionResponses = {
|
|
|
20047
21564
|
text: string
|
|
20048
21565
|
slug: string
|
|
20049
21566
|
}>
|
|
21567
|
+
/**
|
|
21568
|
+
* html for a designed document, document.html with its own stylesheets
|
|
21569
|
+
*/
|
|
21570
|
+
format?: "html"
|
|
21571
|
+
/**
|
|
21572
|
+
* The sheet a designed document's @page rule sets, in CSS pixels: its size and margins
|
|
21573
|
+
*/
|
|
21574
|
+
paper?: {
|
|
21575
|
+
width: number
|
|
21576
|
+
height: number
|
|
21577
|
+
margin: {
|
|
21578
|
+
top: number
|
|
21579
|
+
right: number
|
|
21580
|
+
bottom: number
|
|
21581
|
+
left: number
|
|
21582
|
+
}
|
|
21583
|
+
}
|
|
21584
|
+
/**
|
|
21585
|
+
* The object a designed document shows live data of, as <meta name="sixb:object-type"> names its type: the one object of that type that holds the document
|
|
21586
|
+
*/
|
|
21587
|
+
holder?: {
|
|
21588
|
+
objectTypeId: string
|
|
21589
|
+
/**
|
|
21590
|
+
* The holder's links its fields read through
|
|
21591
|
+
*/
|
|
21592
|
+
links: Array<string>
|
|
21593
|
+
}
|
|
20050
21594
|
}
|
|
20051
21595
|
| {
|
|
20052
21596
|
kind: "sheet"
|
|
@@ -20149,6 +21693,10 @@ export type FreezeArtifactVersionResponses = {
|
|
|
20149
21693
|
boardPreviews?: {
|
|
20150
21694
|
[key: string]: "ready" | "pending" | "none"
|
|
20151
21695
|
}
|
|
21696
|
+
/**
|
|
21697
|
+
* true for a designed document in a project that prints to PDF: POST to its pdf route to print it, with the values whoever asks reads
|
|
21698
|
+
*/
|
|
21699
|
+
printable?: boolean
|
|
20152
21700
|
}
|
|
20153
21701
|
}
|
|
20154
21702
|
}
|
|
@@ -20172,7 +21720,7 @@ export type ListArtifactCommentsErrors = {
|
|
|
20172
21720
|
403: {
|
|
20173
21721
|
error: string
|
|
20174
21722
|
/**
|
|
20175
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
21723
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20176
21724
|
*/
|
|
20177
21725
|
code?: string
|
|
20178
21726
|
/**
|
|
@@ -20197,7 +21745,7 @@ export type ListArtifactCommentsErrors = {
|
|
|
20197
21745
|
404: {
|
|
20198
21746
|
error: string
|
|
20199
21747
|
/**
|
|
20200
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
21748
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20201
21749
|
*/
|
|
20202
21750
|
code?: string
|
|
20203
21751
|
/**
|
|
@@ -20222,7 +21770,7 @@ export type ListArtifactCommentsErrors = {
|
|
|
20222
21770
|
501: {
|
|
20223
21771
|
error: string
|
|
20224
21772
|
/**
|
|
20225
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
21773
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20226
21774
|
*/
|
|
20227
21775
|
code?: string
|
|
20228
21776
|
/**
|
|
@@ -20379,7 +21927,7 @@ export type AddArtifactCommentErrors = {
|
|
|
20379
21927
|
400: {
|
|
20380
21928
|
error: string
|
|
20381
21929
|
/**
|
|
20382
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
21930
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20383
21931
|
*/
|
|
20384
21932
|
code?: string
|
|
20385
21933
|
/**
|
|
@@ -20404,7 +21952,7 @@ export type AddArtifactCommentErrors = {
|
|
|
20404
21952
|
403: {
|
|
20405
21953
|
error: string
|
|
20406
21954
|
/**
|
|
20407
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
21955
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20408
21956
|
*/
|
|
20409
21957
|
code?: string
|
|
20410
21958
|
/**
|
|
@@ -20429,7 +21977,7 @@ export type AddArtifactCommentErrors = {
|
|
|
20429
21977
|
404: {
|
|
20430
21978
|
error: string
|
|
20431
21979
|
/**
|
|
20432
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
21980
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20433
21981
|
*/
|
|
20434
21982
|
code?: string
|
|
20435
21983
|
/**
|
|
@@ -20454,7 +22002,7 @@ export type AddArtifactCommentErrors = {
|
|
|
20454
22002
|
413: {
|
|
20455
22003
|
error: string
|
|
20456
22004
|
/**
|
|
20457
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
22005
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20458
22006
|
*/
|
|
20459
22007
|
code?: string
|
|
20460
22008
|
/**
|
|
@@ -20479,7 +22027,7 @@ export type AddArtifactCommentErrors = {
|
|
|
20479
22027
|
501: {
|
|
20480
22028
|
error: string
|
|
20481
22029
|
/**
|
|
20482
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
22030
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20483
22031
|
*/
|
|
20484
22032
|
code?: string
|
|
20485
22033
|
/**
|
|
@@ -20600,7 +22148,7 @@ export type ResolveArtifactCommentErrors = {
|
|
|
20600
22148
|
400: {
|
|
20601
22149
|
error: string
|
|
20602
22150
|
/**
|
|
20603
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
22151
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20604
22152
|
*/
|
|
20605
22153
|
code?: string
|
|
20606
22154
|
/**
|
|
@@ -20625,7 +22173,7 @@ export type ResolveArtifactCommentErrors = {
|
|
|
20625
22173
|
403: {
|
|
20626
22174
|
error: string
|
|
20627
22175
|
/**
|
|
20628
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
22176
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20629
22177
|
*/
|
|
20630
22178
|
code?: string
|
|
20631
22179
|
/**
|
|
@@ -20650,7 +22198,7 @@ export type ResolveArtifactCommentErrors = {
|
|
|
20650
22198
|
404: {
|
|
20651
22199
|
error: string
|
|
20652
22200
|
/**
|
|
20653
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
22201
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20654
22202
|
*/
|
|
20655
22203
|
code?: string
|
|
20656
22204
|
/**
|
|
@@ -20675,7 +22223,7 @@ export type ResolveArtifactCommentErrors = {
|
|
|
20675
22223
|
501: {
|
|
20676
22224
|
error: string
|
|
20677
22225
|
/**
|
|
20678
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
22226
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20679
22227
|
*/
|
|
20680
22228
|
code?: string
|
|
20681
22229
|
/**
|
|
@@ -20792,7 +22340,7 @@ export type DeleteArtifactCommentErrors = {
|
|
|
20792
22340
|
403: {
|
|
20793
22341
|
error: string
|
|
20794
22342
|
/**
|
|
20795
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
22343
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20796
22344
|
*/
|
|
20797
22345
|
code?: string
|
|
20798
22346
|
/**
|
|
@@ -20817,7 +22365,7 @@ export type DeleteArtifactCommentErrors = {
|
|
|
20817
22365
|
404: {
|
|
20818
22366
|
error: string
|
|
20819
22367
|
/**
|
|
20820
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
22368
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20821
22369
|
*/
|
|
20822
22370
|
code?: string
|
|
20823
22371
|
/**
|
|
@@ -20842,7 +22390,7 @@ export type DeleteArtifactCommentErrors = {
|
|
|
20842
22390
|
501: {
|
|
20843
22391
|
error: string
|
|
20844
22392
|
/**
|
|
20845
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
22393
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20846
22394
|
*/
|
|
20847
22395
|
code?: string
|
|
20848
22396
|
/**
|
|
@@ -20894,7 +22442,7 @@ export type ListArtifactRestorePointsErrors = {
|
|
|
20894
22442
|
403: {
|
|
20895
22443
|
error: string
|
|
20896
22444
|
/**
|
|
20897
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
22445
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20898
22446
|
*/
|
|
20899
22447
|
code?: string
|
|
20900
22448
|
/**
|
|
@@ -20919,7 +22467,7 @@ export type ListArtifactRestorePointsErrors = {
|
|
|
20919
22467
|
404: {
|
|
20920
22468
|
error: string
|
|
20921
22469
|
/**
|
|
20922
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
22470
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20923
22471
|
*/
|
|
20924
22472
|
code?: string
|
|
20925
22473
|
/**
|
|
@@ -20944,7 +22492,7 @@ export type ListArtifactRestorePointsErrors = {
|
|
|
20944
22492
|
501: {
|
|
20945
22493
|
error: string
|
|
20946
22494
|
/**
|
|
20947
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
22495
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
20948
22496
|
*/
|
|
20949
22497
|
code?: string
|
|
20950
22498
|
/**
|
|
@@ -21045,7 +22593,7 @@ export type GetArtifactRestorePointErrors = {
|
|
|
21045
22593
|
403: {
|
|
21046
22594
|
error: string
|
|
21047
22595
|
/**
|
|
21048
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
22596
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
21049
22597
|
*/
|
|
21050
22598
|
code?: string
|
|
21051
22599
|
/**
|
|
@@ -21070,7 +22618,7 @@ export type GetArtifactRestorePointErrors = {
|
|
|
21070
22618
|
404: {
|
|
21071
22619
|
error: string
|
|
21072
22620
|
/**
|
|
21073
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
22621
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
21074
22622
|
*/
|
|
21075
22623
|
code?: string
|
|
21076
22624
|
/**
|
|
@@ -21095,7 +22643,7 @@ export type GetArtifactRestorePointErrors = {
|
|
|
21095
22643
|
501: {
|
|
21096
22644
|
error: string
|
|
21097
22645
|
/**
|
|
21098
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
22646
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
21099
22647
|
*/
|
|
21100
22648
|
code?: string
|
|
21101
22649
|
/**
|
|
@@ -21188,6 +22736,33 @@ export type GetArtifactRestorePointResponses = {
|
|
|
21188
22736
|
text: string
|
|
21189
22737
|
slug: string
|
|
21190
22738
|
}>
|
|
22739
|
+
/**
|
|
22740
|
+
* html for a designed document, document.html with its own stylesheets
|
|
22741
|
+
*/
|
|
22742
|
+
format?: "html"
|
|
22743
|
+
/**
|
|
22744
|
+
* The sheet a designed document's @page rule sets, in CSS pixels: its size and margins
|
|
22745
|
+
*/
|
|
22746
|
+
paper?: {
|
|
22747
|
+
width: number
|
|
22748
|
+
height: number
|
|
22749
|
+
margin: {
|
|
22750
|
+
top: number
|
|
22751
|
+
right: number
|
|
22752
|
+
bottom: number
|
|
22753
|
+
left: number
|
|
22754
|
+
}
|
|
22755
|
+
}
|
|
22756
|
+
/**
|
|
22757
|
+
* The object a designed document shows live data of, as <meta name="sixb:object-type"> names its type: the one object of that type that holds the document
|
|
22758
|
+
*/
|
|
22759
|
+
holder?: {
|
|
22760
|
+
objectTypeId: string
|
|
22761
|
+
/**
|
|
22762
|
+
* The holder's links its fields read through
|
|
22763
|
+
*/
|
|
22764
|
+
links: Array<string>
|
|
22765
|
+
}
|
|
21191
22766
|
}
|
|
21192
22767
|
| {
|
|
21193
22768
|
kind: "sheet"
|
|
@@ -21338,7 +22913,7 @@ export type RestoreArtifactErrors = {
|
|
|
21338
22913
|
400: {
|
|
21339
22914
|
error: string
|
|
21340
22915
|
/**
|
|
21341
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
22916
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
21342
22917
|
*/
|
|
21343
22918
|
code?: string
|
|
21344
22919
|
/**
|
|
@@ -21363,7 +22938,7 @@ export type RestoreArtifactErrors = {
|
|
|
21363
22938
|
403: {
|
|
21364
22939
|
error: string
|
|
21365
22940
|
/**
|
|
21366
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
22941
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
21367
22942
|
*/
|
|
21368
22943
|
code?: string
|
|
21369
22944
|
/**
|
|
@@ -21388,7 +22963,7 @@ export type RestoreArtifactErrors = {
|
|
|
21388
22963
|
404: {
|
|
21389
22964
|
error: string
|
|
21390
22965
|
/**
|
|
21391
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
22966
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
21392
22967
|
*/
|
|
21393
22968
|
code?: string
|
|
21394
22969
|
/**
|
|
@@ -21413,7 +22988,7 @@ export type RestoreArtifactErrors = {
|
|
|
21413
22988
|
409: {
|
|
21414
22989
|
error: string
|
|
21415
22990
|
/**
|
|
21416
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
22991
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
21417
22992
|
*/
|
|
21418
22993
|
code?: string
|
|
21419
22994
|
/**
|
|
@@ -21438,7 +23013,7 @@ export type RestoreArtifactErrors = {
|
|
|
21438
23013
|
501: {
|
|
21439
23014
|
error: string
|
|
21440
23015
|
/**
|
|
21441
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
23016
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
21442
23017
|
*/
|
|
21443
23018
|
code?: string
|
|
21444
23019
|
/**
|
|
@@ -21521,6 +23096,33 @@ export type RestoreArtifactResponses = {
|
|
|
21521
23096
|
text: string
|
|
21522
23097
|
slug: string
|
|
21523
23098
|
}>
|
|
23099
|
+
/**
|
|
23100
|
+
* html for a designed document, document.html with its own stylesheets
|
|
23101
|
+
*/
|
|
23102
|
+
format?: "html"
|
|
23103
|
+
/**
|
|
23104
|
+
* The sheet a designed document's @page rule sets, in CSS pixels: its size and margins
|
|
23105
|
+
*/
|
|
23106
|
+
paper?: {
|
|
23107
|
+
width: number
|
|
23108
|
+
height: number
|
|
23109
|
+
margin: {
|
|
23110
|
+
top: number
|
|
23111
|
+
right: number
|
|
23112
|
+
bottom: number
|
|
23113
|
+
left: number
|
|
23114
|
+
}
|
|
23115
|
+
}
|
|
23116
|
+
/**
|
|
23117
|
+
* The object a designed document shows live data of, as <meta name="sixb:object-type"> names its type: the one object of that type that holds the document
|
|
23118
|
+
*/
|
|
23119
|
+
holder?: {
|
|
23120
|
+
objectTypeId: string
|
|
23121
|
+
/**
|
|
23122
|
+
* The holder's links its fields read through
|
|
23123
|
+
*/
|
|
23124
|
+
links: Array<string>
|
|
23125
|
+
}
|
|
21524
23126
|
}
|
|
21525
23127
|
| {
|
|
21526
23128
|
kind: "sheet"
|
|
@@ -21623,6 +23225,10 @@ export type RestoreArtifactResponses = {
|
|
|
21623
23225
|
boardPreviews?: {
|
|
21624
23226
|
[key: string]: "ready" | "pending" | "none"
|
|
21625
23227
|
}
|
|
23228
|
+
/**
|
|
23229
|
+
* true for a designed document in a project that prints to PDF: POST to its pdf route to print it, with the values whoever asks reads
|
|
23230
|
+
*/
|
|
23231
|
+
printable?: boolean
|
|
21626
23232
|
}
|
|
21627
23233
|
}
|
|
21628
23234
|
}
|
|
@@ -21649,7 +23255,7 @@ export type CreateArtifactFrameErrors = {
|
|
|
21649
23255
|
403: {
|
|
21650
23256
|
error: string
|
|
21651
23257
|
/**
|
|
21652
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
23258
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
21653
23259
|
*/
|
|
21654
23260
|
code?: string
|
|
21655
23261
|
/**
|
|
@@ -21674,7 +23280,7 @@ export type CreateArtifactFrameErrors = {
|
|
|
21674
23280
|
404: {
|
|
21675
23281
|
error: string
|
|
21676
23282
|
/**
|
|
21677
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
23283
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
21678
23284
|
*/
|
|
21679
23285
|
code?: string
|
|
21680
23286
|
/**
|
|
@@ -21699,7 +23305,7 @@ export type CreateArtifactFrameErrors = {
|
|
|
21699
23305
|
409: {
|
|
21700
23306
|
error: string
|
|
21701
23307
|
/**
|
|
21702
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
23308
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
21703
23309
|
*/
|
|
21704
23310
|
code?: string
|
|
21705
23311
|
/**
|
|
@@ -21724,7 +23330,7 @@ export type CreateArtifactFrameErrors = {
|
|
|
21724
23330
|
501: {
|
|
21725
23331
|
error: string
|
|
21726
23332
|
/**
|
|
21727
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
23333
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
21728
23334
|
*/
|
|
21729
23335
|
code?: string
|
|
21730
23336
|
/**
|
|
@@ -21786,7 +23392,7 @@ export type GetArtifactVersionErrors = {
|
|
|
21786
23392
|
403: {
|
|
21787
23393
|
error: string
|
|
21788
23394
|
/**
|
|
21789
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
23395
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
21790
23396
|
*/
|
|
21791
23397
|
code?: string
|
|
21792
23398
|
/**
|
|
@@ -21811,7 +23417,7 @@ export type GetArtifactVersionErrors = {
|
|
|
21811
23417
|
404: {
|
|
21812
23418
|
error: string
|
|
21813
23419
|
/**
|
|
21814
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
23420
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
21815
23421
|
*/
|
|
21816
23422
|
code?: string
|
|
21817
23423
|
/**
|
|
@@ -21836,7 +23442,7 @@ export type GetArtifactVersionErrors = {
|
|
|
21836
23442
|
501: {
|
|
21837
23443
|
error: string
|
|
21838
23444
|
/**
|
|
21839
|
-
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
23445
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
21840
23446
|
*/
|
|
21841
23447
|
code?: string
|
|
21842
23448
|
/**
|
|
@@ -21898,6 +23504,33 @@ export type GetArtifactVersionResponses = {
|
|
|
21898
23504
|
text: string
|
|
21899
23505
|
slug: string
|
|
21900
23506
|
}>
|
|
23507
|
+
/**
|
|
23508
|
+
* html for a designed document, document.html with its own stylesheets
|
|
23509
|
+
*/
|
|
23510
|
+
format?: "html"
|
|
23511
|
+
/**
|
|
23512
|
+
* The sheet a designed document's @page rule sets, in CSS pixels: its size and margins
|
|
23513
|
+
*/
|
|
23514
|
+
paper?: {
|
|
23515
|
+
width: number
|
|
23516
|
+
height: number
|
|
23517
|
+
margin: {
|
|
23518
|
+
top: number
|
|
23519
|
+
right: number
|
|
23520
|
+
bottom: number
|
|
23521
|
+
left: number
|
|
23522
|
+
}
|
|
23523
|
+
}
|
|
23524
|
+
/**
|
|
23525
|
+
* The object a designed document shows live data of, as <meta name="sixb:object-type"> names its type: the one object of that type that holds the document
|
|
23526
|
+
*/
|
|
23527
|
+
holder?: {
|
|
23528
|
+
objectTypeId: string
|
|
23529
|
+
/**
|
|
23530
|
+
* The holder's links its fields read through
|
|
23531
|
+
*/
|
|
23532
|
+
links: Array<string>
|
|
23533
|
+
}
|
|
21901
23534
|
}
|
|
21902
23535
|
| {
|
|
21903
23536
|
kind: "sheet"
|
|
@@ -22000,12 +23633,221 @@ export type GetArtifactVersionResponses = {
|
|
|
22000
23633
|
boardPreviews?: {
|
|
22001
23634
|
[key: string]: "ready" | "pending" | "none"
|
|
22002
23635
|
}
|
|
23636
|
+
/**
|
|
23637
|
+
* true for a designed document in a project that prints to PDF: POST to its pdf route to print it, with the values whoever asks reads
|
|
23638
|
+
*/
|
|
23639
|
+
printable?: boolean
|
|
22003
23640
|
}
|
|
22004
23641
|
}
|
|
22005
23642
|
|
|
22006
23643
|
export type GetArtifactVersionResponse =
|
|
22007
23644
|
GetArtifactVersionResponses[keyof GetArtifactVersionResponses]
|
|
22008
23645
|
|
|
23646
|
+
export type GetArtifactPdfData = {
|
|
23647
|
+
body?: never
|
|
23648
|
+
path: {
|
|
23649
|
+
artifactId: string
|
|
23650
|
+
/**
|
|
23651
|
+
* A version number, or "latest"
|
|
23652
|
+
*/
|
|
23653
|
+
version: string
|
|
23654
|
+
}
|
|
23655
|
+
query?: {
|
|
23656
|
+
/**
|
|
23657
|
+
* The values a document that shows live data prints: ask with it again, and get that PDF with it, whatever the values are by then
|
|
23658
|
+
*/
|
|
23659
|
+
key?: string
|
|
23660
|
+
}
|
|
23661
|
+
url: "/api/artifacts/{artifactId}/versions/{version}/pdf"
|
|
23662
|
+
}
|
|
23663
|
+
|
|
23664
|
+
export type GetArtifactPdfErrors = {
|
|
23665
|
+
/**
|
|
23666
|
+
* Response for status 403
|
|
23667
|
+
*/
|
|
23668
|
+
403: ArtifactErrorResponse
|
|
23669
|
+
/**
|
|
23670
|
+
* Response for status 404
|
|
23671
|
+
*/
|
|
23672
|
+
404: ArtifactErrorResponse
|
|
23673
|
+
}
|
|
23674
|
+
|
|
23675
|
+
export type GetArtifactPdfError = GetArtifactPdfErrors[keyof GetArtifactPdfErrors]
|
|
23676
|
+
|
|
23677
|
+
export type GetArtifactPdfResponses = {
|
|
23678
|
+
/**
|
|
23679
|
+
* The PDF
|
|
23680
|
+
*/
|
|
23681
|
+
200: Blob | File
|
|
23682
|
+
}
|
|
23683
|
+
|
|
23684
|
+
export type GetArtifactPdfResponse = GetArtifactPdfResponses[keyof GetArtifactPdfResponses]
|
|
23685
|
+
|
|
23686
|
+
export type PrintArtifactPdfData = {
|
|
23687
|
+
body?: never
|
|
23688
|
+
path: {
|
|
23689
|
+
artifactId: string
|
|
23690
|
+
/**
|
|
23691
|
+
* A version number, or "latest"
|
|
23692
|
+
*/
|
|
23693
|
+
version: string
|
|
23694
|
+
}
|
|
23695
|
+
query?: {
|
|
23696
|
+
/**
|
|
23697
|
+
* true asks again for a PDF that could not be printed, instead of hearing why
|
|
23698
|
+
*/
|
|
23699
|
+
retry?: "true" | "false"
|
|
23700
|
+
/**
|
|
23701
|
+
* The values a document that shows live data prints: ask with it again, and get that PDF with it, whatever the values are by then
|
|
23702
|
+
*/
|
|
23703
|
+
key?: string
|
|
23704
|
+
}
|
|
23705
|
+
url: "/api/artifacts/{artifactId}/versions/{version}/pdf"
|
|
23706
|
+
}
|
|
23707
|
+
|
|
23708
|
+
export type PrintArtifactPdfErrors = {
|
|
23709
|
+
/**
|
|
23710
|
+
* Response for status 400
|
|
23711
|
+
*/
|
|
23712
|
+
400: {
|
|
23713
|
+
error: string
|
|
23714
|
+
/**
|
|
23715
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
23716
|
+
*/
|
|
23717
|
+
code?: string
|
|
23718
|
+
/**
|
|
23719
|
+
* With artifact_moved: the artifact's latest version, its revision, who last wrote it, and who created it once it is frozen
|
|
23720
|
+
*/
|
|
23721
|
+
latest?: {
|
|
23722
|
+
version: number
|
|
23723
|
+
revision: number
|
|
23724
|
+
author: {
|
|
23725
|
+
type: "user" | "serviceAccount" | "system"
|
|
23726
|
+
id: string
|
|
23727
|
+
}
|
|
23728
|
+
frozenBy?: {
|
|
23729
|
+
type: "user" | "serviceAccount" | "system"
|
|
23730
|
+
id: string
|
|
23731
|
+
}
|
|
23732
|
+
}
|
|
23733
|
+
}
|
|
23734
|
+
/**
|
|
23735
|
+
* Response for status 403
|
|
23736
|
+
*/
|
|
23737
|
+
403: {
|
|
23738
|
+
error: string
|
|
23739
|
+
/**
|
|
23740
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
23741
|
+
*/
|
|
23742
|
+
code?: string
|
|
23743
|
+
/**
|
|
23744
|
+
* With artifact_moved: the artifact's latest version, its revision, who last wrote it, and who created it once it is frozen
|
|
23745
|
+
*/
|
|
23746
|
+
latest?: {
|
|
23747
|
+
version: number
|
|
23748
|
+
revision: number
|
|
23749
|
+
author: {
|
|
23750
|
+
type: "user" | "serviceAccount" | "system"
|
|
23751
|
+
id: string
|
|
23752
|
+
}
|
|
23753
|
+
frozenBy?: {
|
|
23754
|
+
type: "user" | "serviceAccount" | "system"
|
|
23755
|
+
id: string
|
|
23756
|
+
}
|
|
23757
|
+
}
|
|
23758
|
+
}
|
|
23759
|
+
/**
|
|
23760
|
+
* Response for status 404
|
|
23761
|
+
*/
|
|
23762
|
+
404: {
|
|
23763
|
+
error: string
|
|
23764
|
+
/**
|
|
23765
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
23766
|
+
*/
|
|
23767
|
+
code?: string
|
|
23768
|
+
/**
|
|
23769
|
+
* With artifact_moved: the artifact's latest version, its revision, who last wrote it, and who created it once it is frozen
|
|
23770
|
+
*/
|
|
23771
|
+
latest?: {
|
|
23772
|
+
version: number
|
|
23773
|
+
revision: number
|
|
23774
|
+
author: {
|
|
23775
|
+
type: "user" | "serviceAccount" | "system"
|
|
23776
|
+
id: string
|
|
23777
|
+
}
|
|
23778
|
+
frozenBy?: {
|
|
23779
|
+
type: "user" | "serviceAccount" | "system"
|
|
23780
|
+
id: string
|
|
23781
|
+
}
|
|
23782
|
+
}
|
|
23783
|
+
}
|
|
23784
|
+
/**
|
|
23785
|
+
* Response for status 501
|
|
23786
|
+
*/
|
|
23787
|
+
501: {
|
|
23788
|
+
error: string
|
|
23789
|
+
/**
|
|
23790
|
+
* Stable machine-readable failure code: artifact_not_found, artifact_kind_mismatch, artifact_moved, restore_point_not_found, comment_not_found, invalid_artifact, invalid_comment, invalid_state, name_required (a shared link's guest gives their name before commenting), state_full, comments_full, not_allowed, not_shared (it exists but neither a conversation nor an object you read shares it), read_only (you only read it), query_not_found, holder_not_found (no one object of the type a designed document names that you read holds it), query_invalid (the ontology no longer admits the query), preview_not_found (the board has no preview yet, or will have none), pdf_not_found (the document is not printed yet: ask for it first), pdf_unavailable (the project has no sandboxes to print in), execution_lost (a run token's run ended or moved to another runner), or storage_unavailable.
|
|
23791
|
+
*/
|
|
23792
|
+
code?: string
|
|
23793
|
+
/**
|
|
23794
|
+
* With artifact_moved: the artifact's latest version, its revision, who last wrote it, and who created it once it is frozen
|
|
23795
|
+
*/
|
|
23796
|
+
latest?: {
|
|
23797
|
+
version: number
|
|
23798
|
+
revision: number
|
|
23799
|
+
author: {
|
|
23800
|
+
type: "user" | "serviceAccount" | "system"
|
|
23801
|
+
id: string
|
|
23802
|
+
}
|
|
23803
|
+
frozenBy?: {
|
|
23804
|
+
type: "user" | "serviceAccount" | "system"
|
|
23805
|
+
id: string
|
|
23806
|
+
}
|
|
23807
|
+
}
|
|
23808
|
+
}
|
|
23809
|
+
}
|
|
23810
|
+
|
|
23811
|
+
export type PrintArtifactPdfError = PrintArtifactPdfErrors[keyof PrintArtifactPdfErrors]
|
|
23812
|
+
|
|
23813
|
+
export type PrintArtifactPdfResponses = {
|
|
23814
|
+
/**
|
|
23815
|
+
* Response for status 200
|
|
23816
|
+
*/
|
|
23817
|
+
200:
|
|
23818
|
+
| {
|
|
23819
|
+
status: "ready"
|
|
23820
|
+
/**
|
|
23821
|
+
* How many pages it printed on
|
|
23822
|
+
*/
|
|
23823
|
+
pages: number
|
|
23824
|
+
/**
|
|
23825
|
+
* The values a document that shows live data prints: ask with it again, and get that PDF with it, whatever the values are by then
|
|
23826
|
+
*/
|
|
23827
|
+
key?: string
|
|
23828
|
+
}
|
|
23829
|
+
| {
|
|
23830
|
+
status: "printing"
|
|
23831
|
+
/**
|
|
23832
|
+
* The values a document that shows live data prints: ask with it again, and get that PDF with it, whatever the values are by then
|
|
23833
|
+
*/
|
|
23834
|
+
key?: string
|
|
23835
|
+
}
|
|
23836
|
+
| {
|
|
23837
|
+
status: "failed"
|
|
23838
|
+
/**
|
|
23839
|
+
* Why it could not be printed
|
|
23840
|
+
*/
|
|
23841
|
+
reason: string
|
|
23842
|
+
/**
|
|
23843
|
+
* The values a document that shows live data prints: ask with it again, and get that PDF with it, whatever the values are by then
|
|
23844
|
+
*/
|
|
23845
|
+
key?: string
|
|
23846
|
+
}
|
|
23847
|
+
}
|
|
23848
|
+
|
|
23849
|
+
export type PrintArtifactPdfResponse = PrintArtifactPdfResponses[keyof PrintArtifactPdfResponses]
|
|
23850
|
+
|
|
22009
23851
|
export type GetArtifactBoardPreviewData = {
|
|
22010
23852
|
body?: never
|
|
22011
23853
|
path: {
|
|
@@ -22957,6 +24799,11 @@ export type GetObjectLinkLineageResponses = {
|
|
|
22957
24799
|
indexingId: string
|
|
22958
24800
|
}
|
|
22959
24801
|
}
|
|
24802
|
+
| {
|
|
24803
|
+
type: "script"
|
|
24804
|
+
runId: string
|
|
24805
|
+
path: string
|
|
24806
|
+
}
|
|
22960
24807
|
/**
|
|
22961
24808
|
* Absent for a direct write, and for an Action run the caller cannot view.
|
|
22962
24809
|
*/
|
|
@@ -23011,6 +24858,11 @@ export type GetObjectLinkLineageResponses = {
|
|
|
23011
24858
|
indexingId: string
|
|
23012
24859
|
}
|
|
23013
24860
|
}
|
|
24861
|
+
| {
|
|
24862
|
+
type: "script"
|
|
24863
|
+
runId: string
|
|
24864
|
+
path: string
|
|
24865
|
+
}
|
|
23014
24866
|
}
|
|
23015
24867
|
| {
|
|
23016
24868
|
kind: "identity"
|
|
@@ -23199,6 +25051,7 @@ export type ListEventsData = {
|
|
|
23199
25051
|
| "rules"
|
|
23200
25052
|
| "users"
|
|
23201
25053
|
| "artifacts"
|
|
25054
|
+
| "connectors"
|
|
23202
25055
|
type?:
|
|
23203
25056
|
| "object.created"
|
|
23204
25057
|
| "object.updated"
|
|
@@ -23235,6 +25088,8 @@ export type ListEventsData = {
|
|
|
23235
25088
|
| "user.profile.updated"
|
|
23236
25089
|
| "artifact.updated"
|
|
23237
25090
|
| "artifact.commented"
|
|
25091
|
+
| "connector.connection.connected"
|
|
25092
|
+
| "connector.connection.disconnected"
|
|
23238
25093
|
afterCursor?: string
|
|
23239
25094
|
limit?: string
|
|
23240
25095
|
}
|
|
@@ -23346,6 +25201,11 @@ export type ListEventsResponses = {
|
|
|
23346
25201
|
indexingId: string
|
|
23347
25202
|
}
|
|
23348
25203
|
}
|
|
25204
|
+
| {
|
|
25205
|
+
type: "script"
|
|
25206
|
+
runId: string
|
|
25207
|
+
path: string
|
|
25208
|
+
}
|
|
23349
25209
|
commitId: string
|
|
23350
25210
|
commitOrdinal: number
|
|
23351
25211
|
type: "object.created"
|
|
@@ -23513,6 +25373,11 @@ export type ListEventsResponses = {
|
|
|
23513
25373
|
indexingId: string
|
|
23514
25374
|
}
|
|
23515
25375
|
}
|
|
25376
|
+
| {
|
|
25377
|
+
type: "script"
|
|
25378
|
+
runId: string
|
|
25379
|
+
path: string
|
|
25380
|
+
}
|
|
23516
25381
|
commitId: string
|
|
23517
25382
|
commitOrdinal: number
|
|
23518
25383
|
type: "object.updated"
|
|
@@ -23680,6 +25545,11 @@ export type ListEventsResponses = {
|
|
|
23680
25545
|
indexingId: string
|
|
23681
25546
|
}
|
|
23682
25547
|
}
|
|
25548
|
+
| {
|
|
25549
|
+
type: "script"
|
|
25550
|
+
runId: string
|
|
25551
|
+
path: string
|
|
25552
|
+
}
|
|
23683
25553
|
commitId: string
|
|
23684
25554
|
commitOrdinal: number
|
|
23685
25555
|
type: "object.deleted"
|
|
@@ -23836,6 +25706,11 @@ export type ListEventsResponses = {
|
|
|
23836
25706
|
indexingId: string
|
|
23837
25707
|
}
|
|
23838
25708
|
}
|
|
25709
|
+
| {
|
|
25710
|
+
type: "script"
|
|
25711
|
+
runId: string
|
|
25712
|
+
path: string
|
|
25713
|
+
}
|
|
23839
25714
|
commitId: string
|
|
23840
25715
|
commitOrdinal: number
|
|
23841
25716
|
type: "telemetry.appended"
|
|
@@ -23941,6 +25816,11 @@ export type ListEventsResponses = {
|
|
|
23941
25816
|
indexingId: string
|
|
23942
25817
|
}
|
|
23943
25818
|
}
|
|
25819
|
+
| {
|
|
25820
|
+
type: "script"
|
|
25821
|
+
runId: string
|
|
25822
|
+
path: string
|
|
25823
|
+
}
|
|
23944
25824
|
commitId: string
|
|
23945
25825
|
commitOrdinal: number
|
|
23946
25826
|
type: "link.created"
|
|
@@ -24106,6 +25986,11 @@ export type ListEventsResponses = {
|
|
|
24106
25986
|
indexingId: string
|
|
24107
25987
|
}
|
|
24108
25988
|
}
|
|
25989
|
+
| {
|
|
25990
|
+
type: "script"
|
|
25991
|
+
runId: string
|
|
25992
|
+
path: string
|
|
25993
|
+
}
|
|
24109
25994
|
commitId: string
|
|
24110
25995
|
commitOrdinal: number
|
|
24111
25996
|
type: "link.updated"
|
|
@@ -24271,6 +26156,11 @@ export type ListEventsResponses = {
|
|
|
24271
26156
|
indexingId: string
|
|
24272
26157
|
}
|
|
24273
26158
|
}
|
|
26159
|
+
| {
|
|
26160
|
+
type: "script"
|
|
26161
|
+
runId: string
|
|
26162
|
+
path: string
|
|
26163
|
+
}
|
|
24274
26164
|
commitId: string
|
|
24275
26165
|
commitOrdinal: number
|
|
24276
26166
|
type: "link.deleted"
|
|
@@ -24427,6 +26317,8 @@ export type ListEventsResponses = {
|
|
|
24427
26317
|
| "user.profile.updated"
|
|
24428
26318
|
| "artifact.updated"
|
|
24429
26319
|
| "artifact.commented"
|
|
26320
|
+
| "connector.connection.connected"
|
|
26321
|
+
| "connector.connection.disconnected"
|
|
24430
26322
|
topic:
|
|
24431
26323
|
| "objects"
|
|
24432
26324
|
| "telemetry"
|
|
@@ -24439,6 +26331,7 @@ export type ListEventsResponses = {
|
|
|
24439
26331
|
| "rules"
|
|
24440
26332
|
| "users"
|
|
24441
26333
|
| "artifacts"
|
|
26334
|
+
| "connectors"
|
|
24442
26335
|
payload: {
|
|
24443
26336
|
[key: string]: unknown
|
|
24444
26337
|
}
|
|
@@ -25191,6 +27084,7 @@ export type ListProjectionsResponses = {
|
|
|
25191
27084
|
strategy: "mostRecent"
|
|
25192
27085
|
sourceTimestamp: string
|
|
25193
27086
|
}
|
|
27087
|
+
missing?: "remove"
|
|
25194
27088
|
latestRun:
|
|
25195
27089
|
| {
|
|
25196
27090
|
id: string
|
|
@@ -25795,6 +27689,7 @@ export type GetProjectionResponses = {
|
|
|
25795
27689
|
strategy: "mostRecent"
|
|
25796
27690
|
sourceTimestamp: string
|
|
25797
27691
|
}
|
|
27692
|
+
missing?: "remove"
|
|
25798
27693
|
latestRun:
|
|
25799
27694
|
| {
|
|
25800
27695
|
id: string
|