@deepraxis/sdk 0.1.1-dev.afd7568 → 0.1.1-dev.b0e15c2
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 +80 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +153 -13
- package/dist/generated/sdk.gen.js +424 -16
- package/dist/generated/types.gen.d.ts +2130 -78
- package/dist/helpers/browser-documentation.d.ts +1 -1
- package/dist/helpers/browser-documentation.js +8 -0
- package/dist/operations.generated.js +748 -60
- package/dist/resources.generated.d.ts +87 -1
- package/dist/resources.generated.js +51 -1
- package/package.json +1 -1
|
@@ -2333,6 +2333,14 @@ export type AgentSseEvent = ({
|
|
|
2333
2333
|
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
2334
2334
|
*/
|
|
2335
2335
|
processed_at: string;
|
|
2336
|
+
/**
|
|
2337
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
2338
|
+
*/
|
|
2339
|
+
message_id?: string;
|
|
2340
|
+
/**
|
|
2341
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
2342
|
+
*/
|
|
2343
|
+
session_thread_id?: string | null;
|
|
2336
2344
|
};
|
|
2337
2345
|
} | {
|
|
2338
2346
|
/**
|
|
@@ -2491,6 +2499,14 @@ export type AgentSseEvent = ({
|
|
|
2491
2499
|
* message_id of the agent message in the parent session up to which the conversation was copied.
|
|
2492
2500
|
*/
|
|
2493
2501
|
forked_from_message_id: string;
|
|
2502
|
+
/**
|
|
2503
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
2504
|
+
*/
|
|
2505
|
+
message_id?: string;
|
|
2506
|
+
/**
|
|
2507
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
2508
|
+
*/
|
|
2509
|
+
session_thread_id?: string | null;
|
|
2494
2510
|
};
|
|
2495
2511
|
} | {
|
|
2496
2512
|
/**
|
|
@@ -2611,6 +2627,14 @@ export type AgentSseEvent = ({
|
|
|
2611
2627
|
*/
|
|
2612
2628
|
updated_at: number;
|
|
2613
2629
|
} | null;
|
|
2630
|
+
/**
|
|
2631
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
2632
|
+
*/
|
|
2633
|
+
message_id?: string;
|
|
2634
|
+
/**
|
|
2635
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
2636
|
+
*/
|
|
2637
|
+
session_thread_id?: string | null;
|
|
2614
2638
|
};
|
|
2615
2639
|
} | {
|
|
2616
2640
|
/**
|
|
@@ -2670,6 +2694,14 @@ export type AgentSseEvent = ({
|
|
|
2670
2694
|
*/
|
|
2671
2695
|
next_action?: string;
|
|
2672
2696
|
};
|
|
2697
|
+
/**
|
|
2698
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
2699
|
+
*/
|
|
2700
|
+
message_id?: string;
|
|
2701
|
+
/**
|
|
2702
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
2703
|
+
*/
|
|
2704
|
+
session_thread_id?: string | null;
|
|
2673
2705
|
};
|
|
2674
2706
|
} | {
|
|
2675
2707
|
/**
|
|
@@ -3328,6 +3360,14 @@ export type AgentSseEvent = ({
|
|
|
3328
3360
|
*/
|
|
3329
3361
|
path: string;
|
|
3330
3362
|
};
|
|
3363
|
+
/**
|
|
3364
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
3365
|
+
*/
|
|
3366
|
+
message_id?: string;
|
|
3367
|
+
/**
|
|
3368
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
3369
|
+
*/
|
|
3370
|
+
session_thread_id?: string | null;
|
|
3331
3371
|
};
|
|
3332
3372
|
} | {
|
|
3333
3373
|
/**
|
|
@@ -3358,6 +3398,14 @@ export type AgentSseEvent = ({
|
|
|
3358
3398
|
* Present only when the project left the registry rather than the session detaching it.
|
|
3359
3399
|
*/
|
|
3360
3400
|
reason?: 'project_removed';
|
|
3401
|
+
/**
|
|
3402
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
3403
|
+
*/
|
|
3404
|
+
message_id?: string;
|
|
3405
|
+
/**
|
|
3406
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
3407
|
+
*/
|
|
3408
|
+
session_thread_id?: string | null;
|
|
3361
3409
|
};
|
|
3362
3410
|
} | {
|
|
3363
3411
|
/**
|
|
@@ -3766,7 +3814,7 @@ export type BrowserSessionCreateResult = {
|
|
|
3766
3814
|
expiresAt: string;
|
|
3767
3815
|
} | null;
|
|
3768
3816
|
/**
|
|
3769
|
-
* 自带凭证的 CDP WebSocket 地址,有效期覆盖会话寿命;连接无需额外 API Key
|
|
3817
|
+
* 自带凭证的 CDP WebSocket 地址,有效期覆盖会话寿命;连接无需额外 API Key。真指针事件(触摸、拖拽、按坐标点击)的 CDP 命令从这里发送。
|
|
3770
3818
|
*/
|
|
3771
3819
|
connectUrl: string;
|
|
3772
3820
|
/**
|
|
@@ -4783,6 +4831,329 @@ export type MetaMethod = {
|
|
|
4783
4831
|
content_types: Array<string>;
|
|
4784
4832
|
}>;
|
|
4785
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
|
+
playback?: MediaStreamPlaybackSetting;
|
|
4849
|
+
/**
|
|
4850
|
+
* The id of the processing to run while the stream is active; stored as given and not checked yet. Omit for none.
|
|
4851
|
+
*/
|
|
4852
|
+
pipeline_id?: string;
|
|
4853
|
+
};
|
|
4854
|
+
/**
|
|
4855
|
+
* A stream; a push stream also carries its push credential.
|
|
4856
|
+
*/
|
|
4857
|
+
export type MediaStreamWithPush = MediaStream & {
|
|
4858
|
+
push?: MediaStreamPush;
|
|
4859
|
+
};
|
|
4860
|
+
/**
|
|
4861
|
+
* The error body of every Media Streams failure.
|
|
4862
|
+
*/
|
|
4863
|
+
export type MediaStreamError = {
|
|
4864
|
+
/**
|
|
4865
|
+
* What went wrong and whether sending the same request again can help.
|
|
4866
|
+
*/
|
|
4867
|
+
error: {
|
|
4868
|
+
/**
|
|
4869
|
+
* 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.
|
|
4870
|
+
*/
|
|
4871
|
+
code: string;
|
|
4872
|
+
/**
|
|
4873
|
+
* A sentence saying what is wrong and what to change.
|
|
4874
|
+
*/
|
|
4875
|
+
message: string;
|
|
4876
|
+
/**
|
|
4877
|
+
* 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.
|
|
4878
|
+
*/
|
|
4879
|
+
kind: string;
|
|
4880
|
+
/**
|
|
4881
|
+
* True when the same request may succeed later without any change; false when you must change the request or the stream first.
|
|
4882
|
+
*/
|
|
4883
|
+
retryable: boolean;
|
|
4884
|
+
/**
|
|
4885
|
+
* 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.
|
|
4886
|
+
*/
|
|
4887
|
+
field?: string;
|
|
4888
|
+
};
|
|
4889
|
+
};
|
|
4890
|
+
/**
|
|
4891
|
+
* One page of streams, newest first.
|
|
4892
|
+
*/
|
|
4893
|
+
export type MediaStreamList = {
|
|
4894
|
+
/**
|
|
4895
|
+
* Always list.
|
|
4896
|
+
*/
|
|
4897
|
+
object: 'list';
|
|
4898
|
+
/**
|
|
4899
|
+
* The streams of this page.
|
|
4900
|
+
*/
|
|
4901
|
+
data: Array<MediaStream>;
|
|
4902
|
+
/**
|
|
4903
|
+
* True when another page follows; pass the id of the last stream here as starting_after.
|
|
4904
|
+
*/
|
|
4905
|
+
has_more: boolean;
|
|
4906
|
+
};
|
|
4907
|
+
/**
|
|
4908
|
+
* One live source and where it is now.
|
|
4909
|
+
*/
|
|
4910
|
+
export type MediaStream = {
|
|
4911
|
+
/**
|
|
4912
|
+
* The stream id (mst_ and 26 lowercase base32 characters); stable and never reused. It is what every other call on this face names.
|
|
4913
|
+
*/
|
|
4914
|
+
id: string;
|
|
4915
|
+
/**
|
|
4916
|
+
* Always media.stream; tells a stream from other objects in a mixed list.
|
|
4917
|
+
*/
|
|
4918
|
+
object: 'media.stream';
|
|
4919
|
+
/**
|
|
4920
|
+
* 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.
|
|
4921
|
+
*/
|
|
4922
|
+
status: 'idle' | 'waiting' | 'active' | 'disabled';
|
|
4923
|
+
input: MediaStreamInput;
|
|
4924
|
+
/**
|
|
4925
|
+
* Seconds a dropped source may take to come back and continue the same broadcast.
|
|
4926
|
+
*/
|
|
4927
|
+
reconnect_window_s: number;
|
|
4928
|
+
/**
|
|
4929
|
+
* Seconds one broadcast may run before it ends.
|
|
4930
|
+
*/
|
|
4931
|
+
max_continuous_duration_s: number;
|
|
4932
|
+
recording: MediaStreamRecording;
|
|
4933
|
+
playback?: MediaStreamPlaybackSetting;
|
|
4934
|
+
/**
|
|
4935
|
+
* The processing attached to the stream, or null for none.
|
|
4936
|
+
*/
|
|
4937
|
+
pipeline_id: string;
|
|
4938
|
+
/**
|
|
4939
|
+
* The Media asset the current broadcast is being recorded into, or null when no broadcast is recording.
|
|
4940
|
+
*/
|
|
4941
|
+
active_asset_id: string;
|
|
4942
|
+
/**
|
|
4943
|
+
* The assets of the broadcasts before the current one, newest first.
|
|
4944
|
+
*/
|
|
4945
|
+
recent_asset_ids: Array<string>;
|
|
4946
|
+
/**
|
|
4947
|
+
* The live health of the broadcast in progress; null unless the stream is active.
|
|
4948
|
+
*/
|
|
4949
|
+
health: MediaStreamHealth;
|
|
4950
|
+
usage: MediaStreamUsage;
|
|
4951
|
+
/**
|
|
4952
|
+
* When the stream was created, RFC 3339 UTC.
|
|
4953
|
+
*/
|
|
4954
|
+
created_at: string;
|
|
4955
|
+
/**
|
|
4956
|
+
* When the stream last changed (a setting or its status), RFC 3339 UTC.
|
|
4957
|
+
*/
|
|
4958
|
+
updated_at: string;
|
|
4959
|
+
};
|
|
4960
|
+
/**
|
|
4961
|
+
* The fields to change on a stream; send at least one.
|
|
4962
|
+
*/
|
|
4963
|
+
export type UpdateMediaStreamRequest = {
|
|
4964
|
+
input?: MediaStreamInput;
|
|
4965
|
+
/**
|
|
4966
|
+
* The new reconnect window in seconds, 0 to 1800.
|
|
4967
|
+
*/
|
|
4968
|
+
reconnect_window_s?: number;
|
|
4969
|
+
/**
|
|
4970
|
+
* The new maximum continuous duration in seconds, 60 to 43200.
|
|
4971
|
+
*/
|
|
4972
|
+
max_continuous_duration_s?: number;
|
|
4973
|
+
recording?: MediaStreamRecording;
|
|
4974
|
+
playback?: MediaStreamPlaybackSetting;
|
|
4975
|
+
/**
|
|
4976
|
+
* The new pipeline id, or null to detach the pipeline.
|
|
4977
|
+
*/
|
|
4978
|
+
pipeline_id?: string;
|
|
4979
|
+
};
|
|
4980
|
+
/**
|
|
4981
|
+
* The answer to deleting a stream.
|
|
4982
|
+
*/
|
|
4983
|
+
export type MediaStreamDeleted = {
|
|
4984
|
+
/**
|
|
4985
|
+
* The id of the deleted stream; it is not reused.
|
|
4986
|
+
*/
|
|
4987
|
+
id: string;
|
|
4988
|
+
/**
|
|
4989
|
+
* Always media.stream.
|
|
4990
|
+
*/
|
|
4991
|
+
object: 'media.stream';
|
|
4992
|
+
/**
|
|
4993
|
+
* Always true.
|
|
4994
|
+
*/
|
|
4995
|
+
deleted: boolean;
|
|
4996
|
+
};
|
|
4997
|
+
/**
|
|
4998
|
+
* The event socket of one stream and the capability that opens it; the token is shown only in the response that mints it.
|
|
4999
|
+
*/
|
|
5000
|
+
export type MediaStreamSubscription = {
|
|
5001
|
+
/**
|
|
5002
|
+
* Always media.stream.subscription.
|
|
5003
|
+
*/
|
|
5004
|
+
object: 'media.stream.subscription';
|
|
5005
|
+
/**
|
|
5006
|
+
* The WebSocket address of the stream's event socket with the token in it; append &after=<seq> to start after the highest seq you have already seen, omit it to read from the start.
|
|
5007
|
+
*/
|
|
5008
|
+
url: string;
|
|
5009
|
+
/**
|
|
5010
|
+
* The subscribe capability, the same value that is in url; it opens the event socket of this stream and nothing else.
|
|
5011
|
+
*/
|
|
5012
|
+
token: string;
|
|
5013
|
+
/**
|
|
5014
|
+
* When the capability stops opening the socket, RFC 3339 UTC, one hour after it was minted; a socket that is already open keeps running. Mint a new one to reconnect later.
|
|
5015
|
+
*/
|
|
5016
|
+
expires_at: string;
|
|
5017
|
+
};
|
|
5018
|
+
/**
|
|
5019
|
+
* The live playlist of one stream and the capability that opens it; the address is shown only in the response that mints it.
|
|
5020
|
+
*/
|
|
5021
|
+
export type MediaStreamPlayback = {
|
|
5022
|
+
/**
|
|
5023
|
+
* Always media.stream.playback.
|
|
5024
|
+
*/
|
|
5025
|
+
object: 'media.stream.playback';
|
|
5026
|
+
/**
|
|
5027
|
+
* The address of the live HLS playlist with the token in it. Give it to an HLS player (hls.js, a video element in Safari); it needs no API key and shows only the broadcast in progress, a sliding window of the newest segments.
|
|
5028
|
+
*/
|
|
5029
|
+
url: string;
|
|
5030
|
+
/**
|
|
5031
|
+
* When the token stops opening the playlist, RFC 3339 UTC, one hour after it was minted; a player that is already playing keeps the segments it asked for. Mint a new address to keep watching.
|
|
5032
|
+
*/
|
|
5033
|
+
expires_at: string;
|
|
5034
|
+
};
|
|
5035
|
+
/**
|
|
5036
|
+
* A page of the stream's event log, oldest first.
|
|
5037
|
+
*/
|
|
5038
|
+
export type MediaStreamEventList = {
|
|
5039
|
+
/**
|
|
5040
|
+
* Always list.
|
|
5041
|
+
*/
|
|
5042
|
+
object: 'list';
|
|
5043
|
+
/**
|
|
5044
|
+
* The events of this page, by seq ascending.
|
|
5045
|
+
*/
|
|
5046
|
+
data: Array<MediaStreamEvent>;
|
|
5047
|
+
/**
|
|
5048
|
+
* True when more events follow the last one of this page.
|
|
5049
|
+
*/
|
|
5050
|
+
has_more: boolean;
|
|
5051
|
+
/**
|
|
5052
|
+
* The seq to pass as after to continue; the last seq of this page, or the after you sent when the page is empty.
|
|
5053
|
+
*/
|
|
5054
|
+
next_after: number;
|
|
5055
|
+
};
|
|
5056
|
+
/**
|
|
5057
|
+
* A new pipeline. Unknown fields answer 400.
|
|
5058
|
+
*/
|
|
5059
|
+
export type CreateMediaPipelineRequest = {
|
|
5060
|
+
/**
|
|
5061
|
+
* The pipeline's name.
|
|
5062
|
+
*/
|
|
5063
|
+
name: string;
|
|
5064
|
+
/**
|
|
5065
|
+
* The ordered processors and sinks; empty by default.
|
|
5066
|
+
*/
|
|
5067
|
+
elements?: Array<MediaPipelineElement>;
|
|
5068
|
+
/**
|
|
5069
|
+
* The alert rules; empty by default.
|
|
5070
|
+
*/
|
|
5071
|
+
alert_rules?: Array<MediaPipelineAlertRule>;
|
|
5072
|
+
};
|
|
5073
|
+
/**
|
|
5074
|
+
* A pipeline, the processing a stream runs while it is live.
|
|
5075
|
+
*/
|
|
5076
|
+
export type MediaPipeline = {
|
|
5077
|
+
/**
|
|
5078
|
+
* The pipeline's id; msp_ followed by 26 lowercase base32 characters.
|
|
5079
|
+
*/
|
|
5080
|
+
id: string;
|
|
5081
|
+
/**
|
|
5082
|
+
* Always media.pipeline.
|
|
5083
|
+
*/
|
|
5084
|
+
object: 'media.pipeline';
|
|
5085
|
+
/**
|
|
5086
|
+
* The pipeline's name.
|
|
5087
|
+
*/
|
|
5088
|
+
name: string;
|
|
5089
|
+
/**
|
|
5090
|
+
* The ordered processors and sinks.
|
|
5091
|
+
*/
|
|
5092
|
+
elements: Array<MediaPipelineElement>;
|
|
5093
|
+
/**
|
|
5094
|
+
* The alert rules.
|
|
5095
|
+
*/
|
|
5096
|
+
alert_rules: Array<MediaPipelineAlertRule>;
|
|
5097
|
+
/**
|
|
5098
|
+
* When the pipeline was created.
|
|
5099
|
+
*/
|
|
5100
|
+
created_at: string;
|
|
5101
|
+
/**
|
|
5102
|
+
* When it last changed.
|
|
5103
|
+
*/
|
|
5104
|
+
updated_at: string;
|
|
5105
|
+
};
|
|
5106
|
+
/**
|
|
5107
|
+
* One page of pipelines.
|
|
5108
|
+
*/
|
|
5109
|
+
export type MediaPipelineList = {
|
|
5110
|
+
/**
|
|
5111
|
+
* Always list.
|
|
5112
|
+
*/
|
|
5113
|
+
object: 'list';
|
|
5114
|
+
/**
|
|
5115
|
+
* The pipelines of this page
|
|
5116
|
+
*/
|
|
5117
|
+
data: Array<MediaPipeline>;
|
|
5118
|
+
/**
|
|
5119
|
+
* True when another page follows; pass the last id as starting_after.
|
|
5120
|
+
*/
|
|
5121
|
+
has_more: boolean;
|
|
5122
|
+
};
|
|
5123
|
+
/**
|
|
5124
|
+
* The fields to replace; at least one. Unknown fields answer 400.
|
|
5125
|
+
*/
|
|
5126
|
+
export type UpdateMediaPipelineRequest = {
|
|
5127
|
+
/**
|
|
5128
|
+
* The new name.
|
|
5129
|
+
*/
|
|
5130
|
+
name?: string;
|
|
5131
|
+
/**
|
|
5132
|
+
* The new element list
|
|
5133
|
+
*/
|
|
5134
|
+
elements?: Array<MediaPipelineElement>;
|
|
5135
|
+
/**
|
|
5136
|
+
* The new rules
|
|
5137
|
+
*/
|
|
5138
|
+
alert_rules?: Array<MediaPipelineAlertRule>;
|
|
5139
|
+
};
|
|
5140
|
+
/**
|
|
5141
|
+
* A pipeline that was deleted.
|
|
5142
|
+
*/
|
|
5143
|
+
export type MediaPipelineDeleted = {
|
|
5144
|
+
/**
|
|
5145
|
+
* The deleted pipeline's id.
|
|
5146
|
+
*/
|
|
5147
|
+
id: string;
|
|
5148
|
+
/**
|
|
5149
|
+
* Always media.pipeline.
|
|
5150
|
+
*/
|
|
5151
|
+
object: 'media.pipeline';
|
|
5152
|
+
/**
|
|
5153
|
+
* Always true.
|
|
5154
|
+
*/
|
|
5155
|
+
deleted: true;
|
|
5156
|
+
};
|
|
4786
5157
|
/**
|
|
4787
5158
|
* 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.
|
|
4788
5159
|
*/
|
|
@@ -7687,10 +8058,6 @@ export type OrganizationDepartment = {
|
|
|
7687
8058
|
* Id of the position that heads the department; null while no position has been designated head; the root department's head position is created with the organization and held by its owner.
|
|
7688
8059
|
*/
|
|
7689
8060
|
head_position_id: string | null;
|
|
7690
|
-
/**
|
|
7691
|
-
* Charter of the department, or null when none has been written; inherited by sub-departments.
|
|
7692
|
-
*/
|
|
7693
|
-
charter: OrganizationDepartmentCharter | null;
|
|
7694
8061
|
/**
|
|
7695
8062
|
* Whether the department is part of the tree or was dissolved.
|
|
7696
8063
|
*/
|
|
@@ -7718,16 +8085,6 @@ export type OrganizationReorganizeDepartmentRequest = {
|
|
|
7718
8085
|
*/
|
|
7719
8086
|
order?: number;
|
|
7720
8087
|
};
|
|
7721
|
-
export type OrganizationAmendCharterRequest = {
|
|
7722
|
-
/**
|
|
7723
|
-
* The full new charter text, at most 2000 characters; it replaces the old text.
|
|
7724
|
-
*/
|
|
7725
|
-
text: string;
|
|
7726
|
-
/**
|
|
7727
|
-
* The charter.revision you last read, or 0 when the department has no charter yet; a mismatch returns REVISION_CONFLICT.
|
|
7728
|
-
*/
|
|
7729
|
-
expected_revision: number;
|
|
7730
|
-
};
|
|
7731
8088
|
export type OrganizationJobList = {
|
|
7732
8089
|
/**
|
|
7733
8090
|
* Jobs on this page.
|
|
@@ -13119,6 +13476,23 @@ export type CanvasCanvas = {
|
|
|
13119
13476
|
* Collection id from collections.list, or null for an uncategorized canvas; a canvas belongs to at most one collection.
|
|
13120
13477
|
*/
|
|
13121
13478
|
collection_id: string | null;
|
|
13479
|
+
/**
|
|
13480
|
+
* The canvas's latest published library version, or null when it has never been published as a library.
|
|
13481
|
+
*/
|
|
13482
|
+
library: null | {
|
|
13483
|
+
/**
|
|
13484
|
+
* Latest published library version, counting from 1.
|
|
13485
|
+
*/
|
|
13486
|
+
version: string;
|
|
13487
|
+
/**
|
|
13488
|
+
* ISO 8601 time at which that version was published.
|
|
13489
|
+
*/
|
|
13490
|
+
published_at: string;
|
|
13491
|
+
};
|
|
13492
|
+
/**
|
|
13493
|
+
* Libraries this canvas imports, by alias; present on retrieve and list, absent where only the canvas is named (create, update).
|
|
13494
|
+
*/
|
|
13495
|
+
imports?: Array<CanvasCanvasImport>;
|
|
13122
13496
|
};
|
|
13123
13497
|
export type CanvasCanvasPage = {
|
|
13124
13498
|
/**
|
|
@@ -13472,6 +13846,126 @@ export type CanvasRestoreResult = {
|
|
|
13472
13846
|
*/
|
|
13473
13847
|
restored_from: string;
|
|
13474
13848
|
};
|
|
13849
|
+
export type CanvasPublishLibraryInput = {
|
|
13850
|
+
/**
|
|
13851
|
+
* Release note shown in library_versions, at most 2000 characters; empty when omitted.
|
|
13852
|
+
*/
|
|
13853
|
+
description?: string;
|
|
13854
|
+
/**
|
|
13855
|
+
* 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.
|
|
13856
|
+
*/
|
|
13857
|
+
expected_version?: string;
|
|
13858
|
+
};
|
|
13859
|
+
export type CanvasPublishLibraryResult = {
|
|
13860
|
+
/**
|
|
13861
|
+
* The new library version, counting from 1; importing canvases pin to it.
|
|
13862
|
+
*/
|
|
13863
|
+
version: string;
|
|
13864
|
+
/**
|
|
13865
|
+
* The canvas version this library version was taken from; publishing leaves it unchanged.
|
|
13866
|
+
*/
|
|
13867
|
+
canvas_version: string;
|
|
13868
|
+
/**
|
|
13869
|
+
* Components that did not exist in the previous library version.
|
|
13870
|
+
*/
|
|
13871
|
+
added: Array<CanvasComponentRef>;
|
|
13872
|
+
/**
|
|
13873
|
+
* Components whose content differs from the previous library version.
|
|
13874
|
+
*/
|
|
13875
|
+
changed: Array<CanvasComponentRef>;
|
|
13876
|
+
/**
|
|
13877
|
+
* Components the previous library version had and this canvas no longer has; they stay in the new version marked removed.
|
|
13878
|
+
*/
|
|
13879
|
+
removed: Array<CanvasComponentRef>;
|
|
13880
|
+
/**
|
|
13881
|
+
* True when the canvas variables or themes differ from the previous library version; always false for the first version.
|
|
13882
|
+
*/
|
|
13883
|
+
variables_changed: boolean;
|
|
13884
|
+
/**
|
|
13885
|
+
* Number of components in this version, not counting removed ones.
|
|
13886
|
+
*/
|
|
13887
|
+
component_count: number;
|
|
13888
|
+
/**
|
|
13889
|
+
* ISO 8601 time at which this version was published.
|
|
13890
|
+
*/
|
|
13891
|
+
published_at: string;
|
|
13892
|
+
};
|
|
13893
|
+
export type CanvasLibraryVersionPage = {
|
|
13894
|
+
/**
|
|
13895
|
+
* Published library versions, ordered from highest version to lowest.
|
|
13896
|
+
*/
|
|
13897
|
+
versions: Array<CanvasLibraryVersion>;
|
|
13898
|
+
/**
|
|
13899
|
+
* Continuation token to pass as cursor to read older versions; null marks the final page.
|
|
13900
|
+
*/
|
|
13901
|
+
next_cursor: string | null;
|
|
13902
|
+
};
|
|
13903
|
+
export type CanvasLibraryPage = {
|
|
13904
|
+
/**
|
|
13905
|
+
* Libraries on this page, most recently published first.
|
|
13906
|
+
*/
|
|
13907
|
+
data: Array<CanvasLibrarySummary>;
|
|
13908
|
+
/**
|
|
13909
|
+
* Continuation token to pass as cursor to read the next page; null marks the final page.
|
|
13910
|
+
*/
|
|
13911
|
+
next_cursor: string | null;
|
|
13912
|
+
};
|
|
13913
|
+
export type CanvasSetImportInput = {
|
|
13914
|
+
/**
|
|
13915
|
+
* Alias to import under, 1-32 characters, a lower-case letter then lower-case letters, digits or hyphens.
|
|
13916
|
+
*/
|
|
13917
|
+
alias: string;
|
|
13918
|
+
/**
|
|
13919
|
+
* Canvas id of the library, from libraries.list; it must belong to your organization and have been published.
|
|
13920
|
+
*/
|
|
13921
|
+
library: string;
|
|
13922
|
+
/**
|
|
13923
|
+
* Library version to use, from library_versions; the latest when omitted.
|
|
13924
|
+
*/
|
|
13925
|
+
version?: string;
|
|
13926
|
+
/**
|
|
13927
|
+
* Current canvas version from retrieve; the import is refused with REVISION_CONFLICT if the canvas has moved on. Omission imports whatever is current.
|
|
13928
|
+
*/
|
|
13929
|
+
expected_version?: string;
|
|
13930
|
+
};
|
|
13931
|
+
export type CanvasSetImportResult = {
|
|
13932
|
+
version: CanvasVersion;
|
|
13933
|
+
/**
|
|
13934
|
+
* The alias the library is imported under.
|
|
13935
|
+
*/
|
|
13936
|
+
alias: string;
|
|
13937
|
+
/**
|
|
13938
|
+
* The library's canvas id.
|
|
13939
|
+
*/
|
|
13940
|
+
library: string;
|
|
13941
|
+
/**
|
|
13942
|
+
* The library version now in use.
|
|
13943
|
+
*/
|
|
13944
|
+
library_version: string;
|
|
13945
|
+
/**
|
|
13946
|
+
* The library version this alias used before, or null for a first import.
|
|
13947
|
+
*/
|
|
13948
|
+
previous_library_version: string | null;
|
|
13949
|
+
/**
|
|
13950
|
+
* Number of components the imported version offers; components removed from the library are not counted.
|
|
13951
|
+
*/
|
|
13952
|
+
component_count: number;
|
|
13953
|
+
};
|
|
13954
|
+
export type CanvasDeleteImportResult = {
|
|
13955
|
+
version: CanvasVersion;
|
|
13956
|
+
/**
|
|
13957
|
+
* The alias that was removed.
|
|
13958
|
+
*/
|
|
13959
|
+
alias: string;
|
|
13960
|
+
/**
|
|
13961
|
+
* The canvas id of the library that was imported under it.
|
|
13962
|
+
*/
|
|
13963
|
+
library: string;
|
|
13964
|
+
/**
|
|
13965
|
+
* Always true on success.
|
|
13966
|
+
*/
|
|
13967
|
+
deleted: true;
|
|
13968
|
+
};
|
|
13475
13969
|
/**
|
|
13476
13970
|
* A content to create.
|
|
13477
13971
|
*/
|
|
@@ -14921,7 +15415,7 @@ export type CustomerGrantCode = {
|
|
|
14921
15415
|
expires_at?: string;
|
|
14922
15416
|
};
|
|
14923
15417
|
/**
|
|
14924
|
-
* Exactly one credential to exchange.
|
|
15418
|
+
* Exactly one credential to exchange. A publishable_key may be accompanied by the continuation_token of an earlier anonymous answer.
|
|
14925
15419
|
*/
|
|
14926
15420
|
export type CustomerAccessTokenInput = {
|
|
14927
15421
|
/**
|
|
@@ -14929,9 +15423,13 @@ export type CustomerAccessTokenInput = {
|
|
|
14929
15423
|
*/
|
|
14930
15424
|
grant_code?: string;
|
|
14931
15425
|
/**
|
|
14932
|
-
* A publishable key (pk_…) for an anonymous visitor; the exchange creates a new anonymous end user bound to the request Origin.
|
|
15426
|
+
* A publishable key (pk_…) for an anonymous visitor; the exchange creates a new anonymous end user bound to the request Origin, unless continuation_token continues an earlier visitor of this key's organization.
|
|
14933
15427
|
*/
|
|
14934
15428
|
publishable_key?: string;
|
|
15429
|
+
/**
|
|
15430
|
+
* The continuation_token of an earlier anonymous answer, kept by the page's own storage. A live one continues that anonymous end user (a new sign-in of seven days, with a rotated token); an unknown, expired, revoked, merged, blocked or foreign-organization one is treated as absent, so the answer never reveals whether it exists. It also continues the visitor when the page presents another publishable key of the same organization, but the resources it may reach are only those of the key presented now. Only accepted with publishable_key.
|
|
15431
|
+
*/
|
|
15432
|
+
continuation_token?: string;
|
|
14935
15433
|
};
|
|
14936
15434
|
/**
|
|
14937
15435
|
* The short Praxis customer access token the Kit carries, with the sign-in behind it.
|
|
@@ -14957,6 +15455,10 @@ export type CustomerAccessToken = {
|
|
|
14957
15455
|
* Id of the sign-in (csi_…) this token was issued from, which the renewal and the sign-out act on.
|
|
14958
15456
|
*/
|
|
14959
15457
|
sign_in_id?: string;
|
|
15458
|
+
/**
|
|
15459
|
+
* Present on an anonymous answer only. An opaque credential the embed page stores in its own first-party storage and sends back with the next publishable-key exchange, so a returning visitor keeps the same anonymous end user after the access token has expired. It also carries the visitor across a change of publishable key within the same organization, while the accessible resources follow the key presented. It lasts as long as the sign-in (seven days) and is replaced on every anonymous exchange; sign-out ends it. Never put it in a URL or share it across origins.
|
|
15460
|
+
*/
|
|
15461
|
+
continuation_token?: string;
|
|
14960
15462
|
/**
|
|
14961
15463
|
* The end user the token belongs to.
|
|
14962
15464
|
*/
|
|
@@ -15151,6 +15653,14 @@ export type CustomerCreatePublishableKeyInput = {
|
|
|
15151
15653
|
* Resource scopes an anonymous visitor may reach, at least one, each a scope string or an object with scope and params; grant only what the anonymous experience needs.
|
|
15152
15654
|
*/
|
|
15153
15655
|
resources: Array<CustomerScopeInput>;
|
|
15656
|
+
/**
|
|
15657
|
+
* Most exchanges of this key per UTC minute, from 1 to 100000, counting every visitor together; omit or send null for no per-key limit.
|
|
15658
|
+
*/
|
|
15659
|
+
anon_rate_per_min?: number | null;
|
|
15660
|
+
/**
|
|
15661
|
+
* Most new anonymous visitors this key admits per UTC day, from 0 to 10000000; returning visitors are not counted. Omit or send null for no limit.
|
|
15662
|
+
*/
|
|
15663
|
+
daily_session_cap?: number | null;
|
|
15154
15664
|
};
|
|
15155
15665
|
/**
|
|
15156
15666
|
* A key that admits anonymous visitors to the products it names.
|
|
@@ -15176,11 +15686,36 @@ export type CustomerPublishableKey = {
|
|
|
15176
15686
|
* RFC 3339 time the key was created; the key list is ordered by it, newest first.
|
|
15177
15687
|
*/
|
|
15178
15688
|
created_at?: string;
|
|
15689
|
+
/**
|
|
15690
|
+
* Most exchanges this key allows per UTC minute, counting every exchange (a returning visitor's too), or null for no per-key limit; the per-IP limit of the exchange applies either way.
|
|
15691
|
+
*/
|
|
15692
|
+
anon_rate_per_min?: number | null;
|
|
15693
|
+
/**
|
|
15694
|
+
* Most new anonymous visitors this key admits per UTC day, or null for no limit; a returning visitor that continues with its continuation_token is not counted, and 0 admits no new visitor at all.
|
|
15695
|
+
*/
|
|
15696
|
+
daily_session_cap?: number | null;
|
|
15179
15697
|
/**
|
|
15180
15698
|
* The plaintext key value, present only in the create response; every later read returns the key without it, because only its hash is stored.
|
|
15181
15699
|
*/
|
|
15182
15700
|
key?: string;
|
|
15183
15701
|
};
|
|
15702
|
+
/**
|
|
15703
|
+
* The fields of a publishable key to change; at least one, and a field left out keeps its value.
|
|
15704
|
+
*/
|
|
15705
|
+
export type CustomerUpdatePublishableKeyInput = {
|
|
15706
|
+
/**
|
|
15707
|
+
* New label for the key, 1 to 64 characters.
|
|
15708
|
+
*/
|
|
15709
|
+
name?: string;
|
|
15710
|
+
/**
|
|
15711
|
+
* Most exchanges of this key per UTC minute, from 1 to 100000; null removes the per-key limit.
|
|
15712
|
+
*/
|
|
15713
|
+
anon_rate_per_min?: number | null;
|
|
15714
|
+
/**
|
|
15715
|
+
* Most new anonymous visitors this key admits per UTC day, from 0 to 10000000; null removes the limit.
|
|
15716
|
+
*/
|
|
15717
|
+
daily_session_cap?: number | null;
|
|
15718
|
+
};
|
|
15184
15719
|
/**
|
|
15185
15720
|
* The result of deleting a publishable key.
|
|
15186
15721
|
*/
|
|
@@ -15865,9 +16400,9 @@ export type CutExport = {
|
|
|
15865
16400
|
*/
|
|
15866
16401
|
checks?: Array<{
|
|
15867
16402
|
/**
|
|
15868
|
-
* 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.
|
|
16403
|
+
* 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.
|
|
15869
16404
|
*/
|
|
15870
|
-
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';
|
|
16405
|
+
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';
|
|
15871
16406
|
/**
|
|
15872
16407
|
* Always warning in this version.
|
|
15873
16408
|
*/
|
|
@@ -19706,7 +20241,7 @@ export type DevopsUnitExec = {
|
|
|
19706
20241
|
*/
|
|
19707
20242
|
cwd?: string;
|
|
19708
20243
|
/**
|
|
19709
|
-
* How long the command may run, in milliseconds
|
|
20244
|
+
* How long the command may run, in milliseconds; defaults to 120000 and values above 600000 are refused with 400, and that ceiling does not rise — a task longer than 240 seconds belongs in the background, polled for its result, not in one long foreground call.
|
|
19710
20245
|
*/
|
|
19711
20246
|
timeoutMs?: number;
|
|
19712
20247
|
};
|
|
@@ -20741,7 +21276,7 @@ export type MediaAsset = {
|
|
|
20741
21276
|
/**
|
|
20742
21277
|
* How this asset was generated or edited, including the model, prompt and references. Omitted on uploaded, imported and legacy assets.
|
|
20743
21278
|
*/
|
|
20744
|
-
provenance?: MediaProvenance;
|
|
21279
|
+
provenance?: MediaProvenance | MediaRecordingProvenance;
|
|
20745
21280
|
/**
|
|
20746
21281
|
* 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.
|
|
20747
21282
|
*/
|
|
@@ -26390,6 +26925,23 @@ export type TicketComment = {
|
|
|
26390
26925
|
* Present only when something in the body could not be resolved; absent when it all resolved.
|
|
26391
26926
|
*/
|
|
26392
26927
|
warnings?: Array<string>;
|
|
26928
|
+
/**
|
|
26929
|
+
* Present only on a create or edit answer, and only when some `@handle` reached nobody. The comment is always written; send those people with `mentions` to reach them.
|
|
26930
|
+
*/
|
|
26931
|
+
unresolved?: Array<string>;
|
|
26932
|
+
/**
|
|
26933
|
+
* Present only on a create or edit answer, and only when some `@handle` named more than one actor. Send the one you mean with `mentions` (handle and subject).
|
|
26934
|
+
*/
|
|
26935
|
+
ambiguous?: Array<{
|
|
26936
|
+
/**
|
|
26937
|
+
* The `@handle` as written, without the `@`.
|
|
26938
|
+
*/
|
|
26939
|
+
handle: string;
|
|
26940
|
+
/**
|
|
26941
|
+
* How many actors answer to it; none of them was notified.
|
|
26942
|
+
*/
|
|
26943
|
+
candidates: number;
|
|
26944
|
+
}>;
|
|
26393
26945
|
};
|
|
26394
26946
|
/**
|
|
26395
26947
|
* A repository label.
|
|
@@ -28169,6 +28721,14 @@ export type AgentSseData = {
|
|
|
28169
28721
|
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
28170
28722
|
*/
|
|
28171
28723
|
processed_at: string;
|
|
28724
|
+
/**
|
|
28725
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
28726
|
+
*/
|
|
28727
|
+
message_id?: string;
|
|
28728
|
+
/**
|
|
28729
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
28730
|
+
*/
|
|
28731
|
+
session_thread_id?: string | null;
|
|
28172
28732
|
} | {
|
|
28173
28733
|
/**
|
|
28174
28734
|
* Text of the block.
|
|
@@ -28291,6 +28851,14 @@ export type AgentSseData = {
|
|
|
28291
28851
|
* message_id of the agent message in the parent session up to which the conversation was copied.
|
|
28292
28852
|
*/
|
|
28293
28853
|
forked_from_message_id: string;
|
|
28854
|
+
/**
|
|
28855
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
28856
|
+
*/
|
|
28857
|
+
message_id?: string;
|
|
28858
|
+
/**
|
|
28859
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
28860
|
+
*/
|
|
28861
|
+
session_thread_id?: string | null;
|
|
28294
28862
|
} | {
|
|
28295
28863
|
/**
|
|
28296
28864
|
* Event id, unique within the session.
|
|
@@ -28402,6 +28970,14 @@ export type AgentSseData = {
|
|
|
28402
28970
|
*/
|
|
28403
28971
|
updated_at: number;
|
|
28404
28972
|
} | null;
|
|
28973
|
+
/**
|
|
28974
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
28975
|
+
*/
|
|
28976
|
+
message_id?: string;
|
|
28977
|
+
/**
|
|
28978
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
28979
|
+
*/
|
|
28980
|
+
session_thread_id?: string | null;
|
|
28405
28981
|
} | {
|
|
28406
28982
|
/**
|
|
28407
28983
|
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
@@ -28452,6 +29028,14 @@ export type AgentSseData = {
|
|
|
28452
29028
|
*/
|
|
28453
29029
|
next_action?: string;
|
|
28454
29030
|
};
|
|
29031
|
+
/**
|
|
29032
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
29033
|
+
*/
|
|
29034
|
+
message_id?: string;
|
|
29035
|
+
/**
|
|
29036
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
29037
|
+
*/
|
|
29038
|
+
session_thread_id?: string | null;
|
|
28455
29039
|
} | {
|
|
28456
29040
|
/**
|
|
28457
29041
|
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
@@ -29002,6 +29586,14 @@ export type AgentSseData = {
|
|
|
29002
29586
|
*/
|
|
29003
29587
|
path: string;
|
|
29004
29588
|
};
|
|
29589
|
+
/**
|
|
29590
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
29591
|
+
*/
|
|
29592
|
+
message_id?: string;
|
|
29593
|
+
/**
|
|
29594
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
29595
|
+
*/
|
|
29596
|
+
session_thread_id?: string | null;
|
|
29005
29597
|
} | {
|
|
29006
29598
|
/**
|
|
29007
29599
|
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
@@ -29023,6 +29615,14 @@ export type AgentSseData = {
|
|
|
29023
29615
|
* Present only when the project left the registry rather than the session detaching it.
|
|
29024
29616
|
*/
|
|
29025
29617
|
reason?: 'project_removed';
|
|
29618
|
+
/**
|
|
29619
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
29620
|
+
*/
|
|
29621
|
+
message_id?: string;
|
|
29622
|
+
/**
|
|
29623
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
29624
|
+
*/
|
|
29625
|
+
session_thread_id?: string | null;
|
|
29026
29626
|
} | {
|
|
29027
29627
|
/**
|
|
29028
29628
|
* Always `event_start`. Preview that an event of the requested delta types has started.
|
|
@@ -29214,6 +29814,218 @@ export type OwnFileError = {
|
|
|
29214
29814
|
type: string;
|
|
29215
29815
|
misalignment?: OwnFileMisalignmentErrorDetailsResource;
|
|
29216
29816
|
};
|
|
29817
|
+
/**
|
|
29818
|
+
* Where the stream's media comes from.
|
|
29819
|
+
*/
|
|
29820
|
+
export type MediaStreamInput = {
|
|
29821
|
+
/**
|
|
29822
|
+
* 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.
|
|
29823
|
+
*/
|
|
29824
|
+
kind: 'pull' | 'push';
|
|
29825
|
+
/**
|
|
29826
|
+
* The address to pull, present only when kind is pull: https, http (HLS .m3u8, HTTP-FLV) or rtmp, rtmps. SRT is not supported.
|
|
29827
|
+
*/
|
|
29828
|
+
url?: string;
|
|
29829
|
+
};
|
|
29830
|
+
/**
|
|
29831
|
+
* What is recorded while the stream is active. A recording is a Media asset; one asset per broadcast.
|
|
29832
|
+
*/
|
|
29833
|
+
export type MediaStreamRecording = {
|
|
29834
|
+
/**
|
|
29835
|
+
* automatic records every broadcast into a Media asset; off records nothing (the default).
|
|
29836
|
+
*/
|
|
29837
|
+
mode?: 'automatic' | 'off';
|
|
29838
|
+
/**
|
|
29839
|
+
* 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.
|
|
29840
|
+
*/
|
|
29841
|
+
rendition?: 'source' | 'highest' | 'sd' | 'lowest' | 'audio_only';
|
|
29842
|
+
/**
|
|
29843
|
+
* The Media library the recordings go to; omit to use the default library of your organization.
|
|
29844
|
+
*/
|
|
29845
|
+
library_id?: string;
|
|
29846
|
+
/**
|
|
29847
|
+
* The folder inside the library the recordings are placed in; omit for the library root.
|
|
29848
|
+
*/
|
|
29849
|
+
asset_folder?: string;
|
|
29850
|
+
/**
|
|
29851
|
+
* Delete each recording this many days after it was made; omit to keep recordings until you delete them.
|
|
29852
|
+
*/
|
|
29853
|
+
delete_after_days?: number;
|
|
29854
|
+
};
|
|
29855
|
+
/**
|
|
29856
|
+
* Whether the live broadcast can be played in a browser. Turn it on and mint an address with streams.playbackToken; a stream that records automatically can be played without it.
|
|
29857
|
+
*/
|
|
29858
|
+
export type MediaStreamPlaybackSetting = {
|
|
29859
|
+
/**
|
|
29860
|
+
* true keeps the newest segments of the broadcast readable so a player can follow it live (about a minute of media at a time); false (the default) keeps nothing for playback.
|
|
29861
|
+
*/
|
|
29862
|
+
enabled?: boolean;
|
|
29863
|
+
};
|
|
29864
|
+
/**
|
|
29865
|
+
* The address and capability a push stream's source sends to.
|
|
29866
|
+
*/
|
|
29867
|
+
export type MediaStreamPush = {
|
|
29868
|
+
/**
|
|
29869
|
+
* The WebSocket address of Praxis Realtime to push to; it already carries the token as a query parameter.
|
|
29870
|
+
*/
|
|
29871
|
+
url: string;
|
|
29872
|
+
/**
|
|
29873
|
+
* The capability token inside url; keep it secret, only its hash is stored and it is shown only in this response.
|
|
29874
|
+
*/
|
|
29875
|
+
token: string;
|
|
29876
|
+
/**
|
|
29877
|
+
* When the token stops working, RFC 3339 UTC; call streams.resetToken.create for a new one.
|
|
29878
|
+
*/
|
|
29879
|
+
expires_at: string;
|
|
29880
|
+
};
|
|
29881
|
+
/**
|
|
29882
|
+
* 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.
|
|
29883
|
+
*/
|
|
29884
|
+
export type MediaStreamHealth = {
|
|
29885
|
+
/**
|
|
29886
|
+
* Kilobits per second received over the last minute (bytes received over the media time they cover); null when no segment arrived in that minute.
|
|
29887
|
+
*/
|
|
29888
|
+
bitrate_kbps: number;
|
|
29889
|
+
/**
|
|
29890
|
+
* 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.
|
|
29891
|
+
*/
|
|
29892
|
+
latency_ms: number;
|
|
29893
|
+
/**
|
|
29894
|
+
* Segments the source skipped in this broadcast.
|
|
29895
|
+
*/
|
|
29896
|
+
dropped_segments: number;
|
|
29897
|
+
/**
|
|
29898
|
+
* Times the source dropped and came back inside the reconnect window in this broadcast.
|
|
29899
|
+
*/
|
|
29900
|
+
reconnects: number;
|
|
29901
|
+
/**
|
|
29902
|
+
* When the newest segment was processed, RFC 3339 UTC; null before the first segment of the broadcast.
|
|
29903
|
+
*/
|
|
29904
|
+
last_segment_at: string;
|
|
29905
|
+
};
|
|
29906
|
+
/**
|
|
29907
|
+
* What the stream has used, read from what it has already sent to billing.
|
|
29908
|
+
*/
|
|
29909
|
+
export type MediaStreamUsage = {
|
|
29910
|
+
/**
|
|
29911
|
+
* The broadcast in progress; null unless the stream is active.
|
|
29912
|
+
*/
|
|
29913
|
+
broadcast: MediaStreamUsageNumbers;
|
|
29914
|
+
/**
|
|
29915
|
+
* Across every broadcast of the stream.
|
|
29916
|
+
*/
|
|
29917
|
+
total: MediaStreamUsageNumbers;
|
|
29918
|
+
};
|
|
29919
|
+
/**
|
|
29920
|
+
* One entry of a stream's event log.
|
|
29921
|
+
*/
|
|
29922
|
+
export type MediaStreamEvent = {
|
|
29923
|
+
/**
|
|
29924
|
+
* The event id, globally unique; a repeat delivery has the same id.
|
|
29925
|
+
*/
|
|
29926
|
+
id: string;
|
|
29927
|
+
/**
|
|
29928
|
+
* Always media.stream.event.
|
|
29929
|
+
*/
|
|
29930
|
+
object: 'media.stream.event';
|
|
29931
|
+
/**
|
|
29932
|
+
* The stream the event belongs to.
|
|
29933
|
+
*/
|
|
29934
|
+
stream_id: string;
|
|
29935
|
+
/**
|
|
29936
|
+
* 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.
|
|
29937
|
+
*/
|
|
29938
|
+
seq: number;
|
|
29939
|
+
/**
|
|
29940
|
+
* 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.
|
|
29941
|
+
*/
|
|
29942
|
+
kind: 'stream.waiting' | 'stream.connected' | 'stream.active' | 'stream.disconnected' | 'stream.idle' | 'recording.ready';
|
|
29943
|
+
/**
|
|
29944
|
+
* Where in the stream the event happened, in milliseconds from its start; null when it has no position.
|
|
29945
|
+
*/
|
|
29946
|
+
offset_ms: number;
|
|
29947
|
+
/**
|
|
29948
|
+
* The wall-clock time of the event, RFC 3339 UTC; align it with outside data using this, not the offset.
|
|
29949
|
+
*/
|
|
29950
|
+
at: string;
|
|
29951
|
+
/**
|
|
29952
|
+
* Where at comes from: program_date_time is the time the source stamped in its HLS playlist; received is the time Praxis received it.
|
|
29953
|
+
*/
|
|
29954
|
+
at_source: 'program_date_time' | 'received';
|
|
29955
|
+
/**
|
|
29956
|
+
* Details of the event: status (the stream status after it), cause (what drove it) and, for a refusal, reason.
|
|
29957
|
+
*/
|
|
29958
|
+
data: {
|
|
29959
|
+
[key: string]: unknown;
|
|
29960
|
+
};
|
|
29961
|
+
};
|
|
29962
|
+
/**
|
|
29963
|
+
* One element of a pipeline, told by type. transcribe {language?, hot_words?}; describe_frames {interval_s 5 to 300 default 10, prompt?, model?}; match_keywords {keywords}; sinks events, webhook {url} and agent {session_id}.
|
|
29964
|
+
*/
|
|
29965
|
+
export type MediaPipelineElement = {
|
|
29966
|
+
/**
|
|
29967
|
+
* Which processor or sink this element is. transcribe turns the speech into transcript events; describe_frames describes one keyframe every interval_s; match_keywords looks for words in the transcript; events is the stream's own event log, always on; webhook posts the results to a url; agent sends them to an agent session.
|
|
29968
|
+
*/
|
|
29969
|
+
type: 'transcribe' | 'describe_frames' | 'match_keywords' | 'events' | 'webhook' | 'agent';
|
|
29970
|
+
/**
|
|
29971
|
+
* transcribe: a language tag such as zh or en-US.
|
|
29972
|
+
*/
|
|
29973
|
+
language?: string;
|
|
29974
|
+
/**
|
|
29975
|
+
* transcribe: words the recogniser should favour, at most 100.
|
|
29976
|
+
*/
|
|
29977
|
+
hot_words?: Array<string>;
|
|
29978
|
+
/**
|
|
29979
|
+
* describe_frames: seconds between two described frames.
|
|
29980
|
+
*/
|
|
29981
|
+
interval_s?: number;
|
|
29982
|
+
/**
|
|
29983
|
+
* describe_frames: what to ask the model about the frame; the default asks what is happening in the picture in a sentence or two.
|
|
29984
|
+
*/
|
|
29985
|
+
prompt?: string;
|
|
29986
|
+
/**
|
|
29987
|
+
* describe_frames: the vision model; omit it to use the platform's default.
|
|
29988
|
+
*/
|
|
29989
|
+
model?: string;
|
|
29990
|
+
/**
|
|
29991
|
+
* match_keywords: the words to look for in the transcript.
|
|
29992
|
+
*/
|
|
29993
|
+
keywords?: Array<string>;
|
|
29994
|
+
/**
|
|
29995
|
+
* webhook: the https or http address results are posted to.
|
|
29996
|
+
*/
|
|
29997
|
+
url?: string;
|
|
29998
|
+
/**
|
|
29999
|
+
* webhook: a stable name for this webhook inside the pipeline (letters, digits, - and _, up to 64); whk_ followed by its position when you send none.
|
|
30000
|
+
*/
|
|
30001
|
+
id?: string;
|
|
30002
|
+
/**
|
|
30003
|
+
* webhook: the signing secret (whsec_ followed by base64) the receiver verifies each delivery with. It is made when the webhook is added and shown only in the response that adds it (pipelines.create or pipelines.update); every later read leaves it out, and an update that keeps the webhook's id keeps its secret. You cannot send one.
|
|
30004
|
+
*/
|
|
30005
|
+
readonly secret?: string;
|
|
30006
|
+
/**
|
|
30007
|
+
* agent: the agent session that receives the results.
|
|
30008
|
+
*/
|
|
30009
|
+
session_id?: string;
|
|
30010
|
+
};
|
|
30011
|
+
/**
|
|
30012
|
+
* One alert rule, told by type. keyword_match {keywords} fires on a transcript word; model_judgment {prompt} is a question a model answers over a window of the transcript and frame descriptions. Other fields you send are kept as sent.
|
|
30013
|
+
*/
|
|
30014
|
+
export type MediaPipelineAlertRule = {
|
|
30015
|
+
/**
|
|
30016
|
+
* Which rule this is. keyword_match fires on listed words in the transcript; model_judgment fires when a model's answer to the prompt over a window of transcript and frame descriptions says so.
|
|
30017
|
+
*/
|
|
30018
|
+
type: 'keyword_match' | 'model_judgment';
|
|
30019
|
+
/**
|
|
30020
|
+
* keyword_match: the words that fire it.
|
|
30021
|
+
*/
|
|
30022
|
+
keywords?: Array<string>;
|
|
30023
|
+
/**
|
|
30024
|
+
* model_judgment: the question the model answers.
|
|
30025
|
+
*/
|
|
30026
|
+
prompt?: string;
|
|
30027
|
+
[key: string]: unknown;
|
|
30028
|
+
};
|
|
29217
30029
|
/**
|
|
29218
30030
|
* Lifetime of an Anthropic-style cache breakpoint.
|
|
29219
30031
|
*/
|
|
@@ -33735,27 +34547,6 @@ export type SandboxError = {
|
|
|
33735
34547
|
*/
|
|
33736
34548
|
message: string;
|
|
33737
34549
|
};
|
|
33738
|
-
/**
|
|
33739
|
-
* The free-text rules of a department.
|
|
33740
|
-
*/
|
|
33741
|
-
export type OrganizationDepartmentCharter = {
|
|
33742
|
-
/**
|
|
33743
|
-
* Charter text: free-text rules for the department, inherited by every department below it.
|
|
33744
|
-
*/
|
|
33745
|
-
text: string;
|
|
33746
|
-
/**
|
|
33747
|
-
* Revision of the charter, starting at 1; send it as expected_revision to amend the charter.
|
|
33748
|
-
*/
|
|
33749
|
-
revision: number;
|
|
33750
|
-
/**
|
|
33751
|
-
* UTC instant (RFC 3339) of the latest amendment.
|
|
33752
|
-
*/
|
|
33753
|
-
update_time: string;
|
|
33754
|
-
/**
|
|
33755
|
-
* Actor address that made the latest amendment, such as human:usr_123.
|
|
33756
|
-
*/
|
|
33757
|
-
updated_by: string;
|
|
33758
|
-
};
|
|
33759
34550
|
export type OrganizationNewLevel = {
|
|
33760
34551
|
/**
|
|
33761
34552
|
* Level name, 1 to 100 characters, such as Junior.
|
|
@@ -33895,7 +34686,7 @@ export type OrganizationChainLink = {
|
|
|
33895
34686
|
holder_name: string | null;
|
|
33896
34687
|
}>;
|
|
33897
34688
|
/**
|
|
33898
|
-
* Departments from the root down to the department of the position, root first
|
|
34689
|
+
* Departments from the root down to the department of the position, root first.
|
|
33899
34690
|
*/
|
|
33900
34691
|
department_path: Array<OrganizationChainDepartment>;
|
|
33901
34692
|
/**
|
|
@@ -35813,6 +36604,38 @@ export type AutomationHumanTaskOutcome = {
|
|
|
35813
36604
|
* Current revision as a decimal string, incremented by one after each successful write; pass it as expected_version to guard a subsequent execute call.
|
|
35814
36605
|
*/
|
|
35815
36606
|
export type CanvasVersion = string;
|
|
36607
|
+
export type CanvasCanvasImport = {
|
|
36608
|
+
/**
|
|
36609
|
+
* The alias this library is imported under; components are referenced as alias:component_id and variables as $alias:name.
|
|
36610
|
+
*/
|
|
36611
|
+
alias: string;
|
|
36612
|
+
/**
|
|
36613
|
+
* The library's canvas id.
|
|
36614
|
+
*/
|
|
36615
|
+
library: string;
|
|
36616
|
+
/**
|
|
36617
|
+
* The library's current name, or the name it had when imported if the library canvas was deleted.
|
|
36618
|
+
*/
|
|
36619
|
+
name: string;
|
|
36620
|
+
/**
|
|
36621
|
+
* The library version this canvas uses.
|
|
36622
|
+
*/
|
|
36623
|
+
version: string;
|
|
36624
|
+
/**
|
|
36625
|
+
* The library's newest published version, or null when the library canvas was deleted.
|
|
36626
|
+
*/
|
|
36627
|
+
latest_version: string | null;
|
|
36628
|
+
/**
|
|
36629
|
+
* 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.
|
|
36630
|
+
*/
|
|
36631
|
+
status: 'current' | 'outdated' | 'deleted';
|
|
36632
|
+
/**
|
|
36633
|
+
* 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.
|
|
36634
|
+
*/
|
|
36635
|
+
instances?: {
|
|
36636
|
+
[key: string]: number;
|
|
36637
|
+
};
|
|
36638
|
+
};
|
|
35816
36639
|
export type CanvasFrame = {
|
|
35817
36640
|
/**
|
|
35818
36641
|
* Top-level node identifier; use in nodes.list, images.list or an execute script.
|
|
@@ -35909,6 +36732,93 @@ export type CanvasCanvasVersion = {
|
|
|
35909
36732
|
*/
|
|
35910
36733
|
restored_from: string | null;
|
|
35911
36734
|
};
|
|
36735
|
+
export type CanvasComponentRef = {
|
|
36736
|
+
/**
|
|
36737
|
+
* Node id of the component's root frame in the library canvas.
|
|
36738
|
+
*/
|
|
36739
|
+
id: string;
|
|
36740
|
+
/**
|
|
36741
|
+
* The component's name, or its id when it has no name.
|
|
36742
|
+
*/
|
|
36743
|
+
name: string;
|
|
36744
|
+
};
|
|
36745
|
+
export type CanvasLibraryVersion = {
|
|
36746
|
+
/**
|
|
36747
|
+
* Library version number, counting from 1.
|
|
36748
|
+
*/
|
|
36749
|
+
version: string;
|
|
36750
|
+
/**
|
|
36751
|
+
* The canvas version this library version was taken from.
|
|
36752
|
+
*/
|
|
36753
|
+
canvas_version: string;
|
|
36754
|
+
/**
|
|
36755
|
+
* Release note given at publish time; empty when none was given.
|
|
36756
|
+
*/
|
|
36757
|
+
description: string;
|
|
36758
|
+
/**
|
|
36759
|
+
* Principal that published this version, resolved from the authenticated caller.
|
|
36760
|
+
*/
|
|
36761
|
+
actor: {
|
|
36762
|
+
/**
|
|
36763
|
+
* Identifier of the user or agent that published.
|
|
36764
|
+
*/
|
|
36765
|
+
id: string;
|
|
36766
|
+
/**
|
|
36767
|
+
* Principal category; human identifies a person using Console, agent an automated API caller.
|
|
36768
|
+
*/
|
|
36769
|
+
kind: 'human' | 'agent';
|
|
36770
|
+
/**
|
|
36771
|
+
* Display label recorded for the principal when publishing.
|
|
36772
|
+
*/
|
|
36773
|
+
name: string;
|
|
36774
|
+
};
|
|
36775
|
+
/**
|
|
36776
|
+
* ISO 8601 time at which this version was published.
|
|
36777
|
+
*/
|
|
36778
|
+
published_at: string;
|
|
36779
|
+
/**
|
|
36780
|
+
* Number of components in this version, not counting removed ones.
|
|
36781
|
+
*/
|
|
36782
|
+
component_count: number;
|
|
36783
|
+
/**
|
|
36784
|
+
* Components new in this version.
|
|
36785
|
+
*/
|
|
36786
|
+
added: Array<CanvasComponentRef>;
|
|
36787
|
+
/**
|
|
36788
|
+
* Components whose content changed in this version.
|
|
36789
|
+
*/
|
|
36790
|
+
changed: Array<CanvasComponentRef>;
|
|
36791
|
+
/**
|
|
36792
|
+
* Components removed in this version.
|
|
36793
|
+
*/
|
|
36794
|
+
removed: Array<CanvasComponentRef>;
|
|
36795
|
+
};
|
|
36796
|
+
export type CanvasLibrarySummary = {
|
|
36797
|
+
/**
|
|
36798
|
+
* The library's canvas id; use it as canvas_id in library_versions and publish.
|
|
36799
|
+
*/
|
|
36800
|
+
canvas_id: string;
|
|
36801
|
+
/**
|
|
36802
|
+
* The library canvas's display name.
|
|
36803
|
+
*/
|
|
36804
|
+
name: string;
|
|
36805
|
+
/**
|
|
36806
|
+
* Latest published library version.
|
|
36807
|
+
*/
|
|
36808
|
+
version: string;
|
|
36809
|
+
/**
|
|
36810
|
+
* ISO 8601 time at which the latest version was published.
|
|
36811
|
+
*/
|
|
36812
|
+
published_at: string;
|
|
36813
|
+
/**
|
|
36814
|
+
* Number of components in the latest version.
|
|
36815
|
+
*/
|
|
36816
|
+
component_count: number;
|
|
36817
|
+
/**
|
|
36818
|
+
* Number of live canvases that import this library.
|
|
36819
|
+
*/
|
|
36820
|
+
used_by: number;
|
|
36821
|
+
};
|
|
35912
36822
|
/**
|
|
35913
36823
|
* The settings a create accepts; only source is required, and the other groups keep their defaults when omitted.
|
|
35914
36824
|
*/
|
|
@@ -39493,6 +40403,27 @@ export type MediaProvenance = {
|
|
|
39493
40403
|
*/
|
|
39494
40404
|
pipeline_run_id?: string;
|
|
39495
40405
|
};
|
|
40406
|
+
/**
|
|
40407
|
+
* 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.
|
|
40408
|
+
*/
|
|
40409
|
+
export type MediaRecordingProvenance = {
|
|
40410
|
+
/**
|
|
40411
|
+
* Always live_recording; it tells this record apart from the provenance of a generated or edited asset.
|
|
40412
|
+
*/
|
|
40413
|
+
kind: 'live_recording';
|
|
40414
|
+
/**
|
|
40415
|
+
* 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.
|
|
40416
|
+
*/
|
|
40417
|
+
live_stream_id: string;
|
|
40418
|
+
/**
|
|
40419
|
+
* 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.
|
|
40420
|
+
*/
|
|
40421
|
+
broadcast_started_at: MediaIsoTimestamp;
|
|
40422
|
+
/**
|
|
40423
|
+
* When the recorded broadcast ended, as an RFC 3339 UTC timestamp.
|
|
40424
|
+
*/
|
|
40425
|
+
broadcast_ended_at: MediaIsoTimestamp;
|
|
40426
|
+
};
|
|
39496
40427
|
/**
|
|
39497
40428
|
* One dominant colour of an analysed image.
|
|
39498
40429
|
*/
|
|
@@ -39936,7 +40867,7 @@ export type MediaSearchAsset = {
|
|
|
39936
40867
|
/**
|
|
39937
40868
|
* How this asset was generated or edited, including the model, prompt and references. Omitted on uploaded, imported and legacy assets.
|
|
39938
40869
|
*/
|
|
39939
|
-
provenance?: MediaProvenance;
|
|
40870
|
+
provenance?: MediaProvenance | MediaRecordingProvenance;
|
|
39940
40871
|
/**
|
|
39941
40872
|
* 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.
|
|
39942
40873
|
*/
|
|
@@ -42291,6 +43222,23 @@ export type OwnFileMisalignmentErrorDetailsResource = {
|
|
|
42291
43222
|
*/
|
|
42292
43223
|
steer?: OwnFileMisalignmentSteer;
|
|
42293
43224
|
};
|
|
43225
|
+
/**
|
|
43226
|
+
* The three quantities a stream is metered in.
|
|
43227
|
+
*/
|
|
43228
|
+
export type MediaStreamUsageNumbers = {
|
|
43229
|
+
/**
|
|
43230
|
+
* Seconds the stream was live, to the millisecond.
|
|
43231
|
+
*/
|
|
43232
|
+
stream_seconds: number;
|
|
43233
|
+
/**
|
|
43234
|
+
* Seconds of processing (pipeline processors and alert judgments) run for the stream, to the millisecond.
|
|
43235
|
+
*/
|
|
43236
|
+
processor_seconds: number;
|
|
43237
|
+
/**
|
|
43238
|
+
* Bytes recorded from the stream.
|
|
43239
|
+
*/
|
|
43240
|
+
recorded_bytes: number;
|
|
43241
|
+
};
|
|
42294
43242
|
/**
|
|
42295
43243
|
* Audio output data or reference
|
|
42296
43244
|
*/
|
|
@@ -45971,10 +46919,6 @@ export type OrganizationChainDepartment = {
|
|
|
45971
46919
|
* Department name.
|
|
45972
46920
|
*/
|
|
45973
46921
|
name: string;
|
|
45974
|
-
/**
|
|
45975
|
-
* Charter text of this department; null when none has been written. Charters of all departments on the path apply to the position.
|
|
45976
|
-
*/
|
|
45977
|
-
charter: string | null;
|
|
45978
46922
|
};
|
|
45979
46923
|
/**
|
|
45980
46924
|
* The job a position was opened from.
|
|
@@ -49455,6 +50399,90 @@ export type AgentManaged206Writable = {
|
|
|
49455
50399
|
export type AgentManaged246Writable = {
|
|
49456
50400
|
[key: string]: string;
|
|
49457
50401
|
};
|
|
50402
|
+
/**
|
|
50403
|
+
* A new pipeline. Unknown fields answer 400.
|
|
50404
|
+
*/
|
|
50405
|
+
export type CreateMediaPipelineRequestWritable = {
|
|
50406
|
+
/**
|
|
50407
|
+
* The pipeline's name.
|
|
50408
|
+
*/
|
|
50409
|
+
name: string;
|
|
50410
|
+
/**
|
|
50411
|
+
* The ordered processors and sinks; empty by default.
|
|
50412
|
+
*/
|
|
50413
|
+
elements?: Array<MediaPipelineElementWritable>;
|
|
50414
|
+
/**
|
|
50415
|
+
* The alert rules; empty by default.
|
|
50416
|
+
*/
|
|
50417
|
+
alert_rules?: Array<MediaPipelineAlertRule>;
|
|
50418
|
+
};
|
|
50419
|
+
/**
|
|
50420
|
+
* A pipeline, the processing a stream runs while it is live.
|
|
50421
|
+
*/
|
|
50422
|
+
export type MediaPipelineWritable = {
|
|
50423
|
+
/**
|
|
50424
|
+
* The pipeline's id; msp_ followed by 26 lowercase base32 characters.
|
|
50425
|
+
*/
|
|
50426
|
+
id: string;
|
|
50427
|
+
/**
|
|
50428
|
+
* Always media.pipeline.
|
|
50429
|
+
*/
|
|
50430
|
+
object: 'media.pipeline';
|
|
50431
|
+
/**
|
|
50432
|
+
* The pipeline's name.
|
|
50433
|
+
*/
|
|
50434
|
+
name: string;
|
|
50435
|
+
/**
|
|
50436
|
+
* The ordered processors and sinks.
|
|
50437
|
+
*/
|
|
50438
|
+
elements: Array<MediaPipelineElementWritable>;
|
|
50439
|
+
/**
|
|
50440
|
+
* The alert rules.
|
|
50441
|
+
*/
|
|
50442
|
+
alert_rules: Array<MediaPipelineAlertRule>;
|
|
50443
|
+
/**
|
|
50444
|
+
* When the pipeline was created.
|
|
50445
|
+
*/
|
|
50446
|
+
created_at: string;
|
|
50447
|
+
/**
|
|
50448
|
+
* When it last changed.
|
|
50449
|
+
*/
|
|
50450
|
+
updated_at: string;
|
|
50451
|
+
};
|
|
50452
|
+
/**
|
|
50453
|
+
* One page of pipelines.
|
|
50454
|
+
*/
|
|
50455
|
+
export type MediaPipelineListWritable = {
|
|
50456
|
+
/**
|
|
50457
|
+
* Always list.
|
|
50458
|
+
*/
|
|
50459
|
+
object: 'list';
|
|
50460
|
+
/**
|
|
50461
|
+
* The pipelines of this page
|
|
50462
|
+
*/
|
|
50463
|
+
data: Array<MediaPipelineWritable>;
|
|
50464
|
+
/**
|
|
50465
|
+
* True when another page follows; pass the last id as starting_after.
|
|
50466
|
+
*/
|
|
50467
|
+
has_more: boolean;
|
|
50468
|
+
};
|
|
50469
|
+
/**
|
|
50470
|
+
* The fields to replace; at least one. Unknown fields answer 400.
|
|
50471
|
+
*/
|
|
50472
|
+
export type UpdateMediaPipelineRequestWritable = {
|
|
50473
|
+
/**
|
|
50474
|
+
* The new name.
|
|
50475
|
+
*/
|
|
50476
|
+
name?: string;
|
|
50477
|
+
/**
|
|
50478
|
+
* The new element list
|
|
50479
|
+
*/
|
|
50480
|
+
elements?: Array<MediaPipelineElementWritable>;
|
|
50481
|
+
/**
|
|
50482
|
+
* The new rules
|
|
50483
|
+
*/
|
|
50484
|
+
alert_rules?: Array<MediaPipelineAlertRule>;
|
|
50485
|
+
};
|
|
49458
50486
|
/**
|
|
49459
50487
|
* Models to use for completion
|
|
49460
50488
|
*/
|
|
@@ -49937,7 +50965,7 @@ export type MediaAssetWritable = {
|
|
|
49937
50965
|
/**
|
|
49938
50966
|
* How this asset was generated or edited, including the model, prompt and references. Omitted on uploaded, imported and legacy assets.
|
|
49939
50967
|
*/
|
|
49940
|
-
provenance?: MediaProvenance;
|
|
50968
|
+
provenance?: MediaProvenance | MediaRecordingProvenance;
|
|
49941
50969
|
/**
|
|
49942
50970
|
* 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.
|
|
49943
50971
|
*/
|
|
@@ -50044,6 +51072,51 @@ export type MediaSemanticSearchResultWritable = {
|
|
|
50044
51072
|
export type AgentManaged193Writable = {
|
|
50045
51073
|
[key: string]: unknown;
|
|
50046
51074
|
};
|
|
51075
|
+
/**
|
|
51076
|
+
* One element of a pipeline, told by type. transcribe {language?, hot_words?}; describe_frames {interval_s 5 to 300 default 10, prompt?, model?}; match_keywords {keywords}; sinks events, webhook {url} and agent {session_id}.
|
|
51077
|
+
*/
|
|
51078
|
+
export type MediaPipelineElementWritable = {
|
|
51079
|
+
/**
|
|
51080
|
+
* Which processor or sink this element is. transcribe turns the speech into transcript events; describe_frames describes one keyframe every interval_s; match_keywords looks for words in the transcript; events is the stream's own event log, always on; webhook posts the results to a url; agent sends them to an agent session.
|
|
51081
|
+
*/
|
|
51082
|
+
type: 'transcribe' | 'describe_frames' | 'match_keywords' | 'events' | 'webhook' | 'agent';
|
|
51083
|
+
/**
|
|
51084
|
+
* transcribe: a language tag such as zh or en-US.
|
|
51085
|
+
*/
|
|
51086
|
+
language?: string;
|
|
51087
|
+
/**
|
|
51088
|
+
* transcribe: words the recogniser should favour, at most 100.
|
|
51089
|
+
*/
|
|
51090
|
+
hot_words?: Array<string>;
|
|
51091
|
+
/**
|
|
51092
|
+
* describe_frames: seconds between two described frames.
|
|
51093
|
+
*/
|
|
51094
|
+
interval_s?: number;
|
|
51095
|
+
/**
|
|
51096
|
+
* describe_frames: what to ask the model about the frame; the default asks what is happening in the picture in a sentence or two.
|
|
51097
|
+
*/
|
|
51098
|
+
prompt?: string;
|
|
51099
|
+
/**
|
|
51100
|
+
* describe_frames: the vision model; omit it to use the platform's default.
|
|
51101
|
+
*/
|
|
51102
|
+
model?: string;
|
|
51103
|
+
/**
|
|
51104
|
+
* match_keywords: the words to look for in the transcript.
|
|
51105
|
+
*/
|
|
51106
|
+
keywords?: Array<string>;
|
|
51107
|
+
/**
|
|
51108
|
+
* webhook: the https or http address results are posted to.
|
|
51109
|
+
*/
|
|
51110
|
+
url?: string;
|
|
51111
|
+
/**
|
|
51112
|
+
* webhook: a stable name for this webhook inside the pipeline (letters, digits, - and _, up to 64); whk_ followed by its position when you send none.
|
|
51113
|
+
*/
|
|
51114
|
+
id?: string;
|
|
51115
|
+
/**
|
|
51116
|
+
* agent: the agent session that receives the results.
|
|
51117
|
+
*/
|
|
51118
|
+
session_id?: string;
|
|
51119
|
+
};
|
|
50047
51120
|
/**
|
|
50048
51121
|
* Configuration for the openrouter:files server tool
|
|
50049
51122
|
*/
|
|
@@ -50494,7 +51567,7 @@ export type MediaSearchAssetWritable = {
|
|
|
50494
51567
|
/**
|
|
50495
51568
|
* How this asset was generated or edited, including the model, prompt and references. Omitted on uploaded, imported and legacy assets.
|
|
50496
51569
|
*/
|
|
50497
|
-
provenance?: MediaProvenance;
|
|
51570
|
+
provenance?: MediaProvenance | MediaRecordingProvenance;
|
|
50498
51571
|
/**
|
|
50499
51572
|
* 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.
|
|
50500
51573
|
*/
|
|
@@ -51552,6 +52625,14 @@ export type ListAgentEventsResponses = {
|
|
|
51552
52625
|
* message_id of the agent message in the parent session up to which the conversation was copied.
|
|
51553
52626
|
*/
|
|
51554
52627
|
forked_from_message_id: string;
|
|
52628
|
+
/**
|
|
52629
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
52630
|
+
*/
|
|
52631
|
+
message_id?: string;
|
|
52632
|
+
/**
|
|
52633
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
52634
|
+
*/
|
|
52635
|
+
session_thread_id?: string | null;
|
|
51555
52636
|
} | {
|
|
51556
52637
|
/**
|
|
51557
52638
|
* Event id, unique within the session.
|
|
@@ -51663,6 +52744,14 @@ export type ListAgentEventsResponses = {
|
|
|
51663
52744
|
*/
|
|
51664
52745
|
updated_at: number;
|
|
51665
52746
|
} | null;
|
|
52747
|
+
/**
|
|
52748
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
52749
|
+
*/
|
|
52750
|
+
message_id?: string;
|
|
52751
|
+
/**
|
|
52752
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
52753
|
+
*/
|
|
52754
|
+
session_thread_id?: string | null;
|
|
51666
52755
|
} | {
|
|
51667
52756
|
/**
|
|
51668
52757
|
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
@@ -51713,6 +52802,14 @@ export type ListAgentEventsResponses = {
|
|
|
51713
52802
|
*/
|
|
51714
52803
|
next_action?: string;
|
|
51715
52804
|
};
|
|
52805
|
+
/**
|
|
52806
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
52807
|
+
*/
|
|
52808
|
+
message_id?: string;
|
|
52809
|
+
/**
|
|
52810
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
52811
|
+
*/
|
|
52812
|
+
session_thread_id?: string | null;
|
|
51716
52813
|
} | {
|
|
51717
52814
|
/**
|
|
51718
52815
|
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
@@ -51730,6 +52827,14 @@ export type ListAgentEventsResponses = {
|
|
|
51730
52827
|
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
51731
52828
|
*/
|
|
51732
52829
|
processed_at: string;
|
|
52830
|
+
/**
|
|
52831
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
52832
|
+
*/
|
|
52833
|
+
message_id?: string;
|
|
52834
|
+
/**
|
|
52835
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
52836
|
+
*/
|
|
52837
|
+
session_thread_id?: string | null;
|
|
51733
52838
|
} | {
|
|
51734
52839
|
/**
|
|
51735
52840
|
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
@@ -52280,6 +53385,14 @@ export type ListAgentEventsResponses = {
|
|
|
52280
53385
|
*/
|
|
52281
53386
|
path: string;
|
|
52282
53387
|
};
|
|
53388
|
+
/**
|
|
53389
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
53390
|
+
*/
|
|
53391
|
+
message_id?: string;
|
|
53392
|
+
/**
|
|
53393
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
53394
|
+
*/
|
|
53395
|
+
session_thread_id?: string | null;
|
|
52283
53396
|
} | {
|
|
52284
53397
|
/**
|
|
52285
53398
|
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
@@ -52301,6 +53414,14 @@ export type ListAgentEventsResponses = {
|
|
|
52301
53414
|
* Present only when the project left the registry rather than the session detaching it.
|
|
52302
53415
|
*/
|
|
52303
53416
|
reason?: 'project_removed';
|
|
53417
|
+
/**
|
|
53418
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
53419
|
+
*/
|
|
53420
|
+
message_id?: string;
|
|
53421
|
+
/**
|
|
53422
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
53423
|
+
*/
|
|
53424
|
+
session_thread_id?: string | null;
|
|
52304
53425
|
}>;
|
|
52305
53426
|
/**
|
|
52306
53427
|
* Opaque cursor for the next page: pass it unchanged as page to continue. Null when this is the last page.
|
|
@@ -52432,6 +53553,14 @@ export type SendAgentEventsResponses = {
|
|
|
52432
53553
|
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
52433
53554
|
*/
|
|
52434
53555
|
processed_at: string;
|
|
53556
|
+
/**
|
|
53557
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
53558
|
+
*/
|
|
53559
|
+
message_id?: string;
|
|
53560
|
+
/**
|
|
53561
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
53562
|
+
*/
|
|
53563
|
+
session_thread_id?: string | null;
|
|
52435
53564
|
}>;
|
|
52436
53565
|
};
|
|
52437
53566
|
};
|
|
@@ -69953,6 +71082,551 @@ export type MetaDocsSearchResponses = {
|
|
|
69953
71082
|
}>;
|
|
69954
71083
|
};
|
|
69955
71084
|
export type MetaDocsSearchResponse = MetaDocsSearchResponses[keyof MetaDocsSearchResponses];
|
|
71085
|
+
export type ListMediaStreamsData = {
|
|
71086
|
+
body?: never;
|
|
71087
|
+
path?: never;
|
|
71088
|
+
query?: {
|
|
71089
|
+
/**
|
|
71090
|
+
* How many streams one page holds, 1 to 100; default 20.
|
|
71091
|
+
*/
|
|
71092
|
+
limit?: number;
|
|
71093
|
+
/**
|
|
71094
|
+
* 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.
|
|
71095
|
+
*/
|
|
71096
|
+
starting_after?: string;
|
|
71097
|
+
};
|
|
71098
|
+
url: '/media/v1/streams';
|
|
71099
|
+
};
|
|
71100
|
+
export type ListMediaStreamsErrors = {
|
|
71101
|
+
/**
|
|
71102
|
+
* 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.
|
|
71103
|
+
*/
|
|
71104
|
+
400: MediaStreamError;
|
|
71105
|
+
/**
|
|
71106
|
+
* The request carries no valid API key or session. Send a key of your organization.
|
|
71107
|
+
*/
|
|
71108
|
+
401: MediaStreamError;
|
|
71109
|
+
/**
|
|
71110
|
+
* Media Streams is not released for your organization (flag media-streams-public is off).
|
|
71111
|
+
*/
|
|
71112
|
+
404: MediaStreamError;
|
|
71113
|
+
};
|
|
71114
|
+
export type ListMediaStreamsError = ListMediaStreamsErrors[keyof ListMediaStreamsErrors];
|
|
71115
|
+
export type ListMediaStreamsResponses = {
|
|
71116
|
+
/**
|
|
71117
|
+
* One page of streams, newest first; has_more says whether another page follows.
|
|
71118
|
+
*/
|
|
71119
|
+
200: MediaStreamList;
|
|
71120
|
+
};
|
|
71121
|
+
export type ListMediaStreamsResponse = ListMediaStreamsResponses[keyof ListMediaStreamsResponses];
|
|
71122
|
+
export type CreateMediaStreamData = {
|
|
71123
|
+
body: CreateMediaStreamRequest;
|
|
71124
|
+
path?: never;
|
|
71125
|
+
query?: never;
|
|
71126
|
+
url: '/media/v1/streams';
|
|
71127
|
+
};
|
|
71128
|
+
export type CreateMediaStreamErrors = {
|
|
71129
|
+
/**
|
|
71130
|
+
* 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.
|
|
71131
|
+
*/
|
|
71132
|
+
400: MediaStreamError;
|
|
71133
|
+
/**
|
|
71134
|
+
* The request carries no valid API key or session. Send a key of your organization.
|
|
71135
|
+
*/
|
|
71136
|
+
401: MediaStreamError;
|
|
71137
|
+
/**
|
|
71138
|
+
* Media Streams is not released for your organization (flag media-streams-public is off). Ask the platform to enable it, or use another surface.
|
|
71139
|
+
*/
|
|
71140
|
+
404: MediaStreamError;
|
|
71141
|
+
/**
|
|
71142
|
+
* This is a push stream and push is not available in this environment; create a pull stream, or retry later.
|
|
71143
|
+
*/
|
|
71144
|
+
503: MediaStreamError;
|
|
71145
|
+
};
|
|
71146
|
+
export type CreateMediaStreamError = CreateMediaStreamErrors[keyof CreateMediaStreamErrors];
|
|
71147
|
+
export type CreateMediaStreamResponses = {
|
|
71148
|
+
/**
|
|
71149
|
+
* The stream, idle. A push stream also carries push; keep its token, it is not shown again by streams.retrieve.
|
|
71150
|
+
*/
|
|
71151
|
+
201: MediaStreamWithPush;
|
|
71152
|
+
};
|
|
71153
|
+
export type CreateMediaStreamResponse = CreateMediaStreamResponses[keyof CreateMediaStreamResponses];
|
|
71154
|
+
export type DeleteMediaStreamData = {
|
|
71155
|
+
body?: never;
|
|
71156
|
+
path: {
|
|
71157
|
+
/**
|
|
71158
|
+
* 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.
|
|
71159
|
+
*/
|
|
71160
|
+
stream_id: string;
|
|
71161
|
+
};
|
|
71162
|
+
query?: never;
|
|
71163
|
+
url: '/media/v1/streams/{stream_id}';
|
|
71164
|
+
};
|
|
71165
|
+
export type DeleteMediaStreamErrors = {
|
|
71166
|
+
/**
|
|
71167
|
+
* No stream with this id in your organization, or Media Streams is not released for it.
|
|
71168
|
+
*/
|
|
71169
|
+
404: MediaStreamError;
|
|
71170
|
+
/**
|
|
71171
|
+
* The stream is waiting or active. Call streams.disable.create first, then delete it.
|
|
71172
|
+
*/
|
|
71173
|
+
409: MediaStreamError;
|
|
71174
|
+
};
|
|
71175
|
+
export type DeleteMediaStreamError = DeleteMediaStreamErrors[keyof DeleteMediaStreamErrors];
|
|
71176
|
+
export type DeleteMediaStreamResponses = {
|
|
71177
|
+
/**
|
|
71178
|
+
* The stream is deleted.
|
|
71179
|
+
*/
|
|
71180
|
+
200: MediaStreamDeleted;
|
|
71181
|
+
};
|
|
71182
|
+
export type DeleteMediaStreamResponse = DeleteMediaStreamResponses[keyof DeleteMediaStreamResponses];
|
|
71183
|
+
export type GetMediaStreamData = {
|
|
71184
|
+
body?: never;
|
|
71185
|
+
path: {
|
|
71186
|
+
/**
|
|
71187
|
+
* 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.
|
|
71188
|
+
*/
|
|
71189
|
+
stream_id: string;
|
|
71190
|
+
};
|
|
71191
|
+
query?: never;
|
|
71192
|
+
url: '/media/v1/streams/{stream_id}';
|
|
71193
|
+
};
|
|
71194
|
+
export type GetMediaStreamErrors = {
|
|
71195
|
+
/**
|
|
71196
|
+
* The request carries no valid API key or session. Send a key of your organization.
|
|
71197
|
+
*/
|
|
71198
|
+
401: MediaStreamError;
|
|
71199
|
+
/**
|
|
71200
|
+
* No stream with this id in your organization, or Media Streams is not released for it. List your streams to find the id.
|
|
71201
|
+
*/
|
|
71202
|
+
404: MediaStreamError;
|
|
71203
|
+
};
|
|
71204
|
+
export type GetMediaStreamError = GetMediaStreamErrors[keyof GetMediaStreamErrors];
|
|
71205
|
+
export type GetMediaStreamResponses = {
|
|
71206
|
+
/**
|
|
71207
|
+
* The stream as it is now.
|
|
71208
|
+
*/
|
|
71209
|
+
200: MediaStream;
|
|
71210
|
+
};
|
|
71211
|
+
export type GetMediaStreamResponse = GetMediaStreamResponses[keyof GetMediaStreamResponses];
|
|
71212
|
+
export type UpdateMediaStreamData = {
|
|
71213
|
+
body: UpdateMediaStreamRequest;
|
|
71214
|
+
path: {
|
|
71215
|
+
/**
|
|
71216
|
+
* 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.
|
|
71217
|
+
*/
|
|
71218
|
+
stream_id: string;
|
|
71219
|
+
};
|
|
71220
|
+
query?: never;
|
|
71221
|
+
url: '/media/v1/streams/{stream_id}';
|
|
71222
|
+
};
|
|
71223
|
+
export type UpdateMediaStreamErrors = {
|
|
71224
|
+
/**
|
|
71225
|
+
* The patch is empty, carries an unknown field or an invalid value (the error names the field). Correct it and send again.
|
|
71226
|
+
*/
|
|
71227
|
+
400: MediaStreamError;
|
|
71228
|
+
/**
|
|
71229
|
+
* No stream with this id in your organization, or Media Streams is not released for it.
|
|
71230
|
+
*/
|
|
71231
|
+
404: MediaStreamError;
|
|
71232
|
+
/**
|
|
71233
|
+
* The source of a waiting or active pull stream cannot change. Disable the stream with streams.disable.create, change it, then enable it again.
|
|
71234
|
+
*/
|
|
71235
|
+
409: MediaStreamError;
|
|
71236
|
+
};
|
|
71237
|
+
export type UpdateMediaStreamError = UpdateMediaStreamErrors[keyof UpdateMediaStreamErrors];
|
|
71238
|
+
export type UpdateMediaStreamResponses = {
|
|
71239
|
+
/**
|
|
71240
|
+
* The stream after the change.
|
|
71241
|
+
*/
|
|
71242
|
+
200: MediaStream;
|
|
71243
|
+
};
|
|
71244
|
+
export type UpdateMediaStreamResponse = UpdateMediaStreamResponses[keyof UpdateMediaStreamResponses];
|
|
71245
|
+
export type EnableMediaStreamData = {
|
|
71246
|
+
body?: never;
|
|
71247
|
+
path: {
|
|
71248
|
+
/**
|
|
71249
|
+
* 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.
|
|
71250
|
+
*/
|
|
71251
|
+
stream_id: string;
|
|
71252
|
+
};
|
|
71253
|
+
query?: never;
|
|
71254
|
+
url: '/media/v1/streams/{stream_id}/enable';
|
|
71255
|
+
};
|
|
71256
|
+
export type EnableMediaStreamErrors = {
|
|
71257
|
+
/**
|
|
71258
|
+
* No stream with this id in your organization, or Media Streams is not released for it.
|
|
71259
|
+
*/
|
|
71260
|
+
404: MediaStreamError;
|
|
71261
|
+
/**
|
|
71262
|
+
* The stream is not disabled; only a disabled stream can be enabled.
|
|
71263
|
+
*/
|
|
71264
|
+
409: MediaStreamError;
|
|
71265
|
+
};
|
|
71266
|
+
export type EnableMediaStreamError = EnableMediaStreamErrors[keyof EnableMediaStreamErrors];
|
|
71267
|
+
export type EnableMediaStreamResponses = {
|
|
71268
|
+
/**
|
|
71269
|
+
* The stream, now idle.
|
|
71270
|
+
*/
|
|
71271
|
+
200: MediaStream;
|
|
71272
|
+
};
|
|
71273
|
+
export type EnableMediaStreamResponse = EnableMediaStreamResponses[keyof EnableMediaStreamResponses];
|
|
71274
|
+
export type DisableMediaStreamData = {
|
|
71275
|
+
body?: never;
|
|
71276
|
+
path: {
|
|
71277
|
+
/**
|
|
71278
|
+
* 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.
|
|
71279
|
+
*/
|
|
71280
|
+
stream_id: string;
|
|
71281
|
+
};
|
|
71282
|
+
query?: never;
|
|
71283
|
+
url: '/media/v1/streams/{stream_id}/disable';
|
|
71284
|
+
};
|
|
71285
|
+
export type DisableMediaStreamErrors = {
|
|
71286
|
+
/**
|
|
71287
|
+
* No stream with this id in your organization, or Media Streams is not released for it.
|
|
71288
|
+
*/
|
|
71289
|
+
404: MediaStreamError;
|
|
71290
|
+
};
|
|
71291
|
+
export type DisableMediaStreamError = DisableMediaStreamErrors[keyof DisableMediaStreamErrors];
|
|
71292
|
+
export type DisableMediaStreamResponses = {
|
|
71293
|
+
/**
|
|
71294
|
+
* The stream, now disabled.
|
|
71295
|
+
*/
|
|
71296
|
+
200: MediaStream;
|
|
71297
|
+
};
|
|
71298
|
+
export type DisableMediaStreamResponse = DisableMediaStreamResponses[keyof DisableMediaStreamResponses];
|
|
71299
|
+
export type CreateMediaStreamSubscriptionData = {
|
|
71300
|
+
body?: never;
|
|
71301
|
+
path: {
|
|
71302
|
+
/**
|
|
71303
|
+
* 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.
|
|
71304
|
+
*/
|
|
71305
|
+
stream_id: string;
|
|
71306
|
+
};
|
|
71307
|
+
query?: never;
|
|
71308
|
+
url: '/media/v1/streams/{stream_id}/subscribe-token';
|
|
71309
|
+
};
|
|
71310
|
+
export type CreateMediaStreamSubscriptionErrors = {
|
|
71311
|
+
/**
|
|
71312
|
+
* The request carries no valid API key or session. Send a key of your organization.
|
|
71313
|
+
*/
|
|
71314
|
+
401: MediaStreamError;
|
|
71315
|
+
/**
|
|
71316
|
+
* No stream with this id in your organization, or Media Streams is not released for it. List your streams to find the id.
|
|
71317
|
+
*/
|
|
71318
|
+
404: MediaStreamError;
|
|
71319
|
+
/**
|
|
71320
|
+
* Subscribing is not available in this environment; retry later.
|
|
71321
|
+
*/
|
|
71322
|
+
503: MediaStreamError;
|
|
71323
|
+
};
|
|
71324
|
+
export type CreateMediaStreamSubscriptionError = CreateMediaStreamSubscriptionErrors[keyof CreateMediaStreamSubscriptionErrors];
|
|
71325
|
+
export type CreateMediaStreamSubscriptionResponses = {
|
|
71326
|
+
/**
|
|
71327
|
+
* The socket address and its capability.
|
|
71328
|
+
*/
|
|
71329
|
+
200: MediaStreamSubscription;
|
|
71330
|
+
};
|
|
71331
|
+
export type CreateMediaStreamSubscriptionResponse = CreateMediaStreamSubscriptionResponses[keyof CreateMediaStreamSubscriptionResponses];
|
|
71332
|
+
export type CreateMediaStreamPlaybackData = {
|
|
71333
|
+
body?: never;
|
|
71334
|
+
path: {
|
|
71335
|
+
/**
|
|
71336
|
+
* 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.
|
|
71337
|
+
*/
|
|
71338
|
+
stream_id: string;
|
|
71339
|
+
};
|
|
71340
|
+
query?: never;
|
|
71341
|
+
url: '/media/v1/streams/{stream_id}/playback-token';
|
|
71342
|
+
};
|
|
71343
|
+
export type CreateMediaStreamPlaybackErrors = {
|
|
71344
|
+
/**
|
|
71345
|
+
* The request carries no valid API key or session. Send a key of your organization.
|
|
71346
|
+
*/
|
|
71347
|
+
401: MediaStreamError;
|
|
71348
|
+
/**
|
|
71349
|
+
* No stream with this id in your organization, or Media Streams is not released for it. List your streams to find the id.
|
|
71350
|
+
*/
|
|
71351
|
+
404: MediaStreamError;
|
|
71352
|
+
/**
|
|
71353
|
+
* The stream has nothing to play: set playback.enabled to true (streams.update) or record it automatically, then ask again.
|
|
71354
|
+
*/
|
|
71355
|
+
409: MediaStreamError;
|
|
71356
|
+
};
|
|
71357
|
+
export type CreateMediaStreamPlaybackError = CreateMediaStreamPlaybackErrors[keyof CreateMediaStreamPlaybackErrors];
|
|
71358
|
+
export type CreateMediaStreamPlaybackResponses = {
|
|
71359
|
+
/**
|
|
71360
|
+
* The playlist address and its capability.
|
|
71361
|
+
*/
|
|
71362
|
+
200: MediaStreamPlayback;
|
|
71363
|
+
};
|
|
71364
|
+
export type CreateMediaStreamPlaybackResponse = CreateMediaStreamPlaybackResponses[keyof CreateMediaStreamPlaybackResponses];
|
|
71365
|
+
export type GetMediaStreamLivePlaylistData = {
|
|
71366
|
+
body?: never;
|
|
71367
|
+
path: {
|
|
71368
|
+
/**
|
|
71369
|
+
* The stream's id, as in the address streams.playbackToken returned.
|
|
71370
|
+
*/
|
|
71371
|
+
stream_id: string;
|
|
71372
|
+
};
|
|
71373
|
+
query: {
|
|
71374
|
+
/**
|
|
71375
|
+
* The playback token from the address streams.playbackToken returned; an hour of life.
|
|
71376
|
+
*/
|
|
71377
|
+
token: string;
|
|
71378
|
+
};
|
|
71379
|
+
url: '/media/v1/streams/{stream_id}/live.m3u8';
|
|
71380
|
+
};
|
|
71381
|
+
export type GetMediaStreamLivePlaylistErrors = {
|
|
71382
|
+
/**
|
|
71383
|
+
* The token is missing, wrong or expired. Mint a new address.
|
|
71384
|
+
*/
|
|
71385
|
+
401: MediaStreamError;
|
|
71386
|
+
/**
|
|
71387
|
+
* No such stream.
|
|
71388
|
+
*/
|
|
71389
|
+
404: MediaStreamError;
|
|
71390
|
+
/**
|
|
71391
|
+
* The broadcast has no segments yet (the stream is waiting for its source); ask again in a few seconds.
|
|
71392
|
+
*/
|
|
71393
|
+
409: MediaStreamError;
|
|
71394
|
+
};
|
|
71395
|
+
export type GetMediaStreamLivePlaylistError = GetMediaStreamLivePlaylistErrors[keyof GetMediaStreamLivePlaylistErrors];
|
|
71396
|
+
export type GetMediaStreamLivePlaylistResponses = {
|
|
71397
|
+
/**
|
|
71398
|
+
* The playlist, application/vnd.apple.mpegurl.
|
|
71399
|
+
*/
|
|
71400
|
+
200: string;
|
|
71401
|
+
};
|
|
71402
|
+
export type GetMediaStreamLivePlaylistResponse = GetMediaStreamLivePlaylistResponses[keyof GetMediaStreamLivePlaylistResponses];
|
|
71403
|
+
export type ResetMediaStreamTokenData = {
|
|
71404
|
+
body?: never;
|
|
71405
|
+
path: {
|
|
71406
|
+
/**
|
|
71407
|
+
* 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.
|
|
71408
|
+
*/
|
|
71409
|
+
stream_id: string;
|
|
71410
|
+
};
|
|
71411
|
+
query?: never;
|
|
71412
|
+
url: '/media/v1/streams/{stream_id}/reset-token';
|
|
71413
|
+
};
|
|
71414
|
+
export type ResetMediaStreamTokenErrors = {
|
|
71415
|
+
/**
|
|
71416
|
+
* No stream with this id in your organization, or Media Streams is not released for it.
|
|
71417
|
+
*/
|
|
71418
|
+
404: MediaStreamError;
|
|
71419
|
+
/**
|
|
71420
|
+
* The stream is a pull stream and has no push token.
|
|
71421
|
+
*/
|
|
71422
|
+
409: MediaStreamError;
|
|
71423
|
+
/**
|
|
71424
|
+
* Push is not available in this environment; retry later.
|
|
71425
|
+
*/
|
|
71426
|
+
503: MediaStreamError;
|
|
71427
|
+
};
|
|
71428
|
+
export type ResetMediaStreamTokenError = ResetMediaStreamTokenErrors[keyof ResetMediaStreamTokenErrors];
|
|
71429
|
+
export type ResetMediaStreamTokenResponses = {
|
|
71430
|
+
/**
|
|
71431
|
+
* The stream with its new push credential.
|
|
71432
|
+
*/
|
|
71433
|
+
200: MediaStreamWithPush;
|
|
71434
|
+
};
|
|
71435
|
+
export type ResetMediaStreamTokenResponse = ResetMediaStreamTokenResponses[keyof ResetMediaStreamTokenResponses];
|
|
71436
|
+
export type ListMediaStreamEventsData = {
|
|
71437
|
+
body?: never;
|
|
71438
|
+
path: {
|
|
71439
|
+
/**
|
|
71440
|
+
* 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.
|
|
71441
|
+
*/
|
|
71442
|
+
stream_id: string;
|
|
71443
|
+
};
|
|
71444
|
+
query?: {
|
|
71445
|
+
/**
|
|
71446
|
+
* 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.
|
|
71447
|
+
*/
|
|
71448
|
+
after?: number;
|
|
71449
|
+
/**
|
|
71450
|
+
* How many events one page holds, 1 to 100; default 100.
|
|
71451
|
+
*/
|
|
71452
|
+
limit?: number;
|
|
71453
|
+
};
|
|
71454
|
+
url: '/media/v1/streams/{stream_id}/events';
|
|
71455
|
+
};
|
|
71456
|
+
export type ListMediaStreamEventsErrors = {
|
|
71457
|
+
/**
|
|
71458
|
+
* after is not a sequence number, or limit is not an integer from 1 to 100. Correct the parameter and send again.
|
|
71459
|
+
*/
|
|
71460
|
+
400: MediaStreamError;
|
|
71461
|
+
/**
|
|
71462
|
+
* No stream with this id in your organization, or Media Streams is not released for it.
|
|
71463
|
+
*/
|
|
71464
|
+
404: MediaStreamError;
|
|
71465
|
+
};
|
|
71466
|
+
export type ListMediaStreamEventsError = ListMediaStreamEventsErrors[keyof ListMediaStreamEventsErrors];
|
|
71467
|
+
export type ListMediaStreamEventsResponses = {
|
|
71468
|
+
/**
|
|
71469
|
+
* The events after the given seq, oldest first.
|
|
71470
|
+
*/
|
|
71471
|
+
200: MediaStreamEventList;
|
|
71472
|
+
};
|
|
71473
|
+
export type ListMediaStreamEventsResponse = ListMediaStreamEventsResponses[keyof ListMediaStreamEventsResponses];
|
|
71474
|
+
export type ListMediaPipelinesData = {
|
|
71475
|
+
body?: never;
|
|
71476
|
+
path?: never;
|
|
71477
|
+
query?: {
|
|
71478
|
+
/**
|
|
71479
|
+
* How many pipelines one page holds, 1 to 100; default 20.
|
|
71480
|
+
*/
|
|
71481
|
+
limit?: number;
|
|
71482
|
+
/**
|
|
71483
|
+
* The id of the last pipeline of the previous page, taken from that page's data; omit it for the first page. An id that is not a pipeline of your organization answers 400.
|
|
71484
|
+
*/
|
|
71485
|
+
starting_after?: string;
|
|
71486
|
+
};
|
|
71487
|
+
url: '/media/v1/pipelines';
|
|
71488
|
+
};
|
|
71489
|
+
export type ListMediaPipelinesErrors = {
|
|
71490
|
+
/**
|
|
71491
|
+
* limit is not an integer from 1 to 100, or starting_after is not a pipeline of your organization. Correct the parameter and send again.
|
|
71492
|
+
*/
|
|
71493
|
+
400: MediaStreamError;
|
|
71494
|
+
/**
|
|
71495
|
+
* The request carries no valid API key or session. Send a key of your organization.
|
|
71496
|
+
*/
|
|
71497
|
+
401: MediaStreamError;
|
|
71498
|
+
/**
|
|
71499
|
+
* Media Streams is not released for your organization (flag media-streams-public is off).
|
|
71500
|
+
*/
|
|
71501
|
+
404: MediaStreamError;
|
|
71502
|
+
};
|
|
71503
|
+
export type ListMediaPipelinesError = ListMediaPipelinesErrors[keyof ListMediaPipelinesErrors];
|
|
71504
|
+
export type ListMediaPipelinesResponses = {
|
|
71505
|
+
/**
|
|
71506
|
+
* One page of pipelines, newest first; has_more says whether another page follows.
|
|
71507
|
+
*/
|
|
71508
|
+
200: MediaPipelineList;
|
|
71509
|
+
};
|
|
71510
|
+
export type ListMediaPipelinesResponse = ListMediaPipelinesResponses[keyof ListMediaPipelinesResponses];
|
|
71511
|
+
export type CreateMediaPipelineData = {
|
|
71512
|
+
body: CreateMediaPipelineRequestWritable;
|
|
71513
|
+
path?: never;
|
|
71514
|
+
query?: never;
|
|
71515
|
+
url: '/media/v1/pipelines';
|
|
71516
|
+
};
|
|
71517
|
+
export type CreateMediaPipelineErrors = {
|
|
71518
|
+
/**
|
|
71519
|
+
* A field is invalid: the error names it (for example elements[0].interval_s outside 5 to 300, or a second transcribe element). Correct that field and send again.
|
|
71520
|
+
*/
|
|
71521
|
+
400: MediaStreamError;
|
|
71522
|
+
/**
|
|
71523
|
+
* The request carries no valid API key or session. Send a key of your organization.
|
|
71524
|
+
*/
|
|
71525
|
+
401: MediaStreamError;
|
|
71526
|
+
/**
|
|
71527
|
+
* Media Streams is not released for your organization (flag media-streams-public is off).
|
|
71528
|
+
*/
|
|
71529
|
+
404: MediaStreamError;
|
|
71530
|
+
};
|
|
71531
|
+
export type CreateMediaPipelineError = CreateMediaPipelineErrors[keyof CreateMediaPipelineErrors];
|
|
71532
|
+
export type CreateMediaPipelineResponses = {
|
|
71533
|
+
/**
|
|
71534
|
+
* The pipeline.
|
|
71535
|
+
*/
|
|
71536
|
+
201: MediaPipeline;
|
|
71537
|
+
};
|
|
71538
|
+
export type CreateMediaPipelineResponse = CreateMediaPipelineResponses[keyof CreateMediaPipelineResponses];
|
|
71539
|
+
export type DeleteMediaPipelineData = {
|
|
71540
|
+
body?: never;
|
|
71541
|
+
path: {
|
|
71542
|
+
/**
|
|
71543
|
+
* The pipeline's id, the id field returned by pipelines.create or pipelines.list (msp_ followed by 26 lowercase base32 characters); a pipeline of another organization answers 404.
|
|
71544
|
+
*/
|
|
71545
|
+
pipeline_id: string;
|
|
71546
|
+
};
|
|
71547
|
+
query?: never;
|
|
71548
|
+
url: '/media/v1/pipelines/{pipeline_id}';
|
|
71549
|
+
};
|
|
71550
|
+
export type DeleteMediaPipelineErrors = {
|
|
71551
|
+
/**
|
|
71552
|
+
* No pipeline with this id in your organization, or Media Streams is not released for it.
|
|
71553
|
+
*/
|
|
71554
|
+
404: MediaStreamError;
|
|
71555
|
+
/**
|
|
71556
|
+
* A stream still names this pipeline (code PIPELINE_IN_USE). Set that stream's pipeline_id to null or delete the stream, then delete the pipeline.
|
|
71557
|
+
*/
|
|
71558
|
+
409: MediaStreamError;
|
|
71559
|
+
};
|
|
71560
|
+
export type DeleteMediaPipelineError = DeleteMediaPipelineErrors[keyof DeleteMediaPipelineErrors];
|
|
71561
|
+
export type DeleteMediaPipelineResponses = {
|
|
71562
|
+
/**
|
|
71563
|
+
* The pipeline is deleted.
|
|
71564
|
+
*/
|
|
71565
|
+
200: MediaPipelineDeleted;
|
|
71566
|
+
};
|
|
71567
|
+
export type DeleteMediaPipelineResponse = DeleteMediaPipelineResponses[keyof DeleteMediaPipelineResponses];
|
|
71568
|
+
export type GetMediaPipelineData = {
|
|
71569
|
+
body?: never;
|
|
71570
|
+
path: {
|
|
71571
|
+
/**
|
|
71572
|
+
* The pipeline's id, the id field returned by pipelines.create or pipelines.list (msp_ followed by 26 lowercase base32 characters); a pipeline of another organization answers 404.
|
|
71573
|
+
*/
|
|
71574
|
+
pipeline_id: string;
|
|
71575
|
+
};
|
|
71576
|
+
query?: never;
|
|
71577
|
+
url: '/media/v1/pipelines/{pipeline_id}';
|
|
71578
|
+
};
|
|
71579
|
+
export type GetMediaPipelineErrors = {
|
|
71580
|
+
/**
|
|
71581
|
+
* The request carries no valid API key or session. Send a key of your organization.
|
|
71582
|
+
*/
|
|
71583
|
+
401: MediaStreamError;
|
|
71584
|
+
/**
|
|
71585
|
+
* No pipeline with this id in your organization, or Media Streams is not released for it. List your pipelines to find the id.
|
|
71586
|
+
*/
|
|
71587
|
+
404: MediaStreamError;
|
|
71588
|
+
};
|
|
71589
|
+
export type GetMediaPipelineError = GetMediaPipelineErrors[keyof GetMediaPipelineErrors];
|
|
71590
|
+
export type GetMediaPipelineResponses = {
|
|
71591
|
+
/**
|
|
71592
|
+
* The pipeline as it is now.
|
|
71593
|
+
*/
|
|
71594
|
+
200: MediaPipeline;
|
|
71595
|
+
};
|
|
71596
|
+
export type GetMediaPipelineResponse = GetMediaPipelineResponses[keyof GetMediaPipelineResponses];
|
|
71597
|
+
export type UpdateMediaPipelineData = {
|
|
71598
|
+
body: UpdateMediaPipelineRequestWritable;
|
|
71599
|
+
path: {
|
|
71600
|
+
/**
|
|
71601
|
+
* The pipeline's id, the id field returned by pipelines.create or pipelines.list (msp_ followed by 26 lowercase base32 characters); a pipeline of another organization answers 404.
|
|
71602
|
+
*/
|
|
71603
|
+
pipeline_id: string;
|
|
71604
|
+
};
|
|
71605
|
+
query?: never;
|
|
71606
|
+
url: '/media/v1/pipelines/{pipeline_id}';
|
|
71607
|
+
};
|
|
71608
|
+
export type UpdateMediaPipelineErrors = {
|
|
71609
|
+
/**
|
|
71610
|
+
* A field is invalid or the patch changes nothing: the error names the field. Correct it and send again.
|
|
71611
|
+
*/
|
|
71612
|
+
400: MediaStreamError;
|
|
71613
|
+
/**
|
|
71614
|
+
* The request carries no valid API key or session. Send a key of your organization.
|
|
71615
|
+
*/
|
|
71616
|
+
401: MediaStreamError;
|
|
71617
|
+
/**
|
|
71618
|
+
* No pipeline with this id in your organization, or Media Streams is not released for it.
|
|
71619
|
+
*/
|
|
71620
|
+
404: MediaStreamError;
|
|
71621
|
+
};
|
|
71622
|
+
export type UpdateMediaPipelineError = UpdateMediaPipelineErrors[keyof UpdateMediaPipelineErrors];
|
|
71623
|
+
export type UpdateMediaPipelineResponses = {
|
|
71624
|
+
/**
|
|
71625
|
+
* The pipeline after the change.
|
|
71626
|
+
*/
|
|
71627
|
+
200: MediaPipeline;
|
|
71628
|
+
};
|
|
71629
|
+
export type UpdateMediaPipelineResponse = UpdateMediaPipelineResponses[keyof UpdateMediaPipelineResponses];
|
|
69956
71630
|
export type ListModelsData = {
|
|
69957
71631
|
body?: never;
|
|
69958
71632
|
path?: never;
|
|
@@ -78075,10 +79749,10 @@ export type DissolveOrganizationDepartmentResponses = {
|
|
|
78075
79749
|
};
|
|
78076
79750
|
export type DissolveOrganizationDepartmentResponse = DissolveOrganizationDepartmentResponses[keyof DissolveOrganizationDepartmentResponses];
|
|
78077
79751
|
export type AmendOrganizationDepartmentCharterData = {
|
|
78078
|
-
body
|
|
79752
|
+
body?: never;
|
|
78079
79753
|
path: {
|
|
78080
79754
|
/**
|
|
78081
|
-
* Department id (dept_...) whose charter
|
|
79755
|
+
* Department id (dept_...) whose charter used to change here.
|
|
78082
79756
|
*/
|
|
78083
79757
|
id: string;
|
|
78084
79758
|
};
|
|
@@ -78087,34 +79761,11 @@ export type AmendOrganizationDepartmentCharterData = {
|
|
|
78087
79761
|
};
|
|
78088
79762
|
export type AmendOrganizationDepartmentCharterErrors = {
|
|
78089
79763
|
/**
|
|
78090
|
-
*
|
|
79764
|
+
* DEPARTMENT_CHARTER_GONE; this route was removed in
|
|
78091
79765
|
*/
|
|
78092
|
-
|
|
78093
|
-
/**
|
|
78094
|
-
* Missing or invalid credential; provide a valid organization API key or sign in to the Console.
|
|
78095
|
-
*/
|
|
78096
|
-
401: unknown;
|
|
78097
|
-
/**
|
|
78098
|
-
* PERMISSION_DENIED; an organization owner or admin, or the head of the department or of a department above it may call this, and machine tokens are always refused (an agent's session token may read the organization, never change it). Use an API key or Console session of an allowed role.
|
|
78099
|
-
*/
|
|
78100
|
-
403: OrganizationProblem;
|
|
78101
|
-
/**
|
|
78102
|
-
* DEPARTMENT_NOT_FOUND; list departments and copy an id of your organization.
|
|
78103
|
-
*/
|
|
78104
|
-
404: OrganizationProblem;
|
|
78105
|
-
/**
|
|
78106
|
-
* DEPARTMENT_DISSOLVED or REVISION_CONFLICT; a dissolved department takes no charter, and on a conflict read the department again and retry with its charter.revision.
|
|
78107
|
-
*/
|
|
78108
|
-
409: OrganizationProblem;
|
|
79766
|
+
410: OrganizationProblem;
|
|
78109
79767
|
};
|
|
78110
79768
|
export type AmendOrganizationDepartmentCharterError = AmendOrganizationDepartmentCharterErrors[keyof AmendOrganizationDepartmentCharterErrors];
|
|
78111
|
-
export type AmendOrganizationDepartmentCharterResponses = {
|
|
78112
|
-
/**
|
|
78113
|
-
* The department with its new charter.
|
|
78114
|
-
*/
|
|
78115
|
-
200: OrganizationDepartment;
|
|
78116
|
-
};
|
|
78117
|
-
export type AmendOrganizationDepartmentCharterResponse = AmendOrganizationDepartmentCharterResponses[keyof AmendOrganizationDepartmentCharterResponses];
|
|
78118
79769
|
export type ListOrganizationJobsData = {
|
|
78119
79770
|
body?: never;
|
|
78120
79771
|
path?: never;
|
|
@@ -87413,6 +89064,14 @@ export type SessionsEventsListResponses = {
|
|
|
87413
89064
|
* message_id of the agent message in the parent session up to which the conversation was copied.
|
|
87414
89065
|
*/
|
|
87415
89066
|
forked_from_message_id: string;
|
|
89067
|
+
/**
|
|
89068
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
89069
|
+
*/
|
|
89070
|
+
message_id?: string;
|
|
89071
|
+
/**
|
|
89072
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
89073
|
+
*/
|
|
89074
|
+
session_thread_id?: string | null;
|
|
87416
89075
|
} | {
|
|
87417
89076
|
/**
|
|
87418
89077
|
* Event id, unique within the session.
|
|
@@ -87524,6 +89183,14 @@ export type SessionsEventsListResponses = {
|
|
|
87524
89183
|
*/
|
|
87525
89184
|
updated_at: number;
|
|
87526
89185
|
} | null;
|
|
89186
|
+
/**
|
|
89187
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
89188
|
+
*/
|
|
89189
|
+
message_id?: string;
|
|
89190
|
+
/**
|
|
89191
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
89192
|
+
*/
|
|
89193
|
+
session_thread_id?: string | null;
|
|
87527
89194
|
} | {
|
|
87528
89195
|
/**
|
|
87529
89196
|
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
@@ -87574,6 +89241,14 @@ export type SessionsEventsListResponses = {
|
|
|
87574
89241
|
*/
|
|
87575
89242
|
next_action?: string;
|
|
87576
89243
|
};
|
|
89244
|
+
/**
|
|
89245
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
89246
|
+
*/
|
|
89247
|
+
message_id?: string;
|
|
89248
|
+
/**
|
|
89249
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
89250
|
+
*/
|
|
89251
|
+
session_thread_id?: string | null;
|
|
87577
89252
|
} | {
|
|
87578
89253
|
/**
|
|
87579
89254
|
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
@@ -87591,6 +89266,14 @@ export type SessionsEventsListResponses = {
|
|
|
87591
89266
|
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
87592
89267
|
*/
|
|
87593
89268
|
processed_at: string;
|
|
89269
|
+
/**
|
|
89270
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
89271
|
+
*/
|
|
89272
|
+
message_id?: string;
|
|
89273
|
+
/**
|
|
89274
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
89275
|
+
*/
|
|
89276
|
+
session_thread_id?: string | null;
|
|
87594
89277
|
} | {
|
|
87595
89278
|
/**
|
|
87596
89279
|
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
@@ -88141,6 +89824,14 @@ export type SessionsEventsListResponses = {
|
|
|
88141
89824
|
*/
|
|
88142
89825
|
path: string;
|
|
88143
89826
|
};
|
|
89827
|
+
/**
|
|
89828
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
89829
|
+
*/
|
|
89830
|
+
message_id?: string;
|
|
89831
|
+
/**
|
|
89832
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
89833
|
+
*/
|
|
89834
|
+
session_thread_id?: string | null;
|
|
88144
89835
|
} | {
|
|
88145
89836
|
/**
|
|
88146
89837
|
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
@@ -88162,6 +89853,14 @@ export type SessionsEventsListResponses = {
|
|
|
88162
89853
|
* Present only when the project left the registry rather than the session detaching it.
|
|
88163
89854
|
*/
|
|
88164
89855
|
reason?: 'project_removed';
|
|
89856
|
+
/**
|
|
89857
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
89858
|
+
*/
|
|
89859
|
+
message_id?: string;
|
|
89860
|
+
/**
|
|
89861
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
89862
|
+
*/
|
|
89863
|
+
session_thread_id?: string | null;
|
|
88165
89864
|
}>;
|
|
88166
89865
|
/**
|
|
88167
89866
|
* Opaque cursor for the next page: pass it unchanged as page to continue. Null when this is the last page.
|
|
@@ -88305,6 +90004,14 @@ export type SessionsEventsSendResponses = {
|
|
|
88305
90004
|
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
88306
90005
|
*/
|
|
88307
90006
|
processed_at: string;
|
|
90007
|
+
/**
|
|
90008
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
90009
|
+
*/
|
|
90010
|
+
message_id?: string;
|
|
90011
|
+
/**
|
|
90012
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
90013
|
+
*/
|
|
90014
|
+
session_thread_id?: string | null;
|
|
88308
90015
|
}>;
|
|
88309
90016
|
};
|
|
88310
90017
|
};
|
|
@@ -89079,6 +90786,14 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
89079
90786
|
* message_id of the agent message in the parent session up to which the conversation was copied.
|
|
89080
90787
|
*/
|
|
89081
90788
|
forked_from_message_id: string;
|
|
90789
|
+
/**
|
|
90790
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
90791
|
+
*/
|
|
90792
|
+
message_id?: string;
|
|
90793
|
+
/**
|
|
90794
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
90795
|
+
*/
|
|
90796
|
+
session_thread_id?: string | null;
|
|
89082
90797
|
} | {
|
|
89083
90798
|
/**
|
|
89084
90799
|
* Event id, unique within the session.
|
|
@@ -89190,6 +90905,14 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
89190
90905
|
*/
|
|
89191
90906
|
updated_at: number;
|
|
89192
90907
|
} | null;
|
|
90908
|
+
/**
|
|
90909
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
90910
|
+
*/
|
|
90911
|
+
message_id?: string;
|
|
90912
|
+
/**
|
|
90913
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
90914
|
+
*/
|
|
90915
|
+
session_thread_id?: string | null;
|
|
89193
90916
|
} | {
|
|
89194
90917
|
/**
|
|
89195
90918
|
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
@@ -89240,6 +90963,14 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
89240
90963
|
*/
|
|
89241
90964
|
next_action?: string;
|
|
89242
90965
|
};
|
|
90966
|
+
/**
|
|
90967
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
90968
|
+
*/
|
|
90969
|
+
message_id?: string;
|
|
90970
|
+
/**
|
|
90971
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
90972
|
+
*/
|
|
90973
|
+
session_thread_id?: string | null;
|
|
89243
90974
|
} | {
|
|
89244
90975
|
/**
|
|
89245
90976
|
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
@@ -89257,6 +90988,14 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
89257
90988
|
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
89258
90989
|
*/
|
|
89259
90990
|
processed_at: string;
|
|
90991
|
+
/**
|
|
90992
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
90993
|
+
*/
|
|
90994
|
+
message_id?: string;
|
|
90995
|
+
/**
|
|
90996
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
90997
|
+
*/
|
|
90998
|
+
session_thread_id?: string | null;
|
|
89260
90999
|
} | {
|
|
89261
91000
|
/**
|
|
89262
91001
|
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
@@ -89807,6 +91546,14 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
89807
91546
|
*/
|
|
89808
91547
|
path: string;
|
|
89809
91548
|
};
|
|
91549
|
+
/**
|
|
91550
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
91551
|
+
*/
|
|
91552
|
+
message_id?: string;
|
|
91553
|
+
/**
|
|
91554
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
91555
|
+
*/
|
|
91556
|
+
session_thread_id?: string | null;
|
|
89810
91557
|
} | {
|
|
89811
91558
|
/**
|
|
89812
91559
|
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
@@ -89828,6 +91575,14 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
89828
91575
|
* Present only when the project left the registry rather than the session detaching it.
|
|
89829
91576
|
*/
|
|
89830
91577
|
reason?: 'project_removed';
|
|
91578
|
+
/**
|
|
91579
|
+
* Envelope field, not part of this event's own payload: the transcript message id of the row, added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event stamps a message id today, so it is declared for the frame shape rather than produced here.
|
|
91580
|
+
*/
|
|
91581
|
+
message_id?: string;
|
|
91582
|
+
/**
|
|
91583
|
+
* Envelope field, not part of this event's own payload: the public sthr_ thread id of the row (null when the row has none), added by the shared projection in apps/api/src/routes/managed-session-events.ts whenever the row carries one (#4480). No writer of this event runs under a thread today, so it is declared for the frame shape rather than produced here.
|
|
91584
|
+
*/
|
|
91585
|
+
session_thread_id?: string | null;
|
|
89831
91586
|
}>;
|
|
89832
91587
|
/**
|
|
89833
91588
|
* Opaque cursor for the next page: pass it unchanged as page to continue. Null when this is the last page.
|
|
@@ -97816,6 +99571,10 @@ export type CanvasListCanvasesData = {
|
|
|
97816
99571
|
* 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.
|
|
97817
99572
|
*/
|
|
97818
99573
|
collection_id?: string;
|
|
99574
|
+
/**
|
|
99575
|
+
* 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.
|
|
99576
|
+
*/
|
|
99577
|
+
library?: boolean;
|
|
97819
99578
|
};
|
|
97820
99579
|
url: '/canvas/v1/canvases';
|
|
97821
99580
|
};
|
|
@@ -98477,6 +100236,255 @@ export type CanvasRestoreCanvasResponses = {
|
|
|
98477
100236
|
200: CanvasRestoreResult;
|
|
98478
100237
|
};
|
|
98479
100238
|
export type CanvasRestoreCanvasResponse = CanvasRestoreCanvasResponses[keyof CanvasRestoreCanvasResponses];
|
|
100239
|
+
export type CanvasPublishLibraryData = {
|
|
100240
|
+
/**
|
|
100241
|
+
* Optional release note and an optional guard against publishing a canvas that changed after you last looked.
|
|
100242
|
+
*/
|
|
100243
|
+
body?: CanvasPublishLibraryInput;
|
|
100244
|
+
path: {
|
|
100245
|
+
/**
|
|
100246
|
+
* Canvas id returned by create or list, in the form cvs_ followed by 16 lowercase letters or digits; a display name is not accepted.
|
|
100247
|
+
*/
|
|
100248
|
+
canvas_id: string;
|
|
100249
|
+
};
|
|
100250
|
+
query?: never;
|
|
100251
|
+
url: '/canvas/v1/canvases/{canvas_id}:publish';
|
|
100252
|
+
};
|
|
100253
|
+
export type CanvasPublishLibraryErrors = {
|
|
100254
|
+
/**
|
|
100255
|
+
* 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.
|
|
100256
|
+
*/
|
|
100257
|
+
400: CanvasCanvasError;
|
|
100258
|
+
/**
|
|
100259
|
+
* The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
|
|
100260
|
+
*/
|
|
100261
|
+
401: CanvasCanvasError;
|
|
100262
|
+
/**
|
|
100263
|
+
* 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.
|
|
100264
|
+
*/
|
|
100265
|
+
403: CanvasCanvasError;
|
|
100266
|
+
/**
|
|
100267
|
+
* 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.
|
|
100268
|
+
*/
|
|
100269
|
+
404: CanvasCanvasError;
|
|
100270
|
+
/**
|
|
100271
|
+
* 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.
|
|
100272
|
+
*/
|
|
100273
|
+
409: CanvasCanvasError;
|
|
100274
|
+
/**
|
|
100275
|
+
* INTERNAL means the service could not complete the request; inspect the current canvas before retrying a write to avoid duplicating an already committed edit.
|
|
100276
|
+
*/
|
|
100277
|
+
500: CanvasCanvasError;
|
|
100278
|
+
};
|
|
100279
|
+
export type CanvasPublishLibraryError = CanvasPublishLibraryErrors[keyof CanvasPublishLibraryErrors];
|
|
100280
|
+
export type CanvasPublishLibraryResponses = {
|
|
100281
|
+
/**
|
|
100282
|
+
* The new library version and what it changed relative to the previous one.
|
|
100283
|
+
*/
|
|
100284
|
+
200: CanvasPublishLibraryResult;
|
|
100285
|
+
};
|
|
100286
|
+
export type CanvasPublishLibraryResponse = CanvasPublishLibraryResponses[keyof CanvasPublishLibraryResponses];
|
|
100287
|
+
export type CanvasListLibraryVersionsData = {
|
|
100288
|
+
body?: never;
|
|
100289
|
+
path: {
|
|
100290
|
+
/**
|
|
100291
|
+
* Canvas id returned by create or list, in the form cvs_ followed by 16 lowercase letters or digits; a display name is not accepted.
|
|
100292
|
+
*/
|
|
100293
|
+
canvas_id: string;
|
|
100294
|
+
};
|
|
100295
|
+
query?: {
|
|
100296
|
+
/**
|
|
100297
|
+
* Maximum library versions to return, from 1 to 100 inclusive; omission uses 30.
|
|
100298
|
+
*/
|
|
100299
|
+
limit?: number;
|
|
100300
|
+
/**
|
|
100301
|
+
* Copy next_cursor from the preceding page to continue toward older library versions; omit for the first page.
|
|
100302
|
+
*/
|
|
100303
|
+
cursor?: string;
|
|
100304
|
+
};
|
|
100305
|
+
url: '/canvas/v1/canvases/{canvas_id}/library_versions';
|
|
100306
|
+
};
|
|
100307
|
+
export type CanvasListLibraryVersionsErrors = {
|
|
100308
|
+
/**
|
|
100309
|
+
* INVALID_PARAMS means limit is outside 1–100; correct it. INVALID_PAGE_TOKEN means cursor is invalid; restart listing without a cursor.
|
|
100310
|
+
*/
|
|
100311
|
+
400: CanvasCanvasError;
|
|
100312
|
+
/**
|
|
100313
|
+
* The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
|
|
100314
|
+
*/
|
|
100315
|
+
401: CanvasCanvasError;
|
|
100316
|
+
/**
|
|
100317
|
+
* 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.
|
|
100318
|
+
*/
|
|
100319
|
+
403: CanvasCanvasError;
|
|
100320
|
+
/**
|
|
100321
|
+
* 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.
|
|
100322
|
+
*/
|
|
100323
|
+
404: CanvasCanvasError;
|
|
100324
|
+
/**
|
|
100325
|
+
* NOT_A_LIBRARY means the canvas has never been published; publish it first with canvases.publish.
|
|
100326
|
+
*/
|
|
100327
|
+
409: CanvasCanvasError;
|
|
100328
|
+
/**
|
|
100329
|
+
* INTERNAL means the service could not complete the request; inspect the current canvas before retrying a write to avoid duplicating an already committed edit.
|
|
100330
|
+
*/
|
|
100331
|
+
500: CanvasCanvasError;
|
|
100332
|
+
};
|
|
100333
|
+
export type CanvasListLibraryVersionsError = CanvasListLibraryVersionsErrors[keyof CanvasListLibraryVersionsErrors];
|
|
100334
|
+
export type CanvasListLibraryVersionsResponses = {
|
|
100335
|
+
/**
|
|
100336
|
+
* Published library versions ordered newest first, and the continuation cursor.
|
|
100337
|
+
*/
|
|
100338
|
+
200: CanvasLibraryVersionPage;
|
|
100339
|
+
};
|
|
100340
|
+
export type CanvasListLibraryVersionsResponse = CanvasListLibraryVersionsResponses[keyof CanvasListLibraryVersionsResponses];
|
|
100341
|
+
export type CanvasListLibrariesData = {
|
|
100342
|
+
body?: never;
|
|
100343
|
+
path?: never;
|
|
100344
|
+
query?: {
|
|
100345
|
+
/**
|
|
100346
|
+
* Keep only libraries whose name contains this text, ignoring case; omit to list every library.
|
|
100347
|
+
*/
|
|
100348
|
+
query?: string;
|
|
100349
|
+
/**
|
|
100350
|
+
* Maximum libraries to return per page, from 1 to 100; defaults to 50 when omitted.
|
|
100351
|
+
*/
|
|
100352
|
+
limit?: number;
|
|
100353
|
+
/**
|
|
100354
|
+
* Opaque next_cursor from the preceding list response; omit for the first page and stop when next_cursor is null.
|
|
100355
|
+
*/
|
|
100356
|
+
cursor?: string;
|
|
100357
|
+
};
|
|
100358
|
+
url: '/canvas/v1/libraries';
|
|
100359
|
+
};
|
|
100360
|
+
export type CanvasListLibrariesErrors = {
|
|
100361
|
+
/**
|
|
100362
|
+
* INVALID_PARAMS means a field, query value or identifier violates the documented format or range; correct the indicated input before retrying.
|
|
100363
|
+
*/
|
|
100364
|
+
400: CanvasCanvasError;
|
|
100365
|
+
/**
|
|
100366
|
+
* The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
|
|
100367
|
+
*/
|
|
100368
|
+
401: CanvasCanvasError;
|
|
100369
|
+
/**
|
|
100370
|
+
* 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.
|
|
100371
|
+
*/
|
|
100372
|
+
403: CanvasCanvasError;
|
|
100373
|
+
/**
|
|
100374
|
+
* INTERNAL means the service could not complete the request; inspect the current canvas before retrying a write to avoid duplicating an already committed edit.
|
|
100375
|
+
*/
|
|
100376
|
+
500: CanvasCanvasError;
|
|
100377
|
+
};
|
|
100378
|
+
export type CanvasListLibrariesError = CanvasListLibrariesErrors[keyof CanvasListLibrariesErrors];
|
|
100379
|
+
export type CanvasListLibrariesResponses = {
|
|
100380
|
+
/**
|
|
100381
|
+
* One page of the organization's libraries, most recently published first.
|
|
100382
|
+
*/
|
|
100383
|
+
200: CanvasLibraryPage;
|
|
100384
|
+
};
|
|
100385
|
+
export type CanvasListLibrariesResponse = CanvasListLibrariesResponses[keyof CanvasListLibrariesResponses];
|
|
100386
|
+
export type CanvasSetImportData = {
|
|
100387
|
+
/**
|
|
100388
|
+
* The alias to import under, the library canvas and optionally the library version to use.
|
|
100389
|
+
*/
|
|
100390
|
+
body: CanvasSetImportInput;
|
|
100391
|
+
path: {
|
|
100392
|
+
/**
|
|
100393
|
+
* Canvas id returned by create or list, in the form cvs_ followed by 16 lowercase letters or digits; a display name is not accepted.
|
|
100394
|
+
*/
|
|
100395
|
+
canvas_id: string;
|
|
100396
|
+
};
|
|
100397
|
+
query?: never;
|
|
100398
|
+
url: '/canvas/v1/canvases/{canvas_id}/imports';
|
|
100399
|
+
};
|
|
100400
|
+
export type CanvasSetImportErrors = {
|
|
100401
|
+
/**
|
|
100402
|
+
* 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.
|
|
100403
|
+
*/
|
|
100404
|
+
400: CanvasCanvasError;
|
|
100405
|
+
/**
|
|
100406
|
+
* The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
|
|
100407
|
+
*/
|
|
100408
|
+
401: CanvasCanvasError;
|
|
100409
|
+
/**
|
|
100410
|
+
* 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.
|
|
100411
|
+
*/
|
|
100412
|
+
403: CanvasCanvasError;
|
|
100413
|
+
/**
|
|
100414
|
+
* 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.
|
|
100415
|
+
*/
|
|
100416
|
+
404: CanvasCanvasError;
|
|
100417
|
+
/**
|
|
100418
|
+
* 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.
|
|
100419
|
+
*/
|
|
100420
|
+
409: CanvasCanvasError;
|
|
100421
|
+
/**
|
|
100422
|
+
* INTERNAL means the service could not complete the request; inspect the current canvas before retrying a write to avoid duplicating an already committed edit.
|
|
100423
|
+
*/
|
|
100424
|
+
500: CanvasCanvasError;
|
|
100425
|
+
};
|
|
100426
|
+
export type CanvasSetImportError = CanvasSetImportErrors[keyof CanvasSetImportErrors];
|
|
100427
|
+
export type CanvasSetImportResponses = {
|
|
100428
|
+
/**
|
|
100429
|
+
* The canvas version after the import and the library version now in use.
|
|
100430
|
+
*/
|
|
100431
|
+
200: CanvasSetImportResult;
|
|
100432
|
+
};
|
|
100433
|
+
export type CanvasSetImportResponse = CanvasSetImportResponses[keyof CanvasSetImportResponses];
|
|
100434
|
+
export type CanvasDeleteImportData = {
|
|
100435
|
+
body?: never;
|
|
100436
|
+
path: {
|
|
100437
|
+
/**
|
|
100438
|
+
* Canvas id returned by create or list, in the form cvs_ followed by 16 lowercase letters or digits; a display name is not accepted.
|
|
100439
|
+
*/
|
|
100440
|
+
canvas_id: string;
|
|
100441
|
+
/**
|
|
100442
|
+
* The alias the library was imported under, as shown in imports of retrieve.
|
|
100443
|
+
*/
|
|
100444
|
+
alias: string;
|
|
100445
|
+
};
|
|
100446
|
+
query?: {
|
|
100447
|
+
/**
|
|
100448
|
+
* 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.
|
|
100449
|
+
*/
|
|
100450
|
+
expected_version?: string;
|
|
100451
|
+
};
|
|
100452
|
+
url: '/canvas/v1/canvases/{canvas_id}/imports/{alias}';
|
|
100453
|
+
};
|
|
100454
|
+
export type CanvasDeleteImportErrors = {
|
|
100455
|
+
/**
|
|
100456
|
+
* INVALID_PARAMS means no library is imported under that alias; read imports of retrieve for the aliases in use.
|
|
100457
|
+
*/
|
|
100458
|
+
400: CanvasCanvasError;
|
|
100459
|
+
/**
|
|
100460
|
+
* The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
|
|
100461
|
+
*/
|
|
100462
|
+
401: CanvasCanvasError;
|
|
100463
|
+
/**
|
|
100464
|
+
* 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.
|
|
100465
|
+
*/
|
|
100466
|
+
403: CanvasCanvasError;
|
|
100467
|
+
/**
|
|
100468
|
+
* 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.
|
|
100469
|
+
*/
|
|
100470
|
+
404: CanvasCanvasError;
|
|
100471
|
+
/**
|
|
100472
|
+
* 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.
|
|
100473
|
+
*/
|
|
100474
|
+
409: CanvasCanvasError;
|
|
100475
|
+
/**
|
|
100476
|
+
* INTERNAL means the service could not complete the request; inspect the current canvas before retrying a write to avoid duplicating an already committed edit.
|
|
100477
|
+
*/
|
|
100478
|
+
500: CanvasCanvasError;
|
|
100479
|
+
};
|
|
100480
|
+
export type CanvasDeleteImportError = CanvasDeleteImportErrors[keyof CanvasDeleteImportErrors];
|
|
100481
|
+
export type CanvasDeleteImportResponses = {
|
|
100482
|
+
/**
|
|
100483
|
+
* Confirmation that the import was removed, with the canvas version after the removal.
|
|
100484
|
+
*/
|
|
100485
|
+
200: CanvasDeleteImportResult;
|
|
100486
|
+
};
|
|
100487
|
+
export type CanvasDeleteImportResponse = CanvasDeleteImportResponses[keyof CanvasDeleteImportResponses];
|
|
98480
100488
|
export type ContentListContentsData = {
|
|
98481
100489
|
body?: never;
|
|
98482
100490
|
path?: never;
|
|
@@ -100595,7 +102603,7 @@ export type CustomerCreateAccessTokenErrors = {
|
|
|
100595
102603
|
*/
|
|
100596
102604
|
403: CustomerErrorEnvelope;
|
|
100597
102605
|
/**
|
|
100598
|
-
* RATE_LIMITED: the caller IP has spent this door per-minute anonymous budget.
|
|
102606
|
+
* One of three limits on the exchange, each with a Retry-After header in seconds. RATE_LIMITED: the caller IP has spent this door per-minute anonymous budget. PUBLISHABLE_KEY_RATE_LIMITED: the publishable key has spent its anon_rate_per_min exchanges for this UTC minute, whoever sent them; Retry-After is the rest of the minute. PUBLISHABLE_KEY_DAILY_CAP_REACHED: the key has admitted daily_session_cap new anonymous visitors in this UTC day; a new visitor is refused until 00:00 UTC (Retry-After), while a returning visitor that sends its continuation_token is still admitted. Wait before retrying, never retry immediately; raise or clear the key limit with praxis.customer.publishableKeys.update if it is set too low.
|
|
100599
102607
|
*/
|
|
100600
102608
|
429: CustomerErrorEnvelope;
|
|
100601
102609
|
/**
|
|
@@ -101132,6 +103140,46 @@ export type CustomerDeletePublishableKeyResponses = {
|
|
|
101132
103140
|
200: CustomerPublishableKeyDeleted;
|
|
101133
103141
|
};
|
|
101134
103142
|
export type CustomerDeletePublishableKeyResponse = CustomerDeletePublishableKeyResponses[keyof CustomerDeletePublishableKeyResponses];
|
|
103143
|
+
export type CustomerUpdatePublishableKeyData = {
|
|
103144
|
+
/**
|
|
103145
|
+
* The fields to change; at least one.
|
|
103146
|
+
*/
|
|
103147
|
+
body: CustomerUpdatePublishableKeyInput;
|
|
103148
|
+
path: {
|
|
103149
|
+
/**
|
|
103150
|
+
* Publishable key id (pk_…) from publishable_keys.list, not the plaintext key value.
|
|
103151
|
+
*/
|
|
103152
|
+
key_id: string;
|
|
103153
|
+
};
|
|
103154
|
+
query?: never;
|
|
103155
|
+
url: '/customer/v1/publishable_keys/{key_id}';
|
|
103156
|
+
};
|
|
103157
|
+
export type CustomerUpdatePublishableKeyErrors = {
|
|
103158
|
+
/**
|
|
103159
|
+
* INVALID_PARAMS: the request is not shaped the way this face accepts — an unknown or misspelled field, a repeated query parameter, a resource scope not in the form <type>:<id>:<action>, an expand value that is not products, sign_ins or usage, or a confirm that does not repeat the path customer id. The error names the field at fault and what it accepts; correct that field and send the request again.
|
|
103160
|
+
*/
|
|
103161
|
+
400: CustomerErrorEnvelope;
|
|
103162
|
+
/**
|
|
103163
|
+
* The credential is missing, malformed or expired. Merchant routes answer UNAUTHENTICATED when the API key or session names no organization; the pre-auth doors answer GRANT_CODE_INVALID when a grant code is unknown, already used, expired or foreign, and ACCESS_TOKEN_EXPIRED when the end-user token cannot be verified (a sign-in that is over answers SIGN_IN_EXPIRED or SIGN_IN_REVOKED). Send a valid API key, request a fresh grant code, or sign the end user in again.
|
|
103164
|
+
*/
|
|
103165
|
+
401: CustomerErrorEnvelope;
|
|
103166
|
+
/**
|
|
103167
|
+
* UPSTREAM_UNAVAILABLE: the token issuer or another dependency refused the call, so nothing was issued or changed. Retry later, and if it persists report the time and the request path.
|
|
103168
|
+
*/
|
|
103169
|
+
502: CustomerErrorEnvelope;
|
|
103170
|
+
/**
|
|
103171
|
+
* UPSTREAM_UNAVAILABLE: this face is not usable in this environment — the CUSTOMER service binding is unwired, or the anonymous rate limiter is unavailable or misconfigured so the door fails closed. Use an environment where the face is wired, or retry when the dependency is back.
|
|
103172
|
+
*/
|
|
103173
|
+
503: CustomerErrorEnvelope;
|
|
103174
|
+
};
|
|
103175
|
+
export type CustomerUpdatePublishableKeyError = CustomerUpdatePublishableKeyErrors[keyof CustomerUpdatePublishableKeyErrors];
|
|
103176
|
+
export type CustomerUpdatePublishableKeyResponses = {
|
|
103177
|
+
/**
|
|
103178
|
+
* The key with its new name and limits, without its plaintext value.
|
|
103179
|
+
*/
|
|
103180
|
+
200: CustomerPublishableKey;
|
|
103181
|
+
};
|
|
103182
|
+
export type CustomerUpdatePublishableKeyResponse = CustomerUpdatePublishableKeyResponses[keyof CustomerUpdatePublishableKeyResponses];
|
|
101135
103183
|
export type CutListProjectsData = {
|
|
101136
103184
|
body?: never;
|
|
101137
103185
|
path?: never;
|
|
@@ -111938,6 +113986,10 @@ export type MediaListAssetsData = {
|
|
|
111938
113986
|
* 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.
|
|
111939
113987
|
*/
|
|
111940
113988
|
material_type?: MediaMaterialType;
|
|
113989
|
+
/**
|
|
113990
|
+
* 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.
|
|
113991
|
+
*/
|
|
113992
|
+
live_stream_id?: string;
|
|
111941
113993
|
/**
|
|
111942
113994
|
* 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.
|
|
111943
113995
|
*/
|