@deepraxis/sdk 0.2.0-dev.0ea50e2 → 0.2.0-dev.21a04ef
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 +41 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +58 -4
- package/dist/generated/sdk.gen.js +132 -3
- package/dist/generated/types.gen.d.ts +1820 -431
- package/dist/helpers/browser-actions.d.ts +2 -0
- package/dist/helpers/browser-actions.js +5 -1
- package/dist/helpers/browser-connect-error.d.ts +7 -1
- package/dist/helpers/browser-connect-error.js +12 -1
- package/dist/helpers/browser-connect.d.ts +1 -1
- package/dist/helpers/browser-connect.js +16 -5
- package/dist/helpers/browser-decisions.d.ts +3 -0
- package/dist/helpers/browser-decisions.js +5 -0
- package/dist/helpers/browser-documentation.d.ts +1 -1
- package/dist/helpers/browser-documentation.js +3 -0
- package/dist/operations.generated.js +301 -4
- package/dist/resources.generated.d.ts +90 -0
- package/dist/resources.generated.js +25 -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
|
/**
|
|
@@ -3662,9 +3696,37 @@ export type BrowserSessionCreateParams = {
|
|
|
3662
3696
|
ignoreCertificateErrors?: boolean;
|
|
3663
3697
|
};
|
|
3664
3698
|
/**
|
|
3665
|
-
*
|
|
3699
|
+
* 省略、false 或 [{type: 'none'}] 表示不用代理。一条 {type: 'external', server, username?, password? | password_secret?} 让会话在我们的 Chrome 容器里经这个 HTTP 代理出网(需要组织已开通容器后端,否则返回 501 PROVIDER_UNSUPPORTED);不能与 source.type 为 cloud 或 byob 同用,返回 400 INVALID_PARAMS。其它代理类型返回 501。
|
|
3666
3700
|
*/
|
|
3667
3701
|
proxies?: boolean | Array<unknown>;
|
|
3702
|
+
/**
|
|
3703
|
+
* 选择浏览器后端。{type: 'cloud'}:Browser Run,启动最快、不能用代理、自动化特征可被网站发现。{type: 'container'}:我们自己的 Chrome 容器,可带代理也可不带;组织未开通容器后端时返回 501 PROVIDER_UNSUPPORTED。{type: 'byob', browser: 'byb_…'}:用户自己配对的浏览器,不能与 proxies 或登录态同用。简写 {byob: 'byb_…'} 等同最后一种。省略时按旧规则:带 proxies 进容器,否则 Browser Run。cloud 加代理、未知 type、格式错误都返回 400 INVALID_PARAMS。
|
|
3704
|
+
*/
|
|
3705
|
+
source?: {
|
|
3706
|
+
/**
|
|
3707
|
+
* Browser Run。
|
|
3708
|
+
*/
|
|
3709
|
+
type: 'cloud';
|
|
3710
|
+
} | {
|
|
3711
|
+
/**
|
|
3712
|
+
* 自家 Chrome 容器。
|
|
3713
|
+
*/
|
|
3714
|
+
type: 'container';
|
|
3715
|
+
} | {
|
|
3716
|
+
/**
|
|
3717
|
+
* 用户自己的浏览器。
|
|
3718
|
+
*/
|
|
3719
|
+
type: 'byob';
|
|
3720
|
+
/**
|
|
3721
|
+
* 自带浏览器 ID,以 byb_ 开头。
|
|
3722
|
+
*/
|
|
3723
|
+
browser: string;
|
|
3724
|
+
} | {
|
|
3725
|
+
/**
|
|
3726
|
+
* 自带浏览器 ID,type 为 byob 的简写。
|
|
3727
|
+
*/
|
|
3728
|
+
byob: string;
|
|
3729
|
+
};
|
|
3668
3730
|
/**
|
|
3669
3731
|
* 接受但忽略;不能选择区域。
|
|
3670
3732
|
*/
|
|
@@ -3712,9 +3774,9 @@ export type BrowserSessionCreateResult = {
|
|
|
3712
3774
|
*/
|
|
3713
3775
|
region: 'ap-southeast-1';
|
|
3714
3776
|
/**
|
|
3715
|
-
*
|
|
3777
|
+
* 会话经代理转发的流量字节数(上行与下行之和);仅容器后端的会话有值,其余后端固定为 0。
|
|
3716
3778
|
*/
|
|
3717
|
-
proxyBytes:
|
|
3779
|
+
proxyBytes: number;
|
|
3718
3780
|
/**
|
|
3719
3781
|
* 会话创建时刻,UTC ISO 8601 时间。
|
|
3720
3782
|
*/
|
|
@@ -3759,6 +3821,41 @@ export type BrowserSessionCreateResult = {
|
|
|
3759
3821
|
* 会话创建入口;api 为 API 创建,connect 为一步连接创建,console 为 Console 创建。
|
|
3760
3822
|
*/
|
|
3761
3823
|
origin: 'api' | 'connect' | 'console';
|
|
3824
|
+
/**
|
|
3825
|
+
* 会话实际使用的浏览器后端:cloud 是云浏览器(Browser Run),container 是我们自己的 Chrome 容器,byob 是用户自己配对的浏览器(browser 为它的 ID)。type 与 kind 同值,type 是公开名称,kind 为兼容旧读者保留。
|
|
3826
|
+
*/
|
|
3827
|
+
source: {
|
|
3828
|
+
/**
|
|
3829
|
+
* 云浏览器会话,固定为 cloud。
|
|
3830
|
+
*/
|
|
3831
|
+
type: 'cloud';
|
|
3832
|
+
/**
|
|
3833
|
+
* 与 type 同值。
|
|
3834
|
+
*/
|
|
3835
|
+
kind: 'cloud';
|
|
3836
|
+
} | {
|
|
3837
|
+
/**
|
|
3838
|
+
* 自家 Chrome 容器会话,固定为 container。
|
|
3839
|
+
*/
|
|
3840
|
+
type: 'container';
|
|
3841
|
+
/**
|
|
3842
|
+
* 与 type 同值。
|
|
3843
|
+
*/
|
|
3844
|
+
kind: 'container';
|
|
3845
|
+
} | {
|
|
3846
|
+
/**
|
|
3847
|
+
* 用户自己配对的浏览器会话,固定为 byob。
|
|
3848
|
+
*/
|
|
3849
|
+
type: 'byob';
|
|
3850
|
+
/**
|
|
3851
|
+
* 与 type 同值。
|
|
3852
|
+
*/
|
|
3853
|
+
kind: 'byob';
|
|
3854
|
+
/**
|
|
3855
|
+
* 自带浏览器 ID,以 byb_ 开头。
|
|
3856
|
+
*/
|
|
3857
|
+
browser: string;
|
|
3858
|
+
};
|
|
3762
3859
|
/**
|
|
3763
3860
|
* 创建这个会话的用户或智能体标识;通过能力 URL 创建、或在引入创建者之前创建的会话省略此字段。
|
|
3764
3861
|
*/
|
|
@@ -3825,12 +3922,16 @@ export type BrowserSessionCreateResult = {
|
|
|
3825
3922
|
* 该地址返回 501;不支持 Selenium。
|
|
3826
3923
|
*/
|
|
3827
3924
|
seleniumRemoteUrl: string;
|
|
3925
|
+
/**
|
|
3926
|
+
* true 表示本次按 name 复用了已在运行的同名会话(HTTP 200),没有新开会话;false 表示新开了会话(HTTP 201)。
|
|
3927
|
+
*/
|
|
3928
|
+
reused: boolean;
|
|
3828
3929
|
};
|
|
3829
3930
|
export type BrowserError = {
|
|
3830
3931
|
statusCode: number;
|
|
3831
3932
|
error: string;
|
|
3832
3933
|
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';
|
|
3934
|
+
code: 'INVALID_PARAMS' | 'PERMISSION_DENIED' | 'NOT_IMPLEMENTED' | 'INTERNAL' | 'UNAUTHENTICATED' | 'CONNECT_SIGNATURE_INVALID' | 'SESSION_NOT_FOUND' | 'SESSION_ENDED' | 'SESSION_INVALID_STATE' | 'SESSION_NAME_IN_USE' | 'CONTEXT_NOT_FOUND' | 'BROWSER_NOT_GRANTED' | 'BROWSER_OFFLINE' | 'BROWSER_REVOKED' | 'PAIRING_NOT_FOUND' | 'BROWSER_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
3935
|
};
|
|
3835
3936
|
export type BrowserSession = {
|
|
3836
3937
|
/**
|
|
@@ -3854,9 +3955,9 @@ export type BrowserSession = {
|
|
|
3854
3955
|
*/
|
|
3855
3956
|
region: 'ap-southeast-1';
|
|
3856
3957
|
/**
|
|
3857
|
-
*
|
|
3958
|
+
* 会话经代理转发的流量字节数(上行与下行之和);仅容器后端的会话有值,其余后端固定为 0。
|
|
3858
3959
|
*/
|
|
3859
|
-
proxyBytes:
|
|
3960
|
+
proxyBytes: number;
|
|
3860
3961
|
/**
|
|
3861
3962
|
* 会话创建时刻,UTC ISO 8601 时间。
|
|
3862
3963
|
*/
|
|
@@ -3901,6 +4002,41 @@ export type BrowserSession = {
|
|
|
3901
4002
|
* 会话创建入口;api 为 API 创建,connect 为一步连接创建,console 为 Console 创建。
|
|
3902
4003
|
*/
|
|
3903
4004
|
origin: 'api' | 'connect' | 'console';
|
|
4005
|
+
/**
|
|
4006
|
+
* 会话实际使用的浏览器后端:cloud 是云浏览器(Browser Run),container 是我们自己的 Chrome 容器,byob 是用户自己配对的浏览器(browser 为它的 ID)。type 与 kind 同值,type 是公开名称,kind 为兼容旧读者保留。
|
|
4007
|
+
*/
|
|
4008
|
+
source: {
|
|
4009
|
+
/**
|
|
4010
|
+
* 云浏览器会话,固定为 cloud。
|
|
4011
|
+
*/
|
|
4012
|
+
type: 'cloud';
|
|
4013
|
+
/**
|
|
4014
|
+
* 与 type 同值。
|
|
4015
|
+
*/
|
|
4016
|
+
kind: 'cloud';
|
|
4017
|
+
} | {
|
|
4018
|
+
/**
|
|
4019
|
+
* 自家 Chrome 容器会话,固定为 container。
|
|
4020
|
+
*/
|
|
4021
|
+
type: 'container';
|
|
4022
|
+
/**
|
|
4023
|
+
* 与 type 同值。
|
|
4024
|
+
*/
|
|
4025
|
+
kind: 'container';
|
|
4026
|
+
} | {
|
|
4027
|
+
/**
|
|
4028
|
+
* 用户自己配对的浏览器会话,固定为 byob。
|
|
4029
|
+
*/
|
|
4030
|
+
type: 'byob';
|
|
4031
|
+
/**
|
|
4032
|
+
* 与 type 同值。
|
|
4033
|
+
*/
|
|
4034
|
+
kind: 'byob';
|
|
4035
|
+
/**
|
|
4036
|
+
* 自带浏览器 ID,以 byb_ 开头。
|
|
4037
|
+
*/
|
|
4038
|
+
browser: string;
|
|
4039
|
+
};
|
|
3904
4040
|
/**
|
|
3905
4041
|
* 创建这个会话的用户或智能体标识;通过能力 URL 创建、或在引入创建者之前创建的会话省略此字段。
|
|
3906
4042
|
*/
|
|
@@ -3978,9 +4114,9 @@ export type BrowserSessionGetResult = {
|
|
|
3978
4114
|
*/
|
|
3979
4115
|
region: 'ap-southeast-1';
|
|
3980
4116
|
/**
|
|
3981
|
-
*
|
|
4117
|
+
* 会话经代理转发的流量字节数(上行与下行之和);仅容器后端的会话有值,其余后端固定为 0。
|
|
3982
4118
|
*/
|
|
3983
|
-
proxyBytes:
|
|
4119
|
+
proxyBytes: number;
|
|
3984
4120
|
/**
|
|
3985
4121
|
* 会话创建时刻,UTC ISO 8601 时间。
|
|
3986
4122
|
*/
|
|
@@ -4025,6 +4161,41 @@ export type BrowserSessionGetResult = {
|
|
|
4025
4161
|
* 会话创建入口;api 为 API 创建,connect 为一步连接创建,console 为 Console 创建。
|
|
4026
4162
|
*/
|
|
4027
4163
|
origin: 'api' | 'connect' | 'console';
|
|
4164
|
+
/**
|
|
4165
|
+
* 会话实际使用的浏览器后端:cloud 是云浏览器(Browser Run),container 是我们自己的 Chrome 容器,byob 是用户自己配对的浏览器(browser 为它的 ID)。type 与 kind 同值,type 是公开名称,kind 为兼容旧读者保留。
|
|
4166
|
+
*/
|
|
4167
|
+
source: {
|
|
4168
|
+
/**
|
|
4169
|
+
* 云浏览器会话,固定为 cloud。
|
|
4170
|
+
*/
|
|
4171
|
+
type: 'cloud';
|
|
4172
|
+
/**
|
|
4173
|
+
* 与 type 同值。
|
|
4174
|
+
*/
|
|
4175
|
+
kind: 'cloud';
|
|
4176
|
+
} | {
|
|
4177
|
+
/**
|
|
4178
|
+
* 自家 Chrome 容器会话,固定为 container。
|
|
4179
|
+
*/
|
|
4180
|
+
type: 'container';
|
|
4181
|
+
/**
|
|
4182
|
+
* 与 type 同值。
|
|
4183
|
+
*/
|
|
4184
|
+
kind: 'container';
|
|
4185
|
+
} | {
|
|
4186
|
+
/**
|
|
4187
|
+
* 用户自己配对的浏览器会话,固定为 byob。
|
|
4188
|
+
*/
|
|
4189
|
+
type: 'byob';
|
|
4190
|
+
/**
|
|
4191
|
+
* 与 type 同值。
|
|
4192
|
+
*/
|
|
4193
|
+
kind: 'byob';
|
|
4194
|
+
/**
|
|
4195
|
+
* 自带浏览器 ID,以 byb_ 开头。
|
|
4196
|
+
*/
|
|
4197
|
+
browser: string;
|
|
4198
|
+
};
|
|
4028
4199
|
/**
|
|
4029
4200
|
* 创建这个会话的用户或智能体标识;通过能力 URL 创建、或在引入创建者之前创建的会话省略此字段。
|
|
4030
4201
|
*/
|
|
@@ -4280,6 +4451,128 @@ export type BrowserContext = {
|
|
|
4280
4451
|
*/
|
|
4281
4452
|
lastUsedAt?: string;
|
|
4282
4453
|
};
|
|
4454
|
+
export type BrowserByobPairing = {
|
|
4455
|
+
/**
|
|
4456
|
+
* 8 位配对码,一次性、10 分钟内有效;它是秘密,只交给要配对的那个浏览器的用户。
|
|
4457
|
+
*/
|
|
4458
|
+
code: string;
|
|
4459
|
+
/**
|
|
4460
|
+
* 配对码失效的时刻,UTC ISO 8601 时间。
|
|
4461
|
+
*/
|
|
4462
|
+
expires_at: string;
|
|
4463
|
+
};
|
|
4464
|
+
export type BrowserByobBrowser = {
|
|
4465
|
+
/**
|
|
4466
|
+
* 对象类型,固定为 byob_browser。
|
|
4467
|
+
*/
|
|
4468
|
+
object: 'byob_browser';
|
|
4469
|
+
/**
|
|
4470
|
+
* 自带浏览器 ID,以 byb_ 开头;使用配对认领或列出自带浏览器返回的 id。
|
|
4471
|
+
*/
|
|
4472
|
+
id: string;
|
|
4473
|
+
/**
|
|
4474
|
+
* 浏览器的显示名称,配对时由扩展上报,1–80 个字符;可通过更新修改。
|
|
4475
|
+
*/
|
|
4476
|
+
name: string;
|
|
4477
|
+
/**
|
|
4478
|
+
* 这个自带浏览器的种类,配对时由扩展上报。
|
|
4479
|
+
*/
|
|
4480
|
+
browser: 'chrome' | 'edge';
|
|
4481
|
+
/**
|
|
4482
|
+
* 浏览器版本号,配对时由扩展上报。
|
|
4483
|
+
*/
|
|
4484
|
+
version: string;
|
|
4485
|
+
/**
|
|
4486
|
+
* 操作系统,配对时由扩展上报。
|
|
4487
|
+
*/
|
|
4488
|
+
os: string;
|
|
4489
|
+
/**
|
|
4490
|
+
* 配对用的扩展 ID。
|
|
4491
|
+
*/
|
|
4492
|
+
extension_id: string;
|
|
4493
|
+
/**
|
|
4494
|
+
* 被授权驱动这个浏览器的智能体 ID 列表;智能体不在列表里时不能打开它的会话。空数组表示没有智能体被授权。
|
|
4495
|
+
*/
|
|
4496
|
+
granted_agents: Array<string>;
|
|
4497
|
+
/**
|
|
4498
|
+
* 允许智能体访问的站点列表;空数组表示不限制 http(s) 站点。这是护栏,不是数据边界。
|
|
4499
|
+
*/
|
|
4500
|
+
allowed_sites: Array<string>;
|
|
4501
|
+
/**
|
|
4502
|
+
* 扩展的连接当前是否在线;连接对象上线之前固定为 false。
|
|
4503
|
+
*/
|
|
4504
|
+
online: boolean;
|
|
4505
|
+
/**
|
|
4506
|
+
* 扩展最近一次被看到在线的时刻,UTC ISO 8601 时间。
|
|
4507
|
+
*/
|
|
4508
|
+
last_seen_at: string | null;
|
|
4509
|
+
/**
|
|
4510
|
+
* 发起配对的用户标识;浏览器属于组织,这里只记录是谁配的。
|
|
4511
|
+
*/
|
|
4512
|
+
created_by: string | null;
|
|
4513
|
+
/**
|
|
4514
|
+
* 浏览器完成配对的时刻,UTC ISO 8601 时间。
|
|
4515
|
+
*/
|
|
4516
|
+
created_at: string;
|
|
4517
|
+
/**
|
|
4518
|
+
* 组织断开这个浏览器的时刻,UTC ISO 8601 时间;未断开时为 null。
|
|
4519
|
+
*/
|
|
4520
|
+
revoked_at: string | null;
|
|
4521
|
+
};
|
|
4522
|
+
export type BrowserByobPairingView = {
|
|
4523
|
+
/**
|
|
4524
|
+
* 发起配对的组织名称,扩展的授权页显示它。
|
|
4525
|
+
*/
|
|
4526
|
+
organization_name: string;
|
|
4527
|
+
/**
|
|
4528
|
+
* 发起配对的用户标识。
|
|
4529
|
+
*/
|
|
4530
|
+
created_by: string | null;
|
|
4531
|
+
/**
|
|
4532
|
+
* 配对码失效的时刻,UTC ISO 8601 时间。
|
|
4533
|
+
*/
|
|
4534
|
+
expires_at: string;
|
|
4535
|
+
};
|
|
4536
|
+
export type BrowserByobClaim = {
|
|
4537
|
+
/**
|
|
4538
|
+
* 要登记的浏览器种类,只支持 Chrome 和 Edge。
|
|
4539
|
+
*/
|
|
4540
|
+
browser: 'chrome' | 'edge';
|
|
4541
|
+
/**
|
|
4542
|
+
* 浏览器版本号,1–64 个字符。
|
|
4543
|
+
*/
|
|
4544
|
+
version: string;
|
|
4545
|
+
/**
|
|
4546
|
+
* 操作系统,1–64 个字符。
|
|
4547
|
+
*/
|
|
4548
|
+
os: string;
|
|
4549
|
+
/**
|
|
4550
|
+
* 浏览器的显示名称,1–80 个字符。
|
|
4551
|
+
*/
|
|
4552
|
+
name: string;
|
|
4553
|
+
/**
|
|
4554
|
+
* 扩展用 WebCrypto 生成的不可导出 ECDSA P-256 密钥对的公钥;平台只保存公钥。
|
|
4555
|
+
*/
|
|
4556
|
+
public_key: string;
|
|
4557
|
+
/**
|
|
4558
|
+
* 扩展 ID,1–64 个字符。
|
|
4559
|
+
*/
|
|
4560
|
+
extension_id: string;
|
|
4561
|
+
/**
|
|
4562
|
+
* 扩展保存的随机安装密钥,8–128 个字母、数字、_ 或 -;同一个 profile 带同一密钥重新配对会复用原来的浏览器,平台只保存它的哈希。省略则每次认领都是新浏览器。
|
|
4563
|
+
*/
|
|
4564
|
+
install_key?: string;
|
|
4565
|
+
};
|
|
4566
|
+
export type BrowserByobClaimResult = {
|
|
4567
|
+
/**
|
|
4568
|
+
* 自带浏览器 ID,以 byb_ 开头;使用配对认领或列出自带浏览器返回的 id。
|
|
4569
|
+
*/
|
|
4570
|
+
browser_id: string;
|
|
4571
|
+
/**
|
|
4572
|
+
* 扩展要拨入的 WSS 地址,属于这个浏览器自己的链接主机;连接时用配对时的私钥签名完成认证,地址本身不是凭证。
|
|
4573
|
+
*/
|
|
4574
|
+
link_url: string;
|
|
4575
|
+
};
|
|
4283
4576
|
export type BrowserStreamMessage = {
|
|
4284
4577
|
event: 'snapshot';
|
|
4285
4578
|
data: {
|
|
@@ -4694,7 +4987,7 @@ export type OwnFileSignedUploadResponse = {
|
|
|
4694
4987
|
url: string;
|
|
4695
4988
|
}>;
|
|
4696
4989
|
/**
|
|
4697
|
-
* Bearer URL to POST without a body after every chunk is acknowledged. Returns 201 with the file object; missing chunks return 400 and
|
|
4990
|
+
* 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
4991
|
*/
|
|
4699
4992
|
complete_url: string;
|
|
4700
4993
|
/**
|
|
@@ -10584,6 +10877,10 @@ export type ApplicationCreateWorkerInput = {
|
|
|
10584
10877
|
labels?: {
|
|
10585
10878
|
[key: string]: string;
|
|
10586
10879
|
};
|
|
10880
|
+
/**
|
|
10881
|
+
* 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.
|
|
10882
|
+
*/
|
|
10883
|
+
access?: 'public' | 'organization';
|
|
10587
10884
|
};
|
|
10588
10885
|
};
|
|
10589
10886
|
export type ApplicationWorker = {
|
|
@@ -10655,6 +10952,10 @@ export type ApplicationWorker = {
|
|
|
10655
10952
|
labels: {
|
|
10656
10953
|
[key: string]: string;
|
|
10657
10954
|
};
|
|
10955
|
+
/**
|
|
10956
|
+
* 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.
|
|
10957
|
+
*/
|
|
10958
|
+
access: 'public' | 'organization';
|
|
10658
10959
|
/**
|
|
10659
10960
|
* When the Worker was deleted.
|
|
10660
10961
|
*/
|
|
@@ -10736,6 +11037,10 @@ export type ApplicationUpdateWorkerInput = {
|
|
|
10736
11037
|
labels?: {
|
|
10737
11038
|
[key: string]: string;
|
|
10738
11039
|
};
|
|
11040
|
+
/**
|
|
11041
|
+
* 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.
|
|
11042
|
+
*/
|
|
11043
|
+
access?: 'public' | 'organization';
|
|
10739
11044
|
};
|
|
10740
11045
|
};
|
|
10741
11046
|
export type ApplicationVersionPage = {
|
|
@@ -19519,6 +19824,32 @@ export type DevopsChangeMarkLastSliceRequest = {
|
|
|
19519
19824
|
*/
|
|
19520
19825
|
lastSlice: boolean;
|
|
19521
19826
|
};
|
|
19827
|
+
/**
|
|
19828
|
+
* Where the new slice starts. Every field is optional: with none the slice is cut from the default branch.
|
|
19829
|
+
*/
|
|
19830
|
+
export type DevopsChangeSliceCreateRequest = {
|
|
19831
|
+
/**
|
|
19832
|
+
* 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.
|
|
19833
|
+
*/
|
|
19834
|
+
from?: string;
|
|
19835
|
+
};
|
|
19836
|
+
/**
|
|
19837
|
+
* The slice that was opened.
|
|
19838
|
+
*/
|
|
19839
|
+
export type DevopsChangeSliceOpened = {
|
|
19840
|
+
/**
|
|
19841
|
+
* 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`.
|
|
19842
|
+
*/
|
|
19843
|
+
branch: string;
|
|
19844
|
+
/**
|
|
19845
|
+
* 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.
|
|
19846
|
+
*/
|
|
19847
|
+
directory: string;
|
|
19848
|
+
/**
|
|
19849
|
+
* 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.
|
|
19850
|
+
*/
|
|
19851
|
+
unit: string;
|
|
19852
|
+
};
|
|
19522
19853
|
/**
|
|
19523
19854
|
* What the pull request says. Every field is optional: without a title the change's own title is used.
|
|
19524
19855
|
*/
|
|
@@ -19535,6 +19866,10 @@ export type DevopsChangeOpenPullRequestRequest = {
|
|
|
19535
19866
|
* Open it as a draft. Defaults to false.
|
|
19536
19867
|
*/
|
|
19537
19868
|
draft?: boolean;
|
|
19869
|
+
/**
|
|
19870
|
+
* 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.
|
|
19871
|
+
*/
|
|
19872
|
+
head?: string;
|
|
19538
19873
|
};
|
|
19539
19874
|
/**
|
|
19540
19875
|
* The pull request for a change's branch.
|
|
@@ -29732,6 +30067,31 @@ export type AgentSseData = {
|
|
|
29732
30067
|
* 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
30068
|
*/
|
|
29734
30069
|
session_thread_id?: string | null;
|
|
30070
|
+
} | {
|
|
30071
|
+
/**
|
|
30072
|
+
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
30073
|
+
*/
|
|
30074
|
+
id: string;
|
|
30075
|
+
/**
|
|
30076
|
+
* Always `session.status_preparing`. A device session's local agent is starting; stage says how far it got.
|
|
30077
|
+
*/
|
|
30078
|
+
type: 'session.status_preparing';
|
|
30079
|
+
/**
|
|
30080
|
+
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
30081
|
+
*/
|
|
30082
|
+
processed_at: string;
|
|
30083
|
+
/**
|
|
30084
|
+
* How far the start got.
|
|
30085
|
+
*/
|
|
30086
|
+
stage: 'launching' | 'loading' | 'ready';
|
|
30087
|
+
/**
|
|
30088
|
+
* 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.
|
|
30089
|
+
*/
|
|
30090
|
+
message_id?: string;
|
|
30091
|
+
/**
|
|
30092
|
+
* 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.
|
|
30093
|
+
*/
|
|
30094
|
+
session_thread_id?: string | null;
|
|
29735
30095
|
} | {
|
|
29736
30096
|
/**
|
|
29737
30097
|
* Always `event_start`. Preview that an event of the requested delta types has started.
|
|
@@ -51934,6 +52294,10 @@ export type DevopsLockId = string;
|
|
|
51934
52294
|
* 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
52295
|
*/
|
|
51936
52296
|
export type DevopsChangeIdPath = string;
|
|
52297
|
+
/**
|
|
52298
|
+
* 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.
|
|
52299
|
+
*/
|
|
52300
|
+
export type DevopsChangePathParam = string;
|
|
51937
52301
|
/**
|
|
51938
52302
|
* 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
52303
|
*/
|
|
@@ -53577,6 +53941,31 @@ export type ListAgentEventsResponses = {
|
|
|
53577
53941
|
* 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
53942
|
*/
|
|
53579
53943
|
session_thread_id?: string | null;
|
|
53944
|
+
} | {
|
|
53945
|
+
/**
|
|
53946
|
+
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
53947
|
+
*/
|
|
53948
|
+
id: string;
|
|
53949
|
+
/**
|
|
53950
|
+
* Always `session.status_preparing`. A device session's local agent is starting; stage says how far it got.
|
|
53951
|
+
*/
|
|
53952
|
+
type: 'session.status_preparing';
|
|
53953
|
+
/**
|
|
53954
|
+
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
53955
|
+
*/
|
|
53956
|
+
processed_at: string;
|
|
53957
|
+
/**
|
|
53958
|
+
* How far the start got.
|
|
53959
|
+
*/
|
|
53960
|
+
stage: 'launching' | 'loading' | 'ready';
|
|
53961
|
+
/**
|
|
53962
|
+
* 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.
|
|
53963
|
+
*/
|
|
53964
|
+
message_id?: string;
|
|
53965
|
+
/**
|
|
53966
|
+
* 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.
|
|
53967
|
+
*/
|
|
53968
|
+
session_thread_id?: string | null;
|
|
53580
53969
|
}>;
|
|
53581
53970
|
/**
|
|
53582
53971
|
* Opaque cursor for the next page: pass it unchanged as page to continue. Null when this is the last page.
|
|
@@ -53997,6 +54386,86 @@ export type ListAgentInboxLettersResponses = {
|
|
|
53997
54386
|
};
|
|
53998
54387
|
};
|
|
53999
54388
|
export type ListAgentInboxLettersResponse = ListAgentInboxLettersResponses[keyof ListAgentInboxLettersResponses];
|
|
54389
|
+
export type ListAgentDeviceLocalSessionsData = {
|
|
54390
|
+
body?: never;
|
|
54391
|
+
path: {
|
|
54392
|
+
/**
|
|
54393
|
+
* The BYOA agent: its agent_… id, eight character identity number or handle, from agents.list; resolved in your organization. Also accepts an 8-character identity number (0–9, A–Z); malformed, absent and foreign references return 404, and response ids always use agent_….
|
|
54394
|
+
*/
|
|
54395
|
+
agent_id: string;
|
|
54396
|
+
/**
|
|
54397
|
+
* The paired desktop device (byd_ and 26 hex characters) whose sessions to list; you must be the person who paired it.
|
|
54398
|
+
*/
|
|
54399
|
+
device_id: string;
|
|
54400
|
+
};
|
|
54401
|
+
query: {
|
|
54402
|
+
/**
|
|
54403
|
+
* The absolute directory on the device, exactly as the device registered it and bound it to this agent.
|
|
54404
|
+
*/
|
|
54405
|
+
cwd: string;
|
|
54406
|
+
/**
|
|
54407
|
+
* The next_cursor of the previous page; leave it out for the first page.
|
|
54408
|
+
*/
|
|
54409
|
+
cursor?: string;
|
|
54410
|
+
};
|
|
54411
|
+
url: '/agent/v1/agents/{agent_id}/devices/{device_id}/local-sessions';
|
|
54412
|
+
};
|
|
54413
|
+
export type ListAgentDeviceLocalSessionsErrors = {
|
|
54414
|
+
/**
|
|
54415
|
+
* INVALID_PARAMS: cwd is missing, not absolute or not bound to this agent on that device, the device is not one you paired, or a query parameter is unsupported; ASSUME_AGENT_REQUIRED: the agent is not a BYOA agent.
|
|
54416
|
+
*/
|
|
54417
|
+
400: unknown;
|
|
54418
|
+
/**
|
|
54419
|
+
* Authenticate with your own API key or a console session; an agent's or robot's credential cannot list a person's device.
|
|
54420
|
+
*/
|
|
54421
|
+
401: unknown;
|
|
54422
|
+
/**
|
|
54423
|
+
* permission_error: the credential's role or bound resources do not allow this operation. Use a key with access to the agent domain and its resources.
|
|
54424
|
+
*/
|
|
54425
|
+
403: AgentError;
|
|
54426
|
+
/**
|
|
54427
|
+
* AGENT_NOT_FOUND: no agent with this reference exists in your organization; list agents with agents.list.
|
|
54428
|
+
*/
|
|
54429
|
+
404: unknown;
|
|
54430
|
+
/**
|
|
54431
|
+
* DEVICE_NOT_READY: the device is offline; retry once it is connected. DEVICE_TIMEOUT (504) means it is connected but did not answer in time.
|
|
54432
|
+
*/
|
|
54433
|
+
503: unknown;
|
|
54434
|
+
};
|
|
54435
|
+
export type ListAgentDeviceLocalSessionsError = ListAgentDeviceLocalSessionsErrors[keyof ListAgentDeviceLocalSessionsErrors];
|
|
54436
|
+
export type ListAgentDeviceLocalSessionsResponses = {
|
|
54437
|
+
/**
|
|
54438
|
+
* One page of the device's sessions for that directory, newest first.
|
|
54439
|
+
*/
|
|
54440
|
+
200: {
|
|
54441
|
+
/**
|
|
54442
|
+
* The sessions of this page; empty when the directory has none.
|
|
54443
|
+
*/
|
|
54444
|
+
data: Array<{
|
|
54445
|
+
/**
|
|
54446
|
+
* The Claude Code session id on the device; pass it as runtime.resume_session_id when creating a session to continue it.
|
|
54447
|
+
*/
|
|
54448
|
+
id: string;
|
|
54449
|
+
/**
|
|
54450
|
+
* The session's title as Claude Code shows it; empty when it has none.
|
|
54451
|
+
*/
|
|
54452
|
+
title: string;
|
|
54453
|
+
/**
|
|
54454
|
+
* When the session was last written to, RFC 3339; sessions are ordered newest first.
|
|
54455
|
+
*/
|
|
54456
|
+
updated_at: string | null;
|
|
54457
|
+
/**
|
|
54458
|
+
* The directory the session ran in on the device.
|
|
54459
|
+
*/
|
|
54460
|
+
cwd: string | null;
|
|
54461
|
+
}>;
|
|
54462
|
+
/**
|
|
54463
|
+
* Pass as cursor for the next page; null on the last page.
|
|
54464
|
+
*/
|
|
54465
|
+
next_cursor: string | null;
|
|
54466
|
+
};
|
|
54467
|
+
};
|
|
54468
|
+
export type ListAgentDeviceLocalSessionsResponse = ListAgentDeviceLocalSessionsResponses[keyof ListAgentDeviceLocalSessionsResponses];
|
|
54000
54469
|
export type CreateAgentLoginIntentData = {
|
|
54001
54470
|
body?: never;
|
|
54002
54471
|
path?: never;
|
|
@@ -54007,32 +54476,33 @@ export type CreateAgentLoginIntentErrors = {
|
|
|
54007
54476
|
/**
|
|
54008
54477
|
* 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
54478
|
*/
|
|
54010
|
-
400:
|
|
54479
|
+
400: AgentError;
|
|
54011
54480
|
/**
|
|
54012
54481
|
* Authentication required: send the platform session's own credential.
|
|
54013
54482
|
*/
|
|
54014
|
-
401:
|
|
54483
|
+
401: AgentError;
|
|
54015
54484
|
/**
|
|
54016
54485
|
* 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
54486
|
*/
|
|
54018
|
-
403:
|
|
54487
|
+
403: AgentError;
|
|
54019
54488
|
/**
|
|
54020
54489
|
* AGENT_NOT_FOUND: the agent the credential names does not exist in this organization; check the agent the session was opened for.
|
|
54021
54490
|
*/
|
|
54022
|
-
404:
|
|
54491
|
+
404: AgentError;
|
|
54023
54492
|
/**
|
|
54024
54493
|
* 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
54494
|
*/
|
|
54026
|
-
409:
|
|
54495
|
+
409: AgentError;
|
|
54027
54496
|
/**
|
|
54028
54497
|
* UPSTREAM_UNAVAILABLE: the agent service or identity could not answer; retry once the service is back.
|
|
54029
54498
|
*/
|
|
54030
|
-
502:
|
|
54499
|
+
502: AgentError;
|
|
54031
54500
|
/**
|
|
54032
54501
|
* UNAVAILABLE: identity is not configured in this deployment.
|
|
54033
54502
|
*/
|
|
54034
|
-
503:
|
|
54503
|
+
503: AgentError;
|
|
54035
54504
|
};
|
|
54505
|
+
export type CreateAgentLoginIntentError = CreateAgentLoginIntentErrors[keyof CreateAgentLoginIntentErrors];
|
|
54036
54506
|
export type CreateAgentLoginIntentResponses = {
|
|
54037
54507
|
/**
|
|
54038
54508
|
* The one-time login code and when it stops working; the code is answered once and never again.
|
|
@@ -54896,6 +55366,15 @@ export type ApplyAgentVersionResponses = {
|
|
|
54896
55366
|
name: string;
|
|
54897
55367
|
}>;
|
|
54898
55368
|
};
|
|
55369
|
+
/**
|
|
55370
|
+
* ADR-205: which browser the agent drives. {byob: byb_…} names one of your organization's paired browsers (browser.byob.browsers.list), which the agent then drives through connect() instead of a cloud browser; null or absent is the cloud browser. The browser must belong to your organization (otherwise 400) and must grant this agent before a session can open it. Omit on update to keep it, send an object to replace it, or null to go back to the cloud browser. /agent/v1 only.
|
|
55371
|
+
*/
|
|
55372
|
+
browser?: {
|
|
55373
|
+
/**
|
|
55374
|
+
* A paired browser's id (byb_ and 26 lowercase hex characters), from browser.byob.browsers.list.
|
|
55375
|
+
*/
|
|
55376
|
+
byob: string;
|
|
55377
|
+
} | null;
|
|
54899
55378
|
/**
|
|
54900
55379
|
* Praxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. computer_id selects a tenant-owned active computer. Session selection overrides the agent default; a sandbox environment_id and computer_id cannot be combined. Omitted when no computer is selected.
|
|
54901
55380
|
*/
|
|
@@ -56147,6 +56626,15 @@ export type UnarchiveAgentResponses = {
|
|
|
56147
56626
|
name: string;
|
|
56148
56627
|
}>;
|
|
56149
56628
|
};
|
|
56629
|
+
/**
|
|
56630
|
+
* ADR-205: which browser the agent drives. {byob: byb_…} names one of your organization's paired browsers (browser.byob.browsers.list), which the agent then drives through connect() instead of a cloud browser; null or absent is the cloud browser. The browser must belong to your organization (otherwise 400) and must grant this agent before a session can open it. Omit on update to keep it, send an object to replace it, or null to go back to the cloud browser. /agent/v1 only.
|
|
56631
|
+
*/
|
|
56632
|
+
browser?: {
|
|
56633
|
+
/**
|
|
56634
|
+
* A paired browser's id (byb_ and 26 lowercase hex characters), from browser.byob.browsers.list.
|
|
56635
|
+
*/
|
|
56636
|
+
byob: string;
|
|
56637
|
+
} | null;
|
|
56150
56638
|
/**
|
|
56151
56639
|
* Praxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. computer_id selects a tenant-owned active computer. Session selection overrides the agent default; a sandbox environment_id and computer_id cannot be combined. Omitted when no computer is selected.
|
|
56152
56640
|
*/
|
|
@@ -68777,17 +69265,21 @@ export type BrowserListSessionsErrors = {
|
|
|
68777
69265
|
*/
|
|
68778
69266
|
402: BrowserError;
|
|
68779
69267
|
/**
|
|
68780
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69268
|
+
* PERMISSION_DENIED / BROWSER_NOT_GRANTED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
68781
69269
|
*/
|
|
68782
69270
|
403: BrowserError;
|
|
68783
69271
|
/**
|
|
68784
|
-
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
69272
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PAIRING_NOT_FOUND / BROWSER_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
68785
69273
|
*/
|
|
68786
69274
|
404: BrowserError;
|
|
68787
69275
|
/**
|
|
68788
|
-
* SESSION_ENDED / SESSION_INVALID_STATE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
69276
|
+
* SESSION_ENDED / SESSION_INVALID_STATE / SESSION_NAME_IN_USE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
68789
69277
|
*/
|
|
68790
69278
|
409: BrowserError;
|
|
69279
|
+
/**
|
|
69280
|
+
* BROWSER_REVOKED
|
|
69281
|
+
*/
|
|
69282
|
+
410: BrowserError;
|
|
68791
69283
|
/**
|
|
68792
69284
|
* ACTION_RESULT_TOO_LARGE
|
|
68793
69285
|
*/
|
|
@@ -68809,7 +69301,7 @@ export type BrowserListSessionsErrors = {
|
|
|
68809
69301
|
*/
|
|
68810
69302
|
502: BrowserError;
|
|
68811
69303
|
/**
|
|
68812
|
-
* SERVICE_UNAVAILABLE
|
|
69304
|
+
* BROWSER_OFFLINE / SERVICE_UNAVAILABLE
|
|
68813
69305
|
*/
|
|
68814
69306
|
503: BrowserError;
|
|
68815
69307
|
/**
|
|
@@ -68854,17 +69346,21 @@ export type BrowserCreateSessionErrors = {
|
|
|
68854
69346
|
*/
|
|
68855
69347
|
402: BrowserError;
|
|
68856
69348
|
/**
|
|
68857
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69349
|
+
* PERMISSION_DENIED / BROWSER_NOT_GRANTED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
68858
69350
|
*/
|
|
68859
69351
|
403: BrowserError;
|
|
68860
69352
|
/**
|
|
68861
|
-
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
69353
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PAIRING_NOT_FOUND / BROWSER_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
68862
69354
|
*/
|
|
68863
69355
|
404: BrowserError;
|
|
68864
69356
|
/**
|
|
68865
|
-
* SESSION_ENDED / SESSION_INVALID_STATE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
69357
|
+
* SESSION_ENDED / SESSION_INVALID_STATE / SESSION_NAME_IN_USE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
68866
69358
|
*/
|
|
68867
69359
|
409: BrowserError;
|
|
69360
|
+
/**
|
|
69361
|
+
* BROWSER_REVOKED
|
|
69362
|
+
*/
|
|
69363
|
+
410: BrowserError;
|
|
68868
69364
|
/**
|
|
68869
69365
|
* ACTION_RESULT_TOO_LARGE
|
|
68870
69366
|
*/
|
|
@@ -68886,7 +69382,7 @@ export type BrowserCreateSessionErrors = {
|
|
|
68886
69382
|
*/
|
|
68887
69383
|
502: BrowserError;
|
|
68888
69384
|
/**
|
|
68889
|
-
* SERVICE_UNAVAILABLE
|
|
69385
|
+
* BROWSER_OFFLINE / SERVICE_UNAVAILABLE
|
|
68890
69386
|
*/
|
|
68891
69387
|
503: BrowserError;
|
|
68892
69388
|
/**
|
|
@@ -68896,6 +69392,10 @@ export type BrowserCreateSessionErrors = {
|
|
|
68896
69392
|
};
|
|
68897
69393
|
export type BrowserCreateSessionError = BrowserCreateSessionErrors[keyof BrowserCreateSessionErrors];
|
|
68898
69394
|
export type BrowserCreateSessionResponses = {
|
|
69395
|
+
/**
|
|
69396
|
+
* 请求成功。
|
|
69397
|
+
*/
|
|
69398
|
+
200: BrowserSessionCreateResult;
|
|
68899
69399
|
/**
|
|
68900
69400
|
* 请求成功。
|
|
68901
69401
|
*/
|
|
@@ -68932,17 +69432,21 @@ export type BrowserGetSessionErrors = {
|
|
|
68932
69432
|
*/
|
|
68933
69433
|
402: BrowserError;
|
|
68934
69434
|
/**
|
|
68935
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69435
|
+
* PERMISSION_DENIED / BROWSER_NOT_GRANTED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
68936
69436
|
*/
|
|
68937
69437
|
403: BrowserError;
|
|
68938
69438
|
/**
|
|
68939
|
-
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
69439
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PAIRING_NOT_FOUND / BROWSER_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
68940
69440
|
*/
|
|
68941
69441
|
404: BrowserError;
|
|
68942
69442
|
/**
|
|
68943
|
-
* SESSION_ENDED / SESSION_INVALID_STATE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
69443
|
+
* SESSION_ENDED / SESSION_INVALID_STATE / SESSION_NAME_IN_USE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
68944
69444
|
*/
|
|
68945
69445
|
409: BrowserError;
|
|
69446
|
+
/**
|
|
69447
|
+
* BROWSER_REVOKED
|
|
69448
|
+
*/
|
|
69449
|
+
410: BrowserError;
|
|
68946
69450
|
/**
|
|
68947
69451
|
* ACTION_RESULT_TOO_LARGE
|
|
68948
69452
|
*/
|
|
@@ -68964,7 +69468,7 @@ export type BrowserGetSessionErrors = {
|
|
|
68964
69468
|
*/
|
|
68965
69469
|
502: BrowserError;
|
|
68966
69470
|
/**
|
|
68967
|
-
* SERVICE_UNAVAILABLE
|
|
69471
|
+
* BROWSER_OFFLINE / SERVICE_UNAVAILABLE
|
|
68968
69472
|
*/
|
|
68969
69473
|
503: BrowserError;
|
|
68970
69474
|
/**
|
|
@@ -69010,17 +69514,21 @@ export type BrowserCloseSessionErrors = {
|
|
|
69010
69514
|
*/
|
|
69011
69515
|
402: BrowserError;
|
|
69012
69516
|
/**
|
|
69013
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69517
|
+
* PERMISSION_DENIED / BROWSER_NOT_GRANTED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69014
69518
|
*/
|
|
69015
69519
|
403: BrowserError;
|
|
69016
69520
|
/**
|
|
69017
|
-
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
69521
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PAIRING_NOT_FOUND / BROWSER_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
69018
69522
|
*/
|
|
69019
69523
|
404: BrowserError;
|
|
69020
69524
|
/**
|
|
69021
|
-
* SESSION_ENDED / SESSION_INVALID_STATE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
69525
|
+
* SESSION_ENDED / SESSION_INVALID_STATE / SESSION_NAME_IN_USE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
69022
69526
|
*/
|
|
69023
69527
|
409: BrowserError;
|
|
69528
|
+
/**
|
|
69529
|
+
* BROWSER_REVOKED
|
|
69530
|
+
*/
|
|
69531
|
+
410: BrowserError;
|
|
69024
69532
|
/**
|
|
69025
69533
|
* ACTION_RESULT_TOO_LARGE
|
|
69026
69534
|
*/
|
|
@@ -69042,7 +69550,7 @@ export type BrowserCloseSessionErrors = {
|
|
|
69042
69550
|
*/
|
|
69043
69551
|
502: BrowserError;
|
|
69044
69552
|
/**
|
|
69045
|
-
* SERVICE_UNAVAILABLE
|
|
69553
|
+
* BROWSER_OFFLINE / SERVICE_UNAVAILABLE
|
|
69046
69554
|
*/
|
|
69047
69555
|
503: BrowserError;
|
|
69048
69556
|
/**
|
|
@@ -69083,17 +69591,21 @@ export type BrowserGetDebugErrors = {
|
|
|
69083
69591
|
*/
|
|
69084
69592
|
402: BrowserError;
|
|
69085
69593
|
/**
|
|
69086
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69594
|
+
* PERMISSION_DENIED / BROWSER_NOT_GRANTED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69087
69595
|
*/
|
|
69088
69596
|
403: BrowserError;
|
|
69089
69597
|
/**
|
|
69090
|
-
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
69598
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PAIRING_NOT_FOUND / BROWSER_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
69091
69599
|
*/
|
|
69092
69600
|
404: BrowserError;
|
|
69093
69601
|
/**
|
|
69094
|
-
* SESSION_ENDED / SESSION_INVALID_STATE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
69602
|
+
* SESSION_ENDED / SESSION_INVALID_STATE / SESSION_NAME_IN_USE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
69095
69603
|
*/
|
|
69096
69604
|
409: BrowserError;
|
|
69605
|
+
/**
|
|
69606
|
+
* BROWSER_REVOKED
|
|
69607
|
+
*/
|
|
69608
|
+
410: BrowserError;
|
|
69097
69609
|
/**
|
|
69098
69610
|
* ACTION_RESULT_TOO_LARGE
|
|
69099
69611
|
*/
|
|
@@ -69115,7 +69627,7 @@ export type BrowserGetDebugErrors = {
|
|
|
69115
69627
|
*/
|
|
69116
69628
|
502: BrowserError;
|
|
69117
69629
|
/**
|
|
69118
|
-
* SERVICE_UNAVAILABLE
|
|
69630
|
+
* BROWSER_OFFLINE / SERVICE_UNAVAILABLE
|
|
69119
69631
|
*/
|
|
69120
69632
|
503: BrowserError;
|
|
69121
69633
|
/**
|
|
@@ -69169,17 +69681,21 @@ export type BrowserListEventsErrors = {
|
|
|
69169
69681
|
*/
|
|
69170
69682
|
402: BrowserError;
|
|
69171
69683
|
/**
|
|
69172
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69684
|
+
* PERMISSION_DENIED / BROWSER_NOT_GRANTED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69173
69685
|
*/
|
|
69174
69686
|
403: BrowserError;
|
|
69175
69687
|
/**
|
|
69176
|
-
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
69688
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PAIRING_NOT_FOUND / BROWSER_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
69177
69689
|
*/
|
|
69178
69690
|
404: BrowserError;
|
|
69179
69691
|
/**
|
|
69180
|
-
* SESSION_ENDED / SESSION_INVALID_STATE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
69692
|
+
* SESSION_ENDED / SESSION_INVALID_STATE / SESSION_NAME_IN_USE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
69181
69693
|
*/
|
|
69182
69694
|
409: BrowserError;
|
|
69695
|
+
/**
|
|
69696
|
+
* BROWSER_REVOKED
|
|
69697
|
+
*/
|
|
69698
|
+
410: BrowserError;
|
|
69183
69699
|
/**
|
|
69184
69700
|
* ACTION_RESULT_TOO_LARGE
|
|
69185
69701
|
*/
|
|
@@ -69201,7 +69717,7 @@ export type BrowserListEventsErrors = {
|
|
|
69201
69717
|
*/
|
|
69202
69718
|
502: BrowserError;
|
|
69203
69719
|
/**
|
|
69204
|
-
* SERVICE_UNAVAILABLE
|
|
69720
|
+
* BROWSER_OFFLINE / SERVICE_UNAVAILABLE
|
|
69205
69721
|
*/
|
|
69206
69722
|
503: BrowserError;
|
|
69207
69723
|
/**
|
|
@@ -69448,17 +69964,21 @@ export type BrowserRunPageActionErrors = {
|
|
|
69448
69964
|
*/
|
|
69449
69965
|
402: BrowserError;
|
|
69450
69966
|
/**
|
|
69451
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69967
|
+
* PERMISSION_DENIED / BROWSER_NOT_GRANTED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69452
69968
|
*/
|
|
69453
69969
|
403: BrowserError;
|
|
69454
69970
|
/**
|
|
69455
|
-
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
69971
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PAIRING_NOT_FOUND / BROWSER_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
69456
69972
|
*/
|
|
69457
69973
|
404: BrowserError;
|
|
69458
69974
|
/**
|
|
69459
|
-
* SESSION_ENDED / SESSION_INVALID_STATE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
69975
|
+
* SESSION_ENDED / SESSION_INVALID_STATE / SESSION_NAME_IN_USE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
69460
69976
|
*/
|
|
69461
69977
|
409: BrowserError;
|
|
69978
|
+
/**
|
|
69979
|
+
* BROWSER_REVOKED
|
|
69980
|
+
*/
|
|
69981
|
+
410: BrowserError;
|
|
69462
69982
|
/**
|
|
69463
69983
|
* ACTION_RESULT_TOO_LARGE
|
|
69464
69984
|
*/
|
|
@@ -69480,7 +70000,7 @@ export type BrowserRunPageActionErrors = {
|
|
|
69480
70000
|
*/
|
|
69481
70001
|
502: BrowserError;
|
|
69482
70002
|
/**
|
|
69483
|
-
* SERVICE_UNAVAILABLE
|
|
70003
|
+
* BROWSER_OFFLINE / SERVICE_UNAVAILABLE
|
|
69484
70004
|
*/
|
|
69485
70005
|
503: BrowserError;
|
|
69486
70006
|
/**
|
|
@@ -69666,17 +70186,21 @@ export type BrowserRequestHandoffErrors = {
|
|
|
69666
70186
|
*/
|
|
69667
70187
|
402: BrowserError;
|
|
69668
70188
|
/**
|
|
69669
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70189
|
+
* PERMISSION_DENIED / BROWSER_NOT_GRANTED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69670
70190
|
*/
|
|
69671
70191
|
403: BrowserError;
|
|
69672
70192
|
/**
|
|
69673
|
-
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
70193
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PAIRING_NOT_FOUND / BROWSER_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
69674
70194
|
*/
|
|
69675
70195
|
404: BrowserError;
|
|
69676
70196
|
/**
|
|
69677
|
-
* SESSION_ENDED / SESSION_INVALID_STATE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
70197
|
+
* SESSION_ENDED / SESSION_INVALID_STATE / SESSION_NAME_IN_USE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
69678
70198
|
*/
|
|
69679
70199
|
409: BrowserError;
|
|
70200
|
+
/**
|
|
70201
|
+
* BROWSER_REVOKED
|
|
70202
|
+
*/
|
|
70203
|
+
410: BrowserError;
|
|
69680
70204
|
/**
|
|
69681
70205
|
* ACTION_RESULT_TOO_LARGE
|
|
69682
70206
|
*/
|
|
@@ -69698,7 +70222,7 @@ export type BrowserRequestHandoffErrors = {
|
|
|
69698
70222
|
*/
|
|
69699
70223
|
502: BrowserError;
|
|
69700
70224
|
/**
|
|
69701
|
-
* SERVICE_UNAVAILABLE
|
|
70225
|
+
* BROWSER_OFFLINE / SERVICE_UNAVAILABLE
|
|
69702
70226
|
*/
|
|
69703
70227
|
503: BrowserError;
|
|
69704
70228
|
/**
|
|
@@ -69739,17 +70263,21 @@ export type BrowserCompleteHandoffErrors = {
|
|
|
69739
70263
|
*/
|
|
69740
70264
|
402: BrowserError;
|
|
69741
70265
|
/**
|
|
69742
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70266
|
+
* PERMISSION_DENIED / BROWSER_NOT_GRANTED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69743
70267
|
*/
|
|
69744
70268
|
403: BrowserError;
|
|
69745
70269
|
/**
|
|
69746
|
-
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
70270
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PAIRING_NOT_FOUND / BROWSER_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
69747
70271
|
*/
|
|
69748
70272
|
404: BrowserError;
|
|
69749
70273
|
/**
|
|
69750
|
-
* SESSION_ENDED / SESSION_INVALID_STATE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
70274
|
+
* SESSION_ENDED / SESSION_INVALID_STATE / SESSION_NAME_IN_USE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
69751
70275
|
*/
|
|
69752
70276
|
409: BrowserError;
|
|
70277
|
+
/**
|
|
70278
|
+
* BROWSER_REVOKED
|
|
70279
|
+
*/
|
|
70280
|
+
410: BrowserError;
|
|
69753
70281
|
/**
|
|
69754
70282
|
* ACTION_RESULT_TOO_LARGE
|
|
69755
70283
|
*/
|
|
@@ -69771,7 +70299,7 @@ export type BrowserCompleteHandoffErrors = {
|
|
|
69771
70299
|
*/
|
|
69772
70300
|
502: BrowserError;
|
|
69773
70301
|
/**
|
|
69774
|
-
* SERVICE_UNAVAILABLE
|
|
70302
|
+
* BROWSER_OFFLINE / SERVICE_UNAVAILABLE
|
|
69775
70303
|
*/
|
|
69776
70304
|
503: BrowserError;
|
|
69777
70305
|
/**
|
|
@@ -69821,268 +70349,21 @@ export type BrowserViewerHeartbeatErrors = {
|
|
|
69821
70349
|
*/
|
|
69822
70350
|
402: BrowserError;
|
|
69823
70351
|
/**
|
|
69824
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69825
|
-
*/
|
|
69826
|
-
403: BrowserError;
|
|
69827
|
-
/**
|
|
69828
|
-
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
69829
|
-
*/
|
|
69830
|
-
404: BrowserError;
|
|
69831
|
-
/**
|
|
69832
|
-
* SESSION_ENDED / SESSION_INVALID_STATE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
69833
|
-
*/
|
|
69834
|
-
409: BrowserError;
|
|
69835
|
-
/**
|
|
69836
|
-
* ACTION_RESULT_TOO_LARGE
|
|
69837
|
-
*/
|
|
69838
|
-
413: BrowserError;
|
|
69839
|
-
/**
|
|
69840
|
-
* CONCURRENCY_LIMIT / RATE_LIMITED / PROVIDER_CAPACITY
|
|
69841
|
-
*/
|
|
69842
|
-
429: BrowserError;
|
|
69843
|
-
/**
|
|
69844
|
-
* INTERNAL
|
|
69845
|
-
*/
|
|
69846
|
-
500: BrowserError;
|
|
69847
|
-
/**
|
|
69848
|
-
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
69849
|
-
*/
|
|
69850
|
-
501: BrowserError;
|
|
69851
|
-
/**
|
|
69852
|
-
* PROVIDER_FAILED
|
|
69853
|
-
*/
|
|
69854
|
-
502: BrowserError;
|
|
69855
|
-
/**
|
|
69856
|
-
* SERVICE_UNAVAILABLE
|
|
69857
|
-
*/
|
|
69858
|
-
503: BrowserError;
|
|
69859
|
-
/**
|
|
69860
|
-
* ACTION_TIMEOUT
|
|
69861
|
-
*/
|
|
69862
|
-
504: BrowserError;
|
|
69863
|
-
};
|
|
69864
|
-
export type BrowserViewerHeartbeatError = BrowserViewerHeartbeatErrors[keyof BrowserViewerHeartbeatErrors];
|
|
69865
|
-
export type BrowserViewerHeartbeatResponses = {
|
|
69866
|
-
/**
|
|
69867
|
-
* 请求成功。
|
|
69868
|
-
*/
|
|
69869
|
-
200: {
|
|
69870
|
-
/**
|
|
69871
|
-
* 心跳已被接受,成功时固定返回 true。
|
|
69872
|
-
*/
|
|
69873
|
-
ok: true;
|
|
69874
|
-
};
|
|
69875
|
-
};
|
|
69876
|
-
export type BrowserViewerHeartbeatResponse = BrowserViewerHeartbeatResponses[keyof BrowserViewerHeartbeatResponses];
|
|
69877
|
-
export type BrowserGetSessionFrameData = {
|
|
69878
|
-
body?: never;
|
|
69879
|
-
path: {
|
|
69880
|
-
/**
|
|
69881
|
-
* 浏览器会话 ID;使用创建或列出会话返回的 id,以 bss_ 开头。
|
|
69882
|
-
*/
|
|
69883
|
-
sessionId: string;
|
|
69884
|
-
};
|
|
69885
|
-
query?: never;
|
|
69886
|
-
url: '/browser/v1/sessions/{sessionId}/frame';
|
|
69887
|
-
};
|
|
69888
|
-
export type BrowserGetSessionFrameErrors = {
|
|
69889
|
-
/**
|
|
69890
|
-
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
69891
|
-
*/
|
|
69892
|
-
400: BrowserError;
|
|
69893
|
-
/**
|
|
69894
|
-
* UNAUTHENTICATED / CONNECT_SIGNATURE_INVALID
|
|
69895
|
-
*/
|
|
69896
|
-
401: BrowserError;
|
|
69897
|
-
/**
|
|
69898
|
-
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
69899
|
-
*/
|
|
69900
|
-
402: BrowserError;
|
|
69901
|
-
/**
|
|
69902
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
69903
|
-
*/
|
|
69904
|
-
403: BrowserError;
|
|
69905
|
-
/**
|
|
69906
|
-
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
69907
|
-
*/
|
|
69908
|
-
404: BrowserError;
|
|
69909
|
-
/**
|
|
69910
|
-
* SESSION_ENDED / SESSION_INVALID_STATE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
69911
|
-
*/
|
|
69912
|
-
409: BrowserError;
|
|
69913
|
-
/**
|
|
69914
|
-
* ACTION_RESULT_TOO_LARGE
|
|
69915
|
-
*/
|
|
69916
|
-
413: BrowserError;
|
|
69917
|
-
/**
|
|
69918
|
-
* CONCURRENCY_LIMIT / RATE_LIMITED / PROVIDER_CAPACITY
|
|
69919
|
-
*/
|
|
69920
|
-
429: BrowserError;
|
|
69921
|
-
/**
|
|
69922
|
-
* INTERNAL
|
|
69923
|
-
*/
|
|
69924
|
-
500: BrowserError;
|
|
69925
|
-
/**
|
|
69926
|
-
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
69927
|
-
*/
|
|
69928
|
-
501: BrowserError;
|
|
69929
|
-
/**
|
|
69930
|
-
* PROVIDER_FAILED
|
|
69931
|
-
*/
|
|
69932
|
-
502: BrowserError;
|
|
69933
|
-
/**
|
|
69934
|
-
* SERVICE_UNAVAILABLE
|
|
69935
|
-
*/
|
|
69936
|
-
503: BrowserError;
|
|
69937
|
-
/**
|
|
69938
|
-
* ACTION_TIMEOUT
|
|
69939
|
-
*/
|
|
69940
|
-
504: BrowserError;
|
|
69941
|
-
};
|
|
69942
|
-
export type BrowserGetSessionFrameError = BrowserGetSessionFrameErrors[keyof BrowserGetSessionFrameErrors];
|
|
69943
|
-
export type BrowserGetSessionFrameResponses = {
|
|
69944
|
-
/**
|
|
69945
|
-
* JPEG 画面帧,最多 2 MiB。
|
|
69946
|
-
*/
|
|
69947
|
-
200: Blob | File;
|
|
69948
|
-
};
|
|
69949
|
-
export type BrowserGetSessionFrameResponse = BrowserGetSessionFrameResponses[keyof BrowserGetSessionFrameResponses];
|
|
69950
|
-
export type BrowserListContextsData = {
|
|
69951
|
-
body?: never;
|
|
69952
|
-
path?: never;
|
|
69953
|
-
query?: {
|
|
69954
|
-
/**
|
|
69955
|
-
* 按登录态名称精确匹配;名称在当前账户内唯一,所以最多返回一条。省略时列出全部登录态。
|
|
69956
|
-
*/
|
|
69957
|
-
name?: string;
|
|
69958
|
-
/**
|
|
69959
|
-
* 登录态 ID;使用创建或列出登录态返回的 id,以 bsc_ 开头。
|
|
69960
|
-
*/
|
|
69961
|
-
cursor?: string;
|
|
69962
|
-
/**
|
|
69963
|
-
* 每页最多返回的登录态数量;默认 25,范围 1–100。
|
|
69964
|
-
*/
|
|
69965
|
-
limit?: number;
|
|
69966
|
-
};
|
|
69967
|
-
url: '/browser/v1/contexts';
|
|
69968
|
-
};
|
|
69969
|
-
export type BrowserListContextsErrors = {
|
|
69970
|
-
/**
|
|
69971
|
-
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
69972
|
-
*/
|
|
69973
|
-
400: BrowserError;
|
|
69974
|
-
/**
|
|
69975
|
-
* UNAUTHENTICATED / CONNECT_SIGNATURE_INVALID
|
|
69976
|
-
*/
|
|
69977
|
-
401: BrowserError;
|
|
69978
|
-
/**
|
|
69979
|
-
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
69980
|
-
*/
|
|
69981
|
-
402: BrowserError;
|
|
69982
|
-
/**
|
|
69983
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70352
|
+
* PERMISSION_DENIED / BROWSER_NOT_GRANTED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69984
70353
|
*/
|
|
69985
70354
|
403: BrowserError;
|
|
69986
70355
|
/**
|
|
69987
|
-
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
70356
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PAIRING_NOT_FOUND / BROWSER_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
69988
70357
|
*/
|
|
69989
70358
|
404: BrowserError;
|
|
69990
70359
|
/**
|
|
69991
|
-
* SESSION_ENDED / SESSION_INVALID_STATE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
70360
|
+
* SESSION_ENDED / SESSION_INVALID_STATE / SESSION_NAME_IN_USE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
69992
70361
|
*/
|
|
69993
70362
|
409: BrowserError;
|
|
69994
70363
|
/**
|
|
69995
|
-
*
|
|
69996
|
-
*/
|
|
69997
|
-
413: BrowserError;
|
|
69998
|
-
/**
|
|
69999
|
-
* CONCURRENCY_LIMIT / RATE_LIMITED / PROVIDER_CAPACITY
|
|
70000
|
-
*/
|
|
70001
|
-
429: BrowserError;
|
|
70002
|
-
/**
|
|
70003
|
-
* INTERNAL
|
|
70004
|
-
*/
|
|
70005
|
-
500: BrowserError;
|
|
70006
|
-
/**
|
|
70007
|
-
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
70008
|
-
*/
|
|
70009
|
-
501: BrowserError;
|
|
70010
|
-
/**
|
|
70011
|
-
* PROVIDER_FAILED
|
|
70012
|
-
*/
|
|
70013
|
-
502: BrowserError;
|
|
70014
|
-
/**
|
|
70015
|
-
* SERVICE_UNAVAILABLE
|
|
70016
|
-
*/
|
|
70017
|
-
503: BrowserError;
|
|
70018
|
-
/**
|
|
70019
|
-
* ACTION_TIMEOUT
|
|
70364
|
+
* BROWSER_REVOKED
|
|
70020
70365
|
*/
|
|
70021
|
-
|
|
70022
|
-
};
|
|
70023
|
-
export type BrowserListContextsError = BrowserListContextsErrors[keyof BrowserListContextsErrors];
|
|
70024
|
-
export type BrowserListContextsResponses = {
|
|
70025
|
-
/**
|
|
70026
|
-
* 分页查询结果,包含本页记录和下一页游标。
|
|
70027
|
-
*/
|
|
70028
|
-
200: {
|
|
70029
|
-
/**
|
|
70030
|
-
* 本页查询匹配的记录;没有匹配项时为空数组。
|
|
70031
|
-
*/
|
|
70032
|
-
data: Array<BrowserContext>;
|
|
70033
|
-
/**
|
|
70034
|
-
* 下一页游标;原样传入 cursor,null 表示没有更多结果。
|
|
70035
|
-
*/
|
|
70036
|
-
nextCursor: string | null;
|
|
70037
|
-
};
|
|
70038
|
-
};
|
|
70039
|
-
export type BrowserListContextsResponse = BrowserListContextsResponses[keyof BrowserListContextsResponses];
|
|
70040
|
-
export type BrowserCreateContextData = {
|
|
70041
|
-
body: {
|
|
70042
|
-
/**
|
|
70043
|
-
* 兼容项目字段;传入值被忽略,创建结果的 projectId 固定为 default。
|
|
70044
|
-
*/
|
|
70045
|
-
projectId?: string;
|
|
70046
|
-
/**
|
|
70047
|
-
* 登录态名称;非空时为 1–128 个 ASCII 字母、数字或 . _ : -,在当前账户内唯一;空字符串表示不设名称或清除名称。
|
|
70048
|
-
*/
|
|
70049
|
-
name?: '' | unknown;
|
|
70050
|
-
/**
|
|
70051
|
-
* 自定义字符串标签;最多 32 项,键最多 128 个 UTF-8 字节,值最多 1024 个 UTF-8 字节。
|
|
70052
|
-
*/
|
|
70053
|
-
labels?: {
|
|
70054
|
-
[key: string]: string;
|
|
70055
|
-
};
|
|
70056
|
-
};
|
|
70057
|
-
path?: never;
|
|
70058
|
-
query?: never;
|
|
70059
|
-
url: '/browser/v1/contexts';
|
|
70060
|
-
};
|
|
70061
|
-
export type BrowserCreateContextErrors = {
|
|
70062
|
-
/**
|
|
70063
|
-
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
70064
|
-
*/
|
|
70065
|
-
400: BrowserError;
|
|
70066
|
-
/**
|
|
70067
|
-
* UNAUTHENTICATED / CONNECT_SIGNATURE_INVALID
|
|
70068
|
-
*/
|
|
70069
|
-
401: BrowserError;
|
|
70070
|
-
/**
|
|
70071
|
-
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
70072
|
-
*/
|
|
70073
|
-
402: BrowserError;
|
|
70074
|
-
/**
|
|
70075
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70076
|
-
*/
|
|
70077
|
-
403: BrowserError;
|
|
70078
|
-
/**
|
|
70079
|
-
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
70080
|
-
*/
|
|
70081
|
-
404: BrowserError;
|
|
70082
|
-
/**
|
|
70083
|
-
* SESSION_ENDED / SESSION_INVALID_STATE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
70084
|
-
*/
|
|
70085
|
-
409: BrowserError;
|
|
70366
|
+
410: BrowserError;
|
|
70086
70367
|
/**
|
|
70087
70368
|
* ACTION_RESULT_TOO_LARGE
|
|
70088
70369
|
*/
|
|
@@ -70104,7 +70385,270 @@ export type BrowserCreateContextErrors = {
|
|
|
70104
70385
|
*/
|
|
70105
70386
|
502: BrowserError;
|
|
70106
70387
|
/**
|
|
70107
|
-
* SERVICE_UNAVAILABLE
|
|
70388
|
+
* BROWSER_OFFLINE / SERVICE_UNAVAILABLE
|
|
70389
|
+
*/
|
|
70390
|
+
503: BrowserError;
|
|
70391
|
+
/**
|
|
70392
|
+
* ACTION_TIMEOUT
|
|
70393
|
+
*/
|
|
70394
|
+
504: BrowserError;
|
|
70395
|
+
};
|
|
70396
|
+
export type BrowserViewerHeartbeatError = BrowserViewerHeartbeatErrors[keyof BrowserViewerHeartbeatErrors];
|
|
70397
|
+
export type BrowserViewerHeartbeatResponses = {
|
|
70398
|
+
/**
|
|
70399
|
+
* 请求成功。
|
|
70400
|
+
*/
|
|
70401
|
+
200: {
|
|
70402
|
+
/**
|
|
70403
|
+
* 心跳已被接受,成功时固定返回 true。
|
|
70404
|
+
*/
|
|
70405
|
+
ok: true;
|
|
70406
|
+
};
|
|
70407
|
+
};
|
|
70408
|
+
export type BrowserViewerHeartbeatResponse = BrowserViewerHeartbeatResponses[keyof BrowserViewerHeartbeatResponses];
|
|
70409
|
+
export type BrowserGetSessionFrameData = {
|
|
70410
|
+
body?: never;
|
|
70411
|
+
path: {
|
|
70412
|
+
/**
|
|
70413
|
+
* 浏览器会话 ID;使用创建或列出会话返回的 id,以 bss_ 开头。
|
|
70414
|
+
*/
|
|
70415
|
+
sessionId: string;
|
|
70416
|
+
};
|
|
70417
|
+
query?: never;
|
|
70418
|
+
url: '/browser/v1/sessions/{sessionId}/frame';
|
|
70419
|
+
};
|
|
70420
|
+
export type BrowserGetSessionFrameErrors = {
|
|
70421
|
+
/**
|
|
70422
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
70423
|
+
*/
|
|
70424
|
+
400: BrowserError;
|
|
70425
|
+
/**
|
|
70426
|
+
* UNAUTHENTICATED / CONNECT_SIGNATURE_INVALID
|
|
70427
|
+
*/
|
|
70428
|
+
401: BrowserError;
|
|
70429
|
+
/**
|
|
70430
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
70431
|
+
*/
|
|
70432
|
+
402: BrowserError;
|
|
70433
|
+
/**
|
|
70434
|
+
* PERMISSION_DENIED / BROWSER_NOT_GRANTED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70435
|
+
*/
|
|
70436
|
+
403: BrowserError;
|
|
70437
|
+
/**
|
|
70438
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PAIRING_NOT_FOUND / BROWSER_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
70439
|
+
*/
|
|
70440
|
+
404: BrowserError;
|
|
70441
|
+
/**
|
|
70442
|
+
* SESSION_ENDED / SESSION_INVALID_STATE / SESSION_NAME_IN_USE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
70443
|
+
*/
|
|
70444
|
+
409: BrowserError;
|
|
70445
|
+
/**
|
|
70446
|
+
* BROWSER_REVOKED
|
|
70447
|
+
*/
|
|
70448
|
+
410: BrowserError;
|
|
70449
|
+
/**
|
|
70450
|
+
* ACTION_RESULT_TOO_LARGE
|
|
70451
|
+
*/
|
|
70452
|
+
413: BrowserError;
|
|
70453
|
+
/**
|
|
70454
|
+
* CONCURRENCY_LIMIT / RATE_LIMITED / PROVIDER_CAPACITY
|
|
70455
|
+
*/
|
|
70456
|
+
429: BrowserError;
|
|
70457
|
+
/**
|
|
70458
|
+
* INTERNAL
|
|
70459
|
+
*/
|
|
70460
|
+
500: BrowserError;
|
|
70461
|
+
/**
|
|
70462
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
70463
|
+
*/
|
|
70464
|
+
501: BrowserError;
|
|
70465
|
+
/**
|
|
70466
|
+
* PROVIDER_FAILED
|
|
70467
|
+
*/
|
|
70468
|
+
502: BrowserError;
|
|
70469
|
+
/**
|
|
70470
|
+
* BROWSER_OFFLINE / SERVICE_UNAVAILABLE
|
|
70471
|
+
*/
|
|
70472
|
+
503: BrowserError;
|
|
70473
|
+
/**
|
|
70474
|
+
* ACTION_TIMEOUT
|
|
70475
|
+
*/
|
|
70476
|
+
504: BrowserError;
|
|
70477
|
+
};
|
|
70478
|
+
export type BrowserGetSessionFrameError = BrowserGetSessionFrameErrors[keyof BrowserGetSessionFrameErrors];
|
|
70479
|
+
export type BrowserGetSessionFrameResponses = {
|
|
70480
|
+
/**
|
|
70481
|
+
* JPEG 画面帧,最多 2 MiB。
|
|
70482
|
+
*/
|
|
70483
|
+
200: Blob | File;
|
|
70484
|
+
};
|
|
70485
|
+
export type BrowserGetSessionFrameResponse = BrowserGetSessionFrameResponses[keyof BrowserGetSessionFrameResponses];
|
|
70486
|
+
export type BrowserListContextsData = {
|
|
70487
|
+
body?: never;
|
|
70488
|
+
path?: never;
|
|
70489
|
+
query?: {
|
|
70490
|
+
/**
|
|
70491
|
+
* 按登录态名称精确匹配;名称在当前账户内唯一,所以最多返回一条。省略时列出全部登录态。
|
|
70492
|
+
*/
|
|
70493
|
+
name?: string;
|
|
70494
|
+
/**
|
|
70495
|
+
* 登录态 ID;使用创建或列出登录态返回的 id,以 bsc_ 开头。
|
|
70496
|
+
*/
|
|
70497
|
+
cursor?: string;
|
|
70498
|
+
/**
|
|
70499
|
+
* 每页最多返回的登录态数量;默认 25,范围 1–100。
|
|
70500
|
+
*/
|
|
70501
|
+
limit?: number;
|
|
70502
|
+
};
|
|
70503
|
+
url: '/browser/v1/contexts';
|
|
70504
|
+
};
|
|
70505
|
+
export type BrowserListContextsErrors = {
|
|
70506
|
+
/**
|
|
70507
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
70508
|
+
*/
|
|
70509
|
+
400: BrowserError;
|
|
70510
|
+
/**
|
|
70511
|
+
* UNAUTHENTICATED / CONNECT_SIGNATURE_INVALID
|
|
70512
|
+
*/
|
|
70513
|
+
401: BrowserError;
|
|
70514
|
+
/**
|
|
70515
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
70516
|
+
*/
|
|
70517
|
+
402: BrowserError;
|
|
70518
|
+
/**
|
|
70519
|
+
* PERMISSION_DENIED / BROWSER_NOT_GRANTED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70520
|
+
*/
|
|
70521
|
+
403: BrowserError;
|
|
70522
|
+
/**
|
|
70523
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PAIRING_NOT_FOUND / BROWSER_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
70524
|
+
*/
|
|
70525
|
+
404: BrowserError;
|
|
70526
|
+
/**
|
|
70527
|
+
* SESSION_ENDED / SESSION_INVALID_STATE / SESSION_NAME_IN_USE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
70528
|
+
*/
|
|
70529
|
+
409: BrowserError;
|
|
70530
|
+
/**
|
|
70531
|
+
* BROWSER_REVOKED
|
|
70532
|
+
*/
|
|
70533
|
+
410: BrowserError;
|
|
70534
|
+
/**
|
|
70535
|
+
* ACTION_RESULT_TOO_LARGE
|
|
70536
|
+
*/
|
|
70537
|
+
413: BrowserError;
|
|
70538
|
+
/**
|
|
70539
|
+
* CONCURRENCY_LIMIT / RATE_LIMITED / PROVIDER_CAPACITY
|
|
70540
|
+
*/
|
|
70541
|
+
429: BrowserError;
|
|
70542
|
+
/**
|
|
70543
|
+
* INTERNAL
|
|
70544
|
+
*/
|
|
70545
|
+
500: BrowserError;
|
|
70546
|
+
/**
|
|
70547
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
70548
|
+
*/
|
|
70549
|
+
501: BrowserError;
|
|
70550
|
+
/**
|
|
70551
|
+
* PROVIDER_FAILED
|
|
70552
|
+
*/
|
|
70553
|
+
502: BrowserError;
|
|
70554
|
+
/**
|
|
70555
|
+
* BROWSER_OFFLINE / SERVICE_UNAVAILABLE
|
|
70556
|
+
*/
|
|
70557
|
+
503: BrowserError;
|
|
70558
|
+
/**
|
|
70559
|
+
* ACTION_TIMEOUT
|
|
70560
|
+
*/
|
|
70561
|
+
504: BrowserError;
|
|
70562
|
+
};
|
|
70563
|
+
export type BrowserListContextsError = BrowserListContextsErrors[keyof BrowserListContextsErrors];
|
|
70564
|
+
export type BrowserListContextsResponses = {
|
|
70565
|
+
/**
|
|
70566
|
+
* 分页查询结果,包含本页记录和下一页游标。
|
|
70567
|
+
*/
|
|
70568
|
+
200: {
|
|
70569
|
+
/**
|
|
70570
|
+
* 本页查询匹配的记录;没有匹配项时为空数组。
|
|
70571
|
+
*/
|
|
70572
|
+
data: Array<BrowserContext>;
|
|
70573
|
+
/**
|
|
70574
|
+
* 下一页游标;原样传入 cursor,null 表示没有更多结果。
|
|
70575
|
+
*/
|
|
70576
|
+
nextCursor: string | null;
|
|
70577
|
+
};
|
|
70578
|
+
};
|
|
70579
|
+
export type BrowserListContextsResponse = BrowserListContextsResponses[keyof BrowserListContextsResponses];
|
|
70580
|
+
export type BrowserCreateContextData = {
|
|
70581
|
+
body: {
|
|
70582
|
+
/**
|
|
70583
|
+
* 兼容项目字段;传入值被忽略,创建结果的 projectId 固定为 default。
|
|
70584
|
+
*/
|
|
70585
|
+
projectId?: string;
|
|
70586
|
+
/**
|
|
70587
|
+
* 登录态名称;非空时为 1–128 个 ASCII 字母、数字或 . _ : -,在当前账户内唯一;空字符串表示不设名称或清除名称。
|
|
70588
|
+
*/
|
|
70589
|
+
name?: '' | unknown;
|
|
70590
|
+
/**
|
|
70591
|
+
* 自定义字符串标签;最多 32 项,键最多 128 个 UTF-8 字节,值最多 1024 个 UTF-8 字节。
|
|
70592
|
+
*/
|
|
70593
|
+
labels?: {
|
|
70594
|
+
[key: string]: string;
|
|
70595
|
+
};
|
|
70596
|
+
};
|
|
70597
|
+
path?: never;
|
|
70598
|
+
query?: never;
|
|
70599
|
+
url: '/browser/v1/contexts';
|
|
70600
|
+
};
|
|
70601
|
+
export type BrowserCreateContextErrors = {
|
|
70602
|
+
/**
|
|
70603
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
70604
|
+
*/
|
|
70605
|
+
400: BrowserError;
|
|
70606
|
+
/**
|
|
70607
|
+
* UNAUTHENTICATED / CONNECT_SIGNATURE_INVALID
|
|
70608
|
+
*/
|
|
70609
|
+
401: BrowserError;
|
|
70610
|
+
/**
|
|
70611
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
70612
|
+
*/
|
|
70613
|
+
402: BrowserError;
|
|
70614
|
+
/**
|
|
70615
|
+
* PERMISSION_DENIED / BROWSER_NOT_GRANTED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70616
|
+
*/
|
|
70617
|
+
403: BrowserError;
|
|
70618
|
+
/**
|
|
70619
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PAIRING_NOT_FOUND / BROWSER_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
70620
|
+
*/
|
|
70621
|
+
404: BrowserError;
|
|
70622
|
+
/**
|
|
70623
|
+
* SESSION_ENDED / SESSION_INVALID_STATE / SESSION_NAME_IN_USE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
70624
|
+
*/
|
|
70625
|
+
409: BrowserError;
|
|
70626
|
+
/**
|
|
70627
|
+
* BROWSER_REVOKED
|
|
70628
|
+
*/
|
|
70629
|
+
410: BrowserError;
|
|
70630
|
+
/**
|
|
70631
|
+
* ACTION_RESULT_TOO_LARGE
|
|
70632
|
+
*/
|
|
70633
|
+
413: BrowserError;
|
|
70634
|
+
/**
|
|
70635
|
+
* CONCURRENCY_LIMIT / RATE_LIMITED / PROVIDER_CAPACITY
|
|
70636
|
+
*/
|
|
70637
|
+
429: BrowserError;
|
|
70638
|
+
/**
|
|
70639
|
+
* INTERNAL
|
|
70640
|
+
*/
|
|
70641
|
+
500: BrowserError;
|
|
70642
|
+
/**
|
|
70643
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
70644
|
+
*/
|
|
70645
|
+
501: BrowserError;
|
|
70646
|
+
/**
|
|
70647
|
+
* PROVIDER_FAILED
|
|
70648
|
+
*/
|
|
70649
|
+
502: BrowserError;
|
|
70650
|
+
/**
|
|
70651
|
+
* BROWSER_OFFLINE / SERVICE_UNAVAILABLE
|
|
70108
70652
|
*/
|
|
70109
70653
|
503: BrowserError;
|
|
70110
70654
|
/**
|
|
@@ -70145,17 +70689,21 @@ export type BrowserDeleteContextErrors = {
|
|
|
70145
70689
|
*/
|
|
70146
70690
|
402: BrowserError;
|
|
70147
70691
|
/**
|
|
70148
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70692
|
+
* PERMISSION_DENIED / BROWSER_NOT_GRANTED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70149
70693
|
*/
|
|
70150
70694
|
403: BrowserError;
|
|
70151
70695
|
/**
|
|
70152
|
-
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
70696
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PAIRING_NOT_FOUND / BROWSER_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
70153
70697
|
*/
|
|
70154
70698
|
404: BrowserError;
|
|
70155
70699
|
/**
|
|
70156
|
-
* SESSION_ENDED / SESSION_INVALID_STATE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
70700
|
+
* SESSION_ENDED / SESSION_INVALID_STATE / SESSION_NAME_IN_USE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
70157
70701
|
*/
|
|
70158
70702
|
409: BrowserError;
|
|
70703
|
+
/**
|
|
70704
|
+
* BROWSER_REVOKED
|
|
70705
|
+
*/
|
|
70706
|
+
410: BrowserError;
|
|
70159
70707
|
/**
|
|
70160
70708
|
* ACTION_RESULT_TOO_LARGE
|
|
70161
70709
|
*/
|
|
@@ -70177,7 +70725,7 @@ export type BrowserDeleteContextErrors = {
|
|
|
70177
70725
|
*/
|
|
70178
70726
|
502: BrowserError;
|
|
70179
70727
|
/**
|
|
70180
|
-
* SERVICE_UNAVAILABLE
|
|
70728
|
+
* BROWSER_OFFLINE / SERVICE_UNAVAILABLE
|
|
70181
70729
|
*/
|
|
70182
70730
|
503: BrowserError;
|
|
70183
70731
|
/**
|
|
@@ -70223,101 +70771,669 @@ export type BrowserGetContextErrors = {
|
|
|
70223
70771
|
*/
|
|
70224
70772
|
402: BrowserError;
|
|
70225
70773
|
/**
|
|
70226
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70774
|
+
* PERMISSION_DENIED / BROWSER_NOT_GRANTED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70775
|
+
*/
|
|
70776
|
+
403: BrowserError;
|
|
70777
|
+
/**
|
|
70778
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PAIRING_NOT_FOUND / BROWSER_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
70779
|
+
*/
|
|
70780
|
+
404: BrowserError;
|
|
70781
|
+
/**
|
|
70782
|
+
* SESSION_ENDED / SESSION_INVALID_STATE / SESSION_NAME_IN_USE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
70783
|
+
*/
|
|
70784
|
+
409: BrowserError;
|
|
70785
|
+
/**
|
|
70786
|
+
* BROWSER_REVOKED
|
|
70787
|
+
*/
|
|
70788
|
+
410: BrowserError;
|
|
70789
|
+
/**
|
|
70790
|
+
* ACTION_RESULT_TOO_LARGE
|
|
70791
|
+
*/
|
|
70792
|
+
413: BrowserError;
|
|
70793
|
+
/**
|
|
70794
|
+
* CONCURRENCY_LIMIT / RATE_LIMITED / PROVIDER_CAPACITY
|
|
70795
|
+
*/
|
|
70796
|
+
429: BrowserError;
|
|
70797
|
+
/**
|
|
70798
|
+
* INTERNAL
|
|
70799
|
+
*/
|
|
70800
|
+
500: BrowserError;
|
|
70801
|
+
/**
|
|
70802
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
70803
|
+
*/
|
|
70804
|
+
501: BrowserError;
|
|
70805
|
+
/**
|
|
70806
|
+
* PROVIDER_FAILED
|
|
70807
|
+
*/
|
|
70808
|
+
502: BrowserError;
|
|
70809
|
+
/**
|
|
70810
|
+
* BROWSER_OFFLINE / SERVICE_UNAVAILABLE
|
|
70811
|
+
*/
|
|
70812
|
+
503: BrowserError;
|
|
70813
|
+
/**
|
|
70814
|
+
* ACTION_TIMEOUT
|
|
70815
|
+
*/
|
|
70816
|
+
504: BrowserError;
|
|
70817
|
+
};
|
|
70818
|
+
export type BrowserGetContextError = BrowserGetContextErrors[keyof BrowserGetContextErrors];
|
|
70819
|
+
export type BrowserGetContextResponses = {
|
|
70820
|
+
/**
|
|
70821
|
+
* 请求成功。
|
|
70822
|
+
*/
|
|
70823
|
+
200: BrowserContext;
|
|
70824
|
+
};
|
|
70825
|
+
export type BrowserGetContextResponse = BrowserGetContextResponses[keyof BrowserGetContextResponses];
|
|
70826
|
+
export type BrowserUpdateContextData = {
|
|
70827
|
+
body: {
|
|
70828
|
+
/**
|
|
70829
|
+
* 登录态名称;非空时为 1–128 个 ASCII 字母、数字或 . _ : -,在当前账户内唯一;空字符串表示不设名称或清除名称。
|
|
70830
|
+
*/
|
|
70831
|
+
name?: '' | unknown;
|
|
70832
|
+
/**
|
|
70833
|
+
* 自定义字符串标签;最多 32 项,键最多 128 个 UTF-8 字节,值最多 1024 个 UTF-8 字节。 更新时整体替换;空对象清除标签,省略则保留。
|
|
70834
|
+
*/
|
|
70835
|
+
labels?: {
|
|
70836
|
+
[key: string]: string;
|
|
70837
|
+
};
|
|
70838
|
+
};
|
|
70839
|
+
path: {
|
|
70840
|
+
/**
|
|
70841
|
+
* 登录态 ID;使用创建或列出登录态返回的 id,以 bsc_ 开头。
|
|
70842
|
+
*/
|
|
70843
|
+
contextId: string;
|
|
70844
|
+
};
|
|
70845
|
+
query?: never;
|
|
70846
|
+
url: '/browser/v1/contexts/{contextId}';
|
|
70847
|
+
};
|
|
70848
|
+
export type BrowserUpdateContextErrors = {
|
|
70849
|
+
/**
|
|
70850
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
70851
|
+
*/
|
|
70852
|
+
400: BrowserError;
|
|
70853
|
+
/**
|
|
70854
|
+
* UNAUTHENTICATED / CONNECT_SIGNATURE_INVALID
|
|
70855
|
+
*/
|
|
70856
|
+
401: BrowserError;
|
|
70857
|
+
/**
|
|
70858
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
70859
|
+
*/
|
|
70860
|
+
402: BrowserError;
|
|
70861
|
+
/**
|
|
70862
|
+
* PERMISSION_DENIED / BROWSER_NOT_GRANTED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70863
|
+
*/
|
|
70864
|
+
403: BrowserError;
|
|
70865
|
+
/**
|
|
70866
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PAIRING_NOT_FOUND / BROWSER_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
70867
|
+
*/
|
|
70868
|
+
404: BrowserError;
|
|
70869
|
+
/**
|
|
70870
|
+
* SESSION_ENDED / SESSION_INVALID_STATE / SESSION_NAME_IN_USE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
70871
|
+
*/
|
|
70872
|
+
409: BrowserError;
|
|
70873
|
+
/**
|
|
70874
|
+
* BROWSER_REVOKED
|
|
70875
|
+
*/
|
|
70876
|
+
410: BrowserError;
|
|
70877
|
+
/**
|
|
70878
|
+
* ACTION_RESULT_TOO_LARGE
|
|
70879
|
+
*/
|
|
70880
|
+
413: BrowserError;
|
|
70881
|
+
/**
|
|
70882
|
+
* CONCURRENCY_LIMIT / RATE_LIMITED / PROVIDER_CAPACITY
|
|
70883
|
+
*/
|
|
70884
|
+
429: BrowserError;
|
|
70885
|
+
/**
|
|
70886
|
+
* INTERNAL
|
|
70887
|
+
*/
|
|
70888
|
+
500: BrowserError;
|
|
70889
|
+
/**
|
|
70890
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
70891
|
+
*/
|
|
70892
|
+
501: BrowserError;
|
|
70893
|
+
/**
|
|
70894
|
+
* PROVIDER_FAILED
|
|
70895
|
+
*/
|
|
70896
|
+
502: BrowserError;
|
|
70897
|
+
/**
|
|
70898
|
+
* BROWSER_OFFLINE / SERVICE_UNAVAILABLE
|
|
70899
|
+
*/
|
|
70900
|
+
503: BrowserError;
|
|
70901
|
+
/**
|
|
70902
|
+
* ACTION_TIMEOUT
|
|
70903
|
+
*/
|
|
70904
|
+
504: BrowserError;
|
|
70905
|
+
};
|
|
70906
|
+
export type BrowserUpdateContextError = BrowserUpdateContextErrors[keyof BrowserUpdateContextErrors];
|
|
70907
|
+
export type BrowserUpdateContextResponses = {
|
|
70908
|
+
/**
|
|
70909
|
+
* 请求成功。
|
|
70910
|
+
*/
|
|
70911
|
+
200: BrowserContext;
|
|
70912
|
+
};
|
|
70913
|
+
export type BrowserUpdateContextResponse = BrowserUpdateContextResponses[keyof BrowserUpdateContextResponses];
|
|
70914
|
+
export type BrowserCreateByobPairingData = {
|
|
70915
|
+
body?: never;
|
|
70916
|
+
path?: never;
|
|
70917
|
+
query?: never;
|
|
70918
|
+
url: '/browser/v1/byob/pairings';
|
|
70919
|
+
};
|
|
70920
|
+
export type BrowserCreateByobPairingErrors = {
|
|
70921
|
+
/**
|
|
70922
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
70923
|
+
*/
|
|
70924
|
+
400: BrowserError;
|
|
70925
|
+
/**
|
|
70926
|
+
* UNAUTHENTICATED / CONNECT_SIGNATURE_INVALID
|
|
70927
|
+
*/
|
|
70928
|
+
401: BrowserError;
|
|
70929
|
+
/**
|
|
70930
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
70931
|
+
*/
|
|
70932
|
+
402: BrowserError;
|
|
70933
|
+
/**
|
|
70934
|
+
* PERMISSION_DENIED / BROWSER_NOT_GRANTED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70935
|
+
*/
|
|
70936
|
+
403: BrowserError;
|
|
70937
|
+
/**
|
|
70938
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PAIRING_NOT_FOUND / BROWSER_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
70939
|
+
*/
|
|
70940
|
+
404: BrowserError;
|
|
70941
|
+
/**
|
|
70942
|
+
* SESSION_ENDED / SESSION_INVALID_STATE / SESSION_NAME_IN_USE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
70943
|
+
*/
|
|
70944
|
+
409: BrowserError;
|
|
70945
|
+
/**
|
|
70946
|
+
* BROWSER_REVOKED
|
|
70947
|
+
*/
|
|
70948
|
+
410: BrowserError;
|
|
70949
|
+
/**
|
|
70950
|
+
* ACTION_RESULT_TOO_LARGE
|
|
70951
|
+
*/
|
|
70952
|
+
413: BrowserError;
|
|
70953
|
+
/**
|
|
70954
|
+
* CONCURRENCY_LIMIT / RATE_LIMITED / PROVIDER_CAPACITY
|
|
70955
|
+
*/
|
|
70956
|
+
429: BrowserError;
|
|
70957
|
+
/**
|
|
70958
|
+
* INTERNAL
|
|
70959
|
+
*/
|
|
70960
|
+
500: BrowserError;
|
|
70961
|
+
/**
|
|
70962
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
70963
|
+
*/
|
|
70964
|
+
501: BrowserError;
|
|
70965
|
+
/**
|
|
70966
|
+
* PROVIDER_FAILED
|
|
70967
|
+
*/
|
|
70968
|
+
502: BrowserError;
|
|
70969
|
+
/**
|
|
70970
|
+
* BROWSER_OFFLINE / SERVICE_UNAVAILABLE
|
|
70971
|
+
*/
|
|
70972
|
+
503: BrowserError;
|
|
70973
|
+
/**
|
|
70974
|
+
* ACTION_TIMEOUT
|
|
70975
|
+
*/
|
|
70976
|
+
504: BrowserError;
|
|
70977
|
+
};
|
|
70978
|
+
export type BrowserCreateByobPairingError = BrowserCreateByobPairingErrors[keyof BrowserCreateByobPairingErrors];
|
|
70979
|
+
export type BrowserCreateByobPairingResponses = {
|
|
70980
|
+
/**
|
|
70981
|
+
* 请求成功。
|
|
70982
|
+
*/
|
|
70983
|
+
201: BrowserByobPairing;
|
|
70984
|
+
};
|
|
70985
|
+
export type BrowserCreateByobPairingResponse = BrowserCreateByobPairingResponses[keyof BrowserCreateByobPairingResponses];
|
|
70986
|
+
export type BrowserListByobBrowsersData = {
|
|
70987
|
+
body?: never;
|
|
70988
|
+
path?: never;
|
|
70989
|
+
query?: {
|
|
70990
|
+
/**
|
|
70991
|
+
* 上一页返回的 nextCursor,原样传入;省略时读取第一页。
|
|
70992
|
+
*/
|
|
70993
|
+
cursor?: string;
|
|
70994
|
+
/**
|
|
70995
|
+
* 每页最多返回的浏览器数量;默认 50,范围 1–100。
|
|
70996
|
+
*/
|
|
70997
|
+
limit?: number;
|
|
70998
|
+
};
|
|
70999
|
+
url: '/browser/v1/byob/browsers';
|
|
71000
|
+
};
|
|
71001
|
+
export type BrowserListByobBrowsersErrors = {
|
|
71002
|
+
/**
|
|
71003
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
71004
|
+
*/
|
|
71005
|
+
400: BrowserError;
|
|
71006
|
+
/**
|
|
71007
|
+
* UNAUTHENTICATED / CONNECT_SIGNATURE_INVALID
|
|
71008
|
+
*/
|
|
71009
|
+
401: BrowserError;
|
|
71010
|
+
/**
|
|
71011
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
71012
|
+
*/
|
|
71013
|
+
402: BrowserError;
|
|
71014
|
+
/**
|
|
71015
|
+
* PERMISSION_DENIED / BROWSER_NOT_GRANTED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71016
|
+
*/
|
|
71017
|
+
403: BrowserError;
|
|
71018
|
+
/**
|
|
71019
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PAIRING_NOT_FOUND / BROWSER_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
71020
|
+
*/
|
|
71021
|
+
404: BrowserError;
|
|
71022
|
+
/**
|
|
71023
|
+
* SESSION_ENDED / SESSION_INVALID_STATE / SESSION_NAME_IN_USE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
71024
|
+
*/
|
|
71025
|
+
409: BrowserError;
|
|
71026
|
+
/**
|
|
71027
|
+
* BROWSER_REVOKED
|
|
71028
|
+
*/
|
|
71029
|
+
410: BrowserError;
|
|
71030
|
+
/**
|
|
71031
|
+
* ACTION_RESULT_TOO_LARGE
|
|
71032
|
+
*/
|
|
71033
|
+
413: BrowserError;
|
|
71034
|
+
/**
|
|
71035
|
+
* CONCURRENCY_LIMIT / RATE_LIMITED / PROVIDER_CAPACITY
|
|
71036
|
+
*/
|
|
71037
|
+
429: BrowserError;
|
|
71038
|
+
/**
|
|
71039
|
+
* INTERNAL
|
|
71040
|
+
*/
|
|
71041
|
+
500: BrowserError;
|
|
71042
|
+
/**
|
|
71043
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
71044
|
+
*/
|
|
71045
|
+
501: BrowserError;
|
|
71046
|
+
/**
|
|
71047
|
+
* PROVIDER_FAILED
|
|
71048
|
+
*/
|
|
71049
|
+
502: BrowserError;
|
|
71050
|
+
/**
|
|
71051
|
+
* BROWSER_OFFLINE / SERVICE_UNAVAILABLE
|
|
71052
|
+
*/
|
|
71053
|
+
503: BrowserError;
|
|
71054
|
+
/**
|
|
71055
|
+
* ACTION_TIMEOUT
|
|
71056
|
+
*/
|
|
71057
|
+
504: BrowserError;
|
|
71058
|
+
};
|
|
71059
|
+
export type BrowserListByobBrowsersError = BrowserListByobBrowsersErrors[keyof BrowserListByobBrowsersErrors];
|
|
71060
|
+
export type BrowserListByobBrowsersResponses = {
|
|
71061
|
+
/**
|
|
71062
|
+
* 分页列出的自带浏览器,按 ID 升序。
|
|
71063
|
+
*/
|
|
71064
|
+
200: {
|
|
71065
|
+
/**
|
|
71066
|
+
* 本页的自带浏览器;已断开的不在列表里。
|
|
71067
|
+
*/
|
|
71068
|
+
data: Array<BrowserByobBrowser>;
|
|
71069
|
+
/**
|
|
71070
|
+
* 下一页游标;原样传入 cursor,null 表示没有更多结果。
|
|
71071
|
+
*/
|
|
71072
|
+
nextCursor: string | null;
|
|
71073
|
+
};
|
|
71074
|
+
};
|
|
71075
|
+
export type BrowserListByobBrowsersResponse = BrowserListByobBrowsersResponses[keyof BrowserListByobBrowsersResponses];
|
|
71076
|
+
export type BrowserGetByobBrowserData = {
|
|
71077
|
+
body?: never;
|
|
71078
|
+
path: {
|
|
71079
|
+
/**
|
|
71080
|
+
* 自带浏览器 ID,以 byb_ 开头;使用配对认领或列出自带浏览器返回的 id。
|
|
71081
|
+
*/
|
|
71082
|
+
browser_id: string;
|
|
71083
|
+
};
|
|
71084
|
+
query?: never;
|
|
71085
|
+
url: '/browser/v1/byob/browsers/{browser_id}';
|
|
71086
|
+
};
|
|
71087
|
+
export type BrowserGetByobBrowserErrors = {
|
|
71088
|
+
/**
|
|
71089
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
71090
|
+
*/
|
|
71091
|
+
400: BrowserError;
|
|
71092
|
+
/**
|
|
71093
|
+
* UNAUTHENTICATED / CONNECT_SIGNATURE_INVALID
|
|
71094
|
+
*/
|
|
71095
|
+
401: BrowserError;
|
|
71096
|
+
/**
|
|
71097
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
71098
|
+
*/
|
|
71099
|
+
402: BrowserError;
|
|
71100
|
+
/**
|
|
71101
|
+
* PERMISSION_DENIED / BROWSER_NOT_GRANTED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71102
|
+
*/
|
|
71103
|
+
403: BrowserError;
|
|
71104
|
+
/**
|
|
71105
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PAIRING_NOT_FOUND / BROWSER_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
71106
|
+
*/
|
|
71107
|
+
404: BrowserError;
|
|
71108
|
+
/**
|
|
71109
|
+
* SESSION_ENDED / SESSION_INVALID_STATE / SESSION_NAME_IN_USE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
71110
|
+
*/
|
|
71111
|
+
409: BrowserError;
|
|
71112
|
+
/**
|
|
71113
|
+
* BROWSER_REVOKED
|
|
71114
|
+
*/
|
|
71115
|
+
410: BrowserError;
|
|
71116
|
+
/**
|
|
71117
|
+
* ACTION_RESULT_TOO_LARGE
|
|
71118
|
+
*/
|
|
71119
|
+
413: BrowserError;
|
|
71120
|
+
/**
|
|
71121
|
+
* CONCURRENCY_LIMIT / RATE_LIMITED / PROVIDER_CAPACITY
|
|
71122
|
+
*/
|
|
71123
|
+
429: BrowserError;
|
|
71124
|
+
/**
|
|
71125
|
+
* INTERNAL
|
|
71126
|
+
*/
|
|
71127
|
+
500: BrowserError;
|
|
71128
|
+
/**
|
|
71129
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
71130
|
+
*/
|
|
71131
|
+
501: BrowserError;
|
|
71132
|
+
/**
|
|
71133
|
+
* PROVIDER_FAILED
|
|
71134
|
+
*/
|
|
71135
|
+
502: BrowserError;
|
|
71136
|
+
/**
|
|
71137
|
+
* BROWSER_OFFLINE / SERVICE_UNAVAILABLE
|
|
71138
|
+
*/
|
|
71139
|
+
503: BrowserError;
|
|
71140
|
+
/**
|
|
71141
|
+
* ACTION_TIMEOUT
|
|
71142
|
+
*/
|
|
71143
|
+
504: BrowserError;
|
|
71144
|
+
};
|
|
71145
|
+
export type BrowserGetByobBrowserError = BrowserGetByobBrowserErrors[keyof BrowserGetByobBrowserErrors];
|
|
71146
|
+
export type BrowserGetByobBrowserResponses = {
|
|
71147
|
+
/**
|
|
71148
|
+
* 请求成功。
|
|
71149
|
+
*/
|
|
71150
|
+
200: BrowserByobBrowser;
|
|
71151
|
+
};
|
|
71152
|
+
export type BrowserGetByobBrowserResponse = BrowserGetByobBrowserResponses[keyof BrowserGetByobBrowserResponses];
|
|
71153
|
+
export type BrowserUpdateByobBrowserData = {
|
|
71154
|
+
body: {
|
|
71155
|
+
/**
|
|
71156
|
+
* 新的显示名称,1–80 个字符。
|
|
71157
|
+
*/
|
|
71158
|
+
name?: string;
|
|
71159
|
+
/**
|
|
71160
|
+
* 整体替换被授权的智能体 ID 列表;传空数组撤销全部授权。
|
|
71161
|
+
*/
|
|
71162
|
+
granted_agents?: Array<string>;
|
|
71163
|
+
/**
|
|
71164
|
+
* 整体替换允许站点列表;传空数组表示不限制。
|
|
71165
|
+
*/
|
|
71166
|
+
allowed_sites?: Array<string>;
|
|
71167
|
+
};
|
|
71168
|
+
path: {
|
|
71169
|
+
/**
|
|
71170
|
+
* 自带浏览器 ID,以 byb_ 开头;使用配对认领或列出自带浏览器返回的 id。
|
|
71171
|
+
*/
|
|
71172
|
+
browser_id: string;
|
|
71173
|
+
};
|
|
71174
|
+
query?: never;
|
|
71175
|
+
url: '/browser/v1/byob/browsers/{browser_id}';
|
|
71176
|
+
};
|
|
71177
|
+
export type BrowserUpdateByobBrowserErrors = {
|
|
71178
|
+
/**
|
|
71179
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
71180
|
+
*/
|
|
71181
|
+
400: BrowserError;
|
|
71182
|
+
/**
|
|
71183
|
+
* UNAUTHENTICATED / CONNECT_SIGNATURE_INVALID
|
|
71184
|
+
*/
|
|
71185
|
+
401: BrowserError;
|
|
71186
|
+
/**
|
|
71187
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
71188
|
+
*/
|
|
71189
|
+
402: BrowserError;
|
|
71190
|
+
/**
|
|
71191
|
+
* PERMISSION_DENIED / BROWSER_NOT_GRANTED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71192
|
+
*/
|
|
71193
|
+
403: BrowserError;
|
|
71194
|
+
/**
|
|
71195
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PAIRING_NOT_FOUND / BROWSER_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
71196
|
+
*/
|
|
71197
|
+
404: BrowserError;
|
|
71198
|
+
/**
|
|
71199
|
+
* SESSION_ENDED / SESSION_INVALID_STATE / SESSION_NAME_IN_USE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
71200
|
+
*/
|
|
71201
|
+
409: BrowserError;
|
|
71202
|
+
/**
|
|
71203
|
+
* BROWSER_REVOKED
|
|
71204
|
+
*/
|
|
71205
|
+
410: BrowserError;
|
|
71206
|
+
/**
|
|
71207
|
+
* ACTION_RESULT_TOO_LARGE
|
|
71208
|
+
*/
|
|
71209
|
+
413: BrowserError;
|
|
71210
|
+
/**
|
|
71211
|
+
* CONCURRENCY_LIMIT / RATE_LIMITED / PROVIDER_CAPACITY
|
|
71212
|
+
*/
|
|
71213
|
+
429: BrowserError;
|
|
71214
|
+
/**
|
|
71215
|
+
* INTERNAL
|
|
71216
|
+
*/
|
|
71217
|
+
500: BrowserError;
|
|
71218
|
+
/**
|
|
71219
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
71220
|
+
*/
|
|
71221
|
+
501: BrowserError;
|
|
71222
|
+
/**
|
|
71223
|
+
* PROVIDER_FAILED
|
|
71224
|
+
*/
|
|
71225
|
+
502: BrowserError;
|
|
71226
|
+
/**
|
|
71227
|
+
* BROWSER_OFFLINE / SERVICE_UNAVAILABLE
|
|
71228
|
+
*/
|
|
71229
|
+
503: BrowserError;
|
|
71230
|
+
/**
|
|
71231
|
+
* ACTION_TIMEOUT
|
|
71232
|
+
*/
|
|
71233
|
+
504: BrowserError;
|
|
71234
|
+
};
|
|
71235
|
+
export type BrowserUpdateByobBrowserError = BrowserUpdateByobBrowserErrors[keyof BrowserUpdateByobBrowserErrors];
|
|
71236
|
+
export type BrowserUpdateByobBrowserResponses = {
|
|
71237
|
+
/**
|
|
71238
|
+
* 请求成功。
|
|
71239
|
+
*/
|
|
71240
|
+
200: BrowserByobBrowser;
|
|
71241
|
+
};
|
|
71242
|
+
export type BrowserUpdateByobBrowserResponse = BrowserUpdateByobBrowserResponses[keyof BrowserUpdateByobBrowserResponses];
|
|
71243
|
+
export type BrowserDisconnectByobBrowserData = {
|
|
71244
|
+
body?: never;
|
|
71245
|
+
path: {
|
|
71246
|
+
/**
|
|
71247
|
+
* 自带浏览器 ID,以 byb_ 开头;使用配对认领或列出自带浏览器返回的 id。
|
|
71248
|
+
*/
|
|
71249
|
+
browser_id: string;
|
|
71250
|
+
};
|
|
71251
|
+
query?: never;
|
|
71252
|
+
url: '/browser/v1/byob/browsers/{browser_id}/disconnect';
|
|
71253
|
+
};
|
|
71254
|
+
export type BrowserDisconnectByobBrowserErrors = {
|
|
71255
|
+
/**
|
|
71256
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
71257
|
+
*/
|
|
71258
|
+
400: BrowserError;
|
|
71259
|
+
/**
|
|
71260
|
+
* UNAUTHENTICATED / CONNECT_SIGNATURE_INVALID
|
|
71261
|
+
*/
|
|
71262
|
+
401: BrowserError;
|
|
71263
|
+
/**
|
|
71264
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
71265
|
+
*/
|
|
71266
|
+
402: BrowserError;
|
|
71267
|
+
/**
|
|
71268
|
+
* PERMISSION_DENIED / BROWSER_NOT_GRANTED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71269
|
+
*/
|
|
71270
|
+
403: BrowserError;
|
|
71271
|
+
/**
|
|
71272
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PAIRING_NOT_FOUND / BROWSER_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
71273
|
+
*/
|
|
71274
|
+
404: BrowserError;
|
|
71275
|
+
/**
|
|
71276
|
+
* SESSION_ENDED / SESSION_INVALID_STATE / SESSION_NAME_IN_USE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
71277
|
+
*/
|
|
71278
|
+
409: BrowserError;
|
|
71279
|
+
/**
|
|
71280
|
+
* BROWSER_REVOKED
|
|
71281
|
+
*/
|
|
71282
|
+
410: BrowserError;
|
|
71283
|
+
/**
|
|
71284
|
+
* ACTION_RESULT_TOO_LARGE
|
|
71285
|
+
*/
|
|
71286
|
+
413: BrowserError;
|
|
71287
|
+
/**
|
|
71288
|
+
* CONCURRENCY_LIMIT / RATE_LIMITED / PROVIDER_CAPACITY
|
|
71289
|
+
*/
|
|
71290
|
+
429: BrowserError;
|
|
71291
|
+
/**
|
|
71292
|
+
* INTERNAL
|
|
71293
|
+
*/
|
|
71294
|
+
500: BrowserError;
|
|
71295
|
+
/**
|
|
71296
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
71297
|
+
*/
|
|
71298
|
+
501: BrowserError;
|
|
71299
|
+
/**
|
|
71300
|
+
* PROVIDER_FAILED
|
|
71301
|
+
*/
|
|
71302
|
+
502: BrowserError;
|
|
71303
|
+
/**
|
|
71304
|
+
* BROWSER_OFFLINE / SERVICE_UNAVAILABLE
|
|
71305
|
+
*/
|
|
71306
|
+
503: BrowserError;
|
|
71307
|
+
/**
|
|
71308
|
+
* ACTION_TIMEOUT
|
|
71309
|
+
*/
|
|
71310
|
+
504: BrowserError;
|
|
71311
|
+
};
|
|
71312
|
+
export type BrowserDisconnectByobBrowserError = BrowserDisconnectByobBrowserErrors[keyof BrowserDisconnectByobBrowserErrors];
|
|
71313
|
+
export type BrowserDisconnectByobBrowserResponses = {
|
|
71314
|
+
/**
|
|
71315
|
+
* 请求成功。
|
|
71316
|
+
*/
|
|
71317
|
+
200: BrowserByobBrowser;
|
|
71318
|
+
};
|
|
71319
|
+
export type BrowserDisconnectByobBrowserResponse = BrowserDisconnectByobBrowserResponses[keyof BrowserDisconnectByobBrowserResponses];
|
|
71320
|
+
export type BrowserReadByobPairingData = {
|
|
71321
|
+
body?: never;
|
|
71322
|
+
path: {
|
|
71323
|
+
/**
|
|
71324
|
+
* 8 位配对码,来自创建配对码的结果。
|
|
71325
|
+
*/
|
|
71326
|
+
code: string;
|
|
71327
|
+
};
|
|
71328
|
+
query?: never;
|
|
71329
|
+
url: '/browser/v1/byob/pairings/{code}';
|
|
71330
|
+
};
|
|
71331
|
+
export type BrowserReadByobPairingErrors = {
|
|
71332
|
+
/**
|
|
71333
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
71334
|
+
*/
|
|
71335
|
+
400: BrowserError;
|
|
71336
|
+
/**
|
|
71337
|
+
* UNAUTHENTICATED / CONNECT_SIGNATURE_INVALID
|
|
71338
|
+
*/
|
|
71339
|
+
401: BrowserError;
|
|
71340
|
+
/**
|
|
71341
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
71342
|
+
*/
|
|
71343
|
+
402: BrowserError;
|
|
71344
|
+
/**
|
|
71345
|
+
* PERMISSION_DENIED / BROWSER_NOT_GRANTED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71346
|
+
*/
|
|
71347
|
+
403: BrowserError;
|
|
71348
|
+
/**
|
|
71349
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PAIRING_NOT_FOUND / BROWSER_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
71350
|
+
*/
|
|
71351
|
+
404: BrowserError;
|
|
71352
|
+
/**
|
|
71353
|
+
* SESSION_ENDED / SESSION_INVALID_STATE / SESSION_NAME_IN_USE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
71354
|
+
*/
|
|
71355
|
+
409: BrowserError;
|
|
71356
|
+
/**
|
|
71357
|
+
* BROWSER_REVOKED
|
|
71358
|
+
*/
|
|
71359
|
+
410: BrowserError;
|
|
71360
|
+
/**
|
|
71361
|
+
* ACTION_RESULT_TOO_LARGE
|
|
71362
|
+
*/
|
|
71363
|
+
413: BrowserError;
|
|
71364
|
+
/**
|
|
71365
|
+
* CONCURRENCY_LIMIT / RATE_LIMITED / PROVIDER_CAPACITY
|
|
71366
|
+
*/
|
|
71367
|
+
429: BrowserError;
|
|
71368
|
+
/**
|
|
71369
|
+
* INTERNAL
|
|
71370
|
+
*/
|
|
71371
|
+
500: BrowserError;
|
|
71372
|
+
/**
|
|
71373
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
71374
|
+
*/
|
|
71375
|
+
501: BrowserError;
|
|
71376
|
+
/**
|
|
71377
|
+
* PROVIDER_FAILED
|
|
71378
|
+
*/
|
|
71379
|
+
502: BrowserError;
|
|
71380
|
+
/**
|
|
71381
|
+
* BROWSER_OFFLINE / SERVICE_UNAVAILABLE
|
|
71382
|
+
*/
|
|
71383
|
+
503: BrowserError;
|
|
71384
|
+
/**
|
|
71385
|
+
* ACTION_TIMEOUT
|
|
71386
|
+
*/
|
|
71387
|
+
504: BrowserError;
|
|
71388
|
+
};
|
|
71389
|
+
export type BrowserReadByobPairingError = BrowserReadByobPairingErrors[keyof BrowserReadByobPairingErrors];
|
|
71390
|
+
export type BrowserReadByobPairingResponses = {
|
|
71391
|
+
/**
|
|
71392
|
+
* 请求成功。
|
|
71393
|
+
*/
|
|
71394
|
+
200: BrowserByobPairingView;
|
|
71395
|
+
};
|
|
71396
|
+
export type BrowserReadByobPairingResponse = BrowserReadByobPairingResponses[keyof BrowserReadByobPairingResponses];
|
|
71397
|
+
export type BrowserClaimByobPairingData = {
|
|
71398
|
+
body: BrowserByobClaim;
|
|
71399
|
+
path: {
|
|
71400
|
+
/**
|
|
71401
|
+
* 8 位配对码,来自创建配对码的结果。
|
|
71402
|
+
*/
|
|
71403
|
+
code: string;
|
|
71404
|
+
};
|
|
71405
|
+
query?: never;
|
|
71406
|
+
url: '/browser/v1/byob/pairings/{code}/claim';
|
|
71407
|
+
};
|
|
71408
|
+
export type BrowserClaimByobPairingErrors = {
|
|
71409
|
+
/**
|
|
71410
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
71411
|
+
*/
|
|
71412
|
+
400: BrowserError;
|
|
71413
|
+
/**
|
|
71414
|
+
* UNAUTHENTICATED / CONNECT_SIGNATURE_INVALID
|
|
71415
|
+
*/
|
|
71416
|
+
401: BrowserError;
|
|
71417
|
+
/**
|
|
71418
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
71419
|
+
*/
|
|
71420
|
+
402: BrowserError;
|
|
71421
|
+
/**
|
|
71422
|
+
* PERMISSION_DENIED / BROWSER_NOT_GRANTED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70227
71423
|
*/
|
|
70228
71424
|
403: BrowserError;
|
|
70229
71425
|
/**
|
|
70230
|
-
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
71426
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PAIRING_NOT_FOUND / BROWSER_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
70231
71427
|
*/
|
|
70232
71428
|
404: BrowserError;
|
|
70233
71429
|
/**
|
|
70234
|
-
* SESSION_ENDED / SESSION_INVALID_STATE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
71430
|
+
* SESSION_ENDED / SESSION_INVALID_STATE / SESSION_NAME_IN_USE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
70235
71431
|
*/
|
|
70236
71432
|
409: BrowserError;
|
|
70237
71433
|
/**
|
|
70238
|
-
*
|
|
70239
|
-
*/
|
|
70240
|
-
413: BrowserError;
|
|
70241
|
-
/**
|
|
70242
|
-
* CONCURRENCY_LIMIT / RATE_LIMITED / PROVIDER_CAPACITY
|
|
70243
|
-
*/
|
|
70244
|
-
429: BrowserError;
|
|
70245
|
-
/**
|
|
70246
|
-
* INTERNAL
|
|
70247
|
-
*/
|
|
70248
|
-
500: BrowserError;
|
|
70249
|
-
/**
|
|
70250
|
-
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
70251
|
-
*/
|
|
70252
|
-
501: BrowserError;
|
|
70253
|
-
/**
|
|
70254
|
-
* PROVIDER_FAILED
|
|
71434
|
+
* BROWSER_REVOKED
|
|
70255
71435
|
*/
|
|
70256
|
-
|
|
70257
|
-
/**
|
|
70258
|
-
* SERVICE_UNAVAILABLE
|
|
70259
|
-
*/
|
|
70260
|
-
503: BrowserError;
|
|
70261
|
-
/**
|
|
70262
|
-
* ACTION_TIMEOUT
|
|
70263
|
-
*/
|
|
70264
|
-
504: BrowserError;
|
|
70265
|
-
};
|
|
70266
|
-
export type BrowserGetContextError = BrowserGetContextErrors[keyof BrowserGetContextErrors];
|
|
70267
|
-
export type BrowserGetContextResponses = {
|
|
70268
|
-
/**
|
|
70269
|
-
* 请求成功。
|
|
70270
|
-
*/
|
|
70271
|
-
200: BrowserContext;
|
|
70272
|
-
};
|
|
70273
|
-
export type BrowserGetContextResponse = BrowserGetContextResponses[keyof BrowserGetContextResponses];
|
|
70274
|
-
export type BrowserUpdateContextData = {
|
|
70275
|
-
body: {
|
|
70276
|
-
/**
|
|
70277
|
-
* 登录态名称;非空时为 1–128 个 ASCII 字母、数字或 . _ : -,在当前账户内唯一;空字符串表示不设名称或清除名称。
|
|
70278
|
-
*/
|
|
70279
|
-
name?: '' | unknown;
|
|
70280
|
-
/**
|
|
70281
|
-
* 自定义字符串标签;最多 32 项,键最多 128 个 UTF-8 字节,值最多 1024 个 UTF-8 字节。 更新时整体替换;空对象清除标签,省略则保留。
|
|
70282
|
-
*/
|
|
70283
|
-
labels?: {
|
|
70284
|
-
[key: string]: string;
|
|
70285
|
-
};
|
|
70286
|
-
};
|
|
70287
|
-
path: {
|
|
70288
|
-
/**
|
|
70289
|
-
* 登录态 ID;使用创建或列出登录态返回的 id,以 bsc_ 开头。
|
|
70290
|
-
*/
|
|
70291
|
-
contextId: string;
|
|
70292
|
-
};
|
|
70293
|
-
query?: never;
|
|
70294
|
-
url: '/browser/v1/contexts/{contextId}';
|
|
70295
|
-
};
|
|
70296
|
-
export type BrowserUpdateContextErrors = {
|
|
70297
|
-
/**
|
|
70298
|
-
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
70299
|
-
*/
|
|
70300
|
-
400: BrowserError;
|
|
70301
|
-
/**
|
|
70302
|
-
* UNAUTHENTICATED / CONNECT_SIGNATURE_INVALID
|
|
70303
|
-
*/
|
|
70304
|
-
401: BrowserError;
|
|
70305
|
-
/**
|
|
70306
|
-
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
70307
|
-
*/
|
|
70308
|
-
402: BrowserError;
|
|
70309
|
-
/**
|
|
70310
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
70311
|
-
*/
|
|
70312
|
-
403: BrowserError;
|
|
70313
|
-
/**
|
|
70314
|
-
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
70315
|
-
*/
|
|
70316
|
-
404: BrowserError;
|
|
70317
|
-
/**
|
|
70318
|
-
* SESSION_ENDED / SESSION_INVALID_STATE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
70319
|
-
*/
|
|
70320
|
-
409: BrowserError;
|
|
71436
|
+
410: BrowserError;
|
|
70321
71437
|
/**
|
|
70322
71438
|
* ACTION_RESULT_TOO_LARGE
|
|
70323
71439
|
*/
|
|
@@ -70339,7 +71455,7 @@ export type BrowserUpdateContextErrors = {
|
|
|
70339
71455
|
*/
|
|
70340
71456
|
502: BrowserError;
|
|
70341
71457
|
/**
|
|
70342
|
-
* SERVICE_UNAVAILABLE
|
|
71458
|
+
* BROWSER_OFFLINE / SERVICE_UNAVAILABLE
|
|
70343
71459
|
*/
|
|
70344
71460
|
503: BrowserError;
|
|
70345
71461
|
/**
|
|
@@ -70347,14 +71463,14 @@ export type BrowserUpdateContextErrors = {
|
|
|
70347
71463
|
*/
|
|
70348
71464
|
504: BrowserError;
|
|
70349
71465
|
};
|
|
70350
|
-
export type
|
|
70351
|
-
export type
|
|
71466
|
+
export type BrowserClaimByobPairingError = BrowserClaimByobPairingErrors[keyof BrowserClaimByobPairingErrors];
|
|
71467
|
+
export type BrowserClaimByobPairingResponses = {
|
|
70352
71468
|
/**
|
|
70353
|
-
*
|
|
71469
|
+
* 认领成功。
|
|
70354
71470
|
*/
|
|
70355
|
-
|
|
71471
|
+
201: BrowserByobClaimResult;
|
|
70356
71472
|
};
|
|
70357
|
-
export type
|
|
71473
|
+
export type BrowserClaimByobPairingResponse = BrowserClaimByobPairingResponses[keyof BrowserClaimByobPairingResponses];
|
|
70358
71474
|
export type BrowserConnectData = {
|
|
70359
71475
|
body?: never;
|
|
70360
71476
|
path?: never;
|
|
@@ -70412,17 +71528,21 @@ export type BrowserConnectErrors = {
|
|
|
70412
71528
|
*/
|
|
70413
71529
|
402: BrowserError;
|
|
70414
71530
|
/**
|
|
70415
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
71531
|
+
* PERMISSION_DENIED / BROWSER_NOT_GRANTED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70416
71532
|
*/
|
|
70417
71533
|
403: BrowserError;
|
|
70418
71534
|
/**
|
|
70419
|
-
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
71535
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PAIRING_NOT_FOUND / BROWSER_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
70420
71536
|
*/
|
|
70421
71537
|
404: BrowserError;
|
|
70422
71538
|
/**
|
|
70423
|
-
* SESSION_ENDED / SESSION_INVALID_STATE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
71539
|
+
* SESSION_ENDED / SESSION_INVALID_STATE / SESSION_NAME_IN_USE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
70424
71540
|
*/
|
|
70425
71541
|
409: BrowserError;
|
|
71542
|
+
/**
|
|
71543
|
+
* BROWSER_REVOKED
|
|
71544
|
+
*/
|
|
71545
|
+
410: BrowserError;
|
|
70426
71546
|
/**
|
|
70427
71547
|
* ACTION_RESULT_TOO_LARGE
|
|
70428
71548
|
*/
|
|
@@ -70444,7 +71564,7 @@ export type BrowserConnectErrors = {
|
|
|
70444
71564
|
*/
|
|
70445
71565
|
502: BrowserError;
|
|
70446
71566
|
/**
|
|
70447
|
-
* SERVICE_UNAVAILABLE
|
|
71567
|
+
* BROWSER_OFFLINE / SERVICE_UNAVAILABLE
|
|
70448
71568
|
*/
|
|
70449
71569
|
503: BrowserError;
|
|
70450
71570
|
/**
|
|
@@ -70487,17 +71607,21 @@ export type BrowserLiveViewErrors = {
|
|
|
70487
71607
|
*/
|
|
70488
71608
|
402: BrowserError;
|
|
70489
71609
|
/**
|
|
70490
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
71610
|
+
* PERMISSION_DENIED / BROWSER_NOT_GRANTED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70491
71611
|
*/
|
|
70492
71612
|
403: BrowserError;
|
|
70493
71613
|
/**
|
|
70494
|
-
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
71614
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PAIRING_NOT_FOUND / BROWSER_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
70495
71615
|
*/
|
|
70496
71616
|
404: BrowserError;
|
|
70497
71617
|
/**
|
|
70498
|
-
* SESSION_ENDED / SESSION_INVALID_STATE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
71618
|
+
* SESSION_ENDED / SESSION_INVALID_STATE / SESSION_NAME_IN_USE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
70499
71619
|
*/
|
|
70500
71620
|
409: BrowserError;
|
|
71621
|
+
/**
|
|
71622
|
+
* BROWSER_REVOKED
|
|
71623
|
+
*/
|
|
71624
|
+
410: BrowserError;
|
|
70501
71625
|
/**
|
|
70502
71626
|
* ACTION_RESULT_TOO_LARGE
|
|
70503
71627
|
*/
|
|
@@ -70519,7 +71643,7 @@ export type BrowserLiveViewErrors = {
|
|
|
70519
71643
|
*/
|
|
70520
71644
|
502: BrowserError;
|
|
70521
71645
|
/**
|
|
70522
|
-
* SERVICE_UNAVAILABLE
|
|
71646
|
+
* BROWSER_OFFLINE / SERVICE_UNAVAILABLE
|
|
70523
71647
|
*/
|
|
70524
71648
|
503: BrowserError;
|
|
70525
71649
|
/**
|
|
@@ -70553,17 +71677,21 @@ export type BrowserStreamSessionErrors = {
|
|
|
70553
71677
|
*/
|
|
70554
71678
|
402: BrowserError;
|
|
70555
71679
|
/**
|
|
70556
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
71680
|
+
* PERMISSION_DENIED / BROWSER_NOT_GRANTED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70557
71681
|
*/
|
|
70558
71682
|
403: BrowserError;
|
|
70559
71683
|
/**
|
|
70560
|
-
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
71684
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PAIRING_NOT_FOUND / BROWSER_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
70561
71685
|
*/
|
|
70562
71686
|
404: BrowserError;
|
|
70563
71687
|
/**
|
|
70564
|
-
* SESSION_ENDED / SESSION_INVALID_STATE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
71688
|
+
* SESSION_ENDED / SESSION_INVALID_STATE / SESSION_NAME_IN_USE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
70565
71689
|
*/
|
|
70566
71690
|
409: BrowserError;
|
|
71691
|
+
/**
|
|
71692
|
+
* BROWSER_REVOKED
|
|
71693
|
+
*/
|
|
71694
|
+
410: BrowserError;
|
|
70567
71695
|
/**
|
|
70568
71696
|
* ACTION_RESULT_TOO_LARGE
|
|
70569
71697
|
*/
|
|
@@ -70585,7 +71713,7 @@ export type BrowserStreamSessionErrors = {
|
|
|
70585
71713
|
*/
|
|
70586
71714
|
502: BrowserError;
|
|
70587
71715
|
/**
|
|
70588
|
-
* SERVICE_UNAVAILABLE
|
|
71716
|
+
* BROWSER_OFFLINE / SERVICE_UNAVAILABLE
|
|
70589
71717
|
*/
|
|
70590
71718
|
503: BrowserError;
|
|
70591
71719
|
/**
|
|
@@ -70626,17 +71754,21 @@ export type BrowserStreamSessionFramesErrors = {
|
|
|
70626
71754
|
*/
|
|
70627
71755
|
402: BrowserError;
|
|
70628
71756
|
/**
|
|
70629
|
-
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
71757
|
+
* PERMISSION_DENIED / BROWSER_NOT_GRANTED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70630
71758
|
*/
|
|
70631
71759
|
403: BrowserError;
|
|
70632
71760
|
/**
|
|
70633
|
-
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
71761
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PAIRING_NOT_FOUND / BROWSER_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
70634
71762
|
*/
|
|
70635
71763
|
404: BrowserError;
|
|
70636
71764
|
/**
|
|
70637
|
-
* SESSION_ENDED / SESSION_INVALID_STATE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
71765
|
+
* SESSION_ENDED / SESSION_INVALID_STATE / SESSION_NAME_IN_USE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
70638
71766
|
*/
|
|
70639
71767
|
409: BrowserError;
|
|
71768
|
+
/**
|
|
71769
|
+
* BROWSER_REVOKED
|
|
71770
|
+
*/
|
|
71771
|
+
410: BrowserError;
|
|
70640
71772
|
/**
|
|
70641
71773
|
* ACTION_RESULT_TOO_LARGE
|
|
70642
71774
|
*/
|
|
@@ -70658,7 +71790,7 @@ export type BrowserStreamSessionFramesErrors = {
|
|
|
70658
71790
|
*/
|
|
70659
71791
|
502: BrowserError;
|
|
70660
71792
|
/**
|
|
70661
|
-
* SERVICE_UNAVAILABLE
|
|
71793
|
+
* BROWSER_OFFLINE / SERVICE_UNAVAILABLE
|
|
70662
71794
|
*/
|
|
70663
71795
|
503: BrowserError;
|
|
70664
71796
|
/**
|
|
@@ -71054,7 +72186,7 @@ export type FileCreateSignedUploadErrors = {
|
|
|
71054
72186
|
*/
|
|
71055
72187
|
401: unknown;
|
|
71056
72188
|
/**
|
|
71057
|
-
* PERMISSION_DENIED or
|
|
72189
|
+
* 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
72190
|
*/
|
|
71059
72191
|
403: unknown;
|
|
71060
72192
|
};
|
|
@@ -77963,10 +79095,18 @@ export type GetOrganizationNotificationsInboxData = {
|
|
|
77963
79095
|
url: '/organization/v1/notifications/inbox';
|
|
77964
79096
|
};
|
|
77965
79097
|
export type GetOrganizationNotificationsInboxErrors = {
|
|
79098
|
+
/**
|
|
79099
|
+
* `INVALID_PARAMS` from the service for a read it cannot answer (RFC 9457 problem).
|
|
79100
|
+
*/
|
|
79101
|
+
400: unknown;
|
|
77966
79102
|
/**
|
|
77967
79103
|
* Missing or invalid credential (RFC 9457 problem).
|
|
77968
79104
|
*/
|
|
77969
79105
|
401: unknown;
|
|
79106
|
+
/**
|
|
79107
|
+
* 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.
|
|
79108
|
+
*/
|
|
79109
|
+
502: unknown;
|
|
77970
79110
|
};
|
|
77971
79111
|
export type GetOrganizationNotificationsInboxResponses = {
|
|
77972
79112
|
/**
|
|
@@ -78009,13 +79149,17 @@ export type ListOrganizationNotificationLettersData = {
|
|
|
78009
79149
|
};
|
|
78010
79150
|
export type ListOrganizationNotificationLettersErrors = {
|
|
78011
79151
|
/**
|
|
78012
|
-
*
|
|
79152
|
+
* A bad `status`, `archived` or `limit`, or `INVALID_PARAMS` from the service for a cursor it did not issue (RFC 9457 problem).
|
|
78013
79153
|
*/
|
|
78014
79154
|
400: unknown;
|
|
78015
79155
|
/**
|
|
78016
79156
|
* Missing or invalid credential (RFC 9457 problem).
|
|
78017
79157
|
*/
|
|
78018
79158
|
401: unknown;
|
|
79159
|
+
/**
|
|
79160
|
+
* 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.
|
|
79161
|
+
*/
|
|
79162
|
+
502: unknown;
|
|
78019
79163
|
};
|
|
78020
79164
|
export type ListOrganizationNotificationLettersResponses = {
|
|
78021
79165
|
/**
|
|
@@ -78118,7 +79262,7 @@ export type GetOrganizationNotificationLetterData = {
|
|
|
78118
79262
|
};
|
|
78119
79263
|
export type GetOrganizationNotificationLetterErrors = {
|
|
78120
79264
|
/**
|
|
78121
|
-
* The id is not a letter id (RFC 9457 problem).
|
|
79265
|
+
* The id is not a letter id — `INVALID_PARAMS` from the service (RFC 9457 problem).
|
|
78122
79266
|
*/
|
|
78123
79267
|
400: unknown;
|
|
78124
79268
|
/**
|
|
@@ -78126,9 +79270,13 @@ export type GetOrganizationNotificationLetterErrors = {
|
|
|
78126
79270
|
*/
|
|
78127
79271
|
401: unknown;
|
|
78128
79272
|
/**
|
|
78129
|
-
* No such letter in your mailbox (RFC 9457 problem).
|
|
79273
|
+
* 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
79274
|
*/
|
|
78131
79275
|
404: unknown;
|
|
79276
|
+
/**
|
|
79277
|
+
* 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.
|
|
79278
|
+
*/
|
|
79279
|
+
502: unknown;
|
|
78132
79280
|
};
|
|
78133
79281
|
export type GetOrganizationNotificationLetterResponses = {
|
|
78134
79282
|
/**
|
|
@@ -78218,7 +79366,7 @@ export type ReadOrganizationNotificationLetterData = {
|
|
|
78218
79366
|
};
|
|
78219
79367
|
export type ReadOrganizationNotificationLetterErrors = {
|
|
78220
79368
|
/**
|
|
78221
|
-
* The id is not a letter id (RFC 9457 problem).
|
|
79369
|
+
* The id is not a letter id — `INVALID_PARAMS` from the service (RFC 9457 problem).
|
|
78222
79370
|
*/
|
|
78223
79371
|
400: unknown;
|
|
78224
79372
|
/**
|
|
@@ -78226,9 +79374,13 @@ export type ReadOrganizationNotificationLetterErrors = {
|
|
|
78226
79374
|
*/
|
|
78227
79375
|
401: unknown;
|
|
78228
79376
|
/**
|
|
78229
|
-
* No such letter in your mailbox (RFC 9457 problem).
|
|
79377
|
+
* No such letter in your mailbox in this organization — `MESSAGE_NOT_FOUND` (RFC 9457 problem).
|
|
78230
79378
|
*/
|
|
78231
79379
|
404: unknown;
|
|
79380
|
+
/**
|
|
79381
|
+
* 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.
|
|
79382
|
+
*/
|
|
79383
|
+
502: unknown;
|
|
78232
79384
|
};
|
|
78233
79385
|
export type ReadOrganizationNotificationLetterResponses = {
|
|
78234
79386
|
/**
|
|
@@ -78255,13 +79407,17 @@ export type ReadAllOrganizationNotificationLettersData = {
|
|
|
78255
79407
|
};
|
|
78256
79408
|
export type ReadAllOrganizationNotificationLettersErrors = {
|
|
78257
79409
|
/**
|
|
78258
|
-
* The body is not a JSON object,
|
|
79410
|
+
* The body is not a JSON object, `kind` is unknown, or `INVALID_PARAMS` from the service (RFC 9457 problem).
|
|
78259
79411
|
*/
|
|
78260
79412
|
400: unknown;
|
|
78261
79413
|
/**
|
|
78262
79414
|
* Missing or invalid credential (RFC 9457 problem).
|
|
78263
79415
|
*/
|
|
78264
79416
|
401: unknown;
|
|
79417
|
+
/**
|
|
79418
|
+
* 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.
|
|
79419
|
+
*/
|
|
79420
|
+
502: unknown;
|
|
78265
79421
|
};
|
|
78266
79422
|
export type ReadAllOrganizationNotificationLettersResponses = {
|
|
78267
79423
|
/**
|
|
@@ -78288,7 +79444,7 @@ export type ArchiveOrganizationNotificationLetterData = {
|
|
|
78288
79444
|
};
|
|
78289
79445
|
export type ArchiveOrganizationNotificationLetterErrors = {
|
|
78290
79446
|
/**
|
|
78291
|
-
* The id is not a letter id (RFC 9457 problem).
|
|
79447
|
+
* The id is not a letter id — `INVALID_PARAMS` from the service (RFC 9457 problem).
|
|
78292
79448
|
*/
|
|
78293
79449
|
400: unknown;
|
|
78294
79450
|
/**
|
|
@@ -78296,9 +79452,13 @@ export type ArchiveOrganizationNotificationLetterErrors = {
|
|
|
78296
79452
|
*/
|
|
78297
79453
|
401: unknown;
|
|
78298
79454
|
/**
|
|
78299
|
-
* No such letter in your mailbox (RFC 9457 problem).
|
|
79455
|
+
* No such letter in your mailbox in this organization — `MESSAGE_NOT_FOUND` (RFC 9457 problem).
|
|
78300
79456
|
*/
|
|
78301
79457
|
404: unknown;
|
|
79458
|
+
/**
|
|
79459
|
+
* 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.
|
|
79460
|
+
*/
|
|
79461
|
+
502: unknown;
|
|
78302
79462
|
};
|
|
78303
79463
|
export type ArchiveOrganizationNotificationLetterResponses = {
|
|
78304
79464
|
/**
|
|
@@ -78323,6 +79483,10 @@ export type GetOrganizationNotificationPreferencesErrors = {
|
|
|
78323
79483
|
* Missing or invalid credential (RFC 9457 problem).
|
|
78324
79484
|
*/
|
|
78325
79485
|
401: unknown;
|
|
79486
|
+
/**
|
|
79487
|
+
* 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.
|
|
79488
|
+
*/
|
|
79489
|
+
502: unknown;
|
|
78326
79490
|
};
|
|
78327
79491
|
export type GetOrganizationNotificationPreferencesResponses = {
|
|
78328
79492
|
/**
|
|
@@ -78414,7 +79578,7 @@ export type UpdateOrganizationNotificationPreferencesData = {
|
|
|
78414
79578
|
};
|
|
78415
79579
|
export type UpdateOrganizationNotificationPreferencesErrors = {
|
|
78416
79580
|
/**
|
|
78417
|
-
* Invalid switch, unknown category or unoffered channel (RFC 9457 problem).
|
|
79581
|
+
* Invalid switch, unknown category or unoffered channel — `INVALID_PARAMS`, `NOT_CONFIGURABLE` or `CRITICAL_CHANNELS_OFF` from the service (RFC 9457 problem).
|
|
78418
79582
|
*/
|
|
78419
79583
|
400: unknown;
|
|
78420
79584
|
/**
|
|
@@ -78422,9 +79586,13 @@ export type UpdateOrganizationNotificationPreferencesErrors = {
|
|
|
78422
79586
|
*/
|
|
78423
79587
|
401: unknown;
|
|
78424
79588
|
/**
|
|
78425
|
-
* The organization does not let members change their own switches (
|
|
79589
|
+
* The organization does not let members change their own switches — `ORGANIZATION_LOCKED` from the service (RFC 9457 problem).
|
|
78426
79590
|
*/
|
|
78427
79591
|
403: unknown;
|
|
79592
|
+
/**
|
|
79593
|
+
* 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.
|
|
79594
|
+
*/
|
|
79595
|
+
502: unknown;
|
|
78428
79596
|
};
|
|
78429
79597
|
export type UpdateOrganizationNotificationPreferencesResponses = {
|
|
78430
79598
|
/**
|
|
@@ -78446,6 +79614,10 @@ export type GetOrganizationNotificationDefaultsErrors = {
|
|
|
78446
79614
|
* Missing or invalid credential (RFC 9457 problem).
|
|
78447
79615
|
*/
|
|
78448
79616
|
401: unknown;
|
|
79617
|
+
/**
|
|
79618
|
+
* 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.
|
|
79619
|
+
*/
|
|
79620
|
+
502: unknown;
|
|
78449
79621
|
};
|
|
78450
79622
|
export type GetOrganizationNotificationDefaultsResponses = {
|
|
78451
79623
|
/**
|
|
@@ -78483,7 +79655,7 @@ export type UpdateOrganizationNotificationDefaultsData = {
|
|
|
78483
79655
|
};
|
|
78484
79656
|
export type UpdateOrganizationNotificationDefaultsErrors = {
|
|
78485
79657
|
/**
|
|
78486
|
-
* Invalid default, unknown category or hidden critical category (RFC 9457 problem).
|
|
79658
|
+
* Invalid default, unknown category or hidden critical category (RFC 9457 problem, `INVALID_PARAMS`).
|
|
78487
79659
|
*/
|
|
78488
79660
|
400: unknown;
|
|
78489
79661
|
/**
|
|
@@ -78491,9 +79663,13 @@ export type UpdateOrganizationNotificationDefaultsErrors = {
|
|
|
78491
79663
|
*/
|
|
78492
79664
|
401: unknown;
|
|
78493
79665
|
/**
|
|
78494
|
-
* The caller is not an owner or admin of this organization.
|
|
79666
|
+
* The caller is not an owner or admin of this organization — `PERMISSION_DENIED` from the service (RFC 9457 problem).
|
|
78495
79667
|
*/
|
|
78496
79668
|
403: unknown;
|
|
79669
|
+
/**
|
|
79670
|
+
* 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.
|
|
79671
|
+
*/
|
|
79672
|
+
502: unknown;
|
|
78497
79673
|
};
|
|
78498
79674
|
export type UpdateOrganizationNotificationDefaultsResponses = {
|
|
78499
79675
|
/**
|
|
@@ -78521,13 +79697,17 @@ export type ListOrganizationNotificationDeliveriesData = {
|
|
|
78521
79697
|
};
|
|
78522
79698
|
export type ListOrganizationNotificationDeliveriesErrors = {
|
|
78523
79699
|
/**
|
|
78524
|
-
* Invalid limit or page cursor (RFC 9457 problem).
|
|
79700
|
+
* Invalid limit, or `INVALID_PARAMS` from the service for a page cursor it did not issue (RFC 9457 problem).
|
|
78525
79701
|
*/
|
|
78526
79702
|
400: unknown;
|
|
78527
79703
|
/**
|
|
78528
79704
|
* Missing or invalid credential (RFC 9457 problem).
|
|
78529
79705
|
*/
|
|
78530
79706
|
401: unknown;
|
|
79707
|
+
/**
|
|
79708
|
+
* 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.
|
|
79709
|
+
*/
|
|
79710
|
+
502: unknown;
|
|
78531
79711
|
};
|
|
78532
79712
|
export type ListOrganizationNotificationDeliveriesResponses = {
|
|
78533
79713
|
/**
|
|
@@ -79794,6 +80974,23 @@ export type ListByodDevicesResponses = {
|
|
|
79794
80974
|
* The absolute directories a desktop registered for agent sessions with its last hello; a session may only start in one of these. Empty for a phone and for a desktop that has not connected yet.
|
|
79795
80975
|
*/
|
|
79796
80976
|
agent_dirs: Array<string>;
|
|
80977
|
+
/**
|
|
80978
|
+
* Which agent each registered directory is bound to, as the desktop's last hello reported. Empty for a phone and for a desktop that has not connected yet.
|
|
80979
|
+
*/
|
|
80980
|
+
agent_bindings: Array<{
|
|
80981
|
+
/**
|
|
80982
|
+
* The absolute directory the desktop bound to an agent with praxis agent connect.
|
|
80983
|
+
*/
|
|
80984
|
+
dir: string;
|
|
80985
|
+
/**
|
|
80986
|
+
* The agent the directory is bound to: its identity number or its agent id.
|
|
80987
|
+
*/
|
|
80988
|
+
agent: string;
|
|
80989
|
+
}>;
|
|
80990
|
+
/**
|
|
80991
|
+
* The version of the envd on the desktop, as its last hello reported. Null for a phone, for a desktop that has not connected yet, and for an envd that sent no version.
|
|
80992
|
+
*/
|
|
80993
|
+
envd_version: string | null;
|
|
79797
80994
|
/**
|
|
79798
80995
|
* Whether the desktop's envd lets a platform session run in bypassPermissions (all tool calls without asking). True unless the person ran praxis connect agent --no-bypass on that machine; a session create that asks for bypassPermissions on a device where this is false answers 400 INVALID_PARAMS. False for a phone and for a desktop that has not connected yet.
|
|
79799
80996
|
*/
|
|
@@ -79876,6 +81073,23 @@ export type GetByodDeviceResponses = {
|
|
|
79876
81073
|
* The absolute directories a desktop registered for agent sessions with its last hello; a session may only start in one of these. Empty for a phone and for a desktop that has not connected yet.
|
|
79877
81074
|
*/
|
|
79878
81075
|
agent_dirs: Array<string>;
|
|
81076
|
+
/**
|
|
81077
|
+
* Which agent each registered directory is bound to, as the desktop's last hello reported. Empty for a phone and for a desktop that has not connected yet.
|
|
81078
|
+
*/
|
|
81079
|
+
agent_bindings: Array<{
|
|
81080
|
+
/**
|
|
81081
|
+
* The absolute directory the desktop bound to an agent with praxis agent connect.
|
|
81082
|
+
*/
|
|
81083
|
+
dir: string;
|
|
81084
|
+
/**
|
|
81085
|
+
* The agent the directory is bound to: its identity number or its agent id.
|
|
81086
|
+
*/
|
|
81087
|
+
agent: string;
|
|
81088
|
+
}>;
|
|
81089
|
+
/**
|
|
81090
|
+
* The version of the envd on the desktop, as its last hello reported. Null for a phone, for a desktop that has not connected yet, and for an envd that sent no version.
|
|
81091
|
+
*/
|
|
81092
|
+
envd_version: string | null;
|
|
79879
81093
|
/**
|
|
79880
81094
|
* Whether the desktop's envd lets a platform session run in bypassPermissions (all tool calls without asking). True unless the person ran praxis connect agent --no-bypass on that machine; a session create that asks for bypassPermissions on a device where this is false answers 400 INVALID_PARAMS. False for a phone and for a desktop that has not connected yet.
|
|
79881
81095
|
*/
|
|
@@ -79969,6 +81183,23 @@ export type UpdateByodDeviceResponses = {
|
|
|
79969
81183
|
* The absolute directories a desktop registered for agent sessions with its last hello; a session may only start in one of these. Empty for a phone and for a desktop that has not connected yet.
|
|
79970
81184
|
*/
|
|
79971
81185
|
agent_dirs: Array<string>;
|
|
81186
|
+
/**
|
|
81187
|
+
* Which agent each registered directory is bound to, as the desktop's last hello reported. Empty for a phone and for a desktop that has not connected yet.
|
|
81188
|
+
*/
|
|
81189
|
+
agent_bindings: Array<{
|
|
81190
|
+
/**
|
|
81191
|
+
* The absolute directory the desktop bound to an agent with praxis agent connect.
|
|
81192
|
+
*/
|
|
81193
|
+
dir: string;
|
|
81194
|
+
/**
|
|
81195
|
+
* The agent the directory is bound to: its identity number or its agent id.
|
|
81196
|
+
*/
|
|
81197
|
+
agent: string;
|
|
81198
|
+
}>;
|
|
81199
|
+
/**
|
|
81200
|
+
* The version of the envd on the desktop, as its last hello reported. Null for a phone, for a desktop that has not connected yet, and for an envd that sent no version.
|
|
81201
|
+
*/
|
|
81202
|
+
envd_version: string | null;
|
|
79972
81203
|
/**
|
|
79973
81204
|
* Whether the desktop's envd lets a platform session run in bypassPermissions (all tool calls without asking). True unless the person ran praxis connect agent --no-bypass on that machine; a session create that asks for bypassPermissions on a device where this is false answers 400 INVALID_PARAMS. False for a phone and for a desktop that has not connected yet.
|
|
79974
81205
|
*/
|
|
@@ -83262,6 +84493,15 @@ export type AgentsListResponses = {
|
|
|
83262
84493
|
name: string;
|
|
83263
84494
|
}>;
|
|
83264
84495
|
};
|
|
84496
|
+
/**
|
|
84497
|
+
* ADR-205: which browser the agent drives. {byob: byb_…} names one of your organization's paired browsers (browser.byob.browsers.list), which the agent then drives through connect() instead of a cloud browser; null or absent is the cloud browser. The browser must belong to your organization (otherwise 400) and must grant this agent before a session can open it. Omit on update to keep it, send an object to replace it, or null to go back to the cloud browser. /agent/v1 only.
|
|
84498
|
+
*/
|
|
84499
|
+
browser?: {
|
|
84500
|
+
/**
|
|
84501
|
+
* A paired browser's id (byb_ and 26 lowercase hex characters), from browser.byob.browsers.list.
|
|
84502
|
+
*/
|
|
84503
|
+
byob: string;
|
|
84504
|
+
} | null;
|
|
83265
84505
|
/**
|
|
83266
84506
|
* Praxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. computer_id selects a tenant-owned active computer. Session selection overrides the agent default; a sandbox environment_id and computer_id cannot be combined. Omitted when no computer is selected.
|
|
83267
84507
|
*/
|
|
@@ -84211,6 +85451,15 @@ export type AgentsCreateData = {
|
|
|
84211
85451
|
name: string;
|
|
84212
85452
|
}>;
|
|
84213
85453
|
};
|
|
85454
|
+
/**
|
|
85455
|
+
* ADR-205: which browser the agent drives. {byob: byb_…} names one of your organization's paired browsers (browser.byob.browsers.list), which the agent then drives through connect() instead of a cloud browser; null or absent is the cloud browser. The browser must belong to your organization (otherwise 400) and must grant this agent before a session can open it. Omit on update to keep it, send an object to replace it, or null to go back to the cloud browser. /agent/v1 only.
|
|
85456
|
+
*/
|
|
85457
|
+
browser?: {
|
|
85458
|
+
/**
|
|
85459
|
+
* A paired browser's id (byb_ and 26 lowercase hex characters), from browser.byob.browsers.list.
|
|
85460
|
+
*/
|
|
85461
|
+
byob: string;
|
|
85462
|
+
} | null;
|
|
84214
85463
|
/**
|
|
84215
85464
|
* Optional tool preset. minimal enables read, glob and grep; data-editor also enables write and edit; full uses the default toolset with always_allow. Explicit tools override matching preset entries. codemode requires bash and is absent from data-editor.
|
|
84216
85465
|
*/
|
|
@@ -84466,6 +85715,15 @@ export type AgentsCreateResponses = {
|
|
|
84466
85715
|
name: string;
|
|
84467
85716
|
}>;
|
|
84468
85717
|
};
|
|
85718
|
+
/**
|
|
85719
|
+
* ADR-205: which browser the agent drives. {byob: byb_…} names one of your organization's paired browsers (browser.byob.browsers.list), which the agent then drives through connect() instead of a cloud browser; null or absent is the cloud browser. The browser must belong to your organization (otherwise 400) and must grant this agent before a session can open it. Omit on update to keep it, send an object to replace it, or null to go back to the cloud browser. /agent/v1 only.
|
|
85720
|
+
*/
|
|
85721
|
+
browser?: {
|
|
85722
|
+
/**
|
|
85723
|
+
* A paired browser's id (byb_ and 26 lowercase hex characters), from browser.byob.browsers.list.
|
|
85724
|
+
*/
|
|
85725
|
+
byob: string;
|
|
85726
|
+
} | null;
|
|
84469
85727
|
/**
|
|
84470
85728
|
* Praxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. computer_id selects a tenant-owned active computer. Session selection overrides the agent default; a sandbox environment_id and computer_id cannot be combined. Omitted when no computer is selected.
|
|
84471
85729
|
*/
|
|
@@ -85128,6 +86386,15 @@ export type AgentsRetrieveResponses = {
|
|
|
85128
86386
|
name: string;
|
|
85129
86387
|
}>;
|
|
85130
86388
|
};
|
|
86389
|
+
/**
|
|
86390
|
+
* ADR-205: which browser the agent drives. {byob: byb_…} names one of your organization's paired browsers (browser.byob.browsers.list), which the agent then drives through connect() instead of a cloud browser; null or absent is the cloud browser. The browser must belong to your organization (otherwise 400) and must grant this agent before a session can open it. Omit on update to keep it, send an object to replace it, or null to go back to the cloud browser. /agent/v1 only.
|
|
86391
|
+
*/
|
|
86392
|
+
browser?: {
|
|
86393
|
+
/**
|
|
86394
|
+
* A paired browser's id (byb_ and 26 lowercase hex characters), from browser.byob.browsers.list.
|
|
86395
|
+
*/
|
|
86396
|
+
byob: string;
|
|
86397
|
+
} | null;
|
|
85131
86398
|
/**
|
|
85132
86399
|
* Praxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. computer_id selects a tenant-owned active computer. Session selection overrides the agent default; a sandbox environment_id and computer_id cannot be combined. Omitted when no computer is selected.
|
|
85133
86400
|
*/
|
|
@@ -86086,6 +87353,15 @@ export type AgentsUpdateData = {
|
|
|
86086
87353
|
name: string;
|
|
86087
87354
|
}>;
|
|
86088
87355
|
};
|
|
87356
|
+
/**
|
|
87357
|
+
* ADR-205: which browser the agent drives. {byob: byb_…} names one of your organization's paired browsers (browser.byob.browsers.list), which the agent then drives through connect() instead of a cloud browser; null or absent is the cloud browser. The browser must belong to your organization (otherwise 400) and must grant this agent before a session can open it. Omit on update to keep it, send an object to replace it, or null to go back to the cloud browser. /agent/v1 only.
|
|
87358
|
+
*/
|
|
87359
|
+
browser?: {
|
|
87360
|
+
/**
|
|
87361
|
+
* A paired browser's id (byb_ and 26 lowercase hex characters), from browser.byob.browsers.list.
|
|
87362
|
+
*/
|
|
87363
|
+
byob: string;
|
|
87364
|
+
} | null;
|
|
86089
87365
|
/**
|
|
86090
87366
|
* Optional tool preset. minimal enables read, glob and grep; data-editor also enables write and edit; full uses the default toolset with always_allow. Explicit tools override matching preset entries. codemode requires bash and is absent from data-editor.
|
|
86091
87367
|
*/
|
|
@@ -86354,6 +87630,15 @@ export type AgentsUpdateResponses = {
|
|
|
86354
87630
|
name: string;
|
|
86355
87631
|
}>;
|
|
86356
87632
|
};
|
|
87633
|
+
/**
|
|
87634
|
+
* ADR-205: which browser the agent drives. {byob: byb_…} names one of your organization's paired browsers (browser.byob.browsers.list), which the agent then drives through connect() instead of a cloud browser; null or absent is the cloud browser. The browser must belong to your organization (otherwise 400) and must grant this agent before a session can open it. Omit on update to keep it, send an object to replace it, or null to go back to the cloud browser. /agent/v1 only.
|
|
87635
|
+
*/
|
|
87636
|
+
browser?: {
|
|
87637
|
+
/**
|
|
87638
|
+
* A paired browser's id (byb_ and 26 lowercase hex characters), from browser.byob.browsers.list.
|
|
87639
|
+
*/
|
|
87640
|
+
byob: string;
|
|
87641
|
+
} | null;
|
|
86357
87642
|
/**
|
|
86358
87643
|
* Praxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. computer_id selects a tenant-owned active computer. Session selection overrides the agent default; a sandbox environment_id and computer_id cannot be combined. Omitted when no computer is selected.
|
|
86359
87644
|
*/
|
|
@@ -87642,6 +88927,15 @@ export type AgentsVersionsListResponses = {
|
|
|
87642
88927
|
name: string;
|
|
87643
88928
|
}>;
|
|
87644
88929
|
};
|
|
88930
|
+
/**
|
|
88931
|
+
* ADR-205: which browser the agent drives. {byob: byb_…} names one of your organization's paired browsers (browser.byob.browsers.list), which the agent then drives through connect() instead of a cloud browser; null or absent is the cloud browser. The browser must belong to your organization (otherwise 400) and must grant this agent before a session can open it. Omit on update to keep it, send an object to replace it, or null to go back to the cloud browser. /agent/v1 only.
|
|
88932
|
+
*/
|
|
88933
|
+
browser?: {
|
|
88934
|
+
/**
|
|
88935
|
+
* A paired browser's id (byb_ and 26 lowercase hex characters), from browser.byob.browsers.list.
|
|
88936
|
+
*/
|
|
88937
|
+
byob: string;
|
|
88938
|
+
} | null;
|
|
87645
88939
|
/**
|
|
87646
88940
|
* Praxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. computer_id selects a tenant-owned active computer. Session selection overrides the agent default; a sandbox environment_id and computer_id cannot be combined. Omitted when no computer is selected.
|
|
87647
88941
|
*/
|
|
@@ -90424,6 +91718,31 @@ export type SessionsEventsListResponses = {
|
|
|
90424
91718
|
* 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
91719
|
*/
|
|
90426
91720
|
session_thread_id?: string | null;
|
|
91721
|
+
} | {
|
|
91722
|
+
/**
|
|
91723
|
+
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
91724
|
+
*/
|
|
91725
|
+
id: string;
|
|
91726
|
+
/**
|
|
91727
|
+
* Always `session.status_preparing`. A device session's local agent is starting; stage says how far it got.
|
|
91728
|
+
*/
|
|
91729
|
+
type: 'session.status_preparing';
|
|
91730
|
+
/**
|
|
91731
|
+
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
91732
|
+
*/
|
|
91733
|
+
processed_at: string;
|
|
91734
|
+
/**
|
|
91735
|
+
* How far the start got.
|
|
91736
|
+
*/
|
|
91737
|
+
stage: 'launching' | 'loading' | 'ready';
|
|
91738
|
+
/**
|
|
91739
|
+
* 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.
|
|
91740
|
+
*/
|
|
91741
|
+
message_id?: string;
|
|
91742
|
+
/**
|
|
91743
|
+
* 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.
|
|
91744
|
+
*/
|
|
91745
|
+
session_thread_id?: string | null;
|
|
90427
91746
|
}>;
|
|
90428
91747
|
/**
|
|
90429
91748
|
* Opaque cursor for the next page: pass it unchanged as page to continue. Null when this is the last page.
|
|
@@ -92146,6 +93465,31 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
92146
93465
|
* 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
93466
|
*/
|
|
92148
93467
|
session_thread_id?: string | null;
|
|
93468
|
+
} | {
|
|
93469
|
+
/**
|
|
93470
|
+
* Event id, unique within the session. Use it to refer to this event, for example in user.tool_confirmation or user.steer.
|
|
93471
|
+
*/
|
|
93472
|
+
id: string;
|
|
93473
|
+
/**
|
|
93474
|
+
* Always `session.status_preparing`. A device session's local agent is starting; stage says how far it got.
|
|
93475
|
+
*/
|
|
93476
|
+
type: 'session.status_preparing';
|
|
93477
|
+
/**
|
|
93478
|
+
* RFC 3339 time at which the server processed the event; null while a queued input has not started running.
|
|
93479
|
+
*/
|
|
93480
|
+
processed_at: string;
|
|
93481
|
+
/**
|
|
93482
|
+
* How far the start got.
|
|
93483
|
+
*/
|
|
93484
|
+
stage: 'launching' | 'loading' | 'ready';
|
|
93485
|
+
/**
|
|
93486
|
+
* 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.
|
|
93487
|
+
*/
|
|
93488
|
+
message_id?: string;
|
|
93489
|
+
/**
|
|
93490
|
+
* 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.
|
|
93491
|
+
*/
|
|
93492
|
+
session_thread_id?: string | null;
|
|
92149
93493
|
}>;
|
|
92150
93494
|
/**
|
|
92151
93495
|
* Opaque cursor for the next page: pass it unchanged as page to continue. Null when this is the last page.
|
|
@@ -110984,6 +112328,51 @@ export type DevopsChangesMarkLastSliceResponses = {
|
|
|
110984
112328
|
200: DevopsChange;
|
|
110985
112329
|
};
|
|
110986
112330
|
export type DevopsChangesMarkLastSliceResponse = DevopsChangesMarkLastSliceResponses[keyof DevopsChangesMarkLastSliceResponses];
|
|
112331
|
+
export type DevopsChangesSlicesCreateData = {
|
|
112332
|
+
body?: DevopsChangeSliceCreateRequest;
|
|
112333
|
+
path: {
|
|
112334
|
+
/**
|
|
112335
|
+
* Identifies the project whose data you are reading, from the project list or create answer.
|
|
112336
|
+
*/
|
|
112337
|
+
project: string;
|
|
112338
|
+
/**
|
|
112339
|
+
* 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.
|
|
112340
|
+
*/
|
|
112341
|
+
change: string;
|
|
112342
|
+
};
|
|
112343
|
+
query?: never;
|
|
112344
|
+
url: '/devops/v1/projects/{project}/changes/{change}/slices';
|
|
112345
|
+
};
|
|
112346
|
+
export type DevopsChangesSlicesCreateErrors = {
|
|
112347
|
+
/**
|
|
112348
|
+
* 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.
|
|
112349
|
+
*/
|
|
112350
|
+
400: DevopsDevOpsError;
|
|
112351
|
+
/**
|
|
112352
|
+
* The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
|
|
112353
|
+
*/
|
|
112354
|
+
401: DevopsDevOpsError;
|
|
112355
|
+
/**
|
|
112356
|
+
* 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.
|
|
112357
|
+
*/
|
|
112358
|
+
403: DevopsDevOpsError;
|
|
112359
|
+
/**
|
|
112360
|
+
* 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.
|
|
112361
|
+
*/
|
|
112362
|
+
404: DevopsDevOpsError;
|
|
112363
|
+
/**
|
|
112364
|
+
* 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.
|
|
112365
|
+
*/
|
|
112366
|
+
500: DevopsDevOpsError;
|
|
112367
|
+
};
|
|
112368
|
+
export type DevopsChangesSlicesCreateError = DevopsChangesSlicesCreateErrors[keyof DevopsChangesSlicesCreateErrors];
|
|
112369
|
+
export type DevopsChangesSlicesCreateResponses = {
|
|
112370
|
+
/**
|
|
112371
|
+
* 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.
|
|
112372
|
+
*/
|
|
112373
|
+
200: DevopsChangeSliceOpened;
|
|
112374
|
+
};
|
|
112375
|
+
export type DevopsChangesSlicesCreateResponse = DevopsChangesSlicesCreateResponses[keyof DevopsChangesSlicesCreateResponses];
|
|
110987
112376
|
export type DevopsChangesOpenPullRequestData = {
|
|
110988
112377
|
body?: DevopsChangeOpenPullRequestRequest;
|
|
110989
112378
|
path: {
|