@deepraxis/sdk 0.1.1-dev.4db1880 → 0.1.1-dev.5879da6
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 +95 -30
- package/dist/generated/sdk.gen.js +150 -29
- package/dist/generated/types.gen.d.ts +1101 -52
- package/dist/operations.generated.d.ts +228 -20
- package/dist/operations.generated.js +285 -20
- 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.
|
|
@@ -12774,6 +12803,10 @@ export type CutFramesResult = {
|
|
|
12774
12803
|
images: {
|
|
12775
12804
|
[key: string]: CutRenderRef;
|
|
12776
12805
|
};
|
|
12806
|
+
/**
|
|
12807
|
+
* Frame delivery warnings; empty when every requested source frame was available.
|
|
12808
|
+
*/
|
|
12809
|
+
warnings: Array<CutFrameWarning>;
|
|
12777
12810
|
};
|
|
12778
12811
|
/**
|
|
12779
12812
|
* Analysis status and available ranges for each source asset and kind.
|
|
@@ -13018,6 +13051,27 @@ export type CutExport = {
|
|
|
13018
13051
|
*/
|
|
13019
13052
|
audio: 'pending' | 'done';
|
|
13020
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
|
+
};
|
|
13021
13075
|
/**
|
|
13022
13076
|
* Output media reference, available after the export reaches done.
|
|
13023
13077
|
*/
|
|
@@ -13090,6 +13144,19 @@ export type CutExportInput = {
|
|
|
13090
13144
|
*/
|
|
13091
13145
|
binding?: string;
|
|
13092
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
|
+
};
|
|
13093
13160
|
};
|
|
13094
13161
|
/**
|
|
13095
13162
|
* One page of organization-accessible exports.
|
|
@@ -14142,7 +14209,7 @@ export type MediaLibrary = {
|
|
|
14142
14209
|
};
|
|
14143
14210
|
export type MediaMediaError = {
|
|
14144
14211
|
error: {
|
|
14145
|
-
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';
|
|
14146
14213
|
message: string;
|
|
14147
14214
|
details: string | null;
|
|
14148
14215
|
};
|
|
@@ -14394,6 +14461,10 @@ export type MediaAsset = {
|
|
|
14394
14461
|
* Resource status; active identifies an asset that has not been deleted.
|
|
14395
14462
|
*/
|
|
14396
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;
|
|
14397
14468
|
/**
|
|
14398
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.
|
|
14399
14470
|
*/
|
|
@@ -14450,6 +14521,27 @@ export type MediaAsset = {
|
|
|
14450
14521
|
};
|
|
14451
14522
|
};
|
|
14452
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
|
+
};
|
|
14453
14545
|
};
|
|
14454
14546
|
/**
|
|
14455
14547
|
* Receipt confirming that the asset was deleted.
|
|
@@ -14592,11 +14684,11 @@ export type MediaJob = {
|
|
|
14592
14684
|
/**
|
|
14593
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.
|
|
14594
14686
|
*/
|
|
14595
|
-
action: 'tag' | 'untag' | 'set_context' | 'move' | 'delete' | 'reprocess';
|
|
14687
|
+
action: 'tag' | 'untag' | 'set_context' | 'move' | 'delete' | 'reprocess' | 'generate';
|
|
14596
14688
|
/**
|
|
14597
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.
|
|
14598
14690
|
*/
|
|
14599
|
-
status:
|
|
14691
|
+
status: MediaJobStatus;
|
|
14600
14692
|
/**
|
|
14601
14693
|
* Number of distinct assets selected when the job was created.
|
|
14602
14694
|
*/
|
|
@@ -14616,12 +14708,66 @@ export type MediaJob = {
|
|
|
14616
14708
|
/**
|
|
14617
14709
|
* Identifier supplied for the failed item; it may identify a missing asset.
|
|
14618
14710
|
*/
|
|
14619
|
-
asset_id
|
|
14711
|
+
asset_id?: MediaAssetId;
|
|
14712
|
+
/**
|
|
14713
|
+
* Zero-based output index for a failed video-generation item.
|
|
14714
|
+
*/
|
|
14715
|
+
index?: number;
|
|
14620
14716
|
/**
|
|
14621
14717
|
* Domain error code explaining the individual item failure.
|
|
14622
14718
|
*/
|
|
14623
14719
|
code: MediaMediaErrorCode;
|
|
14624
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
|
+
};
|
|
14625
14771
|
/**
|
|
14626
14772
|
* Time the batch job was created, in UTC.
|
|
14627
14773
|
*/
|
|
@@ -14736,6 +14882,77 @@ export type MediaFailureSummary = {
|
|
|
14736
14882
|
*/
|
|
14737
14883
|
counts_complete: boolean;
|
|
14738
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
|
+
};
|
|
14739
14956
|
/**
|
|
14740
14957
|
* Sandbox creation request. All system communication with the sandbox is always secured; the template's envd version must support secured access.
|
|
14741
14958
|
*/
|
|
@@ -15178,6 +15395,10 @@ export type SandboxTemplateBuildInfo = {
|
|
|
15178
15395
|
reason?: SandboxBuildStatusReason;
|
|
15179
15396
|
};
|
|
15180
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'>;
|
|
15181
15402
|
/**
|
|
15182
15403
|
* Identifier of the template
|
|
15183
15404
|
*/
|
|
@@ -25182,6 +25403,20 @@ export type CutTrackSummary = {
|
|
|
25182
25403
|
*/
|
|
25183
25404
|
items: number;
|
|
25184
25405
|
};
|
|
25406
|
+
export type CutFrameWarning = {
|
|
25407
|
+
/**
|
|
25408
|
+
* FRAME_UNAVAILABLE means a source image could not be fetched for this preview.
|
|
25409
|
+
*/
|
|
25410
|
+
code: 'FRAME_UNAVAILABLE';
|
|
25411
|
+
/**
|
|
25412
|
+
* Identifier of the clip whose source frame could not be fetched.
|
|
25413
|
+
*/
|
|
25414
|
+
clip_id?: string;
|
|
25415
|
+
/**
|
|
25416
|
+
* Actionable safe explanation; source URLs and credentials are omitted.
|
|
25417
|
+
*/
|
|
25418
|
+
message: string;
|
|
25419
|
+
};
|
|
25185
25420
|
/**
|
|
25186
25421
|
* Reference to an asset in a bound library; follows asset overwrites to the latest version rather than pinning a version.
|
|
25187
25422
|
*/
|
|
@@ -25404,7 +25639,7 @@ export type KnowledgeKnowledgeModels = {
|
|
|
25404
25639
|
*/
|
|
25405
25640
|
query_rewrite: string;
|
|
25406
25641
|
/**
|
|
25407
|
-
* Extracts text from scanned PDF pages. Default:
|
|
25642
|
+
* Extracts text from scanned PDF pages through the OCR API. Default: qwen-vl-ocr-2025-11-20, falling back to glm-ocr and qwen3.8-flash. A custom model precedes these defaults. OCR is billed by pages processed.
|
|
25408
25643
|
*/
|
|
25409
25644
|
ocr: string;
|
|
25410
25645
|
/**
|
|
@@ -25433,7 +25668,7 @@ export type KnowledgeKnowledgeModelsInput = {
|
|
|
25433
25668
|
*/
|
|
25434
25669
|
query_rewrite?: string | null;
|
|
25435
25670
|
/**
|
|
25436
|
-
* Scanned PDF text extraction model; requires mistral.ocr or pdf_input capability. null restores
|
|
25671
|
+
* Scanned PDF text extraction model; requires mistral.ocr or pdf_input capability. null restores qwen-vl-ocr-2025-11-20. The preference leads the OCR API fallback chain qwen-vl-ocr-2025-11-20, glm-ocr, qwen3.8-flash with duplicates removed.
|
|
25437
25672
|
*/
|
|
25438
25673
|
ocr?: string | null;
|
|
25439
25674
|
/**
|
|
@@ -25874,7 +26109,7 @@ export type MediaChunkComplete = MediaCloudinaryResource & {
|
|
|
25874
26109
|
done: true;
|
|
25875
26110
|
};
|
|
25876
26111
|
/**
|
|
25877
|
-
* Per-task processing progress and its aggregate state for the asset. For understanding, Media generates proxies for video sources of 25 MB or more and audio-only sources of 100 MB or more; originals remain available unchanged.
|
|
26112
|
+
* Per-task processing progress and its aggregate state for the asset. For understanding, Media generates proxies for video sources of 25 MB or more or longer than 10 minutes, and for audio-only sources of 100 MB or more; originals remain available unchanged. Long videos are supported. When a video proxy is needed and is still above 95 MB after recompression, the source is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.
|
|
25878
26113
|
*/
|
|
25879
26114
|
export type MediaProcessing = {
|
|
25880
26115
|
/**
|
|
@@ -26174,6 +26409,10 @@ export type MediaSearchAsset = {
|
|
|
26174
26409
|
* Resource status; active identifies an asset that has not been deleted.
|
|
26175
26410
|
*/
|
|
26176
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;
|
|
26177
26416
|
/**
|
|
26178
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.
|
|
26179
26418
|
*/
|
|
@@ -26230,6 +26469,27 @@ export type MediaSearchAsset = {
|
|
|
26230
26469
|
};
|
|
26231
26470
|
};
|
|
26232
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
|
+
};
|
|
26233
26493
|
};
|
|
26234
26494
|
/**
|
|
26235
26495
|
* A matching asset with its ranking score and supporting matches.
|
|
@@ -26252,11 +26512,11 @@ export type MediaSemanticHit = {
|
|
|
26252
26512
|
*/
|
|
26253
26513
|
matches: Array<MediaSemanticMatch>;
|
|
26254
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';
|
|
26255
26516
|
/**
|
|
26256
|
-
*
|
|
26517
|
+
* State of a requested video output.
|
|
26257
26518
|
*/
|
|
26258
|
-
export type
|
|
26259
|
-
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';
|
|
26260
26520
|
/**
|
|
26261
26521
|
* A recorded library event with a monotonically increasing sequence within that library.
|
|
26262
26522
|
*/
|
|
@@ -30907,7 +31167,7 @@ export type MediaSemanticMatch = {
|
|
|
30907
31167
|
/**
|
|
30908
31168
|
* Type of change recorded for a library, asset, processing task, search index or batch.
|
|
30909
31169
|
*/
|
|
30910
|
-
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';
|
|
30911
31171
|
/**
|
|
30912
31172
|
* Auto-resume enabled flag for paused sandboxes. Default false.
|
|
30913
31173
|
*/
|
|
@@ -31539,21 +31799,25 @@ export type AnthropicToolReferenceBlock = {
|
|
|
31539
31799
|
*/
|
|
31540
31800
|
export type CutTextStyle = {
|
|
31541
31801
|
/**
|
|
31542
|
-
*
|
|
31802
|
+
* Canonical font family name; call ListFonts() in the Cut script API to retrieve the available font families.
|
|
31543
31803
|
*/
|
|
31544
|
-
font_family?:
|
|
31804
|
+
font_family?: string;
|
|
31545
31805
|
/**
|
|
31546
31806
|
* Text size in output pixels.
|
|
31547
31807
|
*/
|
|
31548
31808
|
font_size?: number;
|
|
31549
31809
|
/**
|
|
31550
|
-
*
|
|
31810
|
+
* Positive requested font weight; each family has its own available catalog weights, and unsupported values resolve to the nearest available weight, preferring the heavier weight on a tie.
|
|
31551
31811
|
*/
|
|
31552
|
-
font_weight?:
|
|
31812
|
+
font_weight?: number;
|
|
31553
31813
|
/**
|
|
31554
31814
|
* Text color in #RRGGBB or #RRGGBBAA notation.
|
|
31555
31815
|
*/
|
|
31556
31816
|
color?: string;
|
|
31817
|
+
/**
|
|
31818
|
+
* Optional solid or gradient glyph fill; gradients span the text box.
|
|
31819
|
+
*/
|
|
31820
|
+
fill?: CutFill;
|
|
31557
31821
|
/**
|
|
31558
31822
|
* Optional text outline.
|
|
31559
31823
|
*/
|
|
@@ -31563,9 +31827,60 @@ export type CutTextStyle = {
|
|
|
31563
31827
|
*/
|
|
31564
31828
|
color?: string;
|
|
31565
31829
|
/**
|
|
31566
|
-
* Outline width in output pixels.
|
|
31830
|
+
* Outline width in output pixels; must be non-negative and at most 40 pixels.
|
|
31831
|
+
*/
|
|
31832
|
+
width?: number;
|
|
31833
|
+
};
|
|
31834
|
+
/**
|
|
31835
|
+
* Additional outlines, painted from outermost to innermost; at most 4 strokes.
|
|
31836
|
+
*/
|
|
31837
|
+
strokes?: Array<{
|
|
31838
|
+
/**
|
|
31839
|
+
* Outline color in #RRGGBB or #RRGGBBAA notation.
|
|
31840
|
+
*/
|
|
31841
|
+
color?: string;
|
|
31842
|
+
/**
|
|
31843
|
+
* Outline width in output pixels, from 0 to 40.
|
|
31567
31844
|
*/
|
|
31568
31845
|
width?: number;
|
|
31846
|
+
}>;
|
|
31847
|
+
/**
|
|
31848
|
+
* Offset text shadows; at most 4 shadows. Offsets are non-negative output pixels; blur is 0 to 100 output pixels.
|
|
31849
|
+
*/
|
|
31850
|
+
shadows?: Array<{
|
|
31851
|
+
/**
|
|
31852
|
+
* Shadow color in #RRGGBB or #RRGGBBAA notation.
|
|
31853
|
+
*/
|
|
31854
|
+
color?: string;
|
|
31855
|
+
/**
|
|
31856
|
+
* Non-negative horizontal offset in output pixels.
|
|
31857
|
+
*/
|
|
31858
|
+
x?: number;
|
|
31859
|
+
/**
|
|
31860
|
+
* Non-negative vertical offset in output pixels.
|
|
31861
|
+
*/
|
|
31862
|
+
y?: number;
|
|
31863
|
+
/**
|
|
31864
|
+
* Blur radius in output pixels, from 0 to 100.
|
|
31865
|
+
*/
|
|
31866
|
+
blur?: number;
|
|
31867
|
+
}>;
|
|
31868
|
+
/**
|
|
31869
|
+
* Colored glow around glyphs; radius is in output pixels, from 0 to 100, and strength is from 0 to 1.
|
|
31870
|
+
*/
|
|
31871
|
+
glow?: {
|
|
31872
|
+
/**
|
|
31873
|
+
* Glow color in #RRGGBB or #RRGGBBAA notation.
|
|
31874
|
+
*/
|
|
31875
|
+
color?: string;
|
|
31876
|
+
/**
|
|
31877
|
+
* Glow blur radius in output pixels, from 0 to 100.
|
|
31878
|
+
*/
|
|
31879
|
+
radius?: number;
|
|
31880
|
+
/**
|
|
31881
|
+
* Glow opacity multiplier from 0 to 1.
|
|
31882
|
+
*/
|
|
31883
|
+
strength?: number;
|
|
31569
31884
|
};
|
|
31570
31885
|
/**
|
|
31571
31886
|
* Optional text background color as hexadecimal RGB or RGBA.
|
|
@@ -31772,6 +32087,70 @@ export type CutJoinEffect = {
|
|
|
31772
32087
|
* Blur radius in pixels at a reference frame height of 1080 pixels.
|
|
31773
32088
|
*/
|
|
31774
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';
|
|
31775
32154
|
};
|
|
31776
32155
|
export type KnowledgeStaticChunking = {
|
|
31777
32156
|
/**
|
|
@@ -32013,6 +32392,51 @@ export type AnthropicCitationsConfig = {
|
|
|
32013
32392
|
*/
|
|
32014
32393
|
enabled: boolean;
|
|
32015
32394
|
};
|
|
32395
|
+
/**
|
|
32396
|
+
* Solid color or a gradient over the styled text box.
|
|
32397
|
+
*/
|
|
32398
|
+
export type CutFill = string | {
|
|
32399
|
+
/**
|
|
32400
|
+
* Linear gradient; angle is in degrees and stop positions range from 0 to 1.
|
|
32401
|
+
*/
|
|
32402
|
+
linear?: {
|
|
32403
|
+
/**
|
|
32404
|
+
* Gradient angle in degrees; 0 runs left to right.
|
|
32405
|
+
*/
|
|
32406
|
+
angle?: number;
|
|
32407
|
+
/**
|
|
32408
|
+
* Gradient color stops; each position is a fraction from 0 to 1.
|
|
32409
|
+
*/
|
|
32410
|
+
stops?: Array<{
|
|
32411
|
+
/**
|
|
32412
|
+
* Stop position as a fraction from 0 to 1.
|
|
32413
|
+
*/
|
|
32414
|
+
at?: number;
|
|
32415
|
+
/**
|
|
32416
|
+
* Stop color in #RRGGBB or #RRGGBBAA notation.
|
|
32417
|
+
*/
|
|
32418
|
+
color?: string;
|
|
32419
|
+
}>;
|
|
32420
|
+
};
|
|
32421
|
+
/**
|
|
32422
|
+
* Radial gradient with stop positions as fractions from 0 to 1.
|
|
32423
|
+
*/
|
|
32424
|
+
radial?: {
|
|
32425
|
+
/**
|
|
32426
|
+
* Gradient color stops; each position is a fraction from 0 to 1.
|
|
32427
|
+
*/
|
|
32428
|
+
stops?: Array<{
|
|
32429
|
+
/**
|
|
32430
|
+
* Stop position as a fraction from 0 to 1.
|
|
32431
|
+
*/
|
|
32432
|
+
at?: number;
|
|
32433
|
+
/**
|
|
32434
|
+
* Stop color in #RRGGBB or #RRGGBBAA notation.
|
|
32435
|
+
*/
|
|
32436
|
+
color?: string;
|
|
32437
|
+
}>;
|
|
32438
|
+
};
|
|
32439
|
+
};
|
|
32016
32440
|
/**
|
|
32017
32441
|
* Visual placement; coordinates are normalized canvas centers.
|
|
32018
32442
|
*/
|
|
@@ -32645,6 +33069,10 @@ export type MediaAssetWritable = {
|
|
|
32645
33069
|
* Resource status; active identifies an asset that has not been deleted.
|
|
32646
33070
|
*/
|
|
32647
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;
|
|
32648
33076
|
/**
|
|
32649
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.
|
|
32650
33078
|
*/
|
|
@@ -32701,6 +33129,27 @@ export type MediaAssetWritable = {
|
|
|
32701
33129
|
};
|
|
32702
33130
|
};
|
|
32703
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
|
+
};
|
|
32704
33153
|
};
|
|
32705
33154
|
/**
|
|
32706
33155
|
* Understanding results in this page, ordered by creation time ascending.
|
|
@@ -33017,7 +33466,7 @@ export type MediaChunkCompleteWritable = MediaCloudinaryResourceWritable & {
|
|
|
33017
33466
|
done: true;
|
|
33018
33467
|
};
|
|
33019
33468
|
/**
|
|
33020
|
-
* Per-task processing progress and its aggregate state for the asset. For understanding, Media generates proxies for video sources of 25 MB or more and audio-only sources of 100 MB or more; originals remain available unchanged.
|
|
33469
|
+
* Per-task processing progress and its aggregate state for the asset. For understanding, Media generates proxies for video sources of 25 MB or more or longer than 10 minutes, and for audio-only sources of 100 MB or more; originals remain available unchanged. Long videos are supported. When a video proxy is needed and is still above 95 MB after recompression, the source is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.
|
|
33021
33470
|
*/
|
|
33022
33471
|
export type MediaProcessingWritable = {
|
|
33023
33472
|
state: MediaProcessingState;
|
|
@@ -33246,6 +33695,10 @@ export type MediaSearchAssetWritable = {
|
|
|
33246
33695
|
* Resource status; active identifies an asset that has not been deleted.
|
|
33247
33696
|
*/
|
|
33248
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;
|
|
33249
33702
|
/**
|
|
33250
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.
|
|
33251
33704
|
*/
|
|
@@ -33302,6 +33755,27 @@ export type MediaSearchAssetWritable = {
|
|
|
33302
33755
|
};
|
|
33303
33756
|
};
|
|
33304
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
|
+
};
|
|
33305
33779
|
};
|
|
33306
33780
|
/**
|
|
33307
33781
|
* A matching asset with its ranking score and supporting matches.
|
|
@@ -33547,7 +34021,7 @@ export type ApplyAgentVersionResponses = {
|
|
|
33547
34021
|
*/
|
|
33548
34022
|
note: string | null;
|
|
33549
34023
|
/**
|
|
33550
|
-
* 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.
|
|
33551
34025
|
*/
|
|
33552
34026
|
bindings: Array<{
|
|
33553
34027
|
/**
|
|
@@ -33578,7 +34052,7 @@ export type ApplyAgentVersionResponses = {
|
|
|
33578
34052
|
/**
|
|
33579
34053
|
* Service type. Opens the whole service to codemode; there is no per-resource id.
|
|
33580
34054
|
*/
|
|
33581
|
-
type: 'search' | 'browser';
|
|
34055
|
+
type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
|
|
33582
34056
|
/**
|
|
33583
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.
|
|
33584
34058
|
*/
|
|
@@ -34764,7 +35238,7 @@ export type UnarchiveAgentResponses = {
|
|
|
34764
35238
|
*/
|
|
34765
35239
|
note: string | null;
|
|
34766
35240
|
/**
|
|
34767
|
-
* 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.
|
|
34768
35242
|
*/
|
|
34769
35243
|
bindings: Array<{
|
|
34770
35244
|
/**
|
|
@@ -34795,7 +35269,7 @@ export type UnarchiveAgentResponses = {
|
|
|
34795
35269
|
/**
|
|
34796
35270
|
* Service type. Opens the whole service to codemode; there is no per-resource id.
|
|
34797
35271
|
*/
|
|
34798
|
-
type: 'search' | 'browser';
|
|
35272
|
+
type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
|
|
34799
35273
|
/**
|
|
34800
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.
|
|
34801
35275
|
*/
|
|
@@ -43902,6 +44376,42 @@ export type FileCancelUploadResponses = {
|
|
|
43902
44376
|
200: OwnFilePraxisUpload;
|
|
43903
44377
|
};
|
|
43904
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];
|
|
43905
44415
|
export type FileCreateSignedUploadData = {
|
|
43906
44416
|
body: OwnFileSignedUploadRequest;
|
|
43907
44417
|
path?: never;
|
|
@@ -51338,7 +51848,7 @@ export type AgentsListResponses = {
|
|
|
51338
51848
|
*/
|
|
51339
51849
|
note: string | null;
|
|
51340
51850
|
/**
|
|
51341
|
-
* 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.
|
|
51342
51852
|
*/
|
|
51343
51853
|
bindings: Array<{
|
|
51344
51854
|
/**
|
|
@@ -51369,7 +51879,7 @@ export type AgentsListResponses = {
|
|
|
51369
51879
|
/**
|
|
51370
51880
|
* Service type. Opens the whole service to codemode; there is no per-resource id.
|
|
51371
51881
|
*/
|
|
51372
|
-
type: 'search' | 'browser';
|
|
51882
|
+
type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
|
|
51373
51883
|
/**
|
|
51374
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.
|
|
51375
51885
|
*/
|
|
@@ -51877,7 +52387,7 @@ export type AgentsCreateData = {
|
|
|
51877
52387
|
*/
|
|
51878
52388
|
tools?: Array<AgentManaged15 | AgentManaged29 | AgentManaged32>;
|
|
51879
52389
|
/**
|
|
51880
|
-
* 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.
|
|
51881
52391
|
*/
|
|
51882
52392
|
bindings?: Array<{
|
|
51883
52393
|
/**
|
|
@@ -51908,7 +52418,7 @@ export type AgentsCreateData = {
|
|
|
51908
52418
|
/**
|
|
51909
52419
|
* Service type. Opens the whole service to codemode; there is no per-resource id.
|
|
51910
52420
|
*/
|
|
51911
|
-
type: 'search' | 'browser';
|
|
52421
|
+
type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
|
|
51912
52422
|
/**
|
|
51913
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.
|
|
51914
52424
|
*/
|
|
@@ -52478,7 +52988,7 @@ export type AgentsCreateResponses = {
|
|
|
52478
52988
|
*/
|
|
52479
52989
|
note: string | null;
|
|
52480
52990
|
/**
|
|
52481
|
-
* 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.
|
|
52482
52992
|
*/
|
|
52483
52993
|
bindings: Array<{
|
|
52484
52994
|
/**
|
|
@@ -52509,7 +53019,7 @@ export type AgentsCreateResponses = {
|
|
|
52509
53019
|
/**
|
|
52510
53020
|
* Service type. Opens the whole service to codemode; there is no per-resource id.
|
|
52511
53021
|
*/
|
|
52512
|
-
type: 'search' | 'browser';
|
|
53022
|
+
type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
|
|
52513
53023
|
/**
|
|
52514
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.
|
|
52515
53025
|
*/
|
|
@@ -53106,7 +53616,7 @@ export type AgentsRetrieveResponses = {
|
|
|
53106
53616
|
*/
|
|
53107
53617
|
note: string | null;
|
|
53108
53618
|
/**
|
|
53109
|
-
* 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.
|
|
53110
53620
|
*/
|
|
53111
53621
|
bindings: Array<{
|
|
53112
53622
|
/**
|
|
@@ -53137,7 +53647,7 @@ export type AgentsRetrieveResponses = {
|
|
|
53137
53647
|
/**
|
|
53138
53648
|
* Service type. Opens the whole service to codemode; there is no per-resource id.
|
|
53139
53649
|
*/
|
|
53140
|
-
type: 'search' | 'browser';
|
|
53650
|
+
type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
|
|
53141
53651
|
/**
|
|
53142
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.
|
|
53143
53653
|
*/
|
|
@@ -53685,7 +54195,7 @@ export type AgentsUpdateData = {
|
|
|
53685
54195
|
/**
|
|
53686
54196
|
* Service type. Opens the whole service to codemode; there is no per-resource id.
|
|
53687
54197
|
*/
|
|
53688
|
-
type: 'search' | 'browser';
|
|
54198
|
+
type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
|
|
53689
54199
|
/**
|
|
53690
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.
|
|
53691
54201
|
*/
|
|
@@ -54268,7 +54778,7 @@ export type AgentsUpdateResponses = {
|
|
|
54268
54778
|
*/
|
|
54269
54779
|
note: string | null;
|
|
54270
54780
|
/**
|
|
54271
|
-
* 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.
|
|
54272
54782
|
*/
|
|
54273
54783
|
bindings: Array<{
|
|
54274
54784
|
/**
|
|
@@ -54299,7 +54809,7 @@ export type AgentsUpdateResponses = {
|
|
|
54299
54809
|
/**
|
|
54300
54810
|
* Service type. Opens the whole service to codemode; there is no per-resource id.
|
|
54301
54811
|
*/
|
|
54302
|
-
type: 'search' | 'browser';
|
|
54812
|
+
type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
|
|
54303
54813
|
/**
|
|
54304
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.
|
|
54305
54815
|
*/
|
|
@@ -54882,7 +55392,7 @@ export type AgentsArchiveResponses = {
|
|
|
54882
55392
|
*/
|
|
54883
55393
|
note: string | null;
|
|
54884
55394
|
/**
|
|
54885
|
-
* 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.
|
|
54886
55396
|
*/
|
|
54887
55397
|
bindings: Array<{
|
|
54888
55398
|
/**
|
|
@@ -54913,7 +55423,7 @@ export type AgentsArchiveResponses = {
|
|
|
54913
55423
|
/**
|
|
54914
55424
|
* Service type. Opens the whole service to codemode; there is no per-resource id.
|
|
54915
55425
|
*/
|
|
54916
|
-
type: 'search' | 'browser';
|
|
55426
|
+
type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
|
|
54917
55427
|
/**
|
|
54918
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.
|
|
54919
55429
|
*/
|
|
@@ -55514,7 +56024,7 @@ export type AgentsVersionsListResponses = {
|
|
|
55514
56024
|
*/
|
|
55515
56025
|
note: string | null;
|
|
55516
56026
|
/**
|
|
55517
|
-
* 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.
|
|
55518
56028
|
*/
|
|
55519
56029
|
bindings: Array<{
|
|
55520
56030
|
/**
|
|
@@ -55545,7 +56055,7 @@ export type AgentsVersionsListResponses = {
|
|
|
55545
56055
|
/**
|
|
55546
56056
|
* Service type. Opens the whole service to codemode; there is no per-resource id.
|
|
55547
56057
|
*/
|
|
55548
|
-
type: 'search' | 'browser';
|
|
56058
|
+
type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
|
|
55549
56059
|
/**
|
|
55550
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.
|
|
55551
56061
|
*/
|
|
@@ -69306,7 +69816,7 @@ export type CutExecuteData = {
|
|
|
69306
69816
|
};
|
|
69307
69817
|
export type CutExecuteErrors = {
|
|
69308
69818
|
/**
|
|
69309
|
-
* 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.
|
|
69310
69820
|
*/
|
|
69311
69821
|
400: CutCutError;
|
|
69312
69822
|
/**
|
|
@@ -72614,6 +73124,10 @@ export type MediaListLibrariesErrors = {
|
|
|
72614
73124
|
* Request failed; see the error code reference.
|
|
72615
73125
|
*/
|
|
72616
73126
|
415: MediaMediaError;
|
|
73127
|
+
/**
|
|
73128
|
+
* Request failed; see the error code reference.
|
|
73129
|
+
*/
|
|
73130
|
+
422: MediaMediaError;
|
|
72617
73131
|
/**
|
|
72618
73132
|
* Request failed; see the error code reference.
|
|
72619
73133
|
*/
|
|
@@ -72705,6 +73219,10 @@ export type MediaCreateLibraryErrors = {
|
|
|
72705
73219
|
* Request failed; see the error code reference.
|
|
72706
73220
|
*/
|
|
72707
73221
|
415: MediaMediaError;
|
|
73222
|
+
/**
|
|
73223
|
+
* Request failed; see the error code reference.
|
|
73224
|
+
*/
|
|
73225
|
+
422: MediaMediaError;
|
|
72708
73226
|
/**
|
|
72709
73227
|
* Request failed; see the error code reference.
|
|
72710
73228
|
*/
|
|
@@ -72779,6 +73297,10 @@ export type MediaCreateFrameUrlsErrors = {
|
|
|
72779
73297
|
* This media format is unsupported; provide a supported format.
|
|
72780
73298
|
*/
|
|
72781
73299
|
415: MediaMediaError;
|
|
73300
|
+
/**
|
|
73301
|
+
* Request failed; see the error code reference.
|
|
73302
|
+
*/
|
|
73303
|
+
422: MediaMediaError;
|
|
72782
73304
|
/**
|
|
72783
73305
|
* A rate limit was reached; wait before retrying.
|
|
72784
73306
|
*/
|
|
@@ -72840,6 +73362,10 @@ export type MediaDeleteLibraryErrors = {
|
|
|
72840
73362
|
* Request failed; see the error code reference.
|
|
72841
73363
|
*/
|
|
72842
73364
|
415: MediaMediaError;
|
|
73365
|
+
/**
|
|
73366
|
+
* Request failed; see the error code reference.
|
|
73367
|
+
*/
|
|
73368
|
+
422: MediaMediaError;
|
|
72843
73369
|
/**
|
|
72844
73370
|
* Request failed; see the error code reference.
|
|
72845
73371
|
*/
|
|
@@ -72901,6 +73427,10 @@ export type MediaGetLibraryErrors = {
|
|
|
72901
73427
|
* Request failed; see the error code reference.
|
|
72902
73428
|
*/
|
|
72903
73429
|
415: MediaMediaError;
|
|
73430
|
+
/**
|
|
73431
|
+
* Request failed; see the error code reference.
|
|
73432
|
+
*/
|
|
73433
|
+
422: MediaMediaError;
|
|
72904
73434
|
/**
|
|
72905
73435
|
* Request failed; see the error code reference.
|
|
72906
73436
|
*/
|
|
@@ -73001,6 +73531,10 @@ export type MediaUpdateLibraryErrors = {
|
|
|
73001
73531
|
* Request failed; see the error code reference.
|
|
73002
73532
|
*/
|
|
73003
73533
|
415: MediaMediaError;
|
|
73534
|
+
/**
|
|
73535
|
+
* Request failed; see the error code reference.
|
|
73536
|
+
*/
|
|
73537
|
+
422: MediaMediaError;
|
|
73004
73538
|
/**
|
|
73005
73539
|
* Request failed; see the error code reference.
|
|
73006
73540
|
*/
|
|
@@ -73062,6 +73596,10 @@ export type MediaRestoreLibraryErrors = {
|
|
|
73062
73596
|
* Request failed; see the error code reference.
|
|
73063
73597
|
*/
|
|
73064
73598
|
415: MediaMediaError;
|
|
73599
|
+
/**
|
|
73600
|
+
* Request failed; see the error code reference.
|
|
73601
|
+
*/
|
|
73602
|
+
422: MediaMediaError;
|
|
73065
73603
|
/**
|
|
73066
73604
|
* Request failed; see the error code reference.
|
|
73067
73605
|
*/
|
|
@@ -73123,6 +73661,10 @@ export type MediaPurgeLibraryErrors = {
|
|
|
73123
73661
|
* Request failed; see the error code reference.
|
|
73124
73662
|
*/
|
|
73125
73663
|
415: MediaMediaError;
|
|
73664
|
+
/**
|
|
73665
|
+
* Request failed; see the error code reference.
|
|
73666
|
+
*/
|
|
73667
|
+
422: MediaMediaError;
|
|
73126
73668
|
/**
|
|
73127
73669
|
* Request failed; see the error code reference.
|
|
73128
73670
|
*/
|
|
@@ -73201,6 +73743,10 @@ export type MediaListAssetsErrors = {
|
|
|
73201
73743
|
* Request failed; see the error code reference.
|
|
73202
73744
|
*/
|
|
73203
73745
|
415: MediaMediaError;
|
|
73746
|
+
/**
|
|
73747
|
+
* Request failed; see the error code reference.
|
|
73748
|
+
*/
|
|
73749
|
+
422: MediaMediaError;
|
|
73204
73750
|
/**
|
|
73205
73751
|
* Request failed; see the error code reference.
|
|
73206
73752
|
*/
|
|
@@ -73338,6 +73884,10 @@ export type MediaUploadAssetErrors = {
|
|
|
73338
73884
|
* Request failed; see the error code reference.
|
|
73339
73885
|
*/
|
|
73340
73886
|
415: MediaMediaError;
|
|
73887
|
+
/**
|
|
73888
|
+
* Request failed; see the error code reference.
|
|
73889
|
+
*/
|
|
73890
|
+
422: MediaMediaError;
|
|
73341
73891
|
/**
|
|
73342
73892
|
* Request failed; see the error code reference.
|
|
73343
73893
|
*/
|
|
@@ -73465,6 +74015,10 @@ export type MediaImportAssetErrors = {
|
|
|
73465
74015
|
* Request failed; see the error code reference.
|
|
73466
74016
|
*/
|
|
73467
74017
|
415: MediaMediaError;
|
|
74018
|
+
/**
|
|
74019
|
+
* Request failed; see the error code reference.
|
|
74020
|
+
*/
|
|
74021
|
+
422: MediaMediaError;
|
|
73468
74022
|
/**
|
|
73469
74023
|
* Request failed; see the error code reference.
|
|
73470
74024
|
*/
|
|
@@ -73530,6 +74084,10 @@ export type MediaDeleteAssetErrors = {
|
|
|
73530
74084
|
* Request failed; see the error code reference.
|
|
73531
74085
|
*/
|
|
73532
74086
|
415: MediaMediaError;
|
|
74087
|
+
/**
|
|
74088
|
+
* Request failed; see the error code reference.
|
|
74089
|
+
*/
|
|
74090
|
+
422: MediaMediaError;
|
|
73533
74091
|
/**
|
|
73534
74092
|
* Request failed; see the error code reference.
|
|
73535
74093
|
*/
|
|
@@ -73595,6 +74153,10 @@ export type MediaGetAssetErrors = {
|
|
|
73595
74153
|
* Request failed; see the error code reference.
|
|
73596
74154
|
*/
|
|
73597
74155
|
415: MediaMediaError;
|
|
74156
|
+
/**
|
|
74157
|
+
* Request failed; see the error code reference.
|
|
74158
|
+
*/
|
|
74159
|
+
422: MediaMediaError;
|
|
73598
74160
|
/**
|
|
73599
74161
|
* Request failed; see the error code reference.
|
|
73600
74162
|
*/
|
|
@@ -73682,6 +74244,10 @@ export type MediaUpdateAssetErrors = {
|
|
|
73682
74244
|
* Request failed; see the error code reference.
|
|
73683
74245
|
*/
|
|
73684
74246
|
415: MediaMediaError;
|
|
74247
|
+
/**
|
|
74248
|
+
* Request failed; see the error code reference.
|
|
74249
|
+
*/
|
|
74250
|
+
422: MediaMediaError;
|
|
73685
74251
|
/**
|
|
73686
74252
|
* Request failed; see the error code reference.
|
|
73687
74253
|
*/
|
|
@@ -73755,6 +74321,10 @@ export type MediaReprocessAssetErrors = {
|
|
|
73755
74321
|
* Request failed; see the error code reference.
|
|
73756
74322
|
*/
|
|
73757
74323
|
415: MediaMediaError;
|
|
74324
|
+
/**
|
|
74325
|
+
* Request failed; see the error code reference.
|
|
74326
|
+
*/
|
|
74327
|
+
422: MediaMediaError;
|
|
73758
74328
|
/**
|
|
73759
74329
|
* Request failed; see the error code reference.
|
|
73760
74330
|
*/
|
|
@@ -73837,6 +74407,10 @@ export type MediaListUnderstandingsErrors = {
|
|
|
73837
74407
|
* Request failed; see the error code reference.
|
|
73838
74408
|
*/
|
|
73839
74409
|
415: MediaMediaError;
|
|
74410
|
+
/**
|
|
74411
|
+
* Request failed; see the error code reference.
|
|
74412
|
+
*/
|
|
74413
|
+
422: MediaMediaError;
|
|
73840
74414
|
/**
|
|
73841
74415
|
* Request failed; see the error code reference.
|
|
73842
74416
|
*/
|
|
@@ -73928,6 +74502,10 @@ export type MediaExpressionSearchErrors = {
|
|
|
73928
74502
|
* Request failed; see the error code reference.
|
|
73929
74503
|
*/
|
|
73930
74504
|
415: MediaMediaError;
|
|
74505
|
+
/**
|
|
74506
|
+
* Request failed; see the error code reference.
|
|
74507
|
+
*/
|
|
74508
|
+
422: MediaMediaError;
|
|
73931
74509
|
/**
|
|
73932
74510
|
* Request failed; see the error code reference.
|
|
73933
74511
|
*/
|
|
@@ -74015,6 +74593,10 @@ export type MediaVisualSearchErrors = {
|
|
|
74015
74593
|
* Request failed; see the error code reference.
|
|
74016
74594
|
*/
|
|
74017
74595
|
415: MediaMediaError;
|
|
74596
|
+
/**
|
|
74597
|
+
* Request failed; see the error code reference.
|
|
74598
|
+
*/
|
|
74599
|
+
422: MediaMediaError;
|
|
74018
74600
|
/**
|
|
74019
74601
|
* Request failed; see the error code reference.
|
|
74020
74602
|
*/
|
|
@@ -74096,6 +74678,10 @@ export type MediaSemanticSearchErrors = {
|
|
|
74096
74678
|
* Request failed; see the error code reference.
|
|
74097
74679
|
*/
|
|
74098
74680
|
415: MediaMediaError;
|
|
74681
|
+
/**
|
|
74682
|
+
* Request failed; see the error code reference.
|
|
74683
|
+
*/
|
|
74684
|
+
422: MediaMediaError;
|
|
74099
74685
|
/**
|
|
74100
74686
|
* Request failed; see the error code reference.
|
|
74101
74687
|
*/
|
|
@@ -74177,6 +74763,10 @@ export type MediaSearchErrors = {
|
|
|
74177
74763
|
* Request failed; see the error code reference.
|
|
74178
74764
|
*/
|
|
74179
74765
|
415: MediaMediaError;
|
|
74766
|
+
/**
|
|
74767
|
+
* Request failed; see the error code reference.
|
|
74768
|
+
*/
|
|
74769
|
+
422: MediaMediaError;
|
|
74180
74770
|
/**
|
|
74181
74771
|
* Request failed; see the error code reference.
|
|
74182
74772
|
*/
|
|
@@ -74243,6 +74833,10 @@ export type MediaListFoldersErrors = {
|
|
|
74243
74833
|
* Request failed; see the error code reference.
|
|
74244
74834
|
*/
|
|
74245
74835
|
415: MediaMediaError;
|
|
74836
|
+
/**
|
|
74837
|
+
* Request failed; see the error code reference.
|
|
74838
|
+
*/
|
|
74839
|
+
422: MediaMediaError;
|
|
74246
74840
|
/**
|
|
74247
74841
|
* Request failed; see the error code reference.
|
|
74248
74842
|
*/
|
|
@@ -74316,6 +74910,10 @@ export type MediaCreateBatchErrors = {
|
|
|
74316
74910
|
* Request failed; see the error code reference.
|
|
74317
74911
|
*/
|
|
74318
74912
|
415: MediaMediaError;
|
|
74913
|
+
/**
|
|
74914
|
+
* Request failed; see the error code reference.
|
|
74915
|
+
*/
|
|
74916
|
+
422: MediaMediaError;
|
|
74319
74917
|
/**
|
|
74320
74918
|
* Request failed; see the error code reference.
|
|
74321
74919
|
*/
|
|
@@ -74381,6 +74979,10 @@ export type MediaGetBatchErrors = {
|
|
|
74381
74979
|
* Request failed; see the error code reference.
|
|
74382
74980
|
*/
|
|
74383
74981
|
415: MediaMediaError;
|
|
74982
|
+
/**
|
|
74983
|
+
* Request failed; see the error code reference.
|
|
74984
|
+
*/
|
|
74985
|
+
422: MediaMediaError;
|
|
74384
74986
|
/**
|
|
74385
74987
|
* Request failed; see the error code reference.
|
|
74386
74988
|
*/
|
|
@@ -74454,6 +75056,10 @@ export type MediaBatchAssetsErrors = {
|
|
|
74454
75056
|
* Request failed; see the error code reference.
|
|
74455
75057
|
*/
|
|
74456
75058
|
415: MediaMediaError;
|
|
75059
|
+
/**
|
|
75060
|
+
* Request failed; see the error code reference.
|
|
75061
|
+
*/
|
|
75062
|
+
422: MediaMediaError;
|
|
74457
75063
|
/**
|
|
74458
75064
|
* Request failed; see the error code reference.
|
|
74459
75065
|
*/
|
|
@@ -74487,7 +75093,7 @@ export type MediaGetJobData = {
|
|
|
74487
75093
|
*/
|
|
74488
75094
|
library_id: string;
|
|
74489
75095
|
/**
|
|
74490
|
-
*
|
|
75096
|
+
* Job identifier returned by batch creation, video-generation creation or job listing; resolved within this library.
|
|
74491
75097
|
*/
|
|
74492
75098
|
job_id: string;
|
|
74493
75099
|
};
|
|
@@ -74496,15 +75102,15 @@ export type MediaGetJobData = {
|
|
|
74496
75102
|
};
|
|
74497
75103
|
export type MediaGetJobErrors = {
|
|
74498
75104
|
/**
|
|
74499
|
-
*
|
|
75105
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
74500
75106
|
*/
|
|
74501
75107
|
400: MediaMediaError;
|
|
74502
75108
|
/**
|
|
74503
|
-
*
|
|
75109
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
74504
75110
|
*/
|
|
74505
75111
|
403: MediaMediaError;
|
|
74506
75112
|
/**
|
|
74507
|
-
*
|
|
75113
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
74508
75114
|
*/
|
|
74509
75115
|
404: MediaMediaError;
|
|
74510
75116
|
/**
|
|
@@ -74512,19 +75118,23 @@ export type MediaGetJobErrors = {
|
|
|
74512
75118
|
*/
|
|
74513
75119
|
409: MediaMediaError;
|
|
74514
75120
|
/**
|
|
74515
|
-
*
|
|
75121
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
74516
75122
|
*/
|
|
74517
75123
|
413: MediaMediaError;
|
|
74518
75124
|
/**
|
|
74519
|
-
*
|
|
75125
|
+
* This media format is unsupported; provide a supported format.
|
|
74520
75126
|
*/
|
|
74521
75127
|
415: MediaMediaError;
|
|
74522
75128
|
/**
|
|
74523
75129
|
* Request failed; see the error code reference.
|
|
74524
75130
|
*/
|
|
75131
|
+
422: MediaMediaError;
|
|
75132
|
+
/**
|
|
75133
|
+
* A rate limit was reached; wait before retrying.
|
|
75134
|
+
*/
|
|
74525
75135
|
429: MediaMediaError;
|
|
74526
75136
|
/**
|
|
74527
|
-
*
|
|
75137
|
+
* The requested operation is unsupported; choose a supported method.
|
|
74528
75138
|
*/
|
|
74529
75139
|
501: MediaMediaError;
|
|
74530
75140
|
/**
|
|
@@ -74532,7 +75142,7 @@ export type MediaGetJobErrors = {
|
|
|
74532
75142
|
*/
|
|
74533
75143
|
502: MediaMediaError;
|
|
74534
75144
|
/**
|
|
74535
|
-
*
|
|
75145
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
74536
75146
|
*/
|
|
74537
75147
|
503: MediaMediaError;
|
|
74538
75148
|
};
|
|
@@ -74597,6 +75207,10 @@ export type MediaListEventsErrors = {
|
|
|
74597
75207
|
* Request failed; see the error code reference.
|
|
74598
75208
|
*/
|
|
74599
75209
|
415: MediaMediaError;
|
|
75210
|
+
/**
|
|
75211
|
+
* Request failed; see the error code reference.
|
|
75212
|
+
*/
|
|
75213
|
+
422: MediaMediaError;
|
|
74600
75214
|
/**
|
|
74601
75215
|
* Request failed; see the error code reference.
|
|
74602
75216
|
*/
|
|
@@ -74670,6 +75284,10 @@ export type MediaCreateDeliveryTokenErrors = {
|
|
|
74670
75284
|
* Request failed; see the error code reference.
|
|
74671
75285
|
*/
|
|
74672
75286
|
415: MediaMediaError;
|
|
75287
|
+
/**
|
|
75288
|
+
* Request failed; see the error code reference.
|
|
75289
|
+
*/
|
|
75290
|
+
422: MediaMediaError;
|
|
74673
75291
|
/**
|
|
74674
75292
|
* Request failed; see the error code reference.
|
|
74675
75293
|
*/
|
|
@@ -74731,6 +75349,10 @@ export type MediaUnderstandingFailureSummaryErrors = {
|
|
|
74731
75349
|
* This media format is unsupported; provide a supported format.
|
|
74732
75350
|
*/
|
|
74733
75351
|
415: MediaMediaError;
|
|
75352
|
+
/**
|
|
75353
|
+
* Request failed; see the error code reference.
|
|
75354
|
+
*/
|
|
75355
|
+
422: MediaMediaError;
|
|
74734
75356
|
/**
|
|
74735
75357
|
* A rate limit was reached; wait before retrying.
|
|
74736
75358
|
*/
|
|
@@ -74809,6 +75431,10 @@ export type MediaListUnderstandingsByLibraryErrors = {
|
|
|
74809
75431
|
* This media format is unsupported; provide a supported format.
|
|
74810
75432
|
*/
|
|
74811
75433
|
415: MediaMediaError;
|
|
75434
|
+
/**
|
|
75435
|
+
* Request failed; see the error code reference.
|
|
75436
|
+
*/
|
|
75437
|
+
422: MediaMediaError;
|
|
74812
75438
|
/**
|
|
74813
75439
|
* A rate limit was reached; wait before retrying.
|
|
74814
75440
|
*/
|
|
@@ -74834,6 +75460,425 @@ export type MediaListUnderstandingsByLibraryResponses = {
|
|
|
74834
75460
|
200: MediaUnderstandingPage;
|
|
74835
75461
|
};
|
|
74836
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];
|
|
74837
75882
|
export type GetSandboxV1SandboxesData = {
|
|
74838
75883
|
body?: never;
|
|
74839
75884
|
path?: never;
|
|
@@ -75226,6 +76271,10 @@ export type ListSandboxTemplatesResponses = {
|
|
|
75226
76271
|
buildCount: number;
|
|
75227
76272
|
envdVersion: SandboxEnvdVersion;
|
|
75228
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'>;
|
|
75229
76278
|
/**
|
|
75230
76279
|
* True for an official catalog template; false for your organization's custom templates.
|
|
75231
76280
|
*/
|
|
@@ -77429,7 +78478,7 @@ export type TicketGetTicketsData = {
|
|
|
77429
78478
|
*/
|
|
77430
78479
|
page_token?: string;
|
|
77431
78480
|
/**
|
|
77432
|
-
* Filter expression.
|
|
78481
|
+
* Filter expression using field:value qualifiers, such as is:open milestone:5.
|
|
77433
78482
|
*/
|
|
77434
78483
|
filter?: string;
|
|
77435
78484
|
};
|
|
@@ -79848,7 +80897,7 @@ export type TicketGetActivityData = {
|
|
|
79848
80897
|
*/
|
|
79849
80898
|
page_token?: string;
|
|
79850
80899
|
/**
|
|
79851
|
-
*
|
|
80900
|
+
* Activity filter expression.
|
|
79852
80901
|
*/
|
|
79853
80902
|
filter?: string;
|
|
79854
80903
|
};
|