@deepraxis/sdk 0.1.1-dev.8e3013c → 0.1.1-dev.8e6970a

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.
@@ -8235,6 +8235,12 @@ export const operations = [
8235
8235
  "type": "string",
8236
8236
  "required": false,
8237
8237
  "description": "Filter to a collection id from collections.list, or the literal none for uncategorized canvases. Omit to list all canvases; keep the same filter when following next_cursor."
8238
+ },
8239
+ {
8240
+ "name": "library",
8241
+ "type": "boolean",
8242
+ "required": false,
8243
+ "description": "Send true to list only canvases that have been published as libraries; omit to list all canvases. Keep the same filter when following next_cursor."
8238
8244
  }
8239
8245
  ]
8240
8246
  },
@@ -8378,6 +8384,114 @@ export const operations = [
8378
8384
  }
8379
8385
  ]
8380
8386
  },
8387
+ {
8388
+ "resource": "canvas.canvases.imports",
8389
+ "method": "create",
8390
+ "summary": "Import canvas library",
8391
+ "description": "Make a published library's components usable in this canvas under an alias, or move an existing alias to another library version. Supply this canvas's canvas_id and the library's canvas id from libraries.list; the library must have been published at least once, and a library cannot itself import another library. After importing, reference a component as alias:component_id (for example ref ui:btn in a script) and a library variable as $alias:name; library nodes are read-only here. Moving an alias to a newer version keeps every instance and its overrides. The import is one new canvas version, so restoring an earlier version also restores the library versions it used. Importing the same alias and version again changes nothing. Component libraries are available only to organizations where the canvas-libraries feature is enabled.",
8392
+ "http": "POST",
8393
+ "path": "/canvas/v1/canvases/{canvas_id}/imports",
8394
+ "streaming": "no",
8395
+ "pagination": false,
8396
+ "pathParams": [
8397
+ {
8398
+ "name": "canvas_id",
8399
+ "sdkName": "canvas_id",
8400
+ "description": "Canvas id returned by create or list, in the form cvs_ followed by 16 lowercase letters or digits; a display name is not accepted."
8401
+ }
8402
+ ],
8403
+ "query": [],
8404
+ "body": {
8405
+ "required": true,
8406
+ "fields": [
8407
+ {
8408
+ "name": "alias",
8409
+ "type": "string",
8410
+ "required": true,
8411
+ "description": "Alias to import under, 1-32 characters, a lower-case letter then lower-case letters, digits or hyphens."
8412
+ },
8413
+ {
8414
+ "name": "library",
8415
+ "type": "string",
8416
+ "required": true,
8417
+ "description": "Canvas id of the library, from libraries.list; it must belong to your organization and have been published."
8418
+ },
8419
+ {
8420
+ "name": "version",
8421
+ "type": "string",
8422
+ "required": false,
8423
+ "description": "Library version to use, from library_versions; the latest when omitted."
8424
+ },
8425
+ {
8426
+ "name": "expected_version",
8427
+ "type": "string",
8428
+ "required": false,
8429
+ "description": "Current canvas version from retrieve; the import is refused with REVISION_CONFLICT if the canvas has moved on. Omission imports whatever is current."
8430
+ }
8431
+ ]
8432
+ }
8433
+ },
8434
+ {
8435
+ "resource": "canvas.canvases.imports",
8436
+ "method": "delete",
8437
+ "summary": "Remove canvas library import",
8438
+ "description": "Stop using an imported library in this canvas. Supply this canvas's canvas_id and the alias it was imported under, as listed in imports of retrieve. The import is refused while any node still instantiates one of the library's components (the count is in error.details.instances, and retrieve lists them per component), so delete or replace those nodes first. The removal is one new canvas version. Component libraries are available only to organizations where the canvas-libraries feature is enabled.",
8439
+ "http": "DELETE",
8440
+ "path": "/canvas/v1/canvases/{canvas_id}/imports/{alias}",
8441
+ "streaming": "no",
8442
+ "pagination": false,
8443
+ "pathParams": [
8444
+ {
8445
+ "name": "canvas_id",
8446
+ "sdkName": "canvas_id",
8447
+ "description": "Canvas id returned by create or list, in the form cvs_ followed by 16 lowercase letters or digits; a display name is not accepted."
8448
+ },
8449
+ {
8450
+ "name": "alias",
8451
+ "sdkName": "alias",
8452
+ "description": "The alias the library was imported under, as shown in imports of retrieve."
8453
+ }
8454
+ ],
8455
+ "query": [
8456
+ {
8457
+ "name": "expected_version",
8458
+ "type": "string",
8459
+ "required": false,
8460
+ "description": "Current canvas version from retrieve; the removal is refused with REVISION_CONFLICT if the canvas has moved on. Omission removes the import whatever the current version is."
8461
+ }
8462
+ ]
8463
+ },
8464
+ {
8465
+ "resource": "canvas.canvases.libraryVersions",
8466
+ "method": "list",
8467
+ "summary": "List library versions",
8468
+ "description": "Read the release history of a library canvas, newest first, including each version's description and what it added, changed or removed. Supply a canvas_id of a canvas that has been published at least once; a canvas that never was answers NOT_A_LIBRARY. limit is 1–100 and defaults to 30; pass next_cursor as cursor until it is null. Library versions are never pruned. Listing does not change the canvas. Available only to organizations where the canvas-libraries feature is enabled.",
8469
+ "http": "GET",
8470
+ "path": "/canvas/v1/canvases/{canvas_id}/library_versions",
8471
+ "streaming": "no",
8472
+ "pagination": false,
8473
+ "pathParams": [
8474
+ {
8475
+ "name": "canvas_id",
8476
+ "sdkName": "canvas_id",
8477
+ "description": "Canvas id returned by create or list, in the form cvs_ followed by 16 lowercase letters or digits; a display name is not accepted."
8478
+ }
8479
+ ],
8480
+ "query": [
8481
+ {
8482
+ "name": "limit",
8483
+ "type": "integer",
8484
+ "required": false,
8485
+ "description": "Maximum library versions to return, from 1 to 100 inclusive; omission uses 30."
8486
+ },
8487
+ {
8488
+ "name": "cursor",
8489
+ "type": "string",
8490
+ "required": false,
8491
+ "description": "Copy next_cursor from the preceding page to continue toward older library versions; omit for the first page."
8492
+ }
8493
+ ]
8494
+ },
8381
8495
  {
8382
8496
  "resource": "canvas.canvases.nodes",
8383
8497
  "method": "list",
@@ -8494,6 +8608,41 @@ export const operations = [
8494
8608
  ]
8495
8609
  }
