@deepraxis/sdk 0.1.1-dev.7d20ab6 → 0.1.1-dev.7fcfb44

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.
@@ -11750,7 +11750,7 @@ export const operations = [
11750
11750
  "resource": "knowledge.vectorStores",
11751
11751
  "method": "create",
11752
11752
  "summary": "Create knowledge base",
11753
- "description": "Create a knowledge base, optionally starting ingestion of uploaded file_ids in the same call; no separate attachment or batch is needed for those files. Use the returned id with vectorStores.files.retrieve to poll each attachment until completed, failed or cancelled; store status=completed alone does not mean every file succeeded. Each file accepts up to 52428800 bytes and 5000000 estimated tokens; each account holds up to 100 active/nondeleted stores. Minimal body: {\"name\":\"Refund policies\"}.",
11753
+ "description": "Create a knowledge base, optionally starting ingestion of uploaded file_ids in the same call; no separate attachment or batch is needed for those files. Use the returned id with vectorStores.files.retrieve to poll each attachment until completed, failed or cancelled; store status=completed alone does not mean every file succeeded. PDF files accept up to 536870912 bytes (512 MiB), while other formats accept up to 52428800 bytes (50 MiB), constrained by Router conversion; every file is limited to 5000000 estimated tokens; each account holds up to 100 active/nondeleted stores. Minimal body: {\"name\":\"Refund policies\"}.",
11754
11754
  "http": "POST",
11755
11755
  "path": "/knowledge/v1/vector_stores",
11756
11756
  "streaming": "no",
@@ -11789,7 +11789,7 @@ export const operations = [
11789
11789
  "name": "chunking_strategy",
11790
11790
  "type": "object",
11791
11791
  "required": false,
11792
- "description": "auto resolves to static with 800 estimated tokens and 400 overlap tokens. Unlike OpenAI vector stores, token counts are estimates; each Han character counts as one, and other whitespace-delimited words count as their UTF-16 length divided by four, rounded up."
11792
+ "description": "Native attachment strategy. auto uses static chunks of 800 estimated tokens with 400 overlap; static supplies explicit chunk sizes; hierarchical indexes child chunks and supplies bounded parent context. Existing attachments are reused unchanged; remove and reattach a file to change its strategy."
11793
11793
  },
11794
11794
  {
11795
11795
  "name": "description",
@@ -12136,7 +12136,7 @@ export const operations = [
12136
12136
  "resource": "knowledge.vectorStores.files",
12137
12137
  "method": "create",
12138
12138
  "summary": "Add file",
12139
- "description": "Attach an uploaded File for asynchronous ingestion, then poll this attachment until status is completed, failed or cancelled before searching. Each file accepts up to 52428800 bytes and 5000000 estimated tokens; chunk sizes use estimated tokens rather than a model tokenizer. Text, Markdown, CSV, JSON, HTML, PDF, DOCX, PPTX, XLSX and PNG/JPEG/GIF/WebP images can be extracted; audio and video uploads are not knowledge documents. Images may yield generated descriptions rather than verbatim OCR. auto chunking resolves to static 800/400; explicit sizes are 100–4096 with overlap at most half the size. Each store holds at most 10000 attached files. Reattaching the same file returns its existing record without applying new attributes or chunking; inspect last_error after failure.",
12139
+ "description": "Attach an uploaded File for asynchronous ingestion, then poll this attachment until status is completed, failed or cancelled before searching. PDF files accept up to 536870912 bytes (512 MiB), while other formats accept up to 52428800 bytes (50 MiB), constrained by Router conversion; every file is limited to 5000000 estimated tokens; chunk sizes use estimated tokens rather than a model tokenizer. Text, Markdown, CSV, JSON, HTML, PDF, DOCX, PPTX, XLSX and PNG/JPEG/GIF/WebP images can be extracted; audio and video uploads are not knowledge documents. Images may yield generated descriptions rather than verbatim OCR. auto chunking resolves to static 800/400; explicit sizes are 100–4096 with overlap at most half the size. Each store holds at most 10000 attached files. Reattaching the same file returns its existing record without applying new attributes or chunking; inspect last_error after failure.",
12140
12140
  "http": "POST",
12141
12141
  "path": "/knowledge/v1/vector_stores/{vector_store_id}/files",
12142
12142
  "streaming": "no",
@@ -12168,7 +12168,7 @@ export const operations = [
12168
12168
  "name": "chunking_strategy",
12169
12169
  "type": "object",
12170
12170
  "required": false,
12171
- "description": "auto resolves to static with 800 estimated tokens and 400 overlap tokens. Unlike OpenAI vector stores, token counts are estimates; each Han character counts as one, and other whitespace-delimited words count as their UTF-16 length divided by four, rounded up."
12171
+ "description": "Native attachment strategy. auto uses static chunks of 800 estimated tokens with 400 overlap; static supplies explicit chunk sizes; hierarchical indexes child chunks and supplies bounded parent context. Existing attachments are reused unchanged; remove and reattach a file to change its strategy."
12172
12172
  }
12173
12173
  ]
12174
12174
  }
@@ -12479,7 +12479,7 @@ export const operations = [
12479
12479
  "resource": "media.libraries",
12480
12480
  "method": "list",
12481
12481
  "summary": "List libraries",
12482
- "description": "List libraries owned by the caller, newest first. By default, deleting and deleted libraries are excluded; use status=deleting to find libraries awaiting purge. All supplied label pairs must match.",
12482
+ "description": "Read a caller-owned library’s current settings, usage and lifecycle status. A deleting library remains readable; missing, foreign or purged libraries return LIBRARY_NOT_FOUND.",
12483
12483
  "http": "GET",
12484
12484
  "path": "/media/v1/libraries",
12485
12485
  "streaming": "no",
@@ -12561,7 +12561,7 @@ export const operations = [
12561
12561
  "resource": "media.libraries",
12562
12562
  "method": "delete",
12563
12563
  "summary": "Delete library",
12564
- "description": "Soft-delete an active library, returning its deleting status and purge_at deadline. Asset operations and delivery become unavailable; the library can be restored before purge_at. Repeated deletion while deleting returns the current library.",
12564
+ "description": "Restore a deleting library before its purge_at deadline. The library becomes active again and deleted_at and purge_at are cleared; expired or non-deleting libraries cannot be restored.",
12565
12565
  "http": "DELETE",
12566
12566
  "path": "/media/v1/libraries/{library_id}",
12567
12567
  "streaming": "no",
@@ -12579,7 +12579,7 @@ export const operations = [
12579
12579
  "resource": "media.libraries",
12580
12580
  "method": "retrieve",
12581
12581
  "summary": "Get library",
12582
- "description": "Read a caller-owned library’s current settings, usage and lifecycle status. A deleting library remains readable; missing, foreign or purged libraries return LIBRARY_NOT_FOUND.",
12582
+ "description": "Update an active library’s supplied settings. Labels replace the complete map; understanding settings and model roles merge with current values. Changing the embedding model is rejected while assets exist.",
12583
12583
  "http": "GET",
12584
12584
  "path": "/media/v1/libraries/{library_id}",
12585
12585
  "streaming": "no",
@@ -12651,7 +12651,7 @@ export const operations = [
12651
12651
  "resource": "media.libraries.assets",
12652
12652
  "method": "list",
12653
12653
  "summary": "List assets",
12654
- "description": "List assets in an active library, newest first, optionally filtering by exact folder and stored resource type. Continue using next_cursor; video includes audio-only assets.",
12654
+ "description": "Upload content into an active library and return a Cloudinary-compatible resource. Use file for a multipart file, data URI, public HTTPS URL or same-owner file identifier. Reusing public_id overwrites by default; overwrite=false returns the existing resource. Chunk uploads require both chunk headers.",
12655
12655
  "http": "GET",
12656
12656
  "path": "/media/v1/libraries/{library_id}/assets",
12657
12657
  "streaming": "no",
@@ -12699,7 +12699,7 @@ export const operations = [
12699
12699
  "resource": "media.libraries.assets",
12700
12700
  "method": "create",
12701
12701
  "summary": "Upload asset",
12702
- "description": "Upload content into an active library and return a Cloudinary-compatible resource. Use file for a multipart file, data URI, public HTTPS URL or same-owner file identifier. Reusing public_id overwrites by default; overwrite=false returns the existing resource. Chunk uploads require both chunk headers.",
12702
+ "description": " 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. The duration limit is 10 minutes. A video proxy still above 95 MB after recompression, or a source exceeding the duration limit, is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.",
12703
12703
  "http": "POST",
12704
12704
  "path": "/media/v1/libraries/{library_id}/assets",
12705
12705
  "streaming": "no",
@@ -12744,7 +12744,7 @@ export const operations = [
12744
12744
  "name": "asset_folder",
12745
12745
  "type": "string",
12746
12746
  "required": false,
12747
- "description": "Organizational folder path, separate from public_id. Empty selects the root; leading or trailing slashes, empty path segments, and . or .. segments are rejected."
12747
+ "description": "Organizational folder path, separate from public_id. Empty selects the root; leading or trailing slashes, empty path segments, and . or .. segments are rejected. 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."
12748
12748
  },
12749
12749
  {
12750
12750
  "name": "use_filename",
@@ -12823,7 +12823,7 @@ export const operations = [
12823
12823
  "resource": "media.libraries.assets.import",
12824
12824
  "method": "create",
12825
12825
  "summary": "Import file",
12826
- "description": "Copy a File into an independent Media asset. Defaults to public delivery (type=upload); use type=authenticated for private originals and derivatives. Deleting the source File does not delete this copy.",
12826
+ "description": "Copy a File into an independent Media asset. New assets default to organization-private delivery (type=authenticated); explicitly set type=upload for public originals and derivatives. Omitting type on overwrite preserves the current type. Deleting the source File does not delete this copy. 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. The duration limit is 10 minutes. A video proxy still above 95 MB after recompression, or a source exceeding the duration limit, is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.",
12827
12827
  "http": "POST",
12828
12828
  "path": "/media/v1/libraries/{library_id}/assets/import",
12829
12829
  "streaming": "no",
@@ -12843,7 +12843,7 @@ export const operations = [
12843
12843
  "name": "file_id",
12844
12844
  "type": "string",
12845
12845
  "required": true,
12846
- "description": "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."
12846
+ "description": "File ID to copy into this library instead of file bytes. This independent copy defaults to organization-private delivery (type=authenticated); explicitly set type=upload for public delivery. Deleting the source File does not delete this asset."
12847
12847
  },
12848
12848
  {
12849
12849
  "name": "public_id",
@@ -12867,7 +12867,7 @@ export const operations = [
12867
12867
  "name": "asset_folder",
12868
12868
  "type": "string",
12869
12869
  "required": false,
12870
- "description": "Organizational folder path, separate from public_id. Empty selects the root; leading or trailing slashes, empty path segments, and . or .. segments are rejected."
12870
+ "description": "Organizational folder path, separate from public_id. Empty selects the root; leading or trailing slashes, empty path segments, and . or .. segments are rejected. 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."
12871
12871
  },
12872
12872
  {
12873
12873
  "name": "use_filename",
@@ -12946,7 +12946,7 @@ export const operations = [
12946
12946
  "resource": "media.libraries.assets",
12947
12947
  "method": "delete",
12948
12948
  "summary": "Delete asset",
12949
- "description": "Delete an asset from the library so it is no longer readable, searchable or deliverable. This removes the asset rather than placing it in the library’s restoration window; a missing asset returns ASSET_NOT_FOUND.",
12949
+ "description": "Queue reprocessing of the asset’s current version and return its updated state immediately. Omit kinds to retry failed tasks and legacy source-size unsupported tasks; explicit kinds rerun applicable completed tasks and recoverable source-size unsupported tasks. Other unsupported causes remain unchanged. Replaced understandings become superseded, and processing finishes asynchronously.",
12950
12950
  "http": "DELETE",
12951
12951
  "path": "/media/v1/libraries/{library_id}/assets/{asset_id}",
12952
12952
  "streaming": "no",
@@ -12969,7 +12969,7 @@ export const operations = [
12969
12969
  "resource": "media.libraries.assets",
12970
12970
  "method": "retrieve",
12971
12971
  "summary": "Get asset",
12972
- "description": "Read a non-deleted asset by its asset_id in an active library, including content hashes, processing progress and available previews. Missing or deleted assets return ASSET_NOT_FOUND.",
12972
+ "description": "Update an asset’s supplied metadata fields. Tags and context replace their current collections; an empty collection clears them. Moving asset_folder or changing display_name preserves public_id and delivery URLs.",
12973
12973
  "http": "GET",
12974
12974
  "path": "/media/v1/libraries/{library_id}/assets/{asset_id}",
12975
12975
  "streaming": "no",
@@ -12992,7 +12992,7 @@ export const operations = [
12992
12992
  "resource": "media.libraries.assets",
12993
12993
  "method": "update",
12994
12994
  "summary": "Update asset",
12995
- "description": "Update an asset’s supplied metadata fields. Tags and context replace their current collections; an empty collection clears them. Moving asset_folder or changing display_name preserves public_id and delivery URLs.",
12995
+ "description": "Delete an asset from the library so it is no longer readable, searchable or deliverable. This removes the asset rather than placing it in the library’s restoration window; a missing asset returns ASSET_NOT_FOUND.",
12996
12996
  "http": "PATCH",
12997
12997
  "path": "/media/v1/libraries/{library_id}/assets/{asset_id}",
12998
12998
  "streaming": "no",
@@ -13023,7 +13023,7 @@ export const operations = [
13023
13023
  "name": "asset_folder",
13024
13024
  "type": "string",
13025
13025
  "required": false,
13026
- "description": "Organizational folder path, separate from public_id. Empty selects the root; leading or trailing slashes, empty path segments, and . or .. segments are rejected."
13026
+ "description": "Organizational folder path, separate from public_id. Empty selects the root; leading or trailing slashes, empty path segments, and . or .. segments are rejected. 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."
13027
13027
  },
13028
13028
  {
13029
13029
  "name": "tags",
@@ -13041,11 +13041,57 @@ export const operations = [
13041
13041
  ]
13042
13042
  }
13043
13043
  },
13044
+ {
13045
+ "resource": "media.libraries.assets.frames",
13046
+ "method": "create",
13047
+ "summary": "Create frame URLs",
13048
+ "description": "Media creates JPEG frame URLs for inspecting one or more moments in a video without downloading the original. Obtain library_id from libraries and asset_id plus duration from assets. Send 1–20 integer microsecond timestamps strictly below duration, for example {\"at_micros\":[0,1000000],\"width\":640}. Only video assets are supported; audio and images return INVALID_PARAMS. Width defaults to 640 and accepts 160, 320 or 640. This read operation does not store a new asset or rerun understanding. Fetch each returned URL to obtain the frame; delivery usage follows media pricing. Authenticated links expire after 300 seconds; upload links remain public and permanent. Reissue expired links. Foreign libraries and assets return 404 without revealing their existence.",
13049
+ "http": "POST",
13050
+ "path": "/media/v1/libraries/{library_id}/assets/{asset_id}/frames",
13051
+ "streaming": "no",
13052
+ "pagination": false,
13053
+ "pathParams": [
13054
+ {
13055
+ "name": "library_id",
13056
+ "sdkName": "library_id",
13057
+ "description": "Library identifier returned by library creation or listing; must be accessible to the current credential."
13058
+ },
13059
+ {
13060
+ "name": "asset_id",
13061
+ "sdkName": "asset_id",
13062
+ "description": "Video asset identifier returned by asset upload or listing in this library; read its duration before choosing timestamps."
13063
+ }
13064
+ ],
13065
+ "query": [],
13066
+ "body": {
13067
+ "required": true,
13068
+ "fields": [
13069
+ {
13070
+ "name": "at_micros",
13071
+ "type": "array",
13072
+ "itemType": "integer",
13073
+ "required": true,
13074
+ "description": "One to twenty timestamps in microseconds from the start of the video. Each must be a nonnegative safe integer strictly below the video duration; order and duplicates are preserved."
13075
+ },
13076
+ {
13077
+ "name": "width",
13078
+ "type": "integer",
13079
+ "enum": [
13080
+ 160,
13081
+ 320,
13082
+ 640
13083
+ ],
13084
+ "required": false,
13085
+ "description": "Maximum JPEG width in pixels: 160 is a small thumbnail, 320 a preview and 640 a larger preview. Defaults to 640; larger widths are unavailable."
13086
+ }
13087
+ ]
13088
+ }
13089
+ },
13044
13090
  {
13045
13091
  "resource": "media.libraries.assets.reprocess",
13046
13092
  "method": "create",
13047
13093
  "summary": "Reprocess asset",
13048
- "description": "Queue reprocessing of the asset’s current version and return its updated state immediately. Omit kinds to retry failed tasks; explicit kinds rerun applicable completed tasks. Replaced understandings become superseded, and processing finishes asynchronously.",
13094
+ "description": " 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. The duration limit is 10 minutes. A video proxy still above 95 MB after recompression, or a source exceeding the duration limit, is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.",
13049
13095
  "http": "POST",
13050
13096
  "path": "/media/v1/libraries/{library_id}/assets/{asset_id}/reprocess",
13051
13097
  "streaming": "no",
@@ -13077,7 +13123,7 @@ export const operations = [
13077
13123
  "embedding"
13078
13124
  ],
13079
13125
  "required": false,
13080
- "description": "Processing tasks to rerun. Omit to retry failed tasks only; explicit kinds rerun applicable ready, failed or unsupported tasks. Pending and running tasks are unchanged; an empty array does nothing."
13126
+ "description": "Processing tasks to rerun. Omit to retry failed tasks and legacy source-size unsupported tasks; explicit kinds rerun applicable ready or failed tasks and recoverable source-size unsupported tasks. Other unsupported causes remain unchanged. Pending and running tasks are unchanged; an empty array does nothing."
13081
13127
  }
13082
13128
  ]
13083
13129
  }
@@ -13120,10 +13166,11 @@ export const operations = [
13120
13166
  "transcript",
13121
13167
  "frame",
13122
13168
  "overview",
13169
+ "audio",
13123
13170
  "embedding"
13124
13171
  ],
13125
13172
  "required": false,
13126
- "description": "Return one output kind: caption is a visual description, tags are generated labels, ocr is visible text, transcript is speech, frame is a video shot, overview is a video summary, and embedding reports a failed embedding step."
13173
+ "description": "Return one output kind: caption is a visual description, tags are generated labels, ocr is visible text, transcript is speech, frame is a video shot, overview is a video summary, audio is sampled audio understanding, and embedding reports a failed embedding step."
13127
13174
  },
13128
13175
  {
13129
13176
  "name": "cursor",
@@ -13143,7 +13190,7 @@ export const operations = [
13143
13190
  "resource": "media.libraries.assets",
13144
13191
  "method": "batch",
13145
13192
  "summary": "Batch assets alias",
13146
- "description": "Queue a frozen selection for tagging, untagging, context replacement, moving, deleting or reprocessing. IDs are limited to 1000; use an expression for larger selections, subject to the search scan budget. reprocess starts at most 30 assets per rolling minute per library. Only retryable failed steps rerun. Omit kinds to inspect all failed steps, or supply kinds to narrow them. Unsupported, permanent and completed steps remain unchanged and do not block other retryable steps on the same asset. Assets without any selected retryable failed step count as failed items without starting understanding. Poll the returned job id; done counts accepted launches, not successful model inference. Staff Admin only permits reprocess and requires a nonblank reason. Example: {\"action\":\"reprocess\",\"selector\":{\"expression\":\"processing_state=failed AND failure_code=UPSTREAM_FAILED\"}}.",
13193
+ "description": "Queue a frozen selection for tagging, untagging, context replacement, moving, deleting or reprocessing. IDs are limited to 1000; use an expression for larger selections, subject to the search scan budget. reprocess starts at most 30 assets per rolling minute per library. Only retryable failed steps and legacy source-size unsupported steps rerun. Omit kinds to inspect all recoverable steps, or supply kinds to narrow them. Other unsupported, permanent and completed steps remain unchanged; a permanent output blocks only its own step. Assets without any selected recoverable step count as failed items without starting understanding. Poll the returned job id; done counts accepted launches, not successful model inference. Staff Admin only permits reprocess and requires a nonblank reason. Example: {\"action\":\"reprocess\",\"selector\":{\"expression\":\"processing_state=failed AND failure_code=UPSTREAM_FAILED\"}}. 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. The duration limit is 10 minutes. A video proxy still above 95 MB after recompression, or a source exceeding the duration limit, is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.",
13147
13194
  "http": "POST",
13148
13195
  "path": "/media/v1/libraries/{library_id}/assets:batch",
13149
13196
  "streaming": "no",
@@ -13178,7 +13225,7 @@ export const operations = [
13178
13225
  "resource": "media.libraries.batches",
13179
13226
  "method": "create",
13180
13227
  "summary": "Create batch",
13181
- "description": "Queue a frozen selection for tagging, untagging, context replacement, moving, deleting or reprocessing. IDs are limited to 1000; use an expression for larger selections, subject to the search scan budget. reprocess starts at most 30 assets per rolling minute per library. Only retryable failed steps rerun. Omit kinds to inspect all failed steps, or supply kinds to narrow them. Unsupported, permanent and completed steps remain unchanged and do not block other retryable steps on the same asset. Assets without any selected retryable failed step count as failed items without starting understanding. Poll the returned job id; done counts accepted launches, not successful model inference. Staff Admin only permits reprocess and requires a nonblank reason. Example: {\"action\":\"reprocess\",\"selector\":{\"expression\":\"processing_state=failed AND failure_code=UPSTREAM_FAILED\"}}.",
13228
+ "description": "Queue a frozen selection for tagging, untagging, context replacement, moving, deleting or reprocessing. IDs are limited to 1000; use an expression for larger selections, subject to the search scan budget. reprocess starts at most 30 assets per rolling minute per library. Only retryable failed steps and legacy source-size unsupported steps rerun. Omit kinds to inspect all recoverable steps, or supply kinds to narrow them. Other unsupported, permanent and completed steps remain unchanged; a permanent output blocks only its own step. Assets without any selected recoverable step count as failed items without starting understanding. Poll the returned job id; done counts accepted launches, not successful model inference. Staff Admin only permits reprocess and requires a nonblank reason. Example: {\"action\":\"reprocess\",\"selector\":{\"expression\":\"processing_state=failed AND failure_code=UPSTREAM_FAILED\"}}. 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. The duration limit is 10 minutes. A video proxy still above 95 MB after recompression, or a source exceeding the duration limit, is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.",
13182
13229
  "http": "POST",
13183
13230
  "path": "/media/v1/libraries/{library_id}/batches",
13184
13231
  "streaming": "no",
@@ -13213,7 +13260,7 @@ export const operations = [
13213
13260
  "resource": "media.libraries.batches",
13214
13261
  "method": "retrieve",
13215
13262
  "summary": "Get batch",
13216
- "description": "Read a batch job’s status, successful and failed item counts, and a bounded list of failed items. Use the id returned by batch creation; a job outside this library is not found.",
13263
+ "description": "Alias of batch creation. Apply one metadata or deletion action to ids or a frozen expression selection asynchronously; poll the returned job id to inspect completion and item failures.",
13217
13264
  "http": "GET",
13218
13265
  "path": "/media/v1/libraries/{library_id}/batches/{job_id}",
13219
13266
  "streaming": "no",
@@ -13271,7 +13318,7 @@ export const operations = [
13271
13318
  "resource": "media.libraries.events",
13272
13319
  "method": "list",
13273
13320
  "summary": "List events",
13274
- "description": "Read library events in sequence order, including while the library is deleting. Page forward with asc and after_seq, or backward with desc and before_seq; never combine the two sequence cursors.",
13321
+ "description": "Read library events in sequence order for observing asset writes and understanding progress. Obtain library_id from creation or listing; continue with after_seq for asc or before_seq for desc, without combining both. Use next_cursor when supplied. Reads do not start or retry understanding.",
13275
13322
  "http": "GET",
13276
13323
  "path": "/media/v1/libraries/{library_id}/events",
13277
13324
  "streaming": "no",
@@ -13343,7 +13390,7 @@ export const operations = [
13343
13390
  "resource": "media.libraries.jobs",
13344
13391
  "method": "retrieve",
13345
13392
  "summary": "Get job alias",
13346
- "description": "Alias of batch retrieval. Read the job returned by a batch request, including terminal status, successful and failed counts, and individual failure codes.",
13393
+ "description": "Read library events in sequence order, including while the library is deleting. Page forward with asc and after_seq, or backward with desc and before_seq; never combine the two sequence cursors.",
13347
13394
  "http": "GET",
13348
13395
  "path": "/media/v1/libraries/{library_id}/jobs/{job_id}",
13349
13396
  "streaming": "no",
@@ -13366,7 +13413,7 @@ export const operations = [
13366
13413
  "resource": "media.libraries.purge",
13367
13414
  "method": "create",
13368
13415
  "summary": "Purge library",
13369
- "description": "Permanently remove a library that is already deleting, without waiting for purge_at. Its assets and related resources are removed and cannot be restored; first soft-delete an active library.",
13416
+ "description": "List assets in an active library, newest first, optionally filtering by exact folder and stored resource type. Continue using next_cursor; video includes audio-only assets.",
13370
13417
  "http": "POST",
13371
13418
  "path": "/media/v1/libraries/{library_id}/purge",
13372
13419
  "streaming": "no",
@@ -13384,7 +13431,7 @@ export const operations = [
13384
13431
  "resource": "media.libraries",
13385
13432
  "method": "restore",
13386
13433
  "summary": "Restore library",
13387
- "description": "Restore a deleting library before its purge_at deadline. The library becomes active again and deleted_at and purge_at are cleared; expired or non-deleting libraries cannot be restored.",
13434
+ "description": "Permanently remove a library that is already deleting, without waiting for purge_at. Its assets and related resources are removed and cannot be restored; first soft-delete an active library.",
13388
13435
  "http": "POST",
13389
13436
  "path": "/media/v1/libraries/{library_id}/restore",
13390
13437
  "streaming": "no",
@@ -13402,7 +13449,7 @@ export const operations = [
13402
13449
  "resource": "media.libraries.search",
13403
13450
  "method": "create",
13404
13451
  "summary": "Semantic search alias",
13405
- "description": "Alias of semantic search. Search assets with a nonblank text query, optional expression filter and top_k; hybrid combines semantic and keyword matches, while semantic uses vector similarity only.",
13452
+ "description": "List all immediate child folders under parent, or under the root when parent is omitted. Counts include descendant assets. The result is unpaginated; limit and cursor are rejected.",
13406
13453
  "http": "POST",
13407
13454
  "path": "/media/v1/libraries/{library_id}/search",
13408
13455
  "streaming": "no",
@@ -13453,7 +13500,7 @@ export const operations = [
13453
13500
  "resource": "media.libraries.search.expression",
13454
13501
  "method": "create",
13455
13502
  "summary": "Expression search",
13456
- "description": "Search active assets using the supported filter-expression syntax, sorting and cursor pagination. Empty expression matches all assets. Tags and context require with_field; inspect the exactness flags before treating counts as complete.",
13503
+ "description": "Find visually similar assets using exactly one of asset_id or an inline base64 image. The library must support image search; an asset query needs a current image embedding and excludes that source asset from results.",
13457
13504
  "http": "POST",
13458
13505
  "path": "/media/v1/libraries/{library_id}/search/expression",
13459
13506
  "streaming": "no",
@@ -13473,7 +13520,7 @@ export const operations = [
13473
13520
  "name": "expression",
13474
13521
  "type": "string",
13475
13522
  "required": false,
13476
- "description": "Asset filter expression supporting field comparisons, AND, OR, NOT, parentheses and suffix wildcards. An empty expression matches all assets. For business metadata use context.sku=KETTLE-RED AND context.revision=2; request with_field: [\"context\"] to include context. Quality filters: flags:watermark matches any current shot with a watermark; flags.watermark:false requires an assessed video with no positive watermark judgment. The same syntax supports slideshow, hand_frame, text_sticker and low_quality. folder_mismatch:true selects lexical folder/location hints. Geometry filters support width, height, resolution:1920x1080, numeric aspect_ratio (width/height), and orientation:landscape, portrait or square. Missing geometry or unassessed legacy flags do not match positive filters. failure_code=UPSTREAM_FAILED selects assets with a current failed understanding carrying that code; combine with processing_state=failed or processing_state=partial."
13523
+ "description": "Asset filter expression supporting field comparisons, AND, OR, NOT, parentheses and suffix wildcards. An empty expression matches all assets. For business metadata use context.sku=KETTLE-RED AND context.revision=2; request with_field: [\"context\"] to include context. Quality filters: flags:watermark matches any current shot with a watermark; flags.watermark:false requires an assessed video with no positive watermark judgment. The same syntax supports slideshow, hand_frame, text_sticker and low_quality. folder_mismatch:true selects lexical folder/location hints. Geometry filters support width, height, resolution:1920x1080, numeric aspect_ratio (width/height), and orientation:landscape, portrait or square. Missing geometry or unassessed legacy flags do not match positive filters. has_music:true AND audio_genre:jazz AND audio_mood:calm selects current-version audio profiles with music and matching model labels; has_music:false applies only to sampled ranges, not the entire source. failure_code=UPSTREAM_FAILED selects assets with a current failed understanding carrying that code; combine with processing_state=failed or processing_state=partial."
13477
13524
  },
13478
13525
  {
13479
13526
  "name": "sort_by",
@@ -13525,7 +13572,7 @@ export const operations = [
13525
13572
  "resource": "media.libraries.search.semantic",
13526
13573
  "method": "create",
13527
13574
  "summary": "Semantic search",
13528
- "description": "Search assets with a nonblank text query and optional expression filter. Hybrid mode combines semantic and keyword matches; semantic mode uses vector similarity only. Results are ranked and limited by top_k.",
13575
+ "description": "Alias of semantic search. Search assets with a nonblank text query, optional expression filter and top_k; hybrid combines semantic and keyword matches, while semantic uses vector similarity only.",
13529
13576
  "http": "POST",
13530
13577
  "path": "/media/v1/libraries/{library_id}/search/semantic",
13531
13578
  "streaming": "no",
@@ -13576,7 +13623,7 @@ export const operations = [
13576
13623
  "resource": "media.libraries.search.visual",
13577
13624
  "method": "create",
13578
13625
  "summary": "Visual search",
13579
- "description": "Find visually similar assets using exactly one of asset_id or an inline base64 image. The library must support image search; an asset query needs a current image embedding and excludes that source asset from results.",
13626
+ "description": "Search assets with a nonblank text query and optional expression filter. Hybrid mode combines semantic and keyword matches; semantic mode uses vector similarity only. Results are ranked and limited by top_k.",
13580
13627
  "http": "POST",
13581
13628
  "path": "/media/v1/libraries/{library_id}/search/visual",
13582
13629
  "streaming": "no",
@@ -13646,7 +13693,7 @@ export const operations = [
13646
13693
  "name": "kinds",
13647
13694
  "type": "string",
13648
13695
  "required": false,
13649
- "description": "Comma-separated output kinds: caption, tags, ocr, frame, transcript, overview, embedding. Omit or empty to include every kind."
13696
+ "description": "Comma-separated output kinds: caption, tags, ocr, frame, transcript, overview, audio, embedding. Omit or empty to include every kind."
13650
13697
  },
13651
13698
  {
13652
13699
  "name": "cursor",
@@ -13963,25 +14010,25 @@ export const operations = [
13963
14010
  "name": "model",
13964
14011
  "type": "string",
13965
14012
  "required": true,
13966
- "description": "Transcription model id, for example `whisper-large-v3-turbo` or `qwen3-asr-flash`; list candidates with listModels?type=transcription. Router support (supported): Verified to take effect."
14013
+ "description": "Model catalog identifier declaring openai.audio.transcriptions; use it unchanged, including any creator prefix."
13967
14014
  },
13968
14015
  {
13969
14016
  "name": "file",
13970
14017
  "type": "string",
13971
14018
  "required": true,
13972
- "description": "Audio file to transcribe, uploaded as multipart/form-data. Router support (supported): Verified to take effect."
14019
+ "description": "Audio bytes uploaded as a multipart file; supported formats and input limits depend on the selected model."
13973
14020
  },
13974
14021
  {
13975
14022
  "name": "language",
13976
14023
  "type": "string",
13977
14024
  "required": false,
13978
- "description": "Language of the audio as an ISO-639-1 code such as `en` or `zh`. Router support (partial): Both models accept ISO language codes. qwen3-asr-flash may translate output to that language; whisper-large-v3-turbo treats it as an input hint. Non-ISO names may return 502."
14025
+ "description": "Source language code when known; omit to let the model detect the language."
13979
14026
  },
13980
14027
  {
13981
14028
  "name": "prompt",
13982
14029
  "type": "string",
13983
14030
  "required": false,
13984
- "description": "Text that primes the model with vocabulary or context. Router support (partial): Vocabulary hints work on whisper-large-v3-turbo only; qwen3-asr-flash returns 400."
14031
+ "description": "Optional vocabulary or contextual guidance for recognizing the audio; support depends on the selected model."
13985
14032
  },
13986
14033
  {
13987
14034
  "name": "response_format",
@@ -13989,20 +14036,22 @@ export const operations = [
13989
14036
  "enum": [
13990
14037
  "json",
13991
14038
  "text",
13992
- "verbose_json"
14039
+ "verbose_json",
14040
+ "diarized_json"
13993
14041
  ],
13994
14042
  "required": false,
13995
- "description": "Format of the response body. `json` and `text` are the commonly supported formats. Router support (partial): json/text work on both; verbose_json works only on whisper-large-v3-turbo. srt/vtt return 400."
14043
+ "description": "Output format: json returns text in JSON; text returns plain text; verbose_json includes requested timestamps; diarized_json includes speaker-labelled segments when supported. Defaults to json."
13996
14044
  },
13997
14045
  {
13998
14046
  "name": "timestamp_granularities[]",
13999
14047
  "type": "array",
14000
14048
  "itemType": "string",
14001
14049
  "enum": [
14050
+ "word",
14002
14051
  "segment"
14003
14052
  ],
14004
14053
  "required": false,
14005
- "description": "Timestamp levels to include with `verbose_json`; only `segment` exists in this schema. Router support (partial): Only whisper-large-v3-turbo supports segment with verbose_json. word returns 400; qwen3-asr-flash does not support timestamps."
14054
+ "description": "Timestamp levels to request as repeated multipart fields: word returns per-word times; segment returns segment times. Omit for the model default. Use verbose_json, or diarized_json on supporting models."
14006
14055
  },
14007
14056
  {
14008
14057
  "name": "temperature",
@@ -19030,7 +19079,7 @@ export const operations = [
19030
19079
  "name": "filter",
19031
19080
  "type": "string",
19032
19081
  "required": false,
19033
- "description": "Search qualifier subset: is/state, reason, label/-label, no, assignee, author, mentions, milestone, type, kind, assignee-kind, in and sort; unknown qualifiers return INVALID_PARAMS. Passed unchanged to the service."
19082
+ "description": "Search qualifier subset: is/state, reason, label/-label, no, assignee, author, mentions, milestone, type, kind, assignee-kind, in and sort; write each qualifier as field:value (for example, is:open milestone:5), never field=value. Unknown qualifiers return INVALID_PARAMS. Passed unchanged to the service."
19034
19083
  }
19035
19084
  ]
19036
19085
  },
@@ -4235,6 +4235,9 @@ export declare function createMedia(transport: Transport): {
4235
4235
  batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
4236
4236
  create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
4237
4237
  delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
4238
+ frames: {
4239
+ create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
4240
+ };
4238
4241
  import: {
4239
4242
  create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
4240
4243
  };
@@ -4341,11 +4344,17 @@ export declare function createModel(transport: Transport): {
4341
4344
  start: number;
4342
4345
  end: number;
4343
4346
  text: string;
4347
+ speaker?: string;
4344
4348
  temperature?: number;
4345
4349
  avg_logprob?: number;
4346
4350
  compression_ratio?: number;
4347
4351
  no_speech_prob?: number;
4348
4352
  }>;
4353
+ words?: Array<{
4354
+ word: string;
4355
+ start: number;
4356
+ end: number;
4357
+ }>;
4349
4358
  }>;
4350
4359
  };
4351
4360
  };
@@ -633,6 +633,9 @@ export function createMedia(transport) {
633
633
  batch: bind(transport, sdk.mediaBatchAssets),
634
634
  create: bind(transport, options => sdk.mediaUploadAsset({ ...options, bodySerializer: multipartBodySerializer, headers: { 'Content-Type': null, ...options.headers } })),
635
635
  delete: bind(transport, sdk.mediaDeleteAsset),
636
+ frames: {
637
+ create: bind(transport, sdk.mediaCreateFrameUrls),
638
+ },
636
639
  import: {
637
640
  create: bind(transport, sdk.mediaImportAsset),
638
641
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepraxis/sdk",
3
- "version": "0.1.1-dev.7d20ab6",
3
+ "version": "0.1.1-dev.7fcfb44",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "exports": {