@deepraxis/sdk 0.1.1-dev.7bc135e → 0.1.1-dev.7f17950

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.
@@ -1268,6 +1268,76 @@ export type OwnFilePraxisCompleteUpload = {
1268
1268
  */
1269
1269
  md5?: string;
1270
1270
  };
1271
+ export type OwnFileSignedUploadRequest = {
1272
+ /**
1273
+ * Stored basename, 1–255 UTF-8 bytes without control characters or path separators.
1274
+ */
1275
+ filename: string;
1276
+ /**
1277
+ * Exact local file size in bytes, from 1 through 2147483648 (2 GiB). Up to 104857600 bytes returns one PUT URL; larger files return numbered part URLs and a completion URL. Every PUT requires its exact signed Content-Length.
1278
+ */
1279
+ bytes: number;
1280
+ /**
1281
+ * Declared MIME type, such as image/png. In single-PUT mode, send exactly this Content-Type or omit it. Stored file metadata is detected from the bytes in both modes.
1282
+ */
1283
+ content_type: string;
1284
+ /**
1285
+ * user_data stores ordinary files and conversation images; vision accepts PNG, JPEG, GIF or WebP images only. Omitted means user_data.
1286
+ */
1287
+ purpose?: 'user_data' | 'vision';
1288
+ /**
1289
+ * Lifetime in seconds, from 1 through 604800: defaults to 900 for single PUT or 3600 for multipart. All part URLs and the completion URL share one expiry. This does not set the resulting file's lifetime.
1290
+ */
1291
+ expires_in?: number;
1292
+ /**
1293
+ * Fixed multipart chunk size in bytes, from 5242880 through 64000000; defaults to 64000000. Used only above 104857600 total bytes. The final part contains the remaining bytes; single-PUT mode keeps its existing response.
1294
+ */
1295
+ part_size?: number;
1296
+ };
1297
+ export type OwnFileSignedUploadResponse = {
1298
+ /**
1299
+ * One-time bearer URL on the files content domain. Send local bytes with PUT, for example curl -T photo.png -H 'Content-Type: image/png' '<url>'; no Authorization header is needed.
1300
+ */
1301
+ url: string;
1302
+ /**
1303
+ * Opaque pending upload identifier bound to this URL; it is not a multipart Upload or a File ID.
1304
+ */
1305
+ upload_id: string;
1306
+ /**
1307
+ * UTC timestamp when the URL stops accepting uploads. Request another signed URL after expiry.
1308
+ */
1309
+ expires_at: string;
1310
+ } | {
1311
+ /**
1312
+ * Pending multipart Upload identifier. Use its returned part URLs to send bytes and its complete_url to create the file.
1313
+ */
1314
+ upload_id: string;
1315
+ /**
1316
+ * Shared UTC expiry of every part URL and the completion URL; unfinished uploads expire and release their reserved quota.
1317
+ */
1318
+ expires_at: string;
1319
+ /**
1320
+ * Fixed chunk length in bytes, except for the final remainder. Split the local file at multiples of this size.
1321
+ */
1322
+ part_size: number;
1323
+ /**
1324
+ * One entry per chunk, numbered from 1 through ceil(bytes / part_size). PUT chunks in any order with exact Content-Length; each success returns 200 with part_number and bytes.
1325
+ */
1326
+ parts: Array<{
1327
+ /**
1328
+ * One-based chunk position in the original local file; its offset is (part_number - 1) times part_size.
1329
+ */
1330
+ part_number: number;
1331
+ /**
1332
+ * Bearer PUT URL for this chunk, without Authorization. Content-Length must equal part_size, except for the final remainder. Identical bytes may be retried; changed bytes return 400.
1333
+ */
1334
+ url: string;
1335
+ }>;
1336
+ /**
1337
+ * 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
+ */
1339
+ complete_url: string;
1340
+ };
1271
1341
  /**
1272
1342
  * Problem document returned by the Meta method catalog on failure.
1273
1343
  */