8496
8610
  },
8611
+ {
8612
+ "resource": "canvas.canvases",
8613
+ "method": "publish",
8614
+ "summary": "Publish canvas library",
8615
+ "description": "Freeze the reusable components of a canvas as the next numbered library version, so other canvases can use them; the first publish turns the canvas into a library. Supply a canvas_id from canvases.list or create after marking frames as components. The result lists which components were added, changed (compared by content) or removed since the previous version, and whether variables or themes changed. A removed component stays readable in the new version, marked removed. Publishing is not an edit, so the canvas version does not change. Component libraries are available only to organizations where the canvas-libraries feature is enabled; others receive FEATURE_DISABLED.",
8616
+ "http": "POST",
8617
+ "path": "/canvas/v1/canvases/{canvas_id}:publish",
8618
+ "streaming": "no",
8619
+ "pagination": false,
8620
+ "pathParams": [
8621
+ {
8622
+ "name": "canvas_id",
8623
+ "sdkName": "canvas_id",
8624
+ "description": "Canvas id returned by create or list, in the form cvs_ followed by 16 lowercase letters or digits; a display name is not accepted."
8625
+ }
8626
+ ],
8627
+ "query": [],
8628
+ "body": {
8629
+ "required": false,
8630
+ "fields": [
8631
+ {
8632
+ "name": "description",
8633
+ "type": "string",
8634
+ "required": false,
8635
+ "description": "Release note shown in library_versions, at most 2000 characters; empty when omitted."
8636
+ },
8637
+ {
8638
+ "name": "expected_version",
8639
+ "type": "string",
8640
+ "required": false,
8641
+ "description": "Current canvas version from retrieve or nodes.list; the publish is refused with REVISION_CONFLICT if the canvas has moved on. Omission publishes whatever is current."
8642
+ }
8643
+ ]
8644
+ }
8645
+ },
8497
8646
  {
8498
8647
  "resource": "canvas.canvases",
8499
8648
  "method": "restore",
@@ -8629,6 +8778,37 @@ export const operations = [
8629
8778
  ]
8630
8779
  }
