@deepraxis/sdk 0.2.0-dev.8d58e29 → 0.2.0-dev.91c5574
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 +2 -1
- package/dist/core/retry.js +2 -0
- package/dist/core/transport.js +15 -3
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +10 -4
- package/dist/generated/sdk.gen.js +21 -3
- package/dist/generated/types.gen.d.ts +325 -41
- package/dist/operations.generated.js +21 -3
- package/dist/resources.generated.d.ts +47 -0
- package/dist/resources.generated.js +1 -0
- package/package.json +1 -1
|
@@ -3407,6 +3407,40 @@ export type AgentSseEvent = ({
|
|
|
3407
3407
|
*/
|
|
3408
3408
|
session_thread_id?: string | null;
|
|
3409
3409
|
};
|
|
3410
|
+
} | {
|
|
3411
|
+
/**
|
|
3412
|
+
* Always `session.status_preparing`. SSE event name of this frame; its data is a session.status_preparing payload. A device session's local agent is starting; stage says how far it got.
|
|
3413
|
+
*/
|
|
3414
|
+
event?: 'session.status_preparing';
|
|
3415
|
+
/**
|
|
3416
|
+
* Praxis extension (#4737, own face only): a device session's local agent is starting. Only sessions that run on a person's own machine emit it.
|
|
3417
|
+
*/
|
|
3418
|
+
data?: {
|
|
3419
|
+
/**
|
|
3420
|
+
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
3421
|
+
*/
|
|
3422
|
+
id: string;
|
|
3423
|
+
/**
|
|
3424
|
+
* Always `session.status_preparing`. A device session's local agent is starting; stage says how far it got.
|
|
3425
|
+
*/
|
|
3426
|
+
type: 'session.status_preparing';
|
|
3427
|
+
/**
|
|
3428
|
+
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
3429
|
+
*/
|
|
3430
|
+
processed_at: string;
|
|
3431
|
+
/**
|
|
3432
|
+
* How far the start got.
|
|
3433
|
+
*/
|
|
3434
|
+
stage: 'launching' | 'loading' | 'ready';
|
|
3435
|
+
/**
|
|
3436
|
+
* 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.
|
|
3437
|
+
*/
|
|
3438
|
+
message_id?: string;
|
|
3439
|
+
/**
|
|
3440
|
+
* 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.
|
|
3441
|
+
*/
|
|
3442
|
+
session_thread_id?: string | null;
|
|
3443
|
+
};
|
|
3410
3444
|
} | {
|
|
3411
3445
|
/**
|
|
3412
3446
|
* Always `event_start`. SSE event name of this frame; its data is a event_start payload. Preview that an event of the requested delta types has started.
|
|
@@ -3549,7 +3583,7 @@ export type AgentSseEvent = ({
|
|
|
3549
3583
|
/**
|
|
3550
3584
|
* Server-Sent Events event name of this frame.
|
|
3551
3585
|
*/
|
|
3552
|
-
event: 'system.message' | 'user.message' | 'user.interrupt' | 'agent.message' | 'agent.thinking' | 'session.status_running' | 'session.status_rescheduled' | 'session.status_idle' | 'session.status_terminated' | 'agent.thread_context_compacting' | 'agent.thread_context_compacted' | 'agent.thread_context_reset' | 'session.updated' | 'session.error' | 'session.usage' | 'span.model_request_start' | 'span.model_request_end' | 'agent.tool_use' | 'agent.tool_result' | 'agent.mcp_tool_use' | 'agent.mcp_tool_result' | 'user.tool_confirmation' | 'agent.custom_tool_use' | 'user.custom_tool_result' | 'session.thread_created' | 'session.thread_status_running' | 'session.thread_status_idle' | 'session.thread_status_rescheduled' | 'session.thread_status_terminated' | 'agent.thread_message_sent' | 'agent.thread_message_received' | 'user.withdraw' | 'user.steer' | 'system.notification' | 'system.notification_suppressed' | 'system.notification_recorded' | 'session.forked' | 'session.goal_changed' | 'session.goal_verification' | 'cognition.surfaced' | 'cognition.intention_woken' | 'agent.operation_approval_requested' | 'agent.operation_approval_decided' | 'session.prompt_configuration_mismatch' | 'session.prompt_rev_changed' | 'session.computer_tier' | 'agent.artifact_delivered' | 'agent.image_generation' | 'session.image_labeled' | 'session.image_set_planned' | 'session.project_attached' | 'session.project_detached' | 'event_start' | 'event_delta' | 'ping' | 'error';
|
|
3586
|
+
event: 'system.message' | 'user.message' | 'user.interrupt' | 'agent.message' | 'agent.thinking' | 'session.status_running' | 'session.status_rescheduled' | 'session.status_idle' | 'session.status_terminated' | 'agent.thread_context_compacting' | 'agent.thread_context_compacted' | 'agent.thread_context_reset' | 'session.updated' | 'session.error' | 'session.usage' | 'span.model_request_start' | 'span.model_request_end' | 'agent.tool_use' | 'agent.tool_result' | 'agent.mcp_tool_use' | 'agent.mcp_tool_result' | 'user.tool_confirmation' | 'agent.custom_tool_use' | 'user.custom_tool_result' | 'session.thread_created' | 'session.thread_status_running' | 'session.thread_status_idle' | 'session.thread_status_rescheduled' | 'session.thread_status_terminated' | 'agent.thread_message_sent' | 'agent.thread_message_received' | 'user.withdraw' | 'user.steer' | 'system.notification' | 'system.notification_suppressed' | 'system.notification_recorded' | 'session.forked' | 'session.goal_changed' | 'session.goal_verification' | 'cognition.surfaced' | 'cognition.intention_woken' | 'agent.operation_approval_requested' | 'agent.operation_approval_decided' | 'session.prompt_configuration_mismatch' | 'session.prompt_rev_changed' | 'session.computer_tier' | 'agent.artifact_delivered' | 'agent.image_generation' | 'session.image_labeled' | 'session.image_set_planned' | 'session.project_attached' | 'session.project_detached' | 'session.status_preparing' | 'event_start' | 'event_delta' | 'ping' | 'error';
|
|
3553
3587
|
data: AgentSseData;
|
|
3554
3588
|
};
|
|
3555
3589
|
/**
|
|
@@ -3830,7 +3864,7 @@ export type BrowserError = {
|
|
|
3830
3864
|
statusCode: number;
|
|
3831
3865
|
error: string;
|
|
3832
3866
|
message: string;
|
|
3833
|
-
code: 'INVALID_PARAMS' | 'PERMISSION_DENIED' | 'NOT_IMPLEMENTED' | 'INTERNAL' | 'UNAUTHENTICATED' | 'CONNECT_SIGNATURE_INVALID' | 'SESSION_NOT_FOUND' | 'SESSION_ENDED' | 'SESSION_INVALID_STATE' | 'CONTEXT_NOT_FOUND' | 'CONTEXT_LOCKED' | 'HANDOFF_NOT_PENDING' | 'CONCURRENCY_LIMIT' | 'RATE_LIMITED' | 'INSUFFICIENT_BALANCE' | 'QUOTA_EXHAUSTED' | 'ACCOUNT_SUSPENDED' | 'PROVIDER_UNSUPPORTED' | 'PROVIDER_CAPACITY' | 'PROVIDER_FAILED' | 'SERVICE_UNAVAILABLE' | 'PARENT_NOT_FOUND' | 'INVALID_FILTER' | 'INVALID_PAGE_TOKEN' | 'ACTION_TAB_NOT_FOUND' | 'ACTION_NO_TAB' | 'ACTION_REF_STALE' | 'ACTION_FAILED' | 'ACTION_TIMEOUT' | 'ACTION_RESULT_TOO_LARGE';
|
|
3867
|
+
code: 'INVALID_PARAMS' | 'PERMISSION_DENIED' | 'NOT_IMPLEMENTED' | 'INTERNAL' | 'UNAUTHENTICATED' | 'CONNECT_SIGNATURE_INVALID' | 'SESSION_NOT_FOUND' | 'SESSION_ENDED' | 'SESSION_INVALID_STATE' | 'CONTEXT_NOT_FOUND' | 'CONTEXT_LOCKED' | 'CONTEXT_READ_ONLY' | 'HANDOFF_NOT_PENDING' | 'CONCURRENCY_LIMIT' | 'RATE_LIMITED' | 'INSUFFICIENT_BALANCE' | 'QUOTA_EXHAUSTED' | 'ACCOUNT_SUSPENDED' | 'PROVIDER_UNSUPPORTED' | 'PROVIDER_CAPACITY' | 'PROVIDER_FAILED' | 'SERVICE_UNAVAILABLE' | 'PARENT_NOT_FOUND' | 'INVALID_FILTER' | 'INVALID_PAGE_TOKEN' | 'ACTION_TAB_NOT_FOUND' | 'ACTION_NO_TAB' | 'ACTION_REF_STALE' | 'ACTION_FAILED' | 'ACTION_TIMEOUT' | 'ACTION_RESULT_TOO_LARGE';
|
|
3834
3868
|
};
|
|
3835
3869
|
export type BrowserSession = {
|
|
3836
3870
|
/**
|
|
@@ -4694,7 +4728,7 @@ export type OwnFileSignedUploadResponse = {
|
|
|
4694
4728
|
url: string;
|
|
4695
4729
|
}>;
|
|
4696
4730
|
/**
|
|
4697
|
-
* Bearer URL to POST without a body after every chunk is acknowledged. Returns 201 with the file object; missing chunks return 400 and
|
|
4731
|
+
* Bearer URL to POST without a body after every chunk is acknowledged. Returns 201 with the file object; missing chunks return 400 and a completion replay returns 201 with the same file, because a lost answer must not cost the file.
|
|
4698
4732
|
*/
|
|
4699
4733
|
complete_url: string;
|
|
4700
4734
|
/**
|
|
@@ -5192,7 +5226,7 @@ export type MediaStreamOutput = {
|
|
|
5192
5226
|
*/
|
|
5193
5227
|
status: 'idle' | 'starting' | 'broadcasting' | 'errored';
|
|
5194
5228
|
/**
|
|
5195
|
-
* Why the output is errored; null in every other status.
|
|
5229
|
+
* Why the last connection failed, while the output is errored or starting again after a failure; null in every other status.
|
|
5196
5230
|
*/
|
|
5197
5231
|
error: MediaStreamOutputError;
|
|
5198
5232
|
/**
|
|
@@ -10584,6 +10618,10 @@ export type ApplicationCreateWorkerInput = {
|
|
|
10584
10618
|
labels?: {
|
|
10585
10619
|
[key: string]: string;
|
|
10586
10620
|
};
|
|
10621
|
+
/**
|
|
10622
|
+
* Who may open the application on its default host (ADR-206). Only the organization's owner (full authority) may change it; a credential limited to bound resources is refused with PERMISSION_DENIED. A change takes effect within 10 seconds.
|
|
10623
|
+
*/
|
|
10624
|
+
access?: 'public' | 'organization';
|
|
10587
10625
|
};
|
|
10588
10626
|
};
|
|
10589
10627
|
export type ApplicationWorker = {
|
|
@@ -10655,6 +10693,10 @@ export type ApplicationWorker = {
|
|
|
10655
10693
|
labels: {
|
|
10656
10694
|
[key: string]: string;
|
|
10657
10695
|
};
|
|
10696
|
+
/**
|
|
10697
|
+
* Who may open the application on its default host (ADR-206). Only the organization's owner (full authority) may change it; a credential limited to bound resources is refused with PERMISSION_DENIED. A change takes effect within 10 seconds.
|
|
10698
|
+
*/
|
|
10699
|
+
access: 'public' | 'organization';
|
|
10658
10700
|
/**
|
|
10659
10701
|
* When the Worker was deleted.
|
|
10660
10702
|
*/
|
|
@@ -10736,6 +10778,10 @@ export type ApplicationUpdateWorkerInput = {
|
|
|
10736
10778
|
labels?: {
|
|
10737
10779
|
[key: string]: string;
|
|
10738
10780
|
};
|
|
10781
|
+
/**
|
|
10782
|
+
* Who may open the application on its default host (ADR-206). Only the organization's owner (full authority) may change it; a credential limited to bound resources is refused with PERMISSION_DENIED. A change takes effect within 10 seconds.
|
|
10783
|
+
*/
|
|
10784
|
+
access?: 'public' | 'organization';
|
|
10739
10785
|
};
|
|
10740
10786
|
};
|
|
10741
10787
|
export type ApplicationVersionPage = {
|
|
@@ -29732,6 +29778,31 @@ export type AgentSseData = {
|
|
|
29732
29778
|
* 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.
|
|
29733
29779
|
*/
|
|
29734
29780
|
session_thread_id?: string | null;
|
|
29781
|
+
} | {
|
|
29782
|
+
/**
|
|
29783
|
+
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
29784
|
+
*/
|
|
29785
|
+
id: string;
|
|
29786
|
+
/**
|
|
29787
|
+
* Always `session.status_preparing`. A device session's local agent is starting; stage says how far it got.
|
|
29788
|
+
*/
|
|
29789
|
+
type: 'session.status_preparing';
|
|
29790
|
+
/**
|
|
29791
|
+
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
29792
|
+
*/
|
|
29793
|
+
processed_at: string;
|
|
29794
|
+
/**
|
|
29795
|
+
* How far the start got.
|
|
29796
|
+
*/
|
|
29797
|
+
stage: 'launching' | 'loading' | 'ready';
|
|
29798
|
+
/**
|
|
29799
|
+
* 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.
|
|
29800
|
+
*/
|
|
29801
|
+
message_id?: string;
|
|
29802
|
+
/**
|
|
29803
|
+
* 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.
|
|
29804
|
+
*/
|
|
29805
|
+
session_thread_id?: string | null;
|
|
29735
29806
|
} | {
|
|
29736
29807
|
/**
|
|
29737
29808
|
* Always `event_start`. Preview that an event of the requested delta types has started.
|
|
@@ -30066,7 +30137,7 @@ export type MediaStreamEvent = {
|
|
|
30066
30137
|
*/
|
|
30067
30138
|
seq: number;
|
|
30068
30139
|
/**
|
|
30069
|
-
* 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 (data.asset_id); recording.failed: it did not (data.reason). transcript.partial and transcript.final: speech as text (data.text, data.sentence_id, data.start_ms, data.end_ms); frame.described: one keyframe described (data.text); alert: an alert rule matched (data.matched, data.source_event_ids); pipeline.unsupported_audio: the audio cannot be transcribed yet (data.codec); pipeline.describe_failed: a frame description failed (data.step, data.message). output.status: a re-broadcast target changed status (data.output_id, data.status and, when errored, data.error).
|
|
30140
|
+
* 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 (data.asset_id); recording.failed: it did not (data.reason). transcript.partial and transcript.final: speech as text (data.text, data.sentence_id, data.start_ms, data.end_ms); frame.described: one keyframe described (data.text); alert: an alert rule matched (data.matched, data.source_event_ids); pipeline.unsupported_audio: the audio cannot be transcribed yet (data.codec); pipeline.describe_failed: a frame description failed (data.step, data.message). output.status: a re-broadcast target changed status (data.output_id, data.status and, when it is errored or trying again after a failure, data.error with the reason).
|
|
30070
30141
|
*/
|
|
30071
30142
|
kind: 'stream.waiting' | 'stream.connected' | 'stream.active' | 'stream.disconnected' | 'stream.idle' | 'recording.ready' | 'recording.failed' | 'output.status' | 'transcript.partial' | 'transcript.final' | 'frame.described' | 'alert' | 'pipeline.unsupported_audio' | 'pipeline.describe_failed';
|
|
30072
30143
|
/**
|
|
@@ -30156,7 +30227,7 @@ export type MediaPipelineAlertRule = {
|
|
|
30156
30227
|
[key: string]: unknown;
|
|
30157
30228
|
};
|
|
30158
30229
|
/**
|
|
30159
|
-
* Why an errored
|
|
30230
|
+
* Why an output is errored, or is trying again after a failure.
|
|
30160
30231
|
*/
|
|
30161
30232
|
export type MediaStreamOutputError = {
|
|
30162
30233
|
/**
|
|
@@ -53577,6 +53648,31 @@ export type ListAgentEventsResponses = {
|
|
|
53577
53648
|
* 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.
|
|
53578
53649
|
*/
|
|
53579
53650
|
session_thread_id?: string | null;
|
|
53651
|
+
} | {
|
|
53652
|
+
/**
|
|
53653
|
+
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
53654
|
+
*/
|
|
53655
|
+
id: string;
|
|
53656
|
+
/**
|
|
53657
|
+
* Always `session.status_preparing`. A device session's local agent is starting; stage says how far it got.
|
|
53658
|
+
*/
|
|
53659
|
+
type: 'session.status_preparing';
|
|
53660
|
+
/**
|
|
53661
|
+
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
53662
|
+
*/
|
|
53663
|
+
processed_at: string;
|
|
53664
|
+
/**
|
|
53665
|
+
* How far the start got.
|
|
53666
|
+
*/
|
|
53667
|
+
stage: 'launching' | 'loading' | 'ready';
|
|
53668
|
+
/**
|
|
53669
|
+
* 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.
|
|
53670
|
+
*/
|
|
53671
|
+
message_id?: string;
|
|
53672
|
+
/**
|
|
53673
|
+
* 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.
|
|
53674
|
+
*/
|
|
53675
|
+
session_thread_id?: string | null;
|
|
53580
53676
|
}>;
|
|
53581
53677
|
/**
|
|
53582
53678
|
* Opaque cursor for the next page: pass it unchanged as page to continue. Null when this is the last page.
|
|
@@ -54007,32 +54103,33 @@ export type CreateAgentLoginIntentErrors = {
|
|
|
54007
54103
|
/**
|
|
54008
54104
|
* INVALID_JSON: the body is not a JSON object. INVALID_PARAMS: the body names a field (agent, organization_id, place or any other) - the caller, its organization and its computer come from the credential, so resend with no field.
|
|
54009
54105
|
*/
|
|
54010
|
-
400:
|
|
54106
|
+
400: AgentError;
|
|
54011
54107
|
/**
|
|
54012
54108
|
* Authentication required: send the platform session's own credential.
|
|
54013
54109
|
*/
|
|
54014
|
-
401:
|
|
54110
|
+
401: AgentError;
|
|
54015
54111
|
/**
|
|
54016
54112
|
* PERMISSION_DENIED: this credential names no agent, or the member driving the session is not the agent's sponsor; open the code from the agent's own codemode session, driven by its sponsor.
|
|
54017
54113
|
*/
|
|
54018
|
-
403:
|
|
54114
|
+
403: AgentError;
|
|
54019
54115
|
/**
|
|
54020
54116
|
* AGENT_NOT_FOUND: the agent the credential names does not exist in this organization; check the agent the session was opened for.
|
|
54021
54117
|
*/
|
|
54022
|
-
404:
|
|
54118
|
+
404: AgentError;
|
|
54023
54119
|
/**
|
|
54024
54120
|
* FAILED_PRECONDITION: the agent has no platform computer of its own (a service agent runs nowhere to log in), or identity refused the create for a state it reports.
|
|
54025
54121
|
*/
|
|
54026
|
-
409:
|
|
54122
|
+
409: AgentError;
|
|
54027
54123
|
/**
|
|
54028
54124
|
* UPSTREAM_UNAVAILABLE: the agent service or identity could not answer; retry once the service is back.
|
|
54029
54125
|
*/
|
|
54030
|
-
502:
|
|
54126
|
+
502: AgentError;
|
|
54031
54127
|
/**
|
|
54032
54128
|
* UNAVAILABLE: identity is not configured in this deployment.
|
|
54033
54129
|
*/
|
|
54034
|
-
503:
|
|
54130
|
+
503: AgentError;
|
|
54035
54131
|
};
|
|
54132
|
+
export type CreateAgentLoginIntentError = CreateAgentLoginIntentErrors[keyof CreateAgentLoginIntentErrors];
|
|
54036
54133
|
export type CreateAgentLoginIntentResponses = {
|
|
54037
54134
|
/**
|
|
54038
54135
|
* The one-time login code and when it stops working; the code is answered once and never again.
|
|
@@ -68777,7 +68874,7 @@ export type BrowserListSessionsErrors = {
|
|
|
68777
68874
|
*/
|
|
68778
68875
|
402: BrowserError;
|
|
68779
68876
|
/**
|
|
68780
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
68877
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
68781
68878
|
*/
|
|
68782
68879
|
403: BrowserError;
|
|
68783
68880
|
/**
|
|
@@ -68854,7 +68951,7 @@ export type BrowserCreateSessionErrors = {
|
|
|
68854
68951
|
*/
|
|
68855
68952
|
402: BrowserError;
|
|
68856
68953
|
/**
|
|
68857
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
68954
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
68858
68955
|
*/
|
|
68859
68956
|
403: BrowserError;
|
|
68860
68957
|
/**
|
|
@@ -68932,7 +69029,7 @@ export type BrowserGetSessionErrors = {
|
|
|
68932
69029
|
*/
|
|
68933
69030
|
402: BrowserError;
|
|
68934
69031
|
/**
|
|
68935
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69032
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
68936
69033
|
*/
|
|
68937
69034
|
403: BrowserError;
|
|
68938
69035
|
/**
|
|
@@ -69010,7 +69107,7 @@ export type BrowserCloseSessionErrors = {
|
|
|
69010
69107
|
*/
|
|
69011
69108
|
402: BrowserError;
|
|
69012
69109
|
/**
|
|
69013
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69110
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69014
69111
|
*/
|
|
69015
69112
|
403: BrowserError;
|
|
69016
69113
|
/**
|
|
@@ -69083,7 +69180,7 @@ export type BrowserGetDebugErrors = {
|
|
|
69083
69180
|
*/
|
|
69084
69181
|
402: BrowserError;
|
|
69085
69182
|
/**
|
|
69086
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69183
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69087
69184
|
*/
|
|
69088
69185
|
403: BrowserError;
|
|
69089
69186
|
/**
|
|
@@ -69169,7 +69266,7 @@ export type BrowserListEventsErrors = {
|
|
|
69169
69266
|
*/
|
|
69170
69267
|
402: BrowserError;
|
|
69171
69268
|
/**
|
|
69172
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69269
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69173
69270
|
*/
|
|
69174
69271
|
403: BrowserError;
|
|
69175
69272
|
/**
|
|
@@ -69448,7 +69545,7 @@ export type BrowserRunPageActionErrors = {
|
|
|
69448
69545
|
*/
|
|
69449
69546
|
402: BrowserError;
|
|
69450
69547
|
/**
|
|
69451
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69548
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69452
69549
|
*/
|
|
69453
69550
|
403: BrowserError;
|
|
69454
69551
|
/**
|
|
@@ -69666,7 +69763,7 @@ export type BrowserRequestHandoffErrors = {
|
|
|
69666
69763
|
*/
|
|
69667
69764
|
402: BrowserError;
|
|
69668
69765
|
/**
|
|
69669
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69766
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69670
69767
|
*/
|
|
69671
69768
|
403: BrowserError;
|
|
69672
69769
|
/**
|
|
@@ -69739,7 +69836,7 @@ export type BrowserCompleteHandoffErrors = {
|
|
|
69739
69836
|
*/
|
|
69740
69837
|
402: BrowserError;
|
|
69741
69838
|
/**
|
|
69742
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69839
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69743
69840
|
*/
|
|
69744
69841
|
403: BrowserError;
|
|
69745
69842
|
/**
|
|
@@ -69821,7 +69918,7 @@ export type BrowserViewerHeartbeatErrors = {
|
|
|
69821
69918
|
*/
|
|
69822
69919
|
402: BrowserError;
|
|
69823
69920
|
/**
|
|
69824
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69921
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69825
69922
|
*/
|
|
69826
69923
|
403: BrowserError;
|
|
69827
69924
|
/**
|
|
@@ -69899,7 +69996,7 @@ export type BrowserGetSessionFrameErrors = {
|
|
|
69899
69996
|
*/
|
|
69900
69997
|
402: BrowserError;
|
|
69901
69998
|
/**
|
|
69902
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69999
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69903
70000
|
*/
|
|
69904
70001
|
403: BrowserError;
|
|
69905
70002
|
/**
|
|
@@ -69980,7 +70077,7 @@ export type BrowserListContextsErrors = {
|
|
|
69980
70077
|
*/
|
|
69981
70078
|
402: BrowserError;
|
|
69982
70079
|
/**
|
|
69983
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70080
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69984
70081
|
*/
|
|
69985
70082
|
403: BrowserError;
|
|
69986
70083
|
/**
|
|
@@ -70072,7 +70169,7 @@ export type BrowserCreateContextErrors = {
|
|
|
70072
70169
|
*/
|
|
70073
70170
|
402: BrowserError;
|
|
70074
70171
|
/**
|
|
70075
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70172
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70076
70173
|
*/
|
|
70077
70174
|
403: BrowserError;
|
|
70078
70175
|
/**
|
|
@@ -70145,7 +70242,7 @@ export type BrowserDeleteContextErrors = {
|
|
|
70145
70242
|
*/
|
|
70146
70243
|
402: BrowserError;
|
|
70147
70244
|
/**
|
|
70148
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70245
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70149
70246
|
*/
|
|
70150
70247
|
403: BrowserError;
|
|
70151
70248
|
/**
|
|
@@ -70223,7 +70320,7 @@ export type BrowserGetContextErrors = {
|
|
|
70223
70320
|
*/
|
|
70224
70321
|
402: BrowserError;
|
|
70225
70322
|
/**
|
|
70226
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70323
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70227
70324
|
*/
|
|
70228
70325
|
403: BrowserError;
|
|
70229
70326
|
/**
|
|
@@ -70307,7 +70404,7 @@ export type BrowserUpdateContextErrors = {
|
|
|
70307
70404
|
*/
|
|
70308
70405
|
402: BrowserError;
|
|
70309
70406
|
/**
|
|
70310
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70407
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70311
70408
|
*/
|
|
70312
70409
|
403: BrowserError;
|
|
70313
70410
|
/**
|
|
@@ -70412,7 +70509,7 @@ export type BrowserConnectErrors = {
|
|
|
70412
70509
|
*/
|
|
70413
70510
|
402: BrowserError;
|
|
70414
70511
|
/**
|
|
70415
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70512
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70416
70513
|
*/
|
|
70417
70514
|
403: BrowserError;
|
|
70418
70515
|
/**
|
|
@@ -70487,7 +70584,7 @@ export type BrowserLiveViewErrors = {
|
|
|
70487
70584
|
*/
|
|
70488
70585
|
402: BrowserError;
|
|
70489
70586
|
/**
|
|
70490
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70587
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70491
70588
|
*/
|
|
70492
70589
|
403: BrowserError;
|
|
70493
70590
|
/**
|
|
@@ -70553,7 +70650,7 @@ export type BrowserStreamSessionErrors = {
|
|
|
70553
70650
|
*/
|
|
70554
70651
|
402: BrowserError;
|
|
70555
70652
|
/**
|
|
70556
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70653
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70557
70654
|
*/
|
|
70558
70655
|
403: BrowserError;
|
|
70559
70656
|
/**
|
|
@@ -70626,7 +70723,7 @@ export type BrowserStreamSessionFramesErrors = {
|
|
|
70626
70723
|
*/
|
|
70627
70724
|
402: BrowserError;
|
|
70628
70725
|
/**
|
|
70629
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70726
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70630
70727
|
*/
|
|
70631
70728
|
403: BrowserError;
|
|
70632
70729
|
/**
|
|
@@ -71054,7 +71151,7 @@ export type FileCreateSignedUploadErrors = {
|
|
|
71054
71151
|
*/
|
|
71055
71152
|
401: unknown;
|
|
71056
71153
|
/**
|
|
71057
|
-
* PERMISSION_DENIED or
|
|
71154
|
+
* PERMISSION_DENIED, BINDING_READ_ONLY or CAPABILITY_MISMATCH: the credential lacks create authority, or a signed upload URL was used for another action than the one it names.
|
|
71058
71155
|
*/
|
|
71059
71156
|
403: unknown;
|
|
71060
71157
|
};
|
|
@@ -78009,13 +78106,17 @@ export type ListOrganizationNotificationLettersData = {
|
|
|
78009
78106
|
};
|
|
78010
78107
|
export type ListOrganizationNotificationLettersErrors = {
|
|
78011
78108
|
/**
|
|
78012
|
-
*
|
|
78109
|
+
* A bad `status`, `archived` or `limit`, or `INVALID_PARAMS` from the service for a cursor it did not issue (RFC 9457 problem).
|
|
78013
78110
|
*/
|
|
78014
78111
|
400: unknown;
|
|
78015
78112
|
/**
|
|
78016
78113
|
* Missing or invalid credential (RFC 9457 problem).
|
|
78017
78114
|
*/
|
|
78018
78115
|
401: unknown;
|
|
78116
|
+
/**
|
|
78117
|
+
* The notification service did not answer, or failed in a way it did not classify (RFC 9457 problem, `UNAVAILABLE`). A refusal the service classifies is never a 502 — it reaches the caller in its own class (400, 403, 404), so a client may act on it.
|
|
78118
|
+
*/
|
|
78119
|
+
502: unknown;
|
|
78019
78120
|
};
|
|
78020
78121
|
export type ListOrganizationNotificationLettersResponses = {
|
|
78021
78122
|
/**
|
|
@@ -78076,6 +78177,23 @@ export type ListOrganizationNotificationLettersResponses = {
|
|
|
78076
78177
|
* Whether this person archived it. Archived letters are hidden unless archived=true is asked for.
|
|
78077
78178
|
*/
|
|
78078
78179
|
archived: boolean;
|
|
78180
|
+
/**
|
|
78181
|
+
* The organization the letter belongs to: its own. It is always an object with all three fields — `id`, `slug` and `name` — or `null`; a half-filled object never appears. `null` means the organization directory did not answer this time, so the display name could not be read: it does not mean the letter has no organization, and the letter's own organization is still the one behind the credential. Read it again and the value is normally there. The Console compares `id` with the organization it is showing, carries `slug` on a link, and shows `name` to a person.
|
|
78182
|
+
*/
|
|
78183
|
+
organization: {
|
|
78184
|
+
/**
|
|
78185
|
+
* The organization's id, from the directory.
|
|
78186
|
+
*/
|
|
78187
|
+
id: string;
|
|
78188
|
+
/**
|
|
78189
|
+
* The organization's readable slug (ADR-101), the one a Console link carries as org=.
|
|
78190
|
+
*/
|
|
78191
|
+
slug: string;
|
|
78192
|
+
/**
|
|
78193
|
+
* The organization's display name, as a person reads it.
|
|
78194
|
+
*/
|
|
78195
|
+
name: string;
|
|
78196
|
+
};
|
|
78079
78197
|
}>;
|
|
78080
78198
|
/**
|
|
78081
78199
|
* Pass unchanged as cursor for the next page; null at the end.
|
|
@@ -78088,6 +78206,110 @@ export type ListOrganizationNotificationLettersResponses = {
|
|
|
78088
78206
|
};
|
|
78089
78207
|
};
|
|
78090
78208
|
export type ListOrganizationNotificationLettersResponse = ListOrganizationNotificationLettersResponses[keyof ListOrganizationNotificationLettersResponses];
|
|
78209
|
+
export type GetOrganizationNotificationLetterData = {
|
|
78210
|
+
body?: never;
|
|
78211
|
+
path: {
|
|
78212
|
+
/**
|
|
78213
|
+
* The letter's id, from the letters list.
|
|
78214
|
+
*/
|
|
78215
|
+
id: string;
|
|
78216
|
+
};
|
|
78217
|
+
query?: never;
|
|
78218
|
+
url: '/organization/v1/notifications/letters/{id}';
|
|
78219
|
+
};
|
|
78220
|
+
export type GetOrganizationNotificationLetterErrors = {
|
|
78221
|
+
/**
|
|
78222
|
+
* The id is not a letter id — `INVALID_PARAMS` from the service (RFC 9457 problem).
|
|
78223
|
+
*/
|
|
78224
|
+
400: unknown;
|
|
78225
|
+
/**
|
|
78226
|
+
* Missing or invalid credential (RFC 9457 problem).
|
|
78227
|
+
*/
|
|
78228
|
+
401: unknown;
|
|
78229
|
+
/**
|
|
78230
|
+
* No such letter in your mailbox in this organization — `MESSAGE_NOT_FOUND`, the same answer for a letter that is not yours, is still scheduled, or never existed (RFC 9457 problem).
|
|
78231
|
+
*/
|
|
78232
|
+
404: unknown;
|
|
78233
|
+
/**
|
|
78234
|
+
* The notification service did not answer, or failed in a way it did not classify (RFC 9457 problem, `UNAVAILABLE`). A refusal the service classifies is never a 502 — it reaches the caller in its own class (400, 403, 404), so a client may act on it.
|
|
78235
|
+
*/
|
|
78236
|
+
502: unknown;
|
|
78237
|
+
};
|
|
78238
|
+
export type GetOrganizationNotificationLetterResponses = {
|
|
78239
|
+
/**
|
|
78240
|
+
* The letter, as the list would show it.
|
|
78241
|
+
*/
|
|
78242
|
+
200: {
|
|
78243
|
+
/**
|
|
78244
|
+
* The letter's id.
|
|
78245
|
+
*/
|
|
78246
|
+
id: string;
|
|
78247
|
+
/**
|
|
78248
|
+
* The sender's display name. Never an address or an internal id; an address the directory does not know reads 「未知成员」.
|
|
78249
|
+
*/
|
|
78250
|
+
sender: string;
|
|
78251
|
+
/**
|
|
78252
|
+
* One line saying what the letter asks or tells, written for this reader.
|
|
78253
|
+
*/
|
|
78254
|
+
summary: string;
|
|
78255
|
+
/**
|
|
78256
|
+
* The whole letter, for the detail view, written for this reader.
|
|
78257
|
+
*/
|
|
78258
|
+
body: string;
|
|
78259
|
+
/**
|
|
78260
|
+
* The conversation the letter belongs to; a ticket letter uses ticket:<repository>:<number>. Null when the sender named none.
|
|
78261
|
+
*/
|
|
78262
|
+
thread: string;
|
|
78263
|
+
/**
|
|
78264
|
+
* The letter's kind (ADR-193 §2, #4107).
|
|
78265
|
+
*/
|
|
78266
|
+
kind: 'notice' | 'mention' | 'decision';
|
|
78267
|
+
/**
|
|
78268
|
+
* Where the letter came from (a ticket number, a comment, a change); null when the sender gave none.
|
|
78269
|
+
*/
|
|
78270
|
+
source: {
|
|
78271
|
+
[key: string]: unknown;
|
|
78272
|
+
};
|
|
78273
|
+
/**
|
|
78274
|
+
* Whether this person has read it.
|
|
78275
|
+
*/
|
|
78276
|
+
read: boolean;
|
|
78277
|
+
/**
|
|
78278
|
+
* When it arrived; null while still scheduled.
|
|
78279
|
+
*/
|
|
78280
|
+
deliveredAt: string;
|
|
78281
|
+
/**
|
|
78282
|
+
* When it was written.
|
|
78283
|
+
*/
|
|
78284
|
+
createTime: string;
|
|
78285
|
+
/**
|
|
78286
|
+
* Why it reached this person, in their words — 「在工单 #4109 的评论里 @ 了你」.
|
|
78287
|
+
*/
|
|
78288
|
+
reason: string;
|
|
78289
|
+
/**
|
|
78290
|
+
* Whether this person archived it.
|
|
78291
|
+
*/
|
|
78292
|
+
archived: boolean;
|
|
78293
|
+
/**
|
|
78294
|
+
* The organization the letter belongs to: its own. It is always an object with all three fields — `id`, `slug` and `name` — or `null`; a half-filled object never appears. `null` means the organization directory did not answer this time, so the display name could not be read: it does not mean the letter has no organization. Read it again and the value is normally there.
|
|
78295
|
+
*/
|
|
78296
|
+
organization: {
|
|
78297
|
+
/**
|
|
78298
|
+
* The organization's id, from the directory.
|
|
78299
|
+
*/
|
|
78300
|
+
id: string;
|
|
78301
|
+
/**
|
|
78302
|
+
* The organization's readable slug (ADR-101), the one a Console link carries as org=.
|
|
78303
|
+
*/
|
|
78304
|
+
slug: string;
|
|
78305
|
+
/**
|
|
78306
|
+
* The organization's display name, as a person reads it.
|
|
78307
|
+
*/
|
|
78308
|
+
name: string;
|
|
78309
|
+
};
|
|
78310
|
+
};
|
|
78311
|
+
};
|
|
78312
|
+
export type GetOrganizationNotificationLetterResponse = GetOrganizationNotificationLetterResponses[keyof GetOrganizationNotificationLetterResponses];
|
|
78091
78313
|
export type ReadOrganizationNotificationLetterData = {
|
|
78092
78314
|
body?: never;
|
|
78093
78315
|
path: {
|
|
@@ -78101,7 +78323,7 @@ export type ReadOrganizationNotificationLetterData = {
|
|
|
78101
78323
|
};
|
|
78102
78324
|
export type ReadOrganizationNotificationLetterErrors = {
|
|
78103
78325
|
/**
|
|
78104
|
-
* The id is not a letter id (RFC 9457 problem).
|
|
78326
|
+
* The id is not a letter id — `INVALID_PARAMS` from the service (RFC 9457 problem).
|
|
78105
78327
|
*/
|
|
78106
78328
|
400: unknown;
|
|
78107
78329
|
/**
|
|
@@ -78109,9 +78331,13 @@ export type ReadOrganizationNotificationLetterErrors = {
|
|
|
78109
78331
|
*/
|
|
78110
78332
|
401: unknown;
|
|
78111
78333
|
/**
|
|
78112
|
-
* No such letter in your mailbox (RFC 9457 problem).
|
|
78334
|
+
* No such letter in your mailbox in this organization — `MESSAGE_NOT_FOUND` (RFC 9457 problem).
|
|
78113
78335
|
*/
|
|
78114
78336
|
404: unknown;
|
|
78337
|
+
/**
|
|
78338
|
+
* The notification service did not answer, or failed in a way it did not classify (RFC 9457 problem, `UNAVAILABLE`). A refusal the service classifies is never a 502 — it reaches the caller in its own class (400, 403, 404), so a client may act on it.
|
|
78339
|
+
*/
|
|
78340
|
+
502: unknown;
|
|
78115
78341
|
};
|
|
78116
78342
|
export type ReadOrganizationNotificationLetterResponses = {
|
|
78117
78343
|
/**
|
|
@@ -78171,7 +78397,7 @@ export type ArchiveOrganizationNotificationLetterData = {
|
|
|
78171
78397
|
};
|
|
78172
78398
|
export type ArchiveOrganizationNotificationLetterErrors = {
|
|
78173
78399
|
/**
|
|
78174
|
-
* The id is not a letter id (RFC 9457 problem).
|
|
78400
|
+
* The id is not a letter id — `INVALID_PARAMS` from the service (RFC 9457 problem).
|
|
78175
78401
|
*/
|
|
78176
78402
|
400: unknown;
|
|
78177
78403
|
/**
|
|
@@ -78179,9 +78405,13 @@ export type ArchiveOrganizationNotificationLetterErrors = {
|
|
|
78179
78405
|
*/
|
|
78180
78406
|
401: unknown;
|
|
78181
78407
|
/**
|
|
78182
|
-
* No such letter in your mailbox (RFC 9457 problem).
|
|
78408
|
+
* No such letter in your mailbox in this organization — `MESSAGE_NOT_FOUND` (RFC 9457 problem).
|
|
78183
78409
|
*/
|
|
78184
78410
|
404: unknown;
|
|
78411
|
+
/**
|
|
78412
|
+
* The notification service did not answer, or failed in a way it did not classify (RFC 9457 problem, `UNAVAILABLE`). A refusal the service classifies is never a 502 — it reaches the caller in its own class (400, 403, 404), so a client may act on it.
|
|
78413
|
+
*/
|
|
78414
|
+
502: unknown;
|
|
78185
78415
|
};
|
|
78186
78416
|
export type ArchiveOrganizationNotificationLetterResponses = {
|
|
78187
78417
|
/**
|
|
@@ -78366,7 +78596,7 @@ export type UpdateOrganizationNotificationDefaultsData = {
|
|
|
78366
78596
|
};
|
|
78367
78597
|
export type UpdateOrganizationNotificationDefaultsErrors = {
|
|
78368
78598
|
/**
|
|
78369
|
-
* Invalid default, unknown category or hidden critical category (RFC 9457 problem).
|
|
78599
|
+
* Invalid default, unknown category or hidden critical category (RFC 9457 problem, `INVALID_PARAMS`).
|
|
78370
78600
|
*/
|
|
78371
78601
|
400: unknown;
|
|
78372
78602
|
/**
|
|
@@ -78374,9 +78604,13 @@ export type UpdateOrganizationNotificationDefaultsErrors = {
|
|
|
78374
78604
|
*/
|
|
78375
78605
|
401: unknown;
|
|
78376
78606
|
/**
|
|
78377
|
-
* The caller is not an owner or admin of this organization.
|
|
78607
|
+
* The caller is not an owner or admin of this organization — `PERMISSION_DENIED` from the service (RFC 9457 problem).
|
|
78378
78608
|
*/
|
|
78379
78609
|
403: unknown;
|
|
78610
|
+
/**
|
|
78611
|
+
* The notification service did not answer, or failed in a way it did not classify (RFC 9457 problem, `UNAVAILABLE`). A refusal the service classifies is never a 502 — it reaches the caller in its own class (400, 403, 404), so a client may act on it.
|
|
78612
|
+
*/
|
|
78613
|
+
502: unknown;
|
|
78380
78614
|
};
|
|
78381
78615
|
export type UpdateOrganizationNotificationDefaultsResponses = {
|
|
78382
78616
|
/**
|
|
@@ -90307,6 +90541,31 @@ export type SessionsEventsListResponses = {
|
|
|
90307
90541
|
* 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.
|
|
90308
90542
|
*/
|
|
90309
90543
|
session_thread_id?: string | null;
|
|
90544
|
+
} | {
|
|
90545
|
+
/**
|
|
90546
|
+
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
90547
|
+
*/
|
|
90548
|
+
id: string;
|
|
90549
|
+
/**
|
|
90550
|
+
* Always `session.status_preparing`. A device session's local agent is starting; stage says how far it got.
|
|
90551
|
+
*/
|
|
90552
|
+
type: 'session.status_preparing';
|
|
90553
|
+
/**
|
|
90554
|
+
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
90555
|
+
*/
|
|
90556
|
+
processed_at: string;
|
|
90557
|
+
/**
|
|
90558
|
+
* How far the start got.
|
|
90559
|
+
*/
|
|
90560
|
+
stage: 'launching' | 'loading' | 'ready';
|
|
90561
|
+
/**
|
|
90562
|
+
* 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.
|
|
90563
|
+
*/
|
|
90564
|
+
message_id?: string;
|
|
90565
|
+
/**
|
|
90566
|
+
* 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.
|
|
90567
|
+
*/
|
|
90568
|
+
session_thread_id?: string | null;
|
|
90310
90569
|
}>;
|
|
90311
90570
|
/**
|
|
90312
90571
|
* Opaque cursor for the next page: pass it unchanged as page to continue. Null when this is the last page.
|
|
@@ -92029,6 +92288,31 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
92029
92288
|
* 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.
|
|
92030
92289
|
*/
|
|
92031
92290
|
session_thread_id?: string | null;
|
|
92291
|
+
} | {
|
|
92292
|
+
/**
|
|
92293
|
+
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
92294
|
+
*/
|
|
92295
|
+
id: string;
|
|
92296
|
+
/**
|
|
92297
|
+
* Always `session.status_preparing`. A device session's local agent is starting; stage says how far it got.
|
|
92298
|
+
*/
|
|
92299
|
+
type: 'session.status_preparing';
|
|
92300
|
+
/**
|
|
92301
|
+
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
92302
|
+
*/
|
|
92303
|
+
processed_at: string;
|
|
92304
|
+
/**
|
|
92305
|
+
* How far the start got.
|
|
92306
|
+
*/
|
|
92307
|
+
stage: 'launching' | 'loading' | 'ready';
|
|
92308
|
+
/**
|
|
92309
|
+
* 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.
|
|
92310
|
+
*/
|
|
92311
|
+
message_id?: string;
|
|
92312
|
+
/**
|
|
92313
|
+
* 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.
|
|
92314
|
+
*/
|
|
92315
|
+
session_thread_id?: string | null;
|
|
92032
92316
|
}>;
|
|
92033
92317
|
/**
|
|
92034
92318
|
* Opaque cursor for the next page: pass it unchanged as page to continue. Null when this is the last page.
|