@deepraxis/sdk 0.1.1-dev.924987f → 0.1.1-dev.9b41ea1
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 +22 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +87 -23
- package/dist/generated/sdk.gen.js +142 -22
- package/dist/generated/types.gen.d.ts +972 -41
- package/dist/operations.generated.d.ts +221 -13
- package/dist/operations.generated.js +278 -13
- package/dist/resources.generated.d.ts +25 -8
- package/dist/resources.generated.js +16 -0
- package/package.json +1 -1
|
@@ -1144,7 +1144,7 @@ export type OwnFileDeleteFileResponse = {
|
|
|
1144
1144
|
};
|
|
1145
1145
|
export type OwnFilePraxisCreateUpload = {
|
|
1146
1146
|
/**
|
|
1147
|
-
* Exact complete file length in bytes, from 1 through
|
|
1147
|
+
* Exact complete file length in bytes, from 1 through 21474836480 (20 GiB); the sum of completed parts must match.
|
|
1148
1148
|
*/
|
|
1149
1149
|
bytes: number;
|
|
1150
1150
|
/**
|
|
@@ -1195,7 +1195,7 @@ export type OwnFilePraxisUpload = {
|
|
|
1195
1195
|
*/
|
|
1196
1196
|
created_at: number;
|
|
1197
1197
|
/**
|
|
1198
|
-
* Expiry time as Unix seconds; unfinished uploads expire after
|
|
1198
|
+
* Expiry time as Unix seconds; unfinished uploads expire after 7 days.
|
|
1199
1199
|
*/
|
|
1200
1200
|
expires_at: number;
|
|
1201
1201
|
/**
|
|
@@ -1207,13 +1207,38 @@ export type OwnFilePraxisUpload = {
|
|
|
1207
1207
|
*/
|
|
1208
1208
|
purpose: 'user_data' | 'assistants' | 'vision';
|
|
1209
1209
|
/**
|
|
1210
|
-
* Upload state: pending accepts parts; completed has a file; cancelled was cancelled; expired exceeded its
|
|
1210
|
+
* Upload state: pending accepts parts; completed has a file; cancelled was cancelled; expired exceeded its seven-day lifetime.
|
|
1211
1211
|
*/
|
|
1212
1212
|
status: 'pending' | 'completed' | 'cancelled' | 'expired';
|
|
1213
1213
|
/**
|
|
1214
1214
|
* Present after complete. A file with status uploaded is still processing; poll files.retrieve until processed before use.
|
|
1215
1215
|
*/
|
|
1216
1216
|
file?: OwnFileOpenAiFile | null;
|
|
1217
|
+
/**
|
|
1218
|
+
* Fixed part length in bytes for a fixed-size upload, or null for a general upload. Send exactly this many bytes per numbered part except for the final remainder.
|
|
1219
|
+
*/
|
|
1220
|
+
part_size?: number | null;
|
|
1221
|
+
/**
|
|
1222
|
+
* Parts the upload already holds, in resume order: numbered parts by number, then a general upload's parts by arrival. Query GET /file/v1/uploads/{upload_id} after a break and resend only the numbers missing here.
|
|
1223
|
+
*/
|
|
1224
|
+
received_parts?: Array<{
|
|
1225
|
+
/**
|
|
1226
|
+
* Fixed part number, or null for a part of a general upload.
|
|
1227
|
+
*/
|
|
1228
|
+
part_number: number | null;
|
|
1229
|
+
/**
|
|
1230
|
+
* Part identifier to pass to complete for this content.
|
|
1231
|
+
*/
|
|
1232
|
+
id: string;
|
|
1233
|
+
/**
|
|
1234
|
+
* Accepted length of this part in bytes.
|
|
1235
|
+
*/
|
|
1236
|
+
bytes: number;
|
|
1237
|
+
/**
|
|
1238
|
+
* Part content digest prefixed sha256:.
|
|
1239
|
+
*/
|
|
1240
|
+
sha256: string;
|
|
1241
|
+
}>;
|
|
1217
1242
|
/**
|
|
1218
1243
|
* Declared MIME type, verified during assembly.
|
|
1219
1244
|
*/
|
|
@@ -1274,7 +1299,7 @@ export type OwnFileSignedUploadRequest = {
|
|
|
1274
1299
|
*/
|
|
1275
1300
|
filename: string;
|
|
1276
1301
|
/**
|
|
1277
|
-
* Exact local file size in bytes, from 1 through
|
|
1302
|
+
* Exact local file size in bytes, from 1 through 21474836480 (20 GiB). Up to 104857600 bytes returns one PUT URL; larger files return numbered part URLs, a completion URL and a status URL. Every PUT requires its exact signed Content-Length.
|
|
1278
1303
|
*/
|
|
1279
1304
|
bytes: number;
|
|
1280
1305
|
/**
|
|
@@ -1286,7 +1311,7 @@ export type OwnFileSignedUploadRequest = {
|
|
|
1286
1311
|
*/
|
|
1287
1312
|
purpose?: 'user_data' | 'assistants' | 'vision';
|
|
1288
1313
|
/**
|
|
1289
|
-
* Lifetime in seconds, from 1 through 604800: defaults to 900 for single PUT or
|
|
1314
|
+
* Lifetime in seconds, from 1 through 604800: defaults to 900 for single PUT or 604800 (7 days) for multipart. All part URLs, the status URL and the completion URL share one expiry. This does not set the resulting file's lifetime.
|
|
1290
1315
|
*/
|
|
1291
1316
|
expires_in?: number;
|
|
1292
1317
|
/**
|
|
@@ -1337,6 +1362,10 @@ export type OwnFileSignedUploadResponse = {
|
|
|
1337
1362
|
* Bearer URL to POST without a body after every chunk is acknowledged. Returns 201 with the file object; missing chunks return 400 and successful completion replays return 410 CAPABILITY_USED.
|
|
1338
1363
|
*/
|
|
1339
1364
|
complete_url: string;
|
|
1365
|
+
/**
|
|
1366
|
+
* Read-only bearer URL for GET that answers the same body as GET /file/v1/uploads/{upload_id}: status, part_size and the received_parts. Use it after a break to resend only the missing chunks; it needs no API key and every write on it is refused.
|
|
1367
|
+
*/
|
|
1368
|
+
status_url: string;
|
|
1340
1369
|
};
|
|
1341
1370
|
/**
|
|
1342
1371
|
* Problem document returned by the Meta method catalog on failure.
|
|
@@ -13022,6 +13051,27 @@ export type CutExport = {
|
|
|
13022
13051
|
*/
|
|
13023
13052
|
audio: 'pending' | 'done';
|
|
13024
13053
|
};
|
|
13054
|
+
/**
|
|
13055
|
+
* Present when normalization was requested; contains requested targets and measured output levels.
|
|
13056
|
+
*/
|
|
13057
|
+
loudness?: {
|
|
13058
|
+
/**
|
|
13059
|
+
* Requested integrated loudness target in LUFS.
|
|
13060
|
+
*/
|
|
13061
|
+
target_lufs: number;
|
|
13062
|
+
/**
|
|
13063
|
+
* Requested maximum true peak in dBTP.
|
|
13064
|
+
*/
|
|
13065
|
+
true_peak_dbtp: number;
|
|
13066
|
+
/**
|
|
13067
|
+
* Measured integrated loudness of the rendered export in LUFS.
|
|
13068
|
+
*/
|
|
13069
|
+
integrated_lufs: number;
|
|
13070
|
+
/**
|
|
13071
|
+
* Measured maximum true peak of the rendered export in dBTP.
|
|
13072
|
+
*/
|
|
13073
|
+
measured_true_peak_dbtp: number;
|
|
13074
|
+
};
|
|
13025
13075
|
/**
|
|
13026
13076
|
* Output media reference, available after the export reaches done.
|
|
13027
13077
|
*/
|
|
@@ -13094,6 +13144,19 @@ export type CutExportInput = {
|
|
|
13094
13144
|
*/
|
|
13095
13145
|
binding?: string;
|
|
13096
13146
|
revision?: CutRevision;
|
|
13147
|
+
/**
|
|
13148
|
+
* Optional loudness normalization target; normalization adds analysis and rendering work.
|
|
13149
|
+
*/
|
|
13150
|
+
loudness?: {
|
|
13151
|
+
/**
|
|
13152
|
+
* Integrated loudness target in LUFS.
|
|
13153
|
+
*/
|
|
13154
|
+
target_lufs: number;
|
|
13155
|
+
/**
|
|
13156
|
+
* Maximum true peak in dBTP.
|
|
13157
|
+
*/
|
|
13158
|
+
true_peak_dbtp: number;
|
|
13159
|
+
};
|
|
13097
13160
|
};
|
|
13098
13161
|
/**
|
|
13099
13162
|
* One page of organization-accessible exports.
|
|
@@ -14146,7 +14209,7 @@ export type MediaLibrary = {
|
|
|
14146
14209
|
};
|
|
14147
14210
|
export type MediaMediaError = {
|
|
14148
14211
|
error: {
|
|
14149
|
-
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' | 'BINDING_READ_ONLY';
|
|
14212
|
+
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' | 'CANDIDATE_EXPIRED' | 'BINDING_READ_ONLY';
|
|
14150
14213
|
message: string;
|
|
14151
14214
|
details: string | null;
|
|
14152
14215
|
};
|
|
@@ -14398,6 +14461,10 @@ export type MediaAsset = {
|
|
|
14398
14461
|
* Resource status; active identifies an asset that has not been deleted.
|
|
14399
14462
|
*/
|
|
14400
14463
|
status: 'active';
|
|
14464
|
+
/**
|
|
14465
|
+
* True when the source header declares an alpha channel: a PNG color type 4 or 6 or a tRNS chunk, a WebP VP8X alpha flag or VP8L alpha bit, a WebM or MKV video track AlphaMode of 1, or a GIF transparent-color flag. False when a known container has no alpha channel. Omitted when the format is unknown, the header could not be parsed, or the asset was stored before this field existed; absence does not mean the source is opaque.
|
|
14466
|
+
*/
|
|
14467
|
+
has_alpha?: boolean;
|
|
14401
14468
|
/**
|
|
14402
14469
|
* Search-vector status: pending awaits vector generation or reprocessing; ready has searchable vectors; unavailable indicates disabled, unsupported or failed embedding. Existing vectors may still serve searches while reprocessing is pending.
|
|
14403
14470
|
*/
|
|
@@ -14454,6 +14521,27 @@ export type MediaAsset = {
|
|
|
14454
14521
|
};
|
|
14455
14522
|
};
|
|
14456
14523
|
};
|
|
14524
|
+
/**
|
|
14525
|
+
* Source details for the video-generation job that created this asset.
|
|
14526
|
+
*/
|
|
14527
|
+
generation?: {
|
|
14528
|
+
/**
|
|
14529
|
+
* Job id that generated this asset.
|
|
14530
|
+
*/
|
|
14531
|
+
job_id: MediaJobId;
|
|
14532
|
+
/**
|
|
14533
|
+
* Generation intent used to create the asset; v1 supports video.generate.
|
|
14534
|
+
*/
|
|
14535
|
+
intent: string;
|
|
14536
|
+
/**
|
|
14537
|
+
* Text prompt submitted for the generation job.
|
|
14538
|
+
*/
|
|
14539
|
+
prompt: string;
|
|
14540
|
+
/**
|
|
14541
|
+
* Router video-generation model that produced the asset.
|
|
14542
|
+
*/
|
|
14543
|
+
model: string;
|
|
14544
|
+
};
|
|
14457
14545
|
};
|
|
14458
14546
|
/**
|
|
14459
14547
|
* Receipt confirming that the asset was deleted.
|
|
@@ -14596,11 +14684,11 @@ export type MediaJob = {
|
|
|
14596
14684
|
/**
|
|
14597
14685
|
* Batch operation: tag adds labels, untag removes labels, set_context replaces custom metadata, move changes asset_folder, and delete removes selected assets. reprocess starts fenced understanding Workflows for retryable failed steps and legacy source-size unsupported steps; kinds narrows the selection. Other unsupported and permanent steps remain unchanged.
|
|
14598
14686
|
*/
|
|
14599
|
-
action: 'tag' | 'untag' | 'set_context' | 'move' | 'delete' | 'reprocess';
|
|
14687
|
+
action: 'tag' | 'untag' | 'set_context' | 'move' | 'delete' | 'reprocess' | 'generate';
|
|
14600
14688
|
/**
|
|
14601
14689
|
* Job status: queued awaits execution; running is processing items; completed means all items succeeded; completed_with_errors means some succeeded and some failed; failed means all selected items failed. An empty job completes successfully.
|
|
14602
14690
|
*/
|
|
14603
|
-
status:
|
|
14691
|
+
status: MediaJobStatus;
|
|
14604
14692
|
/**
|
|
14605
14693
|
* Number of distinct assets selected when the job was created.
|
|
14606
14694
|
*/
|
|
@@ -14620,12 +14708,66 @@ export type MediaJob = {
|
|
|
14620
14708
|
/**
|
|
14621
14709
|
* Identifier supplied for the failed item; it may identify a missing asset.
|
|
14622
14710
|
*/
|
|
14623
|
-
asset_id
|
|
14711
|
+
asset_id?: MediaAssetId;
|
|
14712
|
+
/**
|
|
14713
|
+
* Zero-based output index for a failed video-generation item.
|
|
14714
|
+
*/
|
|
14715
|
+
index?: number;
|
|
14624
14716
|
/**
|
|
14625
14717
|
* Domain error code explaining the individual item failure.
|
|
14626
14718
|
*/
|
|
14627
14719
|
code: MediaMediaErrorCode;
|
|
14628
14720
|
}>;
|
|
14721
|
+
/**
|
|
14722
|
+
* Generation intent used by this job; v1 supports video.generate.
|
|
14723
|
+
*/
|
|
14724
|
+
intent?: string;
|
|
14725
|
+
/**
|
|
14726
|
+
* Router video-generation model used for the outputs.
|
|
14727
|
+
*/
|
|
14728
|
+
model?: string;
|
|
14729
|
+
/**
|
|
14730
|
+
* Per-video results in index order; save a successful candidate before expires_at.
|
|
14731
|
+
*/
|
|
14732
|
+
outputs?: Array<{
|
|
14733
|
+
/**
|
|
14734
|
+
* Zero-based position of this video in the requested count.
|
|
14735
|
+
*/
|
|
14736
|
+
index: number;
|
|
14737
|
+
/**
|
|
14738
|
+
* State of this requested video output.
|
|
14739
|
+
*/
|
|
14740
|
+
status: MediaGenerationOutputStatus;
|
|
14741
|
+
/**
|
|
14742
|
+
* Short-lived signed URL for previewing this candidate; read the Job again to obtain a fresh URL.
|
|
14743
|
+
*/
|
|
14744
|
+
preview_url?: string;
|
|
14745
|
+
/**
|
|
14746
|
+
* Router seed for this video, when returned; it may be absent.
|
|
14747
|
+
*/
|
|
14748
|
+
seed?: number | null;
|
|
14749
|
+
/**
|
|
14750
|
+
* Candidate expiry time; after expiry, save returns CANDIDATE_EXPIRED.
|
|
14751
|
+
*/
|
|
14752
|
+
expires_at?: MediaIsoTimestamp;
|
|
14753
|
+
/**
|
|
14754
|
+
* Library asset identifier after this candidate has been saved, or when the job requested save=library.
|
|
14755
|
+
*/
|
|
14756
|
+
asset_id?: MediaAssetId;
|
|
14757
|
+
}>;
|
|
14758
|
+
/**
|
|
14759
|
+
* Router-reported generation charge for the job.
|
|
14760
|
+
*/
|
|
14761
|
+
usage?: {
|
|
14762
|
+
/**
|
|
14763
|
+
* Decimal amount in the currency named by currency; this is not a floating-point value.
|
|
14764
|
+
*/
|
|
14765
|
+
amount: string;
|
|
14766
|
+
/**
|
|
14767
|
+
* Currency code for amount.
|
|
14768
|
+
*/
|
|
14769
|
+
currency: string;
|
|
14770
|
+
};
|
|
14629
14771
|
/**
|
|
14630
14772
|
* Time the batch job was created, in UTC.
|
|
14631
14773
|
*/
|
|
@@ -14740,6 +14882,77 @@ export type MediaFailureSummary = {
|
|
|
14740
14882
|
*/
|
|
14741
14883
|
counts_complete: boolean;
|
|
14742
14884
|
};
|
|
14885
|
+
/**
|
|
14886
|
+
* Current state of a batch or video-generation job.
|
|
14887
|
+
*/
|
|
14888
|
+
export type MediaJobStatus = 'queued' | 'running' | 'completed' | 'completed_with_errors' | 'failed' | 'cancelled';
|
|
14889
|
+
/**
|
|
14890
|
+
* Identifier returned when a batch job is created.
|
|
14891
|
+
*/
|
|
14892
|
+
export type MediaJobId = string;
|
|
14893
|
+
/**
|
|
14894
|
+
* A page of jobs in a library.
|
|
14895
|
+
*/
|
|
14896
|
+
export type MediaJobPage = {
|
|
14897
|
+
/**
|
|
14898
|
+
* Jobs returned in this page.
|
|
14899
|
+
*/
|
|
14900
|
+
data: Array<MediaJob>;
|
|
14901
|
+
/**
|
|
14902
|
+
* Cursor for the next page, or null when there are no more jobs.
|
|
14903
|
+
*/
|
|
14904
|
+
next_cursor: MediaJobId | null;
|
|
14905
|
+
};
|
|
14906
|
+
/**
|
|
14907
|
+
* Current text-to-video options, concurrency and candidate retention. Generation is charged per second; unsaved candidates expire after 7 days.
|
|
14908
|
+
*/
|
|
14909
|
+
export type MediaGenerationCapabilities = {
|
|
14910
|
+
/**
|
|
14911
|
+
* Text-to-video intents currently supported by Media.
|
|
14912
|
+
*/
|
|
14913
|
+
intents: Array<string>;
|
|
14914
|
+
/**
|
|
14915
|
+
* Model selected when model is omitted from a generation request.
|
|
14916
|
+
*/
|
|
14917
|
+
default_model: string;
|
|
14918
|
+
/**
|
|
14919
|
+
* Allowed number of videos per generation job.
|
|
14920
|
+
*/
|
|
14921
|
+
count: {
|
|
14922
|
+
/**
|
|
14923
|
+
* Minimum number of videos in one generation job.
|
|
14924
|
+
*/
|
|
14925
|
+
minimum: number;
|
|
14926
|
+
/**
|
|
14927
|
+
* Maximum number of videos in one generation job.
|
|
14928
|
+
*/
|
|
14929
|
+
maximum: number;
|
|
14930
|
+
};
|
|
14931
|
+
/**
|
|
14932
|
+
* Durations in seconds supported by the default video model.
|
|
14933
|
+
*/
|
|
14934
|
+
duration_seconds: Array<number>;
|
|
14935
|
+
/**
|
|
14936
|
+
* Aspect ratios supported by the default video model.
|
|
14937
|
+
*/
|
|
14938
|
+
aspect_ratios: Array<string>;
|
|
14939
|
+
/**
|
|
14940
|
+
* Aspect ratio used when aspect_ratio is omitted.
|
|
14941
|
+
*/
|
|
14942
|
+
default_aspect_ratio: string;
|
|
14943
|
+
/**
|
|
14944
|
+
* Maximum number of queued or running generation jobs per library.
|
|
14945
|
+
*/
|
|
14946
|
+
concurrency_per_library: number;
|
|
14947
|
+
/**
|
|
14948
|
+
* Unit used to charge video generation; generated duration is billed per second by Router.
|
|
14949
|
+
*/
|
|
14950
|
+
price_unit: 'per second';
|
|
14951
|
+
/**
|
|
14952
|
+
* Days an unsaved candidate is retained before its File is deleted.
|
|
14953
|
+
*/
|
|
14954
|
+
candidate_retention_days: number;
|
|
14955
|
+
};
|
|
14743
14956
|
/**
|
|
14744
14957
|
* Sandbox creation request. All system communication with the sandbox is always secured; the template's envd version must support secured access.
|
|
14745
14958
|
*/
|
|
@@ -15182,6 +15395,10 @@ export type SandboxTemplateBuildInfo = {
|
|
|
15182
15395
|
reason?: SandboxBuildStatusReason;
|
|
15183
15396
|
};
|
|
15184
15397
|
export type SandboxTemplateWithBuilds = {
|
|
15398
|
+
/**
|
|
15399
|
+
* Lifecycle classes this template can run as. ephemeral: cannot pause, snapshot or mount volumes and is deleted when it stops; persistent: can pause, resume and snapshot.
|
|
15400
|
+
*/
|
|
15401
|
+
lifecycles?: Array<'ephemeral' | 'persistent'>;
|
|
15185
15402
|
/**
|
|
15186
15403
|
* Identifier of the template
|
|
15187
15404
|
*/
|
|
@@ -26192,6 +26409,10 @@ export type MediaSearchAsset = {
|
|
|
26192
26409
|
* Resource status; active identifies an asset that has not been deleted.
|
|
26193
26410
|
*/
|
|
26194
26411
|
status: 'active';
|
|
26412
|
+
/**
|
|
26413
|
+
* True when the source header declares an alpha channel: a PNG color type 4 or 6 or a tRNS chunk, a WebP VP8X alpha flag or VP8L alpha bit, a WebM or MKV video track AlphaMode of 1, or a GIF transparent-color flag. False when a known container has no alpha channel. Omitted when the format is unknown, the header could not be parsed, or the asset was stored before this field existed; absence does not mean the source is opaque.
|
|
26414
|
+
*/
|
|
26415
|
+
has_alpha?: boolean;
|
|
26195
26416
|
/**
|
|
26196
26417
|
* Search-vector status: pending awaits vector generation or reprocessing; ready has searchable vectors; unavailable indicates disabled, unsupported or failed embedding. Existing vectors may still serve searches while reprocessing is pending.
|
|
26197
26418
|
*/
|
|
@@ -26248,6 +26469,27 @@ export type MediaSearchAsset = {
|
|
|
26248
26469
|
};
|
|
26249
26470
|
};
|
|
26250
26471
|
};
|
|
26472
|
+
/**
|
|
26473
|
+
* Source details for the video-generation job that created this asset.
|
|
26474
|
+
*/
|
|
26475
|
+
generation?: {
|
|
26476
|
+
/**
|
|
26477
|
+
* Job id that generated this asset.
|
|
26478
|
+
*/
|
|
26479
|
+
job_id: MediaJobId;
|
|
26480
|
+
/**
|
|
26481
|
+
* Generation intent used to create the asset; v1 supports video.generate.
|
|
26482
|
+
*/
|
|
26483
|
+
intent: string;
|
|
26484
|
+
/**
|
|
26485
|
+
* Text prompt submitted for the generation job.
|
|
26486
|
+
*/
|
|
26487
|
+
prompt: string;
|
|
26488
|
+
/**
|
|
26489
|
+
* Router video-generation model that produced the asset.
|
|
26490
|
+
*/
|
|
26491
|
+
model: string;
|
|
26492
|
+
};
|
|
26251
26493
|
};
|
|
26252
26494
|
/**
|
|
26253
26495
|
* A matching asset with its ranking score and supporting matches.
|
|
@@ -26270,11 +26512,11 @@ export type MediaSemanticHit = {
|
|
|
26270
26512
|
*/
|
|
26271
26513
|
matches: Array<MediaSemanticMatch>;
|
|
26272
26514
|
};
|
|
26515
|
+
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' | 'CANDIDATE_EXPIRED' | 'BINDING_READ_ONLY';
|
|
26273
26516
|
/**
|
|
26274
|
-
*
|
|
26517
|
+
* State of a requested video output.
|
|
26275
26518
|
*/
|
|
26276
|
-
export type
|
|
26277
|
-
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' | 'BINDING_READ_ONLY';
|
|
26519
|
+
export type MediaGenerationOutputStatus = 'pending' | 'succeeded' | 'failed';
|
|
26278
26520
|
/**
|
|
26279
26521
|
* A recorded library event with a monotonically increasing sequence within that library.
|
|
26280
26522
|
*/
|
|
@@ -30925,7 +31167,7 @@ export type MediaSemanticMatch = {
|
|
|
30925
31167
|
/**
|
|
30926
31168
|
* Type of change recorded for a library, asset, processing task, search index or batch.
|
|
30927
31169
|
*/
|
|
30928
|
-
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';
|
|
31170
|
+
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';
|
|
30929
31171
|
/**
|
|
30930
31172
|
* Auto-resume enabled flag for paused sandboxes. Default false.
|
|
30931
31173
|
*/
|
|
@@ -31845,6 +32087,70 @@ export type CutJoinEffect = {
|
|
|
31845
32087
|
* Blur radius in pixels at a reference frame height of 1080 pixels.
|
|
31846
32088
|
*/
|
|
31847
32089
|
radius?: number;
|
|
32090
|
+
} | {
|
|
32091
|
+
/**
|
|
32092
|
+
* Zoom transition.
|
|
32093
|
+
*/
|
|
32094
|
+
kind: 'zoom';
|
|
32095
|
+
/**
|
|
32096
|
+
* Zoom in or out.
|
|
32097
|
+
*/
|
|
32098
|
+
direction?: 'in' | 'out';
|
|
32099
|
+
/**
|
|
32100
|
+
* Peak scale increase as a multiple of the original scale.
|
|
32101
|
+
*/
|
|
32102
|
+
amount?: number;
|
|
32103
|
+
/**
|
|
32104
|
+
* Radial blur strength; zero disables blur sampling.
|
|
32105
|
+
*/
|
|
32106
|
+
blur?: number;
|
|
32107
|
+
} | {
|
|
32108
|
+
/**
|
|
32109
|
+
* Clock transition.
|
|
32110
|
+
*/
|
|
32111
|
+
kind: 'clock';
|
|
32112
|
+
/**
|
|
32113
|
+
* Sweep direction.
|
|
32114
|
+
*/
|
|
32115
|
+
direction?: 'clockwise' | 'counterclockwise';
|
|
32116
|
+
/**
|
|
32117
|
+
* Start angle in degrees, with zero at twelve o'clock.
|
|
32118
|
+
*/
|
|
32119
|
+
start_angle?: number;
|
|
32120
|
+
/**
|
|
32121
|
+
* Angular feather width.
|
|
32122
|
+
*/
|
|
32123
|
+
softness?: number;
|
|
32124
|
+
} | {
|
|
32125
|
+
/**
|
|
32126
|
+
* Flash transition.
|
|
32127
|
+
*/
|
|
32128
|
+
kind: 'flash';
|
|
32129
|
+
/**
|
|
32130
|
+
* Flash color.
|
|
32131
|
+
*/
|
|
32132
|
+
color?: 'white' | 'black';
|
|
32133
|
+
/**
|
|
32134
|
+
* Flash strength.
|
|
32135
|
+
*/
|
|
32136
|
+
intensity?: number;
|
|
32137
|
+
} | {
|
|
32138
|
+
/**
|
|
32139
|
+
* Luma transition.
|
|
32140
|
+
*/
|
|
32141
|
+
kind: 'luma';
|
|
32142
|
+
/**
|
|
32143
|
+
* Built-in map. User maps are not available yet.
|
|
32144
|
+
*/
|
|
32145
|
+
map?: 'radial' | 'diagonal' | 'clouds' | 'spiral' | 'honeycomb' | 'bars';
|
|
32146
|
+
/**
|
|
32147
|
+
* Edge feather width.
|
|
32148
|
+
*/
|
|
32149
|
+
softness?: number;
|
|
32150
|
+
/**
|
|
32151
|
+
* Reveal order.
|
|
32152
|
+
*/
|
|
32153
|
+
invert?: 'normal' | 'inverted';
|
|
31848
32154
|
};
|
|
31849
32155
|
export type KnowledgeStaticChunking = {
|
|
31850
32156
|
/**
|
|
@@ -32763,6 +33069,10 @@ export type MediaAssetWritable = {
|
|
|
32763
33069
|
* Resource status; active identifies an asset that has not been deleted.
|
|
32764
33070
|
*/
|
|
32765
33071
|
status: 'active';
|
|
33072
|
+
/**
|
|
33073
|
+
* True when the source header declares an alpha channel: a PNG color type 4 or 6 or a tRNS chunk, a WebP VP8X alpha flag or VP8L alpha bit, a WebM or MKV video track AlphaMode of 1, or a GIF transparent-color flag. False when a known container has no alpha channel. Omitted when the format is unknown, the header could not be parsed, or the asset was stored before this field existed; absence does not mean the source is opaque.
|
|
33074
|
+
*/
|
|
33075
|
+
has_alpha?: boolean;
|
|
32766
33076
|
/**
|
|
32767
33077
|
* Search-vector status: pending awaits vector generation or reprocessing; ready has searchable vectors; unavailable indicates disabled, unsupported or failed embedding. Existing vectors may still serve searches while reprocessing is pending.
|
|
32768
33078
|
*/
|
|
@@ -32819,6 +33129,27 @@ export type MediaAssetWritable = {
|
|
|
32819
33129
|
};
|
|
32820
33130
|
};
|
|
32821
33131
|
};
|
|
33132
|
+
/**
|
|
33133
|
+
* Source details for the video-generation job that created this asset.
|
|
33134
|
+
*/
|
|
33135
|
+
generation?: {
|
|
33136
|
+
/**
|
|
33137
|
+
* Job id that generated this asset.
|
|
33138
|
+
*/
|
|
33139
|
+
job_id: MediaJobId;
|
|
33140
|
+
/**
|
|
33141
|
+
* Generation intent used to create the asset; v1 supports video.generate.
|
|
33142
|
+
*/
|
|
33143
|
+
intent: string;
|
|
33144
|
+
/**
|
|
33145
|
+
* Text prompt submitted for the generation job.
|
|
33146
|
+
*/
|
|
33147
|
+
prompt: string;
|
|
33148
|
+
/**
|
|
33149
|
+
* Router video-generation model that produced the asset.
|
|
33150
|
+
*/
|
|
33151
|
+
model: string;
|
|
33152
|
+
};
|
|
32822
33153
|
};
|
|
32823
33154
|
/**
|
|
32824
33155
|
* Understanding results in this page, ordered by creation time ascending.
|
|
@@ -33364,6 +33695,10 @@ export type MediaSearchAssetWritable = {
|
|
|
33364
33695
|
* Resource status; active identifies an asset that has not been deleted.
|
|
33365
33696
|
*/
|
|
33366
33697
|
status: 'active';
|
|
33698
|
+
/**
|
|
33699
|
+
* True when the source header declares an alpha channel: a PNG color type 4 or 6 or a tRNS chunk, a WebP VP8X alpha flag or VP8L alpha bit, a WebM or MKV video track AlphaMode of 1, or a GIF transparent-color flag. False when a known container has no alpha channel. Omitted when the format is unknown, the header could not be parsed, or the asset was stored before this field existed; absence does not mean the source is opaque.
|
|
33700
|
+
*/
|
|
33701
|
+
has_alpha?: boolean;
|
|
33367
33702
|
/**
|
|
33368
33703
|
* Search-vector status: pending awaits vector generation or reprocessing; ready has searchable vectors; unavailable indicates disabled, unsupported or failed embedding. Existing vectors may still serve searches while reprocessing is pending.
|
|
33369
33704
|
*/
|
|
@@ -33420,6 +33755,27 @@ export type MediaSearchAssetWritable = {
|
|
|
33420
33755
|
};
|
|
33421
33756
|
};
|
|
33422
33757
|
};
|
|
33758
|
+
/**
|
|
33759
|
+
* Source details for the video-generation job that created this asset.
|
|
33760
|
+
*/
|
|
33761
|
+
generation?: {
|
|
33762
|
+
/**
|
|
33763
|
+
* Job id that generated this asset.
|
|
33764
|
+
*/
|
|
33765
|
+
job_id: MediaJobId;
|
|
33766
|
+
/**
|
|
33767
|
+
* Generation intent used to create the asset; v1 supports video.generate.
|
|
33768
|
+
*/
|
|
33769
|
+
intent: string;
|
|
33770
|
+
/**
|
|
33771
|
+
* Text prompt submitted for the generation job.
|
|
33772
|
+
*/
|
|
33773
|
+
prompt: string;
|
|
33774
|
+
/**
|
|
33775
|
+
* Router video-generation model that produced the asset.
|
|
33776
|
+
*/
|
|
33777
|
+
model: string;
|
|
33778
|
+
};
|
|
33423
33779
|
};
|
|
33424
33780
|
/**
|
|
33425
33781
|
* A matching asset with its ranking score and supporting matches.
|
|
@@ -33665,7 +34021,7 @@ export type ApplyAgentVersionResponses = {
|
|
|
33665
34021
|
*/
|
|
33666
34022
|
note: string | null;
|
|
33667
34023
|
/**
|
|
33668
|
-
* Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search or
|
|
34024
|
+
* Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search, browser, ticket, crm, canvas or cut. There is no binding by default; enabling one opens every public method of that service. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
|
|
33669
34025
|
*/
|
|
33670
34026
|
bindings: Array<{
|
|
33671
34027
|
/**
|
|
@@ -33696,7 +34052,7 @@ export type ApplyAgentVersionResponses = {
|
|
|
33696
34052
|
/**
|
|
33697
34053
|
* Service type. Opens the whole service to codemode; there is no per-resource id.
|
|
33698
34054
|
*/
|
|
33699
|
-
type: 'search' | 'browser';
|
|
34055
|
+
type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
|
|
33700
34056
|
/**
|
|
33701
34057
|
* Save-time verification result. false means the resource owner was unavailable; saving still succeeded. Unchanged bindings retain their previous result. true is returned for other bindings, including workflow and script ids which are not verified at save time. Client values are ignored.
|
|
33702
34058
|
*/
|
|
@@ -34882,7 +35238,7 @@ export type UnarchiveAgentResponses = {
|
|
|
34882
35238
|
*/
|
|
34883
35239
|
note: string | null;
|
|
34884
35240
|
/**
|
|
34885
|
-
* Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search or
|
|
35241
|
+
* Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search, browser, ticket, crm, canvas or cut. There is no binding by default; enabling one opens every public method of that service. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
|
|
34886
35242
|
*/
|
|
34887
35243
|
bindings: Array<{
|
|
34888
35244
|
/**
|
|
@@ -34913,7 +35269,7 @@ export type UnarchiveAgentResponses = {
|
|
|
34913
35269
|
/**
|
|
34914
35270
|
* Service type. Opens the whole service to codemode; there is no per-resource id.
|
|
34915
35271
|
*/
|
|
34916
|
-
type: 'search' | 'browser';
|
|
35272
|
+
type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
|
|
34917
35273
|
/**
|
|
34918
35274
|
* Save-time verification result. false means the resource owner was unavailable; saving still succeeded. Unchanged bindings retain their previous result. true is returned for other bindings, including workflow and script ids which are not verified at save time. Client values are ignored.
|
|
34919
35275
|
*/
|
|
@@ -44020,6 +44376,42 @@ export type FileCancelUploadResponses = {
|
|
|
44020
44376
|
200: OwnFilePraxisUpload;
|
|
44021
44377
|
};
|
|
44022
44378
|
export type FileCancelUploadResponse = FileCancelUploadResponses[keyof FileCancelUploadResponses];
|
|
44379
|
+
export type FileRetrieveUploadData = {
|
|
44380
|
+
body?: never;
|
|
44381
|
+
path: {
|
|
44382
|
+
/**
|
|
44383
|
+
* Upload identifier returned by create on this face; the upload belongs to your organization.
|
|
44384
|
+
*/
|
|
44385
|
+
upload_id: string;
|
|
44386
|
+
};
|
|
44387
|
+
query?: never;
|
|
44388
|
+
url: '/file/v1/uploads/{upload_id}';
|
|
44389
|
+
};
|
|
44390
|
+
export type FileRetrieveUploadErrors = {
|
|
44391
|
+
/**
|
|
44392
|
+
* INVALID_PARAMS: correct the upload_id before retrying.
|
|
44393
|
+
*/
|
|
44394
|
+
400: unknown;
|
|
44395
|
+
/**
|
|
44396
|
+
* UNAUTHENTICATED: supply a valid organization API key or signed-in session.
|
|
44397
|
+
*/
|
|
44398
|
+
401: unknown;
|
|
44399
|
+
/**
|
|
44400
|
+
* UPLOAD_NOT_FOUND: the upload is missing or belongs to another organization; create a new upload and send its parts.
|
|
44401
|
+
*/
|
|
44402
|
+
404: unknown;
|
|
44403
|
+
/**
|
|
44404
|
+
* UPLOAD_INVALID_STATE: the upload was cancelled or expired; create a new upload and send its parts again.
|
|
44405
|
+
*/
|
|
44406
|
+
409: unknown;
|
|
44407
|
+
};
|
|
44408
|
+
export type FileRetrieveUploadResponses = {
|
|
44409
|
+
/**
|
|
44410
|
+
* The upload state plus part_size and the received_parts list; complete once every part is present.
|
|
44411
|
+
*/
|
|
44412
|
+
200: OwnFilePraxisUpload;
|
|
44413
|
+
};
|
|
44414
|
+
export type FileRetrieveUploadResponse = FileRetrieveUploadResponses[keyof FileRetrieveUploadResponses];
|
|
44023
44415
|
export type FileCreateSignedUploadData = {
|
|
44024
44416
|
body: OwnFileSignedUploadRequest;
|
|
44025
44417
|
path?: never;
|
|
@@ -51456,7 +51848,7 @@ export type AgentsListResponses = {
|
|
|
51456
51848
|
*/
|
|
51457
51849
|
note: string | null;
|
|
51458
51850
|
/**
|
|
51459
|
-
* Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search or
|
|
51851
|
+
* Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search, browser, ticket, crm, canvas or cut. There is no binding by default; enabling one opens every public method of that service. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
|
|
51460
51852
|
*/
|
|
51461
51853
|
bindings: Array<{
|
|
51462
51854
|
/**
|
|
@@ -51487,7 +51879,7 @@ export type AgentsListResponses = {
|
|
|
51487
51879
|
/**
|
|
51488
51880
|
* Service type. Opens the whole service to codemode; there is no per-resource id.
|
|
51489
51881
|
*/
|
|
51490
|
-
type: 'search' | 'browser';
|
|
51882
|
+
type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
|
|
51491
51883
|
/**
|
|
51492
51884
|
* Save-time verification result. false means the resource owner was unavailable; saving still succeeded. Unchanged bindings retain their previous result. true is returned for other bindings, including workflow and script ids which are not verified at save time. Client values are ignored.
|
|
51493
51885
|
*/
|
|
@@ -51995,7 +52387,7 @@ export type AgentsCreateData = {
|
|
|
51995
52387
|
*/
|
|
51996
52388
|
tools?: Array<AgentManaged15 | AgentManaged29 | AgentManaged32>;
|
|
51997
52389
|
/**
|
|
51998
|
-
* Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search or
|
|
52390
|
+
* Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search, browser, ticket, crm, canvas or cut. There is no binding by default; enabling one opens every public method of that service. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
|
|
51999
52391
|
*/
|
|
52000
52392
|
bindings?: Array<{
|
|
52001
52393
|
/**
|
|
@@ -52026,7 +52418,7 @@ export type AgentsCreateData = {
|
|
|
52026
52418
|
/**
|
|
52027
52419
|
* Service type. Opens the whole service to codemode; there is no per-resource id.
|
|
52028
52420
|
*/
|
|
52029
|
-
type: 'search' | 'browser';
|
|
52421
|
+
type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
|
|
52030
52422
|
/**
|
|
52031
52423
|
* Save-time verification result. false means the resource owner was unavailable; saving still succeeded. Unchanged bindings retain their previous result. true is returned for other bindings, including workflow and script ids which are not verified at save time. Client values are ignored.
|
|
52032
52424
|
*/
|
|
@@ -52596,7 +52988,7 @@ export type AgentsCreateResponses = {
|
|
|
52596
52988
|
*/
|
|
52597
52989
|
note: string | null;
|
|
52598
52990
|
/**
|
|
52599
|
-
* Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search or
|
|
52991
|
+
* Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search, browser, ticket, crm, canvas or cut. There is no binding by default; enabling one opens every public method of that service. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
|
|
52600
52992
|
*/
|
|
52601
52993
|
bindings: Array<{
|
|
52602
52994
|
/**
|
|
@@ -52627,7 +53019,7 @@ export type AgentsCreateResponses = {
|
|
|
52627
53019
|
/**
|
|
52628
53020
|
* Service type. Opens the whole service to codemode; there is no per-resource id.
|
|
52629
53021
|
*/
|
|
52630
|
-
type: 'search' | 'browser';
|
|
53022
|
+
type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
|
|
52631
53023
|
/**
|
|
52632
53024
|
* Save-time verification result. false means the resource owner was unavailable; saving still succeeded. Unchanged bindings retain their previous result. true is returned for other bindings, including workflow and script ids which are not verified at save time. Client values are ignored.
|
|
52633
53025
|
*/
|
|
@@ -53224,7 +53616,7 @@ export type AgentsRetrieveResponses = {
|
|
|
53224
53616
|
*/
|
|
53225
53617
|
note: string | null;
|
|
53226
53618
|
/**
|
|
53227
|
-
* Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search or
|
|
53619
|
+
* Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search, browser, ticket, crm, canvas or cut. There is no binding by default; enabling one opens every public method of that service. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
|
|
53228
53620
|
*/
|
|
53229
53621
|
bindings: Array<{
|
|
53230
53622
|
/**
|
|
@@ -53255,7 +53647,7 @@ export type AgentsRetrieveResponses = {
|
|
|
53255
53647
|
/**
|
|
53256
53648
|
* Service type. Opens the whole service to codemode; there is no per-resource id.
|
|
53257
53649
|
*/
|
|
53258
|
-
type: 'search' | 'browser';
|
|
53650
|
+
type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
|
|
53259
53651
|
/**
|
|
53260
53652
|
* Save-time verification result. false means the resource owner was unavailable; saving still succeeded. Unchanged bindings retain their previous result. true is returned for other bindings, including workflow and script ids which are not verified at save time. Client values are ignored.
|
|
53261
53653
|
*/
|
|
@@ -53803,7 +54195,7 @@ export type AgentsUpdateData = {
|
|
|
53803
54195
|
/**
|
|
53804
54196
|
* Service type. Opens the whole service to codemode; there is no per-resource id.
|
|
53805
54197
|
*/
|
|
53806
|
-
type: 'search' | 'browser';
|
|
54198
|
+
type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
|
|
53807
54199
|
/**
|
|
53808
54200
|
* Save-time verification result. false means the resource owner was unavailable; saving still succeeded. Unchanged bindings retain their previous result. true is returned for other bindings, including workflow and script ids which are not verified at save time. Client values are ignored.
|
|
53809
54201
|
*/
|
|
@@ -54386,7 +54778,7 @@ export type AgentsUpdateResponses = {
|
|
|
54386
54778
|
*/
|
|
54387
54779
|
note: string | null;
|
|
54388
54780
|
/**
|
|
54389
|
-
* Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search or
|
|
54781
|
+
* Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search, browser, ticket, crm, canvas or cut. There is no binding by default; enabling one opens every public method of that service. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
|
|
54390
54782
|
*/
|
|
54391
54783
|
bindings: Array<{
|
|
54392
54784
|
/**
|
|
@@ -54417,7 +54809,7 @@ export type AgentsUpdateResponses = {
|
|
|
54417
54809
|
/**
|
|
54418
54810
|
* Service type. Opens the whole service to codemode; there is no per-resource id.
|
|
54419
54811
|
*/
|
|
54420
|
-
type: 'search' | 'browser';
|
|
54812
|
+
type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
|
|
54421
54813
|
/**
|
|
54422
54814
|
* Save-time verification result. false means the resource owner was unavailable; saving still succeeded. Unchanged bindings retain their previous result. true is returned for other bindings, including workflow and script ids which are not verified at save time. Client values are ignored.
|
|
54423
54815
|
*/
|
|
@@ -55000,7 +55392,7 @@ export type AgentsArchiveResponses = {
|
|
|
55000
55392
|
*/
|
|
55001
55393
|
note: string | null;
|
|
55002
55394
|
/**
|
|
55003
|
-
* Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search or
|
|
55395
|
+
* Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search, browser, ticket, crm, canvas or cut. There is no binding by default; enabling one opens every public method of that service. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
|
|
55004
55396
|
*/
|
|
55005
55397
|
bindings: Array<{
|
|
55006
55398
|
/**
|
|
@@ -55031,7 +55423,7 @@ export type AgentsArchiveResponses = {
|
|
|
55031
55423
|
/**
|
|
55032
55424
|
* Service type. Opens the whole service to codemode; there is no per-resource id.
|
|
55033
55425
|
*/
|
|
55034
|
-
type: 'search' | 'browser';
|
|
55426
|
+
type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
|
|
55035
55427
|
/**
|
|
55036
55428
|
* Save-time verification result. false means the resource owner was unavailable; saving still succeeded. Unchanged bindings retain their previous result. true is returned for other bindings, including workflow and script ids which are not verified at save time. Client values are ignored.
|
|
55037
55429
|
*/
|
|
@@ -55632,7 +56024,7 @@ export type AgentsVersionsListResponses = {
|
|
|
55632
56024
|
*/
|
|
55633
56025
|
note: string | null;
|
|
55634
56026
|
/**
|
|
55635
|
-
* Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search or
|
|
56027
|
+
* Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search, browser, ticket, crm, canvas or cut. There is no binding by default; enabling one opens every public method of that service. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
|
|
55636
56028
|
*/
|
|
55637
56029
|
bindings: Array<{
|
|
55638
56030
|
/**
|
|
@@ -55663,7 +56055,7 @@ export type AgentsVersionsListResponses = {
|
|
|
55663
56055
|
/**
|
|
55664
56056
|
* Service type. Opens the whole service to codemode; there is no per-resource id.
|
|
55665
56057
|
*/
|
|
55666
|
-
type: 'search' | 'browser';
|
|
56058
|
+
type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
|
|
55667
56059
|
/**
|
|
55668
56060
|
* Save-time verification result. false means the resource owner was unavailable; saving still succeeded. Unchanged bindings retain their previous result. true is returned for other bindings, including workflow and script ids which are not verified at save time. Client values are ignored.
|
|
55669
56061
|
*/
|
|
@@ -69424,7 +69816,7 @@ export type CutExecuteData = {
|
|
|
69424
69816
|
};
|
|
69425
69817
|
export type CutExecuteErrors = {
|
|
69426
69818
|
/**
|
|
69427
|
-
* SCRIPT_ERROR, SCRIPT_LIMIT or
|
|
69819
|
+
* SCRIPT_ERROR, SCRIPT_LIMIT, OPS_REJECTED or INVALID_CAPTION_FILE means the script failed and its writes rolled back; correct the source using error.details.edit_id and edits when provided. EDIT_EXPIRED means the saved source is older than ten minutes; resubmit corrected script source.
|
|
69428
69820
|
*/
|
|
69429
69821
|
400: CutCutError;
|
|
69430
69822
|
/**
|
|
@@ -72732,6 +73124,10 @@ export type MediaListLibrariesErrors = {
|
|
|
72732
73124
|
* Request failed; see the error code reference.
|
|
72733
73125
|
*/
|
|
72734
73126
|
415: MediaMediaError;
|
|
73127
|
+
/**
|
|
73128
|
+
* Request failed; see the error code reference.
|
|
73129
|
+
*/
|
|
73130
|
+
422: MediaMediaError;
|
|
72735
73131
|
/**
|
|
72736
73132
|
* Request failed; see the error code reference.
|
|
72737
73133
|
*/
|
|
@@ -72823,6 +73219,10 @@ export type MediaCreateLibraryErrors = {
|
|
|
72823
73219
|
* Request failed; see the error code reference.
|
|
72824
73220
|
*/
|
|
72825
73221
|
415: MediaMediaError;
|
|
73222
|
+
/**
|
|
73223
|
+
* Request failed; see the error code reference.
|
|
73224
|
+
*/
|
|
73225
|
+
422: MediaMediaError;
|
|
72826
73226
|
/**
|
|
72827
73227
|
* Request failed; see the error code reference.
|
|
72828
73228
|
*/
|
|
@@ -72897,6 +73297,10 @@ export type MediaCreateFrameUrlsErrors = {
|
|
|
72897
73297
|
* This media format is unsupported; provide a supported format.
|
|
72898
73298
|
*/
|
|
72899
73299
|
415: MediaMediaError;
|
|
73300
|
+
/**
|
|
73301
|
+
* Request failed; see the error code reference.
|
|
73302
|
+
*/
|
|
73303
|
+
422: MediaMediaError;
|
|
72900
73304
|
/**
|
|
72901
73305
|
* A rate limit was reached; wait before retrying.
|
|
72902
73306
|
*/
|
|
@@ -72958,6 +73362,10 @@ export type MediaDeleteLibraryErrors = {
|
|
|
72958
73362
|
* Request failed; see the error code reference.
|
|
72959
73363
|
*/
|
|
72960
73364
|
415: MediaMediaError;
|
|
73365
|
+
/**
|
|
73366
|
+
* Request failed; see the error code reference.
|
|
73367
|
+
*/
|
|
73368
|
+
422: MediaMediaError;
|
|
72961
73369
|
/**
|
|
72962
73370
|
* Request failed; see the error code reference.
|
|
72963
73371
|
*/
|
|
@@ -73019,6 +73427,10 @@ export type MediaGetLibraryErrors = {
|
|
|
73019
73427
|
* Request failed; see the error code reference.
|
|
73020
73428
|
*/
|
|
73021
73429
|
415: MediaMediaError;
|
|
73430
|
+
/**
|
|
73431
|
+
* Request failed; see the error code reference.
|
|
73432
|
+
*/
|
|
73433
|
+
422: MediaMediaError;
|
|
73022
73434
|
/**
|
|
73023
73435
|
* Request failed; see the error code reference.
|
|
73024
73436
|
*/
|
|
@@ -73119,6 +73531,10 @@ export type MediaUpdateLibraryErrors = {
|
|
|
73119
73531
|
* Request failed; see the error code reference.
|
|
73120
73532
|
*/
|
|
73121
73533
|
415: MediaMediaError;
|
|
73534
|
+
/**
|
|
73535
|
+
* Request failed; see the error code reference.
|
|
73536
|
+
*/
|
|
73537
|
+
422: MediaMediaError;
|
|
73122
73538
|
/**
|
|
73123
73539
|
* Request failed; see the error code reference.
|
|
73124
73540
|
*/
|
|
@@ -73180,6 +73596,10 @@ export type MediaRestoreLibraryErrors = {
|
|
|
73180
73596
|
* Request failed; see the error code reference.
|
|
73181
73597
|
*/
|
|
73182
73598
|
415: MediaMediaError;
|
|
73599
|
+
/**
|
|
73600
|
+
* Request failed; see the error code reference.
|
|
73601
|
+
*/
|
|
73602
|
+
422: MediaMediaError;
|
|
73183
73603
|
/**
|
|
73184
73604
|
* Request failed; see the error code reference.
|
|
73185
73605
|
*/
|
|
@@ -73241,6 +73661,10 @@ export type MediaPurgeLibraryErrors = {
|
|
|
73241
73661
|
* Request failed; see the error code reference.
|
|
73242
73662
|
*/
|
|
73243
73663
|
415: MediaMediaError;
|
|
73664
|
+
/**
|
|
73665
|
+
* Request failed; see the error code reference.
|
|
73666
|
+
*/
|
|
73667
|
+
422: MediaMediaError;
|
|
73244
73668
|
/**
|
|
73245
73669
|
* Request failed; see the error code reference.
|
|
73246
73670
|
*/
|
|
@@ -73319,6 +73743,10 @@ export type MediaListAssetsErrors = {
|
|
|
73319
73743
|
* Request failed; see the error code reference.
|
|
73320
73744
|
*/
|
|
73321
73745
|
415: MediaMediaError;
|
|
73746
|
+
/**
|
|
73747
|
+
* Request failed; see the error code reference.
|
|
73748
|
+
*/
|
|
73749
|
+
422: MediaMediaError;
|
|
73322
73750
|
/**
|
|
73323
73751
|
* Request failed; see the error code reference.
|
|
73324
73752
|
*/
|
|
@@ -73456,6 +73884,10 @@ export type MediaUploadAssetErrors = {
|
|
|
73456
73884
|
* Request failed; see the error code reference.
|
|
73457
73885
|
*/
|
|
73458
73886
|
415: MediaMediaError;
|
|
73887
|
+
/**
|
|
73888
|
+
* Request failed; see the error code reference.
|
|
73889
|
+
*/
|
|
73890
|
+
422: MediaMediaError;
|
|
73459
73891
|
/**
|
|
73460
73892
|
* Request failed; see the error code reference.
|
|
73461
73893
|
*/
|
|
@@ -73583,6 +74015,10 @@ export type MediaImportAssetErrors = {
|
|
|
73583
74015
|
* Request failed; see the error code reference.
|
|
73584
74016
|
*/
|
|
73585
74017
|
415: MediaMediaError;
|
|
74018
|
+
/**
|
|
74019
|
+
* Request failed; see the error code reference.
|
|
74020
|
+
*/
|
|
74021
|
+
422: MediaMediaError;
|
|
73586
74022
|
/**
|
|
73587
74023
|
* Request failed; see the error code reference.
|
|
73588
74024
|
*/
|
|
@@ -73648,6 +74084,10 @@ export type MediaDeleteAssetErrors = {
|
|
|
73648
74084
|
* Request failed; see the error code reference.
|
|
73649
74085
|
*/
|
|
73650
74086
|
415: MediaMediaError;
|
|
74087
|
+
/**
|
|
74088
|
+
* Request failed; see the error code reference.
|
|
74089
|
+
*/
|
|
74090
|
+
422: MediaMediaError;
|
|
73651
74091
|
/**
|
|
73652
74092
|
* Request failed; see the error code reference.
|
|
73653
74093
|
*/
|
|
@@ -73713,6 +74153,10 @@ export type MediaGetAssetErrors = {
|
|
|
73713
74153
|
* Request failed; see the error code reference.
|
|
73714
74154
|
*/
|
|
73715
74155
|
415: MediaMediaError;
|
|
74156
|
+
/**
|
|
74157
|
+
* Request failed; see the error code reference.
|
|
74158
|
+
*/
|
|
74159
|
+
422: MediaMediaError;
|
|
73716
74160
|
/**
|
|
73717
74161
|
* Request failed; see the error code reference.
|
|
73718
74162
|
*/
|
|
@@ -73800,6 +74244,10 @@ export type MediaUpdateAssetErrors = {
|
|
|
73800
74244
|
* Request failed; see the error code reference.
|
|
73801
74245
|
*/
|
|
73802
74246
|
415: MediaMediaError;
|
|
74247
|
+
/**
|
|
74248
|
+
* Request failed; see the error code reference.
|
|
74249
|
+
*/
|
|
74250
|
+
422: MediaMediaError;
|
|
73803
74251
|
/**
|
|
73804
74252
|
* Request failed; see the error code reference.
|
|
73805
74253
|
*/
|
|
@@ -73873,6 +74321,10 @@ export type MediaReprocessAssetErrors = {
|
|
|
73873
74321
|
* Request failed; see the error code reference.
|
|
73874
74322
|
*/
|
|
73875
74323
|
415: MediaMediaError;
|
|
74324
|
+
/**
|
|
74325
|
+
* Request failed; see the error code reference.
|
|
74326
|
+
*/
|
|
74327
|
+
422: MediaMediaError;
|
|
73876
74328
|
/**
|
|
73877
74329
|
* Request failed; see the error code reference.
|
|
73878
74330
|
*/
|
|
@@ -73955,6 +74407,10 @@ export type MediaListUnderstandingsErrors = {
|
|
|
73955
74407
|
* Request failed; see the error code reference.
|
|
73956
74408
|
*/
|
|
73957
74409
|
415: MediaMediaError;
|
|
74410
|
+
/**
|
|
74411
|
+
* Request failed; see the error code reference.
|
|
74412
|
+
*/
|
|
74413
|
+
422: MediaMediaError;
|
|
73958
74414
|
/**
|
|
73959
74415
|
* Request failed; see the error code reference.
|
|
73960
74416
|
*/
|
|
@@ -74046,6 +74502,10 @@ export type MediaExpressionSearchErrors = {
|
|
|
74046
74502
|
* Request failed; see the error code reference.
|
|
74047
74503
|
*/
|
|
74048
74504
|
415: MediaMediaError;
|
|
74505
|
+
/**
|
|
74506
|
+
* Request failed; see the error code reference.
|
|
74507
|
+
*/
|
|
74508
|
+
422: MediaMediaError;
|
|
74049
74509
|
/**
|
|
74050
74510
|
* Request failed; see the error code reference.
|
|
74051
74511
|
*/
|
|
@@ -74133,6 +74593,10 @@ export type MediaVisualSearchErrors = {
|
|
|
74133
74593
|
* Request failed; see the error code reference.
|
|
74134
74594
|
*/
|
|
74135
74595
|
415: MediaMediaError;
|
|
74596
|
+
/**
|
|
74597
|
+
* Request failed; see the error code reference.
|
|
74598
|
+
*/
|
|
74599
|
+
422: MediaMediaError;
|
|
74136
74600
|
/**
|
|
74137
74601
|
* Request failed; see the error code reference.
|
|
74138
74602
|
*/
|
|
@@ -74214,6 +74678,10 @@ export type MediaSemanticSearchErrors = {
|
|
|
74214
74678
|
* Request failed; see the error code reference.
|
|
74215
74679
|
*/
|
|
74216
74680
|
415: MediaMediaError;
|
|
74681
|
+
/**
|
|
74682
|
+
* Request failed; see the error code reference.
|
|
74683
|
+
*/
|
|
74684
|
+
422: MediaMediaError;
|
|
74217
74685
|
/**
|
|
74218
74686
|
* Request failed; see the error code reference.
|
|
74219
74687
|
*/
|
|
@@ -74295,6 +74763,10 @@ export type MediaSearchErrors = {
|
|
|
74295
74763
|
* Request failed; see the error code reference.
|
|
74296
74764
|
*/
|
|
74297
74765
|
415: MediaMediaError;
|
|
74766
|
+
/**
|
|
74767
|
+
* Request failed; see the error code reference.
|
|
74768
|
+
*/
|
|
74769
|
+
422: MediaMediaError;
|
|
74298
74770
|
/**
|
|
74299
74771
|
* Request failed; see the error code reference.
|
|
74300
74772
|
*/
|
|
@@ -74361,6 +74833,10 @@ export type MediaListFoldersErrors = {
|
|
|
74361
74833
|
* Request failed; see the error code reference.
|
|
74362
74834
|
*/
|
|
74363
74835
|
415: MediaMediaError;
|
|
74836
|
+
/**
|
|
74837
|
+
* Request failed; see the error code reference.
|
|
74838
|
+
*/
|
|
74839
|
+
422: MediaMediaError;
|
|
74364
74840
|
/**
|
|
74365
74841
|
* Request failed; see the error code reference.
|
|
74366
74842
|
*/
|
|
@@ -74434,6 +74910,10 @@ export type MediaCreateBatchErrors = {
|
|
|
74434
74910
|
* Request failed; see the error code reference.
|
|
74435
74911
|
*/
|
|
74436
74912
|
415: MediaMediaError;
|
|
74913
|
+
/**
|
|
74914
|
+
* Request failed; see the error code reference.
|
|
74915
|
+
*/
|
|
74916
|
+
422: MediaMediaError;
|
|
74437
74917
|
/**
|
|
74438
74918
|
* Request failed; see the error code reference.
|
|
74439
74919
|
*/
|
|
@@ -74499,6 +74979,10 @@ export type MediaGetBatchErrors = {
|
|
|
74499
74979
|
* Request failed; see the error code reference.
|
|
74500
74980
|
*/
|
|
74501
74981
|
415: MediaMediaError;
|
|
74982
|
+
/**
|
|
74983
|
+
* Request failed; see the error code reference.
|
|
74984
|
+
*/
|
|
74985
|
+
422: MediaMediaError;
|
|
74502
74986
|
/**
|
|
74503
74987
|
* Request failed; see the error code reference.
|
|
74504
74988
|
*/
|
|
@@ -74572,6 +75056,10 @@ export type MediaBatchAssetsErrors = {
|
|
|
74572
75056
|
* Request failed; see the error code reference.
|
|
74573
75057
|
*/
|
|
74574
75058
|
415: MediaMediaError;
|
|
75059
|
+
/**
|
|
75060
|
+
* Request failed; see the error code reference.
|
|
75061
|
+
*/
|
|
75062
|
+
422: MediaMediaError;
|
|
74575
75063
|
/**
|
|
74576
75064
|
* Request failed; see the error code reference.
|
|
74577
75065
|
*/
|
|
@@ -74605,7 +75093,7 @@ export type MediaGetJobData = {
|
|
|
74605
75093
|
*/
|
|
74606
75094
|
library_id: string;
|
|
74607
75095
|
/**
|
|
74608
|
-
*
|
|
75096
|
+
* Job identifier returned by batch creation, video-generation creation or job listing; resolved within this library.
|
|
74609
75097
|
*/
|
|
74610
75098
|
job_id: string;
|
|
74611
75099
|
};
|
|
@@ -74614,15 +75102,15 @@ export type MediaGetJobData = {
|
|
|
74614
75102
|
};
|
|
74615
75103
|
export type MediaGetJobErrors = {
|
|
74616
75104
|
/**
|
|
74617
|
-
*
|
|
75105
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
74618
75106
|
*/
|
|
74619
75107
|
400: MediaMediaError;
|
|
74620
75108
|
/**
|
|
74621
|
-
*
|
|
75109
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
74622
75110
|
*/
|
|
74623
75111
|
403: MediaMediaError;
|
|
74624
75112
|
/**
|
|
74625
|
-
*
|
|
75113
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
74626
75114
|
*/
|
|
74627
75115
|
404: MediaMediaError;
|
|
74628
75116
|
/**
|
|
@@ -74630,19 +75118,23 @@ export type MediaGetJobErrors = {
|
|
|
74630
75118
|
*/
|
|
74631
75119
|
409: MediaMediaError;
|
|
74632
75120
|
/**
|
|
74633
|
-
*
|
|
75121
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
74634
75122
|
*/
|
|
74635
75123
|
413: MediaMediaError;
|
|
74636
75124
|
/**
|
|
74637
|
-
*
|
|
75125
|
+
* This media format is unsupported; provide a supported format.
|
|
74638
75126
|
*/
|
|
74639
75127
|
415: MediaMediaError;
|
|
74640
75128
|
/**
|
|
74641
75129
|
* Request failed; see the error code reference.
|
|
74642
75130
|
*/
|
|
75131
|
+
422: MediaMediaError;
|
|
75132
|
+
/**
|
|
75133
|
+
* A rate limit was reached; wait before retrying.
|
|
75134
|
+
*/
|
|
74643
75135
|
429: MediaMediaError;
|
|
74644
75136
|
/**
|
|
74645
|
-
*
|
|
75137
|
+
* The requested operation is unsupported; choose a supported method.
|
|
74646
75138
|
*/
|
|
74647
75139
|
501: MediaMediaError;
|
|
74648
75140
|
/**
|
|
@@ -74650,7 +75142,7 @@ export type MediaGetJobErrors = {
|
|
|
74650
75142
|
*/
|
|
74651
75143
|
502: MediaMediaError;
|
|
74652
75144
|
/**
|
|
74653
|
-
*
|
|
75145
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
74654
75146
|
*/
|
|
74655
75147
|
503: MediaMediaError;
|
|
74656
75148
|
};
|
|
@@ -74715,6 +75207,10 @@ export type MediaListEventsErrors = {
|
|
|
74715
75207
|
* Request failed; see the error code reference.
|
|
74716
75208
|
*/
|
|
74717
75209
|
415: MediaMediaError;
|
|
75210
|
+
/**
|
|
75211
|
+
* Request failed; see the error code reference.
|
|
75212
|
+
*/
|
|
75213
|
+
422: MediaMediaError;
|
|
74718
75214
|
/**
|
|
74719
75215
|
* Request failed; see the error code reference.
|
|
74720
75216
|
*/
|
|
@@ -74788,6 +75284,10 @@ export type MediaCreateDeliveryTokenErrors = {
|
|
|
74788
75284
|
* Request failed; see the error code reference.
|
|
74789
75285
|
*/
|
|
74790
75286
|
415: MediaMediaError;
|
|
75287
|
+
/**
|
|
75288
|
+
* Request failed; see the error code reference.
|
|
75289
|
+
*/
|
|
75290
|
+
422: MediaMediaError;
|
|
74791
75291
|
/**
|
|
74792
75292
|
* Request failed; see the error code reference.
|
|
74793
75293
|
*/
|
|
@@ -74849,6 +75349,10 @@ export type MediaUnderstandingFailureSummaryErrors = {
|
|
|
74849
75349
|
* This media format is unsupported; provide a supported format.
|
|
74850
75350
|
*/
|
|
74851
75351
|
415: MediaMediaError;
|
|
75352
|
+
/**
|
|
75353
|
+
* Request failed; see the error code reference.
|
|
75354
|
+
*/
|
|
75355
|
+
422: MediaMediaError;
|
|
74852
75356
|
/**
|
|
74853
75357
|
* A rate limit was reached; wait before retrying.
|
|
74854
75358
|
*/
|
|
@@ -74927,6 +75431,10 @@ export type MediaListUnderstandingsByLibraryErrors = {
|
|
|
74927
75431
|
* This media format is unsupported; provide a supported format.
|
|
74928
75432
|
*/
|
|
74929
75433
|
415: MediaMediaError;
|
|
75434
|
+
/**
|
|
75435
|
+
* Request failed; see the error code reference.
|
|
75436
|
+
*/
|
|
75437
|
+
422: MediaMediaError;
|
|
74930
75438
|
/**
|
|
74931
75439
|
* A rate limit was reached; wait before retrying.
|
|
74932
75440
|
*/
|
|
@@ -74952,6 +75460,425 @@ export type MediaListUnderstandingsByLibraryResponses = {
|
|
|
74952
75460
|
200: MediaUnderstandingPage;
|
|
74953
75461
|
};
|
|
74954
75462
|
export type MediaListUnderstandingsByLibraryResponse = MediaListUnderstandingsByLibraryResponses[keyof MediaListUnderstandingsByLibraryResponses];
|
|
75463
|
+
export type MediaCreateGenerationData = {
|
|
75464
|
+
/**
|
|
75465
|
+
* Text-to-video request. Generation is charged per second; unsaved candidates expire after 7 days.
|
|
75466
|
+
*/
|
|
75467
|
+
body: {
|
|
75468
|
+
/**
|
|
75469
|
+
* Generation operation; v1 accepts only video.generate text-to-video requests.
|
|
75470
|
+
*/
|
|
75471
|
+
intent: 'video.generate';
|
|
75472
|
+
/**
|
|
75473
|
+
* Text prompt describing the video to generate.
|
|
75474
|
+
*/
|
|
75475
|
+
prompt: string;
|
|
75476
|
+
/**
|
|
75477
|
+
* Number of videos to generate; defaults to 1 and must be from 1 to 4.
|
|
75478
|
+
*/
|
|
75479
|
+
count?: number;
|
|
75480
|
+
/**
|
|
75481
|
+
* Requested video duration in seconds; Router validates the model-specific supported durations.
|
|
75482
|
+
*/
|
|
75483
|
+
duration_seconds?: number;
|
|
75484
|
+
/**
|
|
75485
|
+
* Requested output aspect ratio; defaults to 16:9 and Router validates model support.
|
|
75486
|
+
*/
|
|
75487
|
+
aspect_ratio?: string;
|
|
75488
|
+
/**
|
|
75489
|
+
* Router model with video_generation capability; defaults to wan2.7-t2v.
|
|
75490
|
+
*/
|
|
75491
|
+
model?: string;
|
|
75492
|
+
/**
|
|
75493
|
+
* candidate keeps outputs temporary for explicit save calls; library saves successful outputs automatically.
|
|
75494
|
+
*/
|
|
75495
|
+
save?: 'candidate' | 'library';
|
|
75496
|
+
/**
|
|
75497
|
+
* Folder for assets saved automatically or by later save calls; defaults to the library root. New path segments containing U+FFFD or consisting only of question marks are rejected with INVALID_PARAMS; send UTF-8 names. Existing affected folders remain readable and assets can be moved out.
|
|
75498
|
+
*/
|
|
75499
|
+
asset_folder?: string;
|
|
75500
|
+
/**
|
|
75501
|
+
* Tags applied when an output becomes a library asset.
|
|
75502
|
+
*/
|
|
75503
|
+
tags?: Array<string>;
|
|
75504
|
+
/**
|
|
75505
|
+
* Understanding behavior when a candidate is saved as an asset; defaults to auto.
|
|
75506
|
+
*/
|
|
75507
|
+
understanding?: 'auto' | 'skip';
|
|
75508
|
+
/**
|
|
75509
|
+
* Not supported in v1; omit this field. Only text-to-video is currently available.
|
|
75510
|
+
*/
|
|
75511
|
+
references?: Array<unknown>;
|
|
75512
|
+
};
|
|
75513
|
+
headers?: {
|
|
75514
|
+
/**
|
|
75515
|
+
* Stable key for retrying the same request without creating or charging for another job; reusing it with different request content is rejected.
|
|
75516
|
+
*/
|
|
75517
|
+
'Idempotency-Key'?: string;
|
|
75518
|
+
};
|
|
75519
|
+
path: {
|
|
75520
|
+
/**
|
|
75521
|
+
* Library ID returned by creation.
|
|
75522
|
+
*/
|
|
75523
|
+
library_id: string;
|
|
75524
|
+
};
|
|
75525
|
+
query?: never;
|
|
75526
|
+
url: '/media/v1/libraries/{library_id}/generations';
|
|
75527
|
+
};
|
|
75528
|
+
export type MediaCreateGenerationErrors = {
|
|
75529
|
+
/**
|
|
75530
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
75531
|
+
*/
|
|
75532
|
+
400: MediaMediaError;
|
|
75533
|
+
/**
|
|
75534
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
75535
|
+
*/
|
|
75536
|
+
403: MediaMediaError;
|
|
75537
|
+
/**
|
|
75538
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
75539
|
+
*/
|
|
75540
|
+
404: MediaMediaError;
|
|
75541
|
+
/**
|
|
75542
|
+
* Request failed; see the error code reference.
|
|
75543
|
+
*/
|
|
75544
|
+
409: MediaMediaError;
|
|
75545
|
+
/**
|
|
75546
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
75547
|
+
*/
|
|
75548
|
+
413: MediaMediaError;
|
|
75549
|
+
/**
|
|
75550
|
+
* This media format is unsupported; provide a supported format.
|
|
75551
|
+
*/
|
|
75552
|
+
415: MediaMediaError;
|
|
75553
|
+
/**
|
|
75554
|
+
* Request failed; see the error code reference.
|
|
75555
|
+
*/
|
|
75556
|
+
422: MediaMediaError;
|
|
75557
|
+
/**
|
|
75558
|
+
* This library already has five queued or running generation jobs; wait until one finishes and retry.
|
|
75559
|
+
*/
|
|
75560
|
+
429: MediaMediaError;
|
|
75561
|
+
/**
|
|
75562
|
+
* The requested operation is unsupported; choose a supported method.
|
|
75563
|
+
*/
|
|
75564
|
+
501: MediaMediaError;
|
|
75565
|
+
/**
|
|
75566
|
+
* Request failed; see the error code reference.
|
|
75567
|
+
*/
|
|
75568
|
+
502: MediaMediaError;
|
|
75569
|
+
/**
|
|
75570
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
75571
|
+
*/
|
|
75572
|
+
503: MediaMediaError;
|
|
75573
|
+
};
|
|
75574
|
+
export type MediaCreateGenerationError = MediaCreateGenerationErrors[keyof MediaCreateGenerationErrors];
|
|
75575
|
+
export type MediaCreateGenerationResponses = {
|
|
75576
|
+
/**
|
|
75577
|
+
* Successful response.
|
|
75578
|
+
*/
|
|
75579
|
+
202: MediaJob;
|
|
75580
|
+
};
|
|
75581
|
+
export type MediaCreateGenerationResponse = MediaCreateGenerationResponses[keyof MediaCreateGenerationResponses];
|
|
75582
|
+
export type MediaListJobsData = {
|
|
75583
|
+
body?: never;
|
|
75584
|
+
path: {
|
|
75585
|
+
/**
|
|
75586
|
+
* Library ID returned by creation.
|
|
75587
|
+
*/
|
|
75588
|
+
library_id: string;
|
|
75589
|
+
};
|
|
75590
|
+
query?: {
|
|
75591
|
+
/**
|
|
75592
|
+
* Filter jobs by their current status.
|
|
75593
|
+
*/
|
|
75594
|
+
status?: MediaJobStatus;
|
|
75595
|
+
/**
|
|
75596
|
+
* Maximum entries in this page, from 1 through 100; defaults to 100.
|
|
75597
|
+
*/
|
|
75598
|
+
limit?: number;
|
|
75599
|
+
/**
|
|
75600
|
+
* Job id from the previous page’s next_cursor; omit for the first page.
|
|
75601
|
+
*/
|
|
75602
|
+
cursor?: MediaJobId;
|
|
75603
|
+
};
|
|
75604
|
+
url: '/media/v1/libraries/{library_id}/jobs';
|
|
75605
|
+
};
|
|
75606
|
+
export type MediaListJobsErrors = {
|
|
75607
|
+
/**
|
|
75608
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
75609
|
+
*/
|
|
75610
|
+
400: MediaMediaError;
|
|
75611
|
+
/**
|
|
75612
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
75613
|
+
*/
|
|
75614
|
+
403: MediaMediaError;
|
|
75615
|
+
/**
|
|
75616
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
75617
|
+
*/
|
|
75618
|
+
404: MediaMediaError;
|
|
75619
|
+
/**
|
|
75620
|
+
* Request failed; see the error code reference.
|
|
75621
|
+
*/
|
|
75622
|
+
409: MediaMediaError;
|
|
75623
|
+
/**
|
|
75624
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
75625
|
+
*/
|
|
75626
|
+
413: MediaMediaError;
|
|
75627
|
+
/**
|
|
75628
|
+
* This media format is unsupported; provide a supported format.
|
|
75629
|
+
*/
|
|
75630
|
+
415: MediaMediaError;
|
|
75631
|
+
/**
|
|
75632
|
+
* Request failed; see the error code reference.
|
|
75633
|
+
*/
|
|
75634
|
+
422: MediaMediaError;
|
|
75635
|
+
/**
|
|
75636
|
+
* A rate limit was reached; wait before retrying.
|
|
75637
|
+
*/
|
|
75638
|
+
429: MediaMediaError;
|
|
75639
|
+
/**
|
|
75640
|
+
* The requested operation is unsupported; choose a supported method.
|
|
75641
|
+
*/
|
|
75642
|
+
501: MediaMediaError;
|
|
75643
|
+
/**
|
|
75644
|
+
* Request failed; see the error code reference.
|
|
75645
|
+
*/
|
|
75646
|
+
502: MediaMediaError;
|
|
75647
|
+
/**
|
|
75648
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
75649
|
+
*/
|
|
75650
|
+
503: MediaMediaError;
|
|
75651
|
+
};
|
|
75652
|
+
export type MediaListJobsError = MediaListJobsErrors[keyof MediaListJobsErrors];
|
|
75653
|
+
export type MediaListJobsResponses = {
|
|
75654
|
+
/**
|
|
75655
|
+
* Successful response.
|
|
75656
|
+
*/
|
|
75657
|
+
200: MediaJobPage;
|
|
75658
|
+
};
|
|
75659
|
+
export type MediaListJobsResponse = MediaListJobsResponses[keyof MediaListJobsResponses];
|
|
75660
|
+
export type MediaCancelJobData = {
|
|
75661
|
+
body?: never;
|
|
75662
|
+
path: {
|
|
75663
|
+
/**
|
|
75664
|
+
* Library ID returned by creation.
|
|
75665
|
+
*/
|
|
75666
|
+
library_id: string;
|
|
75667
|
+
/**
|
|
75668
|
+
* Job identifier returned by batch or generation creation; the job is resolved within the specified library.
|
|
75669
|
+
*/
|
|
75670
|
+
job_id: string;
|
|
75671
|
+
};
|
|
75672
|
+
query?: never;
|
|
75673
|
+
url: '/media/v1/libraries/{library_id}/jobs/{job_id}/cancel';
|
|
75674
|
+
};
|
|
75675
|
+
export type MediaCancelJobErrors = {
|
|
75676
|
+
/**
|
|
75677
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
75678
|
+
*/
|
|
75679
|
+
400: MediaMediaError;
|
|
75680
|
+
/**
|
|
75681
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
75682
|
+
*/
|
|
75683
|
+
403: MediaMediaError;
|
|
75684
|
+
/**
|
|
75685
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
75686
|
+
*/
|
|
75687
|
+
404: MediaMediaError;
|
|
75688
|
+
/**
|
|
75689
|
+
* Request failed; see the error code reference.
|
|
75690
|
+
*/
|
|
75691
|
+
409: MediaMediaError;
|
|
75692
|
+
/**
|
|
75693
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
75694
|
+
*/
|
|
75695
|
+
413: MediaMediaError;
|
|
75696
|
+
/**
|
|
75697
|
+
* This media format is unsupported; provide a supported format.
|
|
75698
|
+
*/
|
|
75699
|
+
415: MediaMediaError;
|
|
75700
|
+
/**
|
|
75701
|
+
* Request failed; see the error code reference.
|
|
75702
|
+
*/
|
|
75703
|
+
422: MediaMediaError;
|
|
75704
|
+
/**
|
|
75705
|
+
* A rate limit was reached; wait before retrying.
|
|
75706
|
+
*/
|
|
75707
|
+
429: MediaMediaError;
|
|
75708
|
+
/**
|
|
75709
|
+
* The requested operation is unsupported; choose a supported method.
|
|
75710
|
+
*/
|
|
75711
|
+
501: MediaMediaError;
|
|
75712
|
+
/**
|
|
75713
|
+
* Request failed; see the error code reference.
|
|
75714
|
+
*/
|
|
75715
|
+
502: MediaMediaError;
|
|
75716
|
+
/**
|
|
75717
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
75718
|
+
*/
|
|
75719
|
+
503: MediaMediaError;
|
|
75720
|
+
};
|
|
75721
|
+
export type MediaCancelJobError = MediaCancelJobErrors[keyof MediaCancelJobErrors];
|
|
75722
|
+
export type MediaCancelJobResponses = {
|
|
75723
|
+
/**
|
|
75724
|
+
* Successful response.
|
|
75725
|
+
*/
|
|
75726
|
+
200: MediaJob;
|
|
75727
|
+
};
|
|
75728
|
+
export type MediaCancelJobResponse = MediaCancelJobResponses[keyof MediaCancelJobResponses];
|
|
75729
|
+
export type MediaSaveGenerationOutputData = {
|
|
75730
|
+
/**
|
|
75731
|
+
* Optional asset metadata and understanding behavior for a successful candidate.
|
|
75732
|
+
*/
|
|
75733
|
+
body?: {
|
|
75734
|
+
/**
|
|
75735
|
+
* Delivery identifier for the saved asset; defaults to gen_<job_id>_<index> and is idempotent.
|
|
75736
|
+
*/
|
|
75737
|
+
public_id?: string;
|
|
75738
|
+
/**
|
|
75739
|
+
* Destination folder for the saved asset; defaults to the library root. New path segments containing U+FFFD or consisting only of question marks are rejected with INVALID_PARAMS; send UTF-8 names. Existing affected folders remain readable and assets can be moved out.
|
|
75740
|
+
*/
|
|
75741
|
+
asset_folder?: string;
|
|
75742
|
+
/**
|
|
75743
|
+
* Tags to apply to the saved asset.
|
|
75744
|
+
*/
|
|
75745
|
+
tags?: Array<string>;
|
|
75746
|
+
/**
|
|
75747
|
+
* Understanding behavior for the saved asset; defaults to auto.
|
|
75748
|
+
*/
|
|
75749
|
+
understanding?: 'auto' | 'skip';
|
|
75750
|
+
};
|
|
75751
|
+
path: {
|
|
75752
|
+
/**
|
|
75753
|
+
* Library ID returned by creation.
|
|
75754
|
+
*/
|
|
75755
|
+
library_id: string;
|
|
75756
|
+
/**
|
|
75757
|
+
* Job identifier returned by batch or generation creation; the job is resolved within the specified library.
|
|
75758
|
+
*/
|
|
75759
|
+
job_id: string;
|
|
75760
|
+
/**
|
|
75761
|
+
* Zero-based position of the candidate in the Job outputs array.
|
|
75762
|
+
*/
|
|
75763
|
+
index: string;
|
|
75764
|
+
};
|
|
75765
|
+
query?: never;
|
|
75766
|
+
url: '/media/v1/libraries/{library_id}/jobs/{job_id}/outputs/{index}/save';
|
|
75767
|
+
};
|
|
75768
|
+
export type MediaSaveGenerationOutputErrors = {
|
|
75769
|
+
/**
|
|
75770
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
75771
|
+
*/
|
|
75772
|
+
400: MediaMediaError;
|
|
75773
|
+
/**
|
|
75774
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
75775
|
+
*/
|
|
75776
|
+
403: MediaMediaError;
|
|
75777
|
+
/**
|
|
75778
|
+
* The job or output is inaccessible, missing, or the candidate has expired; verify library ownership and create a new job for an expired candidate.
|
|
75779
|
+
*/
|
|
75780
|
+
404: MediaMediaError;
|
|
75781
|
+
/**
|
|
75782
|
+
* Request failed; see the error code reference.
|
|
75783
|
+
*/
|
|
75784
|
+
409: MediaMediaError;
|
|
75785
|
+
/**
|
|
75786
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
75787
|
+
*/
|
|
75788
|
+
413: MediaMediaError;
|
|
75789
|
+
/**
|
|
75790
|
+
* This media format is unsupported; provide a supported format.
|
|
75791
|
+
*/
|
|
75792
|
+
415: MediaMediaError;
|
|
75793
|
+
/**
|
|
75794
|
+
* Request failed; see the error code reference.
|
|
75795
|
+
*/
|
|
75796
|
+
422: MediaMediaError;
|
|
75797
|
+
/**
|
|
75798
|
+
* A rate limit was reached; wait before retrying.
|
|
75799
|
+
*/
|
|
75800
|
+
429: MediaMediaError;
|
|
75801
|
+
/**
|
|
75802
|
+
* The requested operation is unsupported; choose a supported method.
|
|
75803
|
+
*/
|
|
75804
|
+
501: MediaMediaError;
|
|
75805
|
+
/**
|
|
75806
|
+
* Request failed; see the error code reference.
|
|
75807
|
+
*/
|
|
75808
|
+
502: MediaMediaError;
|
|
75809
|
+
/**
|
|
75810
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
75811
|
+
*/
|
|
75812
|
+
503: MediaMediaError;
|
|
75813
|
+
};
|
|
75814
|
+
export type MediaSaveGenerationOutputError = MediaSaveGenerationOutputErrors[keyof MediaSaveGenerationOutputErrors];
|
|
75815
|
+
export type MediaSaveGenerationOutputResponses = {
|
|
75816
|
+
/**
|
|
75817
|
+
* Successful response.
|
|
75818
|
+
*/
|
|
75819
|
+
200: MediaAsset;
|
|
75820
|
+
};
|
|
75821
|
+
export type MediaSaveGenerationOutputResponse = MediaSaveGenerationOutputResponses[keyof MediaSaveGenerationOutputResponses];
|
|
75822
|
+
export type MediaGetGenerationCapabilitiesData = {
|
|
75823
|
+
body?: never;
|
|
75824
|
+
path?: never;
|
|
75825
|
+
query?: never;
|
|
75826
|
+
url: '/media/v1/generation/capabilities';
|
|
75827
|
+
};
|
|
75828
|
+
export type MediaGetGenerationCapabilitiesErrors = {
|
|
75829
|
+
/**
|
|
75830
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
75831
|
+
*/
|
|
75832
|
+
400: MediaMediaError;
|
|
75833
|
+
/**
|
|
75834
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
75835
|
+
*/
|
|
75836
|
+
403: MediaMediaError;
|
|
75837
|
+
/**
|
|
75838
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
75839
|
+
*/
|
|
75840
|
+
404: MediaMediaError;
|
|
75841
|
+
/**
|
|
75842
|
+
* Request failed; see the error code reference.
|
|
75843
|
+
*/
|
|
75844
|
+
409: MediaMediaError;
|
|
75845
|
+
/**
|
|
75846
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
75847
|
+
*/
|
|
75848
|
+
413: MediaMediaError;
|
|
75849
|
+
/**
|
|
75850
|
+
* This media format is unsupported; provide a supported format.
|
|
75851
|
+
*/
|
|
75852
|
+
415: MediaMediaError;
|
|
75853
|
+
/**
|
|
75854
|
+
* Request failed; see the error code reference.
|
|
75855
|
+
*/
|
|
75856
|
+
422: MediaMediaError;
|
|
75857
|
+
/**
|
|
75858
|
+
* A rate limit was reached; wait before retrying.
|
|
75859
|
+
*/
|
|
75860
|
+
429: MediaMediaError;
|
|
75861
|
+
/**
|
|
75862
|
+
* The requested operation is unsupported; choose a supported method.
|
|
75863
|
+
*/
|
|
75864
|
+
501: MediaMediaError;
|
|
75865
|
+
/**
|
|
75866
|
+
* Request failed; see the error code reference.
|
|
75867
|
+
*/
|
|
75868
|
+
502: MediaMediaError;
|
|
75869
|
+
/**
|
|
75870
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
75871
|
+
*/
|
|
75872
|
+
503: MediaMediaError;
|
|
75873
|
+
};
|
|
75874
|
+
export type MediaGetGenerationCapabilitiesError = MediaGetGenerationCapabilitiesErrors[keyof MediaGetGenerationCapabilitiesErrors];
|
|
75875
|
+
export type MediaGetGenerationCapabilitiesResponses = {
|
|
75876
|
+
/**
|
|
75877
|
+
* Successful response.
|
|
75878
|
+
*/
|
|
75879
|
+
200: MediaGenerationCapabilities;
|
|
75880
|
+
};
|
|
75881
|
+
export type MediaGetGenerationCapabilitiesResponse = MediaGetGenerationCapabilitiesResponses[keyof MediaGetGenerationCapabilitiesResponses];
|
|
74955
75882
|
export type GetSandboxV1SandboxesData = {
|
|
74956
75883
|
body?: never;
|
|
74957
75884
|
path?: never;
|
|
@@ -75344,6 +76271,10 @@ export type ListSandboxTemplatesResponses = {
|
|
|
75344
76271
|
buildCount: number;
|
|
75345
76272
|
envdVersion: SandboxEnvdVersion;
|
|
75346
76273
|
buildStatus: SandboxTemplateBuildStatus;
|
|
76274
|
+
/**
|
|
76275
|
+
* Lifecycle classes this template can run as. ephemeral: cannot pause, snapshot or mount volumes and is deleted when it stops; persistent: can pause, resume and snapshot.
|
|
76276
|
+
*/
|
|
76277
|
+
lifecycles?: Array<'ephemeral' | 'persistent'>;
|
|
75347
76278
|
/**
|
|
75348
76279
|
* True for an official catalog template; false for your organization's custom templates.
|
|
75349
76280
|
*/
|