8631
8780
  },
8781
+ {
8782
+ "resource": "canvas.libraries",
8783
+ "method": "list",
8784
+ "summary": "List libraries",
8785
+ "description": "Discover the component libraries of the API key's organization, most recently published first. A library is a canvas that has been published at least once; each item gives its latest version, component count and how many live canvases use it. query keeps only libraries whose name contains the text, ignoring case. limit is 1–100 and defaults to 50; pass next_cursor as cursor until it is null. Deleted canvases are not listed. Available only to organizations where the canvas-libraries feature is enabled.",
8786
+ "http": "GET",
8787
+ "path": "/canvas/v1/libraries",
8788
+ "streaming": "no",
8789
+ "pagination": true,
8790
+ "pathParams": [],
8791
+ "query": [
8792
+ {
8793
+ "name": "query",
8794
+ "type": "string",
8795
+ "required": false,
8796
+ "description": "Keep only libraries whose name contains this text, ignoring case; omit to list every library."
8797
+ },
8798
+ {
8799
+ "name": "limit",
8800
+ "type": "integer",
8801
+ "required": false,
8802
+ "description": "Maximum libraries to return per page, from 1 to 100; defaults to 50 when omitted."
8803
+ },
8804
+ {
8805
+ "name": "cursor",
8806
+ "type": "string",
8807
+ "required": false,
8808
+ "description": "Opaque next_cursor from the preceding list response; omit for the first page and stop when next_cursor is null."
8809
+ }
8810
+ ]
8811
+ },
8632
8812
  {
8633
8813
  "resource": "content.contents",
8634
8814
  "method": "list",
@@ -19838,6 +20018,12 @@ export const operations = [
19838
20018
  "required": false,
19839
20019
  "description": "Filter assets to one kind of material. Audio is one material type; use audio_role to tell speech, music and sound effects apart. Omit to list every material type."
19840
20020
  },
20021
+ {
20022
+ "name": "live_stream_id",
20023
+ "type": "string",
20024
+ "required": false,
20025
+ "description": "Filter assets to the recordings of one live stream, by the stream id (mst_…) a live stream resource carries. Each broadcast of the stream is its own video asset, and its provenance names the stream and the broadcast’s start and end. Omit to list every asset."
20026
+ },
19841
20027
  {
19842
20028
  "name": "stack",
19843
20029
  "type": "boolean",
@@ -21851,6 +22037,252 @@ export const operations = [
21851
22037
  ]
21852
22038
  }
21853
22039
  },
