@deepraxis/sdk 0.2.0-dev.af2cf98 → 0.2.0-dev.b859571
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 +9 -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 +17 -5
- package/dist/generated/sdk.gen.js +40 -4
- package/dist/generated/types.gen.d.ts +436 -45
- package/dist/operations.generated.js +62 -4
- package/dist/resources.generated.d.ts +50 -0
- package/dist/resources.generated.js +4 -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 = {
|
|
@@ -19519,6 +19565,32 @@ export type DevopsChangeMarkLastSliceRequest = {
|
|
|
19519
19565
|
*/
|
|
19520
19566
|
lastSlice: boolean;
|
|
19521
19567
|
};
|
|
19568
|
+
/**
|
|
19569
|
+
* Where the new slice starts. Every field is optional: with none the slice is cut from the default branch.
|
|
19570
|
+
*/
|
|
19571
|
+
export type DevopsChangeSliceCreateRequest = {
|
|
19572
|
+
/**
|
|
19573
|
+
* Another branch of the same change to cut the slice from, such as feat/run-page-v2--2; omit it to cut from the default branch. A slice cut from a branch is restacked onto the default branch when that branch merges.
|
|
19574
|
+
*/
|
|
19575
|
+
from?: string;
|
|
19576
|
+
};
|
|
19577
|
+
/**
|
|
19578
|
+
* The slice that was opened.
|
|
19579
|
+
*/
|
|
19580
|
+
export type DevopsChangeSliceOpened = {
|
|
19581
|
+
/**
|
|
19582
|
+
* The new slice's branch, <change id>--<n> with n at least 2; commit and push here, and open its pull request with `praxis devops change pr`.
|
|
19583
|
+
*/
|
|
19584
|
+
branch: string;
|
|
19585
|
+
/**
|
|
19586
|
+
* The directory to work in: the slice's git worktree inside the change's workspace. It exists at once when the workspace is already running, otherwise once the workspace is available.
|
|
19587
|
+
*/
|
|
19588
|
+
directory: string;
|
|
19589
|
+
/**
|
|
19590
|
+
* The id of the change's workspace that holds the slice (wsu_…), usable with the units methods; this call opened it when the change had none live.
|
|
19591
|
+
*/
|
|
19592
|
+
unit: string;
|
|
19593
|
+
};
|
|
19522
19594
|
/**
|
|
19523
19595
|
* What the pull request says. Every field is optional: without a title the change's own title is used.
|
|
19524
19596
|
*/
|
|
@@ -19535,6 +19607,10 @@ export type DevopsChangeOpenPullRequestRequest = {
|
|
|
19535
19607
|
* Open it as a draft. Defaults to false.
|
|
19536
19608
|
*/
|
|
19537
19609
|
draft?: boolean;
|
|
19610
|
+
/**
|
|
19611
|
+
* The branch the pull request is opened from, for a later slice of the change: <change id>--<n>, as `slices.create` answered it; omit it for the change's own branch. A branch that belongs to another change is refused with INVALID_ARGUMENT.
|
|
19612
|
+
*/
|
|
19613
|
+
head?: string;
|
|
19538
19614
|
};
|
|
19539
19615
|
/**
|
|
19540
19616
|
* The pull request for a change's branch.
|
|
@@ -29732,6 +29808,31 @@ export type AgentSseData = {
|
|
|
29732
29808
|
* 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
29809
|
*/
|
|
29734
29810
|
session_thread_id?: string | null;
|
|
29811
|
+
} | {
|
|
29812
|
+
/**
|
|
29813
|
+
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
29814
|
+
*/
|
|
29815
|
+
id: string;
|
|
29816
|
+
/**
|
|
29817
|
+
* Always `session.status_preparing`. A device session's local agent is starting; stage says how far it got.
|
|
29818
|
+
*/
|
|
29819
|
+
type: 'session.status_preparing';
|
|
29820
|
+
/**
|
|
29821
|
+
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
29822
|
+
*/
|
|
29823
|
+
processed_at: string;
|
|
29824
|
+
/**
|
|
29825
|
+
* How far the start got.
|
|
29826
|
+
*/
|
|
29827
|
+
stage: 'launching' | 'loading' | 'ready';
|
|
29828
|
+
/**
|
|
29829
|
+
* 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.
|
|
29830
|
+
*/
|
|
29831
|
+
message_id?: string;
|
|
29832
|
+
/**
|
|
29833
|
+
* 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.
|
|
29834
|
+
*/
|
|
29835
|
+
session_thread_id?: string | null;
|
|
29735
29836
|
} | {
|
|
29736
29837
|
/**
|
|
29737
29838
|
* Always `event_start`. Preview that an event of the requested delta types has started.
|
|
@@ -30066,7 +30167,7 @@ export type MediaStreamEvent = {
|
|
|
30066
30167
|
*/
|
|
30067
30168
|
seq: number;
|
|
30068
30169
|
/**
|
|
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).
|
|
30170
|
+
* 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
30171
|
*/
|
|
30071
30172
|
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
30173
|
/**
|
|
@@ -30156,7 +30257,7 @@ export type MediaPipelineAlertRule = {
|
|
|
30156
30257
|
[key: string]: unknown;
|
|
30157
30258
|
};
|
|
30158
30259
|
/**
|
|
30159
|
-
* Why an errored
|
|
30260
|
+
* Why an output is errored, or is trying again after a failure.
|
|
30160
30261
|
*/
|
|
30161
30262
|
export type MediaStreamOutputError = {
|
|
30162
30263
|
/**
|
|
@@ -51934,6 +52035,10 @@ export type DevopsLockId = string;
|
|
|
51934
52035
|
* The change's id, which is its branch name <type>/<slug> from a change list or create answer. Give it as it comes back — `feat/run-page-v2`: the SDK and the CLI encode the slash themselves, and an id that is already percent-encoded is encoded a second time and answers CHANGE_NOT_FOUND. Only a caller writing the HTTP request by hand sends feat%2Frun-page-v2.
|
|
51935
52036
|
*/
|
|
51936
52037
|
export type DevopsChangeIdPath = string;
|
|
52038
|
+
/**
|
|
52039
|
+
* The change whose slice you are opening: its id, which is its branch name <type>/<slug> from a change list or create answer. Give it as it comes back — `feat/run-page-v2`; the SDK and the CLI encode the slash themselves.
|
|
52040
|
+
*/
|
|
52041
|
+
export type DevopsChangePathParam = string;
|
|
51937
52042
|
/**
|
|
51938
52043
|
* The pull request's platform id (pr_…) from a pull request list, not GitHub's pull request number; the retrieve, rerunGate, merge and recordVerdict calls all address the pull request by it.
|
|
51939
52044
|
*/
|
|
@@ -53577,6 +53682,31 @@ export type ListAgentEventsResponses = {
|
|
|
53577
53682
|
* 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
53683
|
*/
|
|
53579
53684
|
session_thread_id?: string | null;
|
|
53685
|
+
} | {
|
|
53686
|
+
/**
|
|
53687
|
+
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
53688
|
+
*/
|
|
53689
|
+
id: string;
|
|
53690
|
+
/**
|
|
53691
|
+
* Always `session.status_preparing`. A device session's local agent is starting; stage says how far it got.
|
|
53692
|
+
*/
|
|
53693
|
+
type: 'session.status_preparing';
|
|
53694
|
+
/**
|
|
53695
|
+
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
53696
|
+
*/
|
|
53697
|
+
processed_at: string;
|
|
53698
|
+
/**
|
|
53699
|
+
* How far the start got.
|
|
53700
|
+
*/
|
|
53701
|
+
stage: 'launching' | 'loading' | 'ready';
|
|
53702
|
+
/**
|
|
53703
|
+
* 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.
|
|
53704
|
+
*/
|
|
53705
|
+
message_id?: string;
|
|
53706
|
+
/**
|
|
53707
|
+
* 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.
|
|
53708
|
+
*/
|
|
53709
|
+
session_thread_id?: string | null;
|
|
53580
53710
|
}>;
|
|
53581
53711
|
/**
|
|
53582
53712
|
* Opaque cursor for the next page: pass it unchanged as page to continue. Null when this is the last page.
|
|
@@ -54007,32 +54137,33 @@ export type CreateAgentLoginIntentErrors = {
|
|
|
54007
54137
|
/**
|
|
54008
54138
|
* 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
54139
|
*/
|
|
54010
|
-
400:
|
|
54140
|
+
400: AgentError;
|
|
54011
54141
|
/**
|
|
54012
54142
|
* Authentication required: send the platform session's own credential.
|
|
54013
54143
|
*/
|
|
54014
|
-
401:
|
|
54144
|
+
401: AgentError;
|
|
54015
54145
|
/**
|
|
54016
54146
|
* 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
54147
|
*/
|
|
54018
|
-
403:
|
|
54148
|
+
403: AgentError;
|
|
54019
54149
|
/**
|
|
54020
54150
|
* AGENT_NOT_FOUND: the agent the credential names does not exist in this organization; check the agent the session was opened for.
|
|
54021
54151
|
*/
|
|
54022
|
-
404:
|
|
54152
|
+
404: AgentError;
|
|
54023
54153
|
/**
|
|
54024
54154
|
* 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
54155
|
*/
|
|
54026
|
-
409:
|
|
54156
|
+
409: AgentError;
|
|
54027
54157
|
/**
|
|
54028
54158
|
* UPSTREAM_UNAVAILABLE: the agent service or identity could not answer; retry once the service is back.
|
|
54029
54159
|
*/
|
|
54030
|
-
502:
|
|
54160
|
+
502: AgentError;
|
|
54031
54161
|
/**
|
|
54032
54162
|
* UNAVAILABLE: identity is not configured in this deployment.
|
|
54033
54163
|
*/
|
|
54034
|
-
503:
|
|
54164
|
+
503: AgentError;
|
|
54035
54165
|
};
|
|
54166
|
+
export type CreateAgentLoginIntentError = CreateAgentLoginIntentErrors[keyof CreateAgentLoginIntentErrors];
|
|
54036
54167
|
export type CreateAgentLoginIntentResponses = {
|
|
54037
54168
|
/**
|
|
54038
54169
|
* The one-time login code and when it stops working; the code is answered once and never again.
|
|
@@ -68777,7 +68908,7 @@ export type BrowserListSessionsErrors = {
|
|
|
68777
68908
|
*/
|
|
68778
68909
|
402: BrowserError;
|
|
68779
68910
|
/**
|
|
68780
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
68911
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
68781
68912
|
*/
|
|
68782
68913
|
403: BrowserError;
|
|
68783
68914
|
/**
|
|
@@ -68854,7 +68985,7 @@ export type BrowserCreateSessionErrors = {
|
|
|
68854
68985
|
*/
|
|
68855
68986
|
402: BrowserError;
|
|
68856
68987
|
/**
|
|
68857
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
68988
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
68858
68989
|
*/
|
|
68859
68990
|
403: BrowserError;
|
|
68860
68991
|
/**
|
|
@@ -68932,7 +69063,7 @@ export type BrowserGetSessionErrors = {
|
|
|
68932
69063
|
*/
|
|
68933
69064
|
402: BrowserError;
|
|
68934
69065
|
/**
|
|
68935
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69066
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
68936
69067
|
*/
|
|
68937
69068
|
403: BrowserError;
|
|
68938
69069
|
/**
|
|
@@ -69010,7 +69141,7 @@ export type BrowserCloseSessionErrors = {
|
|
|
69010
69141
|
*/
|
|
69011
69142
|
402: BrowserError;
|
|
69012
69143
|
/**
|
|
69013
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69144
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69014
69145
|
*/
|
|
69015
69146
|
403: BrowserError;
|
|
69016
69147
|
/**
|
|
@@ -69083,7 +69214,7 @@ export type BrowserGetDebugErrors = {
|
|
|
69083
69214
|
*/
|
|
69084
69215
|
402: BrowserError;
|
|
69085
69216
|
/**
|
|
69086
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69217
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69087
69218
|
*/
|
|
69088
69219
|
403: BrowserError;
|
|
69089
69220
|
/**
|
|
@@ -69169,7 +69300,7 @@ export type BrowserListEventsErrors = {
|
|
|
69169
69300
|
*/
|
|
69170
69301
|
402: BrowserError;
|
|
69171
69302
|
/**
|
|
69172
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69303
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69173
69304
|
*/
|
|
69174
69305
|
403: BrowserError;
|
|
69175
69306
|
/**
|
|
@@ -69448,7 +69579,7 @@ export type BrowserRunPageActionErrors = {
|
|
|
69448
69579
|
*/
|
|
69449
69580
|
402: BrowserError;
|
|
69450
69581
|
/**
|
|
69451
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69582
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69452
69583
|
*/
|
|
69453
69584
|
403: BrowserError;
|
|
69454
69585
|
/**
|
|
@@ -69666,7 +69797,7 @@ export type BrowserRequestHandoffErrors = {
|
|
|
69666
69797
|
*/
|
|
69667
69798
|
402: BrowserError;
|
|
69668
69799
|
/**
|
|
69669
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69800
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69670
69801
|
*/
|
|
69671
69802
|
403: BrowserError;
|
|
69672
69803
|
/**
|
|
@@ -69739,7 +69870,7 @@ export type BrowserCompleteHandoffErrors = {
|
|
|
69739
69870
|
*/
|
|
69740
69871
|
402: BrowserError;
|
|
69741
69872
|
/**
|
|
69742
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69873
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69743
69874
|
*/
|
|
69744
69875
|
403: BrowserError;
|
|
69745
69876
|
/**
|
|
@@ -69821,7 +69952,7 @@ export type BrowserViewerHeartbeatErrors = {
|
|
|
69821
69952
|
*/
|
|
69822
69953
|
402: BrowserError;
|
|
69823
69954
|
/**
|
|
69824
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69955
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69825
69956
|
*/
|
|
69826
69957
|
403: BrowserError;
|
|
69827
69958
|
/**
|
|
@@ -69899,7 +70030,7 @@ export type BrowserGetSessionFrameErrors = {
|
|
|
69899
70030
|
*/
|
|
69900
70031
|
402: BrowserError;
|
|
69901
70032
|
/**
|
|
69902
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70033
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69903
70034
|
*/
|
|
69904
70035
|
403: BrowserError;
|
|
69905
70036
|
/**
|
|
@@ -69980,7 +70111,7 @@ export type BrowserListContextsErrors = {
|
|
|
69980
70111
|
*/
|
|
69981
70112
|
402: BrowserError;
|
|
69982
70113
|
/**
|
|
69983
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70114
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69984
70115
|
*/
|
|
69985
70116
|
403: BrowserError;
|
|
69986
70117
|
/**
|
|
@@ -70072,7 +70203,7 @@ export type BrowserCreateContextErrors = {
|
|
|
70072
70203
|
*/
|
|
70073
70204
|
402: BrowserError;
|
|
70074
70205
|
/**
|
|
70075
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70206
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70076
70207
|
*/
|
|
70077
70208
|
403: BrowserError;
|
|
70078
70209
|
/**
|
|
@@ -70145,7 +70276,7 @@ export type BrowserDeleteContextErrors = {
|
|
|
70145
70276
|
*/
|
|
70146
70277
|
402: BrowserError;
|
|
70147
70278
|
/**
|
|
70148
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70279
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70149
70280
|
*/
|
|
70150
70281
|
403: BrowserError;
|
|
70151
70282
|
/**
|
|
@@ -70223,7 +70354,7 @@ export type BrowserGetContextErrors = {
|
|
|
70223
70354
|
*/
|
|
70224
70355
|
402: BrowserError;
|
|
70225
70356
|
/**
|
|
70226
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70357
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70227
70358
|
*/
|
|
70228
70359
|
403: BrowserError;
|
|
70229
70360
|
/**
|
|
@@ -70307,7 +70438,7 @@ export type BrowserUpdateContextErrors = {
|
|
|
70307
70438
|
*/
|
|
70308
70439
|
402: BrowserError;
|
|
70309
70440
|
/**
|
|
70310
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70441
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70311
70442
|
*/
|
|
70312
70443
|
403: BrowserError;
|
|
70313
70444
|
/**
|
|
@@ -70412,7 +70543,7 @@ export type BrowserConnectErrors = {
|
|
|
70412
70543
|
*/
|
|
70413
70544
|
402: BrowserError;
|
|
70414
70545
|
/**
|
|
70415
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70546
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70416
70547
|
*/
|
|
70417
70548
|
403: BrowserError;
|
|
70418
70549
|
/**
|
|
@@ -70487,7 +70618,7 @@ export type BrowserLiveViewErrors = {
|
|
|
70487
70618
|
*/
|
|
70488
70619
|
402: BrowserError;
|
|
70489
70620
|
/**
|
|
70490
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70621
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70491
70622
|
*/
|
|
70492
70623
|
403: BrowserError;
|
|
70493
70624
|
/**
|
|
@@ -70553,7 +70684,7 @@ export type BrowserStreamSessionErrors = {
|
|
|
70553
70684
|
*/
|
|
70554
70685
|
402: BrowserError;
|
|
70555
70686
|
/**
|
|
70556
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70687
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70557
70688
|
*/
|
|
70558
70689
|
403: BrowserError;
|
|
70559
70690
|
/**
|
|
@@ -70626,7 +70757,7 @@ export type BrowserStreamSessionFramesErrors = {
|
|
|
70626
70757
|
*/
|
|
70627
70758
|
402: BrowserError;
|
|
70628
70759
|
/**
|
|
70629
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70760
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70630
70761
|
*/
|
|
70631
70762
|
403: BrowserError;
|
|
70632
70763
|
/**
|
|
@@ -71054,7 +71185,7 @@ export type FileCreateSignedUploadErrors = {
|
|
|
71054
71185
|
*/
|
|
71055
71186
|
401: unknown;
|
|
71056
71187
|
/**
|
|
71057
|
-
* PERMISSION_DENIED or
|
|
71188
|
+
* 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
71189
|
*/
|
|
71059
71190
|
403: unknown;
|
|
71060
71191
|
};
|
|
@@ -77963,10 +78094,18 @@ export type GetOrganizationNotificationsInboxData = {
|
|
|
77963
78094
|
url: '/organization/v1/notifications/inbox';
|
|
77964
78095
|
};
|
|
77965
78096
|
export type GetOrganizationNotificationsInboxErrors = {
|
|
78097
|
+
/**
|
|
78098
|
+
* `INVALID_PARAMS` from the service for a read it cannot answer (RFC 9457 problem).
|
|
78099
|
+
*/
|
|
78100
|
+
400: unknown;
|
|
77966
78101
|
/**
|
|
77967
78102
|
* Missing or invalid credential (RFC 9457 problem).
|
|
77968
78103
|
*/
|
|
77969
78104
|
401: unknown;
|
|
78105
|
+
/**
|
|
78106
|
+
* 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.
|
|
78107
|
+
*/
|
|
78108
|
+
502: unknown;
|
|
77970
78109
|
};
|
|
77971
78110
|
export type GetOrganizationNotificationsInboxResponses = {
|
|
77972
78111
|
/**
|
|
@@ -78009,13 +78148,17 @@ export type ListOrganizationNotificationLettersData = {
|
|
|
78009
78148
|
};
|
|
78010
78149
|
export type ListOrganizationNotificationLettersErrors = {
|
|
78011
78150
|
/**
|
|
78012
|
-
*
|
|
78151
|
+
* A bad `status`, `archived` or `limit`, or `INVALID_PARAMS` from the service for a cursor it did not issue (RFC 9457 problem).
|
|
78013
78152
|
*/
|
|
78014
78153
|
400: unknown;
|
|
78015
78154
|
/**
|
|
78016
78155
|
* Missing or invalid credential (RFC 9457 problem).
|
|
78017
78156
|
*/
|
|
78018
78157
|
401: unknown;
|
|
78158
|
+
/**
|
|
78159
|
+
* 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.
|
|
78160
|
+
*/
|
|
78161
|
+
502: unknown;
|
|
78019
78162
|
};
|
|
78020
78163
|
export type ListOrganizationNotificationLettersResponses = {
|
|
78021
78164
|
/**
|
|
@@ -78076,6 +78219,23 @@ export type ListOrganizationNotificationLettersResponses = {
|
|
|
78076
78219
|
* Whether this person archived it. Archived letters are hidden unless archived=true is asked for.
|
|
78077
78220
|
*/
|
|
78078
78221
|
archived: boolean;
|
|
78222
|
+
/**
|
|
78223
|
+
* 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.
|
|
78224
|
+
*/
|
|
78225
|
+
organization: {
|
|
78226
|
+
/**
|
|
78227
|
+
* The organization's id, from the directory.
|
|
78228
|
+
*/
|
|
78229
|
+
id: string;
|
|
78230
|
+
/**
|
|
78231
|
+
* The organization's readable slug (ADR-101), the one a Console link carries as org=.
|
|
78232
|
+
*/
|
|
78233
|
+
slug: string;
|
|
78234
|
+
/**
|
|
78235
|
+
* The organization's display name, as a person reads it.
|
|
78236
|
+
*/
|
|
78237
|
+
name: string;
|
|
78238
|
+
};
|
|
78079
78239
|
}>;
|
|
78080
78240
|
/**
|
|
78081
78241
|
* Pass unchanged as cursor for the next page; null at the end.
|
|
@@ -78088,6 +78248,110 @@ export type ListOrganizationNotificationLettersResponses = {
|
|
|
78088
78248
|
};
|
|
78089
78249
|
};
|
|
78090
78250
|
export type ListOrganizationNotificationLettersResponse = ListOrganizationNotificationLettersResponses[keyof ListOrganizationNotificationLettersResponses];
|
|
78251
|
+
export type GetOrganizationNotificationLetterData = {
|
|
78252
|
+
body?: never;
|
|
78253
|
+
path: {
|
|
78254
|
+
/**
|
|
78255
|
+
* The letter's id, from the letters list.
|
|
78256
|
+
*/
|
|
78257
|
+
id: string;
|
|
78258
|
+
};
|
|
78259
|
+
query?: never;
|
|
78260
|
+
url: '/organization/v1/notifications/letters/{id}';
|
|
78261
|
+
};
|
|
78262
|
+
export type GetOrganizationNotificationLetterErrors = {
|
|
78263
|
+
/**
|
|
78264
|
+
* The id is not a letter id — `INVALID_PARAMS` from the service (RFC 9457 problem).
|
|
78265
|
+
*/
|
|
78266
|
+
400: unknown;
|
|
78267
|
+
/**
|
|
78268
|
+
* Missing or invalid credential (RFC 9457 problem).
|
|
78269
|
+
*/
|
|
78270
|
+
401: unknown;
|
|
78271
|
+
/**
|
|
78272
|
+
* 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).
|
|
78273
|
+
*/
|
|
78274
|
+
404: unknown;
|
|
78275
|
+
/**
|
|
78276
|
+
* 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.
|
|
78277
|
+
*/
|
|
78278
|
+
502: unknown;
|
|
78279
|
+
};
|
|
78280
|
+
export type GetOrganizationNotificationLetterResponses = {
|
|
78281
|
+
/**
|
|
78282
|
+
* The letter, as the list would show it.
|
|
78283
|
+
*/
|
|
78284
|
+
200: {
|
|
78285
|
+
/**
|
|
78286
|
+
* The letter's id.
|
|
78287
|
+
*/
|
|
78288
|
+
id: string;
|
|
78289
|
+
/**
|
|
78290
|
+
* The sender's display name. Never an address or an internal id; an address the directory does not know reads 「未知成员」.
|
|
78291
|
+
*/
|
|
78292
|
+
sender: string;
|
|
78293
|
+
/**
|
|
78294
|
+
* One line saying what the letter asks or tells, written for this reader.
|
|
78295
|
+
*/
|
|
78296
|
+
summary: string;
|
|
78297
|
+
/**
|
|
78298
|
+
* The whole letter, for the detail view, written for this reader.
|
|
78299
|
+
*/
|
|
78300
|
+
body: string;
|
|
78301
|
+
/**
|
|
78302
|
+
* The conversation the letter belongs to; a ticket letter uses ticket:<repository>:<number>. Null when the sender named none.
|
|
78303
|
+
*/
|
|
78304
|
+
thread: string;
|
|
78305
|
+
/**
|
|
78306
|
+
* The letter's kind (ADR-193 §2, #4107).
|
|
78307
|
+
*/
|
|
78308
|
+
kind: 'notice' | 'mention' | 'decision';
|
|
78309
|
+
/**
|
|
78310
|
+
* Where the letter came from (a ticket number, a comment, a change); null when the sender gave none.
|
|
78311
|
+
*/
|
|
78312
|
+
source: {
|
|
78313
|
+
[key: string]: unknown;
|
|
78314
|
+
};
|
|
78315
|
+
/**
|
|
78316
|
+
* Whether this person has read it.
|
|
78317
|
+
*/
|
|
78318
|
+
read: boolean;
|
|
78319
|
+
/**
|
|
78320
|
+
* When it arrived; null while still scheduled.
|
|
78321
|
+
*/
|
|
78322
|
+
deliveredAt: string;
|
|
78323
|
+
/**
|
|
78324
|
+
* When it was written.
|
|
78325
|
+
*/
|
|
78326
|
+
createTime: string;
|
|
78327
|
+
/**
|
|
78328
|
+
* Why it reached this person, in their words — 「在工单 #4109 的评论里 @ 了你」.
|
|
78329
|
+
*/
|
|
78330
|
+
reason: string;
|
|
78331
|
+
/**
|
|
78332
|
+
* Whether this person archived it.
|
|
78333
|
+
*/
|
|
78334
|
+
archived: boolean;
|
|
78335
|
+
/**
|
|
78336
|
+
* 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.
|
|
78337
|
+
*/
|
|
78338
|
+
organization: {
|
|
78339
|
+
/**
|
|
78340
|
+
* The organization's id, from the directory.
|
|
78341
|
+
*/
|
|
78342
|
+
id: string;
|
|
78343
|
+
/**
|
|
78344
|
+
* The organization's readable slug (ADR-101), the one a Console link carries as org=.
|
|
78345
|
+
*/
|
|
78346
|
+
slug: string;
|
|
78347
|
+
/**
|
|
78348
|
+
* The organization's display name, as a person reads it.
|
|
78349
|
+
*/
|
|
78350
|
+
name: string;
|
|
78351
|
+
};
|
|
78352
|
+
};
|
|
78353
|
+
};
|
|
78354
|
+
export type GetOrganizationNotificationLetterResponse = GetOrganizationNotificationLetterResponses[keyof GetOrganizationNotificationLetterResponses];
|
|
78091
78355
|
export type ReadOrganizationNotificationLetterData = {
|
|
78092
78356
|
body?: never;
|
|
78093
78357
|
path: {
|
|
@@ -78101,7 +78365,7 @@ export type ReadOrganizationNotificationLetterData = {
|
|
|
78101
78365
|
};
|
|
78102
78366
|
export type ReadOrganizationNotificationLetterErrors = {
|
|
78103
78367
|
/**
|
|
78104
|
-
* The id is not a letter id (RFC 9457 problem).
|
|
78368
|
+
* The id is not a letter id — `INVALID_PARAMS` from the service (RFC 9457 problem).
|
|
78105
78369
|
*/
|
|
78106
78370
|
400: unknown;
|
|
78107
78371
|
/**
|
|
@@ -78109,9 +78373,13 @@ export type ReadOrganizationNotificationLetterErrors = {
|
|
|
78109
78373
|
*/
|
|
78110
78374
|
401: unknown;
|
|
78111
78375
|
/**
|
|
78112
|
-
* No such letter in your mailbox (RFC 9457 problem).
|
|
78376
|
+
* No such letter in your mailbox in this organization — `MESSAGE_NOT_FOUND` (RFC 9457 problem).
|
|
78113
78377
|
*/
|
|
78114
78378
|
404: unknown;
|
|
78379
|
+
/**
|
|
78380
|
+
* 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.
|
|
78381
|
+
*/
|
|
78382
|
+
502: unknown;
|
|
78115
78383
|
};
|
|
78116
78384
|
export type ReadOrganizationNotificationLetterResponses = {
|
|
78117
78385
|
/**
|
|
@@ -78138,13 +78406,17 @@ export type ReadAllOrganizationNotificationLettersData = {
|
|
|
78138
78406
|
};
|
|
78139
78407
|
export type ReadAllOrganizationNotificationLettersErrors = {
|
|
78140
78408
|
/**
|
|
78141
|
-
* The body is not a JSON object,
|
|
78409
|
+
* The body is not a JSON object, `kind` is unknown, or `INVALID_PARAMS` from the service (RFC 9457 problem).
|
|
78142
78410
|
*/
|
|
78143
78411
|
400: unknown;
|
|
78144
78412
|
/**
|
|
78145
78413
|
* Missing or invalid credential (RFC 9457 problem).
|
|
78146
78414
|
*/
|
|
78147
78415
|
401: unknown;
|
|
78416
|
+
/**
|
|
78417
|
+
* 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.
|
|
78418
|
+
*/
|
|
78419
|
+
502: unknown;
|
|
78148
78420
|
};
|
|
78149
78421
|
export type ReadAllOrganizationNotificationLettersResponses = {
|
|
78150
78422
|
/**
|
|
@@ -78171,7 +78443,7 @@ export type ArchiveOrganizationNotificationLetterData = {
|
|
|
78171
78443
|
};
|
|
78172
78444
|
export type ArchiveOrganizationNotificationLetterErrors = {
|
|
78173
78445
|
/**
|
|
78174
|
-
* The id is not a letter id (RFC 9457 problem).
|
|
78446
|
+
* The id is not a letter id — `INVALID_PARAMS` from the service (RFC 9457 problem).
|
|
78175
78447
|
*/
|
|
78176
78448
|
400: unknown;
|
|
78177
78449
|
/**
|
|
@@ -78179,9 +78451,13 @@ export type ArchiveOrganizationNotificationLetterErrors = {
|
|
|
78179
78451
|
*/
|
|
78180
78452
|
401: unknown;
|
|
78181
78453
|
/**
|
|
78182
|
-
* No such letter in your mailbox (RFC 9457 problem).
|
|
78454
|
+
* No such letter in your mailbox in this organization — `MESSAGE_NOT_FOUND` (RFC 9457 problem).
|
|
78183
78455
|
*/
|
|
78184
78456
|
404: unknown;
|
|
78457
|
+
/**
|
|
78458
|
+
* 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.
|
|
78459
|
+
*/
|
|
78460
|
+
502: unknown;
|
|
78185
78461
|
};
|
|
78186
78462
|
export type ArchiveOrganizationNotificationLetterResponses = {
|
|
78187
78463
|
/**
|
|
@@ -78206,6 +78482,10 @@ export type GetOrganizationNotificationPreferencesErrors = {
|
|
|
78206
78482
|
* Missing or invalid credential (RFC 9457 problem).
|
|
78207
78483
|
*/
|
|
78208
78484
|
401: unknown;
|
|
78485
|
+
/**
|
|
78486
|
+
* 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.
|
|
78487
|
+
*/
|
|
78488
|
+
502: unknown;
|
|
78209
78489
|
};
|
|
78210
78490
|
export type GetOrganizationNotificationPreferencesResponses = {
|
|
78211
78491
|
/**
|
|
@@ -78297,7 +78577,7 @@ export type UpdateOrganizationNotificationPreferencesData = {
|
|
|
78297
78577
|
};
|
|
78298
78578
|
export type UpdateOrganizationNotificationPreferencesErrors = {
|
|
78299
78579
|
/**
|
|
78300
|
-
* Invalid switch, unknown category or unoffered channel (RFC 9457 problem).
|
|
78580
|
+
* Invalid switch, unknown category or unoffered channel — `INVALID_PARAMS`, `NOT_CONFIGURABLE` or `CRITICAL_CHANNELS_OFF` from the service (RFC 9457 problem).
|
|
78301
78581
|
*/
|
|
78302
78582
|
400: unknown;
|
|
78303
78583
|
/**
|
|
@@ -78305,9 +78585,13 @@ export type UpdateOrganizationNotificationPreferencesErrors = {
|
|
|
78305
78585
|
*/
|
|
78306
78586
|
401: unknown;
|
|
78307
78587
|
/**
|
|
78308
|
-
* The organization does not let members change their own switches (
|
|
78588
|
+
* The organization does not let members change their own switches — `ORGANIZATION_LOCKED` from the service (RFC 9457 problem).
|
|
78309
78589
|
*/
|
|
78310
78590
|
403: unknown;
|
|
78591
|
+
/**
|
|
78592
|
+
* 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.
|
|
78593
|
+
*/
|
|
78594
|
+
502: unknown;
|
|
78311
78595
|
};
|
|
78312
78596
|
export type UpdateOrganizationNotificationPreferencesResponses = {
|
|
78313
78597
|
/**
|
|
@@ -78329,6 +78613,10 @@ export type GetOrganizationNotificationDefaultsErrors = {
|
|
|
78329
78613
|
* Missing or invalid credential (RFC 9457 problem).
|
|
78330
78614
|
*/
|
|
78331
78615
|
401: unknown;
|
|
78616
|
+
/**
|
|
78617
|
+
* 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.
|
|
78618
|
+
*/
|
|
78619
|
+
502: unknown;
|
|
78332
78620
|
};
|
|
78333
78621
|
export type GetOrganizationNotificationDefaultsResponses = {
|
|
78334
78622
|
/**
|
|
@@ -78366,7 +78654,7 @@ export type UpdateOrganizationNotificationDefaultsData = {
|
|
|
78366
78654
|
};
|
|
78367
78655
|
export type UpdateOrganizationNotificationDefaultsErrors = {
|
|
78368
78656
|
/**
|
|
78369
|
-
* Invalid default, unknown category or hidden critical category (RFC 9457 problem).
|
|
78657
|
+
* Invalid default, unknown category or hidden critical category (RFC 9457 problem, `INVALID_PARAMS`).
|
|
78370
78658
|
*/
|
|
78371
78659
|
400: unknown;
|
|
78372
78660
|
/**
|
|
@@ -78374,9 +78662,13 @@ export type UpdateOrganizationNotificationDefaultsErrors = {
|
|
|
78374
78662
|
*/
|
|
78375
78663
|
401: unknown;
|
|
78376
78664
|
/**
|
|
78377
|
-
* The caller is not an owner or admin of this organization.
|
|
78665
|
+
* The caller is not an owner or admin of this organization — `PERMISSION_DENIED` from the service (RFC 9457 problem).
|
|
78378
78666
|
*/
|
|
78379
78667
|
403: unknown;
|
|
78668
|
+
/**
|
|
78669
|
+
* 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.
|
|
78670
|
+
*/
|
|
78671
|
+
502: unknown;
|
|
78380
78672
|
};
|
|
78381
78673
|
export type UpdateOrganizationNotificationDefaultsResponses = {
|
|
78382
78674
|
/**
|
|
@@ -78404,13 +78696,17 @@ export type ListOrganizationNotificationDeliveriesData = {
|
|
|
78404
78696
|
};
|
|
78405
78697
|
export type ListOrganizationNotificationDeliveriesErrors = {
|
|
78406
78698
|
/**
|
|
78407
|
-
* Invalid limit or page cursor (RFC 9457 problem).
|
|
78699
|
+
* Invalid limit, or `INVALID_PARAMS` from the service for a page cursor it did not issue (RFC 9457 problem).
|
|
78408
78700
|
*/
|
|
78409
78701
|
400: unknown;
|
|
78410
78702
|
/**
|
|
78411
78703
|
* Missing or invalid credential (RFC 9457 problem).
|
|
78412
78704
|
*/
|
|
78413
78705
|
401: unknown;
|
|
78706
|
+
/**
|
|
78707
|
+
* 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.
|
|
78708
|
+
*/
|
|
78709
|
+
502: unknown;
|
|
78414
78710
|
};
|
|
78415
78711
|
export type ListOrganizationNotificationDeliveriesResponses = {
|
|
78416
78712
|
/**
|
|
@@ -90307,6 +90603,31 @@ export type SessionsEventsListResponses = {
|
|
|
90307
90603
|
* 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
90604
|
*/
|
|
90309
90605
|
session_thread_id?: string | null;
|
|
90606
|
+
} | {
|
|
90607
|
+
/**
|
|
90608
|
+
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
90609
|
+
*/
|
|
90610
|
+
id: string;
|
|
90611
|
+
/**
|
|
90612
|
+
* Always `session.status_preparing`. A device session's local agent is starting; stage says how far it got.
|
|
90613
|
+
*/
|
|
90614
|
+
type: 'session.status_preparing';
|
|
90615
|
+
/**
|
|
90616
|
+
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
90617
|
+
*/
|
|
90618
|
+
processed_at: string;
|
|
90619
|
+
/**
|
|
90620
|
+
* How far the start got.
|
|
90621
|
+
*/
|
|
90622
|
+
stage: 'launching' | 'loading' | 'ready';
|
|
90623
|
+
/**
|
|
90624
|
+
* 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.
|
|
90625
|
+
*/
|
|
90626
|
+
message_id?: string;
|
|
90627
|
+
/**
|
|
90628
|
+
* 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.
|
|
90629
|
+
*/
|
|
90630
|
+
session_thread_id?: string | null;
|
|
90310
90631
|
}>;
|
|
90311
90632
|
/**
|
|
90312
90633
|
* Opaque cursor for the next page: pass it unchanged as page to continue. Null when this is the last page.
|
|
@@ -92029,6 +92350,31 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
92029
92350
|
* 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
92351
|
*/
|
|
92031
92352
|
session_thread_id?: string | null;
|
|
92353
|
+
} | {
|
|
92354
|
+
/**
|
|
92355
|
+
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
92356
|
+
*/
|
|
92357
|
+
id: string;
|
|
92358
|
+
/**
|
|
92359
|
+
* Always `session.status_preparing`. A device session's local agent is starting; stage says how far it got.
|
|
92360
|
+
*/
|
|
92361
|
+
type: 'session.status_preparing';
|
|
92362
|
+
/**
|
|
92363
|
+
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
92364
|
+
*/
|
|
92365
|
+
processed_at: string;
|
|
92366
|
+
/**
|
|
92367
|
+
* How far the start got.
|
|
92368
|
+
*/
|
|
92369
|
+
stage: 'launching' | 'loading' | 'ready';
|
|
92370
|
+
/**
|
|
92371
|
+
* 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.
|
|
92372
|
+
*/
|
|
92373
|
+
message_id?: string;
|
|
92374
|
+
/**
|
|
92375
|
+
* 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.
|
|
92376
|
+
*/
|
|
92377
|
+
session_thread_id?: string | null;
|
|
92032
92378
|
}>;
|
|
92033
92379
|
/**
|
|
92034
92380
|
* Opaque cursor for the next page: pass it unchanged as page to continue. Null when this is the last page.
|
|
@@ -110867,6 +111213,51 @@ export type DevopsChangesMarkLastSliceResponses = {
|
|
|
110867
111213
|
200: DevopsChange;
|
|
110868
111214
|
};
|
|
110869
111215
|
export type DevopsChangesMarkLastSliceResponse = DevopsChangesMarkLastSliceResponses[keyof DevopsChangesMarkLastSliceResponses];
|
|
111216
|
+
export type DevopsChangesSlicesCreateData = {
|
|
111217
|
+
body?: DevopsChangeSliceCreateRequest;
|
|
111218
|
+
path: {
|
|
111219
|
+
/**
|
|
111220
|
+
* Identifies the project whose data you are reading, from the project list or create answer.
|
|
111221
|
+
*/
|
|
111222
|
+
project: string;
|
|
111223
|
+
/**
|
|
111224
|
+
* The change whose slice you are opening: its id, which is its branch name <type>/<slug> from a change list or create answer. Give it as it comes back — `feat/run-page-v2`; the SDK and the CLI encode the slash themselves.
|
|
111225
|
+
*/
|
|
111226
|
+
change: string;
|
|
111227
|
+
};
|
|
111228
|
+
query?: never;
|
|
111229
|
+
url: '/devops/v1/projects/{project}/changes/{change}/slices';
|
|
111230
|
+
};
|
|
111231
|
+
export type DevopsChangesSlicesCreateErrors = {
|
|
111232
|
+
/**
|
|
111233
|
+
* INVALID_ARGUMENT means the change is abandoned, or from names a branch that does not belong to this change; nothing was cut. Open a new change, or pick from the change's own branches.
|
|
111234
|
+
*/
|
|
111235
|
+
400: DevopsDevOpsError;
|
|
111236
|
+
/**
|
|
111237
|
+
* The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
|
|
111238
|
+
*/
|
|
111239
|
+
401: DevopsDevOpsError;
|
|
111240
|
+
/**
|
|
111241
|
+
* The credential carries no organization, or that organization cannot reach this project; use a key belonging to the project's organization. No cross-organization read is possible.
|
|
111242
|
+
*/
|
|
111243
|
+
403: DevopsDevOpsError;
|
|
111244
|
+
/**
|
|
111245
|
+
* CHANGE_NOT_FOUND means no change with that id exists in this organization; list the project's changes and use an id from that answer, with its slash percent-encoded.
|
|
111246
|
+
*/
|
|
111247
|
+
404: DevopsDevOpsError;
|
|
111248
|
+
/**
|
|
111249
|
+
* INTERNAL means the service could not complete the request; retry once, and if it repeats report the request id. A read is safe to repeat; a write that failed this way should be re-read before it is sent again.
|
|
111250
|
+
*/
|
|
111251
|
+
500: DevopsDevOpsError;
|
|
111252
|
+
};
|
|
111253
|
+
export type DevopsChangesSlicesCreateError = DevopsChangesSlicesCreateErrors[keyof DevopsChangesSlicesCreateErrors];
|
|
111254
|
+
export type DevopsChangesSlicesCreateResponses = {
|
|
111255
|
+
/**
|
|
111256
|
+
* The new slice: its branch, the directory to work in and the workspace that holds it. Calling again opens a further slice; it does not return the previous one.
|
|
111257
|
+
*/
|
|
111258
|
+
200: DevopsChangeSliceOpened;
|
|
111259
|
+
};
|
|
111260
|
+
export type DevopsChangesSlicesCreateResponse = DevopsChangesSlicesCreateResponses[keyof DevopsChangesSlicesCreateResponses];
|
|
110870
111261
|
export type DevopsChangesOpenPullRequestData = {
|
|
110871
111262
|
body?: DevopsChangeOpenPullRequestRequest;
|
|
110872
111263
|
path: {
|