@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.
- package/METHODS.md +56 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +93 -1
- package/dist/generated/sdk.gen.js +268 -0
- package/dist/generated/types.gen.d.ts +1146 -6
- package/dist/operations.generated.js +450 -0
- package/dist/resources.generated.d.ts +32 -0
- package/dist/resources.generated.js +36 -0
- package/package.json +1 -1
|
@@ -4831,6 +4831,186 @@ export type MetaMethod = {
|
|
|
4831
4831
|
content_types: Array<string>;
|
|
4832
4832
|
}>;
|
|
4833
4833
|
};
|
|
4834
|
+
/**
|
|
4835
|
+
* The settings of a new stream. Only these fields are accepted; the owner is your organization.
|
|
4836
|
+
*/
|
|
4837
|
+
export type CreateMediaStreamRequest = {
|
|
4838
|
+
input: MediaStreamInput;
|
|
4839
|
+
/**
|
|
4840
|
+
* How many seconds a dropped source may take to come back and continue the same broadcast and recording; default 60.
|
|
4841
|
+
*/
|
|
4842
|
+
reconnect_window_s?: number;
|
|
4843
|
+
/**
|
|
4844
|
+
* 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).
|
|
4845
|
+
*/
|
|
4846
|
+
max_continuous_duration_s?: number;
|
|
4847
|
+
recording?: MediaStreamRecording;
|
|
4848
|
+
/**
|
|
4849
|
+
* The id of the processing to run while the stream is active; stored as given and not checked yet. Omit for none.
|
|
4850
|
+
*/
|
|
4851
|
+
pipeline_id?: string;
|
|
4852
|
+
};
|
|
4853
|
+
/**
|
|
4854
|
+
* A stream; a push stream also carries its push credential.
|
|
4855
|
+
*/
|
|
4856
|
+
export type MediaStreamWithPush = MediaStream & {
|
|
4857
|
+
push?: MediaStreamPush;
|
|
4858
|
+
};
|
|
4859
|
+
/**
|
|
4860
|
+
* The error body of every Media Streams failure.
|
|
4861
|
+
*/
|
|
4862
|
+
export type MediaStreamError = {
|
|
4863
|
+
/**
|
|
4864
|
+
* What went wrong and whether sending the same request again can help.
|
|
4865
|
+
*/
|
|
4866
|
+
error: {
|
|
4867
|
+
/**
|
|
4868
|
+
* The stream error code, for example STREAM_NOT_FOUND, STREAM_INVALID_ARGUMENT, STREAM_INVALID_STATE, STREAM_NOT_PUSH, STREAM_QUOTA_EXCEEDED, STREAM_PUSH_UNAVAILABLE or STREAM_UNAUTHENTICATED.
|
|
4869
|
+
*/
|
|
4870
|
+
code: string;
|
|
4871
|
+
/**
|
|
4872
|
+
* A sentence saying what is wrong and what to change.
|
|
4873
|
+
*/
|
|
4874
|
+
message: string;
|
|
4875
|
+
/**
|
|
4876
|
+
* The platform problem kind the code maps to, for example validation_failure, resource_not_found or resource_conflict; branch on it rather than on the message.
|
|
4877
|
+
*/
|
|
4878
|
+
kind: string;
|
|
4879
|
+
/**
|
|
4880
|
+
* True when the same request may succeed later without any change; false when you must change the request or the stream first.
|
|
4881
|
+
*/
|
|
4882
|
+
retryable: boolean;
|
|
4883
|
+
/**
|
|
4884
|
+
* The request field a validation error is about, in the same spelling as the request (for example input.url); absent for errors that are not about one field.
|
|
4885
|
+
*/
|
|
4886
|
+
field?: string;
|
|
4887
|
+
};
|
|
4888
|
+
};
|
|
4889
|
+
/**
|
|
4890
|
+
* One page of streams, newest first.
|
|
4891
|
+
*/
|
|
4892
|
+
export type MediaStreamList = {
|
|
4893
|
+
/**
|
|
4894
|
+
* Always list.
|
|
4895
|
+
*/
|
|
4896
|
+
object: 'list';
|
|
4897
|
+
/**
|
|
4898
|
+
* The streams of this page.
|
|
4899
|
+
*/
|
|
4900
|
+
data: Array<MediaStream>;
|
|
4901
|
+
/**
|
|
4902
|
+
* True when another page follows; pass the id of the last stream here as starting_after.
|
|
4903
|
+
*/
|
|
4904
|
+
has_more: boolean;
|
|
4905
|
+
};
|
|
4906
|
+
/**
|
|
4907
|
+
* One live source and where it is now.
|
|
4908
|
+
*/
|
|
4909
|
+
export type MediaStream = {
|
|
4910
|
+
/**
|
|
4911
|
+
* The stream id (mst_ and 26 lowercase base32 characters); stable and never reused. It is what every other call on this face names.
|
|
4912
|
+
*/
|
|
4913
|
+
id: string;
|
|
4914
|
+
/**
|
|
4915
|
+
* Always media.stream; tells a stream from other objects in a mixed list.
|
|
4916
|
+
*/
|
|
4917
|
+
object: 'media.stream';
|
|
4918
|
+
/**
|
|
4919
|
+
* idle means no source is connected; waiting means a pulled source is not live yet (no failure and no charge beyond the poll); active means media is flowing and an active slot is held; disabled means the stream was switched off and no source may drive it.
|
|
4920
|
+
*/
|
|
4921
|
+
status: 'idle' | 'waiting' | 'active' | 'disabled';
|
|
4922
|
+
input: MediaStreamInput;
|
|
4923
|
+
/**
|
|
4924
|
+
* Seconds a dropped source may take to come back and continue the same broadcast.
|
|
4925
|
+
*/
|
|
4926
|
+
reconnect_window_s: number;
|
|
4927
|
+
/**
|
|
4928
|
+
* Seconds one broadcast may run before it ends.
|
|
4929
|
+
*/
|
|
4930
|
+
max_continuous_duration_s: number;
|
|
4931
|
+
recording: MediaStreamRecording;
|
|
4932
|
+
/**
|
|
4933
|
+
* The processing attached to the stream, or null for none.
|
|
4934
|
+
*/
|
|
4935
|
+
pipeline_id: string;
|
|
4936
|
+
/**
|
|
4937
|
+
* The Media asset the current broadcast is being recorded into, or null when no broadcast is recording.
|
|
4938
|
+
*/
|
|
4939
|
+
active_asset_id: string;
|
|
4940
|
+
/**
|
|
4941
|
+
* The assets of the broadcasts before the current one, newest first.
|
|
4942
|
+
*/
|
|
4943
|
+
recent_asset_ids: Array<string>;
|
|
4944
|
+
/**
|
|
4945
|
+
* The live health of the broadcast in progress; null unless the stream is active.
|
|
4946
|
+
*/
|
|
4947
|
+
health: MediaStreamHealth;
|
|
4948
|
+
/**
|
|
4949
|
+
* When the stream was created, RFC 3339 UTC.
|
|
4950
|
+
*/
|
|
4951
|
+
created_at: string;
|
|
4952
|
+
/**
|
|
4953
|
+
* When the stream last changed (a setting or its status), RFC 3339 UTC.
|
|
4954
|
+
*/
|
|
4955
|
+
updated_at: string;
|
|
4956
|
+
};
|
|
4957
|
+
/**
|
|
4958
|
+
* The fields to change on a stream; send at least one.
|
|
4959
|
+
*/
|
|
4960
|
+
export type UpdateMediaStreamRequest = {
|
|
4961
|
+
input?: MediaStreamInput;
|
|
4962
|
+
/**
|
|
4963
|
+
* The new reconnect window in seconds, 0 to 1800.
|
|
4964
|
+
*/
|
|
4965
|
+
reconnect_window_s?: number;
|
|
4966
|
+
/**
|
|
4967
|
+
* The new maximum continuous duration in seconds, 60 to 43200.
|
|
4968
|
+
*/
|
|
4969
|
+
max_continuous_duration_s?: number;
|
|
4970
|
+
recording?: MediaStreamRecording;
|
|
4971
|
+
/**
|
|
4972
|
+
* The new pipeline id, or null to detach the pipeline.
|
|
4973
|
+
*/
|
|
4974
|
+
pipeline_id?: string;
|
|
4975
|
+
};
|
|
4976
|
+
/**
|
|
4977
|
+
* The answer to deleting a stream.
|
|
4978
|
+
*/
|
|
4979
|
+
export type MediaStreamDeleted = {
|
|
4980
|
+
/**
|
|
4981
|
+
* The id of the deleted stream; it is not reused.
|
|
4982
|
+
*/
|
|
4983
|
+
id: string;
|
|
4984
|
+
/**
|
|
4985
|
+
* Always media.stream.
|
|
4986
|
+
*/
|
|
4987
|
+
object: 'media.stream';
|
|
4988
|
+
/**
|
|
4989
|
+
* Always true.
|
|
4990
|
+
*/
|
|
4991
|
+
deleted: boolean;
|
|
4992
|
+
};
|
|
4993
|
+
/**
|
|
4994
|
+
* A page of the stream's event log, oldest first.
|
|
4995
|
+
*/
|
|
4996
|
+
export type MediaStreamEventList = {
|
|
4997
|
+
/**
|
|
4998
|
+
* Always list.
|
|
4999
|
+
*/
|
|
5000
|
+
object: 'list';
|
|
5001
|
+
/**
|
|
5002
|
+
* The events of this page, by seq ascending.
|
|
5003
|
+
*/
|
|
5004
|
+
data: Array<MediaStreamEvent>;
|
|
5005
|
+
/**
|
|
5006
|
+
* True when more events follow the last one of this page.
|
|
5007
|
+
*/
|
|
5008
|
+
has_more: boolean;
|
|
5009
|
+
/**
|
|
5010
|
+
* The seq to pass as after to continue; the last seq of this page, or the after you sent when the page is empty.
|
|
5011
|
+
*/
|
|
5012
|
+
next_after: number;
|
|
5013
|
+
};
|
|
4834
5014
|
/**
|
|
4835
5015
|
* Enable automatic prompt caching. When set at the top level, the system automatically applies cache breakpoints to the last cacheable block in the request. When set on an individual content block, it marks an explicit cache breakpoint; block-level markers also work on OpenAI models that support explicit prompt caching — OpenRouter converts them to the provider's native format.
|
|
4836
5016
|
*/
|
|
@@ -13153,6 +13333,23 @@ export type CanvasCanvas = {
|
|
|
13153
13333
|
* Collection id from collections.list, or null for an uncategorized canvas; a canvas belongs to at most one collection.
|
|
13154
13334
|
*/
|
|
13155
13335
|
collection_id: string | null;
|
|
13336
|
+
/**
|
|
13337
|
+
* The canvas's latest published library version, or null when it has never been published as a library.
|
|
13338
|
+
*/
|
|
13339
|
+
library: null | {
|
|
13340
|
+
/**
|
|
13341
|
+
* Latest published library version, counting from 1.
|
|
13342
|
+
*/
|
|
13343
|
+
version: string;
|
|
13344
|
+
/**
|
|
13345
|
+
* ISO 8601 time at which that version was published.
|
|
13346
|
+
*/
|
|
13347
|
+
published_at: string;
|
|
13348
|
+
};
|
|
13349
|
+
/**
|
|
13350
|
+
* Libraries this canvas imports, by alias; present on retrieve and list, absent where only the canvas is named (create, update).
|
|
13351
|
+
*/
|
|
13352
|
+
imports?: Array<CanvasCanvasImport>;
|
|
13156
13353
|
};
|
|
13157
13354
|
export type CanvasCanvasPage = {
|
|
13158
13355
|
/**
|
|
@@ -13506,6 +13703,126 @@ export type CanvasRestoreResult = {
|
|
|
13506
13703
|
*/
|
|
13507
13704
|
restored_from: string;
|
|
13508
13705
|
};
|
|
13706
|
+
export type CanvasPublishLibraryInput = {
|
|
13707
|
+
/**
|
|
13708
|
+
* Release note shown in library_versions, at most 2000 characters; empty when omitted.
|
|
13709
|
+
*/
|
|
13710
|
+
description?: string;
|
|
13711
|
+
/**
|
|
13712
|
+
* 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.
|
|
13713
|
+
*/
|
|
13714
|
+
expected_version?: string;
|
|
13715
|
+
};
|
|
13716
|
+
export type CanvasPublishLibraryResult = {
|
|
13717
|
+
/**
|
|
13718
|
+
* The new library version, counting from 1; importing canvases pin to it.
|
|
13719
|
+
*/
|
|
13720
|
+
version: string;
|
|
13721
|
+
/**
|
|
13722
|
+
* The canvas version this library version was taken from; publishing leaves it unchanged.
|
|
13723
|
+
*/
|
|
13724
|
+
canvas_version: string;
|
|
13725
|
+
/**
|
|
13726
|
+
* Components that did not exist in the previous library version.
|
|
13727
|
+
*/
|
|
13728
|
+
added: Array<CanvasComponentRef>;
|
|
13729
|
+
/**
|
|
13730
|
+
* Components whose content differs from the previous library version.
|
|
13731
|
+
*/
|
|
13732
|
+
changed: Array<CanvasComponentRef>;
|
|
13733
|
+
/**
|
|
13734
|
+
* Components the previous library version had and this canvas no longer has; they stay in the new version marked removed.
|
|
13735
|
+
*/
|
|
13736
|
+
removed: Array<CanvasComponentRef>;
|
|
13737
|
+
/**
|
|
13738
|
+
* True when the canvas variables or themes differ from the previous library version; always false for the first version.
|
|
13739
|
+
*/
|
|
13740
|
+
variables_changed: boolean;
|
|
13741
|
+
/**
|
|
13742
|
+
* Number of components in this version, not counting removed ones.
|
|
13743
|
+
*/
|
|
13744
|
+
component_count: number;
|
|
13745
|
+
/**
|
|
13746
|
+
* ISO 8601 time at which this version was published.
|
|
13747
|
+
*/
|
|
13748
|
+
published_at: string;
|
|
13749
|
+
};
|
|
13750
|
+
export type CanvasLibraryVersionPage = {
|
|
13751
|
+
/**
|
|
13752
|
+
* Published library versions, ordered from highest version to lowest.
|
|
13753
|
+
*/
|
|
13754
|
+
versions: Array<CanvasLibraryVersion>;
|
|
13755
|
+
/**
|
|
13756
|
+
* Continuation token to pass as cursor to read older versions; null marks the final page.
|
|
13757
|
+
*/
|
|
13758
|
+
next_cursor: string | null;
|
|
13759
|
+
};
|
|
13760
|
+
export type CanvasLibraryPage = {
|
|
13761
|
+
/**
|
|
13762
|
+
* Libraries on this page, most recently published first.
|
|
13763
|
+
*/
|
|
13764
|
+
data: Array<CanvasLibrarySummary>;
|
|
13765
|
+
/**
|
|
13766
|
+
* Continuation token to pass as cursor to read the next page; null marks the final page.
|
|
13767
|
+
*/
|
|
13768
|
+
next_cursor: string | null;
|
|
13769
|
+
};
|
|
13770
|
+
export type CanvasSetImportInput = {
|
|
13771
|
+
/**
|
|
13772
|
+
* Alias to import under, 1-32 characters, a lower-case letter then lower-case letters, digits or hyphens.
|
|
13773
|
+
*/
|
|
13774
|
+
alias: string;
|
|
13775
|
+
/**
|
|
13776
|
+
* Canvas id of the library, from libraries.list; it must belong to your organization and have been published.
|
|
13777
|
+
*/
|
|
13778
|
+
library: string;
|
|
13779
|
+
/**
|
|
13780
|
+
* Library version to use, from library_versions; the latest when omitted.
|
|
13781
|
+
*/
|
|
13782
|
+
version?: string;
|
|
13783
|
+
/**
|
|
13784
|
+
* Current canvas version from retrieve; the import is refused with REVISION_CONFLICT if the canvas has moved on. Omission imports whatever is current.
|
|
13785
|
+
*/
|
|
13786
|
+
expected_version?: string;
|
|
13787
|
+
};
|
|
13788
|
+
export type CanvasSetImportResult = {
|
|
13789
|
+
version: CanvasVersion;
|
|
13790
|
+
/**
|
|
13791
|
+
* The alias the library is imported under.
|
|
13792
|
+
*/
|
|
13793
|
+
alias: string;
|
|
13794
|
+
/**
|
|
13795
|
+
* The library's canvas id.
|
|
13796
|
+
*/
|
|
13797
|
+
library: string;
|
|
13798
|
+
/**
|
|
13799
|
+
* The library version now in use.
|
|
13800
|
+
*/
|
|
13801
|
+
library_version: string;
|
|
13802
|
+
/**
|
|
13803
|
+
* The library version this alias used before, or null for a first import.
|
|
13804
|
+
*/
|
|
13805
|
+
previous_library_version: string | null;
|
|
13806
|
+
/**
|
|
13807
|
+
* Number of components the imported version offers; components removed from the library are not counted.
|
|
13808
|
+
*/
|
|
13809
|
+
component_count: number;
|
|
13810
|
+
};
|
|
13811
|
+
export type CanvasDeleteImportResult = {
|
|
13812
|
+
version: CanvasVersion;
|
|
13813
|
+
/**
|
|
13814
|
+
* The alias that was removed.
|
|
13815
|
+
*/
|
|
13816
|
+
alias: string;
|
|
13817
|
+
/**
|
|
13818
|
+
* The canvas id of the library that was imported under it.
|
|
13819
|
+
*/
|
|
13820
|
+
library: string;
|
|
13821
|
+
/**
|
|
13822
|
+
* Always true on success.
|
|
13823
|
+
*/
|
|
13824
|
+
deleted: true;
|
|
13825
|
+
};
|
|
13509
13826
|
/**
|
|
13510
13827
|
* A content to create.
|
|
13511
13828
|
*/
|
|
@@ -15907,9 +16224,9 @@ export type CutExport = {
|
|
|
15907
16224
|
*/
|
|
15908
16225
|
checks?: Array<{
|
|
15909
16226
|
/**
|
|
15910
|
-
* BLACK_FIRST_FRAME: the first frame is black or empty. PLACEHOLDER_TEXT: a text or caption looks like unfinished placeholder text (TODO, XXX, ___). UPSCALED_SOURCE: a source is enlarged more than 1.5x and will look soft. CAPTION_TOO_SHORT: a caption is on screen too briefly to read. CAPTION_OUT_OF_SAFE_AREA: a caption or text box reaches into the frame edge where players crop or overlay controls. CAPTION_TEXT_MISMATCH: a caption's words differ from the speech the timeline keeps under it (a caption edited without its sound, or sound kept after its caption was removed). CAPTION_DRIFT: a caption starts or ends more than 0.2 s away from its words. FILLER_REMAINING: a filler, verbal tic, repetition or restart that media labelled with confidence 0.7 or more is still in the timeline. SUSPECT_TYPO: a word the correction model doubted and left uncorrected (a possible homophone or misheard name) is still in the timeline. LOUDNESS_TRUE_PEAK_OVER: the delivered file's measured true peak is above the export's true-peak target. RENDER_FALLBACK: a parallel render worker failed, so some chunks are being rendered again on the main machine; it appears while the export is still rendering, the export continues and takes longer, and nothing needs to be done.
|
|
16227
|
+
* BLACK_FIRST_FRAME: the first frame is black or empty. PLACEHOLDER_TEXT: a text or caption looks like unfinished placeholder text (TODO, XXX, ___). UPSCALED_SOURCE: a source is enlarged more than 1.5x and will look soft. CAPTION_TOO_SHORT: a caption is on screen too briefly to read. CAPTION_OUT_OF_SAFE_AREA: a caption or text box reaches into the frame edge where players crop or overlay controls. CAPTION_TEXT_MISMATCH: a caption's words differ from the speech the timeline keeps under it (a caption edited without its sound, or sound kept after its caption was removed). CAPTION_DRIFT: a caption starts or ends more than 0.2 s away from its words. FILLER_REMAINING: a filler, verbal tic, repetition or restart that media labelled with confidence 0.7 or more is still in the timeline. SUSPECT_TYPO: a word the correction model doubted and left uncorrected (a possible homophone or misheard name) is still in the timeline. LOUDNESS_TRUE_PEAK_OVER: the delivered file's measured true peak is above the export's true-peak target. RENDER_FALLBACK: a parallel render worker failed, so some chunks are being rendered again on the main machine; it appears while the export is still rendering, the export continues and takes longer, and nothing needs to be done. SAVE_RETRIED: the finished file failed to upload and is being uploaded again from the same machine; the render is kept and nothing needs to be done. ATTEMPT_RETRIED: the whole attempt failed and the export is starting over; the check names the cause.
|
|
15911
16228
|
*/
|
|
15912
|
-
code: 'BLACK_FIRST_FRAME' | 'PLACEHOLDER_TEXT' | 'UPSCALED_SOURCE' | 'CAPTION_TOO_SHORT' | 'CAPTION_OUT_OF_SAFE_AREA' | 'CAPTION_TEXT_MISMATCH' | 'CAPTION_DRIFT' | 'FILLER_REMAINING' | 'SUSPECT_TYPO' | 'LOUDNESS_TRUE_PEAK_OVER' | 'RENDER_FALLBACK';
|
|
16229
|
+
code: 'BLACK_FIRST_FRAME' | 'PLACEHOLDER_TEXT' | 'UPSCALED_SOURCE' | 'CAPTION_TOO_SHORT' | 'CAPTION_OUT_OF_SAFE_AREA' | 'CAPTION_TEXT_MISMATCH' | 'CAPTION_DRIFT' | 'FILLER_REMAINING' | 'SUSPECT_TYPO' | 'LOUDNESS_TRUE_PEAK_OVER' | 'RENDER_FALLBACK' | 'SAVE_RETRIED' | 'ATTEMPT_RETRIED';
|
|
15913
16230
|
/**
|
|
15914
16231
|
* Always warning in this version.
|
|
15915
16232
|
*/
|
|
@@ -20783,7 +21100,7 @@ export type MediaAsset = {
|
|
|
20783
21100
|
/**
|
|
20784
21101
|
* How this asset was generated or edited, including the model, prompt and references. Omitted on uploaded, imported and legacy assets.
|
|
20785
21102
|
*/
|
|
20786
|
-
provenance?: MediaProvenance;
|
|
21103
|
+
provenance?: MediaProvenance | MediaRecordingProvenance;
|
|
20787
21104
|
/**
|
|
20788
21105
|
* Console page that shows this asset in the media library: https://console.deepraxis.com/media/{library_id}?asset_id={asset_id} (the console host carries the environment, for example console-develop on develop). Give this link to a person instead of the bare asset_id.
|
|
20789
21106
|
*/
|
|
@@ -29321,6 +29638,129 @@ export type OwnFileError = {
|
|
|
29321
29638
|
type: string;
|
|
29322
29639
|
misalignment?: OwnFileMisalignmentErrorDetailsResource;
|
|
29323
29640
|
};
|
|
29641
|
+
/**
|
|
29642
|
+
* Where the stream's media comes from.
|
|
29643
|
+
*/
|
|
29644
|
+
export type MediaStreamInput = {
|
|
29645
|
+
/**
|
|
29646
|
+
* pull means Praxis pulls the address in url; push means your encoder or app sends to the push address returned when the stream is created.
|
|
29647
|
+
*/
|
|
29648
|
+
kind: 'pull' | 'push';
|
|
29649
|
+
/**
|
|
29650
|
+
* The address to pull, present only when kind is pull: https, http (HLS .m3u8, HTTP-FLV) or rtmp, rtmps. SRT is not supported.
|
|
29651
|
+
*/
|
|
29652
|
+
url?: string;
|
|
29653
|
+
};
|
|
29654
|
+
/**
|
|
29655
|
+
* What is recorded while the stream is active. A recording is a Media asset; one asset per broadcast.
|
|
29656
|
+
*/
|
|
29657
|
+
export type MediaStreamRecording = {
|
|
29658
|
+
/**
|
|
29659
|
+
* automatic records every broadcast into a Media asset; off records nothing (the default).
|
|
29660
|
+
*/
|
|
29661
|
+
mode?: 'automatic' | 'off';
|
|
29662
|
+
/**
|
|
29663
|
+
* Which rendition to record: source keeps the stream as it arrives; highest, sd and lowest pick among the renditions the source offers; audio_only keeps no video. When the requested one is not available the best available is recorded.
|
|
29664
|
+
*/
|
|
29665
|
+
rendition?: 'source' | 'highest' | 'sd' | 'lowest' | 'audio_only';
|
|
29666
|
+
/**
|
|
29667
|
+
* The Media library the recordings go to; omit to use the default library of your organization.
|
|
29668
|
+
*/
|
|
29669
|
+
library_id?: string;
|
|
29670
|
+
/**
|
|
29671
|
+
* The folder inside the library the recordings are placed in; omit for the library root.
|
|
29672
|
+
*/
|
|
29673
|
+
asset_folder?: string;
|
|
29674
|
+
/**
|
|
29675
|
+
* Delete each recording this many days after it was made; omit to keep recordings until you delete them.
|
|
29676
|
+
*/
|
|
29677
|
+
delete_after_days?: number;
|
|
29678
|
+
};
|
|
29679
|
+
/**
|
|
29680
|
+
* The address and capability a push stream's source sends to.
|
|
29681
|
+
*/
|
|
29682
|
+
export type MediaStreamPush = {
|
|
29683
|
+
/**
|
|
29684
|
+
* The WebSocket address of Praxis Realtime to push to; it already carries the token as a query parameter.
|
|
29685
|
+
*/
|
|
29686
|
+
url: string;
|
|
29687
|
+
/**
|
|
29688
|
+
* The capability token inside url; keep it secret, only its hash is stored and it is shown only in this response.
|
|
29689
|
+
*/
|
|
29690
|
+
token: string;
|
|
29691
|
+
/**
|
|
29692
|
+
* When the token stops working, RFC 3339 UTC; call streams.resetToken.create for a new one.
|
|
29693
|
+
*/
|
|
29694
|
+
expires_at: string;
|
|
29695
|
+
};
|
|
29696
|
+
/**
|
|
29697
|
+
* How the broadcast in progress is doing, read live. Present only while the stream is active; every other status has null. Counts start at zero with each broadcast.
|
|
29698
|
+
*/
|
|
29699
|
+
export type MediaStreamHealth = {
|
|
29700
|
+
/**
|
|
29701
|
+
* Kilobits per second received over the last minute (bytes received over the media time they cover); null when no segment arrived in that minute.
|
|
29702
|
+
*/
|
|
29703
|
+
bitrate_kbps: number;
|
|
29704
|
+
/**
|
|
29705
|
+
* Milliseconds from a segment's wall-clock start to the moment it was processed, averaged over the last minute. It is measured only on a source that states its own clock (PROGRAM-DATE-TIME); on a source whose time is the time it was received it is null.
|
|
29706
|
+
*/
|
|
29707
|
+
latency_ms: number;
|
|
29708
|
+
/**
|
|
29709
|
+
* Segments the source skipped in this broadcast.
|
|
29710
|
+
*/
|
|
29711
|
+
dropped_segments: number;
|
|
29712
|
+
/**
|
|
29713
|
+
* Times the source dropped and came back inside the reconnect window in this broadcast.
|
|
29714
|
+
*/
|
|
29715
|
+
reconnects: number;
|
|
29716
|
+
/**
|
|
29717
|
+
* When the newest segment was processed, RFC 3339 UTC; null before the first segment of the broadcast.
|
|
29718
|
+
*/
|
|
29719
|
+
last_segment_at: string;
|
|
29720
|
+
};
|
|
29721
|
+
/**
|
|
29722
|
+
* One entry of a stream's event log.
|
|
29723
|
+
*/
|
|
29724
|
+
export type MediaStreamEvent = {
|
|
29725
|
+
/**
|
|
29726
|
+
* The event id, globally unique; a repeat delivery has the same id.
|
|
29727
|
+
*/
|
|
29728
|
+
id: string;
|
|
29729
|
+
/**
|
|
29730
|
+
* Always media.stream.event.
|
|
29731
|
+
*/
|
|
29732
|
+
object: 'media.stream.event';
|
|
29733
|
+
/**
|
|
29734
|
+
* The stream the event belongs to.
|
|
29735
|
+
*/
|
|
29736
|
+
stream_id: string;
|
|
29737
|
+
/**
|
|
29738
|
+
* The event's position in this stream's log: starts at 1, only grows, never reused. Pass the highest one you have as after to resume.
|
|
29739
|
+
*/
|
|
29740
|
+
seq: number;
|
|
29741
|
+
/**
|
|
29742
|
+
* stream.waiting: a pulled source is not live yet; stream.connected: the source connected; stream.active: media started flowing; stream.disconnected: the source dropped or was refused (data.reason says why, for example quota_exceeded); stream.idle: the broadcast ended; recording.ready: a recording became a Media asset.
|
|
29743
|
+
*/
|
|
29744
|
+
kind: 'stream.waiting' | 'stream.connected' | 'stream.active' | 'stream.disconnected' | 'stream.idle' | 'recording.ready';
|
|
29745
|
+
/**
|
|
29746
|
+
* Where in the stream the event happened, in milliseconds from its start; null when it has no position.
|
|
29747
|
+
*/
|
|
29748
|
+
offset_ms: number;
|
|
29749
|
+
/**
|
|
29750
|
+
* The wall-clock time of the event, RFC 3339 UTC; align it with outside data using this, not the offset.
|
|
29751
|
+
*/
|
|
29752
|
+
at: string;
|
|
29753
|
+
/**
|
|
29754
|
+
* Where at comes from: program_date_time is the time the source stamped in its HLS playlist; received is the time Praxis received it.
|
|
29755
|
+
*/
|
|
29756
|
+
at_source: 'program_date_time' | 'received';
|
|
29757
|
+
/**
|
|
29758
|
+
* Details of the event: status (the stream status after it), cause (what drove it) and, for a refusal, reason.
|
|
29759
|
+
*/
|
|
29760
|
+
data: {
|
|
29761
|
+
[key: string]: unknown;
|
|
29762
|
+
};
|
|
29763
|
+
};
|
|
29324
29764
|
/**
|
|
29325
29765
|
* Lifetime of an Anthropic-style cache breakpoint.
|
|
29326
29766
|
*/
|
|
@@ -35899,6 +36339,38 @@ export type AutomationHumanTaskOutcome = {
|
|
|
35899
36339
|
* Current revision as a decimal string, incremented by one after each successful write; pass it as expected_version to guard a subsequent execute call.
|
|
35900
36340
|
*/
|
|
35901
36341
|
export type CanvasVersion = string;
|
|
36342
|
+
export type CanvasCanvasImport = {
|
|
36343
|
+
/**
|
|
36344
|
+
* The alias this library is imported under; components are referenced as alias:component_id and variables as $alias:name.
|
|
36345
|
+
*/
|
|
36346
|
+
alias: string;
|
|
36347
|
+
/**
|
|
36348
|
+
* The library's canvas id.
|
|
36349
|
+
*/
|
|
36350
|
+
library: string;
|
|
36351
|
+
/**
|
|
36352
|
+
* The library's current name, or the name it had when imported if the library canvas was deleted.
|
|
36353
|
+
*/
|
|
36354
|
+
name: string;
|
|
36355
|
+
/**
|
|
36356
|
+
* The library version this canvas uses.
|
|
36357
|
+
*/
|
|
36358
|
+
version: string;
|
|
36359
|
+
/**
|
|
36360
|
+
* The library's newest published version, or null when the library canvas was deleted.
|
|
36361
|
+
*/
|
|
36362
|
+
latest_version: string | null;
|
|
36363
|
+
/**
|
|
36364
|
+
* current means this canvas uses the newest version; outdated means a newer one exists (move the alias with imports.create); deleted means the library canvas is gone, and the imported version keeps rendering.
|
|
36365
|
+
*/
|
|
36366
|
+
status: 'current' | 'outdated' | 'deleted';
|
|
36367
|
+
/**
|
|
36368
|
+
* Present on retrieve only. How many nodes of this canvas instantiate each component, keyed by component id without the alias, including instances inside replaced subtrees; a component with no instance is absent.
|
|
36369
|
+
*/
|
|
36370
|
+
instances?: {
|
|
36371
|
+
[key: string]: number;
|
|
36372
|
+
};
|
|
36373
|
+
};
|
|
35902
36374
|
export type CanvasFrame = {
|
|
35903
36375
|
/**
|
|
35904
36376
|
* Top-level node identifier; use in nodes.list, images.list or an execute script.
|
|
@@ -35995,6 +36467,93 @@ export type CanvasCanvasVersion = {
|
|
|
35995
36467
|
*/
|
|
35996
36468
|
restored_from: string | null;
|
|
35997
36469
|
};
|
|
36470
|
+
export type CanvasComponentRef = {
|
|
36471
|
+
/**
|
|
36472
|
+
* Node id of the component's root frame in the library canvas.
|
|
36473
|
+
*/
|
|
36474
|
+
id: string;
|
|
36475
|
+
/**
|
|
36476
|
+
* The component's name, or its id when it has no name.
|
|
36477
|
+
*/
|
|
36478
|
+
name: string;
|
|
36479
|
+
};
|
|
36480
|
+
export type CanvasLibraryVersion = {
|
|
36481
|
+
/**
|
|
36482
|
+
* Library version number, counting from 1.
|
|
36483
|
+
*/
|
|
36484
|
+
version: string;
|
|
36485
|
+
/**
|
|
36486
|
+
* The canvas version this library version was taken from.
|
|
36487
|
+
*/
|
|
36488
|
+
canvas_version: string;
|
|
36489
|
+
/**
|
|
36490
|
+
* Release note given at publish time; empty when none was given.
|
|
36491
|
+
*/
|
|
36492
|
+
description: string;
|
|
36493
|
+
/**
|
|
36494
|
+
* Principal that published this version, resolved from the authenticated caller.
|
|
36495
|
+
*/
|
|
36496
|
+
actor: {
|
|
36497
|
+
/**
|
|
36498
|
+
* Identifier of the user or agent that published.
|
|
36499
|
+
*/
|
|
36500
|
+
id: string;
|
|
36501
|
+
/**
|
|
36502
|
+
* Principal category; human identifies a person using Console, agent an automated API caller.
|
|
36503
|
+
*/
|
|
36504
|
+
kind: 'human' | 'agent';
|
|
36505
|
+
/**
|
|
36506
|
+
* Display label recorded for the principal when publishing.
|
|
36507
|
+
*/
|
|
36508
|
+
name: string;
|
|
36509
|
+
};
|
|
36510
|
+
/**
|
|
36511
|
+
* ISO 8601 time at which this version was published.
|
|
36512
|
+
*/
|
|
36513
|
+
published_at: string;
|
|
36514
|
+
/**
|
|
36515
|
+
* Number of components in this version, not counting removed ones.
|
|
36516
|
+
*/
|
|
36517
|
+
component_count: number;
|
|
36518
|
+
/**
|
|
36519
|
+
* Components new in this version.
|
|
36520
|
+
*/
|
|
36521
|
+
added: Array<CanvasComponentRef>;
|
|
36522
|
+
/**
|
|
36523
|
+
* Components whose content changed in this version.
|
|
36524
|
+
*/
|
|
36525
|
+
changed: Array<CanvasComponentRef>;
|
|
36526
|
+
/**
|
|
36527
|
+
* Components removed in this version.
|
|
36528
|
+
*/
|
|
36529
|
+
removed: Array<CanvasComponentRef>;
|
|
36530
|
+
};
|
|
36531
|
+
export type CanvasLibrarySummary = {
|
|
36532
|
+
/**
|
|
36533
|
+
* The library's canvas id; use it as canvas_id in library_versions and publish.
|
|
36534
|
+
*/
|
|
36535
|
+
canvas_id: string;
|
|
36536
|
+
/**
|
|
36537
|
+
* The library canvas's display name.
|
|
36538
|
+
*/
|
|
36539
|
+
name: string;
|
|
36540
|
+
/**
|
|
36541
|
+
* Latest published library version.
|
|
36542
|
+
*/
|
|
36543
|
+
version: string;
|
|
36544
|
+
/**
|
|
36545
|
+
* ISO 8601 time at which the latest version was published.
|
|
36546
|
+
*/
|
|
36547
|
+
published_at: string;
|
|
36548
|
+
/**
|
|
36549
|
+
* Number of components in the latest version.
|
|
36550
|
+
*/
|
|
36551
|
+
component_count: number;
|
|
36552
|
+
/**
|
|
36553
|
+
* Number of live canvases that import this library.
|
|
36554
|
+
*/
|
|
36555
|
+
used_by: number;
|
|
36556
|
+
};
|
|
35998
36557
|
/**
|
|
35999
36558
|
* The settings a create accepts; only source is required, and the other groups keep their defaults when omitted.
|
|
36000
36559
|
*/
|
|
@@ -39579,6 +40138,27 @@ export type MediaProvenance = {
|
|
|
39579
40138
|
*/
|
|
39580
40139
|
pipeline_run_id?: string;
|
|
39581
40140
|
};
|
|
40141
|
+
/**
|
|
40142
|
+
* How this asset came to be when it is the recording of a live broadcast: the stream it was recorded from and when the broadcast started and ended. A recording is the broadcast’s own picture and sound, not generated content, so such an asset is never marked ai_generated.
|
|
40143
|
+
*/
|
|
40144
|
+
export type MediaRecordingProvenance = {
|
|
40145
|
+
/**
|
|
40146
|
+
* Always live_recording; it tells this record apart from the provenance of a generated or edited asset.
|
|
40147
|
+
*/
|
|
40148
|
+
kind: 'live_recording';
|
|
40149
|
+
/**
|
|
40150
|
+
* Identifier of the live stream that was recorded (mst_ followed by 26 characters). List a library’s assets with live_stream_id to find every recording of one stream.
|
|
40151
|
+
*/
|
|
40152
|
+
live_stream_id: string;
|
|
40153
|
+
/**
|
|
40154
|
+
* When the recorded broadcast began, as an RFC 3339 UTC timestamp. A stream recorded in several broadcasts has one asset per broadcast, each with its own start.
|
|
40155
|
+
*/
|
|
40156
|
+
broadcast_started_at: MediaIsoTimestamp;
|
|
40157
|
+
/**
|
|
40158
|
+
* When the recorded broadcast ended, as an RFC 3339 UTC timestamp.
|
|
40159
|
+
*/
|
|
40160
|
+
broadcast_ended_at: MediaIsoTimestamp;
|
|
40161
|
+
};
|
|
39582
40162
|
/**
|
|
39583
40163
|
* One dominant colour of an analysed image.
|
|
39584
40164
|
*/
|
|
@@ -40022,7 +40602,7 @@ export type MediaSearchAsset = {
|
|
|
40022
40602
|
/**
|
|
40023
40603
|
* How this asset was generated or edited, including the model, prompt and references. Omitted on uploaded, imported and legacy assets.
|
|
40024
40604
|
*/
|
|
40025
|
-
provenance?: MediaProvenance;
|
|
40605
|
+
provenance?: MediaProvenance | MediaRecordingProvenance;
|
|
40026
40606
|
/**
|
|
40027
40607
|
* Console page that shows this asset in the media library: https://console.deepraxis.com/media/{library_id}?asset_id={asset_id} (the console host carries the environment, for example console-develop on develop). Give this link to a person instead of the bare asset_id.
|
|
40028
40608
|
*/
|
|
@@ -50019,7 +50599,7 @@ export type MediaAssetWritable = {
|
|
|
50019
50599
|
/**
|
|
50020
50600
|
* How this asset was generated or edited, including the model, prompt and references. Omitted on uploaded, imported and legacy assets.
|
|
50021
50601
|
*/
|
|
50022
|
-
provenance?: MediaProvenance;
|
|
50602
|
+
provenance?: MediaProvenance | MediaRecordingProvenance;
|
|
50023
50603
|
/**
|
|
50024
50604
|
* Console page that shows this asset in the media library: https://console.deepraxis.com/media/{library_id}?asset_id={asset_id} (the console host carries the environment, for example console-develop on develop). Give this link to a person instead of the bare asset_id.
|
|
50025
50605
|
*/
|
|
@@ -50576,7 +51156,7 @@ export type MediaSearchAssetWritable = {
|
|
|
50576
51156
|
/**
|
|
50577
51157
|
* How this asset was generated or edited, including the model, prompt and references. Omitted on uploaded, imported and legacy assets.
|
|
50578
51158
|
*/
|
|
50579
|
-
provenance?: MediaProvenance;
|
|
51159
|
+
provenance?: MediaProvenance | MediaRecordingProvenance;
|
|
50580
51160
|
/**
|
|
50581
51161
|
* Console page that shows this asset in the media library: https://console.deepraxis.com/media/{library_id}?asset_id={asset_id} (the console host carries the environment, for example console-develop on develop). Give this link to a person instead of the bare asset_id.
|
|
50582
51162
|
*/
|
|
@@ -70091,6 +70671,291 @@ export type MetaDocsSearchResponses = {
|
|
|
70091
70671
|
}>;
|
|
70092
70672
|
};
|
|
70093
70673
|
export type MetaDocsSearchResponse = MetaDocsSearchResponses[keyof MetaDocsSearchResponses];
|
|
70674
|
+
export type ListMediaStreamsData = {
|
|
70675
|
+
body?: never;
|
|
70676
|
+
path?: never;
|
|
70677
|
+
query?: {
|
|
70678
|
+
/**
|
|
70679
|
+
* How many streams one page holds, 1 to 100; default 20.
|
|
70680
|
+
*/
|
|
70681
|
+
limit?: number;
|
|
70682
|
+
/**
|
|
70683
|
+
* 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.
|
|
70684
|
+
*/
|
|
70685
|
+
starting_after?: string;
|
|
70686
|
+
};
|
|
70687
|
+
url: '/media/v1/streams';
|
|
70688
|
+
};
|
|
70689
|
+
export type ListMediaStreamsErrors = {
|
|
70690
|
+
/**
|
|
70691
|
+
* limit is not an integer from 1 to 100, or starting_after is not a stream of your organization. Correct the parameter and send again.
|
|
70692
|
+
*/
|
|
70693
|
+
400: MediaStreamError;
|
|
70694
|
+
/**
|
|
70695
|
+
* The request carries no valid API key or session. Send a key of your organization.
|
|
70696
|
+
*/
|
|
70697
|
+
401: MediaStreamError;
|
|
70698
|
+
/**
|
|
70699
|
+
* Media Streams is not released for your organization (flag media-streams-public is off).
|
|
70700
|
+
*/
|
|
70701
|
+
404: MediaStreamError;
|
|
70702
|
+
};
|
|
70703
|
+
export type ListMediaStreamsError = ListMediaStreamsErrors[keyof ListMediaStreamsErrors];
|
|
70704
|
+
export type ListMediaStreamsResponses = {
|
|
70705
|
+
/**
|
|
70706
|
+
* One page of streams, newest first; has_more says whether another page follows.
|
|
70707
|
+
*/
|
|
70708
|
+
200: MediaStreamList;
|
|
70709
|
+
};
|
|
70710
|
+
export type ListMediaStreamsResponse = ListMediaStreamsResponses[keyof ListMediaStreamsResponses];
|
|
70711
|
+
export type CreateMediaStreamData = {
|
|
70712
|
+
body: CreateMediaStreamRequest;
|
|
70713
|
+
path?: never;
|
|
70714
|
+
query?: never;
|
|
70715
|
+
url: '/media/v1/streams';
|
|
70716
|
+
};
|
|
70717
|
+
export type CreateMediaStreamErrors = {
|
|
70718
|
+
/**
|
|
70719
|
+
* A field is invalid: the error names it (for example input.url when the address is SRT or not https, http, rtmp or rtmps, or reconnect_window_s outside 0 to 1800). Correct that field and send again.
|
|
70720
|
+
*/
|
|
70721
|
+
400: MediaStreamError;
|
|
70722
|
+
/**
|
|
70723
|
+
* The request carries no valid API key or session. Send a key of your organization.
|
|
70724
|
+
*/
|
|
70725
|
+
401: MediaStreamError;
|
|
70726
|
+
/**
|
|
70727
|
+
* Media Streams is not released for your organization (flag media-streams-public is off). Ask the platform to enable it, or use another surface.
|
|
70728
|
+
*/
|
|
70729
|
+
404: MediaStreamError;
|
|
70730
|
+
/**
|
|
70731
|
+
* This is a push stream and push is not available in this environment; create a pull stream, or retry later.
|
|
70732
|
+
*/
|
|
70733
|
+
503: MediaStreamError;
|
|
70734
|
+
};
|
|
70735
|
+
export type CreateMediaStreamError = CreateMediaStreamErrors[keyof CreateMediaStreamErrors];
|
|
70736
|
+
export type CreateMediaStreamResponses = {
|
|
70737
|
+
/**
|
|
70738
|
+
* The stream, idle. A push stream also carries push; keep its token, it is not shown again by streams.retrieve.
|
|
70739
|
+
*/
|
|
70740
|
+
201: MediaStreamWithPush;
|
|
70741
|
+
};
|
|
70742
|
+
export type CreateMediaStreamResponse = CreateMediaStreamResponses[keyof CreateMediaStreamResponses];
|
|
70743
|
+
export type DeleteMediaStreamData = {
|
|
70744
|
+
body?: never;
|
|
70745
|
+
path: {
|
|
70746
|
+
/**
|
|
70747
|
+
* 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.
|
|
70748
|
+
*/
|
|
70749
|
+
stream_id: string;
|
|
70750
|
+
};
|
|
70751
|
+
query?: never;
|
|
70752
|
+
url: '/media/v1/streams/{stream_id}';
|
|
70753
|
+
};
|
|
70754
|
+
export type DeleteMediaStreamErrors = {
|
|
70755
|
+
/**
|
|
70756
|
+
* No stream with this id in your organization, or Media Streams is not released for it.
|
|
70757
|
+
*/
|
|
70758
|
+
404: MediaStreamError;
|
|
70759
|
+
/**
|
|
70760
|
+
* The stream is waiting or active. Call streams.disable.create first, then delete it.
|
|
70761
|
+
*/
|
|
70762
|
+
409: MediaStreamError;
|
|
70763
|
+
};
|
|
70764
|
+
export type DeleteMediaStreamError = DeleteMediaStreamErrors[keyof DeleteMediaStreamErrors];
|
|
70765
|
+
export type DeleteMediaStreamResponses = {
|
|
70766
|
+
/**
|
|
70767
|
+
* The stream is deleted.
|
|
70768
|
+
*/
|
|
70769
|
+
200: MediaStreamDeleted;
|
|
70770
|
+
};
|
|
70771
|
+
export type DeleteMediaStreamResponse = DeleteMediaStreamResponses[keyof DeleteMediaStreamResponses];
|
|
70772
|
+
export type GetMediaStreamData = {
|
|
70773
|
+
body?: never;
|
|
70774
|
+
path: {
|
|
70775
|
+
/**
|
|
70776
|
+
* 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.
|
|
70777
|
+
*/
|
|
70778
|
+
stream_id: string;
|
|
70779
|
+
};
|
|
70780
|
+
query?: never;
|
|
70781
|
+
url: '/media/v1/streams/{stream_id}';
|
|
70782
|
+
};
|
|
70783
|
+
export type GetMediaStreamErrors = {
|
|
70784
|
+
/**
|
|
70785
|
+
* The request carries no valid API key or session. Send a key of your organization.
|
|
70786
|
+
*/
|
|
70787
|
+
401: MediaStreamError;
|
|
70788
|
+
/**
|
|
70789
|
+
* No stream with this id in your organization, or Media Streams is not released for it. List your streams to find the id.
|
|
70790
|
+
*/
|
|
70791
|
+
404: MediaStreamError;
|
|
70792
|
+
};
|
|
70793
|
+
export type GetMediaStreamError = GetMediaStreamErrors[keyof GetMediaStreamErrors];
|
|
70794
|
+
export type GetMediaStreamResponses = {
|
|
70795
|
+
/**
|
|
70796
|
+
* The stream as it is now.
|
|
70797
|
+
*/
|
|
70798
|
+
200: MediaStream;
|
|
70799
|
+
};
|
|
70800
|
+
export type GetMediaStreamResponse = GetMediaStreamResponses[keyof GetMediaStreamResponses];
|
|
70801
|
+
export type UpdateMediaStreamData = {
|
|
70802
|
+
body: UpdateMediaStreamRequest;
|
|
70803
|
+
path: {
|
|
70804
|
+
/**
|
|
70805
|
+
* 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.
|
|
70806
|
+
*/
|
|
70807
|
+
stream_id: string;
|
|
70808
|
+
};
|
|
70809
|
+
query?: never;
|
|
70810
|
+
url: '/media/v1/streams/{stream_id}';
|
|
70811
|
+
};
|
|
70812
|
+
export type UpdateMediaStreamErrors = {
|
|
70813
|
+
/**
|
|
70814
|
+
* The patch is empty, carries an unknown field or an invalid value (the error names the field). Correct it and send again.
|
|
70815
|
+
*/
|
|
70816
|
+
400: MediaStreamError;
|
|
70817
|
+
/**
|
|
70818
|
+
* No stream with this id in your organization, or Media Streams is not released for it.
|
|
70819
|
+
*/
|
|
70820
|
+
404: MediaStreamError;
|
|
70821
|
+
/**
|
|
70822
|
+
* The source of a waiting or active pull stream cannot change. Disable the stream with streams.disable.create, change it, then enable it again.
|
|
70823
|
+
*/
|
|
70824
|
+
409: MediaStreamError;
|
|
70825
|
+
};
|
|
70826
|
+
export type UpdateMediaStreamError = UpdateMediaStreamErrors[keyof UpdateMediaStreamErrors];
|
|
70827
|
+
export type UpdateMediaStreamResponses = {
|
|
70828
|
+
/**
|
|
70829
|
+
* The stream after the change.
|
|
70830
|
+
*/
|
|
70831
|
+
200: MediaStream;
|
|
70832
|
+
};
|
|
70833
|
+
export type UpdateMediaStreamResponse = UpdateMediaStreamResponses[keyof UpdateMediaStreamResponses];
|
|
70834
|
+
export type EnableMediaStreamData = {
|
|
70835
|
+
body?: never;
|
|
70836
|
+
path: {
|
|
70837
|
+
/**
|
|
70838
|
+
* 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.
|
|
70839
|
+
*/
|
|
70840
|
+
stream_id: string;
|
|
70841
|
+
};
|
|
70842
|
+
query?: never;
|
|
70843
|
+
url: '/media/v1/streams/{stream_id}/enable';
|
|
70844
|
+
};
|
|
70845
|
+
export type EnableMediaStreamErrors = {
|
|
70846
|
+
/**
|
|
70847
|
+
* No stream with this id in your organization, or Media Streams is not released for it.
|
|
70848
|
+
*/
|
|
70849
|
+
404: MediaStreamError;
|
|
70850
|
+
/**
|
|
70851
|
+
* The stream is not disabled; only a disabled stream can be enabled.
|
|
70852
|
+
*/
|
|
70853
|
+
409: MediaStreamError;
|
|
70854
|
+
};
|
|
70855
|
+
export type EnableMediaStreamError = EnableMediaStreamErrors[keyof EnableMediaStreamErrors];
|
|
70856
|
+
export type EnableMediaStreamResponses = {
|
|
70857
|
+
/**
|
|
70858
|
+
* The stream, now idle.
|
|
70859
|
+
*/
|
|
70860
|
+
200: MediaStream;
|
|
70861
|
+
};
|
|
70862
|
+
export type EnableMediaStreamResponse = EnableMediaStreamResponses[keyof EnableMediaStreamResponses];
|
|
70863
|
+
export type DisableMediaStreamData = {
|
|
70864
|
+
body?: never;
|
|
70865
|
+
path: {
|
|
70866
|
+
/**
|
|
70867
|
+
* 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.
|
|
70868
|
+
*/
|
|
70869
|
+
stream_id: string;
|
|
70870
|
+
};
|
|
70871
|
+
query?: never;
|
|
70872
|
+
url: '/media/v1/streams/{stream_id}/disable';
|
|
70873
|
+
};
|
|
70874
|
+
export type DisableMediaStreamErrors = {
|
|
70875
|
+
/**
|
|
70876
|
+
* No stream with this id in your organization, or Media Streams is not released for it.
|
|
70877
|
+
*/
|
|
70878
|
+
404: MediaStreamError;
|
|
70879
|
+
};
|
|
70880
|
+
export type DisableMediaStreamError = DisableMediaStreamErrors[keyof DisableMediaStreamErrors];
|
|
70881
|
+
export type DisableMediaStreamResponses = {
|
|
70882
|
+
/**
|
|
70883
|
+
* The stream, now disabled.
|
|
70884
|
+
*/
|
|
70885
|
+
200: MediaStream;
|
|
70886
|
+
};
|
|
70887
|
+
export type DisableMediaStreamResponse = DisableMediaStreamResponses[keyof DisableMediaStreamResponses];
|
|
70888
|
+
export type ResetMediaStreamTokenData = {
|
|
70889
|
+
body?: never;
|
|
70890
|
+
path: {
|
|
70891
|
+
/**
|
|
70892
|
+
* 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.
|
|
70893
|
+
*/
|
|
70894
|
+
stream_id: string;
|
|
70895
|
+
};
|
|
70896
|
+
query?: never;
|
|
70897
|
+
url: '/media/v1/streams/{stream_id}/reset-token';
|
|
70898
|
+
};
|
|
70899
|
+
export type ResetMediaStreamTokenErrors = {
|
|
70900
|
+
/**
|
|
70901
|
+
* No stream with this id in your organization, or Media Streams is not released for it.
|
|
70902
|
+
*/
|
|
70903
|
+
404: MediaStreamError;
|
|
70904
|
+
/**
|
|
70905
|
+
* The stream is a pull stream and has no push token.
|
|
70906
|
+
*/
|
|
70907
|
+
409: MediaStreamError;
|
|
70908
|
+
/**
|
|
70909
|
+
* Push is not available in this environment; retry later.
|
|
70910
|
+
*/
|
|
70911
|
+
503: MediaStreamError;
|
|
70912
|
+
};
|
|
70913
|
+
export type ResetMediaStreamTokenError = ResetMediaStreamTokenErrors[keyof ResetMediaStreamTokenErrors];
|
|
70914
|
+
export type ResetMediaStreamTokenResponses = {
|
|
70915
|
+
/**
|
|
70916
|
+
* The stream with its new push credential.
|
|
70917
|
+
*/
|
|
70918
|
+
200: MediaStreamWithPush;
|
|
70919
|
+
};
|
|
70920
|
+
export type ResetMediaStreamTokenResponse = ResetMediaStreamTokenResponses[keyof ResetMediaStreamTokenResponses];
|
|
70921
|
+
export type ListMediaStreamEventsData = {
|
|
70922
|
+
body?: never;
|
|
70923
|
+
path: {
|
|
70924
|
+
/**
|
|
70925
|
+
* 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.
|
|
70926
|
+
*/
|
|
70927
|
+
stream_id: string;
|
|
70928
|
+
};
|
|
70929
|
+
query?: {
|
|
70930
|
+
/**
|
|
70931
|
+
* 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.
|
|
70932
|
+
*/
|
|
70933
|
+
after?: number;
|
|
70934
|
+
/**
|
|
70935
|
+
* How many events one page holds, 1 to 100; default 100.
|
|
70936
|
+
*/
|
|
70937
|
+
limit?: number;
|
|
70938
|
+
};
|
|
70939
|
+
url: '/media/v1/streams/{stream_id}/events';
|
|
70940
|
+
};
|
|
70941
|
+
export type ListMediaStreamEventsErrors = {
|
|
70942
|
+
/**
|
|
70943
|
+
* after is not a sequence number, or limit is not an integer from 1 to 100. Correct the parameter and send again.
|
|
70944
|
+
*/
|
|
70945
|
+
400: MediaStreamError;
|
|
70946
|
+
/**
|
|
70947
|
+
* No stream with this id in your organization, or Media Streams is not released for it.
|
|
70948
|
+
*/
|
|
70949
|
+
404: MediaStreamError;
|
|
70950
|
+
};
|
|
70951
|
+
export type ListMediaStreamEventsError = ListMediaStreamEventsErrors[keyof ListMediaStreamEventsErrors];
|
|
70952
|
+
export type ListMediaStreamEventsResponses = {
|
|
70953
|
+
/**
|
|
70954
|
+
* The events after the given seq, oldest first.
|
|
70955
|
+
*/
|
|
70956
|
+
200: MediaStreamEventList;
|
|
70957
|
+
};
|
|
70958
|
+
export type ListMediaStreamEventsResponse = ListMediaStreamEventsResponses[keyof ListMediaStreamEventsResponses];
|
|
70094
70959
|
export type ListModelsData = {
|
|
70095
70960
|
body?: never;
|
|
70096
70961
|
path?: never;
|
|
@@ -78212,6 +79077,24 @@ export type DissolveOrganizationDepartmentResponses = {
|
|
|
78212
79077
|
200: OrganizationDepartment;
|
|
78213
79078
|
};
|
|
78214
79079
|
export type DissolveOrganizationDepartmentResponse = DissolveOrganizationDepartmentResponses[keyof DissolveOrganizationDepartmentResponses];
|
|
79080
|
+
export type AmendOrganizationDepartmentCharterData = {
|
|
79081
|
+
body?: never;
|
|
79082
|
+
path: {
|
|
79083
|
+
/**
|
|
79084
|
+
* Department id (dept_...) whose charter used to change here.
|
|
79085
|
+
*/
|
|
79086
|
+
id: string;
|
|
79087
|
+
};
|
|
79088
|
+
query?: never;
|
|
79089
|
+
url: '/workforce/v1/departments/{id}/charter';
|
|
79090
|
+
};
|
|
79091
|
+
export type AmendOrganizationDepartmentCharterErrors = {
|
|
79092
|
+
/**
|
|
79093
|
+
* DEPARTMENT_CHARTER_GONE; this route was removed in
|
|
79094
|
+
*/
|
|
79095
|
+
410: OrganizationProblem;
|
|
79096
|
+
};
|
|
79097
|
+
export type AmendOrganizationDepartmentCharterError = AmendOrganizationDepartmentCharterErrors[keyof AmendOrganizationDepartmentCharterErrors];
|
|
78215
79098
|
export type ListOrganizationJobsData = {
|
|
78216
79099
|
body?: never;
|
|
78217
79100
|
path?: never;
|
|
@@ -98017,6 +98900,10 @@ export type CanvasListCanvasesData = {
|
|
|
98017
98900
|
* 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.
|
|
98018
98901
|
*/
|
|
98019
98902
|
collection_id?: string;
|
|
98903
|
+
/**
|
|
98904
|
+
* 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.
|
|
98905
|
+
*/
|
|
98906
|
+
library?: boolean;
|
|
98020
98907
|
};
|
|
98021
98908
|
url: '/canvas/v1/canvases';
|
|
98022
98909
|
};
|
|
@@ -98678,6 +99565,255 @@ export type CanvasRestoreCanvasResponses = {
|
|
|
98678
99565
|
200: CanvasRestoreResult;
|
|
98679
99566
|
};
|
|
98680
99567
|
export type CanvasRestoreCanvasResponse = CanvasRestoreCanvasResponses[keyof CanvasRestoreCanvasResponses];
|
|
99568
|
+
export type CanvasPublishLibraryData = {
|
|
99569
|
+
/**
|
|
99570
|
+
* Optional release note and an optional guard against publishing a canvas that changed after you last looked.
|
|
99571
|
+
*/
|
|
99572
|
+
body?: CanvasPublishLibraryInput;
|
|
99573
|
+
path: {
|
|
99574
|
+
/**
|
|
99575
|
+
* Canvas id returned by create or list, in the form cvs_ followed by 16 lowercase letters or digits; a display name is not accepted.
|
|
99576
|
+
*/
|
|
99577
|
+
canvas_id: string;
|
|
99578
|
+
};
|
|
99579
|
+
query?: never;
|
|
99580
|
+
url: '/canvas/v1/canvases/{canvas_id}:publish';
|
|
99581
|
+
};
|
|
99582
|
+
export type CanvasPublishLibraryErrors = {
|
|
99583
|
+
/**
|
|
99584
|
+
* INVALID_PARAMS means the canvas has no reusable components to publish, or description exceeds 2000 characters; mark a frame as reusable or correct the input before retrying.
|
|
99585
|
+
*/
|
|
99586
|
+
400: CanvasCanvasError;
|
|
99587
|
+
/**
|
|
99588
|
+
* The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
|
|
99589
|
+
*/
|
|
99590
|
+
401: CanvasCanvasError;
|
|
99591
|
+
/**
|
|
99592
|
+
* FEATURE_DISABLED means component libraries are not enabled for this organization yet; nothing was changed. Any other 403 means the API key lacks permission for this operation.
|
|
99593
|
+
*/
|
|
99594
|
+
403: CanvasCanvasError;
|
|
99595
|
+
/**
|
|
99596
|
+
* CANVAS_NOT_FOUND means the canvas does not exist, was deleted or belongs to another organization; choose an accessible canvas id from list or create a new canvas.
|
|
99597
|
+
*/
|
|
99598
|
+
404: CanvasCanvasError;
|
|
99599
|
+
/**
|
|
99600
|
+
* LIBRARY_UNCHANGED means no component, variable or theme differs from the latest published version; edit the canvas first. REVISION_CONFLICT means expected_version is stale; read the current version in error.details.version and retry with it.
|
|
99601
|
+
*/
|
|
99602
|
+
409: CanvasCanvasError;
|
|
99603
|
+
/**
|
|
99604
|
+
* INTERNAL means the service could not complete the request; inspect the current canvas before retrying a write to avoid duplicating an already committed edit.
|
|
99605
|
+
*/
|
|
99606
|
+
500: CanvasCanvasError;
|
|
99607
|
+
};
|
|
99608
|
+
export type CanvasPublishLibraryError = CanvasPublishLibraryErrors[keyof CanvasPublishLibraryErrors];
|
|
99609
|
+
export type CanvasPublishLibraryResponses = {
|
|
99610
|
+
/**
|
|
99611
|
+
* The new library version and what it changed relative to the previous one.
|
|
99612
|
+
*/
|
|
99613
|
+
200: CanvasPublishLibraryResult;
|
|
99614
|
+
};
|
|
99615
|
+
export type CanvasPublishLibraryResponse = CanvasPublishLibraryResponses[keyof CanvasPublishLibraryResponses];
|
|
99616
|
+
export type CanvasListLibraryVersionsData = {
|
|
99617
|
+
body?: never;
|
|
99618
|
+
path: {
|
|
99619
|
+
/**
|
|
99620
|
+
* Canvas id returned by create or list, in the form cvs_ followed by 16 lowercase letters or digits; a display name is not accepted.
|
|
99621
|
+
*/
|
|
99622
|
+
canvas_id: string;
|
|
99623
|
+
};
|
|
99624
|
+
query?: {
|
|
99625
|
+
/**
|
|
99626
|
+
* Maximum library versions to return, from 1 to 100 inclusive; omission uses 30.
|
|
99627
|
+
*/
|
|
99628
|
+
limit?: number;
|
|
99629
|
+
/**
|
|
99630
|
+
* Copy next_cursor from the preceding page to continue toward older library versions; omit for the first page.
|
|
99631
|
+
*/
|
|
99632
|
+
cursor?: string;
|
|
99633
|
+
};
|
|
99634
|
+
url: '/canvas/v1/canvases/{canvas_id}/library_versions';
|
|
99635
|
+
};
|
|
99636
|
+
export type CanvasListLibraryVersionsErrors = {
|
|
99637
|
+
/**
|
|
99638
|
+
* INVALID_PARAMS means limit is outside 1–100; correct it. INVALID_PAGE_TOKEN means cursor is invalid; restart listing without a cursor.
|
|
99639
|
+
*/
|
|
99640
|
+
400: CanvasCanvasError;
|
|
99641
|
+
/**
|
|
99642
|
+
* The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
|
|
99643
|
+
*/
|
|
99644
|
+
401: CanvasCanvasError;
|
|
99645
|
+
/**
|
|
99646
|
+
* FEATURE_DISABLED means component libraries are not enabled for this organization yet; nothing was changed. Any other 403 means the API key lacks permission for this operation.
|
|
99647
|
+
*/
|
|
99648
|
+
403: CanvasCanvasError;
|
|
99649
|
+
/**
|
|
99650
|
+
* CANVAS_NOT_FOUND means the canvas does not exist, was deleted or belongs to another organization; choose an accessible canvas id from list or create a new canvas.
|
|
99651
|
+
*/
|
|
99652
|
+
404: CanvasCanvasError;
|
|
99653
|
+
/**
|
|
99654
|
+
* NOT_A_LIBRARY means the canvas has never been published; publish it first with canvases.publish.
|
|
99655
|
+
*/
|
|
99656
|
+
409: CanvasCanvasError;
|
|
99657
|
+
/**
|
|
99658
|
+
* INTERNAL means the service could not complete the request; inspect the current canvas before retrying a write to avoid duplicating an already committed edit.
|
|
99659
|
+
*/
|
|
99660
|
+
500: CanvasCanvasError;
|
|
99661
|
+
};
|
|
99662
|
+
export type CanvasListLibraryVersionsError = CanvasListLibraryVersionsErrors[keyof CanvasListLibraryVersionsErrors];
|
|
99663
|
+
export type CanvasListLibraryVersionsResponses = {
|
|
99664
|
+
/**
|
|
99665
|
+
* Published library versions ordered newest first, and the continuation cursor.
|
|
99666
|
+
*/
|
|
99667
|
+
200: CanvasLibraryVersionPage;
|
|
99668
|
+
};
|
|
99669
|
+
export type CanvasListLibraryVersionsResponse = CanvasListLibraryVersionsResponses[keyof CanvasListLibraryVersionsResponses];
|
|
99670
|
+
export type CanvasListLibrariesData = {
|
|
99671
|
+
body?: never;
|
|
99672
|
+
path?: never;
|
|
99673
|
+
query?: {
|
|
99674
|
+
/**
|
|
99675
|
+
* Keep only libraries whose name contains this text, ignoring case; omit to list every library.
|
|
99676
|
+
*/
|
|
99677
|
+
query?: string;
|
|
99678
|
+
/**
|
|
99679
|
+
* Maximum libraries to return per page, from 1 to 100; defaults to 50 when omitted.
|
|
99680
|
+
*/
|
|
99681
|
+
limit?: number;
|
|
99682
|
+
/**
|
|
99683
|
+
* Opaque next_cursor from the preceding list response; omit for the first page and stop when next_cursor is null.
|
|
99684
|
+
*/
|
|
99685
|
+
cursor?: string;
|
|
99686
|
+
};
|
|
99687
|
+
url: '/canvas/v1/libraries';
|
|
99688
|
+
};
|
|
99689
|
+
export type CanvasListLibrariesErrors = {
|
|
99690
|
+
/**
|
|
99691
|
+
* INVALID_PARAMS means a field, query value or identifier violates the documented format or range; correct the indicated input before retrying.
|
|
99692
|
+
*/
|
|
99693
|
+
400: CanvasCanvasError;
|
|
99694
|
+
/**
|
|
99695
|
+
* The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
|
|
99696
|
+
*/
|
|
99697
|
+
401: CanvasCanvasError;
|
|
99698
|
+
/**
|
|
99699
|
+
* FEATURE_DISABLED means component libraries are not enabled for this organization yet; nothing was changed. Any other 403 means the API key lacks permission for this operation.
|
|
99700
|
+
*/
|
|
99701
|
+
403: CanvasCanvasError;
|
|
99702
|
+
/**
|
|
99703
|
+
* INTERNAL means the service could not complete the request; inspect the current canvas before retrying a write to avoid duplicating an already committed edit.
|
|
99704
|
+
*/
|
|
99705
|
+
500: CanvasCanvasError;
|
|
99706
|
+
};
|
|
99707
|
+
export type CanvasListLibrariesError = CanvasListLibrariesErrors[keyof CanvasListLibrariesErrors];
|
|
99708
|
+
export type CanvasListLibrariesResponses = {
|
|
99709
|
+
/**
|
|
99710
|
+
* One page of the organization's libraries, most recently published first.
|
|
99711
|
+
*/
|
|
99712
|
+
200: CanvasLibraryPage;
|
|
99713
|
+
};
|
|
99714
|
+
export type CanvasListLibrariesResponse = CanvasListLibrariesResponses[keyof CanvasListLibrariesResponses];
|
|
99715
|
+
export type CanvasSetImportData = {
|
|
99716
|
+
/**
|
|
99717
|
+
* The alias to import under, the library canvas and optionally the library version to use.
|
|
99718
|
+
*/
|
|
99719
|
+
body: CanvasSetImportInput;
|
|
99720
|
+
path: {
|
|
99721
|
+
/**
|
|
99722
|
+
* Canvas id returned by create or list, in the form cvs_ followed by 16 lowercase letters or digits; a display name is not accepted.
|
|
99723
|
+
*/
|
|
99724
|
+
canvas_id: string;
|
|
99725
|
+
};
|
|
99726
|
+
query?: never;
|
|
99727
|
+
url: '/canvas/v1/canvases/{canvas_id}/imports';
|
|
99728
|
+
};
|
|
99729
|
+
export type CanvasSetImportErrors = {
|
|
99730
|
+
/**
|
|
99731
|
+
* INVALID_PARAMS means alias is not 1-32 characters of a lower-case letter followed by lower-case letters, digits or hyphens, the canvas would import itself, this canvas is itself a library, the library is already imported under another alias, or the alias already names another library. Correct the input before retrying.
|
|
99732
|
+
*/
|
|
99733
|
+
400: CanvasCanvasError;
|
|
99734
|
+
/**
|
|
99735
|
+
* The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
|
|
99736
|
+
*/
|
|
99737
|
+
401: CanvasCanvasError;
|
|
99738
|
+
/**
|
|
99739
|
+
* FEATURE_DISABLED means component libraries are not enabled for this organization yet; nothing was changed. Any other 403 means the API key lacks permission for this operation.
|
|
99740
|
+
*/
|
|
99741
|
+
403: CanvasCanvasError;
|
|
99742
|
+
/**
|
|
99743
|
+
* CANVAS_NOT_FOUND means the canvas or the library is missing or belongs to another organization. VERSION_NOT_FOUND means the library has no such version; read library_versions for the published ones.
|
|
99744
|
+
*/
|
|
99745
|
+
404: CanvasCanvasError;
|
|
99746
|
+
/**
|
|
99747
|
+
* NOT_A_LIBRARY means the library canvas has never been published; publish it first. REVISION_CONFLICT means expected_version is stale; read the current version in error.details.version and retry.
|
|
99748
|
+
*/
|
|
99749
|
+
409: CanvasCanvasError;
|
|
99750
|
+
/**
|
|
99751
|
+
* INTERNAL means the service could not complete the request; inspect the current canvas before retrying a write to avoid duplicating an already committed edit.
|
|
99752
|
+
*/
|
|
99753
|
+
500: CanvasCanvasError;
|
|
99754
|
+
};
|
|
99755
|
+
export type CanvasSetImportError = CanvasSetImportErrors[keyof CanvasSetImportErrors];
|
|
99756
|
+
export type CanvasSetImportResponses = {
|
|
99757
|
+
/**
|
|
99758
|
+
* The canvas version after the import and the library version now in use.
|
|
99759
|
+
*/
|
|
99760
|
+
200: CanvasSetImportResult;
|
|
99761
|
+
};
|
|
99762
|
+
export type CanvasSetImportResponse = CanvasSetImportResponses[keyof CanvasSetImportResponses];
|
|
99763
|
+
export type CanvasDeleteImportData = {
|
|
99764
|
+
body?: never;
|
|
99765
|
+
path: {
|
|
99766
|
+
/**
|
|
99767
|
+
* Canvas id returned by create or list, in the form cvs_ followed by 16 lowercase letters or digits; a display name is not accepted.
|
|
99768
|
+
*/
|
|
99769
|
+
canvas_id: string;
|
|
99770
|
+
/**
|
|
99771
|
+
* The alias the library was imported under, as shown in imports of retrieve.
|
|
99772
|
+
*/
|
|
99773
|
+
alias: string;
|
|
99774
|
+
};
|
|
99775
|
+
query?: {
|
|
99776
|
+
/**
|
|
99777
|
+
* 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.
|
|
99778
|
+
*/
|
|
99779
|
+
expected_version?: string;
|
|
99780
|
+
};
|
|
99781
|
+
url: '/canvas/v1/canvases/{canvas_id}/imports/{alias}';
|
|
99782
|
+
};
|
|
99783
|
+
export type CanvasDeleteImportErrors = {
|
|
99784
|
+
/**
|
|
99785
|
+
* INVALID_PARAMS means no library is imported under that alias; read imports of retrieve for the aliases in use.
|
|
99786
|
+
*/
|
|
99787
|
+
400: CanvasCanvasError;
|
|
99788
|
+
/**
|
|
99789
|
+
* The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
|
|
99790
|
+
*/
|
|
99791
|
+
401: CanvasCanvasError;
|
|
99792
|
+
/**
|
|
99793
|
+
* FEATURE_DISABLED means component libraries are not enabled for this organization yet; nothing was changed. Any other 403 means the API key lacks permission for this operation.
|
|
99794
|
+
*/
|
|
99795
|
+
403: CanvasCanvasError;
|
|
99796
|
+
/**
|
|
99797
|
+
* CANVAS_NOT_FOUND means the canvas does not exist, was deleted or belongs to another organization; choose an accessible canvas id from list or create a new canvas.
|
|
99798
|
+
*/
|
|
99799
|
+
404: CanvasCanvasError;
|
|
99800
|
+
/**
|
|
99801
|
+
* LIBRARY_IN_USE means nodes still instantiate the library's components; delete or replace them (details.instances counts them) and then retry. REVISION_CONFLICT means expected_version is stale; read the current version in error.details.version and retry.
|
|
99802
|
+
*/
|
|
99803
|
+
409: CanvasCanvasError;
|
|
99804
|
+
/**
|
|
99805
|
+
* INTERNAL means the service could not complete the request; inspect the current canvas before retrying a write to avoid duplicating an already committed edit.
|
|
99806
|
+
*/
|
|
99807
|
+
500: CanvasCanvasError;
|
|
99808
|
+
};
|
|
99809
|
+
export type CanvasDeleteImportError = CanvasDeleteImportErrors[keyof CanvasDeleteImportErrors];
|
|
99810
|
+
export type CanvasDeleteImportResponses = {
|
|
99811
|
+
/**
|
|
99812
|
+
* Confirmation that the import was removed, with the canvas version after the removal.
|
|
99813
|
+
*/
|
|
99814
|
+
200: CanvasDeleteImportResult;
|
|
99815
|
+
};
|
|
99816
|
+
export type CanvasDeleteImportResponse = CanvasDeleteImportResponses[keyof CanvasDeleteImportResponses];
|
|
98681
99817
|
export type ContentListContentsData = {
|
|
98682
99818
|
body?: never;
|
|
98683
99819
|
path?: never;
|
|
@@ -112139,6 +113275,10 @@ export type MediaListAssetsData = {
|
|
|
112139
113275
|
* 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.
|
|
112140
113276
|
*/
|
|
112141
113277
|
material_type?: MediaMaterialType;
|
|
113278
|
+
/**
|
|
113279
|
+
* 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.
|
|
113280
|
+
*/
|
|
113281
|
+
live_stream_id?: string;
|
|
112142
113282
|
/**
|
|
112143
113283
|
* true returns one row per edit tree instead of every asset: the newest live asset of that tree that matches the other filters, with stack_count giving how many of the tree’s assets match. Omitted or false returns the flat list. Edits of an asset form its tree; generated variants and uploads are trees of their own.
|
|
112144
113284
|
*/
|