22040
+ {
22041
+ "resource": "media.streams",
22042
+ "method": "list",
22043
+ "summary": "List streams",
22044
+ "description": "List the streams of your organization, newest first, to find a stream id or to see which are active; to read one stream use streams.retrieve. Pages hold limit streams (1 to 100, default 20); when has_more is true pass the id of the last stream you received as starting_after to get the next page. A stream that is deleted leaves the list at once. The list never shows another organization's streams. Example: GET /media/v1/streams?limit=20.",
22045
+ "http": "GET",
22046
+ "path": "/media/v1/streams",
22047
+ "streaming": "no",
22048
+ "pagination": false,
22049
+ "pathParams": [],
22050
+ "query": [
22051
+ {
22052
+ "name": "limit",
22053
+ "type": "integer",
22054
+ "required": false,
22055
+ "description": "How many streams one page holds, 1 to 100; default 20."
22056
+ },
22057
+ {
22058
+ "name": "starting_after",
22059
+ "type": "string",
22060
+ "required": false,
22061
+ "description": "The id of the last stream of the previous page, taken from that page's data; omit it for the first page. An id that is not a stream of your organization answers 400."
22062
+ }
22063
+ ]
22064
+ },
22065
+ {
22066
+ "resource": "media.streams",
22067
+ "method": "create",
22068
+ "summary": "Create a stream",
22069
+ "description": "Register one live source and get its id; use it before anything else on this face, and use streams.update instead to change a stream you already have. Send input as {kind: pull, url} to have Praxis pull an https, http, rtmp or rtmps address (an HLS .m3u8 or HTTP-FLV playlist, or an RTMP URL; SRT is not supported and answers 400), or as {kind: push} to receive a push address: the response then carries push {url, token, expires_at}, and the token is shown only in this response and in streams.resetToken.create because only its hash is kept. The new stream is idle; nothing is pulled or charged until a source goes active. reconnect_window_s (0 to 1800, default 60) is how long a source that drops may come back and continue the same broadcast; max_continuous_duration_s (60 to 43200, default 43200) ends a broadcast that runs that long. recording defaults to off. The owner is your organization (and the agent and session when a session token calls); the body cannot set it and unknown fields answer 400. Example: {\"input\":{\"kind\":\"pull\",\"url\":\"https://live.example.com/room/index.m3u8\"},\"recording\":{\"mode\":\"automatic\",\"rendition\":\"source\"}}.",
22070
+ "http": "POST",
22071
+ "path": "/media/v1/streams",
22072
+ "streaming": "no",
22073
+ "pagination": false,
22074
+ "pathParams": [],
22075
+ "query": [],
22076
+ "body": {
22077
+ "required": true,
22078
+ "fields": [
22079
+ {
22080
+ "name": "input",
22081
+ "type": "object",
22082
+ "required": true,
22083
+ "description": "Where the stream's media comes from."
22084
+ },
22085
+ {
22086
+ "name": "reconnect_window_s",
22087
+ "type": "integer",
22088
+ "required": false,
22089
+ "description": "How many seconds a dropped source may take to come back and continue the same broadcast and recording; default 60."
22090
+ },
22091
+ {
22092
+ "name": "max_continuous_duration_s",
22093
+ "type": "integer",
22094
+ "required": false,
22095
+ "description": "How many seconds one broadcast may run before it ends as if the source had stopped (a source still live then starts the next broadcast); default and maximum 43200 (12 hours)."
22096
+ },
22097
+ {
22098
+ "name": "recording",
22099
+ "type": "object",
22100
+ "required": false,
22101
+ "description": "What is recorded while the stream is active. A recording is a Media asset; one asset per broadcast."
22102
+ },
22103
+ {
22104
+ "name": "pipeline_id",
22105
+ "type": "string",
22106
+ "required": false,
22107
+ "description": "The id of the processing to run while the stream is active; stored as given and not checked yet. Omit for none."
22108
+ }
22109
+ ]
22110
+ }
22111
+ },
22112
+ {
22113
+ "resource": "media.streams",
22114
+ "method": "delete",
22115
+ "summary": "Delete a stream",
22116
+ "description": "Delete a stream and its event log for good; only an idle or disabled stream can be deleted, so stop a live one first with streams.disable.create. The stream leaves the list at once and gives back any slot it held. Recordings it already made are Media assets and stay. Deleting is not undone and the id is not reused. Example: DELETE /media/v1/streams/mst_zpnqd7a2kxwg3vhr5tj4bfm6ec.",
22117
+ "http": "DELETE",
22118
+ "path": "/media/v1/streams/{stream_id}",
22119
+ "streaming": "no",
22120
+ "pagination": false,
22121
+ "pathParams": [
22122
+ {
22123
+ "name": "stream_id",
22124
+ "sdkName": "stream_id",
22125
+ "description": "The stream's id, the id field returned by streams.create or streams.list (mst_ followed by 26 lowercase base32 characters); a stream of another organization answers 404."
22126
+ }
22127
+ ],
22128
+ "query": []
22129
+ },
22130
+ {
22131
+ "resource": "media.streams",
22132
+ "method": "retrieve",
22133
+ "summary": "Retrieve a stream",
22134
+ "description": "Read one stream: its status, input, reconnect and duration limits, recording settings, pipeline, the asset of the current broadcast and the recent ones. Use it to check whether a stream is idle, waiting, active or disabled; to follow what happened to it read streams.events.list instead. The push token is never returned here, only in the create and reset-token responses. Example: GET /media/v1/streams/mst_zpnqd7a2kxwg3vhr5tj4bfm6ec.",
22135
+ "http": "GET",
22136
+ "path": "/media/v1/streams/{stream_id}",
22137
+ "streaming": "no",
22138
+ "pagination": false,
22139
+ "pathParams": [
22140
+ {
22141
+ "name": "stream_id",
22142
+ "sdkName": "stream_id",
22143
+ "description": "The stream's id, the id field returned by streams.create or streams.list (mst_ followed by 26 lowercase base32 characters); a stream of another organization answers 404."
22144
+ }
22145
+ ],
22146
+ "query": []
22147
+ },
22148
+ {
22149
+ "resource": "media.streams",
22150
+ "method": "update",
22151
+ "summary": "Update a stream",
22152
+ "description": "Change the settings of a stream you own; send only the fields to change. reconnect_window_s and max_continuous_duration_s take the same ranges as on create. recording is merged onto the current settings (send {rendition: sd} to change only the rendition; a null optional field such as library_id clears it). pipeline_id is stored as given (null clears it). input can change only the url of a pull stream and only while it is idle or disabled; a push stream has no address to change and a live pull stream answers 409. An empty patch, an unknown field or an invalid value answers 400. Example: {\"reconnect_window_s\":120,\"recording\":{\"mode\":\"automatic\"}}.",
22153
+ "http": "PATCH",
22154
+ "path": "/media/v1/streams/{stream_id}",
22155
+ "streaming": "no",
22156
+ "pagination": false,
22157
+ "pathParams": [
22158
+ {
22159
+ "name": "stream_id",
22160
+ "sdkName": "stream_id",
22161
+ "description": "The stream's id, the id field returned by streams.create or streams.list (mst_ followed by 26 lowercase base32 characters); a stream of another organization answers 404."
22162
+ }
22163
+ ],
22164
+ "query": [],
22165
+ "body": {
22166
+ "required": true,
22167
+ "fields": [
22168
+ {
22169
+ "name": "input",
22170
+ "type": "object",
22171
+ "required": false,
22172
+ "description": "Where the stream's media comes from."
22173
+ },
22174
+ {
22175
+ "name": "reconnect_window_s",
22176
+ "type": "integer",
22177
+ "required": false,
22178
+ "description": "The new reconnect window in seconds, 0 to 1800."
22179
+ },
22180
+ {
22181
+ "name": "max_continuous_duration_s",
22182
+ "type": "integer",
22183
+ "required": false,
22184
+ "description": "The new maximum continuous duration in seconds, 60 to 43200."
22185
+ },
22186
+ {
22187
+ "name": "recording",
22188
+ "type": "object",
22189
+ "required": false,
22190
+ "description": "What is recorded while the stream is active. A recording is a Media asset; one asset per broadcast."
22191
+ },
22192
+ {
22193
+ "name": "pipeline_id",
22194
+ "type": "string",
22195
+ "required": false,
22196
+ "description": "The new pipeline id, or null to detach the pipeline."
22197
+ }
22198
+ ]
22199
+ }
22200
+ },
22201
+ {
22202
+ "resource": "media.streams.disable",
22203
+ "method": "create",
22204
+ "summary": "Disable a stream",
22205
+ "description": "Stop a stream from any status: a live stream is closed out (its log records stream.disconnected and stream.idle), it gives back its active slot, and a source can no longer drive it until streams.enable.create. Disabling a disabled stream changes nothing and answers 200. Use it before deleting a live stream or to switch a source off without losing the stream. Example: POST /media/v1/streams/mst_zpnqd7a2kxwg3vhr5tj4bfm6ec/disable with no body.",
22206
+ "http": "POST",
22207
+ "path": "/media/v1/streams/{stream_id}/disable",
22208
+ "streaming": "no",
22209
+ "pagination": false,
22210
+ "pathParams": [
22211
+ {
22212
+ "name": "stream_id",
22213
+ "sdkName": "stream_id",
22214
+ "description": "The stream's id, the id field returned by streams.create or streams.list (mst_ followed by 26 lowercase base32 characters); a stream of another organization answers 404."
22215
+ }
22216
+ ],
22217
+ "query": []
22218
+ },
22219
+ {
22220
+ "resource": "media.streams.enable",
22221
+ "method": "create",
22222
+ "summary": "Enable a stream",
22223
+ "description": "Bring a disabled stream back to idle so a source may drive it again; it does not start anything by itself. Only a disabled stream can be enabled; an idle, waiting or active stream answers 409. Use streams.disable.create to stop a stream. Example: POST /media/v1/streams/mst_zpnqd7a2kxwg3vhr5tj4bfm6ec/enable with no body.",
22224
+ "http": "POST",
22225
+ "path": "/media/v1/streams/{stream_id}/enable",
22226
+ "streaming": "no",
22227
+ "pagination": false,
22228
+ "pathParams": [
22229
+ {
22230
+ "name": "stream_id",
22231
+ "sdkName": "stream_id",
22232
+ "description": "The stream's id, the id field returned by streams.create or streams.list (mst_ followed by 26 lowercase base32 characters); a stream of another organization answers 404."
22233
+ }
22234
+ ],
22235
+ "query": []
22236
+ },
22237
+ {
22238
+ "resource": "media.streams.events",
22239
+ "method": "list",
22240
+ "summary": "List the events of a stream",
22241
+ "description": "Read the stream's event log in order, to follow what the stream did or to catch up after a disconnect: pass after set to the highest seq you have seen and you receive every later event, oldest first, up to limit (1 to 100, default 100). Events are delivered at least once and each has a stable id, so a repeat is the same event. Kinds are stream.waiting, stream.connected, stream.active, stream.disconnected and stream.idle (recording.ready follows with recordings). at is wall-clock time and at_source says whether it came from the source (program_date_time) or was the time Praxis received it; offset_ms is the position inside the stream when known. Events are kept at least 24 hours. When has_more is false next_after is the seq to pass next time. Example: GET /media/v1/streams/mst_zpnqd7a2kxwg3vhr5tj4bfm6ec/events?after=12&limit=50.",
22242
+ "http": "GET",
22243
+ "path": "/media/v1/streams/{stream_id}/events",
22244
+ "streaming": "no",
22245
+ "pagination": false,
22246
+ "pathParams": [
22247
+ {
22248
+ "name": "stream_id",
22249
+ "sdkName": "stream_id",
22250
+ "description": "The stream's id, the id field returned by streams.create or streams.list (mst_ followed by 26 lowercase base32 characters); a stream of another organization answers 404."
22251
+ }
22252
+ ],
22253
+ "query": [
22254
+ {
22255
+ "name": "after",
22256
+ "type": "integer",
22257
+ "required": false,
22258
+ "description": "The highest seq you already have; you receive events with a greater seq. Omit or 0 to read from the start of the retained log."
22259
+ },
22260
+ {
22261
+ "name": "limit",
22262
+ "type": "integer",
22263
+ "required": false,
22264
+ "description": "How many events one page holds, 1 to 100; default 100."
22265
+ }
22266
+ ]
22267
+ },
22268
+ {
22269
+ "resource": "media.streams.resetToken",
22270
+ "method": "create",
22271
+ "summary": "Reset the push token of a stream",
22272
+ "description": "Mint a new push token for a push stream and invalidate the old one, for example when the token leaked or has expired (a token is valid for 24 hours). The response carries the new push {url, token, expires_at}; the token is shown only here. A pull stream has no token and answers 409. Example: POST /media/v1/streams/mst_zpnqd7a2kxwg3vhr5tj4bfm6ec/reset-token with no body.",
22273
+ "http": "POST",
22274
+ "path": "/media/v1/streams/{stream_id}/reset-token",
22275
+ "streaming": "no",
22276
+ "pagination": false,
22277
+ "pathParams": [
22278
+ {
22279
+ "name": "stream_id",
22280
+ "sdkName": "stream_id",
22281
+ "description": "The stream's id, the id field returned by streams.create or streams.list (mst_ followed by 26 lowercase base32 characters); a stream of another organization answers 404."
22282
+ }
22283
+ ],
22284
+ "query": []
22285
+ },
21854
22286
  {
21855
22287
  "resource": "meta.docs",
21856
22288
  "method": "search",
@@ -34552,6 +34984,24 @@ export const operations = [
34552
34984
  ]
34553
34985
  }
