@deepraxis/sdk 0.1.1-dev.3aab976 → 0.1.1-dev.3ab122a
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/METHODS.md +37 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +74 -9
- package/dist/generated/sdk.gen.js +165 -8
- package/dist/generated/types.gen.d.ts +1154 -149
- package/dist/operations.generated.js +297 -10
- package/dist/resources.generated.d.ts +50 -0
- package/dist/resources.generated.js +26 -0
- package/package.json +1 -1
|
@@ -2382,6 +2382,91 @@ export type AgentSseEvent = ({
|
|
|
2382
2382
|
task_id: string | null;
|
|
2383
2383
|
}>;
|
|
2384
2384
|
};
|
|
2385
|
+
} | {
|
|
2386
|
+
/**
|
|
2387
|
+
* Always `system.notification_suppressed`. SSE event name of this frame; its data is a system.notification_suppressed payload. Pending background notifications started no run because the session hit its wake quota; reason says which.
|
|
2388
|
+
*/
|
|
2389
|
+
event?: 'system.notification_suppressed';
|
|
2390
|
+
/**
|
|
2391
|
+
* Decoded JSON payload of this frame; its shape is selected by the event name.
|
|
2392
|
+
*/
|
|
2393
|
+
data?: {
|
|
2394
|
+
/**
|
|
2395
|
+
* Text of the block.
|
|
2396
|
+
*/
|
|
2397
|
+
id: string;
|
|
2398
|
+
/**
|
|
2399
|
+
* Always `system.notification_suppressed`. Pending background notifications started no run because the session hit its wake quota; reason says which.
|
|
2400
|
+
*/
|
|
2401
|
+
type: 'system.notification_suppressed';
|
|
2402
|
+
/**
|
|
2403
|
+
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
2404
|
+
*/
|
|
2405
|
+
processed_at: string;
|
|
2406
|
+
/**
|
|
2407
|
+
* Text of the block.
|
|
2408
|
+
*/
|
|
2409
|
+
session_thread_id?: string;
|
|
2410
|
+
/**
|
|
2411
|
+
* The wake quota that held the batch.
|
|
2412
|
+
*/
|
|
2413
|
+
reason: 'hourly' | 'daily' | 'loop';
|
|
2414
|
+
/**
|
|
2415
|
+
* The pending system inputs that were dropped without a run.
|
|
2416
|
+
*/
|
|
2417
|
+
system_input_ids: Array<string>;
|
|
2418
|
+
/**
|
|
2419
|
+
* The distinct source kinds of those inputs, such as background_task or monitor.
|
|
2420
|
+
*/
|
|
2421
|
+
source_kinds: Array<string>;
|
|
2422
|
+
/**
|
|
2423
|
+
* A platform sentence that explains the pause; never the notification text.
|
|
2424
|
+
*/
|
|
2425
|
+
content: Array<{
|
|
2426
|
+
/**
|
|
2427
|
+
* Always `text`. A text block.
|
|
2428
|
+
*/
|
|
2429
|
+
type: 'text';
|
|
2430
|
+
/**
|
|
2431
|
+
* Text of the block.
|
|
2432
|
+
*/
|
|
2433
|
+
text: string;
|
|
2434
|
+
}>;
|
|
2435
|
+
};
|
|
2436
|
+
} | {
|
|
2437
|
+
/**
|
|
2438
|
+
* Always `system.notification_recorded`. SSE event name of this frame; its data is a system.notification_recorded payload. Pending background notifications were recorded without a run because the agent has no model.
|
|
2439
|
+
*/
|
|
2440
|
+
event?: 'system.notification_recorded';
|
|
2441
|
+
/**
|
|
2442
|
+
* Decoded JSON payload of this frame; its shape is selected by the event name.
|
|
2443
|
+
*/
|
|
2444
|
+
data?: {
|
|
2445
|
+
/**
|
|
2446
|
+
* Text of the block.
|
|
2447
|
+
*/
|
|
2448
|
+
id: string;
|
|
2449
|
+
/**
|
|
2450
|
+
* Always `system.notification_recorded`. Pending background notifications were recorded without a run because the agent has no model.
|
|
2451
|
+
*/
|
|
2452
|
+
type: 'system.notification_recorded';
|
|
2453
|
+
/**
|
|
2454
|
+
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
2455
|
+
*/
|
|
2456
|
+
processed_at: string;
|
|
2457
|
+
/**
|
|
2458
|
+
* Text of the block.
|
|
2459
|
+
*/
|
|
2460
|
+
session_thread_id?: string;
|
|
2461
|
+
/**
|
|
2462
|
+
* The pending system inputs that were recorded without a run.
|
|
2463
|
+
*/
|
|
2464
|
+
system_input_ids: Array<string>;
|
|
2465
|
+
/**
|
|
2466
|
+
* The distinct source kinds of those inputs.
|
|
2467
|
+
*/
|
|
2468
|
+
source_kinds: Array<string>;
|
|
2469
|
+
};
|
|
2385
2470
|
} | {
|
|
2386
2471
|
/**
|
|
2387
2472
|
* Always `session.forked`. SSE event name of this frame; its data is a session.forked payload. The session was created by forking another session.
|
|
@@ -2733,7 +2818,7 @@ export type AgentSseEvent = ({
|
|
|
2733
2818
|
/**
|
|
2734
2819
|
* Server-Sent Events event name of this frame.
|
|
2735
2820
|
*/
|
|
2736
|
-
event: 'system.message' | 'user.message' | 'user.interrupt' | 'agent.message' | 'agent.thinking' | 'session.status_running' | 'session.status_rescheduled' | 'session.status_idle' | 'session.status_terminated' | 'agent.thread_context_compacting' | 'agent.thread_context_compacted' | 'agent.thread_context_reset' | 'session.updated' | 'session.error' | 'session.usage' | 'span.model_request_start' | 'span.model_request_end' | 'agent.tool_use' | 'agent.tool_result' | 'agent.mcp_tool_use' | 'agent.mcp_tool_result' | 'user.tool_confirmation' | 'agent.custom_tool_use' | 'user.custom_tool_result' | 'session.thread_created' | 'session.thread_status_running' | 'session.thread_status_idle' | 'session.thread_status_rescheduled' | 'session.thread_status_terminated' | 'agent.thread_message_sent' | 'agent.thread_message_received' | 'user.withdraw' | 'user.steer' | 'system.notification' | 'session.forked' | 'session.goal_changed' | 'session.goal_verification' | 'event_start' | 'event_delta' | 'ping' | 'error';
|
|
2821
|
+
event: 'system.message' | 'user.message' | 'user.interrupt' | 'agent.message' | 'agent.thinking' | 'session.status_running' | 'session.status_rescheduled' | 'session.status_idle' | 'session.status_terminated' | 'agent.thread_context_compacting' | 'agent.thread_context_compacted' | 'agent.thread_context_reset' | 'session.updated' | 'session.error' | 'session.usage' | 'span.model_request_start' | 'span.model_request_end' | 'agent.tool_use' | 'agent.tool_result' | 'agent.mcp_tool_use' | 'agent.mcp_tool_result' | 'user.tool_confirmation' | 'agent.custom_tool_use' | 'user.custom_tool_result' | 'session.thread_created' | 'session.thread_status_running' | 'session.thread_status_idle' | 'session.thread_status_rescheduled' | 'session.thread_status_terminated' | 'agent.thread_message_sent' | 'agent.thread_message_received' | 'user.withdraw' | 'user.steer' | 'system.notification' | 'system.notification_suppressed' | 'system.notification_recorded' | 'session.forked' | 'session.goal_changed' | 'session.goal_verification' | 'event_start' | 'event_delta' | 'ping' | 'error';
|
|
2737
2822
|
data: AgentSseData;
|
|
2738
2823
|
};
|
|
2739
2824
|
/**
|
|
@@ -15578,6 +15663,23 @@ export type DevopsRun = {
|
|
|
15578
15663
|
* Present only when the read asked to expand failedExecutions; it lists this run's non-passed executions so a second call is not needed.
|
|
15579
15664
|
*/
|
|
15580
15665
|
failedExecutions?: Array<DevopsExecution>;
|
|
15666
|
+
/**
|
|
15667
|
+
* Present only when the run's counts cannot be trusted: they add up to more executions than the cases the run selected, which only happens when a case was counted more than once. Read it before quoting the run's numbers as evidence; a run without it is consistent.
|
|
15668
|
+
*/
|
|
15669
|
+
countsUntrusted?: {
|
|
15670
|
+
/**
|
|
15671
|
+
* What the disjoint count buckets (passed, failed, skipped, pending, other and quarantined failures) add up to; flaky is not added because it qualifies a case already counted as passed.
|
|
15672
|
+
*/
|
|
15673
|
+
counted: number;
|
|
15674
|
+
/**
|
|
15675
|
+
* How many cases the run selected, which is the bound the counts must fit.
|
|
15676
|
+
*/
|
|
15677
|
+
selectedCount: number;
|
|
15678
|
+
/**
|
|
15679
|
+
* How many executions the counts report beyond the selection; 0 never appears here, since the field itself only appears when the counts are over.
|
|
15680
|
+
*/
|
|
15681
|
+
overflow: number;
|
|
15682
|
+
};
|
|
15581
15683
|
};
|
|
15582
15684
|
/**
|
|
15583
15685
|
* The cancellation to record on a run.
|
|
@@ -18311,7 +18413,7 @@ export type MediaLibrary = {
|
|
|
18311
18413
|
};
|
|
18312
18414
|
export type MediaMediaError = {
|
|
18313
18415
|
error: {
|
|
18314
|
-
code: 'LIBRARY_NOT_FOUND' | 'ASSET_NOT_FOUND' | 'JOB_NOT_FOUND' | 'UNDERSTANDING_NOT_FOUND' | 'ASSET_VERSION_CHANGED' | 'LIBRARY_INVALID_STATE' | 'INVALID_PARAMS' | 'INVALID_EXPRESSION' | 'UNSUPPORTED' | 'NOT_IMPLEMENTED' | 'FILE_TOO_LARGE' | 'FILE_EMPTY' | 'UNSUPPORTED_MEDIA' | 'FETCH_FAILED' | 'LIMIT_EXCEEDED' | 'CHUNK_INVALID' | 'RATE_LIMITED' | 'CAPACITY' | 'UPSTREAM_FAILED' | 'CONTENT_REJECTED' | 'GENERATION_FAILED' | 'BINDING_READ_ONLY' | 'OPERATION_NOT_SUPPORTED' | 'MODEL_PENDING' | 'REFERENCE_TYPE_MISMATCH' | 'CONSENT_REQUIRED' | 'LIBRARY_IS_DEFAULT' | 'JOB_INVALID_STATE' | 'VOICE_TRAINING' | 'INSUFFICIENT_BALANCE';
|
|
18416
|
+
code: 'LIBRARY_NOT_FOUND' | 'ASSET_NOT_FOUND' | 'JOB_NOT_FOUND' | 'UNDERSTANDING_NOT_FOUND' | 'ASSET_VERSION_CHANGED' | 'LIBRARY_INVALID_STATE' | 'INVALID_PARAMS' | 'INVALID_EXPRESSION' | 'UNSUPPORTED' | 'NOT_IMPLEMENTED' | 'FILE_TOO_LARGE' | 'FILE_EMPTY' | 'FILE_NOT_READY' | 'UNSUPPORTED_MEDIA' | 'FETCH_FAILED' | 'LIMIT_EXCEEDED' | 'CHUNK_INVALID' | 'RATE_LIMITED' | 'CAPACITY' | 'UPSTREAM_FAILED' | 'CONTENT_REJECTED' | 'GENERATION_FAILED' | 'BINDING_READ_ONLY' | 'OPERATION_NOT_SUPPORTED' | 'MODEL_PENDING' | 'REFERENCE_TYPE_MISMATCH' | 'CONSENT_REQUIRED' | 'LIBRARY_IS_DEFAULT' | 'JOB_INVALID_STATE' | 'VOICE_TRAINING' | 'INSUFFICIENT_BALANCE';
|
|
18315
18417
|
message: string;
|
|
18316
18418
|
details: string | null;
|
|
18317
18419
|
};
|
|
@@ -18990,6 +19092,10 @@ export type MediaJob = {
|
|
|
18990
19092
|
* Generation jobs only: the elements the job’s request expanded, each with the version read when the job was created; absent when none were. Same records as the outputs’ provenance.elements. A request that named no element answers no elements key.
|
|
18991
19093
|
*/
|
|
18992
19094
|
elements?: Array<MediaElementUse>;
|
|
19095
|
+
/**
|
|
19096
|
+
* Present on a completed align job: how the two recordings line up, with offset_seconds and confidence. Absent on every job that produced assets instead of a fact.
|
|
19097
|
+
*/
|
|
19098
|
+
result?: MediaAlignResult;
|
|
18993
19099
|
};
|
|
18994
19100
|
/**
|
|
18995
19101
|
* Operation applied independently to each selected asset; item failures do not undo successful items.
|
|
@@ -19112,7 +19218,7 @@ export type MediaAssetReference = {
|
|
|
19112
19218
|
strength?: number;
|
|
19113
19219
|
};
|
|
19114
19220
|
/**
|
|
19115
|
-
* One edit to apply to the source asset. type selects the operation and the discriminating branch carries that operation’s fields. This release performs variations, inpaint, erase, replace_object, recolor and replace_background on images, remove_background on an image or a video, and to_video, frame and resynthesize on the material each takes; every other type here describes the operation vocabulary and is refused with OPERATION_NOT_SUPPORTED.
|
|
19221
|
+
* One edit to apply to the source asset. type selects the operation and the discriminating branch carries that operation’s fields. This release performs variations, inpaint, erase, replace_object, recolor and replace_background on images, remove_background on an image or a video, upscale, enhance_voice, reframe and redact through Media’s processing lane (upscale on a picture or a video; enhance_voice on a recording or a video, whose audio is used; reframe and redact on a video), and to_video, frame and resynthesize on the material each takes; every other type here describes the operation vocabulary and is refused with OPERATION_NOT_SUPPORTED. align is not an edit — it compares two assets and has its own endpoint, POST /media/v1/libraries/{library_id}/assets/{asset_id}/align.
|
|
19116
19222
|
*/
|
|
19117
19223
|
export type MediaEditOperation = {
|
|
19118
19224
|
/**
|
|
@@ -19137,17 +19243,13 @@ export type MediaEditOperation = {
|
|
|
19137
19243
|
*/
|
|
19138
19244
|
type: 'upscale';
|
|
19139
19245
|
/**
|
|
19140
|
-
*
|
|
19141
|
-
*/
|
|
19142
|
-
mode?: 'fast' | 'conservative' | 'creative';
|
|
19143
|
-
/**
|
|
19144
|
-
* Upscale factor, 2 or 4.
|
|
19246
|
+
* Target height in pixels: 720, 1080, 1440 or 2160; omit it to use 1080. The source’s aspect ratio is kept, and a picture stays a picture while a video stays a video.
|
|
19145
19247
|
*/
|
|
19146
|
-
|
|
19248
|
+
height?: 720 | 1080 | 1440 | 2160;
|
|
19147
19249
|
/**
|
|
19148
|
-
*
|
|
19250
|
+
* Processing model that performs the upscale, from the models the generation capabilities publish for this operation; omit it to use the first available. A request that names none when the platform has published none is refused with OPERATION_NOT_SUPPORTED in the model field.
|
|
19149
19251
|
*/
|
|
19150
|
-
|
|
19252
|
+
model?: string;
|
|
19151
19253
|
} | {
|
|
19152
19254
|
/**
|
|
19153
19255
|
* Edit operation discriminator; outpaint selects the outpaint branch of this union.
|
|
@@ -19362,6 +19464,41 @@ export type MediaEditOperation = {
|
|
|
19362
19464
|
* Edit operation discriminator; to_gif selects the to_gif branch of this union.
|
|
19363
19465
|
*/
|
|
19364
19466
|
type: 'to_gif';
|
|
19467
|
+
} | {
|
|
19468
|
+
/**
|
|
19469
|
+
* Edit operation discriminator; enhance_voice selects the enhance_voice branch of this union.
|
|
19470
|
+
*/
|
|
19471
|
+
type: 'enhance_voice';
|
|
19472
|
+
/**
|
|
19473
|
+
* Processing model that performs the enhancement, from the models the generation capabilities publish for this operation; omit it to use the first available. A request that names none when the platform has published none is refused with OPERATION_NOT_SUPPORTED in the model field.
|
|
19474
|
+
*/
|
|
19475
|
+
model?: string;
|
|
19476
|
+
} | {
|
|
19477
|
+
/**
|
|
19478
|
+
* Edit operation discriminator; reframe selects the reframe branch of this union.
|
|
19479
|
+
*/
|
|
19480
|
+
type: 'reframe';
|
|
19481
|
+
/**
|
|
19482
|
+
* Target aspect ratio: 9:16, 1:1 or 16:9.
|
|
19483
|
+
*/
|
|
19484
|
+
aspect: '9:16' | '1:1' | '16:9';
|
|
19485
|
+
/**
|
|
19486
|
+
* Processing model that performs the re-framing, from the models the generation capabilities publish for this operation; omit it to use the first available. A request that names none when the platform has published none is refused with OPERATION_NOT_SUPPORTED in the model field.
|
|
19487
|
+
*/
|
|
19488
|
+
model?: string;
|
|
19489
|
+
} | {
|
|
19490
|
+
/**
|
|
19491
|
+
* Edit operation discriminator; redact selects the redact branch of this union.
|
|
19492
|
+
*/
|
|
19493
|
+
type: 'redact';
|
|
19494
|
+
/**
|
|
19495
|
+
* What to cover: face, qr or text, one or more, in the order given; an empty, unknown or repeated target is refused with INVALID_PARAMS.
|
|
19496
|
+
*/
|
|
19497
|
+
targets: Array<'face' | 'qr' | 'text'>;
|
|
19498
|
+
/**
|
|
19499
|
+
* Processing model that performs the redaction, from the models the generation capabilities publish for this operation; omit it to use the first available. A request that names none when the platform has published none is refused with OPERATION_NOT_SUPPORTED in the model field.
|
|
19500
|
+
*/
|
|
19501
|
+
model?: string;
|
|
19365
19502
|
} | {
|
|
19366
19503
|
/**
|
|
19367
19504
|
* Edit operation discriminator; voice_change selects the voice_change branch of this union.
|
|
@@ -19532,6 +19669,23 @@ export type MediaGenerationCapabilities = {
|
|
|
19532
19669
|
matting: MediaGenerationTypeCapability;
|
|
19533
19670
|
};
|
|
19534
19671
|
};
|
|
19672
|
+
/**
|
|
19673
|
+
* A video asset’s on-demand HLS ladder for its current version: the asset, the version, and one summary per recorded rung.
|
|
19674
|
+
*/
|
|
19675
|
+
export type MediaHlsLadder = {
|
|
19676
|
+
/**
|
|
19677
|
+
* The video asset this ladder belongs to.
|
|
19678
|
+
*/
|
|
19679
|
+
asset_id: MediaAssetId;
|
|
19680
|
+
/**
|
|
19681
|
+
* The asset version the ladder was built for; a later version gets its own ladder.
|
|
19682
|
+
*/
|
|
19683
|
+
version: number;
|
|
19684
|
+
/**
|
|
19685
|
+
* One entry per rung recorded for this version, ascending by height; an asset whose ladder was never requested, and an asset that is not a video, answer an empty list.
|
|
19686
|
+
*/
|
|
19687
|
+
renditions: Array<MediaHlsRendition>;
|
|
19688
|
+
};
|
|
19535
19689
|
/**
|
|
19536
19690
|
* One page of type registrations; types are few enough that this face returns them in a single page.
|
|
19537
19691
|
*/
|
|
@@ -20614,6 +20768,84 @@ export type SearchValidationError = {
|
|
|
20614
20768
|
};
|
|
20615
20769
|
}>;
|
|
20616
20770
|
};
|
|
20771
|
+
/**
|
|
20772
|
+
* What to share and the limits of its link.
|
|
20773
|
+
*/
|
|
20774
|
+
export type ShareCreateShareInput = {
|
|
20775
|
+
resource: ShareShareResource;
|
|
20776
|
+
/**
|
|
20777
|
+
* ISO 8601 instant after which the link answers 410; omit or null for a link that never expires, and it must be in the future.
|
|
20778
|
+
*/
|
|
20779
|
+
expire_time?: string | null;
|
|
20780
|
+
/**
|
|
20781
|
+
* Ask viewers to open the content without a download prompt; a limit, not a guarantee, because anyone who can read it can save it. Defaults to false.
|
|
20782
|
+
*/
|
|
20783
|
+
prevents_download?: boolean;
|
|
20784
|
+
};
|
|
20785
|
+
/**
|
|
20786
|
+
* One share, which is one revocable link to one object.
|
|
20787
|
+
*/
|
|
20788
|
+
export type ShareSharePermission = {
|
|
20789
|
+
/**
|
|
20790
|
+
* Share id, shr_ followed by 32 lowercase letters or digits; use it to retrieve or delete the share.
|
|
20791
|
+
*/
|
|
20792
|
+
id: string;
|
|
20793
|
+
/**
|
|
20794
|
+
* Object type tag; always share.permission.
|
|
20795
|
+
*/
|
|
20796
|
+
object: 'share.permission';
|
|
20797
|
+
/**
|
|
20798
|
+
* The organization that owns the share, taken from the credential that created it.
|
|
20799
|
+
*/
|
|
20800
|
+
organization_id: string;
|
|
20801
|
+
resource: ShareShareResource;
|
|
20802
|
+
/**
|
|
20803
|
+
* What the link grants; read only.
|
|
20804
|
+
*/
|
|
20805
|
+
roles: Array<'read'>;
|
|
20806
|
+
link: ShareSharePermissionLink;
|
|
20807
|
+
/**
|
|
20808
|
+
* ISO 8601 instant after which the link answers 410, or null when it never expires.
|
|
20809
|
+
*/
|
|
20810
|
+
expire_time: string | null;
|
|
20811
|
+
/**
|
|
20812
|
+
* Current state of the link; expired is derived from expire_time and revoked comes from delete.
|
|
20813
|
+
*/
|
|
20814
|
+
status: 'active' | 'expired' | 'revoked';
|
|
20815
|
+
/**
|
|
20816
|
+
* Who created the share, in the form user:{id}; the user behind the API key or session that made the call.
|
|
20817
|
+
*/
|
|
20818
|
+
created_by: string;
|
|
20819
|
+
/**
|
|
20820
|
+
* When the share was created, ISO 8601.
|
|
20821
|
+
*/
|
|
20822
|
+
create_time: string;
|
|
20823
|
+
/**
|
|
20824
|
+
* When the share was deleted, ISO 8601, or null while it has not been.
|
|
20825
|
+
*/
|
|
20826
|
+
revoke_time: string | null;
|
|
20827
|
+
/**
|
|
20828
|
+
* How many times the link was opened.
|
|
20829
|
+
*/
|
|
20830
|
+
open_count: number;
|
|
20831
|
+
/**
|
|
20832
|
+
* When the link was last opened, ISO 8601, or null if it never was.
|
|
20833
|
+
*/
|
|
20834
|
+
last_open_time: string | null;
|
|
20835
|
+
};
|
|
20836
|
+
/**
|
|
20837
|
+
* One page of shares, newest first.
|
|
20838
|
+
*/
|
|
20839
|
+
export type ShareSharePermissionPage = {
|
|
20840
|
+
/**
|
|
20841
|
+
* Shares in this page; continue with next_page_token when it is not null.
|
|
20842
|
+
*/
|
|
20843
|
+
data: Array<ShareSharePermission>;
|
|
20844
|
+
/**
|
|
20845
|
+
* Opaque token for page_token on the next request; null when no more shares remain.
|
|
20846
|
+
*/
|
|
20847
|
+
next_page_token: string | null;
|
|
20848
|
+
};
|
|
20617
20849
|
/**
|
|
20618
20850
|
* The genre catalog as this caller may use it today.
|
|
20619
20851
|
*/
|
|
@@ -20679,7 +20911,7 @@ export type StudioPlatform = {
|
|
|
20679
20911
|
*/
|
|
20680
20912
|
available_from?: 's3' | 's5' | 's7';
|
|
20681
20913
|
/**
|
|
20682
|
-
* Limit names still unconfirmed against the platform documentation; treat the listed values as provisional.
|
|
20914
|
+
* Limit names still unconfirmed against the platform documentation; treat the listed values as provisional. A name here is spelled as the matching `limits` key is, so it can be looked up there.
|
|
20683
20915
|
*/
|
|
20684
20916
|
unverified?: Array<string>;
|
|
20685
20917
|
};
|
|
@@ -25070,6 +25302,73 @@ export type AgentSseData = {
|
|
|
25070
25302
|
*/
|
|
25071
25303
|
task_id: string | null;
|
|
25072
25304
|
}>;
|
|
25305
|
+
} | {
|
|
25306
|
+
/**
|
|
25307
|
+
* Text of the block.
|
|
25308
|
+
*/
|
|
25309
|
+
id: string;
|
|
25310
|
+
/**
|
|
25311
|
+
* Always `system.notification_suppressed`. Pending background notifications started no run because the session hit its wake quota; reason says which.
|
|
25312
|
+
*/
|
|
25313
|
+
type: 'system.notification_suppressed';
|
|
25314
|
+
/**
|
|
25315
|
+
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
25316
|
+
*/
|
|
25317
|
+
processed_at: string;
|
|
25318
|
+
/**
|
|
25319
|
+
* Text of the block.
|
|
25320
|
+
*/
|
|
25321
|
+
session_thread_id?: string;
|
|
25322
|
+
/**
|
|
25323
|
+
* The wake quota that held the batch.
|
|
25324
|
+
*/
|
|
25325
|
+
reason: 'hourly' | 'daily' | 'loop';
|
|
25326
|
+
/**
|
|
25327
|
+
* The pending system inputs that were dropped without a run.
|
|
25328
|
+
*/
|
|
25329
|
+
system_input_ids: Array<string>;
|
|
25330
|
+
/**
|
|
25331
|
+
* The distinct source kinds of those inputs, such as background_task or monitor.
|
|
25332
|
+
*/
|
|
25333
|
+
source_kinds: Array<string>;
|
|
25334
|
+
/**
|
|
25335
|
+
* A platform sentence that explains the pause; never the notification text.
|
|
25336
|
+
*/
|
|
25337
|
+
content: Array<{
|
|
25338
|
+
/**
|
|
25339
|
+
* Always `text`. A text block.
|
|
25340
|
+
*/
|
|
25341
|
+
type: 'text';
|
|
25342
|
+
/**
|
|
25343
|
+
* Text of the block.
|
|
25344
|
+
*/
|
|
25345
|
+
text: string;
|
|
25346
|
+
}>;
|
|
25347
|
+
} | {
|
|
25348
|
+
/**
|
|
25349
|
+
* Text of the block.
|
|
25350
|
+
*/
|
|
25351
|
+
id: string;
|
|
25352
|
+
/**
|
|
25353
|
+
* Always `system.notification_recorded`. Pending background notifications were recorded without a run because the agent has no model.
|
|
25354
|
+
*/
|
|
25355
|
+
type: 'system.notification_recorded';
|
|
25356
|
+
/**
|
|
25357
|
+
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
25358
|
+
*/
|
|
25359
|
+
processed_at: string;
|
|
25360
|
+
/**
|
|
25361
|
+
* Text of the block.
|
|
25362
|
+
*/
|
|
25363
|
+
session_thread_id?: string;
|
|
25364
|
+
/**
|
|
25365
|
+
* The pending system inputs that were recorded without a run.
|
|
25366
|
+
*/
|
|
25367
|
+
system_input_ids: Array<string>;
|
|
25368
|
+
/**
|
|
25369
|
+
* The distinct source kinds of those inputs.
|
|
25370
|
+
*/
|
|
25371
|
+
source_kinds: Array<string>;
|
|
25073
25372
|
} | {
|
|
25074
25373
|
/**
|
|
25075
25374
|
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
@@ -34834,9 +35133,9 @@ export type MediaChunkComplete = MediaAsset & {
|
|
|
34834
35133
|
*/
|
|
34835
35134
|
export type MediaProcessing = {
|
|
34836
35135
|
/**
|
|
34837
|
-
* Current understanding stage: probe, frames, shots, visual, transcript, transcript_reference, transcript_correction, audio_profile, overview, embedding or finalize. Null after finalization; omitted on assets not yet dispatched.
|
|
35136
|
+
* Current understanding stage: probe, proxy, frames, shots, visual, transcript, transcript_reference, transcript_correction, audio_profile, overview, embedding or finalize. proxy prepares the proxies a large source is understood through. Null after finalization; omitted on assets not yet dispatched.
|
|
34838
35137
|
*/
|
|
34839
|
-
readonly stage?: 'probe' | 'frames' | 'shots' | 'visual' | 'transcript' | 'transcript_reference' | 'transcript_correction' | 'audio_profile' | 'overview' | 'embedding' | 'finalize' | null;
|
|
35138
|
+
readonly stage?: 'probe' | 'proxy' | 'frames' | 'shots' | 'visual' | 'transcript' | 'transcript_reference' | 'transcript_correction' | 'audio_profile' | 'overview' | 'embedding' | 'finalize' | null;
|
|
34840
35139
|
state: MediaProcessingState;
|
|
34841
35140
|
/**
|
|
34842
35141
|
* Processing states by kind. tagging is present when auto_tagging was requested and follows visual understanding.
|
|
@@ -35468,7 +35767,7 @@ export type MediaGenerationType = 'image' | 'video' | 'speech' | 'music' | 'soun
|
|
|
35468
35767
|
* Edit operations: the change this step applied to its parent asset.
|
|
35469
35768
|
*/
|
|
35470
35769
|
export type MediaGenerationOperation = 'generate' | 'clone' | 'tag' | 'untag' | 'set_context' | 'move' | 'delete' | 'reprocess' | 'variations' | 'upscale' | 'outpaint' | 'inpaint' | 'erase' | 'replace_object' | 'recolor' | 'remove_background' | 'replace_background' | 'to_video' | 'extend' | 'edit' | 'lip_sync' | 'frame' | 'to_gif' | 'voice_change' | 'resynthesize';
|
|
35471
|
-
export type MediaMediaErrorCode = 'LIBRARY_NOT_FOUND' | 'ASSET_NOT_FOUND' | 'JOB_NOT_FOUND' | 'UNDERSTANDING_NOT_FOUND' | 'ASSET_VERSION_CHANGED' | 'LIBRARY_INVALID_STATE' | 'INVALID_PARAMS' | 'INVALID_EXPRESSION' | 'UNSUPPORTED' | 'NOT_IMPLEMENTED' | 'FILE_TOO_LARGE' | 'FILE_EMPTY' | 'UNSUPPORTED_MEDIA' | 'FETCH_FAILED' | 'LIMIT_EXCEEDED' | 'CHUNK_INVALID' | 'RATE_LIMITED' | 'CAPACITY' | 'UPSTREAM_FAILED' | 'CONTENT_REJECTED' | 'GENERATION_FAILED' | 'BINDING_READ_ONLY' | 'OPERATION_NOT_SUPPORTED' | 'MODEL_PENDING' | 'REFERENCE_TYPE_MISMATCH' | 'CONSENT_REQUIRED' | 'LIBRARY_IS_DEFAULT' | 'JOB_INVALID_STATE' | 'VOICE_TRAINING' | 'INSUFFICIENT_BALANCE';
|
|
35770
|
+
export type MediaMediaErrorCode = 'LIBRARY_NOT_FOUND' | 'ASSET_NOT_FOUND' | 'JOB_NOT_FOUND' | 'UNDERSTANDING_NOT_FOUND' | 'ASSET_VERSION_CHANGED' | 'LIBRARY_INVALID_STATE' | 'INVALID_PARAMS' | 'INVALID_EXPRESSION' | 'UNSUPPORTED' | 'NOT_IMPLEMENTED' | 'FILE_TOO_LARGE' | 'FILE_EMPTY' | 'FILE_NOT_READY' | 'UNSUPPORTED_MEDIA' | 'FETCH_FAILED' | 'LIMIT_EXCEEDED' | 'CHUNK_INVALID' | 'RATE_LIMITED' | 'CAPACITY' | 'UPSTREAM_FAILED' | 'CONTENT_REJECTED' | 'GENERATION_FAILED' | 'BINDING_READ_ONLY' | 'OPERATION_NOT_SUPPORTED' | 'MODEL_PENDING' | 'REFERENCE_TYPE_MISMATCH' | 'CONSENT_REQUIRED' | 'LIBRARY_IS_DEFAULT' | 'JOB_INVALID_STATE' | 'VOICE_TRAINING' | 'INSUFFICIENT_BALANCE';
|
|
35472
35771
|
/**
|
|
35473
35772
|
* State of a requested generation output.
|
|
35474
35773
|
*/
|
|
@@ -35490,6 +35789,19 @@ export type MediaElementUse = {
|
|
|
35490
35789
|
*/
|
|
35491
35790
|
material_type: MediaElementType;
|
|
35492
35791
|
};
|
|
35792
|
+
/**
|
|
35793
|
+
* How two recordings line up, answered by a completed align job’s result.
|
|
35794
|
+
*/
|
|
35795
|
+
export type MediaAlignResult = {
|
|
35796
|
+
/**
|
|
35797
|
+
* How many seconds later the reference asset starts, relative to the source asset the route named; positive means the reference comes later, so a caller holding both recordings knows which one to slide. It is the negation of the model’s own lag, decided once in the domain.
|
|
35798
|
+
*/
|
|
35799
|
+
offset_seconds: number;
|
|
35800
|
+
/**
|
|
35801
|
+
* How sure the alignment is, from 0 to 1; a low value means the two recordings share little to correlate.
|
|
35802
|
+
*/
|
|
35803
|
+
confidence: number;
|
|
35804
|
+
};
|
|
35493
35805
|
/**
|
|
35494
35806
|
* A recorded library event with a monotonically increasing sequence within that library.
|
|
35495
35807
|
*/
|
|
@@ -35724,6 +36036,32 @@ export type MediaGenerationTypeCapability = {
|
|
|
35724
36036
|
*/
|
|
35725
36037
|
models: Array<MediaGenerationCapabilityModel>;
|
|
35726
36038
|
};
|
|
36039
|
+
export type MediaHlsRendition = {
|
|
36040
|
+
/**
|
|
36041
|
+
* Clarity rung as its playlist calls it; the height with a p, so 480p is the short side at 480 pixels.
|
|
36042
|
+
*/
|
|
36043
|
+
name: '480p' | '720p' | '1080p';
|
|
36044
|
+
/**
|
|
36045
|
+
* Short side of this rung in pixels.
|
|
36046
|
+
*/
|
|
36047
|
+
height: 480 | 720 | 1080;
|
|
36048
|
+
/**
|
|
36049
|
+
* Width of this rung’s first encoded piece, read from that piece’s own index; null while no piece has finished indexing.
|
|
36050
|
+
*/
|
|
36051
|
+
width: number | null;
|
|
36052
|
+
/**
|
|
36053
|
+
* Average bitrate of this rung in bits per second, computed from the encoded segments the same way the master playlist’s AVERAGE-BANDWIDTH is; null while nothing is indexed yet.
|
|
36054
|
+
*/
|
|
36055
|
+
bitrate: number | null;
|
|
36056
|
+
/**
|
|
36057
|
+
* Stored size of this rung so far, in bytes, counting the pieces that are indexed (init segments included); it grows as pieces finish.
|
|
36058
|
+
*/
|
|
36059
|
+
bytes: number;
|
|
36060
|
+
/**
|
|
36061
|
+
* Readiness of this rung: processing while any piece is pending or running, ready when every piece is ready, failed when any piece gave up. A failed rung is not charged.
|
|
36062
|
+
*/
|
|
36063
|
+
state: MediaHlsRenditionState;
|
|
36064
|
+
};
|
|
35727
36065
|
/**
|
|
35728
36066
|
* A kind of entity the graph accepts, for example a file or a customer.
|
|
35729
36067
|
*/
|
|
@@ -36005,6 +36343,62 @@ export type SandboxTemplateBuild = {
|
|
|
36005
36343
|
diskSizeMB?: SandboxDiskSizeMb;
|
|
36006
36344
|
envdVersion?: SandboxEnvdVersion;
|
|
36007
36345
|
};
|
|
36346
|
+
/**
|
|
36347
|
+
* The object a share exposes, named by a type and an id.
|
|
36348
|
+
*/
|
|
36349
|
+
export type ShareShareResource = {
|
|
36350
|
+
/**
|
|
36351
|
+
* What kind of object is shared; file, canvas and media_asset create today.
|
|
36352
|
+
*/
|
|
36353
|
+
type: 'file' | 'artifact' | 'canvas' | 'media_asset';
|
|
36354
|
+
/**
|
|
36355
|
+
* Id of the object within its type. For a file, the id from the File API; for a canvas, the canvas id (cvs_...); for a media_asset, library_id/asset_id with a real library id (lib_...), never the default alias. An object that does not exist in this organization answers 404 RESOURCE_NOT_FOUND.
|
|
36356
|
+
*/
|
|
36357
|
+
id: string;
|
|
36358
|
+
};
|
|
36359
|
+
/**
|
|
36360
|
+
* The link a share hands out.
|
|
36361
|
+
*/
|
|
36362
|
+
export type ShareSharePermissionLink = {
|
|
36363
|
+
/**
|
|
36364
|
+
* What the link allows; view, which is read-only, is the only type.
|
|
36365
|
+
*/
|
|
36366
|
+
type: 'view';
|
|
36367
|
+
/**
|
|
36368
|
+
* Who can open the link; anonymous, meaning anyone holding it, is the only scope.
|
|
36369
|
+
*/
|
|
36370
|
+
scope: 'anonymous';
|
|
36371
|
+
/**
|
|
36372
|
+
* Whether the link asks viewers not to download; a limit, not a guarantee.
|
|
36373
|
+
*/
|
|
36374
|
+
prevents_download: boolean;
|
|
36375
|
+
/**
|
|
36376
|
+
* The link address to give to people; present only in the creation response, since the service stores a hash of it and cannot show it again.
|
|
36377
|
+
*/
|
|
36378
|
+
web_url?: string;
|
|
36379
|
+
};
|
|
36380
|
+
/**
|
|
36381
|
+
* The error envelope of every non-2xx response on this face.
|
|
36382
|
+
*/
|
|
36383
|
+
export type ShareShareError = {
|
|
36384
|
+
/**
|
|
36385
|
+
* Failure details; choose a recovery action from the operation's status and code descriptions.
|
|
36386
|
+
*/
|
|
36387
|
+
error: {
|
|
36388
|
+
/**
|
|
36389
|
+
* Machine-readable failure category such as INVALID_PARAMS or PERMISSION_NOT_FOUND; see the operation's error responses for what triggers each.
|
|
36390
|
+
*/
|
|
36391
|
+
code: string;
|
|
36392
|
+
/**
|
|
36393
|
+
* Human-readable reason; it names the offending field or condition and the action to take.
|
|
36394
|
+
*/
|
|
36395
|
+
message: string;
|
|
36396
|
+
/**
|
|
36397
|
+
* The request field or query parameter that caused the failure, or null when the failure concerns the request as a whole.
|
|
36398
|
+
*/
|
|
36399
|
+
param?: string | null;
|
|
36400
|
+
};
|
|
36401
|
+
};
|
|
36008
36402
|
/**
|
|
36009
36403
|
* One genre as configuration: the names the seven layers take for this kind of writing, the properties a draft carries, and the checks the software can decide.
|
|
36010
36404
|
*/
|
|
@@ -42289,7 +42683,7 @@ export type MediaSemanticMatch = {
|
|
|
42289
42683
|
/**
|
|
42290
42684
|
* Type of change recorded for a library, asset, processing task, search index or batch.
|
|
42291
42685
|
*/
|
|
42292
|
-
export type MediaMediaEventType = 'library.status_provisioning' | 'library.status_active' | 'library.status_deleting' | 'library.status_deleted' | 'library.status_failed' | 'library.restored' | 'library.updated' | 'asset.created' | 'asset.updated' | 'asset.overwritten' | 'asset.renamed' | 'asset.deleted' | 'understanding.status_ready' | 'understanding.status_failed' | 'understanding.status_unsupported' | 'search.indexed' | 'batch.succeeded' | 'batch.failed' | 'library.understanding_drained' | 'batch.created' | 'generation.created' | 'generation.succeeded' | 'generation.failed' | 'generation.cancelled';
|
|
42686
|
+
export type MediaMediaEventType = 'library.status_provisioning' | 'library.status_active' | 'library.status_deleting' | 'library.status_deleted' | 'library.status_failed' | 'library.restored' | 'library.updated' | 'asset.created' | 'asset.updated' | 'asset.overwritten' | 'asset.renamed' | 'asset.deleted' | 'understanding.status_ready' | 'understanding.status_failed' | 'understanding.status_unsupported' | 'search.indexed' | 'batch.succeeded' | 'batch.failed' | 'library.understanding_drained' | 'batch.created' | 'hls.requested' | 'generation.created' | 'generation.succeeded' | 'generation.failed' | 'generation.cancelled';
|
|
42293
42687
|
/**
|
|
42294
42688
|
* One picture an element names, with the word the caller uses for that view.
|
|
42295
42689
|
*/
|
|
@@ -42369,6 +42763,10 @@ export type MediaGenerationCapabilityModel = {
|
|
|
42369
42763
|
*/
|
|
42370
42764
|
resolutions?: Array<string>;
|
|
42371
42765
|
};
|
|
42766
|
+
/**
|
|
42767
|
+
* Readiness of one rung or of the ladder it is part of.
|
|
42768
|
+
*/
|
|
42769
|
+
export type MediaHlsRenditionState = 'processing' | 'ready' | 'failed';
|
|
42372
42770
|
/**
|
|
42373
42771
|
* Auto-resume enabled flag for paused sandboxes. Default false.
|
|
42374
42772
|
*/
|
|
@@ -45647,6 +46045,10 @@ export type SandboxTemplateId = string;
|
|
|
45647
46045
|
* Build identifier returned by templates.create. It must belong to the selected template in your organization.
|
|
45648
46046
|
*/
|
|
45649
46047
|
export type SandboxBuildId = string;
|
|
46048
|
+
/**
|
|
46049
|
+
* Share id returned by shares.create or shares.list, in the form shr_ followed by 32 lowercase letters or digits; a link address is not accepted.
|
|
46050
|
+
*/
|
|
46051
|
+
export type ShareShareId = string;
|
|
45650
46052
|
/**
|
|
45651
46053
|
* Genre key from the genre list, such as novel_long or xiaohongshu_note; pass the key exactly, never the display name.
|
|
45652
46054
|
*/
|
|
@@ -46965,6 +47367,86 @@ export type GetAgentConsolidationResponses = {
|
|
|
46965
47367
|
};
|
|
46966
47368
|
};
|
|
46967
47369
|
export type GetAgentConsolidationResponse = GetAgentConsolidationResponses[keyof GetAgentConsolidationResponses];
|
|
47370
|
+
export type ListAgentInboxLettersData = {
|
|
47371
|
+
body?: never;
|
|
47372
|
+
path: {
|
|
47373
|
+
/**
|
|
47374
|
+
* The assume agent: its agent_… id, eight character identity number or handle, from agents.list or the praxis-assume MCP URL; resolved in your organization. Also accepts an 8-character identity number (0–9, A–Z); malformed, absent and foreign references return 404, and response ids always use agent_….
|
|
47375
|
+
*/
|
|
47376
|
+
agent_id: string;
|
|
47377
|
+
};
|
|
47378
|
+
query?: {
|
|
47379
|
+
/**
|
|
47380
|
+
* Only true is accepted, which is also the default; this read lists waiting (unread) letters and nothing else.
|
|
47381
|
+
*/
|
|
47382
|
+
unread?: true;
|
|
47383
|
+
/**
|
|
47384
|
+
* How many of the newest unread letters to return, 1 to 50 (default 20); unread always counts every waiting letter.
|
|
47385
|
+
*/
|
|
47386
|
+
limit?: number;
|
|
47387
|
+
};
|
|
47388
|
+
url: '/agent/v1/agents/{agent_id}/inbox/letters';
|
|
47389
|
+
};
|
|
47390
|
+
export type ListAgentInboxLettersErrors = {
|
|
47391
|
+
/**
|
|
47392
|
+
* INVALID_PARAMS: limit is outside 1 to 50 or a query parameter is unsupported; ASSUME_AGENT_REQUIRED: the agent is not an assume agent, which is woken for mail by itself.
|
|
47393
|
+
*/
|
|
47394
|
+
400: unknown;
|
|
47395
|
+
/**
|
|
47396
|
+
* Authenticate with your organization API key or a console session.
|
|
47397
|
+
*/
|
|
47398
|
+
401: unknown;
|
|
47399
|
+
/**
|
|
47400
|
+
* permission_error: the credential's role or bound resources do not allow this operation. Use a key with access to the agent domain and its resources.
|
|
47401
|
+
*/
|
|
47402
|
+
403: AgentError;
|
|
47403
|
+
/**
|
|
47404
|
+
* AGENT_NOT_FOUND: no agent with this reference exists in your organization; list agents with agents.list.
|
|
47405
|
+
*/
|
|
47406
|
+
404: unknown;
|
|
47407
|
+
/**
|
|
47408
|
+
* UPSTREAM_UNAVAILABLE: the letters could not be read right now; retry later.
|
|
47409
|
+
*/
|
|
47410
|
+
502: unknown;
|
|
47411
|
+
};
|
|
47412
|
+
export type ListAgentInboxLettersError = ListAgentInboxLettersErrors[keyof ListAgentInboxLettersErrors];
|
|
47413
|
+
export type ListAgentInboxLettersResponses = {
|
|
47414
|
+
/**
|
|
47415
|
+
* The waiting mail: the full unread count and the newest unread letters. Nothing was marked read.
|
|
47416
|
+
*/
|
|
47417
|
+
200: {
|
|
47418
|
+
/**
|
|
47419
|
+
* How many delivered letters the agent has not read yet; can exceed the number of letters returned.
|
|
47420
|
+
*/
|
|
47421
|
+
unread: number;
|
|
47422
|
+
/**
|
|
47423
|
+
* The newest unread letters, at most limit, newest first; empty when nothing waits.
|
|
47424
|
+
*/
|
|
47425
|
+
letters: Array<{
|
|
47426
|
+
/**
|
|
47427
|
+
* Letter id (ltr_…); the same id the agent's inbox tool shows when it reads the letter, so a notice can name exactly which letters it announced.
|
|
47428
|
+
*/
|
|
47429
|
+
id: string;
|
|
47430
|
+
/**
|
|
47431
|
+
* Sender address: human:<user id> for a person or agent:agent_<x> for an agent; a ticket mention carries the address of whoever mentioned the agent.
|
|
47432
|
+
*/
|
|
47433
|
+
sender: string;
|
|
47434
|
+
/**
|
|
47435
|
+
* The sender's one-line summary of the letter; the body is not returned here and is read with the agent's inbox tool.
|
|
47436
|
+
*/
|
|
47437
|
+
summary: string;
|
|
47438
|
+
/**
|
|
47439
|
+
* Thread the letter belongs to, such as ticket:<repository>:<number> for a ticket mention; null when the sender named none.
|
|
47440
|
+
*/
|
|
47441
|
+
thread: string | null;
|
|
47442
|
+
/**
|
|
47443
|
+
* When the letter was written, RFC 3339; letters are ordered newest first.
|
|
47444
|
+
*/
|
|
47445
|
+
create_time: string;
|
|
47446
|
+
}>;
|
|
47447
|
+
};
|
|
47448
|
+
};
|
|
47449
|
+
export type ListAgentInboxLettersResponse = ListAgentInboxLettersResponses[keyof ListAgentInboxLettersResponses];
|
|
46968
47450
|
export type ApplyAgentVersionData = {
|
|
46969
47451
|
body?: never;
|
|
46970
47452
|
path: {
|
|
@@ -55612,7 +56094,7 @@ export type ListSessionArtifactsResponses = {
|
|
|
55612
56094
|
*/
|
|
55613
56095
|
parts: Array<{
|
|
55614
56096
|
/**
|
|
55615
|
-
* Part type
|
|
56097
|
+
* Part type: a file the agent placed in the session's outputs directory.
|
|
55616
56098
|
*/
|
|
55617
56099
|
kind: 'file';
|
|
55618
56100
|
/**
|
|
@@ -55631,6 +56113,27 @@ export type ListSessionArtifactsResponses = {
|
|
|
55631
56113
|
* Size of the file in bytes; the downloaded content has exactly this length.
|
|
55632
56114
|
*/
|
|
55633
56115
|
bytes: number;
|
|
56116
|
+
} | {
|
|
56117
|
+
/**
|
|
56118
|
+
* Part type: a canvas or a media asset the agent's reply pointed at.
|
|
56119
|
+
*/
|
|
56120
|
+
kind: 'object';
|
|
56121
|
+
/**
|
|
56122
|
+
* canvas is a design canvas, whose content_url is a snapshot picture of it; media_asset is an asset of a media library, whose content_url is its own bytes.
|
|
56123
|
+
*/
|
|
56124
|
+
object_type: 'canvas' | 'media_asset';
|
|
56125
|
+
/**
|
|
56126
|
+
* The object's id: cvs_... for a canvas, <library_id>/<asset_id> for a media asset.
|
|
56127
|
+
*/
|
|
56128
|
+
object_id: string;
|
|
56129
|
+
/**
|
|
56130
|
+
* The address in the reply that pointed at the object, verbatim; open the object with content_url, not with this address.
|
|
56131
|
+
*/
|
|
56132
|
+
href: string;
|
|
56133
|
+
/**
|
|
56134
|
+
* What the reply called the object: the text of the link that carried the address, for a card to show. null when the address stood alone in the reply.
|
|
56135
|
+
*/
|
|
56136
|
+
title: string | null;
|
|
55634
56137
|
}>;
|
|
55635
56138
|
/**
|
|
55636
56139
|
* Link addresses from the reply text that point at this artifact, verbatim; render a link whose address equals one of these as this artifact.
|
|
@@ -55715,6 +56218,89 @@ export type CreateSessionArtifactContentUrlResponses = {
|
|
|
55715
56218
|
};
|
|
55716
56219
|
};
|
|
55717
56220
|
export type CreateSessionArtifactContentUrlResponse = CreateSessionArtifactContentUrlResponses[keyof CreateSessionArtifactContentUrlResponses];
|
|
56221
|
+
export type ListSessionRequestsData = {
|
|
56222
|
+
body?: never;
|
|
56223
|
+
path: {
|
|
56224
|
+
/**
|
|
56225
|
+
* Session id from session creation or listing.
|
|
56226
|
+
*/
|
|
56227
|
+
session_id: string;
|
|
56228
|
+
};
|
|
56229
|
+
query?: never;
|
|
56230
|
+
url: '/agent/v1/sessions/{session_id}/requests';
|
|
56231
|
+
};
|
|
56232
|
+
export type ListSessionRequestsErrors = {
|
|
56233
|
+
/**
|
|
56234
|
+
* Unsupported query parameter.
|
|
56235
|
+
*/
|
|
56236
|
+
400: unknown;
|
|
56237
|
+
/**
|
|
56238
|
+
* Authenticate with an organization credential or a customer access token.
|
|
56239
|
+
*/
|
|
56240
|
+
401: unknown;
|
|
56241
|
+
/**
|
|
56242
|
+
* permission_error: the credential's role or bound resources do not allow this operation. Use a key with access to the agent domain and its resources.
|
|
56243
|
+
*/
|
|
56244
|
+
403: AgentError;
|
|
56245
|
+
/**
|
|
56246
|
+
* Session not found or not readable by this caller.
|
|
56247
|
+
*/
|
|
56248
|
+
404: unknown;
|
|
56249
|
+
/**
|
|
56250
|
+
* Agent service failed
|
|
56251
|
+
*/
|
|
56252
|
+
502: unknown;
|
|
56253
|
+
/**
|
|
56254
|
+
* Agent service unavailable
|
|
56255
|
+
*/
|
|
56256
|
+
503: unknown;
|
|
56257
|
+
};
|
|
56258
|
+
export type ListSessionRequestsError = ListSessionRequestsErrors[keyof ListSessionRequestsErrors];
|
|
56259
|
+
export type ListSessionRequestsResponses = {
|
|
56260
|
+
/**
|
|
56261
|
+
* The requests this session waits on
|
|
56262
|
+
*/
|
|
56263
|
+
200: {
|
|
56264
|
+
/**
|
|
56265
|
+
* The requests the session waits on, oldest first; empty when it waits on nothing.
|
|
56266
|
+
*/
|
|
56267
|
+
data: Array<{
|
|
56268
|
+
/**
|
|
56269
|
+
* The pending tool call's id (the tool_use id on the agent.tool_use event); answer it with a user.tool_confirmation event carrying this id as tool_use_id.
|
|
56270
|
+
*/
|
|
56271
|
+
id: string;
|
|
56272
|
+
/**
|
|
56273
|
+
* Object type, always request.
|
|
56274
|
+
*/
|
|
56275
|
+
object: 'request';
|
|
56276
|
+
/**
|
|
56277
|
+
* question when the agent asked through the ask_user_question tool and waits for an answer; approval when any other tool waits for permission.
|
|
56278
|
+
*/
|
|
56279
|
+
kind: 'question' | 'approval';
|
|
56280
|
+
/**
|
|
56281
|
+
* Always pending: answered, expired and superseded requests are not listed.
|
|
56282
|
+
*/
|
|
56283
|
+
status: 'pending';
|
|
56284
|
+
/**
|
|
56285
|
+
* The tool the agent called, such as ask_user_question or bash.
|
|
56286
|
+
*/
|
|
56287
|
+
tool_name: string;
|
|
56288
|
+
/**
|
|
56289
|
+
* The tool call's input exactly as the agent.tool_use event shows it: for a question the questions and their options, for an approval the tool's arguments.
|
|
56290
|
+
*/
|
|
56291
|
+
input: unknown;
|
|
56292
|
+
/**
|
|
56293
|
+
* When the call became pending, RFC 3339; the time of its agent.tool_use event.
|
|
56294
|
+
*/
|
|
56295
|
+
create_time: string;
|
|
56296
|
+
/**
|
|
56297
|
+
* When the request expires and counts as declined, RFC 3339; null when it does not expire, which is every session that runs a collaboration mode and every session while the requests-v1 release is off.
|
|
56298
|
+
*/
|
|
56299
|
+
expire_time: string | null;
|
|
56300
|
+
}>;
|
|
56301
|
+
};
|
|
56302
|
+
};
|
|
56303
|
+
export type ListSessionRequestsResponse = ListSessionRequestsResponses[keyof ListSessionRequestsResponses];
|
|
55718
56304
|
export type ListSessionBackgroundTasksData = {
|
|
55719
56305
|
body?: never;
|
|
55720
56306
|
path: {
|
|
@@ -58928,7 +59514,7 @@ export type ListModelsData = {
|
|
|
58928
59514
|
/**
|
|
58929
59515
|
* Match any comma-separated declared protocol ID; omitted or empty includes all models. Combined with type and output_modalities using AND. Invalid IDs return 400 with all legal values.
|
|
58930
59516
|
*/
|
|
58931
|
-
supported_api?: Array<'anthropic.messages' | 'cohere.rerank' | 'google.generateContent' | 'mistral.ocr' | 'openai.audio.speech' | 'openai.audio.transcriptions' | 'openai.chat.completions' | 'openai.embeddings' | 'openai.images.edits' | 'openai.images.generations' | 'openai.responses' | 'openai.videos' | 'praxis.video.matting' | 'typesafe.systemone' | 'volcengine.music' | 'volcengine.vod.matting' | 'volcengine.voice_clone'>;
|
|
59517
|
+
supported_api?: Array<'anthropic.messages' | 'cohere.rerank' | 'google.generateContent' | 'mistral.ocr' | 'openai.audio.speech' | 'openai.audio.transcriptions' | 'openai.chat.completions' | 'openai.embeddings' | 'openai.images.edits' | 'openai.images.generations' | 'openai.responses' | 'openai.videos' | 'praxis.media.process' | 'praxis.video.matting' | 'typesafe.systemone' | 'volcengine.music' | 'volcengine.vod.matting' | 'volcengine.voice_clone'>;
|
|
58932
59518
|
/**
|
|
58933
59519
|
* Filter by one or more model types (comma-separated).
|
|
58934
59520
|
*/
|
|
@@ -92154,7 +92740,7 @@ export type DevopsUnitsPushErrors = {
|
|
|
92154
92740
|
*/
|
|
92155
92741
|
404: DevopsDevOpsError;
|
|
92156
92742
|
/**
|
|
92157
|
-
* HEAD_MOVED means the change's branch on the remote is no longer the expectedHead that was sent — someone pushed to it since — so nothing was pushed; fetch the unit, reconcile your checkout and send the new head. UNIT_INVALID_STATE means the unit is not available (no machine or no checkout yet, or another transition is in flight), so there is nothing to push; read the unit's phase and retry once it has settled.
|
|
92743
|
+
* HEAD_MOVED means the change's branch on the remote is no longer the expectedHead that was sent — someone pushed to it since — so nothing was pushed; fetch the unit, reconcile your checkout and send the new head. PUSH_REJECTED_BY_HOOK means the machine's git ran a pre-push hook (lefthook, for example) and the hook refused: details.detail holds the hook's output and details.exitCode git's exit code; fix what the hook names, commit, and push again. PUSH_REJECTED_NON_FAST_FORWARD means the remote branch has commits your checkout lacks; fetch, reconcile and push again. UNIT_INVALID_STATE means the unit is not available (no machine or no checkout yet, or another transition is in flight), so there is nothing to push; read the unit's phase and retry once it has settled.
|
|
92158
92744
|
*/
|
|
92159
92745
|
409: DevopsDevOpsError;
|
|
92160
92746
|
/**
|
|
@@ -96661,7 +97247,7 @@ export type MediaEditAssetData = {
|
|
|
96661
97247
|
};
|
|
96662
97248
|
export type MediaEditAssetErrors = {
|
|
96663
97249
|
/**
|
|
96664
|
-
* OPERATION_NOT_SUPPORTED: the requested operation type is not performed on this asset type in this release — image edits support variations, inpaint, erase, replace_object, recolor and replace_background, video and image remove_background are supported, and a video
|
|
97250
|
+
* OPERATION_NOT_SUPPORTED: the requested operation type is not performed on this asset type in this release — image edits support variations, inpaint, erase, replace_object, recolor and replace_background, video and image remove_background are supported, and upscale, enhance_voice, reframe and redact run through Media’s processing lane (upscale on a picture or a video, enhance_voice on a recording or a video’s audio, reframe and redact on a video). An operation whose model list is empty — matting included — is refused with the model field named. REFERENCE_TYPE_MISMATCH: the source asset or a referenced asset has a material type the chosen model cannot edit, or the edit’s mask is not a PNG file identifier; INVALID_PARAMS: the operation is missing a field it requires, names an enum value outside the accepted set, is given an output or model on an image source, or names a matting model the capabilities do not offer. Select a supported operation and correct the reported field.
|
|
96665
97251
|
*/
|
|
96666
97252
|
400: MediaMediaError;
|
|
96667
97253
|
/**
|
|
@@ -97132,49 +97718,367 @@ export type MediaUnderstandingFailureSummaryErrors = {
|
|
|
97132
97718
|
*/
|
|
97133
97719
|
503: MediaMediaError;
|
|
97134
97720
|
};
|
|
97135
|
-
export type MediaUnderstandingFailureSummaryError = MediaUnderstandingFailureSummaryErrors[keyof MediaUnderstandingFailureSummaryErrors];
|
|
97136
|
-
export type MediaUnderstandingFailureSummaryResponses = {
|
|
97721
|
+
export type MediaUnderstandingFailureSummaryError = MediaUnderstandingFailureSummaryErrors[keyof MediaUnderstandingFailureSummaryErrors];
|
|
97722
|
+
export type MediaUnderstandingFailureSummaryResponses = {
|
|
97723
|
+
/**
|
|
97724
|
+
* Successful response.
|
|
97725
|
+
*/
|
|
97726
|
+
200: MediaFailureSummary;
|
|
97727
|
+
};
|
|
97728
|
+
export type MediaUnderstandingFailureSummaryResponse = MediaUnderstandingFailureSummaryResponses[keyof MediaUnderstandingFailureSummaryResponses];
|
|
97729
|
+
export type MediaListUnderstandingsByLibraryData = {
|
|
97730
|
+
body?: never;
|
|
97731
|
+
path: {
|
|
97732
|
+
/**
|
|
97733
|
+
* Library ID returned by creation.
|
|
97734
|
+
*/
|
|
97735
|
+
library_id: string;
|
|
97736
|
+
};
|
|
97737
|
+
query?: {
|
|
97738
|
+
/**
|
|
97739
|
+
* Folder path including all descendants; omitted or empty selects the entire library.
|
|
97740
|
+
*/
|
|
97741
|
+
folder?: string;
|
|
97742
|
+
/**
|
|
97743
|
+
* Comma-separated output kinds: caption, tags, ocr, frame, transcript, overview, audio, loudness, beats, content, embedding. Omit or empty to include every kind.
|
|
97744
|
+
*/
|
|
97745
|
+
kinds?: string;
|
|
97746
|
+
/**
|
|
97747
|
+
* Cursor from the previous next_cursor.
|
|
97748
|
+
*/
|
|
97749
|
+
cursor?: string;
|
|
97750
|
+
/**
|
|
97751
|
+
* Maximum entries in this page, from 1 through 100; defaults to 100.
|
|
97752
|
+
*/
|
|
97753
|
+
limit?: number;
|
|
97754
|
+
};
|
|
97755
|
+
url: '/media/v1/libraries/{library_id}/understandings';
|
|
97756
|
+
};
|
|
97757
|
+
export type MediaListUnderstandingsByLibraryErrors = {
|
|
97758
|
+
/**
|
|
97759
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
97760
|
+
*/
|
|
97761
|
+
400: MediaMediaError;
|
|
97762
|
+
/**
|
|
97763
|
+
* Request failed; see the error code reference.
|
|
97764
|
+
*/
|
|
97765
|
+
402: MediaMediaError;
|
|
97766
|
+
/**
|
|
97767
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
97768
|
+
*/
|
|
97769
|
+
403: MediaMediaError;
|
|
97770
|
+
/**
|
|
97771
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
97772
|
+
*/
|
|
97773
|
+
404: MediaMediaError;
|
|
97774
|
+
/**
|
|
97775
|
+
* Request failed; see the error code reference.
|
|
97776
|
+
*/
|
|
97777
|
+
409: MediaMediaError;
|
|
97778
|
+
/**
|
|
97779
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
97780
|
+
*/
|
|
97781
|
+
413: MediaMediaError;
|
|
97782
|
+
/**
|
|
97783
|
+
* This media format is unsupported; provide a supported format.
|
|
97784
|
+
*/
|
|
97785
|
+
415: MediaMediaError;
|
|
97786
|
+
/**
|
|
97787
|
+
* Request failed; see the error code reference.
|
|
97788
|
+
*/
|
|
97789
|
+
422: MediaMediaError;
|
|
97790
|
+
/**
|
|
97791
|
+
* A rate limit was reached; wait before retrying.
|
|
97792
|
+
*/
|
|
97793
|
+
429: MediaMediaError;
|
|
97794
|
+
/**
|
|
97795
|
+
* The requested operation is unsupported; choose a supported method.
|
|
97796
|
+
*/
|
|
97797
|
+
501: MediaMediaError;
|
|
97798
|
+
/**
|
|
97799
|
+
* Request failed; see the error code reference.
|
|
97800
|
+
*/
|
|
97801
|
+
502: MediaMediaError;
|
|
97802
|
+
/**
|
|
97803
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
97804
|
+
*/
|
|
97805
|
+
503: MediaMediaError;
|
|
97806
|
+
};
|
|
97807
|
+
export type MediaListUnderstandingsByLibraryError = MediaListUnderstandingsByLibraryErrors[keyof MediaListUnderstandingsByLibraryErrors];
|
|
97808
|
+
export type MediaListUnderstandingsByLibraryResponses = {
|
|
97809
|
+
/**
|
|
97810
|
+
* Successful response.
|
|
97811
|
+
*/
|
|
97812
|
+
200: MediaUnderstandingPage;
|
|
97813
|
+
};
|
|
97814
|
+
export type MediaListUnderstandingsByLibraryResponse = MediaListUnderstandingsByLibraryResponses[keyof MediaListUnderstandingsByLibraryResponses];
|
|
97815
|
+
export type MediaListJobsData = {
|
|
97816
|
+
body?: never;
|
|
97817
|
+
path: {
|
|
97818
|
+
/**
|
|
97819
|
+
* Library ID returned by creation.
|
|
97820
|
+
*/
|
|
97821
|
+
library_id: string;
|
|
97822
|
+
};
|
|
97823
|
+
query?: {
|
|
97824
|
+
/**
|
|
97825
|
+
* Filter jobs by their current status.
|
|
97826
|
+
*/
|
|
97827
|
+
status?: MediaJobStatus;
|
|
97828
|
+
/**
|
|
97829
|
+
* Return only the jobs started by this automation run (its root run), so one pipeline run reads as one batch.
|
|
97830
|
+
*/
|
|
97831
|
+
pipeline_run_id?: string;
|
|
97832
|
+
/**
|
|
97833
|
+
* Maximum entries in this page, from 1 through 100; defaults to 100.
|
|
97834
|
+
*/
|
|
97835
|
+
limit?: number;
|
|
97836
|
+
/**
|
|
97837
|
+
* Job id from the previous page’s next_cursor; omit for the first page.
|
|
97838
|
+
*/
|
|
97839
|
+
cursor?: MediaJobId;
|
|
97840
|
+
};
|
|
97841
|
+
url: '/media/v1/libraries/{library_id}/jobs';
|
|
97842
|
+
};
|
|
97843
|
+
export type MediaListJobsErrors = {
|
|
97844
|
+
/**
|
|
97845
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
97846
|
+
*/
|
|
97847
|
+
400: MediaMediaError;
|
|
97848
|
+
/**
|
|
97849
|
+
* Request failed; see the error code reference.
|
|
97850
|
+
*/
|
|
97851
|
+
402: MediaMediaError;
|
|
97852
|
+
/**
|
|
97853
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
97854
|
+
*/
|
|
97855
|
+
403: MediaMediaError;
|
|
97856
|
+
/**
|
|
97857
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
97858
|
+
*/
|
|
97859
|
+
404: MediaMediaError;
|
|
97860
|
+
/**
|
|
97861
|
+
* Request failed; see the error code reference.
|
|
97862
|
+
*/
|
|
97863
|
+
409: MediaMediaError;
|
|
97864
|
+
/**
|
|
97865
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
97866
|
+
*/
|
|
97867
|
+
413: MediaMediaError;
|
|
97868
|
+
/**
|
|
97869
|
+
* This media format is unsupported; provide a supported format.
|
|
97870
|
+
*/
|
|
97871
|
+
415: MediaMediaError;
|
|
97872
|
+
/**
|
|
97873
|
+
* Request failed; see the error code reference.
|
|
97874
|
+
*/
|
|
97875
|
+
422: MediaMediaError;
|
|
97876
|
+
/**
|
|
97877
|
+
* A rate limit was reached; wait before retrying.
|
|
97878
|
+
*/
|
|
97879
|
+
429: MediaMediaError;
|
|
97880
|
+
/**
|
|
97881
|
+
* The requested operation is unsupported; choose a supported method.
|
|
97882
|
+
*/
|
|
97883
|
+
501: MediaMediaError;
|
|
97884
|
+
/**
|
|
97885
|
+
* Request failed; see the error code reference.
|
|
97886
|
+
*/
|
|
97887
|
+
502: MediaMediaError;
|
|
97888
|
+
/**
|
|
97889
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
97890
|
+
*/
|
|
97891
|
+
503: MediaMediaError;
|
|
97892
|
+
};
|
|
97893
|
+
export type MediaListJobsError = MediaListJobsErrors[keyof MediaListJobsErrors];
|
|
97894
|
+
export type MediaListJobsResponses = {
|
|
97895
|
+
/**
|
|
97896
|
+
* Successful response.
|
|
97897
|
+
*/
|
|
97898
|
+
200: MediaJobPage;
|
|
97899
|
+
};
|
|
97900
|
+
export type MediaListJobsResponse = MediaListJobsResponses[keyof MediaListJobsResponses];
|
|
97901
|
+
export type MediaCancelJobData = {
|
|
97902
|
+
body?: never;
|
|
97903
|
+
path: {
|
|
97904
|
+
/**
|
|
97905
|
+
* Library ID returned by creation.
|
|
97906
|
+
*/
|
|
97907
|
+
library_id: string;
|
|
97908
|
+
/**
|
|
97909
|
+
* Job identifier returned by batch or generation creation; the job is resolved within the specified library.
|
|
97910
|
+
*/
|
|
97911
|
+
job_id: string;
|
|
97912
|
+
};
|
|
97913
|
+
query?: never;
|
|
97914
|
+
url: '/media/v1/libraries/{library_id}/jobs/{job_id}/cancel';
|
|
97915
|
+
};
|
|
97916
|
+
export type MediaCancelJobErrors = {
|
|
97917
|
+
/**
|
|
97918
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
97919
|
+
*/
|
|
97920
|
+
400: MediaMediaError;
|
|
97921
|
+
/**
|
|
97922
|
+
* Request failed; see the error code reference.
|
|
97923
|
+
*/
|
|
97924
|
+
402: MediaMediaError;
|
|
97925
|
+
/**
|
|
97926
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
97927
|
+
*/
|
|
97928
|
+
403: MediaMediaError;
|
|
97929
|
+
/**
|
|
97930
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
97931
|
+
*/
|
|
97932
|
+
404: MediaMediaError;
|
|
97933
|
+
/**
|
|
97934
|
+
* Request failed; see the error code reference.
|
|
97935
|
+
*/
|
|
97936
|
+
409: MediaMediaError;
|
|
97937
|
+
/**
|
|
97938
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
97939
|
+
*/
|
|
97940
|
+
413: MediaMediaError;
|
|
97941
|
+
/**
|
|
97942
|
+
* This media format is unsupported; provide a supported format.
|
|
97943
|
+
*/
|
|
97944
|
+
415: MediaMediaError;
|
|
97945
|
+
/**
|
|
97946
|
+
* Request failed; see the error code reference.
|
|
97947
|
+
*/
|
|
97948
|
+
422: MediaMediaError;
|
|
97949
|
+
/**
|
|
97950
|
+
* A rate limit was reached; wait before retrying.
|
|
97951
|
+
*/
|
|
97952
|
+
429: MediaMediaError;
|
|
97953
|
+
/**
|
|
97954
|
+
* The requested operation is unsupported; choose a supported method.
|
|
97955
|
+
*/
|
|
97956
|
+
501: MediaMediaError;
|
|
97957
|
+
/**
|
|
97958
|
+
* Request failed; see the error code reference.
|
|
97959
|
+
*/
|
|
97960
|
+
502: MediaMediaError;
|
|
97961
|
+
/**
|
|
97962
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
97963
|
+
*/
|
|
97964
|
+
503: MediaMediaError;
|
|
97965
|
+
};
|
|
97966
|
+
export type MediaCancelJobError = MediaCancelJobErrors[keyof MediaCancelJobErrors];
|
|
97967
|
+
export type MediaCancelJobResponses = {
|
|
97968
|
+
/**
|
|
97969
|
+
* Successful response.
|
|
97970
|
+
*/
|
|
97971
|
+
200: MediaJob;
|
|
97972
|
+
};
|
|
97973
|
+
export type MediaCancelJobResponse = MediaCancelJobResponses[keyof MediaCancelJobResponses];
|
|
97974
|
+
export type MediaGetGenerationCapabilitiesData = {
|
|
97975
|
+
body?: never;
|
|
97976
|
+
path?: never;
|
|
97977
|
+
query?: never;
|
|
97978
|
+
url: '/media/v1/generation/capabilities';
|
|
97979
|
+
};
|
|
97980
|
+
export type MediaGetGenerationCapabilitiesErrors = {
|
|
97981
|
+
/**
|
|
97982
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
97983
|
+
*/
|
|
97984
|
+
400: MediaMediaError;
|
|
97985
|
+
/**
|
|
97986
|
+
* Request failed; see the error code reference.
|
|
97987
|
+
*/
|
|
97988
|
+
402: MediaMediaError;
|
|
97989
|
+
/**
|
|
97990
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
97991
|
+
*/
|
|
97992
|
+
403: MediaMediaError;
|
|
97993
|
+
/**
|
|
97994
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
97995
|
+
*/
|
|
97996
|
+
404: MediaMediaError;
|
|
97997
|
+
/**
|
|
97998
|
+
* Request failed; see the error code reference.
|
|
97999
|
+
*/
|
|
98000
|
+
409: MediaMediaError;
|
|
98001
|
+
/**
|
|
98002
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
98003
|
+
*/
|
|
98004
|
+
413: MediaMediaError;
|
|
98005
|
+
/**
|
|
98006
|
+
* This media format is unsupported; provide a supported format.
|
|
98007
|
+
*/
|
|
98008
|
+
415: MediaMediaError;
|
|
98009
|
+
/**
|
|
98010
|
+
* Request failed; see the error code reference.
|
|
98011
|
+
*/
|
|
98012
|
+
422: MediaMediaError;
|
|
98013
|
+
/**
|
|
98014
|
+
* A rate limit was reached; wait before retrying.
|
|
98015
|
+
*/
|
|
98016
|
+
429: MediaMediaError;
|
|
98017
|
+
/**
|
|
98018
|
+
* The requested operation is unsupported; choose a supported method.
|
|
98019
|
+
*/
|
|
98020
|
+
501: MediaMediaError;
|
|
98021
|
+
/**
|
|
98022
|
+
* Request failed; see the error code reference.
|
|
98023
|
+
*/
|
|
98024
|
+
502: MediaMediaError;
|
|
98025
|
+
/**
|
|
98026
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
98027
|
+
*/
|
|
98028
|
+
503: MediaMediaError;
|
|
98029
|
+
};
|
|
98030
|
+
export type MediaGetGenerationCapabilitiesError = MediaGetGenerationCapabilitiesErrors[keyof MediaGetGenerationCapabilitiesErrors];
|
|
98031
|
+
export type MediaGetGenerationCapabilitiesResponses = {
|
|
97137
98032
|
/**
|
|
97138
98033
|
* Successful response.
|
|
97139
98034
|
*/
|
|
97140
|
-
200:
|
|
98035
|
+
200: MediaGenerationCapabilities;
|
|
97141
98036
|
};
|
|
97142
|
-
export type
|
|
97143
|
-
export type
|
|
97144
|
-
|
|
97145
|
-
|
|
98037
|
+
export type MediaGetGenerationCapabilitiesResponse = MediaGetGenerationCapabilitiesResponses[keyof MediaGetGenerationCapabilitiesResponses];
|
|
98038
|
+
export type MediaAlignAssetData = {
|
|
98039
|
+
/**
|
|
98040
|
+
* Align two recordings by their sound. The route names the source asset; this body names the reference to align against it. The result is an analysis, not a new asset: nothing is stored, the source is never changed, and the completed job carries the answer in result.
|
|
98041
|
+
*/
|
|
98042
|
+
body: {
|
|
97146
98043
|
/**
|
|
97147
|
-
*
|
|
98044
|
+
* Asset to align against the one the route names. It must be an audio or video asset of the same library, otherwise the request is refused with REFERENCE_TYPE_MISMATCH before a job exists.
|
|
97148
98045
|
*/
|
|
97149
|
-
|
|
97150
|
-
};
|
|
97151
|
-
query?: {
|
|
98046
|
+
reference_asset_id: string;
|
|
97152
98047
|
/**
|
|
97153
|
-
*
|
|
98048
|
+
* Largest offset to search for, in seconds; omit it to let the model search its full range. Zero and negative values are refused with INVALID_PARAMS.
|
|
97154
98049
|
*/
|
|
97155
|
-
|
|
98050
|
+
max_offset_seconds?: number;
|
|
97156
98051
|
/**
|
|
97157
|
-
*
|
|
98052
|
+
* Stable key so a retried request reuses the same job instead of analysing and charging again; reusing it with different content is rejected.
|
|
97158
98053
|
*/
|
|
97159
|
-
|
|
98054
|
+
idempotency_key?: string;
|
|
98055
|
+
};
|
|
98056
|
+
headers?: {
|
|
97160
98057
|
/**
|
|
97161
|
-
*
|
|
98058
|
+
* Stable key for retrying the same request without creating or charging for another job; reusing it with different request content is rejected. Send it here or as idempotency_key in the body, never both with different values.
|
|
97162
98059
|
*/
|
|
97163
|
-
|
|
98060
|
+
'Idempotency-Key'?: string;
|
|
98061
|
+
};
|
|
98062
|
+
path: {
|
|
97164
98063
|
/**
|
|
97165
|
-
*
|
|
98064
|
+
* Library ID returned by creation.
|
|
97166
98065
|
*/
|
|
97167
|
-
|
|
98066
|
+
library_id: string;
|
|
98067
|
+
/**
|
|
98068
|
+
* 32-character asset ID.
|
|
98069
|
+
*/
|
|
98070
|
+
asset_id: string;
|
|
97168
98071
|
};
|
|
97169
|
-
|
|
98072
|
+
query?: never;
|
|
98073
|
+
url: '/media/v1/libraries/{library_id}/assets/{asset_id}/align';
|
|
97170
98074
|
};
|
|
97171
|
-
export type
|
|
98075
|
+
export type MediaAlignAssetErrors = {
|
|
97172
98076
|
/**
|
|
97173
|
-
*
|
|
98077
|
+
* REFERENCE_TYPE_MISMATCH: the source asset or the reference asset is not an audio or video asset; both must be one of the two. INVALID_PARAMS: reference_asset_id is missing, max_offset_seconds is zero or negative, or the request names an alignment model the generation capabilities do not offer. OPERATION_NOT_SUPPORTED: the platform has published no alignment model, so the request is refused with the model field named. Correct the reported field; nothing was analysed and nothing was charged.
|
|
97174
98078
|
*/
|
|
97175
98079
|
400: MediaMediaError;
|
|
97176
98080
|
/**
|
|
97177
|
-
*
|
|
98081
|
+
* INSUFFICIENT_BALANCE: the organization balance cannot cover the estimated cost of this generation or edit; top up and resubmit. Nothing was generated and nothing was charged for this request.
|
|
97178
98082
|
*/
|
|
97179
98083
|
402: MediaMediaError;
|
|
97180
98084
|
/**
|
|
@@ -97182,11 +98086,11 @@ export type MediaListUnderstandingsByLibraryErrors = {
|
|
|
97182
98086
|
*/
|
|
97183
98087
|
403: MediaMediaError;
|
|
97184
98088
|
/**
|
|
97185
|
-
*
|
|
98089
|
+
* ASSET_NOT_FOUND: the source or the reference asset is missing, deleted or belongs to another library, or the addressed library was not found; verify the identifiers with libraries and assets. A reference asset that cannot be reached answers the same way, never as a hint that it exists elsewhere.
|
|
97186
98090
|
*/
|
|
97187
98091
|
404: MediaMediaError;
|
|
97188
98092
|
/**
|
|
97189
|
-
*
|
|
98093
|
+
* MODEL_PENDING or JOB_INVALID_STATE: the chosen model is not ready for this library, or the job cannot start from its current state; wait for the model to become available, or start a new job rather than resuming this one.
|
|
97190
98094
|
*/
|
|
97191
98095
|
409: MediaMediaError;
|
|
97192
98096
|
/**
|
|
@@ -97198,11 +98102,11 @@ export type MediaListUnderstandingsByLibraryErrors = {
|
|
|
97198
98102
|
*/
|
|
97199
98103
|
415: MediaMediaError;
|
|
97200
98104
|
/**
|
|
97201
|
-
*
|
|
98105
|
+
* CONTENT_REJECTED: the provider refused the prompt or the source image under its content policy; change the prompt or the source before retrying. Nothing was generated and nothing was charged.
|
|
97202
98106
|
*/
|
|
97203
98107
|
422: MediaMediaError;
|
|
97204
98108
|
/**
|
|
97205
|
-
*
|
|
98109
|
+
* RATE_LIMITED: this library already has its maximum number of running jobs of this type and 50 more waiting, or the provider is throttling requests; Retry-After gives the seconds to wait before retrying. Below that a job past the running limit is accepted and waits (queue_reason concurrency) instead of being refused.
|
|
97206
98110
|
*/
|
|
97207
98111
|
429: MediaMediaError;
|
|
97208
98112
|
/**
|
|
@@ -97218,43 +98122,30 @@ export type MediaListUnderstandingsByLibraryErrors = {
|
|
|
97218
98122
|
*/
|
|
97219
98123
|
503: MediaMediaError;
|
|
97220
98124
|
};
|
|
97221
|
-
export type
|
|
97222
|
-
export type
|
|
98125
|
+
export type MediaAlignAssetError = MediaAlignAssetErrors[keyof MediaAlignAssetErrors];
|
|
98126
|
+
export type MediaAlignAssetResponses = {
|
|
97223
98127
|
/**
|
|
97224
|
-
*
|
|
98128
|
+
* The alignment job is queued. Poll GET /media/v1/libraries/{library_id}/jobs/{job_id} until its status is completed or failed; a completed job carries the answer in result as offset_seconds and confidence, so a caller holding both recordings knows which one to slide. No asset is stored and nothing is overwritten. An alignment with the same source, reference and params answers the job already completed instead of analysing and charging again.
|
|
97225
98129
|
*/
|
|
97226
|
-
|
|
98130
|
+
202: MediaJob;
|
|
97227
98131
|
};
|
|
97228
|
-
export type
|
|
97229
|
-
export type
|
|
98132
|
+
export type MediaAlignAssetResponse = MediaAlignAssetResponses[keyof MediaAlignAssetResponses];
|
|
98133
|
+
export type MediaGetHlsRenditionsData = {
|
|
97230
98134
|
body?: never;
|
|
97231
98135
|
path: {
|
|
97232
98136
|
/**
|
|
97233
98137
|
* Library ID returned by creation.
|
|
97234
98138
|
*/
|
|
97235
98139
|
library_id: string;
|
|
97236
|
-
};
|
|
97237
|
-
query?: {
|
|
97238
|
-
/**
|
|
97239
|
-
* Filter jobs by their current status.
|
|
97240
|
-
*/
|
|
97241
|
-
status?: MediaJobStatus;
|
|
97242
98140
|
/**
|
|
97243
|
-
*
|
|
97244
|
-
*/
|
|
97245
|
-
pipeline_run_id?: string;
|
|
97246
|
-
/**
|
|
97247
|
-
* Maximum entries in this page, from 1 through 100; defaults to 100.
|
|
97248
|
-
*/
|
|
97249
|
-
limit?: number;
|
|
97250
|
-
/**
|
|
97251
|
-
* Job id from the previous page’s next_cursor; omit for the first page.
|
|
98141
|
+
* 32-character asset ID.
|
|
97252
98142
|
*/
|
|
97253
|
-
|
|
98143
|
+
asset_id: string;
|
|
97254
98144
|
};
|
|
97255
|
-
|
|
98145
|
+
query?: never;
|
|
98146
|
+
url: '/media/v1/libraries/{library_id}/assets/{asset_id}/hls';
|
|
97256
98147
|
};
|
|
97257
|
-
export type
|
|
98148
|
+
export type MediaGetHlsRenditionsErrors = {
|
|
97258
98149
|
/**
|
|
97259
98150
|
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
97260
98151
|
*/
|
|
@@ -97304,30 +98195,38 @@ export type MediaListJobsErrors = {
|
|
|
97304
98195
|
*/
|
|
97305
98196
|
503: MediaMediaError;
|
|
97306
98197
|
};
|
|
97307
|
-
export type
|
|
97308
|
-
export type
|
|
98198
|
+
export type MediaGetHlsRenditionsError = MediaGetHlsRenditionsErrors[keyof MediaGetHlsRenditionsErrors];
|
|
98199
|
+
export type MediaGetHlsRenditionsResponses = {
|
|
97309
98200
|
/**
|
|
97310
98201
|
* Successful response.
|
|
97311
98202
|
*/
|
|
97312
|
-
200:
|
|
98203
|
+
200: MediaHlsLadder;
|
|
97313
98204
|
};
|
|
97314
|
-
export type
|
|
97315
|
-
export type
|
|
97316
|
-
|
|
98205
|
+
export type MediaGetHlsRenditionsResponse = MediaGetHlsRenditionsResponses[keyof MediaGetHlsRenditionsResponses];
|
|
98206
|
+
export type MediaRequestHlsRenditionsData = {
|
|
98207
|
+
/**
|
|
98208
|
+
* Which clarity rungs to build for the asset. Omit heights to build the whole ladder.
|
|
98209
|
+
*/
|
|
98210
|
+
body: {
|
|
98211
|
+
/**
|
|
98212
|
+
* The clarity rungs to build: a non-empty subset of 480, 720 and 1080 with no repeats. Omitted or empty builds all three. The ladder never upscales, so a rung above the source’s short side is dropped.
|
|
98213
|
+
*/
|
|
98214
|
+
heights?: Array<480 | 720 | 1080>;
|
|
98215
|
+
};
|
|
97317
98216
|
path: {
|
|
97318
98217
|
/**
|
|
97319
98218
|
* Library ID returned by creation.
|
|
97320
98219
|
*/
|
|
97321
98220
|
library_id: string;
|
|
97322
98221
|
/**
|
|
97323
|
-
*
|
|
98222
|
+
* 32-character asset ID.
|
|
97324
98223
|
*/
|
|
97325
|
-
|
|
98224
|
+
asset_id: string;
|
|
97326
98225
|
};
|
|
97327
98226
|
query?: never;
|
|
97328
|
-
url: '/media/v1/libraries/{library_id}/
|
|
98227
|
+
url: '/media/v1/libraries/{library_id}/assets/{asset_id}/hls';
|
|
97329
98228
|
};
|
|
97330
|
-
export type
|
|
98229
|
+
export type MediaRequestHlsRenditionsErrors = {
|
|
97331
98230
|
/**
|
|
97332
98231
|
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
97333
98232
|
*/
|
|
@@ -97377,78 +98276,14 @@ export type MediaCancelJobErrors = {
|
|
|
97377
98276
|
*/
|
|
97378
98277
|
503: MediaMediaError;
|
|
97379
98278
|
};
|
|
97380
|
-
export type
|
|
97381
|
-
export type
|
|
98279
|
+
export type MediaRequestHlsRenditionsError = MediaRequestHlsRenditionsErrors[keyof MediaRequestHlsRenditionsErrors];
|
|
98280
|
+
export type MediaRequestHlsRenditionsResponses = {
|
|
97382
98281
|
/**
|
|
97383
98282
|
* Successful response.
|
|
97384
98283
|
*/
|
|
97385
|
-
|
|
97386
|
-
};
|
|
97387
|
-
export type MediaCancelJobResponse = MediaCancelJobResponses[keyof MediaCancelJobResponses];
|
|
97388
|
-
export type MediaGetGenerationCapabilitiesData = {
|
|
97389
|
-
body?: never;
|
|
97390
|
-
path?: never;
|
|
97391
|
-
query?: never;
|
|
97392
|
-
url: '/media/v1/generation/capabilities';
|
|
98284
|
+
202: MediaHlsLadder;
|
|
97393
98285
|
};
|
|
97394
|
-
export type
|
|
97395
|
-
/**
|
|
97396
|
-
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
97397
|
-
*/
|
|
97398
|
-
400: MediaMediaError;
|
|
97399
|
-
/**
|
|
97400
|
-
* Request failed; see the error code reference.
|
|
97401
|
-
*/
|
|
97402
|
-
402: MediaMediaError;
|
|
97403
|
-
/**
|
|
97404
|
-
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
97405
|
-
*/
|
|
97406
|
-
403: MediaMediaError;
|
|
97407
|
-
/**
|
|
97408
|
-
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
97409
|
-
*/
|
|
97410
|
-
404: MediaMediaError;
|
|
97411
|
-
/**
|
|
97412
|
-
* Request failed; see the error code reference.
|
|
97413
|
-
*/
|
|
97414
|
-
409: MediaMediaError;
|
|
97415
|
-
/**
|
|
97416
|
-
* The file exceeds an input limit; provide a smaller source file.
|
|
97417
|
-
*/
|
|
97418
|
-
413: MediaMediaError;
|
|
97419
|
-
/**
|
|
97420
|
-
* This media format is unsupported; provide a supported format.
|
|
97421
|
-
*/
|
|
97422
|
-
415: MediaMediaError;
|
|
97423
|
-
/**
|
|
97424
|
-
* Request failed; see the error code reference.
|
|
97425
|
-
*/
|
|
97426
|
-
422: MediaMediaError;
|
|
97427
|
-
/**
|
|
97428
|
-
* A rate limit was reached; wait before retrying.
|
|
97429
|
-
*/
|
|
97430
|
-
429: MediaMediaError;
|
|
97431
|
-
/**
|
|
97432
|
-
* The requested operation is unsupported; choose a supported method.
|
|
97433
|
-
*/
|
|
97434
|
-
501: MediaMediaError;
|
|
97435
|
-
/**
|
|
97436
|
-
* Request failed; see the error code reference.
|
|
97437
|
-
*/
|
|
97438
|
-
502: MediaMediaError;
|
|
97439
|
-
/**
|
|
97440
|
-
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
97441
|
-
*/
|
|
97442
|
-
503: MediaMediaError;
|
|
97443
|
-
};
|
|
97444
|
-
export type MediaGetGenerationCapabilitiesError = MediaGetGenerationCapabilitiesErrors[keyof MediaGetGenerationCapabilitiesErrors];
|
|
97445
|
-
export type MediaGetGenerationCapabilitiesResponses = {
|
|
97446
|
-
/**
|
|
97447
|
-
* Successful response.
|
|
97448
|
-
*/
|
|
97449
|
-
200: MediaGenerationCapabilities;
|
|
97450
|
-
};
|
|
97451
|
-
export type MediaGetGenerationCapabilitiesResponse = MediaGetGenerationCapabilitiesResponses[keyof MediaGetGenerationCapabilitiesResponses];
|
|
98286
|
+
export type MediaRequestHlsRenditionsResponse = MediaRequestHlsRenditionsResponses[keyof MediaRequestHlsRenditionsResponses];
|
|
97452
98287
|
export type OntologyListTypesData = {
|
|
97453
98288
|
body?: never;
|
|
97454
98289
|
path?: never;
|
|
@@ -100125,6 +100960,176 @@ export type SearchMapResponses = {
|
|
|
100125
100960
|
};
|
|
100126
100961
|
};
|
|
100127
100962
|
export type SearchMapResponse = SearchMapResponses[keyof SearchMapResponses];
|
|
100963
|
+
export type ShareListPermissionsData = {
|
|
100964
|
+
body?: never;
|
|
100965
|
+
path?: never;
|
|
100966
|
+
query?: {
|
|
100967
|
+
/**
|
|
100968
|
+
* Only shares of this object type; file, canvas and media_asset create today.
|
|
100969
|
+
*/
|
|
100970
|
+
resource_type?: 'file' | 'artifact' | 'canvas' | 'media_asset';
|
|
100971
|
+
/**
|
|
100972
|
+
* Only shares of the object with this id, for example a file id from the File API or a media asset's library_id/asset_id; combine with resource_type.
|
|
100973
|
+
*/
|
|
100974
|
+
resource_id?: string;
|
|
100975
|
+
/**
|
|
100976
|
+
* Only shares in this state; omit to list every state.
|
|
100977
|
+
*/
|
|
100978
|
+
status?: 'active' | 'expired' | 'revoked';
|
|
100979
|
+
/**
|
|
100980
|
+
* Maximum shares in one page, from 1 to 100; defaults to 50.
|
|
100981
|
+
*/
|
|
100982
|
+
page_size?: number;
|
|
100983
|
+
/**
|
|
100984
|
+
* Opaque next_page_token from the preceding page with the same filters; omit on the first request.
|
|
100985
|
+
*/
|
|
100986
|
+
page_token?: string;
|
|
100987
|
+
};
|
|
100988
|
+
url: '/share/v1/permissions';
|
|
100989
|
+
};
|
|
100990
|
+
export type ShareListPermissionsErrors = {
|
|
100991
|
+
/**
|
|
100992
|
+
* INVALID_PARAMS means a body field, query value or identifier violates the documented format, or a field is not supported; RESOURCE_TYPE_UNSUPPORTED means the resource type cannot be shared yet. Correct the indicated field; the message names it.
|
|
100993
|
+
*/
|
|
100994
|
+
400: ShareShareError;
|
|
100995
|
+
/**
|
|
100996
|
+
* The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
|
|
100997
|
+
*/
|
|
100998
|
+
401: ShareShareError;
|
|
100999
|
+
/**
|
|
101000
|
+
* PERMISSION_DENIED means the credential cannot perform this operation, or is bound to specific files and listed without naming one; use a key with share access, or pass resource_type and resource_id of a bound file.
|
|
101001
|
+
*/
|
|
101002
|
+
403: ShareShareError;
|
|
101003
|
+
/**
|
|
101004
|
+
* RESOURCE_NOT_FOUND means the object to share does not exist in this organization, or the credential is not bound to it; read the file id from the File API and retry.
|
|
101005
|
+
*/
|
|
101006
|
+
404: ShareShareError;
|
|
101007
|
+
/**
|
|
101008
|
+
* INTERNAL means the service could not complete the request; for a create, list shares for the file before retrying so the same object is not exposed twice.
|
|
101009
|
+
*/
|
|
101010
|
+
500: ShareShareError;
|
|
101011
|
+
};
|
|
101012
|
+
export type ShareListPermissionsError = ShareListPermissionsErrors[keyof ShareListPermissionsErrors];
|
|
101013
|
+
export type ShareListPermissionsResponses = {
|
|
101014
|
+
/**
|
|
101015
|
+
* One page of shares, newest first.
|
|
101016
|
+
*/
|
|
101017
|
+
200: ShareSharePermissionPage;
|
|
101018
|
+
};
|
|
101019
|
+
export type ShareListPermissionsResponse = ShareListPermissionsResponses[keyof ShareListPermissionsResponses];
|
|
101020
|
+
export type ShareCreatePermissionData = {
|
|
101021
|
+
/**
|
|
101022
|
+
* The object to share and the limits of the link.
|
|
101023
|
+
*/
|
|
101024
|
+
body: ShareCreateShareInput;
|
|
101025
|
+
path?: never;
|
|
101026
|
+
query?: never;
|
|
101027
|
+
url: '/share/v1/permissions';
|
|
101028
|
+
};
|
|
101029
|
+
export type ShareCreatePermissionErrors = {
|
|
101030
|
+
/**
|
|
101031
|
+
* INVALID_PARAMS means a body field, query value or identifier violates the documented format, or a field is not supported; RESOURCE_TYPE_UNSUPPORTED means the resource type cannot be shared yet. Correct the indicated field; the message names it.
|
|
101032
|
+
*/
|
|
101033
|
+
400: ShareShareError;
|
|
101034
|
+
/**
|
|
101035
|
+
* The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
|
|
101036
|
+
*/
|
|
101037
|
+
401: ShareShareError;
|
|
101038
|
+
/**
|
|
101039
|
+
* PERMISSION_DENIED means the credential cannot perform this operation, or is bound to specific files and listed without naming one; use a key with share access, or pass resource_type and resource_id of a bound file.
|
|
101040
|
+
*/
|
|
101041
|
+
403: ShareShareError;
|
|
101042
|
+
/**
|
|
101043
|
+
* RESOURCE_NOT_FOUND means the object to share does not exist in this organization, or the credential is not bound to it; read the file id from the File API and retry.
|
|
101044
|
+
*/
|
|
101045
|
+
404: ShareShareError;
|
|
101046
|
+
/**
|
|
101047
|
+
* INTERNAL means the service could not complete the request; for a create, list shares for the file before retrying so the same object is not exposed twice.
|
|
101048
|
+
*/
|
|
101049
|
+
500: ShareShareError;
|
|
101050
|
+
};
|
|
101051
|
+
export type ShareCreatePermissionError = ShareCreatePermissionErrors[keyof ShareCreatePermissionErrors];
|
|
101052
|
+
export type ShareCreatePermissionResponses = {
|
|
101053
|
+
/**
|
|
101054
|
+
* The new share, including link.web_url, which is returned only in this response.
|
|
101055
|
+
*/
|
|
101056
|
+
201: ShareSharePermission;
|
|
101057
|
+
};
|
|
101058
|
+
export type ShareCreatePermissionResponse = ShareCreatePermissionResponses[keyof ShareCreatePermissionResponses];
|
|
101059
|
+
export type ShareDeletePermissionData = {
|
|
101060
|
+
body?: never;
|
|
101061
|
+
path: {
|
|
101062
|
+
/**
|
|
101063
|
+
* Share id returned by shares.create or shares.list, in the form shr_ followed by 32 lowercase letters or digits; a link address is not accepted.
|
|
101064
|
+
*/
|
|
101065
|
+
id: string;
|
|
101066
|
+
};
|
|
101067
|
+
query?: never;
|
|
101068
|
+
url: '/share/v1/permissions/{id}';
|
|
101069
|
+
};
|
|
101070
|
+
export type ShareDeletePermissionErrors = {
|
|
101071
|
+
/**
|
|
101072
|
+
* The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
|
|
101073
|
+
*/
|
|
101074
|
+
401: ShareShareError;
|
|
101075
|
+
/**
|
|
101076
|
+
* PERMISSION_DENIED means the credential cannot perform this operation, or is bound to specific files and listed without naming one; use a key with share access, or pass resource_type and resource_id of a bound file.
|
|
101077
|
+
*/
|
|
101078
|
+
403: ShareShareError;
|
|
101079
|
+
/**
|
|
101080
|
+
* PERMISSION_NOT_FOUND means the share does not exist in this organization, or the credential is not bound to its file; list shares to find an id you can reach.
|
|
101081
|
+
*/
|
|
101082
|
+
404: ShareShareError;
|
|
101083
|
+
/**
|
|
101084
|
+
* INTERNAL means the service could not complete the request; for a create, list shares for the file before retrying so the same object is not exposed twice.
|
|
101085
|
+
*/
|
|
101086
|
+
500: ShareShareError;
|
|
101087
|
+
};
|
|
101088
|
+
export type ShareDeletePermissionError = ShareDeletePermissionErrors[keyof ShareDeletePermissionErrors];
|
|
101089
|
+
export type ShareDeletePermissionResponses = {
|
|
101090
|
+
/**
|
|
101091
|
+
* The share is revoked; there is no body.
|
|
101092
|
+
*/
|
|
101093
|
+
204: void;
|
|
101094
|
+
};
|
|
101095
|
+
export type ShareDeletePermissionResponse = ShareDeletePermissionResponses[keyof ShareDeletePermissionResponses];
|
|
101096
|
+
export type ShareRetrievePermissionData = {
|
|
101097
|
+
body?: never;
|
|
101098
|
+
path: {
|
|
101099
|
+
/**
|
|
101100
|
+
* Share id returned by shares.create or shares.list, in the form shr_ followed by 32 lowercase letters or digits; a link address is not accepted.
|
|
101101
|
+
*/
|
|
101102
|
+
id: string;
|
|
101103
|
+
};
|
|
101104
|
+
query?: never;
|
|
101105
|
+
url: '/share/v1/permissions/{id}';
|
|
101106
|
+
};
|
|
101107
|
+
export type ShareRetrievePermissionErrors = {
|
|
101108
|
+
/**
|
|
101109
|
+
* The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
|
|
101110
|
+
*/
|
|
101111
|
+
401: ShareShareError;
|
|
101112
|
+
/**
|
|
101113
|
+
* PERMISSION_DENIED means the credential cannot perform this operation, or is bound to specific files and listed without naming one; use a key with share access, or pass resource_type and resource_id of a bound file.
|
|
101114
|
+
*/
|
|
101115
|
+
403: ShareShareError;
|
|
101116
|
+
/**
|
|
101117
|
+
* PERMISSION_NOT_FOUND means the share does not exist in this organization, or the credential is not bound to its file; list shares to find an id you can reach.
|
|
101118
|
+
*/
|
|
101119
|
+
404: ShareShareError;
|
|
101120
|
+
/**
|
|
101121
|
+
* INTERNAL means the service could not complete the request; for a create, list shares for the file before retrying so the same object is not exposed twice.
|
|
101122
|
+
*/
|
|
101123
|
+
500: ShareShareError;
|
|
101124
|
+
};
|
|
101125
|
+
export type ShareRetrievePermissionError = ShareRetrievePermissionErrors[keyof ShareRetrievePermissionErrors];
|
|
101126
|
+
export type ShareRetrievePermissionResponses = {
|
|
101127
|
+
/**
|
|
101128
|
+
* The share, without link.web_url.
|
|
101129
|
+
*/
|
|
101130
|
+
200: ShareSharePermission;
|
|
101131
|
+
};
|
|
101132
|
+
export type ShareRetrievePermissionResponse = ShareRetrievePermissionResponses[keyof ShareRetrievePermissionResponses];
|
|
100128
101133
|
export type StudioGenresListData = {
|
|
100129
101134
|
body?: never;
|
|
100130
101135
|
path?: never;
|