@deepraxis/sdk 0.2.0-dev.936d133 → 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 +8 -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 +11 -5
- package/dist/generated/sdk.gen.js +22 -4
- package/dist/generated/types.gen.d.ts +321 -47
- package/dist/operations.generated.js +44 -4
- package/dist/resources.generated.d.ts +24 -0
- package/dist/resources.generated.js +3 -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
|
/**
|
|
@@ -78118,7 +78261,7 @@ export type GetOrganizationNotificationLetterData = {
|
|
|
78118
78261
|
};
|
|
78119
78262
|
export type GetOrganizationNotificationLetterErrors = {
|
|
78120
78263
|
/**
|
|
78121
|
-
* The id is not a letter id (RFC 9457 problem).
|
|
78264
|
+
* The id is not a letter id — `INVALID_PARAMS` from the service (RFC 9457 problem).
|
|
78122
78265
|
*/
|
|
78123
78266
|
400: unknown;
|
|
78124
78267
|
/**
|
|
@@ -78126,9 +78269,13 @@ export type GetOrganizationNotificationLetterErrors = {
|
|
|
78126
78269
|
*/
|
|
78127
78270
|
401: unknown;
|
|
78128
78271
|
/**
|
|
78129
|
-
* No such letter in your mailbox (RFC 9457 problem).
|
|
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).
|
|
78130
78273
|
*/
|
|
78131
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;
|
|
78132
78279
|
};
|
|
78133
78280
|
export type GetOrganizationNotificationLetterResponses = {
|
|
78134
78281
|
/**
|
|
@@ -78218,7 +78365,7 @@ export type ReadOrganizationNotificationLetterData = {
|
|
|
78218
78365
|
};
|
|
78219
78366
|
export type ReadOrganizationNotificationLetterErrors = {
|
|
78220
78367
|
/**
|
|
78221
|
-
* 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).
|
|
78222
78369
|
*/
|
|
78223
78370
|
400: unknown;
|
|
78224
78371
|
/**
|
|
@@ -78226,9 +78373,13 @@ export type ReadOrganizationNotificationLetterErrors = {
|
|
|
78226
78373
|
*/
|
|
78227
78374
|
401: unknown;
|
|
78228
78375
|
/**
|
|
78229
|
-
* 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).
|
|
78230
78377
|
*/
|
|
78231
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;
|
|
78232
78383
|
};
|
|
78233
78384
|
export type ReadOrganizationNotificationLetterResponses = {
|
|
78234
78385
|
/**
|
|
@@ -78255,13 +78406,17 @@ export type ReadAllOrganizationNotificationLettersData = {
|
|
|
78255
78406
|
};
|
|
78256
78407
|
export type ReadAllOrganizationNotificationLettersErrors = {
|
|
78257
78408
|
/**
|
|
78258
|
-
* 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).
|
|
78259
78410
|
*/
|
|
78260
78411
|
400: unknown;
|
|
78261
78412
|
/**
|
|
78262
78413
|
* Missing or invalid credential (RFC 9457 problem).
|
|
78263
78414
|
*/
|
|
78264
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;
|
|
78265
78420
|
};
|
|
78266
78421
|
export type ReadAllOrganizationNotificationLettersResponses = {
|
|
78267
78422
|
/**
|
|
@@ -78288,7 +78443,7 @@ export type ArchiveOrganizationNotificationLetterData = {
|
|
|
78288
78443
|
};
|
|
78289
78444
|
export type ArchiveOrganizationNotificationLetterErrors = {
|
|
78290
78445
|
/**
|
|
78291
|
-
* 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).
|
|
78292
78447
|
*/
|
|
78293
78448
|
400: unknown;
|
|
78294
78449
|
/**
|
|
@@ -78296,9 +78451,13 @@ export type ArchiveOrganizationNotificationLetterErrors = {
|
|
|
78296
78451
|
*/
|
|
78297
78452
|
401: unknown;
|
|
78298
78453
|
/**
|
|
78299
|
-
* 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).
|
|
78300
78455
|
*/
|
|
78301
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;
|
|
78302
78461
|
};
|
|
78303
78462
|
export type ArchiveOrganizationNotificationLetterResponses = {
|
|
78304
78463
|
/**
|
|
@@ -78323,6 +78482,10 @@ export type GetOrganizationNotificationPreferencesErrors = {
|
|
|
78323
78482
|
* Missing or invalid credential (RFC 9457 problem).
|
|
78324
78483
|
*/
|
|
78325
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;
|
|
78326
78489
|
};
|
|
78327
78490
|
export type GetOrganizationNotificationPreferencesResponses = {
|
|
78328
78491
|
/**
|
|
@@ -78414,7 +78577,7 @@ export type UpdateOrganizationNotificationPreferencesData = {
|
|
|
78414
78577
|
};
|
|
78415
78578
|
export type UpdateOrganizationNotificationPreferencesErrors = {
|
|
78416
78579
|
/**
|
|
78417
|
-
* 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).
|
|
78418
78581
|
*/
|
|
78419
78582
|
400: unknown;
|
|
78420
78583
|
/**
|
|
@@ -78422,9 +78585,13 @@ export type UpdateOrganizationNotificationPreferencesErrors = {
|
|
|
78422
78585
|
*/
|
|
78423
78586
|
401: unknown;
|
|
78424
78587
|
/**
|
|
78425
|
-
* 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).
|
|
78426
78589
|
*/
|
|
78427
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;
|
|
78428
78595
|
};
|
|
78429
78596
|
export type UpdateOrganizationNotificationPreferencesResponses = {
|
|
78430
78597
|
/**
|
|
@@ -78446,6 +78613,10 @@ export type GetOrganizationNotificationDefaultsErrors = {
|
|
|
78446
78613
|
* Missing or invalid credential (RFC 9457 problem).
|
|
78447
78614
|
*/
|
|
78448
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;
|
|
78449
78620
|
};
|
|
78450
78621
|
export type GetOrganizationNotificationDefaultsResponses = {
|
|
78451
78622
|
/**
|
|
@@ -78483,7 +78654,7 @@ export type UpdateOrganizationNotificationDefaultsData = {
|
|
|
78483
78654
|
};
|
|
78484
78655
|
export type UpdateOrganizationNotificationDefaultsErrors = {
|
|
78485
78656
|
/**
|
|
78486
|
-
* 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`).
|
|
78487
78658
|
*/
|
|
78488
78659
|
400: unknown;
|
|
78489
78660
|
/**
|
|
@@ -78491,9 +78662,13 @@ export type UpdateOrganizationNotificationDefaultsErrors = {
|
|
|
78491
78662
|
*/
|
|
78492
78663
|
401: unknown;
|
|
78493
78664
|
/**
|
|
78494
|
-
* 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).
|
|
78495
78666
|
*/
|
|
78496
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;
|
|
78497
78672
|
};
|
|
78498
78673
|
export type UpdateOrganizationNotificationDefaultsResponses = {
|
|
78499
78674
|
/**
|
|
@@ -78521,13 +78696,17 @@ export type ListOrganizationNotificationDeliveriesData = {
|
|
|
78521
78696
|
};
|
|
78522
78697
|
export type ListOrganizationNotificationDeliveriesErrors = {
|
|
78523
78698
|
/**
|
|
78524
|
-
* 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).
|
|
78525
78700
|
*/
|
|
78526
78701
|
400: unknown;
|
|
78527
78702
|
/**
|
|
78528
78703
|
* Missing or invalid credential (RFC 9457 problem).
|
|
78529
78704
|
*/
|
|
78530
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;
|
|
78531
78710
|
};
|
|
78532
78711
|
export type ListOrganizationNotificationDeliveriesResponses = {
|
|
78533
78712
|
/**
|
|
@@ -90424,6 +90603,31 @@ export type SessionsEventsListResponses = {
|
|
|
90424
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.
|
|
90425
90604
|
*/
|
|
90426
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;
|
|
90427
90631
|
}>;
|
|
90428
90632
|
/**
|
|
90429
90633
|
* Opaque cursor for the next page: pass it unchanged as page to continue. Null when this is the last page.
|
|
@@ -92146,6 +92350,31 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
92146
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.
|
|
92147
92351
|
*/
|
|
92148
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;
|
|
92149
92378
|
}>;
|
|
92150
92379
|
/**
|
|
92151
92380
|
* Opaque cursor for the next page: pass it unchanged as page to continue. Null when this is the last page.
|
|
@@ -110984,6 +111213,51 @@ export type DevopsChangesMarkLastSliceResponses = {
|
|
|
110984
111213
|
200: DevopsChange;
|
|
110985
111214
|
};
|
|
110986
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];
|
|
110987
111261
|
export type DevopsChangesOpenPullRequestData = {
|
|
110988
111262
|
body?: DevopsChangeOpenPullRequestRequest;
|
|
110989
111263
|
path: {
|