34554
34986
  },
34987
+ {
34988
+ "resource": "workforce.departments",
34989
+ "method": "updateCharter",
34990
+ "summary": "Amend a department charter (gone)",
34991
+ "description": "Deprecated: use PUT /workforce/v1/specs/department/{id} instead; this path stops working on 2026-11-28. A department's charter is now the `document` of its spec, not a field of the department: read it at GET /workforce/v1/specs/department/{id} and replace it with PUT /workforce/v1/specs/department/{id} sending metadata.revision and spec.document. The root department's charter is the organization's own spec at /workforce/v1/specs/organization/{organization_id}. Until then this path answers 410 with code DEPARTMENT_CHARTER_GONE and the same instruction.",
34992
+ "http": "PUT",
34993
+ "path": "/workforce/v1/departments/{id}/charter",
34994
+ "streaming": "no",
34995
+ "pagination": false,
34996
+ "pathParams": [
34997
+ {
34998
+ "name": "id",
34999
+ "sdkName": "id",
35000
+ "description": "Department id (dept_...) whose charter used to change here."
35001
+ }
35002
+ ],
35003
+ "query": []
35004
+ },
34555
35005
  {
34556
35006
  "resource": "workforce.departments.dissolve",
34557
35007
  "method": "create",
@@ -6316,10 +6316,18 @@ export declare function createCanvas(transport: Transport): {
6316
6316
  images: {
6317
6317
  list: (options: import("./core/transport.js").CallOptions<Types.CanvasListImagesData>) => Promise<Types.CanvasImagesResult>;
6318
6318
  };
6319
+ imports: {
6320
+ create: (options: import("./core/transport.js").CallOptions<Types.CanvasSetImportData>) => Promise<Types.CanvasSetImportResult>;
6321
+ delete: (options: import("./core/transport.js").CallOptions<Types.CanvasDeleteImportData>) => Promise<Types.CanvasDeleteImportResult>;
6322
+ };
6323
+ libraryVersions: {
6324
+ list: (options: import("./core/transport.js").CallOptions<Types.CanvasListLibraryVersionsData>) => Promise<Types.CanvasLibraryVersionPage>;
6325
+ };
6319
6326
  list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListCanvasesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasCanvas>>;
6320
6327
  nodes: {
6321
6328
  list: (options: import("./core/transport.js").CallOptions<Types.CanvasListNodesData>) => Promise<Types.CanvasNodesResult>;
6322
6329
  };
6330
+ publish: (options: import("./core/transport.js").CallOptions<Types.CanvasPublishLibraryData>) => Promise<Types.CanvasPublishLibraryResult>;
6323
6331
  restore: (options: import("./core/transport.js").CallOptions<Types.CanvasRestoreCanvasData>) => Promise<Types.CanvasRestoreResult>;
6324
6332
  retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCanvasData>) => Promise<Types.CanvasCanvasDetail>;
6325
6333
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCanvasData>) => Promise<Types.CanvasCanvas>;
@@ -6334,6 +6342,9 @@ export declare function createCanvas(transport: Transport): {
6334
6342
  retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCollectionData>) => Promise<Types.CanvasCollection>;