@@ -8759,7 +8829,7 @@ export type AutomationAutomationProblemDetails = {
8759
8829
  title: string;
8760
8830
  status: number;
8761
8831
  detail: string;
8762
- code: 'METHOD_NOT_ALLOWED' | 'TRIGGER_NOT_FOUND' | 'SCHEDULE_INVALID' | 'TIMEZONE_INVALID' | 'INTERVAL_TOO_SHORT' | 'TRIGGER_MANAGED' | 'TRIGGER_PAUSED' | 'TRIGGER_LIMIT' | 'ACTION_NOT_FOUND' | 'TARGET_NOT_FOUND' | 'VERSION_NOT_FOUND' | 'RUN_NOT_FOUND' | 'WAIT_NOT_FOUND' | 'NAME_TAKEN' | 'VERSION_EXISTS' | 'RUN_INVALID_STATE' | 'IDEMPOTENCY_IN_FLIGHT' | 'TARGET_ARCHIVED' | 'OPERATION_NOT_SUPPORTED' | 'WAIT_ALREADY_RESOLVED' | 'WAIT_EXPIRED' | 'PRECONDITION_FAILED' | 'PAYLOAD_TOO_LARGE' | 'SCHEMA_INCOMPATIBLE' | 'IDEMPOTENCY_KEY_MISMATCH' | 'NO_MATCHING_VERSION' | 'CYCLE_DETECTED' | 'DEFINITION_IDENTITY_MISMATCH' | 'DEFINITION_INVALID' | 'INPUT_INVALID' | 'TAG_INVALID' | 'TAG_REQUIRED' | 'INVALID_PARAMS' | 'NAMESPACE_FORBIDDEN' | 'OWNER_SUSPENDED' | 'RATE_LIMITED' | 'QUOTA_EXCEEDED' | 'SCRIPT_ERROR' | 'OUTPUT_INVALID' | 'CPU_LIMIT_EXCEEDED' | 'NOT_IMPLEMENTED' | 'HUMAN_TASK_NOT_FOUND' | 'TASK_CLOSED' | 'ALREADY_RESPONDED' | 'NOT_ASSIGNED' | 'SELF_APPROVAL' | 'AGENT_NOT_ALLOWED' | 'COMMENT_REQUIRED' | 'INVALID_ACTION' | 'INVALID_VALUES' | 'HUMAN_TASK_CANCELLED';
8832
+ code: 'METHOD_NOT_ALLOWED' | 'TRIGGER_NOT_FOUND' | 'SCHEDULE_INVALID' | 'TIMEZONE_INVALID' | 'INTERVAL_TOO_SHORT' | 'TRIGGER_MANAGED' | 'TRIGGER_PAUSED' | 'TRIGGER_LIMIT' | 'ACTION_NOT_FOUND' | 'TARGET_NOT_FOUND' | 'VAULT_NOT_FOUND' | 'VAULT_ALREADY_BOUND' | 'VERSION_NOT_FOUND' | 'RUN_NOT_FOUND' | 'WAIT_NOT_FOUND' | 'NAME_TAKEN' | 'VERSION_EXISTS' | 'RUN_INVALID_STATE' | 'IDEMPOTENCY_IN_FLIGHT' | 'TARGET_ARCHIVED' | 'OPERATION_NOT_SUPPORTED' | 'WAIT_ALREADY_RESOLVED' | 'WAIT_EXPIRED' | 'PRECONDITION_FAILED' | 'PAYLOAD_TOO_LARGE' | 'SCHEMA_INCOMPATIBLE' | 'IDEMPOTENCY_KEY_MISMATCH' | 'NO_MATCHING_VERSION' | 'CYCLE_DETECTED' | 'DEFINITION_IDENTITY_MISMATCH' | 'DEFINITION_INVALID' | 'INPUT_INVALID' | 'TAG_INVALID' | 'TAG_REQUIRED' | 'INVALID_PARAMS' | 'NAMESPACE_FORBIDDEN' | 'OWNER_SUSPENDED' | 'RATE_LIMITED' | 'QUOTA_EXCEEDED' | 'SCRIPT_ERROR' | 'OUTPUT_INVALID' | 'CPU_LIMIT_EXCEEDED' | 'NOT_IMPLEMENTED' | 'SERVICE_UNAVAILABLE' | 'HUMAN_TASK_NOT_FOUND' | 'TASK_CLOSED' | 'ALREADY_RESPONDED' | 'NOT_ASSIGNED' | 'SELF_APPROVAL' | 'AGENT_NOT_ALLOWED' | 'COMMENT_REQUIRED' | 'INVALID_ACTION' | 'INVALID_VALUES' | 'HUMAN_TASK_CANCELLED';
8763
8833
  errors: Array<AutomationDiagnostic>;
8764
8834
  issues: Array<AutomationCompatIssue>;
8765
8835
  hint: string | null;
@@ -12740,7 +12810,7 @@ export type MediaLibrary = {
12740
12810
  };
12741
12811
  export type MediaMediaError = {
12742
12812
  error: {
12743
- code: 'LIBRARY_NOT_FOUND' | 'ASSET_NOT_FOUND' | 'JOB_NOT_FOUND' | 'UNDERSTANDING_NOT_FOUND' | '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';
12813
+ 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';
12744
12814
  message: string;
12745
12815
  details: string | null;
12746
12816
  };
@@ -12813,6 +12883,10 @@ export type MediaUploadResult = MediaCloudinaryResource | MediaChunkPending | Me
12813
12883
  * Stored media category: image for images, video for video or audio, and raw for other files. Upload also accepts auto for detection.
12814
12884
  */
12815
12885
  export type MediaResourceType = 'image' | 'video' | 'raw';
12886
+ /**
12887
+ * Asset delivery mode: upload is public; authenticated requires a signed URL or delivery token for originals and derivatives. private is unsupported.
12888
+ */
12889
+ export type MediaDeliveryType = 'upload' | 'authenticated';
12816
12890
  /**
12817
12891
  * A media resource with its library, content hash, processing progress and semantic-search availability.
12818
12892
  */
@@ -12838,7 +12912,7 @@ export type MediaAsset = {
12838
12912
  */
12839
12913
  resource_type: MediaResourceType;
12840
12914
  /**
12841
- * Public asset delivery mode; upload is the only supported value.
12915
+ * Asset delivery mode: upload is public; authenticated requires a signed URL or delivery token for originals and derivatives. private is unsupported.
12842
12916
  */
12843
12917
  type: MediaDeliveryType;
12844
12918
  /**
@@ -12881,6 +12955,27 @@ export type MediaAsset = {
12881
12955
  * True for audio-only media, which uses resource_type video.
12882
12956
  */
12883
12957
  is_audio?: boolean;
12958
+ /**
12959
+ * Detected audio track metadata, omitted when no audio track information is available.
12960
+ */
12961
+ audio?: {
12962
+ /**
12963
+ * Detected audio codec identifier, when known.
12964
+ */
12965
+ codec?: string;
12966
+ /**
12967
+ * Number of audio channels in the detected track, when known.
12968
+ */
12969
+ channels?: number;
12970
+ /**
12971
+ * Audio sampling frequency in hertz, when known.
12972
+ */
12973
+ frequency?: number;
12974
+ };
12975
+ /**
12976
+ * False when the video is known to contain no audio track; omitted when audio presence is unknown or an audio track exists.
12977
+ */
12978
+ has_audio?: false;
12884
12979
  /**
12885
12980
  * Original or overridden source filename with its final extension removed.
12886
12981
  */
@@ -12909,7 +13004,7 @@ export type MediaAsset = {
12909
13004
  */
12910
13005
  url: string;
12911
13006
  /**
12912
- * HTTPS delivery URL for this asset version; equal to url.
13007
+ * HTTPS delivery URL for this asset version; equal to url. For authenticated assets the server includes a signature, so the original URL is ready to use. Request a delivery_tokens token for transformed URLs.
12913
13008
  */
12914
13009
  secure_url: string;
12915
13010
  /**
@@ -12952,6 +13047,45 @@ export type MediaAsset = {
12952
13047
  * Preview sprite sheet with tile dimensions and sample spacing.
12953
13048
  */
12954
13049
  storyboard?: MediaStoryboard;
13050
+ /**
13051
+ * Low-bitrate proxy renditions for smooth playback while editing; exports use the original source.
13052
+ */
13053
+ proxy?: {
13054
+ /**
13055
+ * Proxy audio rendition, present once it has been generated.
13056
+ */
13057
+ audio?: {
13058
+ /**
13059
+ * Delivery URL of the proxy audio rendition.
13060
+ */
13061
+ url: string;
13062
+ /**
13063
+ * Proxy audio bitrate in bits per second.
13064
+ */
13065
+ bitrate: number;
13066
+ };
13067
+ /**
13068
+ * Proxy video rendition, present once it has been generated.
13069
+ */
13070
+ video?: {
13071
+ /**
13072
+ * Delivery URL of the proxy video rendition.
13073
+ */
13074
+ url: string;
13075
+ /**
13076
+ * Proxy video bitrate in bits per second.
13077
+ */
13078
+ bitrate: number;
13079
+ /**
13080
+ * Proxy video frame width in pixels.
13081
+ */
13082
+ width: number;
13083
+ /**
13084
+ * Proxy video frame height in pixels.
13085
+ */
13086
+ height: number;
13087
+ };
13088
+ };
12955
13089
  };
12956
13090
  };
12957
13091
  /**
@@ -13187,6 +13321,19 @@ export type MediaMediaEventPage = MediaPage & {
13187
13321
  */
13188
13322
  next_cursor: string | null;
13189
13323
  };
13324
+ /**
13325
+ * Time-limited delivery authorization; anyone holding the token can read matching paths until expiry.
13326
+ */
13327
+ export type MediaDeliveryToken = {
13328
+ /**
13329
+ * Bearer token for delivery URLs. Append as the __cld_token__ query parameter; URL-encode the value once.
13330
+ */
13331
+ token: string;
13332
+ /**
13333
+ * UTC timestamp when this token expires and delivery access ends.
13334
+ */
13335
+ expires_at: string;
13336
+ };
13190
13337
  /**
13191
13338
  * Sandbox creation request. All system communication with the sandbox is always secured; the template's envd version must support secured access.
13192
13339
  */
@@ -13696,9 +13843,9 @@ export type VaultCreateSecretInput = {
13696
13843
  */
13697
13844
  value: string;
13698
13845
  /**
13699
- * Allowed destinations for the secret. Unlike Anthropic's unrestricted networking option, an explicit allowlist is required. Supply 1–16 bare domain names, dotted-decimal IPv4 addresses or leading *. domain wildcards. A wildcard matches subdomains, not the domain itself. URLs, ports, paths, IPv6, local/private and platform hosts are rejected. Entries are lowercased, one trailing dot is removed, internationalized domains use Punycode, and duplicates are removed.
13846
+ * Allowed destinations for the secret. Omitting allowed_hosts on creation stores an empty list for name-based resolution only: host-based redemption never matches. When supplied, list 1–16 bare domain names, dotted-decimal IPv4 addresses or leading *. domain wildcards. A wildcard matches subdomains, not the domain itself. URLs, ports, paths, IPv6, local/private and platform hosts are rejected. Entries are lowercased, one trailing dot is removed, internationalized domains use Punycode, and duplicates are removed.
13700
13847
  */
13701
- allowed_hosts: Array<string>;
13848
+ allowed_hosts?: Array<string>;
13702
13849
  /**
13703
13850
  * Human-readable note about the secret, or null when absent; at most 1024 Unicode code points.
13704
13851
  */
@@ -13710,7 +13857,7 @@ export type VaultCreateSecretInput = {
13710
13857
  [key: string]: string;
13711
13858
  };
13712
13859
  /**
13713
- * Static template ID from List templates. Records metadata.template; name, value and allowed_hosts must still be supplied explicitly.
13860
+ * Static template ID from List templates. Records metadata.template; name and value must still be supplied explicitly; allowed_hosts is optional.
13714
13861
  */
13715
13862
  template_id?: 'github' | 'openai' | 'anthropic' | 'stripe';
13716
13863
  /**
@@ -13740,7 +13887,7 @@ export type VaultSecret = {
13740
13887
  */
13741
13888
  kind: 'static' | 'oauth';
13742
13889
  /**
13743
- * Allowed destinations for the secret. Unlike Anthropic's unrestricted networking option, an explicit allowlist is required. Supply 1–16 bare domain names, dotted-decimal IPv4 addresses or leading *. domain wildcards. A wildcard matches subdomains, not the domain itself. URLs, ports, paths, IPv6, local/private and platform hosts are rejected. Entries are lowercased, one trailing dot is removed, internationalized domains use Punycode, and duplicates are removed.
13890
+ * Allowed destinations for the secret. Omitting allowed_hosts on creation stores an empty list for name-based resolution only: host-based redemption never matches. When supplied, list 1–16 bare domain names, dotted-decimal IPv4 addresses or leading *. domain wildcards. A wildcard matches subdomains, not the domain itself. URLs, ports, paths, IPv6, local/private and platform hosts are rejected. Entries are lowercased, one trailing dot is removed, internationalized domains use Punycode, and duplicates are removed.
13744
13891
  */
13745
13892
  allowed_hosts: Array<string>;
13746
13893
  /**
@@ -13817,6 +13964,9 @@ export type VaultImportResult = {
13817
13964
  * Name supplied by the failed entry, or null when no string name could be read.
13818
13965
  */
13819
13966
  name: string | null;
13967
+ /**
13968
+ * Stable refusal code for this entry; fix invalid input or retry only after resolving the named condition.
13969
+ */
13820
13970
  code: 'VAULT_NOT_FOUND' | 'SECRET_NOT_FOUND' | 'AUTHORIZATION_NOT_FOUND' | 'SECRET_CONFLICT' | 'VAULT_INVALID_STATE' | 'VAULT_LIMIT_EXCEEDED' | 'INVALID_PARAMS' | 'SECRET_KIND_MISMATCH' | 'VALIDATE_UNSUPPORTED' | 'SECRET_TOO_LARGE' | 'RATE_LIMITED' | 'AUTHORIZATION_EXPIRED' | 'OAUTH_DISCOVERY_FAILED' | 'OAUTH_REGISTRATION_UNSUPPORTED' | 'OAUTH_ISSUER_MISMATCH' | 'OAUTH_STATE_INVALID' | 'OAUTH_EXCHANGE_FAILED' | 'NOT_IMPLEMENTED';
13821
13971
  /**
13822
13972
  * Human-readable explanation of why this entry failed.
@@ -13830,7 +13980,7 @@ export type VaultUpdateSecretInput = {
13830
13980
  */
13831
13981
  value?: string;
13832
13982
  /**
13833
- * Allowed destinations for the secret. Unlike Anthropic's unrestricted networking option, an explicit allowlist is required. Supply 1–16 bare domain names, dotted-decimal IPv4 addresses or leading *. domain wildcards. A wildcard matches subdomains, not the domain itself. URLs, ports, paths, IPv6, local/private and platform hosts are rejected. Entries are lowercased, one trailing dot is removed, internationalized domains use Punycode, and duplicates are removed.
13983
+ * Allowed destinations for the secret. Omitting allowed_hosts on creation stores an empty list for name-based resolution only: host-based redemption never matches. When supplied, list 1–16 bare domain names, dotted-decimal IPv4 addresses or leading *. domain wildcards. A wildcard matches subdomains, not the domain itself. URLs, ports, paths, IPv6, local/private and platform hosts are rejected. Entries are lowercased, one trailing dot is removed, internationalized domains use Punycode, and duplicates are removed.
13834
13984
  */
13835
13985
  allowed_hosts?: Array<string>;
13836
13986
  /**
@@ -23261,7 +23411,7 @@ export type MediaCloudinaryResource = {
23261
23411
  */
23262
23412
  resource_type: MediaResourceType;
23263
23413
  /**
23264
- * Public asset delivery mode; upload is the only supported value.
23414
+ * Asset delivery mode: upload is public; authenticated requires a signed URL or delivery token for originals and derivatives. private is unsupported.
23265
23415
  */
23266
23416
  type: MediaDeliveryType;
23267
23417
  /**
@@ -23304,6 +23454,27 @@ export type MediaCloudinaryResource = {
23304
23454
  * True for audio-only media, which uses resource_type video.
23305
23455
  */
23306
23456
  is_audio?: boolean;
23457
+ /**
23458
+ * Detected audio track metadata, omitted when no audio track information is available.
23459
+ */
23460
+ audio?: {
23461
+ /**
23462
+ * Detected audio codec identifier, when known.
23463
+ */
23464
+ codec?: string;
23465
+ /**
23466
+ * Number of audio channels in the detected track, when known.
23467
+ */
23468
+ channels?: number;
23469
+ /**
23470
+ * Audio sampling frequency in hertz, when known.
23471
+ */
23472
+ frequency?: number;
23473
+ };
23474
+ /**
23475
+ * False when the video is known to contain no audio track; omitted when audio presence is unknown or an audio track exists.
23476
+ */
23477
+ has_audio?: false;
23307
23478
  /**
23308
23479
  * Original or overridden source filename with its final extension removed.
23309
23480
  */
@@ -23332,7 +23503,7 @@ export type MediaCloudinaryResource = {
23332
23503
  */
23333
23504
  url: string;
23334
23505
  /**
23335
- * HTTPS delivery URL for this asset version; equal to url.
23506
+ * HTTPS delivery URL for this asset version; equal to url. For authenticated assets the server includes a signature, so the original URL is ready to use. Request a delivery_tokens token for transformed URLs.
23336
23507
  */
23337
23508
  secure_url: string;
23338
23509
  /**
@@ -23367,10 +23538,6 @@ export type MediaChunkComplete = MediaCloudinaryResource & {
23367
23538
  */
23368
23539
  done: true;
23369
23540
  };
23370
- /**
23371
- * Public asset delivery mode; upload is the only supported value.
23372
- */
23373
- export type MediaDeliveryType = 'upload';
23374
23541
  /**
23375
23542
  * Per-task processing progress and its aggregate state for the asset.
23376
23543
  */
@@ -23507,7 +23674,7 @@ export type MediaSearchAsset = {
23507
23674
  */
23508
23675
  resource_type: MediaResourceType;
23509
23676
  /**
23510
- * Public asset delivery mode; upload is the only supported value.
23677
+ * Asset delivery mode: upload is public; authenticated requires a signed URL or delivery token for originals and derivatives. private is unsupported.
23511
23678
  */
23512
23679
  type: MediaDeliveryType;
23513
23680
  /**
@@ -23550,6 +23717,27 @@ export type MediaSearchAsset = {
23550
23717
  * True for audio-only media, which uses resource_type video.
23551
23718
  */
23552
23719
  is_audio?: boolean;
23720
+ /**
23721
+ * Detected audio track metadata, omitted when no audio track information is available.
23722
+ */
23723
+ audio?: {
23724
+ /**
23725
+ * Detected audio codec identifier, when known.
23726
+ */
23727
+ codec?: string;
23728
+ /**
23729
+ * Number of audio channels in the detected track, when known.
23730
+ */
23731
+ channels?: number;
23732
+ /**
23733
+ * Audio sampling frequency in hertz, when known.
23734
+ */
23735
+ frequency?: number;
23736
+ };
23737
+ /**
23738
+ * False when the video is known to contain no audio track; omitted when audio presence is unknown or an audio track exists.
23739
+ */
23740
+ has_audio?: false;
23553
23741
  /**
23554
23742
  * Original or overridden source filename with its final extension removed.
23555
23743
  */
@@ -23578,7 +23766,7 @@ export type MediaSearchAsset = {
23578
23766
  */
23579
23767
  url: string;
23580
23768
  /**
23581
- * HTTPS delivery URL for this asset version; equal to url.
23769
+ * HTTPS delivery URL for this asset version; equal to url. For authenticated assets the server includes a signature, so the original URL is ready to use. Request a delivery_tokens token for transformed URLs.
23582
23770
  */
23583
23771
  secure_url: string;
23584
23772
  /**
@@ -23621,6 +23809,45 @@ export type MediaSearchAsset = {
23621
23809
  * Preview sprite sheet with tile dimensions and sample spacing.
23622
23810
  */
23623
23811
  storyboard?: MediaStoryboard;
23812
+ /**
23813
+ * Low-bitrate proxy renditions for smooth playback while editing; exports use the original source.
23814
+ */
23815
+ proxy?: {
23816
+ /**
23817
+ * Proxy audio rendition, present once it has been generated.
23818
+ */
23819
+ audio?: {
23820
+ /**
23821
+ * Delivery URL of the proxy audio rendition.
23822
+ */
23823
+ url: string;
23824
+ /**
23825
+ * Proxy audio bitrate in bits per second.
23826
+ */
23827
+ bitrate: number;
23828
+ };
23829
+ /**
23830
+ * Proxy video rendition, present once it has been generated.
23831
+ */
23832
+ video?: {
23833
+ /**
23834
+ * Delivery URL of the proxy video rendition.
23835
+ */
23836
+ url: string;
23837
+ /**
23838
+ * Proxy video bitrate in bits per second.
23839
+ */
23840
+ bitrate: number;
23841
+ /**
23842
+ * Proxy video frame width in pixels.
23843
+ */
23844
+ width: number;
23845
+ /**
23846
+ * Proxy video frame height in pixels.
23847
+ */
23848
+ height: number;
23849
+ };
23850
+ };
23624
23851
  };
23625
23852
  };
23626
23853
  /**
@@ -23648,7 +23875,7 @@ export type MediaSemanticHit = {
23648
23875
  * Identifier returned when a batch job is created.
23649
23876
  */
23650
23877
  export type MediaJobId = string;
23651
- export type MediaMediaErrorCode = 'LIBRARY_NOT_FOUND' | 'ASSET_NOT_FOUND' | 'JOB_NOT_FOUND' | 'UNDERSTANDING_NOT_FOUND' | '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';
23878
+ 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';
23652
23879
  /**
23653
23880
  * A recorded library event with a monotonically increasing sequence within that library.
23654
23881
  */
@@ -39819,6 +40046,79 @@ export type FileCancelUploadResponses = {
39819
40046
  200: OwnFilePraxisUpload;
39820
40047
  };
39821
40048
  export type FileCancelUploadResponse = FileCancelUploadResponses[keyof FileCancelUploadResponses];
40049
+ export type FileCreateSignedUploadData = {
40050
+ body: OwnFileSignedUploadRequest;
40051
+ path?: never;
40052
+ query?: never;
40053
+ url: '/file/v1/uploads/signed';
40054
+ };
40055
+ export type FileCreateSignedUploadErrors = {
40056
+ /**
40057
+ * INVALID_PARAMS: correct the filename, byte count, MIME type, purpose or lifetime named by the error before retrying.
40058
+ */
40059
+ 400: unknown;
40060
+ /**
40061
+ * UNAUTHENTICATED: supply a valid organization API key or signed-in session.
40062
+ */
40063
+ 401: unknown;
40064
+ /**
40065
+ * PERMISSION_DENIED or BINDING_READ_ONLY: use a credential with the required create or file-write authority.
40066
+ */
40067
+ 403: unknown;
40068
+ };
40069
+ export type FileCreateSignedUploadResponses = {
40070
+ /**
40071
+ * Single PUT URL, or numbered multipart PUT URLs and a completion URL, with expiry. Upload bytes locally to create the file.
40072
+ */
40073
+ 200: OwnFileSignedUploadResponse;
40074
+ };
40075
+ export type FileCreateSignedUploadResponse = FileCreateSignedUploadResponses[keyof FileCreateSignedUploadResponses];
40076
+ export type FileRevokeContentLinkData = {
40077
+ body: {
40078
+ /**
40079
+ * Signed token taken from the /c/ path component of a previously issued file content URL, without the host or /c/ prefix.
40080
+ */
40081
+ token: string;
40082
+ };
40083
+ path: {
40084
+ /**
40085
+ * Tenant-owned file identifier returned by file creation or listing; the token must name this same file.
40086
+ */
40087
+ file_id: string;
40088
+ };
40089
+ query?: never;
40090
+ url: '/file/v1/files/{file_id}/content_links:revoke';
40091
+ };
40092
+ export type FileRevokeContentLinkErrors = {
40093
+ /**
40094
+ * INVALID_PARAMS: correct the filename, byte count, MIME type, purpose or lifetime named by the error before retrying.
40095
+ */
40096
+ 400: unknown;
40097
+ /**
40098
+ * UNAUTHENTICATED: supply a valid organization API key or signed-in session.
40099
+ */
40100
+ 401: unknown;
40101
+ /**
40102
+ * PERMISSION_DENIED or BINDING_READ_ONLY: use a credential with the required create or file-write authority.
40103
+ */
40104
+ 403: unknown;
40105
+ /**
40106
+ * FILE_NOT_FOUND: the file or token is missing, expired, invalid, already revoked or belongs to another organization; obtain a live matching token and verify file access.
40107
+ */
40108
+ 404: unknown;
40109
+ };
40110
+ export type FileRevokeContentLinkResponses = {
40111
+ /**
40112
+ * The content link is revoked; deny-list propagation stops further reads.
40113
+ */
40114
+ 200: {
40115
+ /**
40116
+ * True when IAM has recorded revocation of this content link.
40117
+ */
40118
+ revoked: true;
40119
+ };
40120
+ };
40121
+ export type FileRevokeContentLinkResponse = FileRevokeContentLinkResponses[keyof FileRevokeContentLinkResponses];
39822
40122
  export type HealthCheckData = {
39823
40123
  body?: never;
39824
40124
  path?: never;
@@ -45962,7 +46262,7 @@ export type RemoveSandboxFileData = {
45962
46262
  };
45963
46263
  export type RemoveSandboxFileErrors = {
45964
46264
  /**
45965
- * INVALID_PARAMS: correct missing paths, unsupported fields or timeoutMs outside 1–60000.
46265
+ * INVALID_PARAMS: correct missing paths, unsupported fields or timeoutMs outside 1–3600000.
45966
46266
  */
45967
46267
  400: unknown;
45968
46268
  /**
@@ -46007,7 +46307,7 @@ export type ReadSandboxFileData = {
46007
46307
  };
46008
46308
  export type ReadSandboxFileErrors = {
46009
46309
  /**
46010
- * INVALID_PARAMS: correct missing paths, unsupported fields or timeoutMs outside 1–60000.
46310
+ * INVALID_PARAMS: correct missing paths, unsupported fields or timeoutMs outside 1–3600000.
46011
46311
  */
46012
46312
  400: unknown;
46013
46313
  /**
@@ -46056,7 +46356,7 @@ export type WriteSandboxFileData = {
46056
46356
  };
46057
46357
  export type WriteSandboxFileErrors = {
46058
46358
  /**
46059
- * INVALID_PARAMS: correct missing paths, unsupported fields or timeoutMs outside 1–60000.
46359
+ * INVALID_PARAMS: correct missing paths, unsupported fields or timeoutMs outside 1–3600000.
46060
46360
  */
46061
46361
  400: unknown;
46062
46362
  /**
@@ -46118,7 +46418,7 @@ export type ListSandboxFilesData = {
46118
46418
  };
46119
46419
  export type ListSandboxFilesErrors = {
46120
46420
  /**
46121
- * INVALID_PARAMS: correct missing paths, unsupported fields or timeoutMs outside 1–60000.
46421
+ * INVALID_PARAMS: correct missing paths, unsupported fields or timeoutMs outside 1–3600000.
46122
46422
  */
46123
46423
  400: unknown;
46124
46424
  /**
@@ -46180,7 +46480,7 @@ export type MakeSandboxDirectoryData = {
46180
46480
  };
46181
46481
  export type MakeSandboxDirectoryErrors = {
46182
46482
  /**
46183
- * INVALID_PARAMS: correct missing paths, unsupported fields or timeoutMs outside 1–60000.
46483
+ * INVALID_PARAMS: correct missing paths, unsupported fields or timeoutMs outside 1–3600000.
46184
46484
  */
46185
46485
  400: unknown;
46186
46486
  /**
@@ -46224,7 +46524,7 @@ export type RunSandboxCommandData = {
46224
46524
  [key: string]: string;
46225
46525
  };
46226
46526
  /**
46227
- * Execution timeout in milliseconds, from 1 to 60000; defaults to 60000.
46527
+ * Execution timeout in milliseconds, from 1 to 3600000 (1 hour); defaults to 600000 (10 minutes).
46228
46528
  */
46229
46529
  timeoutMs?: number;
46230
46530
  };
@@ -46239,7 +46539,7 @@ export type RunSandboxCommandData = {
46239
46539
  };
46240
46540
  export type RunSandboxCommandErrors = {
46241
46541
  /**
46242
- * INVALID_PARAMS: correct missing paths, unsupported fields or timeoutMs outside 1–60000.
46542
+ * INVALID_PARAMS: correct missing paths, unsupported fields or timeoutMs outside 1–3600000.
46243
46543
  */
46244
46544
  400: unknown;
46245
46545
  /**
@@ -61871,6 +62171,406 @@ export type AutomationHumanTasksDelegateResponses = {
61871
62171
  200: AutomationHumanTask;
61872
62172
  };
61873
62173
  export type AutomationHumanTasksDelegateResponse = AutomationHumanTasksDelegateResponses[keyof AutomationHumanTasksDelegateResponses];
62174
+ export type AutomationScriptsVaultsListData = {
62175
+ body?: never;
62176
+ path: {
62177
+ /**
62178
+ * Namespace from automation.scripts.list or create; identifies the saved script, independently of versions.
62179
+ */
62180
+ ns: string;
62181
+ /**
62182
+ * Resource name from automation.scripts.list or create; combine with ns to identify the saved script.
62183
+ */
62184
+ name: string;
62185
+ };
62186
+ query?: never;
62187
+ url: '/automation/v1/scripts/{ns}/{name}/vaults';
62188
+ };
62189
+ export type AutomationScriptsVaultsListErrors = {
62190
+ /**
62191
+ * INVALID_PARAMS: Invalid request parameters, path, cursor, or body format.
62192
+ */
62193
+ 400: AutomationAutomationProblemDetails;
62194
+ /**
62195
+ * TARGET_NOT_FOUND: The target does not exist or has an incompatible type.
62196
+ */
62197
+ 404: AutomationAutomationProblemDetails;
62198
+ /**
62199
+ * Automation problem; inspect the refusal code and diagnostics before retrying.
62200
+ */
62201
+ default: AutomationAutomationProblemDetails;
62202
+ };
62203
+ export type AutomationScriptsVaultsListError = AutomationScriptsVaultsListErrors[keyof AutomationScriptsVaultsListErrors];
62204
+ export type AutomationScriptsVaultsListResponses = {
62205
+ /**
62206
+ * Bindings and available secret names; no secret values.
62207
+ */
62208
+ 200: {
62209
+ /**
62210
+ * Whole-vault bindings for this definition, sorted by alias, with secret names only.
62211
+ */
62212
+ data: Array<{
62213
+ /**
62214
+ * Alias used to identify this whole-vault binding on the script or workflow.
62215
+ */
62216
+ alias: string;
62217
+ /**
62218
+ * Bound vault identity and current display name; unavailable vaults use their ID as the fallback name.
62219
+ */
62220
+ vault: {
62221
+ /**
62222
+ * Opaque vault identifier from vault creation or listing; persisted even if the vault becomes unavailable.
62223
+ */
62224
+ id: string;
62225
+ /**
62226
+ * Current vault display name, or the vault ID when its metadata cannot be read.
62227
+ */
62228
+ name: string;
62229
+ };
62230
+ /**
62231
+ * Accessible secret names without values. Empty when metadata cannot be read; check secrets_unavailable.
62232
+ */
62233
+ secrets: Array<{
62234
+ /**
62235
+ * Lookup name of a non-archived secret in this vault; secret values are never returned.
62236
+ */
62237
+ name: string;
62238
+ }>;
62239
+ /**
62240
+ * Present and true when vault or secret metadata could not be read; secrets is then empty. Omitted on success.
62241
+ */
62242
+ secrets_unavailable?: true;
62243
+ }>;
62244
+ };
62245
+ };
62246
+ export type AutomationScriptsVaultsListResponse = AutomationScriptsVaultsListResponses[keyof AutomationScriptsVaultsListResponses];
62247
+ export type AutomationScriptsVaultsDeleteData = {
62248
+ body?: never;
62249
+ path: {
62250
+ /**
62251
+ * Namespace from automation.scripts.list or create; identifies the saved script, independently of versions.
62252
+ */
62253
+ ns: string;
62254
+ /**
62255
+ * Resource name from automation.scripts.list or create; combine with ns to identify the saved script.
62256
+ */
62257
+ name: string;
62258
+ /**
62259
+ * Binding alias chosen by the caller: 1–40 lowercase letters, digits or hyphens, beginning with a letter.
62260
+ */
62261
+ alias: string;
62262
+ };
62263
+ query?: never;
62264
+ url: '/automation/v1/scripts/{ns}/{name}/vaults/{alias}';
62265
+ };
62266
+ export type AutomationScriptsVaultsDeleteErrors = {
62267
+ /**
62268
+ * INVALID_PARAMS: Invalid request parameters, path, cursor, or body format.
62269
+ */
62270
+ 400: AutomationAutomationProblemDetails;
62271
+ /**
62272
+ * TARGET_NOT_FOUND: The target does not exist or has an incompatible type.
62273
+ */
62274
+ 404: AutomationAutomationProblemDetails;
62275
+ /**
62276
+ * Automation problem; inspect the refusal code and diagnostics before retrying.
62277
+ */
62278
+ default: AutomationAutomationProblemDetails;
62279
+ };
62280
+ export type AutomationScriptsVaultsDeleteError = AutomationScriptsVaultsDeleteErrors[keyof AutomationScriptsVaultsDeleteErrors];
62281
+ export type AutomationScriptsVaultsDeleteResponses = {
62282
+ /**
62283
+ * Binding removed or already absent; no response body.
62284
+ */
62285
+ 204: void;
62286
+ };
62287
+ export type AutomationScriptsVaultsDeleteResponse = AutomationScriptsVaultsDeleteResponses[keyof AutomationScriptsVaultsDeleteResponses];
62288
+ export type AutomationScriptsVaultsSetData = {
62289
+ body: {
62290
+ /**
62291
+ * Active vault ID or exact display name from praxis.vault.vaults.list in your organization. Use an ID if display names are duplicated.
62292
+ */
62293
+ vault: string;
62294
+ };
62295
+ path: {
62296
+ /**
62297
+ * Namespace from automation.scripts.list or create; identifies the saved script, independently of versions.
62298
+ */
62299
+ ns: string;
62300
+ /**
62301
+ * Resource name from automation.scripts.list or create; combine with ns to identify the saved script.
62302
+ */
62303
+ name: string;
62304
+ /**
62305
+ * Binding alias chosen by the caller: 1–40 lowercase letters, digits or hyphens, beginning with a letter.
62306
+ */
62307
+ alias: string;
62308
+ };
62309
+ query?: never;
62310
+ url: '/automation/v1/scripts/{ns}/{name}/vaults/{alias}';
62311
+ };
62312
+ export type AutomationScriptsVaultsSetErrors = {
62313
+ /**
62314
+ * INVALID_PARAMS: Invalid request parameters, path, cursor, or body format.
62315
+ */
62316
+ 400: AutomationAutomationProblemDetails;
62317
+ /**
62318
+ * TARGET_NOT_FOUND: The target does not exist or has an incompatible type.
62319
+ * VAULT_NOT_FOUND: The vault is missing, foreign, archived or its name is ambiguous; use an active vault ID in your organization.
62320
+ */
62321
+ 404: AutomationAutomationProblemDetails;
62322
+ /**
62323
+ * VAULT_ALREADY_BOUND: This vault is already bound to the same definition under another alias; reuse that alias or remove the old binding.
62324
+ */
62325
+ 409: AutomationAutomationProblemDetails;
62326
+ /**
62327
+ * SERVICE_UNAVAILABLE: The vault service is unavailable and cannot confirm the requested vault; retry when it recovers.
62328
+ */
62329
+ 503: AutomationAutomationProblemDetails;
62330
+ /**
62331
+ * Automation problem; inspect the refusal code and diagnostics before retrying.
62332
+ */
62333
+ default: AutomationAutomationProblemDetails;
62334
+ };
62335
+ export type AutomationScriptsVaultsSetError = AutomationScriptsVaultsSetErrors[keyof AutomationScriptsVaultsSetErrors];
62336
+ export type AutomationScriptsVaultsSetResponses = {
62337
+ /**
62338
+ * Saved binding with available secret names; values are never returned.
62339
+ */
62340
+ 200: {
62341
+ /**
62342
+ * Alias used to identify this whole-vault binding on the script or workflow.
62343
+ */
62344
+ alias: string;
62345
+ /**
62346
+ * Bound vault identity and current display name; unavailable vaults use their ID as the fallback name.
62347
+ */
62348
+ vault: {
62349
+ /**
62350
+ * Opaque vault identifier from vault creation or listing; persisted even if the vault becomes unavailable.
62351
+ */
62352
+ id: string;
62353
+ /**
62354
+ * Current vault display name, or the vault ID when its metadata cannot be read.
62355
+ */
62356
+ name: string;
62357
+ };
62358
+ /**
62359
+ * Accessible secret names without values. Empty when metadata cannot be read; check secrets_unavailable.
62360
+ */
62361
+ secrets: Array<{
62362
+ /**
62363
+ * Lookup name of a non-archived secret in this vault; secret values are never returned.
62364
+ */
62365
+ name: string;
62366
+ }>;
62367
+ /**
62368
+ * Present and true when vault or secret metadata could not be read; secrets is then empty. Omitted on success.
62369
+ */
62370
+ secrets_unavailable?: true;
62371
+ };
62372
+ };
62373
+ export type AutomationScriptsVaultsSetResponse = AutomationScriptsVaultsSetResponses[keyof AutomationScriptsVaultsSetResponses];
62374
+ export type AutomationWorkflowsVaultsListData = {
62375
+ body?: never;
62376
+ path: {
62377
+ /**
62378
+ * Namespace from automation.workflows.list or create; identifies the saved workflow, independently of versions.
62379
+ */
62380
+ ns: string;
62381
+ /**
62382
+ * Resource name from automation.workflows.list or create; combine with ns to identify the saved workflow.
62383
+ */
62384
+ name: string;
62385
+ };
62386
+ query?: never;
62387
+ url: '/automation/v1/workflows/{ns}/{name}/vaults';
62388
+ };
62389
+ export type AutomationWorkflowsVaultsListErrors = {
62390
+ /**
62391
+ * INVALID_PARAMS: Invalid request parameters, path, cursor, or body format.
62392
+ */
62393
+ 400: AutomationAutomationProblemDetails;
62394
+ /**
62395
+ * TARGET_NOT_FOUND: The target does not exist or has an incompatible type.
62396
+ */
62397
+ 404: AutomationAutomationProblemDetails;
62398
+ /**
62399
+ * Automation problem; inspect the refusal code and diagnostics before retrying.
62400
+ */
62401
+ default: AutomationAutomationProblemDetails;
62402
+ };
62403
+ export type AutomationWorkflowsVaultsListError = AutomationWorkflowsVaultsListErrors[keyof AutomationWorkflowsVaultsListErrors];
62404
+ export type AutomationWorkflowsVaultsListResponses = {
62405
+ /**
62406
+ * Bindings and available secret names; no secret values.
62407
+ */
62408
+ 200: {
62409
+ /**
62410
+ * Whole-vault bindings for this definition, sorted by alias, with secret names only.
62411
+ */
62412
+ data: Array<{
62413
+ /**
62414
+ * Alias used to identify this whole-vault binding on the script or workflow.
62415
+ */
62416
+ alias: string;
62417
+ /**
62418
+ * Bound vault identity and current display name; unavailable vaults use their ID as the fallback name.
62419
+ */
62420
+ vault: {
62421
+ /**
62422
+ * Opaque vault identifier from vault creation or listing; persisted even if the vault becomes unavailable.
62423
+ */
62424
+ id: string;
62425
+ /**
62426
+ * Current vault display name, or the vault ID when its metadata cannot be read.
62427
+ */
62428
+ name: string;
62429
+ };
62430
+ /**
62431
+ * Accessible secret names without values. Empty when metadata cannot be read; check secrets_unavailable.
62432
+ */
62433
+ secrets: Array<{
62434
+ /**
62435
+ * Lookup name of a non-archived secret in this vault; secret values are never returned.
62436
+ */
62437
+ name: string;
62438
+ }>;
62439
+ /**
62440
+ * Present and true when vault or secret metadata could not be read; secrets is then empty. Omitted on success.
62441
+ */
62442
+ secrets_unavailable?: true;
62443
+ }>;
62444
+ };
62445
+ };
62446
+ export type AutomationWorkflowsVaultsListResponse = AutomationWorkflowsVaultsListResponses[keyof AutomationWorkflowsVaultsListResponses];
62447
+ export type AutomationWorkflowsVaultsDeleteData = {
62448
+ body?: never;
62449
+ path: {
62450
+ /**
62451
+ * Namespace from automation.workflows.list or create; identifies the saved workflow, independently of versions.
62452
+ */
62453
+ ns: string;
62454
+ /**
62455
+ * Resource name from automation.workflows.list or create; combine with ns to identify the saved workflow.
62456
+ */
62457
+ name: string;
62458
+ /**
62459
+ * Binding alias chosen by the caller: 1–40 lowercase letters, digits or hyphens, beginning with a letter.
62460
+ */
62461
+ alias: string;
62462
+ };
62463
+ query?: never;
62464
+ url: '/automation/v1/workflows/{ns}/{name}/vaults/{alias}';
62465
+ };
62466
+ export type AutomationWorkflowsVaultsDeleteErrors = {
62467
+ /**
62468
+ * INVALID_PARAMS: Invalid request parameters, path, cursor, or body format.
62469
+ */
62470
+ 400: AutomationAutomationProblemDetails;
62471
+ /**
62472
+ * TARGET_NOT_FOUND: The target does not exist or has an incompatible type.
62473
+ */
62474
+ 404: AutomationAutomationProblemDetails;
62475
+ /**
62476
+ * Automation problem; inspect the refusal code and diagnostics before retrying.
62477
+ */
62478
+ default: AutomationAutomationProblemDetails;
62479
+ };
62480
+ export type AutomationWorkflowsVaultsDeleteError = AutomationWorkflowsVaultsDeleteErrors[keyof AutomationWorkflowsVaultsDeleteErrors];
62481
+ export type AutomationWorkflowsVaultsDeleteResponses = {
62482
+ /**
62483
+ * Binding removed or already absent; no response body.
62484
+ */
62485
+ 204: void;
62486
+ };
62487
+ export type AutomationWorkflowsVaultsDeleteResponse = AutomationWorkflowsVaultsDeleteResponses[keyof AutomationWorkflowsVaultsDeleteResponses];
62488
+ export type AutomationWorkflowsVaultsSetData = {
62489
+ body: {
62490
+ /**
62491
+ * Active vault ID or exact display name from praxis.vault.vaults.list in your organization. Use an ID if display names are duplicated.
62492
+ */
62493
+ vault: string;
62494
+ };
62495
+ path: {
62496
+ /**
62497
+ * Namespace from automation.workflows.list or create; identifies the saved workflow, independently of versions.
62498
+ */
62499
+ ns: string;
62500
+ /**
62501
+ * Resource name from automation.workflows.list or create; combine with ns to identify the saved workflow.
62502
+ */
62503
+ name: string;
62504
+ /**
62505
+ * Binding alias chosen by the caller: 1–40 lowercase letters, digits or hyphens, beginning with a letter.
62506
+ */
62507
+ alias: string;
62508
+ };
62509
+ query?: never;
62510
+ url: '/automation/v1/workflows/{ns}/{name}/vaults/{alias}';
62511
+ };
62512
+ export type AutomationWorkflowsVaultsSetErrors = {
62513
+ /**
62514
+ * INVALID_PARAMS: Invalid request parameters, path, cursor, or body format.
62515
+ */
62516
+ 400: AutomationAutomationProblemDetails;
62517
+ /**
62518
+ * TARGET_NOT_FOUND: The target does not exist or has an incompatible type.
62519
+ * VAULT_NOT_FOUND: The vault is missing, foreign, archived or its name is ambiguous; use an active vault ID in your organization.
62520
+ */
62521
+ 404: AutomationAutomationProblemDetails;
62522
+ /**
62523
+ * VAULT_ALREADY_BOUND: This vault is already bound to the same definition under another alias; reuse that alias or remove the old binding.
62524
+ */
62525
+ 409: AutomationAutomationProblemDetails;
62526
+ /**
62527
+ * SERVICE_UNAVAILABLE: The vault service is unavailable and cannot confirm the requested vault; retry when it recovers.
62528
+ */
62529
+ 503: AutomationAutomationProblemDetails;
62530
+ /**
62531
+ * Automation problem; inspect the refusal code and diagnostics before retrying.
62532
+ */
62533
+ default: AutomationAutomationProblemDetails;
62534
+ };
62535
+ export type AutomationWorkflowsVaultsSetError = AutomationWorkflowsVaultsSetErrors[keyof AutomationWorkflowsVaultsSetErrors];
62536
+ export type AutomationWorkflowsVaultsSetResponses = {
62537
+ /**
62538
+ * Saved binding with available secret names; values are never returned.
62539
+ */
62540
+ 200: {
62541
+ /**
62542
+ * Alias used to identify this whole-vault binding on the script or workflow.
62543
+ */
62544
+ alias: string;
62545
+ /**
62546
+ * Bound vault identity and current display name; unavailable vaults use their ID as the fallback name.
62547
+ */
62548
+ vault: {
62549
+ /**
62550
+ * Opaque vault identifier from vault creation or listing; persisted even if the vault becomes unavailable.
62551
+ */
62552
+ id: string;
62553
+ /**
62554
+ * Current vault display name, or the vault ID when its metadata cannot be read.
62555
+ */
62556
+ name: string;
62557
+ };
62558
+ /**
62559
+ * Accessible secret names without values. Empty when metadata cannot be read; check secrets_unavailable.
62560
+ */
62561
+ secrets: Array<{
62562
+ /**
62563
+ * Lookup name of a non-archived secret in this vault; secret values are never returned.
62564
+ */
62565
+ name: string;
62566
+ }>;
62567
+ /**
62568
+ * Present and true when vault or secret metadata could not be read; secrets is then empty. Omitted on success.
62569
+ */
62570
+ secrets_unavailable?: true;
62571
+ };
62572
+ };
62573
+ export type AutomationWorkflowsVaultsSetResponse = AutomationWorkflowsVaultsSetResponses[keyof AutomationWorkflowsVaultsSetResponses];
61874
62574
  export type CanvasListCanvasesData = {
61875
62575
  body?: never;
61876
62576
  path?: never;
@@ -66374,6 +67074,10 @@ export type MediaUploadAssetData = {
66374
67074
  * Upload category: image for images, video for video or audio, raw for unprocessed files, or auto to detect the category. Defaults to auto.
66375
67075
  */
66376
67076
  resource_type?: 'image' | 'video' | 'raw' | 'auto';
67077
+ /**
67078
+ * Asset delivery mode: upload is public; authenticated requires a signed URL or delivery token for originals and derivatives. private is unsupported. Defaults to upload.
67079
+ */
67080
+ type?: MediaDeliveryType;
66377
67081
  };
66378
67082
  headers?: {
66379
67083
  /**
@@ -66450,7 +67154,7 @@ export type MediaImportAssetData = {
66450
67154
  */
66451
67155
  body: {
66452
67156
  /**
66453
- * File ID to copy into this library; passed as the upload source instead of file bytes. This creates an independent public copy readable without authentication. Deleting the source File does not delete this asset; do not import confidential content.
67157
+ * File ID to copy into this library instead of file bytes. This independent copy defaults to public delivery; set type=authenticated for private delivery. Deleting the source File does not delete this asset.
66454
67158
  */
66455
67159
  file_id: string;
66456
67160
  /**
@@ -66507,6 +67211,10 @@ export type MediaImportAssetData = {
66507
67211
  * Upload category: image for images, video for video or audio, raw for unprocessed files, or auto to detect the category. Defaults to auto.
66508
67212
  */
66509
67213
  resource_type?: 'image' | 'video' | 'raw' | 'auto';
67214
+ /**
67215
+ * Asset delivery mode: upload is public; authenticated requires a signed URL or delivery token for originals and derivatives. private is unsupported. Defaults to upload.
67216
+ */
67217
+ type?: MediaDeliveryType;
66510
67218
  };
66511
67219
  path: {
66512
67220
  /**
@@ -67691,6 +68399,79 @@ export type MediaListEventsResponses = {
67691
68399
  200: MediaMediaEventPage;
67692
68400
  };
67693
68401
  export type MediaListEventsResponse = MediaListEventsResponses[keyof MediaListEventsResponses];
68402
+ export type MediaCreateDeliveryTokenData = {
68403
+ /**
68404
+ * Options for authorizing private asset delivery within one active library.
68405
+ */
68406
+ body: {
68407
+ /**
68408
+ * Delivery path glob restricted to the library path prefix (a slash, library_id, then a slash). Defaults to that prefix followed by *; * matches any path text. Tildes and control characters are rejected.
68409
+ */
68410
+ acl?: string;
68411
+ /**
68412
+ * Token lifetime in seconds, from 1 to 604800 inclusive; defaults to 3600.
68413
+ */
68414
+ expires_in?: number;
68415
+ };
68416
+ path: {
68417
+ /**
68418
+ * Library ID returned by creation.
68419
+ */
68420
+ library_id: string;
68421
+ };
68422
+ query?: never;
68423
+ url: '/media/v1/libraries/{library_id}/delivery_tokens';
68424
+ };
68425
+ export type MediaCreateDeliveryTokenErrors = {
68426
+ /**
68427
+ * Request failed; see the error code reference.
68428
+ */
68429
+ 400: MediaMediaError;
68430
+ /**
68431
+ * Request failed; see the error code reference.
68432
+ */
68433
+ 403: MediaMediaError;
68434
+ /**
68435
+ * Request failed; see the error code reference.
68436
+ */
68437
+ 404: MediaMediaError;
68438
+ /**
68439
+ * Request failed; see the error code reference.
68440
+ */
68441
+ 409: MediaMediaError;
68442
+ /**
68443
+ * Request failed; see the error code reference.
68444
+ */
68445
+ 413: MediaMediaError;
68446
+ /**
68447
+ * Request failed; see the error code reference.
68448
+ */
68449
+ 415: MediaMediaError;
68450
+ /**
68451
+ * Request failed; see the error code reference.
68452
+ */
68453
+ 429: MediaMediaError;
68454
+ /**
68455
+ * Request failed; see the error code reference.
68456
+ */
68457
+ 501: MediaMediaError;
68458
+ /**
68459
+ * Request failed; see the error code reference.
68460
+ */
68461
+ 502: MediaMediaError;
68462
+ /**
68463
+ * Request failed; see the error code reference.
68464
+ */
68465
+ 503: MediaMediaError;
68466
+ };
68467
+ export type MediaCreateDeliveryTokenError = MediaCreateDeliveryTokenErrors[keyof MediaCreateDeliveryTokenErrors];
68468
+ export type MediaCreateDeliveryTokenResponses = {
68469
+ /**
68470
+ * Successful response.
68471
+ */
68472
+ 200: MediaDeliveryToken;
68473
+ };
68474
+ export type MediaCreateDeliveryTokenResponse = MediaCreateDeliveryTokenResponses[keyof MediaCreateDeliveryTokenResponses];
67694
68475
  export type GetSandboxV1SandboxesData = {
67695
68476
  body?: never;
67696
68477
  path?: never;