6335
6343
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
6336
6344
  };
6345
+ libraries: {
6346
+ list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasLibrarySummary>>;
6347
+ };
6337
6348
  };
6338
6349
  export declare function createContent(transport: Transport): {
6339
6350
  contents: {
@@ -7019,6 +7030,25 @@ export declare function createMedia(transport: Transport): {
7019
7030
  speech: {
7020
7031
  create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
7021
7032
  };
7033
+ streams: {
7034
+ create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamData>) => Promise<Types.MediaStreamWithPush>;
7035
+ delete: (options: import("./core/transport.js").CallOptions<Types.DeleteMediaStreamData>) => Promise<Types.MediaStreamDeleted>;
7036
+ disable: {
7037
+ create: (options: import("./core/transport.js").CallOptions<Types.DisableMediaStreamData>) => Promise<Types.MediaStream>;
7038
+ };
7039
+ enable: {
7040
+ create: (options: import("./core/transport.js").CallOptions<Types.EnableMediaStreamData>) => Promise<Types.MediaStream>;
7041
+ };
7042
+ events: {
7043
+ list: (options: import("./core/transport.js").CallOptions<Types.ListMediaStreamEventsData>) => Promise<Types.MediaStreamEventList>;
7044
+ };
7045
+ list: (options?: import("./core/transport.js").CallOptions<Types.ListMediaStreamsData> | undefined) => Promise<Types.MediaStreamList>;
7046
+ resetToken: {
7047
+ create: (options: import("./core/transport.js").CallOptions<Types.ResetMediaStreamTokenData>) => Promise<Types.MediaStreamWithPush>;
7048
+ };
7049
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.GetMediaStreamData>) => Promise<Types.MediaStream>;
7050
+ update: (options: import("./core/transport.js").CallOptions<Types.UpdateMediaStreamData>) => Promise<Types.MediaStream>;
7051
+ };
7022
7052
  videos: {
7023
7053
  generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateVideoData>) => Promise<Types.MediaJob>;
7024
7054
  };
@@ -8700,6 +8730,8 @@ export declare function createWorkforce(transport: Transport): {
8700
8730
  list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
8701
8731
  retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8702
8732
  update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
8733
+ /** @deprecated use PUT /workforce/v1/specs/department/{id} instead; this path stops working on 2026-11-28. */
8734
+ updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<unknown>;
8703
8735
  };
8704
8736
  effectiveSpec: {
8705
8737
  retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
@@ -111,6 +111,10 @@ export const deprecatedMethods = {
111
111
  "praxis.database.databases.update": {
112
112
  "replacement": "praxis.database.table.update for a table database or praxis.database.kv.update for a key-value database",
113
113
  "sunset": "2027-03-01"
114
+ },
115
+ "praxis.workforce.departments.updateCharter": {
116
+ "replacement": "PUT /workforce/v1/specs/department/{id}",
117
+ "sunset": "2026-11-28"
114
118
  }
115
119
  };
116
120
  export function createAgent(transport) {
@@ -551,10 +555,18 @@ export function createCanvas(transport) {
551
555
  images: {
552
556
  list: bind(transport, sdk.canvasListImages),
553
557
  },
558
+ imports: {
559
+ create: bind(transport, sdk.canvasSetImport),
560
+ delete: bind(transport, sdk.canvasDeleteImport),
561
+ },
562
+ libraryVersions: {
563
+ list: bind(transport, sdk.canvasListLibraryVersions),
564
+ },
554
565
  list: bindPage(transport, sdk.canvasListCanvases),
555
566
  nodes: {
556
567
  list: bind(transport, sdk.canvasListNodes),
557
568
  },
569
+ publish: bind(transport, sdk.canvasPublishLibrary),
558
570
  restore: bind(transport, sdk.canvasRestoreCanvas),
559
571
  retrieve: bind(transport, sdk.canvasRetrieveCanvas),
560
572
  update: bind(transport, sdk.canvasUpdateCanvas),
@@ -569,6 +581,9 @@ export function createCanvas(transport) {
569
581
  retrieve: bind(transport, sdk.canvasRetrieveCollection),
570
582
  update: bind(transport, sdk.canvasUpdateCollection),
571
583
  },
584
+ libraries: {
585
+ list: bindPage(transport, sdk.canvasListLibraries),
586
+ },
572
587
  };
573
588
  }
574
589
  export function createContent(transport) {
@@ -1231,6 +1246,25 @@ export function createMedia(transport) {
1231
1246
  speech: {
1232
1247
  create: bind(transport, sdk.mediaCreateSpeech),
1233
1248
  },
1249
+ streams: {
1250
+ create: bind(transport, sdk.createMediaStream),
1251
+ delete: bind(transport, sdk.deleteMediaStream),
1252
+ disable: {
1253
+ create: bind(transport, sdk.disableMediaStream),
1254
+ },
1255
+ enable: {
1256
+ create: bind(transport, sdk.enableMediaStream),
1257
+ },
1258
+ events: {
1259
+ list: bind(transport, sdk.listMediaStreamEvents),
1260
+ },
1261
+ list: bind(transport, sdk.listMediaStreams),
1262
+ resetToken: {
1263
+ create: bind(transport, sdk.resetMediaStreamToken),
1264
+ },
1265
+ retrieve: bind(transport, sdk.getMediaStream),
1266
+ update: bind(transport, sdk.updateMediaStream),
1267
+ },
1234
1268
  videos: {
1235
1269
  generate: bind(transport, sdk.mediaGenerateVideo),
1236
1270
  },
@@ -1887,6 +1921,8 @@ export function createWorkforce(transport) {
1887
1921
  list: bind(transport, sdk.listOrganizationDepartments),
1888
1922
  retrieve: bind(transport, sdk.getOrganizationDepartment),
1889
1923
  update: bind(transport, sdk.reorganizeOrganizationDepartment),
1924
+ /** @deprecated use PUT /workforce/v1/specs/department/{id} instead; this path stops working on 2026-11-28. */
1925
+ updateCharter: deprecate(transport.silenced, "praxis.workforce.departments.updateCharter", deprecatedMethods["praxis.workforce.departments.updateCharter"], bind(transport, sdk.amendOrganizationDepartmentCharter)),
1890
1926
  },
1891
1927
  effectiveSpec: {
1892
1928
  retrieve: bind(transport, sdk.getOrganizationEffectiveSpec),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepraxis/sdk",
3
- "version": "0.1.1-dev.8e3013c",
3
+ "version": "0.1.1-dev.8e6970a",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "exports": {