@deepraxis/sdk 0.2.0-dev.21a04ef → 0.2.0-dev.2ba4359
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 +12 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +53 -17
- package/dist/generated/sdk.gen.js +132 -16
- package/dist/generated/types.gen.d.ts +857 -88
- package/dist/helpers/browser-connect-error.d.ts +1 -1
- package/dist/helpers/browser-connect-error.js +1 -1
- package/dist/helpers/browser-documentation.d.ts +1 -1
- package/dist/helpers/browser-documentation.js +1 -1
- package/dist/operations.generated.js +242 -45
- package/dist/resources.generated.d.ts +56 -0
- package/dist/resources.generated.js +8 -0
- package/package.json +1 -1
|
@@ -3609,7 +3609,7 @@ export type BrowserSessionCreateParams = {
|
|
|
3609
3609
|
*/
|
|
3610
3610
|
projectId?: string;
|
|
3611
3611
|
/**
|
|
3612
|
-
* 谁能看到这个新会话:默认 private 只有创建者;organization
|
|
3612
|
+
* 谁能看到这个新会话:默认 private 只有创建者;organization 允许同组织其他成员只读观看画面。自带浏览器(source.type 为 byob)的会话一律是 organization,传 private 也会被改成 organization,不报错。
|
|
3613
3613
|
*/
|
|
3614
3614
|
visibility?: 'private' | 'organization';
|
|
3615
3615
|
/**
|
|
@@ -3696,11 +3696,48 @@ export type BrowserSessionCreateParams = {
|
|
|
3696
3696
|
ignoreCertificateErrors?: boolean;
|
|
3697
3697
|
};
|
|
3698
3698
|
/**
|
|
3699
|
-
*
|
|
3699
|
+
* 让会话经一个固定的外部 HTTP 代理(如住宅 IP)出网:[{type: 'external', server: 'host:port', username?, password_secret?}];省略、false 或 [{type: 'none'}] 表示不用代理。只能有一个代理条目;密码推荐用 password_secret 引用保管库(只在连接代理主机时兑换),也可以直接给明文 password,二者不能同时出现。带代理的会话一定在我们的 Chrome 容器里运行,需要组织已开通容器后端,否则返回 501 PROVIDER_UNSUPPORTED;不能与 source.type 为 cloud 或 byob 同用,返回 400 INVALID_PARAMS(格式错误、私网地址、用户名没有密码等同样返回 400,reason 写明原因)。其它代理类型和 socks5 返回 501 PROVIDER_UNSUPPORTED。要让某个账号始终从同一个出口地址出去,把代理绑定在登录态上(contexts 的 proxy),不必每次会话重复传。
|
|
3700
3700
|
*/
|
|
3701
|
-
proxies?: boolean |
|
|
3701
|
+
proxies?: boolean | [
|
|
3702
|
+
{
|
|
3703
|
+
/**
|
|
3704
|
+
* 固定为 external:经一个你自己的外部 HTTP 代理出网。
|
|
3705
|
+
*/
|
|
3706
|
+
type: 'external';
|
|
3707
|
+
/**
|
|
3708
|
+
* 代理地址,host:port 或 http://host:port;只支持 HTTP 代理,不接受 socks5:// 等协议,也不接受 localhost 和内网、链路本地地址。
|
|
3709
|
+
*/
|
|
3710
|
+
server: string;
|
|
3711
|
+
/**
|
|
3712
|
+
* 代理用户名;有密码时才能填,填了就必须同时给出密码。
|
|
3713
|
+
*/
|
|
3714
|
+
username?: string;
|
|
3715
|
+
/**
|
|
3716
|
+
* 代理密码明文,只在这次创建中使用,不会保存;推荐改用 password_secret。与 password_secret 二选一。
|
|
3717
|
+
*/
|
|
3718
|
+
password?: string;
|
|
3719
|
+
/**
|
|
3720
|
+
* 推荐:引用保管库里的代理密码,只在连接这个代理的主机时兑换,不会交给网页。与 password 二选一。
|
|
3721
|
+
*/
|
|
3722
|
+
password_secret?: {
|
|
3723
|
+
/**
|
|
3724
|
+
* 保存代理密码的保管库 ID,以 vlt_ 开头。
|
|
3725
|
+
*/
|
|
3726
|
+
vault_id: string;
|
|
3727
|
+
/**
|
|
3728
|
+
* 保管库中该密码的密钥 ID(不是密码本身)。
|
|
3729
|
+
*/
|
|
3730
|
+
secret: string;
|
|
3731
|
+
};
|
|
3732
|
+
} | {
|
|
3733
|
+
/**
|
|
3734
|
+
* 固定为 none:不用代理,与省略 proxies 相同。
|
|
3735
|
+
*/
|
|
3736
|
+
type: 'none';
|
|
3737
|
+
}
|
|
3738
|
+
];
|
|
3702
3739
|
/**
|
|
3703
|
-
*
|
|
3740
|
+
* 选择浏览器后端,只有 container 支持外部代理:cloud(Browser Run)和 byob 都不能用代理。{type: 'cloud'}:Browser Run,启动最快、不能用代理、自动化特征可被网站发现。{type: 'container'}:我们自己的 Chrome 容器,可带 proxies(或用登录态绑定的代理),也可不带;组织未开通容器后端时返回 501 PROVIDER_UNSUPPORTED。{type: 'byob', browser: 'byb_…'}:用户自己配对的浏览器,不能与 proxies 或登录态同用。简写 {byob: 'byb_…'} 等同最后一种。省略时按旧规则:带 proxies 进容器,否则 Browser Run。cloud 加代理、未知 type、格式错误都返回 400 INVALID_PARAMS。
|
|
3704
3741
|
*/
|
|
3705
3742
|
source?: {
|
|
3706
3743
|
/**
|
|
@@ -3774,7 +3811,7 @@ export type BrowserSessionCreateResult = {
|
|
|
3774
3811
|
*/
|
|
3775
3812
|
region: 'ap-southeast-1';
|
|
3776
3813
|
/**
|
|
3777
|
-
*
|
|
3814
|
+
* 会话经代理链转发的流量字节数(上行与下行之和),容器后端的会话按它计费;Browser Run 和自带浏览器固定为 0,运行中每几分钟更新一次。
|
|
3778
3815
|
*/
|
|
3779
3816
|
proxyBytes: number;
|
|
3780
3817
|
/**
|
|
@@ -3931,7 +3968,7 @@ export type BrowserError = {
|
|
|
3931
3968
|
statusCode: number;
|
|
3932
3969
|
error: string;
|
|
3933
3970
|
message: string;
|
|
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' | '
|
|
3971
|
+
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_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';
|
|
3935
3972
|
};
|
|
3936
3973
|
export type BrowserSession = {
|
|
3937
3974
|
/**
|
|
@@ -3955,7 +3992,7 @@ export type BrowserSession = {
|
|
|
3955
3992
|
*/
|
|
3956
3993
|
region: 'ap-southeast-1';
|
|
3957
3994
|
/**
|
|
3958
|
-
*
|
|
3995
|
+
* 会话经代理链转发的流量字节数(上行与下行之和),容器后端的会话按它计费;Browser Run 和自带浏览器固定为 0,运行中每几分钟更新一次。
|
|
3959
3996
|
*/
|
|
3960
3997
|
proxyBytes: number;
|
|
3961
3998
|
/**
|
|
@@ -4114,7 +4151,7 @@ export type BrowserSessionGetResult = {
|
|
|
4114
4151
|
*/
|
|
4115
4152
|
region: 'ap-southeast-1';
|
|
4116
4153
|
/**
|
|
4117
|
-
*
|
|
4154
|
+
* 会话经代理链转发的流量字节数(上行与下行之和),容器后端的会话按它计费;Browser Run 和自带浏览器固定为 0,运行中每几分钟更新一次。
|
|
4118
4155
|
*/
|
|
4119
4156
|
proxyBytes: number;
|
|
4120
4157
|
/**
|
|
@@ -4270,11 +4307,11 @@ export type BrowserSessionGetResult = {
|
|
|
4270
4307
|
*/
|
|
4271
4308
|
export type BrowserSessionLiveUrls = {
|
|
4272
4309
|
/**
|
|
4273
|
-
*
|
|
4310
|
+
* 与 debuggerUrl 相同:会话在 Console 的会话页地址。
|
|
4274
4311
|
*/
|
|
4275
4312
|
debuggerFullscreenUrl: string;
|
|
4276
4313
|
/**
|
|
4277
|
-
*
|
|
4314
|
+
* 会话在 Console 的会话页地址,发给人观看或接管。打开的人须登录 Console 且属于会话所在组织;会话创建者或在接管请求有效期内的组织成员可以点「接管」直接点击、拖动和输入,其他成员只读观看。地址不带凭证,不能嵌入 iframe。
|
|
4278
4315
|
*/
|
|
4279
4316
|
debuggerUrl: string;
|
|
4280
4317
|
/**
|
|
@@ -4302,11 +4339,11 @@ export type BrowserSessionLiveUrls = {
|
|
|
4302
4339
|
*/
|
|
4303
4340
|
faviconUrl: string;
|
|
4304
4341
|
/**
|
|
4305
|
-
*
|
|
4342
|
+
* 会话在 Console 的会话页地址,与会话级 debuggerUrl 相同。
|
|
4306
4343
|
*/
|
|
4307
4344
|
debuggerUrl: string;
|
|
4308
4345
|
/**
|
|
4309
|
-
*
|
|
4346
|
+
* 与该页 debuggerUrl 相同。
|
|
4310
4347
|
*/
|
|
4311
4348
|
debuggerFullscreenUrl: string;
|
|
4312
4349
|
}>;
|
|
@@ -4390,6 +4427,36 @@ export type BrowserContextCreateResult = {
|
|
|
4390
4427
|
* UTC timestamp when a session last started with this context; absent if it has never been used.
|
|
4391
4428
|
*/
|
|
4392
4429
|
lastUsedAt?: string;
|
|
4430
|
+
/**
|
|
4431
|
+
* 登录态绑定的固定外部代理(只含保管库引用,不含密码);没有绑定时省略。
|
|
4432
|
+
*/
|
|
4433
|
+
proxy?: {
|
|
4434
|
+
/**
|
|
4435
|
+
* 固定为 external:经一个你自己的外部 HTTP 代理出网。
|
|
4436
|
+
*/
|
|
4437
|
+
type: 'external';
|
|
4438
|
+
/**
|
|
4439
|
+
* 代理地址,host:port 或 http://host:port;只支持 HTTP 代理,不接受 socks5:// 等协议,也不接受 localhost 和内网、链路本地地址。
|
|
4440
|
+
*/
|
|
4441
|
+
server: string;
|
|
4442
|
+
/**
|
|
4443
|
+
* 代理用户名;有密码时才能填,填了就必须同时给出密码。
|
|
4444
|
+
*/
|
|
4445
|
+
username?: string;
|
|
4446
|
+
/**
|
|
4447
|
+
* 必须用这种形式:引用保管库里的代理密码,只在连接这个代理的主机时兑换,不会交给网页。登录态里只存引用,传明文 password 返回 400 INVALID_PARAMS。
|
|
4448
|
+
*/
|
|
4449
|
+
password_secret?: {
|
|
4450
|
+
/**
|
|
4451
|
+
* 保存代理密码的保管库 ID,以 vlt_ 开头。
|
|
4452
|
+
*/
|
|
4453
|
+
vault_id: string;
|
|
4454
|
+
/**
|
|
4455
|
+
* 保管库中该密码的密钥 ID(不是密码本身)。
|
|
4456
|
+
*/
|
|
4457
|
+
secret: string;
|
|
4458
|
+
};
|
|
4459
|
+
};
|
|
4393
4460
|
/**
|
|
4394
4461
|
* Empty compatibility field; context encryption keys are held by the server.
|
|
4395
4462
|
*/
|
|
@@ -4450,6 +4517,36 @@ export type BrowserContext = {
|
|
|
4450
4517
|
* UTC timestamp when a session last started with this context; absent if it has never been used.
|
|
4451
4518
|
*/
|
|
4452
4519
|
lastUsedAt?: string;
|
|
4520
|
+
/**
|
|
4521
|
+
* 登录态绑定的固定外部代理(只含保管库引用,不含密码);没有绑定时省略。
|
|
4522
|
+
*/
|
|
4523
|
+
proxy?: {
|
|
4524
|
+
/**
|
|
4525
|
+
* 固定为 external:经一个你自己的外部 HTTP 代理出网。
|
|
4526
|
+
*/
|
|
4527
|
+
type: 'external';
|
|
4528
|
+
/**
|
|
4529
|
+
* 代理地址,host:port 或 http://host:port;只支持 HTTP 代理,不接受 socks5:// 等协议,也不接受 localhost 和内网、链路本地地址。
|
|
4530
|
+
*/
|
|
4531
|
+
server: string;
|
|
4532
|
+
/**
|
|
4533
|
+
* 代理用户名;有密码时才能填,填了就必须同时给出密码。
|
|
4534
|
+
*/
|
|
4535
|
+
username?: string;
|
|
4536
|
+
/**
|
|
4537
|
+
* 必须用这种形式:引用保管库里的代理密码,只在连接这个代理的主机时兑换,不会交给网页。登录态里只存引用,传明文 password 返回 400 INVALID_PARAMS。
|
|
4538
|
+
*/
|
|
4539
|
+
password_secret?: {
|
|
4540
|
+
/**
|
|
4541
|
+
* 保存代理密码的保管库 ID,以 vlt_ 开头。
|
|
4542
|
+
*/
|
|
4543
|
+
vault_id: string;
|
|
4544
|
+
/**
|
|
4545
|
+
* 保管库中该密码的密钥 ID(不是密码本身)。
|
|
4546
|
+
*/
|
|
4547
|
+
secret: string;
|
|
4548
|
+
};
|
|
4549
|
+
};
|
|
4453
4550
|
};
|
|
4454
4551
|
export type BrowserByobPairing = {
|
|
4455
4552
|
/**
|
|
@@ -4490,14 +4587,6 @@ export type BrowserByobBrowser = {
|
|
|
4490
4587
|
* 配对用的扩展 ID。
|
|
4491
4588
|
*/
|
|
4492
4589
|
extension_id: string;
|
|
4493
|
-
/**
|
|
4494
|
-
* 被授权驱动这个浏览器的智能体 ID 列表;智能体不在列表里时不能打开它的会话。空数组表示没有智能体被授权。
|
|
4495
|
-
*/
|
|
4496
|
-
granted_agents: Array<string>;
|
|
4497
|
-
/**
|
|
4498
|
-
* 允许智能体访问的站点列表;空数组表示不限制 http(s) 站点。这是护栏,不是数据边界。
|
|
4499
|
-
*/
|
|
4500
|
-
allowed_sites: Array<string>;
|
|
4501
4590
|
/**
|
|
4502
4591
|
* 扩展的连接当前是否在线;连接对象上线之前固定为 false。
|
|
4503
4592
|
*/
|
|
@@ -13750,7 +13839,7 @@ export type AutomationHumanTask = {
|
|
|
13750
13839
|
*/
|
|
13751
13840
|
initiator: {
|
|
13752
13841
|
/**
|
|
13753
|
-
* Initiator type: user, api_key, agent, run (a parent run) or
|
|
13842
|
+
* Initiator type: user, api_key, agent, run (a parent run), trigger or application.
|
|
13754
13843
|
*/
|
|
13755
13844
|
type: 'user' | 'api_key' | 'agent' | 'run' | 'trigger';
|
|
13756
13845
|
/**
|
|
@@ -35011,6 +35100,14 @@ export type SandboxSandboxNetworkConfig = {
|
|
|
35011
35100
|
rules?: {
|
|
35012
35101
|
[key: string]: Array<SandboxSandboxNetworkRule>;
|
|
35013
35102
|
};
|
|
35103
|
+
/**
|
|
35104
|
+
* Own face, persistent sandboxes only (autoPause: true, or ephemeral: false): true gives the sandbox one fixed public egress IP for its whole life, held through pause and resume and released when the sandbox is deleted. Without it the egress IP is not stable: it changes when a spot machine is reclaimed, when a paused machine starts again, and when the machine is rebuilt. An ephemeral sandbox returns INVALID_PARAMS; the E2B face refuses the field; it is placed only on capacity that declares static IPs, and without such capacity the create does not start (it never falls back to a changing IP). Billed as the usage item sandbox:public_ip:hours from allocation to release, paused time included, plus outbound traffic as usual.
|
|
35105
|
+
*/
|
|
35106
|
+
staticEgressIp?: boolean;
|
|
35107
|
+
/**
|
|
35108
|
+
* Own face, read-only: the fixed public egress IP of a sandbox created with staticEgressIp: true, present once the machine has bound it; add this address to the IP allowlist of the service you call (for example a WeCom trusted IP list). Absent on a sandbox that did not ask for a static IP, because its public address can change.
|
|
35109
|
+
*/
|
|
35110
|
+
readonly egressIp?: string;
|
|
35014
35111
|
};
|
|
35015
35112
|
/**
|
|
35016
35113
|
* Sandbox lifecycle policy returned by sandbox info.
|
|
@@ -36721,11 +36818,11 @@ export type AutomationActionHost = 'builtin' | 'isolate' | 'sandbox';
|
|
|
36721
36818
|
*/
|
|
36722
36819
|
export type AutomationSubject = {
|
|
36723
36820
|
/**
|
|
36724
|
-
* Principal type. user is a signed-in user; api_key is a platform API key; agent is an agent; run is an action performed by a run itself (for example a parent run); trigger is a trigger.
|
|
36821
|
+
* Principal type. user is a signed-in user; api_key is a platform API key; agent is an agent; run is an action performed by a run itself (for example a parent run); trigger is a trigger; application is an application.
|
|
36725
36822
|
*/
|
|
36726
36823
|
type: 'user' | 'api_key' | 'agent' | 'run' | 'trigger';
|
|
36727
36824
|
/**
|
|
36728
|
-
* Principal identifier whose meaning follows type: a user, API key, agent, run or
|
|
36825
|
+
* Principal identifier whose meaning follows type: a user, API key, agent, run, trigger or application id. Treat it as an opaque string.
|
|
36729
36826
|
*/
|
|
36730
36827
|
id: string;
|
|
36731
36828
|
};
|
|
@@ -40284,6 +40381,10 @@ export type DevopsUnitGit = {
|
|
|
40284
40381
|
* The ref holding the unit's work in progress, or null when none was recorded.
|
|
40285
40382
|
*/
|
|
40286
40383
|
wipRef: string | null;
|
|
40384
|
+
/**
|
|
40385
|
+
* The branch's head on the remote as of the last fetch: the value units push wants as expectedHead. Absent before the first observation or when the branch has no upstream. Call fetch first when someone else may have pushed.
|
|
40386
|
+
*/
|
|
40387
|
+
remoteHead?: string;
|
|
40287
40388
|
/**
|
|
40288
40389
|
* RFC 3339 UTC time these facts were observed, or null before the first observation.
|
|
40289
40390
|
*/
|
|
@@ -48147,7 +48248,7 @@ export type DevopsPlannedSkip = {
|
|
|
48147
48248
|
/**
|
|
48148
48249
|
* Why it is left out, which is what tells a deliberate skip apart from an oversight.
|
|
48149
48250
|
*/
|
|
48150
|
-
reason: 'unchanged' | 'newer_checkpoint' | 'not_requested' | 'callee_excluded' | 'artifact_identical';
|
|
48251
|
+
reason: 'unchanged' | 'newer_checkpoint' | 'not_requested' | 'callee_excluded' | 'not_deployed_upstream' | 'artifact_identical';
|
|
48151
48252
|
};
|
|
48152
48253
|
/**
|
|
48153
48254
|
* The migrations one target has pending, as the plan found them.
|
|
@@ -51002,6 +51103,58 @@ export type UpdateMediaPipelineRequestWritable = {
|
|
|
51002
51103
|
* Models to use for completion
|
|
51003
51104
|
*/
|
|
51004
51105
|
export type OpenaiChatModelNamesWritable = Array<OpenaiModelName & unknown>;
|
|
51106
|
+
export type SandboxSandboxDetailWritable = {
|
|
51107
|
+
/**
|
|
51108
|
+
* Identifier of the template from which is the sandbox created
|
|
51109
|
+
*/
|
|
51110
|
+
templateID: string;
|
|
51111
|
+
/**
|
|
51112
|
+
* Alias of the template
|
|
51113
|
+
*/
|
|
51114
|
+
alias?: string;
|
|
51115
|
+
/**
|
|
51116
|
+
* Identifier of the sandbox
|
|
51117
|
+
*/
|
|
51118
|
+
sandboxID: string;
|
|
51119
|
+
/**
|
|
51120
|
+
* Identifier of the client
|
|
51121
|
+
*
|
|
51122
|
+
* @deprecated
|
|
51123
|
+
*/
|
|
51124
|
+
clientID: string;
|
|
51125
|
+
/**
|
|
51126
|
+
* Time when the sandbox was started
|
|
51127
|
+
*/
|
|
51128
|
+
startedAt: string;
|
|
51129
|
+
/**
|
|
51130
|
+
* Time when the sandbox will expire
|
|
51131
|
+
*/
|
|
51132
|
+
endAt: string;
|
|
51133
|
+
envdVersion: SandboxEnvdVersion;
|
|
51134
|
+
/**
|
|
51135
|
+
* Access token used for envd communication
|
|
51136
|
+
*/
|
|
51137
|
+
envdAccessToken?: string;
|
|
51138
|
+
/**
|
|
51139
|
+
* Whether internet access was explicitly enabled or disabled for the sandbox. Null means it was not explicitly set.
|
|
51140
|
+
*/
|
|
51141
|
+
allowInternetAccess?: boolean;
|
|
51142
|
+
/**
|
|
51143
|
+
* Base domain where the sandbox traffic is accessible
|
|
51144
|
+
*/
|
|
51145
|
+
domain?: string;
|
|
51146
|
+
cpuCount: SandboxCpuCount;
|
|
51147
|
+
memoryMB: SandboxMemoryMb;
|
|
51148
|
+
diskSizeMB: SandboxDiskSizeMb;
|
|
51149
|
+
metadata?: SandboxSandboxMetadata;
|
|
51150
|
+
state: SandboxSandboxState;
|
|
51151
|
+
network?: SandboxSandboxNetworkConfigWritable;
|
|
51152
|
+
lifecycle?: SandboxSandboxLifecycle;
|
|
51153
|
+
/**
|
|
51154
|
+
* Volumes mounted into the sandbox.
|
|
51155
|
+
*/
|
|
51156
|
+
volumeMounts?: Array<SandboxSandboxVolumeMount>;
|
|
51157
|
+
};
|
|
51005
51158
|
/**
|
|
51006
51159
|
* Free-form string key/value pairs stored with the session, changed through sessions.update patch semantics.
|
|
51007
51160
|
*/
|
|
@@ -51581,6 +51734,94 @@ export type MediaSemanticSearchResultWritable = {
|
|
|
51581
51734
|
*/
|
|
51582
51735
|
not_ready_excluded: number;
|
|
51583
51736
|
};
|
|
51737
|
+
/**
|
|
51738
|
+
* Sandbox creation request. All system communication with the sandbox is always secured; the template's envd version must support secured access.
|
|
51739
|
+
*/
|
|
51740
|
+
export type SandboxNewSandboxV2Writable = {
|
|
51741
|
+
/**
|
|
51742
|
+
* Identifier of the required template
|
|
51743
|
+
*/
|
|
51744
|
+
templateID: string;
|
|
51745
|
+
/**
|
|
51746
|
+
* Lifetime of the new sandbox in seconds. Defaults to 300 seconds when omitted.
|
|
51747
|
+
*/
|
|
51748
|
+
timeout?: number;
|
|
51749
|
+
/**
|
|
51750
|
+
* Lifecycle declaration on the E2B-compatible face. true creates a persistent sandbox that pauses at its timeout and can be resumed; false or absent creates an ephemeral sandbox that ends at its timeout and keeps nothing. Keep true only for long-lived computers. The own face declares with ephemeral instead.
|
|
51751
|
+
*/
|
|
51752
|
+
autoPause?: boolean;
|
|
51753
|
+
/**
|
|
51754
|
+
* Controls the snapshot kind taken when the sandbox auto-pauses on timeout (only relevant when autoPause is true). When false, the auto-pause drops the in-memory state and persists only the filesystem (a filesystem-only snapshot); resuming it cold-boots (reboots) the sandbox from disk. Such a snapshot cannot be auto-resumed by traffic and must be resumed explicitly, so it cannot be combined with autoResume. Defaults to true (full memory snapshot).
|
|
51755
|
+
*/
|
|
51756
|
+
autoPauseMemory?: boolean;
|
|
51757
|
+
autoResume?: SandboxSandboxAutoResumeConfig;
|
|
51758
|
+
/**
|
|
51759
|
+
* Allow sandbox to access the internet. When set to false, it behaves the same as specifying denyOut to 0.0.0.0/0 in the network config.
|
|
51760
|
+
*/
|
|
51761
|
+
allow_internet_access?: boolean;
|
|
51762
|
+
network?: SandboxSandboxNetworkConfigWritable;
|
|
51763
|
+
metadata?: SandboxSandboxMetadata;
|
|
51764
|
+
envVars?: SandboxEnvVars;
|
|
51765
|
+
mcp?: SandboxMcp;
|
|
51766
|
+
iam?: SandboxSandboxIam;
|
|
51767
|
+
/**
|
|
51768
|
+
* Volumes to mount into the sandbox, each with the volume name and the path inside the sandbox.
|
|
51769
|
+
*/
|
|
51770
|
+
volumeMounts?: Array<SandboxSandboxVolumeMount>;
|
|
51771
|
+
/**
|
|
51772
|
+
* Own face, required unless sku is named: true for an ephemeral sandbox (ends at its timeout, never pauses, cannot be snapshotted), false for a persistent one (pauses, resumes, snapshots, mounts volumes). Leaving it out returns INVALID_PARAMS.
|
|
51773
|
+
*/
|
|
51774
|
+
ephemeral?: boolean;
|
|
51775
|
+
/**
|
|
51776
|
+
* Own face: the machine size, a SKU id such as base-2c4g or, for an android phone, android-2c4g. Omitted, the template's default size is used.
|
|
51777
|
+
*/
|
|
51778
|
+
size?: string;
|
|
51779
|
+
/**
|
|
51780
|
+
* Own face: a display name for the sandbox, 1 to 64 characters. Omitted, one is generated from the template.
|
|
51781
|
+
*/
|
|
51782
|
+
name?: string;
|
|
51783
|
+
/**
|
|
51784
|
+
* Own face, android phones only: keep the create open until the phone is running or 55 seconds have passed since the request arrived; running out is not an error and answers the state reached.
|
|
51785
|
+
*/
|
|
51786
|
+
waitForReady?: boolean;
|
|
51787
|
+
/**
|
|
51788
|
+
* Own face: what happens at the timeout. pause needs ephemeral: false; must agree with autoPause when both are sent.
|
|
51789
|
+
*/
|
|
51790
|
+
onExpire?: 'kill' | 'pause';
|
|
51791
|
+
/**
|
|
51792
|
+
* Own face, persistent sandboxes only: pause after this many milliseconds without activity; null turns the idle pause off.
|
|
51793
|
+
*/
|
|
51794
|
+
idleTimeout?: number;
|
|
51795
|
+
/**
|
|
51796
|
+
* Own face, persistent sandboxes only: whose activity resets idleTimeout. traffic (default) counts data-plane calls, preview traffic and live processes; caller counts only your own control-plane calls.
|
|
51797
|
+
*/
|
|
51798
|
+
idleActivity?: 'traffic' | 'caller';
|
|
51799
|
+
/**
|
|
51800
|
+
* Own face: a demand-profile SKU <kind>.<image>.<size>, such as run.document.medium (someone waits; starts fast), job.base.large (background work that must not be cut off), batch.base.large (retried work that may be reclaimed) or computer.base.medium (keeps its disk). It fixes ephemeral, interruptible, size and the template, so those may be left out; any of them you also send must agree with it, otherwise the create fails with INVALID_PARAMS naming the field. The sandbox answers it back as sku and as the read-only label praxis.sku.
|
|
51801
|
+
*/
|
|
51802
|
+
sku?: string;
|
|
51803
|
+
/**
|
|
51804
|
+
* Own face: the kind of sandbox you need, when you do not name a full sku. The sandbox completes <kind>.<image>.<size> from the template you start (its family, or custom for your own environment or snapshot) and the size you send, or medium. run is for work someone waits for (starts fast), job is background work that must not be cut off, batch is retried work that may be reclaimed (spot capacity), computer keeps its disk, and compat is the E2B-compatible persistent series. The kind fixes ephemeral and interruptible, so leave those out; if you also send them, or a sku of another kind, the create fails with INVALID_PARAMS naming the field. The light template always starts the light shell, whatever the kind says.
|
|
51805
|
+
*/
|
|
51806
|
+
kind?: 'run' | 'job' | 'batch' | 'computer' | 'compat';
|
|
51807
|
+
/**
|
|
51808
|
+
* Own face, ephemeral sandboxes only: true says this sandbox may be reclaimed while it runs (a build or test you retry), which lets it run on cheaper spot capacity. A reclaimed sandbox ends with PROVIDER_FAILED; create it again. Absent or false keeps the usual capacity.
|
|
51809
|
+
*/
|
|
51810
|
+
interruptible?: boolean;
|
|
51811
|
+
/**
|
|
51812
|
+
* Own face, persistent sandboxes only: what happens when the provider loses the machine. fail (default) ends the sandbox; rebuild starts a new machine under the same id with its state lost.
|
|
51813
|
+
*/
|
|
51814
|
+
onLoss?: 'fail' | 'rebuild';
|
|
51815
|
+
/**
|
|
51816
|
+
* Own face: up to eight absolute paths to keep when the sandbox ends; each is packed as .tar.gz into File and listed on the killed event.
|
|
51817
|
+
*/
|
|
51818
|
+
outputs?: Array<{
|
|
51819
|
+
/**
|
|
51820
|
+
* Absolute path of a directory or file inside the sandbox.
|
|
51821
|
+
*/
|
|
51822
|
+
path: string;
|
|
51823
|
+
}>;
|
|
51824
|
+
};
|
|
51584
51825
|
/**
|
|
51585
51826
|
* Arguments the model passed to the tool.
|
|
51586
51827
|
*/
|
|
@@ -51659,6 +51900,43 @@ export type AnthropicAnonymous204Writable = {
|
|
|
51659
51900
|
export type AnthropicAnonymous206Writable = {
|
|
51660
51901
|
[key: string]: unknown;
|
|
51661
51902
|
};
|
|
51903
|
+
/**
|
|
51904
|
+
* Network policy of the sandbox: public access, egress allow and deny lists and proxy.
|
|
51905
|
+
*/
|
|
51906
|
+
export type SandboxSandboxNetworkConfigWritable = {
|
|
51907
|
+
/**
|
|
51908
|
+
* Specify if the sandbox URLs should be accessible only with authentication.
|
|
51909
|
+
*/
|
|
51910
|
+
allowPublicTraffic?: boolean;
|
|
51911
|
+
/**
|
|
51912
|
+
* List of allowed destinations for egress traffic. Each entry can be a CIDR block (e.g. "8.8.8.8/32"), a bare IP address (e.g. "8.8.8.8"), or a domain name (e.g. "example.com", "*.example.com"). Allowed entries always take precedence over denied entries.
|
|
51913
|
+
*/
|
|
51914
|
+
allowOut?: Array<string>;
|
|
51915
|
+
/**
|
|
51916
|
+
* List of denied CIDR blocks or IP addresses for egress traffic. Domain names are not supported for deny rules.
|
|
51917
|
+
*/
|
|
51918
|
+
denyOut?: Array<string>;
|
|
51919
|
+
egressProxy?: SandboxSandboxEgressProxyConfig;
|
|
51920
|
+
/**
|
|
51921
|
+
* Specify host mask which will be used for all sandbox requests
|
|
51922
|
+
*/
|
|
51923
|
+
maskRequestHost?: string;
|
|
51924
|
+
/**
|
|
51925
|
+
* Unlike E2B, network.httpsPorts is rejected; omit it when creating a sandbox.
|
|
51926
|
+
*/
|
|
51927
|
+
httpsPorts?: Array<number>;
|
|
51928
|
+
/**
|
|
51929
|
+
* Per-domain transform rules applied to matching outbound HTTPS requests. Keys may be exact DNS names (for example, "api.example.com") or a leading wildcard (for example, "*.example.com"), and are normalized to lowercase on write. Wildcards match subdomains at any depth but not the apex domain; a bare "*" is invalid. Exact rules take precedence, followed by the longest matching wildcard suffix, and matching rule sets are not merged. Broad wildcards such as "*.com" are allowed and may expose transformed credentials to every matching destination the sandbox contacts. Rules do not grant network access; configure allowOut separately to permit the destination.
|
|
51930
|
+
*
|
|
51931
|
+
*/
|
|
51932
|
+
rules?: {
|
|
51933
|
+
[key: string]: Array<SandboxSandboxNetworkRule>;
|
|
51934
|
+
};
|
|
51935
|
+
/**
|
|
51936
|
+
* Own face, persistent sandboxes only (autoPause: true, or ephemeral: false): true gives the sandbox one fixed public egress IP for its whole life, held through pause and resume and released when the sandbox is deleted. Without it the egress IP is not stable: it changes when a spot machine is reclaimed, when a paused machine starts again, and when the machine is rebuilt. An ephemeral sandbox returns INVALID_PARAMS; the E2B face refuses the field; it is placed only on capacity that declares static IPs, and without such capacity the create does not start (it never falls back to a changing IP). Billed as the usage item sandbox:public_ip:hours from allocation to release, paused time included, plus outbound traffic as usual.
|
|
51937
|
+
*/
|
|
51938
|
+
staticEgressIp?: boolean;
|
|
51939
|
+
};
|
|
51662
51940
|
/**
|
|
51663
51941
|
* Free-form string key/value pairs.
|
|
51664
51942
|
*/
|
|
@@ -55760,7 +56038,7 @@ export type ApplyAgentVersionResponses = {
|
|
|
55760
56038
|
*/
|
|
55761
56039
|
environment_id?: string | null;
|
|
55762
56040
|
/**
|
|
55763
|
-
* Default vaults of this service or assume agent version: the vault_ids new
|
|
56041
|
+
* Default vaults of this service or assume agent version: the vault_ids every new session carries; a session's own vault_ids are added to them. Present for service and assume agents. Follows the version like other configuration: a version saved with apply=false does not change the vaults in effect. Versions saved before this field existed read as []. /agent/v1 only.
|
|
55764
56042
|
*/
|
|
55765
56043
|
vault_ids?: Array<string>;
|
|
55766
56044
|
/**
|
|
@@ -57020,7 +57298,7 @@ export type UnarchiveAgentResponses = {
|
|
|
57020
57298
|
*/
|
|
57021
57299
|
environment_id?: string | null;
|
|
57022
57300
|
/**
|
|
57023
|
-
* Default vaults of this service or assume agent version: the vault_ids new
|
|
57301
|
+
* Default vaults of this service or assume agent version: the vault_ids every new session carries; a session's own vault_ids are added to them. Present for service and assume agents. Follows the version like other configuration: a version saved with apply=false does not change the vaults in effect. Versions saved before this field existed read as []. /agent/v1 only.
|
|
57024
57302
|
*/
|
|
57025
57303
|
vault_ids?: Array<string>;
|
|
57026
57304
|
/**
|
|
@@ -59489,9 +59767,13 @@ export type ComputersRetrieveResponse = ComputersRetrieveResponses[keyof Compute
|
|
|
59489
59767
|
export type ComputersUpdateData = {
|
|
59490
59768
|
body: {
|
|
59491
59769
|
/**
|
|
59492
|
-
*
|
|
59770
|
+
* New display name, 1 to 255 characters after trimming. Omit to keep the current name.
|
|
59493
59771
|
*/
|
|
59494
|
-
name
|
|
59772
|
+
name?: string;
|
|
59773
|
+
/**
|
|
59774
|
+
* Environment recipe the computer declares (agent.environments.list or agent.environments.create, or a built-in id). A string sets the declaration and is checked as in computers.create: an unknown, foreign or archived environment is refused. null removes the declaration. Omit to leave it unchanged. Only the record changes: the machine is not touched or restarted, so the new declaration applies from the computer's next start; restart the computer once to apply it at once.
|
|
59775
|
+
*/
|
|
59776
|
+
environment_id?: string | null;
|
|
59495
59777
|
};
|
|
59496
59778
|
path: {
|
|
59497
59779
|
/**
|
|
@@ -61661,7 +61943,7 @@ export type ComputersFilesConvertResponse = ComputersFilesConvertResponses[keyof
|
|
|
61661
61943
|
export type ConnectComputerData = {
|
|
61662
61944
|
body?: {
|
|
61663
61945
|
/**
|
|
61664
|
-
*
|
|
61946
|
+
* Accepted for compatibility and ignored: light and heavy both reach the same machine, because a Computer is one machine. Omit it.
|
|
61665
61947
|
*/
|
|
61666
61948
|
need?: 'light' | 'heavy';
|
|
61667
61949
|
};
|
|
@@ -69265,7 +69547,7 @@ export type BrowserListSessionsErrors = {
|
|
|
69265
69547
|
*/
|
|
69266
69548
|
402: BrowserError;
|
|
69267
69549
|
/**
|
|
69268
|
-
* PERMISSION_DENIED /
|
|
69550
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69269
69551
|
*/
|
|
69270
69552
|
403: BrowserError;
|
|
69271
69553
|
/**
|
|
@@ -69346,7 +69628,7 @@ export type BrowserCreateSessionErrors = {
|
|
|
69346
69628
|
*/
|
|
69347
69629
|
402: BrowserError;
|
|
69348
69630
|
/**
|
|
69349
|
-
* PERMISSION_DENIED /
|
|
69631
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69350
69632
|
*/
|
|
69351
69633
|
403: BrowserError;
|
|
69352
69634
|
/**
|
|
@@ -69432,7 +69714,7 @@ export type BrowserGetSessionErrors = {
|
|
|
69432
69714
|
*/
|
|
69433
69715
|
402: BrowserError;
|
|
69434
69716
|
/**
|
|
69435
|
-
* PERMISSION_DENIED /
|
|
69717
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69436
69718
|
*/
|
|
69437
69719
|
403: BrowserError;
|
|
69438
69720
|
/**
|
|
@@ -69514,7 +69796,7 @@ export type BrowserCloseSessionErrors = {
|
|
|
69514
69796
|
*/
|
|
69515
69797
|
402: BrowserError;
|
|
69516
69798
|
/**
|
|
69517
|
-
* PERMISSION_DENIED /
|
|
69799
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69518
69800
|
*/
|
|
69519
69801
|
403: BrowserError;
|
|
69520
69802
|
/**
|
|
@@ -69591,7 +69873,7 @@ export type BrowserGetDebugErrors = {
|
|
|
69591
69873
|
*/
|
|
69592
69874
|
402: BrowserError;
|
|
69593
69875
|
/**
|
|
69594
|
-
* PERMISSION_DENIED /
|
|
69876
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69595
69877
|
*/
|
|
69596
69878
|
403: BrowserError;
|
|
69597
69879
|
/**
|
|
@@ -69681,7 +69963,7 @@ export type BrowserListEventsErrors = {
|
|
|
69681
69963
|
*/
|
|
69682
69964
|
402: BrowserError;
|
|
69683
69965
|
/**
|
|
69684
|
-
* PERMISSION_DENIED /
|
|
69966
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69685
69967
|
*/
|
|
69686
69968
|
403: BrowserError;
|
|
69687
69969
|
/**
|
|
@@ -69964,7 +70246,7 @@ export type BrowserRunPageActionErrors = {
|
|
|
69964
70246
|
*/
|
|
69965
70247
|
402: BrowserError;
|
|
69966
70248
|
/**
|
|
69967
|
-
* PERMISSION_DENIED /
|
|
70249
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69968
70250
|
*/
|
|
69969
70251
|
403: BrowserError;
|
|
69970
70252
|
/**
|
|
@@ -70186,7 +70468,7 @@ export type BrowserRequestHandoffErrors = {
|
|
|
70186
70468
|
*/
|
|
70187
70469
|
402: BrowserError;
|
|
70188
70470
|
/**
|
|
70189
|
-
* PERMISSION_DENIED /
|
|
70471
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70190
70472
|
*/
|
|
70191
70473
|
403: BrowserError;
|
|
70192
70474
|
/**
|
|
@@ -70263,7 +70545,7 @@ export type BrowserCompleteHandoffErrors = {
|
|
|
70263
70545
|
*/
|
|
70264
70546
|
402: BrowserError;
|
|
70265
70547
|
/**
|
|
70266
|
-
* PERMISSION_DENIED /
|
|
70548
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70267
70549
|
*/
|
|
70268
70550
|
403: BrowserError;
|
|
70269
70551
|
/**
|
|
@@ -70349,7 +70631,7 @@ export type BrowserViewerHeartbeatErrors = {
|
|
|
70349
70631
|
*/
|
|
70350
70632
|
402: BrowserError;
|
|
70351
70633
|
/**
|
|
70352
|
-
* PERMISSION_DENIED /
|
|
70634
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70353
70635
|
*/
|
|
70354
70636
|
403: BrowserError;
|
|
70355
70637
|
/**
|
|
@@ -70431,7 +70713,7 @@ export type BrowserGetSessionFrameErrors = {
|
|
|
70431
70713
|
*/
|
|
70432
70714
|
402: BrowserError;
|
|
70433
70715
|
/**
|
|
70434
|
-
* PERMISSION_DENIED /
|
|
70716
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70435
70717
|
*/
|
|
70436
70718
|
403: BrowserError;
|
|
70437
70719
|
/**
|
|
@@ -70516,7 +70798,7 @@ export type BrowserListContextsErrors = {
|
|
|
70516
70798
|
*/
|
|
70517
70799
|
402: BrowserError;
|
|
70518
70800
|
/**
|
|
70519
|
-
* PERMISSION_DENIED /
|
|
70801
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70520
70802
|
*/
|
|
70521
70803
|
403: BrowserError;
|
|
70522
70804
|
/**
|
|
@@ -70593,6 +70875,36 @@ export type BrowserCreateContextData = {
|
|
|
70593
70875
|
labels?: {
|
|
70594
70876
|
[key: string]: string;
|
|
70595
70877
|
};
|
|
70878
|
+
/**
|
|
70879
|
+
* 给登录态绑定一个固定的外部代理(如住宅 IP),使用这个登录态的会话没有写 proxies 时都经它出网,让同一账号始终从同一个出口地址出去。只存保管库引用(password_secret),不存密码;会话自己写了 proxies 时以会话的为准。需要组织已开通容器后端,否则返回 501 PROVIDER_UNSUPPORTED。
|
|
70880
|
+
*/
|
|
70881
|
+
proxy?: {
|
|
70882
|
+
/**
|
|
70883
|
+
* 固定为 external:经一个你自己的外部 HTTP 代理出网。
|
|
70884
|
+
*/
|
|
70885
|
+
type: 'external';
|
|
70886
|
+
/**
|
|
70887
|
+
* 代理地址,host:port 或 http://host:port;只支持 HTTP 代理,不接受 socks5:// 等协议,也不接受 localhost 和内网、链路本地地址。
|
|
70888
|
+
*/
|
|
70889
|
+
server: string;
|
|
70890
|
+
/**
|
|
70891
|
+
* 代理用户名;有密码时才能填,填了就必须同时给出密码。
|
|
70892
|
+
*/
|
|
70893
|
+
username?: string;
|
|
70894
|
+
/**
|
|
70895
|
+
* 必须用这种形式:引用保管库里的代理密码,只在连接这个代理的主机时兑换,不会交给网页。登录态里只存引用,传明文 password 返回 400 INVALID_PARAMS。
|
|
70896
|
+
*/
|
|
70897
|
+
password_secret?: {
|
|
70898
|
+
/**
|
|
70899
|
+
* 保存代理密码的保管库 ID,以 vlt_ 开头。
|
|
70900
|
+
*/
|
|
70901
|
+
vault_id: string;
|
|
70902
|
+
/**
|
|
70903
|
+
* 保管库中该密码的密钥 ID(不是密码本身)。
|
|
70904
|
+
*/
|
|
70905
|
+
secret: string;
|
|
70906
|
+
};
|
|
70907
|
+
};
|
|
70596
70908
|
};
|
|
70597
70909
|
path?: never;
|
|
70598
70910
|
query?: never;
|
|
@@ -70612,7 +70924,7 @@ export type BrowserCreateContextErrors = {
|
|
|
70612
70924
|
*/
|
|
70613
70925
|
402: BrowserError;
|
|
70614
70926
|
/**
|
|
70615
|
-
* PERMISSION_DENIED /
|
|
70927
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70616
70928
|
*/
|
|
70617
70929
|
403: BrowserError;
|
|
70618
70930
|
/**
|
|
@@ -70689,7 +71001,7 @@ export type BrowserDeleteContextErrors = {
|
|
|
70689
71001
|
*/
|
|
70690
71002
|
402: BrowserError;
|
|
70691
71003
|
/**
|
|
70692
|
-
* PERMISSION_DENIED /
|
|
71004
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70693
71005
|
*/
|
|
70694
71006
|
403: BrowserError;
|
|
70695
71007
|
/**
|
|
@@ -70771,7 +71083,7 @@ export type BrowserGetContextErrors = {
|
|
|
70771
71083
|
*/
|
|
70772
71084
|
402: BrowserError;
|
|
70773
71085
|
/**
|
|
70774
|
-
* PERMISSION_DENIED /
|
|
71086
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70775
71087
|
*/
|
|
70776
71088
|
403: BrowserError;
|
|
70777
71089
|
/**
|
|
@@ -70835,6 +71147,36 @@ export type BrowserUpdateContextData = {
|
|
|
70835
71147
|
labels?: {
|
|
70836
71148
|
[key: string]: string;
|
|
70837
71149
|
};
|
|
71150
|
+
/**
|
|
71151
|
+
* 给登录态绑定一个固定的外部代理(如住宅 IP),使用这个登录态的会话没有写 proxies 时都经它出网,让同一账号始终从同一个出口地址出去。只存保管库引用(password_secret),不存密码;会话自己写了 proxies 时以会话的为准。需要组织已开通容器后端,否则返回 501 PROVIDER_UNSUPPORTED。 更新时传 null 解除绑定,省略则保留原绑定。
|
|
71152
|
+
*/
|
|
71153
|
+
proxy?: {
|
|
71154
|
+
/**
|
|
71155
|
+
* 固定为 external:经一个你自己的外部 HTTP 代理出网。
|
|
71156
|
+
*/
|
|
71157
|
+
type: 'external';
|
|
71158
|
+
/**
|
|
71159
|
+
* 代理地址,host:port 或 http://host:port;只支持 HTTP 代理,不接受 socks5:// 等协议,也不接受 localhost 和内网、链路本地地址。
|
|
71160
|
+
*/
|
|
71161
|
+
server: string;
|
|
71162
|
+
/**
|
|
71163
|
+
* 代理用户名;有密码时才能填,填了就必须同时给出密码。
|
|
71164
|
+
*/
|
|
71165
|
+
username?: string;
|
|
71166
|
+
/**
|
|
71167
|
+
* 必须用这种形式:引用保管库里的代理密码,只在连接这个代理的主机时兑换,不会交给网页。登录态里只存引用,传明文 password 返回 400 INVALID_PARAMS。
|
|
71168
|
+
*/
|
|
71169
|
+
password_secret?: {
|
|
71170
|
+
/**
|
|
71171
|
+
* 保存代理密码的保管库 ID,以 vlt_ 开头。
|
|
71172
|
+
*/
|
|
71173
|
+
vault_id: string;
|
|
71174
|
+
/**
|
|
71175
|
+
* 保管库中该密码的密钥 ID(不是密码本身)。
|
|
71176
|
+
*/
|
|
71177
|
+
secret: string;
|
|
71178
|
+
};
|
|
71179
|
+
} | null;
|
|
70838
71180
|
};
|
|
70839
71181
|
path: {
|
|
70840
71182
|
/**
|
|
@@ -70859,7 +71201,7 @@ export type BrowserUpdateContextErrors = {
|
|
|
70859
71201
|
*/
|
|
70860
71202
|
402: BrowserError;
|
|
70861
71203
|
/**
|
|
70862
|
-
* PERMISSION_DENIED /
|
|
71204
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70863
71205
|
*/
|
|
70864
71206
|
403: BrowserError;
|
|
70865
71207
|
/**
|
|
@@ -70931,7 +71273,7 @@ export type BrowserCreateByobPairingErrors = {
|
|
|
70931
71273
|
*/
|
|
70932
71274
|
402: BrowserError;
|
|
70933
71275
|
/**
|
|
70934
|
-
* PERMISSION_DENIED /
|
|
71276
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70935
71277
|
*/
|
|
70936
71278
|
403: BrowserError;
|
|
70937
71279
|
/**
|
|
@@ -71012,7 +71354,7 @@ export type BrowserListByobBrowsersErrors = {
|
|
|
71012
71354
|
*/
|
|
71013
71355
|
402: BrowserError;
|
|
71014
71356
|
/**
|
|
71015
|
-
* PERMISSION_DENIED /
|
|
71357
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71016
71358
|
*/
|
|
71017
71359
|
403: BrowserError;
|
|
71018
71360
|
/**
|
|
@@ -71098,7 +71440,7 @@ export type BrowserGetByobBrowserErrors = {
|
|
|
71098
71440
|
*/
|
|
71099
71441
|
402: BrowserError;
|
|
71100
71442
|
/**
|
|
71101
|
-
* PERMISSION_DENIED /
|
|
71443
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71102
71444
|
*/
|
|
71103
71445
|
403: BrowserError;
|
|
71104
71446
|
/**
|
|
@@ -71156,14 +71498,6 @@ export type BrowserUpdateByobBrowserData = {
|
|
|
71156
71498
|
* 新的显示名称,1–80 个字符。
|
|
71157
71499
|
*/
|
|
71158
71500
|
name?: string;
|
|
71159
|
-
/**
|
|
71160
|
-
* 整体替换被授权的智能体 ID 列表;传空数组撤销全部授权。
|
|
71161
|
-
*/
|
|
71162
|
-
granted_agents?: Array<string>;
|
|
71163
|
-
/**
|
|
71164
|
-
* 整体替换允许站点列表;传空数组表示不限制。
|
|
71165
|
-
*/
|
|
71166
|
-
allowed_sites?: Array<string>;
|
|
71167
71501
|
};
|
|
71168
71502
|
path: {
|
|
71169
71503
|
/**
|
|
@@ -71188,7 +71522,7 @@ export type BrowserUpdateByobBrowserErrors = {
|
|
|
71188
71522
|
*/
|
|
71189
71523
|
402: BrowserError;
|
|
71190
71524
|
/**
|
|
71191
|
-
* PERMISSION_DENIED /
|
|
71525
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71192
71526
|
*/
|
|
71193
71527
|
403: BrowserError;
|
|
71194
71528
|
/**
|
|
@@ -71265,7 +71599,7 @@ export type BrowserDisconnectByobBrowserErrors = {
|
|
|
71265
71599
|
*/
|
|
71266
71600
|
402: BrowserError;
|
|
71267
71601
|
/**
|
|
71268
|
-
* PERMISSION_DENIED /
|
|
71602
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71269
71603
|
*/
|
|
71270
71604
|
403: BrowserError;
|
|
71271
71605
|
/**
|
|
@@ -71342,7 +71676,7 @@ export type BrowserReadByobPairingErrors = {
|
|
|
71342
71676
|
*/
|
|
71343
71677
|
402: BrowserError;
|
|
71344
71678
|
/**
|
|
71345
|
-
* PERMISSION_DENIED /
|
|
71679
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71346
71680
|
*/
|
|
71347
71681
|
403: BrowserError;
|
|
71348
71682
|
/**
|
|
@@ -71419,7 +71753,7 @@ export type BrowserClaimByobPairingErrors = {
|
|
|
71419
71753
|
*/
|
|
71420
71754
|
402: BrowserError;
|
|
71421
71755
|
/**
|
|
71422
|
-
* PERMISSION_DENIED /
|
|
71756
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71423
71757
|
*/
|
|
71424
71758
|
403: BrowserError;
|
|
71425
71759
|
/**
|
|
@@ -71528,7 +71862,7 @@ export type BrowserConnectErrors = {
|
|
|
71528
71862
|
*/
|
|
71529
71863
|
402: BrowserError;
|
|
71530
71864
|
/**
|
|
71531
|
-
* PERMISSION_DENIED /
|
|
71865
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71532
71866
|
*/
|
|
71533
71867
|
403: BrowserError;
|
|
71534
71868
|
/**
|
|
@@ -71607,7 +71941,7 @@ export type BrowserLiveViewErrors = {
|
|
|
71607
71941
|
*/
|
|
71608
71942
|
402: BrowserError;
|
|
71609
71943
|
/**
|
|
71610
|
-
* PERMISSION_DENIED /
|
|
71944
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71611
71945
|
*/
|
|
71612
71946
|
403: BrowserError;
|
|
71613
71947
|
/**
|
|
@@ -71677,7 +72011,7 @@ export type BrowserStreamSessionErrors = {
|
|
|
71677
72011
|
*/
|
|
71678
72012
|
402: BrowserError;
|
|
71679
72013
|
/**
|
|
71680
|
-
* PERMISSION_DENIED /
|
|
72014
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71681
72015
|
*/
|
|
71682
72016
|
403: BrowserError;
|
|
71683
72017
|
/**
|
|
@@ -71754,7 +72088,7 @@ export type BrowserStreamSessionFramesErrors = {
|
|
|
71754
72088
|
*/
|
|
71755
72089
|
402: BrowserError;
|
|
71756
72090
|
/**
|
|
71757
|
-
* PERMISSION_DENIED /
|
|
72091
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71758
72092
|
*/
|
|
71759
72093
|
403: BrowserError;
|
|
71760
72094
|
/**
|
|
@@ -78491,7 +78825,7 @@ export type ListOrganizationCostsData = {
|
|
|
78491
78825
|
*/
|
|
78492
78826
|
bucket_width: '1h' | '1d';
|
|
78493
78827
|
/**
|
|
78494
|
-
* IANA time zone name (for example Asia/Shanghai) whose local hours or days form the buckets. Defaults to UTC. Offsets such as +08:00 are rejected.
|
|
78828
|
+
* IANA time zone name (for example Asia/Shanghai) whose local hours or days form the buckets. Defaults to UTC. Offsets such as +08:00 are rejected. Only zones whose UTC offset is a whole number of hours across the whole window are supported; zones such as Asia/Kolkata (+05:30) or Asia/Kathmandu (+05:45) are rejected with 400 VALIDATION_ERROR, because Billing buckets in UTC hours and a local hour of those zones straddles two of them. With bucket_width=1d the window widens to whole local days, each bucket carries its real UTC starting_at and ending_at, and a day that crosses a daylight-saving change lasts 23 or 25 hours; the whole window is then answered in one page (has_more is false and page is not accepted). starting_at and ending_at stay UTC instants.
|
|
78495
78829
|
*
|
|
78496
78830
|
*/
|
|
78497
78831
|
time_zone?: string;
|
|
@@ -78609,7 +78943,7 @@ export type ListOrganizationUsageData = {
|
|
|
78609
78943
|
*/
|
|
78610
78944
|
bucket_width: '1h' | '1d';
|
|
78611
78945
|
/**
|
|
78612
|
-
* IANA time zone name (for example Asia/Shanghai) whose local hours or days form the buckets. Defaults to UTC. Offsets such as +08:00 are rejected.
|
|
78946
|
+
* IANA time zone name (for example Asia/Shanghai) whose local hours or days form the buckets. Defaults to UTC. Offsets such as +08:00 are rejected. Only zones whose UTC offset is a whole number of hours across the whole window are supported; zones such as Asia/Kolkata (+05:30) or Asia/Kathmandu (+05:45) are rejected with 400 VALIDATION_ERROR, because Billing buckets in UTC hours and a local hour of those zones straddles two of them. With bucket_width=1d the window widens to whole local days, each bucket carries its real UTC starting_at and ending_at, and a day that crosses a daylight-saving change lasts 23 or 25 hours; the whole window is then answered in one page (has_more is false and page is not accepted). starting_at and ending_at stay UTC instants.
|
|
78613
78947
|
*
|
|
78614
78948
|
*/
|
|
78615
78949
|
time_zone?: string;
|
|
@@ -79129,11 +79463,19 @@ export type ListOrganizationNotificationLettersData = {
|
|
|
79129
79463
|
path?: never;
|
|
79130
79464
|
query?: {
|
|
79131
79465
|
/**
|
|
79132
|
-
*
|
|
79466
|
+
* received (the default) lists the letters addressed to you; sent lists the letters you wrote, scheduled ones included, in the same row shape — a script or an agent finds its own alarm clocks there. A run credential's sent list is the letters automation wrote on behalf of the person it acts for.
|
|
79467
|
+
*/
|
|
79468
|
+
direction?: 'received' | 'sent';
|
|
79469
|
+
/**
|
|
79470
|
+
* Only unread letters, only read ones, or (direction=sent only) only letters written but not yet delivered, whose deliveredAt is null; omit for all. On a sent list, unread and read are the recipient's state.
|
|
79133
79471
|
*/
|
|
79134
|
-
status?: 'unread' | 'read';
|
|
79472
|
+
status?: 'unread' | 'read' | 'scheduled';
|
|
79135
79473
|
/**
|
|
79136
|
-
*
|
|
79474
|
+
* Only letters of this conversation, for received and sent alike; omit for all.
|
|
79475
|
+
*/
|
|
79476
|
+
thread?: string;
|
|
79477
|
+
/**
|
|
79478
|
+
* false (the default) hides archived letters; true lists only the archived ones. Archiving is the addressee's act, so it is ignored when direction=sent.
|
|
79137
79479
|
*/
|
|
79138
79480
|
archived?: boolean;
|
|
79139
79481
|
/**
|
|
@@ -79149,7 +79491,7 @@ export type ListOrganizationNotificationLettersData = {
|
|
|
79149
79491
|
};
|
|
79150
79492
|
export type ListOrganizationNotificationLettersErrors = {
|
|
79151
79493
|
/**
|
|
79152
|
-
* A bad `status`, `archived` or `limit`, or `INVALID_PARAMS` from the service for a cursor it did not issue (RFC 9457 problem).
|
|
79494
|
+
* A bad `direction`, `status` (scheduled needs direction=sent), `thread`, `archived` or `limit`, or `INVALID_PARAMS` from the service for a cursor it did not issue (RFC 9457 problem).
|
|
79153
79495
|
*/
|
|
79154
79496
|
400: unknown;
|
|
79155
79497
|
/**
|
|
@@ -79249,6 +79591,80 @@ export type ListOrganizationNotificationLettersResponses = {
|
|
|
79249
79591
|
};
|
|
79250
79592
|
};
|
|
79251
79593
|
export type ListOrganizationNotificationLettersResponse = ListOrganizationNotificationLettersResponses[keyof ListOrganizationNotificationLettersResponses];
|
|
79594
|
+
export type CreateOrganizationNotificationLetterData = {
|
|
79595
|
+
body: {
|
|
79596
|
+
/**
|
|
79597
|
+
* The recipient's address: human:<user id> or agent:<agent id>, a member or an agent of this organization.
|
|
79598
|
+
*/
|
|
79599
|
+
to: string;
|
|
79600
|
+
/**
|
|
79601
|
+
* The whole letter, 1 to 16000 characters.
|
|
79602
|
+
*/
|
|
79603
|
+
body: string;
|
|
79604
|
+
/**
|
|
79605
|
+
* One sentence saying what the reader is asked to do or needs to know, at most 60 characters. Required when to is a person; refused, never cut, when longer.
|
|
79606
|
+
*/
|
|
79607
|
+
summary?: string;
|
|
79608
|
+
/**
|
|
79609
|
+
* The letter's kind; it decides the channels. Defaults to mention.
|
|
79610
|
+
*/
|
|
79611
|
+
kind?: 'notice' | 'mention' | 'decision';
|
|
79612
|
+
/**
|
|
79613
|
+
* The conversation the letter belongs to, free text; omit for none.
|
|
79614
|
+
*/
|
|
79615
|
+
thread?: string;
|
|
79616
|
+
/**
|
|
79617
|
+
* When to deliver it, ISO 8601, at most 366 days ahead. A past time or no value means now.
|
|
79618
|
+
*/
|
|
79619
|
+
deliver_at?: string;
|
|
79620
|
+
};
|
|
79621
|
+
path?: never;
|
|
79622
|
+
query?: never;
|
|
79623
|
+
url: '/organization/v1/notifications/letters';
|
|
79624
|
+
};
|
|
79625
|
+
export type CreateOrganizationNotificationLetterErrors = {
|
|
79626
|
+
/**
|
|
79627
|
+
* `to` is not an address, `body` is missing or too long, `summary` is missing for a person or longer than 60 characters, `kind` is unknown, or `deliver_at` is not an ISO 8601 time within 366 days (RFC 9457 problem).
|
|
79628
|
+
*/
|
|
79629
|
+
400: unknown;
|
|
79630
|
+
/**
|
|
79631
|
+
* Missing or invalid credential (RFC 9457 problem).
|
|
79632
|
+
*/
|
|
79633
|
+
401: unknown;
|
|
79634
|
+
/**
|
|
79635
|
+
* `PERMISSION_DENIED`: sending a letter needs a person, an agent or an automation run identity; an organization API key or an application cannot send (RFC 9457 problem).
|
|
79636
|
+
*/
|
|
79637
|
+
403: unknown;
|
|
79638
|
+
/**
|
|
79639
|
+
* `SUBSCRIBER_NOT_FOUND`: the recipient is not a member or an agent of this organization (RFC 9457 problem).
|
|
79640
|
+
*/
|
|
79641
|
+
404: unknown;
|
|
79642
|
+
/**
|
|
79643
|
+
* 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.
|
|
79644
|
+
*/
|
|
79645
|
+
502: unknown;
|
|
79646
|
+
};
|
|
79647
|
+
export type CreateOrganizationNotificationLetterResponses = {
|
|
79648
|
+
/**
|
|
79649
|
+
* The letter is written; it is delivered at deliverAt.
|
|
79650
|
+
*/
|
|
79651
|
+
200: {
|
|
79652
|
+
/**
|
|
79653
|
+
* The letter that was written: its id and the time it is delivered.
|
|
79654
|
+
*/
|
|
79655
|
+
letter: {
|
|
79656
|
+
/**
|
|
79657
|
+
* The letter's id.
|
|
79658
|
+
*/
|
|
79659
|
+
id: string;
|
|
79660
|
+
/**
|
|
79661
|
+
* When it is delivered: now, or the time asked for.
|
|
79662
|
+
*/
|
|
79663
|
+
deliverAt: string;
|
|
79664
|
+
};
|
|
79665
|
+
};
|
|
79666
|
+
};
|
|
79667
|
+
export type CreateOrganizationNotificationLetterResponse = CreateOrganizationNotificationLetterResponses[keyof CreateOrganizationNotificationLetterResponses];
|
|
79252
79668
|
export type GetOrganizationNotificationLetterData = {
|
|
79253
79669
|
body?: never;
|
|
79254
79670
|
path: {
|
|
@@ -79472,6 +79888,360 @@ export type ArchiveOrganizationNotificationLetterResponses = {
|
|
|
79472
79888
|
};
|
|
79473
79889
|
};
|
|
79474
79890
|
export type ArchiveOrganizationNotificationLetterResponse = ArchiveOrganizationNotificationLetterResponses[keyof ArchiveOrganizationNotificationLetterResponses];
|
|
79891
|
+
export type ListOrganizationNotificationMessagesData = {
|
|
79892
|
+
body?: never;
|
|
79893
|
+
path?: never;
|
|
79894
|
+
query?: {
|
|
79895
|
+
/**
|
|
79896
|
+
* 0 (the default) lists the inbox tab, 1 lists archived messages.
|
|
79897
|
+
*/
|
|
79898
|
+
archived?: '0' | '1';
|
|
79899
|
+
/**
|
|
79900
|
+
* Messages per page, 1 to 100; defaults to 20.
|
|
79901
|
+
*/
|
|
79902
|
+
limit?: number;
|
|
79903
|
+
/**
|
|
79904
|
+
* Opaque nextPageToken from the previous response; omit for the first page.
|
|
79905
|
+
*/
|
|
79906
|
+
page?: string;
|
|
79907
|
+
};
|
|
79908
|
+
url: '/organization/v1/notifications/messages';
|
|
79909
|
+
};
|
|
79910
|
+
export type ListOrganizationNotificationMessagesErrors = {
|
|
79911
|
+
/**
|
|
79912
|
+
* A bad `archived`, `limit` or `page`, or `INVALID_PARAMS` from the service for a cursor it did not issue (RFC 9457 problem).
|
|
79913
|
+
*/
|
|
79914
|
+
400: unknown;
|
|
79915
|
+
/**
|
|
79916
|
+
* Missing or invalid credential (RFC 9457 problem).
|
|
79917
|
+
*/
|
|
79918
|
+
401: unknown;
|
|
79919
|
+
/**
|
|
79920
|
+
* `PERMISSION_DENIED`: an agent credential has no person inbox; read its own letters instead (RFC 9457 problem).
|
|
79921
|
+
*/
|
|
79922
|
+
403: unknown;
|
|
79923
|
+
/**
|
|
79924
|
+
* 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.
|
|
79925
|
+
*/
|
|
79926
|
+
502: unknown;
|
|
79927
|
+
};
|
|
79928
|
+
export type ListOrganizationNotificationMessagesResponses = {
|
|
79929
|
+
/**
|
|
79930
|
+
* One page of this person's messages.
|
|
79931
|
+
*/
|
|
79932
|
+
200: {
|
|
79933
|
+
/**
|
|
79934
|
+
* The page, newest first.
|
|
79935
|
+
*/
|
|
79936
|
+
items: Array<{
|
|
79937
|
+
/**
|
|
79938
|
+
* The message's resource name, subscribers/{user}/messages/{id}; pass it URL-encoded as the {name} of the other message operations.
|
|
79939
|
+
*/
|
|
79940
|
+
name: string;
|
|
79941
|
+
/**
|
|
79942
|
+
* The organization the message belongs to; empty for a message that belongs to no organization.
|
|
79943
|
+
*/
|
|
79944
|
+
organizationId: string;
|
|
79945
|
+
/**
|
|
79946
|
+
* The notification group the message belongs to: members, usage, alerts, agent, or nonConfigurable.
|
|
79947
|
+
*/
|
|
79948
|
+
group: 'members' | 'usage' | 'alerts' | 'agent' | 'nonConfigurable';
|
|
79949
|
+
/**
|
|
79950
|
+
* The notification workflow that wrote it, as the preferences page names it.
|
|
79951
|
+
*/
|
|
79952
|
+
workflow: string;
|
|
79953
|
+
/**
|
|
79954
|
+
* The message's headline, as the bell shows it.
|
|
79955
|
+
*/
|
|
79956
|
+
title: string;
|
|
79957
|
+
/**
|
|
79958
|
+
* The message text.
|
|
79959
|
+
*/
|
|
79960
|
+
body: string;
|
|
79961
|
+
/**
|
|
79962
|
+
* Where the bell opens this message; absent when it has no page.
|
|
79963
|
+
*/
|
|
79964
|
+
actionUrl?: string;
|
|
79965
|
+
/**
|
|
79966
|
+
* Whether the bell has been opened since the message arrived.
|
|
79967
|
+
*/
|
|
79968
|
+
seen: boolean;
|
|
79969
|
+
/**
|
|
79970
|
+
* Whether this person has read it.
|
|
79971
|
+
*/
|
|
79972
|
+
read: boolean;
|
|
79973
|
+
/**
|
|
79974
|
+
* Whether this person archived it; archived messages are not in the inbox tab.
|
|
79975
|
+
*/
|
|
79976
|
+
archived: boolean;
|
|
79977
|
+
/**
|
|
79978
|
+
* When the message arrived.
|
|
79979
|
+
*/
|
|
79980
|
+
createTime: string;
|
|
79981
|
+
}>;
|
|
79982
|
+
/**
|
|
79983
|
+
* Pass unchanged as page for the next page; absent at the end.
|
|
79984
|
+
*/
|
|
79985
|
+
nextPageToken?: string;
|
|
79986
|
+
};
|
|
79987
|
+
};
|
|
79988
|
+
export type ListOrganizationNotificationMessagesResponse = ListOrganizationNotificationMessagesResponses[keyof ListOrganizationNotificationMessagesResponses];
|
|
79989
|
+
export type DeleteOrganizationNotificationMessageData = {
|
|
79990
|
+
body?: never;
|
|
79991
|
+
path: {
|
|
79992
|
+
/**
|
|
79993
|
+
* The message's `name` from the messages list, subscribers/{user}/messages/{id}, URL-encoded.
|
|
79994
|
+
*/
|
|
79995
|
+
name: string;
|
|
79996
|
+
};
|
|
79997
|
+
query?: never;
|
|
79998
|
+
url: '/organization/v1/notifications/messages/{name}';
|
|
79999
|
+
};
|
|
80000
|
+
export type DeleteOrganizationNotificationMessageErrors = {
|
|
80001
|
+
/**
|
|
80002
|
+
* `name` is not subscribers/{user}/messages/{id} — `INVALID_PARAMS` (RFC 9457 problem).
|
|
80003
|
+
*/
|
|
80004
|
+
400: unknown;
|
|
80005
|
+
/**
|
|
80006
|
+
* Missing or invalid credential (RFC 9457 problem).
|
|
80007
|
+
*/
|
|
80008
|
+
401: unknown;
|
|
80009
|
+
/**
|
|
80010
|
+
* `PERMISSION_DENIED`: an agent credential has no person inbox; read its own letters instead (RFC 9457 problem).
|
|
80011
|
+
*/
|
|
80012
|
+
403: unknown;
|
|
80013
|
+
/**
|
|
80014
|
+
* No such message of yours in this organization — `MESSAGE_NOT_FOUND` (RFC 9457 problem).
|
|
80015
|
+
*/
|
|
80016
|
+
404: unknown;
|
|
80017
|
+
/**
|
|
80018
|
+
* 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.
|
|
80019
|
+
*/
|
|
80020
|
+
502: unknown;
|
|
80021
|
+
};
|
|
80022
|
+
export type DeleteOrganizationNotificationMessageResponses = {
|
|
80023
|
+
/**
|
|
80024
|
+
* The message is deleted.
|
|
80025
|
+
*/
|
|
80026
|
+
200: {
|
|
80027
|
+
/**
|
|
80028
|
+
* Always true: the message was deleted.
|
|
80029
|
+
*/
|
|
80030
|
+
deleted: boolean;
|
|
80031
|
+
};
|
|
80032
|
+
};
|
|
80033
|
+
export type DeleteOrganizationNotificationMessageResponse = DeleteOrganizationNotificationMessageResponses[keyof DeleteOrganizationNotificationMessageResponses];
|
|
80034
|
+
export type GetOrganizationNotificationMessageData = {
|
|
80035
|
+
body?: never;
|
|
80036
|
+
path: {
|
|
80037
|
+
/**
|
|
80038
|
+
* The message's `name` from the messages list, subscribers/{user}/messages/{id}, URL-encoded.
|
|
80039
|
+
*/
|
|
80040
|
+
name: string;
|
|
80041
|
+
};
|
|
80042
|
+
query?: never;
|
|
80043
|
+
url: '/organization/v1/notifications/messages/{name}';
|
|
80044
|
+
};
|
|
80045
|
+
export type GetOrganizationNotificationMessageErrors = {
|
|
80046
|
+
/**
|
|
80047
|
+
* `name` is not subscribers/{user}/messages/{id} — `INVALID_PARAMS` (RFC 9457 problem).
|
|
80048
|
+
*/
|
|
80049
|
+
400: unknown;
|
|
80050
|
+
/**
|
|
80051
|
+
* Missing or invalid credential (RFC 9457 problem).
|
|
80052
|
+
*/
|
|
80053
|
+
401: unknown;
|
|
80054
|
+
/**
|
|
80055
|
+
* `PERMISSION_DENIED`: an agent credential has no person inbox; read its own letters instead (RFC 9457 problem).
|
|
80056
|
+
*/
|
|
80057
|
+
403: unknown;
|
|
80058
|
+
/**
|
|
80059
|
+
* No such message of yours in this organization — `MESSAGE_NOT_FOUND`, the same answer for another person's message and one that never existed (RFC 9457 problem).
|
|
80060
|
+
*/
|
|
80061
|
+
404: unknown;
|
|
80062
|
+
/**
|
|
80063
|
+
* 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.
|
|
80064
|
+
*/
|
|
80065
|
+
502: unknown;
|
|
80066
|
+
};
|
|
80067
|
+
export type GetOrganizationNotificationMessageResponses = {
|
|
80068
|
+
/**
|
|
80069
|
+
* The message.
|
|
80070
|
+
*/
|
|
80071
|
+
200: {
|
|
80072
|
+
/**
|
|
80073
|
+
* The message's resource name, subscribers/{user}/messages/{id}; pass it URL-encoded as the {name} of the other message operations.
|
|
80074
|
+
*/
|
|
80075
|
+
name: string;
|
|
80076
|
+
/**
|
|
80077
|
+
* The organization the message belongs to; empty for a message that belongs to no organization.
|
|
80078
|
+
*/
|
|
80079
|
+
organizationId: string;
|
|
80080
|
+
/**
|
|
80081
|
+
* The notification group the message belongs to: members, usage, alerts, agent, or nonConfigurable.
|
|
80082
|
+
*/
|
|
80083
|
+
group: 'members' | 'usage' | 'alerts' | 'agent' | 'nonConfigurable';
|
|
80084
|
+
/**
|
|
80085
|
+
* The notification workflow that wrote it, as the preferences page names it.
|
|
80086
|
+
*/
|
|
80087
|
+
workflow: string;
|
|
80088
|
+
/**
|
|
80089
|
+
* The message's headline, as the bell shows it.
|
|
80090
|
+
*/
|
|
80091
|
+
title: string;
|
|
80092
|
+
/**
|
|
80093
|
+
* The message text.
|
|
80094
|
+
*/
|
|
80095
|
+
body: string;
|
|
80096
|
+
/**
|
|
80097
|
+
* Where the bell opens this message; absent when it has no page.
|
|
80098
|
+
*/
|
|
80099
|
+
actionUrl?: string;
|
|
80100
|
+
/**
|
|
80101
|
+
* Whether the bell has been opened since the message arrived.
|
|
80102
|
+
*/
|
|
80103
|
+
seen: boolean;
|
|
80104
|
+
/**
|
|
80105
|
+
* Whether this person has read it.
|
|
80106
|
+
*/
|
|
80107
|
+
read: boolean;
|
|
80108
|
+
/**
|
|
80109
|
+
* Whether this person archived it; archived messages are not in the inbox tab.
|
|
80110
|
+
*/
|
|
80111
|
+
archived: boolean;
|
|
80112
|
+
/**
|
|
80113
|
+
* When the message arrived.
|
|
80114
|
+
*/
|
|
80115
|
+
createTime: string;
|
|
80116
|
+
};
|
|
80117
|
+
};
|
|
80118
|
+
export type GetOrganizationNotificationMessageResponse = GetOrganizationNotificationMessageResponses[keyof GetOrganizationNotificationMessageResponses];
|
|
80119
|
+
export type UpdateOrganizationNotificationMessageData = {
|
|
80120
|
+
body: {
|
|
80121
|
+
/**
|
|
80122
|
+
* Mark the message read (true) or unread (false); omit to leave it.
|
|
80123
|
+
*/
|
|
80124
|
+
read?: boolean;
|
|
80125
|
+
/**
|
|
80126
|
+
* Archive the message (true) or move it back to the inbox (false); omit to leave it.
|
|
80127
|
+
*/
|
|
80128
|
+
archived?: boolean;
|
|
80129
|
+
};
|
|
80130
|
+
path: {
|
|
80131
|
+
/**
|
|
80132
|
+
* The message's `name` from the messages list, subscribers/{user}/messages/{id}, URL-encoded.
|
|
80133
|
+
*/
|
|
80134
|
+
name: string;
|
|
80135
|
+
};
|
|
80136
|
+
query?: never;
|
|
80137
|
+
url: '/organization/v1/notifications/messages/{name}';
|
|
80138
|
+
};
|
|
80139
|
+
export type UpdateOrganizationNotificationMessageErrors = {
|
|
80140
|
+
/**
|
|
80141
|
+
* The body is not a JSON object, names neither `read` nor `archived`, a flag is not true or false, or `name` is malformed (RFC 9457 problem).
|
|
80142
|
+
*/
|
|
80143
|
+
400: unknown;
|
|
80144
|
+
/**
|
|
80145
|
+
* Missing or invalid credential (RFC 9457 problem).
|
|
80146
|
+
*/
|
|
80147
|
+
401: unknown;
|
|
80148
|
+
/**
|
|
80149
|
+
* `PERMISSION_DENIED`: an agent credential has no person inbox; read its own letters instead (RFC 9457 problem).
|
|
80150
|
+
*/
|
|
80151
|
+
403: unknown;
|
|
80152
|
+
/**
|
|
80153
|
+
* No such message of yours in this organization — `MESSAGE_NOT_FOUND` (RFC 9457 problem).
|
|
80154
|
+
*/
|
|
80155
|
+
404: unknown;
|
|
80156
|
+
/**
|
|
80157
|
+
* 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.
|
|
80158
|
+
*/
|
|
80159
|
+
502: unknown;
|
|
80160
|
+
};
|
|
80161
|
+
export type UpdateOrganizationNotificationMessageResponses = {
|
|
80162
|
+
/**
|
|
80163
|
+
* The message after the change.
|
|
80164
|
+
*/
|
|
80165
|
+
200: {
|
|
80166
|
+
/**
|
|
80167
|
+
* The message's resource name, subscribers/{user}/messages/{id}; pass it URL-encoded as the {name} of the other message operations.
|
|
80168
|
+
*/
|
|
80169
|
+
name: string;
|
|
80170
|
+
/**
|
|
80171
|
+
* The organization the message belongs to; empty for a message that belongs to no organization.
|
|
80172
|
+
*/
|
|
80173
|
+
organizationId: string;
|
|
80174
|
+
/**
|
|
80175
|
+
* The notification group the message belongs to: members, usage, alerts, agent, or nonConfigurable.
|
|
80176
|
+
*/
|
|
80177
|
+
group: 'members' | 'usage' | 'alerts' | 'agent' | 'nonConfigurable';
|
|
80178
|
+
/**
|
|
80179
|
+
* The notification workflow that wrote it, as the preferences page names it.
|
|
80180
|
+
*/
|
|
80181
|
+
workflow: string;
|
|
80182
|
+
/**
|
|
80183
|
+
* The message's headline, as the bell shows it.
|
|
80184
|
+
*/
|
|
80185
|
+
title: string;
|
|
80186
|
+
/**
|
|
80187
|
+
* The message text.
|
|
80188
|
+
*/
|
|
80189
|
+
body: string;
|
|
80190
|
+
/**
|
|
80191
|
+
* Where the bell opens this message; absent when it has no page.
|
|
80192
|
+
*/
|
|
80193
|
+
actionUrl?: string;
|
|
80194
|
+
/**
|
|
80195
|
+
* Whether the bell has been opened since the message arrived.
|
|
80196
|
+
*/
|
|
80197
|
+
seen: boolean;
|
|
80198
|
+
/**
|
|
80199
|
+
* Whether this person has read it.
|
|
80200
|
+
*/
|
|
80201
|
+
read: boolean;
|
|
80202
|
+
/**
|
|
80203
|
+
* Whether this person archived it; archived messages are not in the inbox tab.
|
|
80204
|
+
*/
|
|
80205
|
+
archived: boolean;
|
|
80206
|
+
/**
|
|
80207
|
+
* When the message arrived.
|
|
80208
|
+
*/
|
|
80209
|
+
createTime: string;
|
|
80210
|
+
};
|
|
80211
|
+
};
|
|
80212
|
+
export type UpdateOrganizationNotificationMessageResponse = UpdateOrganizationNotificationMessageResponses[keyof UpdateOrganizationNotificationMessageResponses];
|
|
80213
|
+
export type ReadAllOrganizationNotificationMessagesData = {
|
|
80214
|
+
body?: never;
|
|
80215
|
+
path?: never;
|
|
80216
|
+
query?: never;
|
|
80217
|
+
url: '/organization/v1/notifications/messages:readAll';
|
|
80218
|
+
};
|
|
80219
|
+
export type ReadAllOrganizationNotificationMessagesErrors = {
|
|
80220
|
+
/**
|
|
80221
|
+
* Missing or invalid credential (RFC 9457 problem).
|
|
80222
|
+
*/
|
|
80223
|
+
401: unknown;
|
|
80224
|
+
/**
|
|
80225
|
+
* `PERMISSION_DENIED`: an agent credential has no person inbox; read its own letters instead (RFC 9457 problem).
|
|
80226
|
+
*/
|
|
80227
|
+
403: unknown;
|
|
80228
|
+
/**
|
|
80229
|
+
* 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.
|
|
80230
|
+
*/
|
|
80231
|
+
502: unknown;
|
|
80232
|
+
};
|
|
80233
|
+
export type ReadAllOrganizationNotificationMessagesResponses = {
|
|
80234
|
+
/**
|
|
80235
|
+
* How many messages were marked read.
|
|
80236
|
+
*/
|
|
80237
|
+
200: {
|
|
80238
|
+
/**
|
|
80239
|
+
* The number of messages that were unread and are now read.
|
|
80240
|
+
*/
|
|
80241
|
+
updated: number;
|
|
80242
|
+
};
|
|
80243
|
+
};
|
|
80244
|
+
export type ReadAllOrganizationNotificationMessagesResponse = ReadAllOrganizationNotificationMessagesResponses[keyof ReadAllOrganizationNotificationMessagesResponses];
|
|
79475
80245
|
export type GetOrganizationNotificationPreferencesData = {
|
|
79476
80246
|
body?: never;
|
|
79477
80247
|
path?: never;
|
|
@@ -80939,7 +81709,7 @@ export type ListByodDevicesResponses = {
|
|
|
80939
81709
|
*/
|
|
80940
81710
|
id: string;
|
|
80941
81711
|
/**
|
|
80942
|
-
* The device's platform, which decides the use faces it answers. A desktop (macos, linux) pairs
|
|
81712
|
+
* The device's platform, which decides the use faces it answers. A desktop (macos, linux) pairs like a phone; windows is not supported yet.
|
|
80943
81713
|
*/
|
|
80944
81714
|
platform: 'android' | 'macos' | 'linux';
|
|
80945
81715
|
/**
|
|
@@ -81038,7 +81808,7 @@ export type GetByodDeviceResponses = {
|
|
|
81038
81808
|
*/
|
|
81039
81809
|
id: string;
|
|
81040
81810
|
/**
|
|
81041
|
-
* The device's platform, which decides the use faces it answers. A desktop (macos, linux) pairs
|
|
81811
|
+
* The device's platform, which decides the use faces it answers. A desktop (macos, linux) pairs like a phone; windows is not supported yet.
|
|
81042
81812
|
*/
|
|
81043
81813
|
platform: 'android' | 'macos' | 'linux';
|
|
81044
81814
|
/**
|
|
@@ -81148,7 +81918,7 @@ export type UpdateByodDeviceResponses = {
|
|
|
81148
81918
|
*/
|
|
81149
81919
|
id: string;
|
|
81150
81920
|
/**
|
|
81151
|
-
* The device's platform, which decides the use faces it answers. A desktop (macos, linux) pairs
|
|
81921
|
+
* The device's platform, which decides the use faces it answers. A desktop (macos, linux) pairs like a phone; windows is not supported yet.
|
|
81152
81922
|
*/
|
|
81153
81923
|
platform: 'android' | 'macos' | 'linux';
|
|
81154
81924
|
/**
|
|
@@ -81291,7 +82061,7 @@ export type ClaimByodPairingData = {
|
|
|
81291
82061
|
*/
|
|
81292
82062
|
body: {
|
|
81293
82063
|
/**
|
|
81294
|
-
* The device's platform. macos and linux are accepted
|
|
82064
|
+
* The device's platform. macos and linux are accepted for every organization; any other value than android, macos or linux answers INVALID_PARAMS.
|
|
81295
82065
|
*/
|
|
81296
82066
|
platform: 'android' | 'macos' | 'linux';
|
|
81297
82067
|
/**
|
|
@@ -81322,7 +82092,7 @@ export type ClaimByodPairingData = {
|
|
|
81322
82092
|
};
|
|
81323
82093
|
export type ClaimByodPairingErrors = {
|
|
81324
82094
|
/**
|
|
81325
|
-
* INVALID_PARAMS: the body is missing, platform is not android, macos or linux
|
|
82095
|
+
* INVALID_PARAMS: the body is missing, platform is not android, macos or linux. Fix the body and resend; the code is not spent by a refused claim.
|
|
81326
82096
|
*/
|
|
81327
82097
|
400: unknown;
|
|
81328
82098
|
/**
|
|
@@ -83945,8 +84715,7 @@ export type SessionsUpdateData = {
|
|
|
83945
84715
|
*/
|
|
83946
84716
|
title?: null | string;
|
|
83947
84717
|
/**
|
|
83948
|
-
*
|
|
83949
|
-
* requests setting this field are rejected. Reserved for future use.
|
|
84718
|
+
* The vaults this session carries, replacing the whole set it has now, including the vaults it took from its agent when it was created: send those ids again to keep them. At most 50 ids, each a vault of your organization that is not archived. The next command the session runs sees the new set: the secrets of the vaults become environment variables on its machine and are matched against its MCP servers, as sessions.create describes.
|
|
83950
84719
|
*/
|
|
83951
84720
|
vault_ids?: Array<string>;
|
|
83952
84721
|
/**
|
|
@@ -84887,7 +85656,7 @@ export type AgentsListResponses = {
|
|
|
84887
85656
|
*/
|
|
84888
85657
|
environment_id?: string | null;
|
|
84889
85658
|
/**
|
|
84890
|
-
* Default vaults of this service or assume agent version: the vault_ids new
|
|
85659
|
+
* Default vaults of this service or assume agent version: the vault_ids every new session carries; a session's own vault_ids are added to them. Present for service and assume agents. Follows the version like other configuration: a version saved with apply=false does not change the vaults in effect. Versions saved before this field existed read as []. /agent/v1 only.
|
|
84891
85660
|
*/
|
|
84892
85661
|
vault_ids?: Array<string>;
|
|
84893
85662
|
/**
|
|
@@ -85426,7 +86195,7 @@ export type AgentsCreateData = {
|
|
|
85426
86195
|
*/
|
|
85427
86196
|
environment_id?: string | null;
|
|
85428
86197
|
/**
|
|
85429
|
-
* Default vaults of
|
|
86198
|
+
* Default vaults of the agent: the vault_ids every new session carries, so the agent's credentials follow the version. A department or organization rule's grants write this list on the agents it reaches (the agent's vaults become exactly the rule's set). Their secrets reach each session's machine as environment variables and match its MCP servers; sessions.create says which are skipped. At most 50 ids without duplicates; each must be a vault of your organization that is not archived, otherwise 400 vault_ids[<index>] <id> was not found. Saved with the agent version like other configuration, so apply=false keeps the previous vaults in effect for new sessions until that version is applied; a session that sets vault_ids itself adds its vaults to these and does not replace them; sessions already open keep the vaults they were created with. Omit on create for []; on update, omit to keep the list and send an array to replace it as a whole. Versions saved before this field existed read as []. Embed tokens use the vault_ids of the version they pin; vault_ids on the embed policy is deprecated, still accepted and ignored. General and assume agents hold vaults on themselves the same way. /agent/v1 only; /anthropic neither accepts nor returns it.
|
|
85430
86199
|
*/
|
|
85431
86200
|
vault_ids?: Array<string>;
|
|
85432
86201
|
/**
|
|
@@ -86109,7 +86878,7 @@ export type AgentsCreateResponses = {
|
|
|
86109
86878
|
*/
|
|
86110
86879
|
environment_id?: string | null;
|
|
86111
86880
|
/**
|
|
86112
|
-
* Default vaults of this service or assume agent version: the vault_ids new
|
|
86881
|
+
* Default vaults of this service or assume agent version: the vault_ids every new session carries; a session's own vault_ids are added to them. Present for service and assume agents. Follows the version like other configuration: a version saved with apply=false does not change the vaults in effect. Versions saved before this field existed read as []. /agent/v1 only.
|
|
86113
86882
|
*/
|
|
86114
86883
|
vault_ids?: Array<string>;
|
|
86115
86884
|
/**
|
|
@@ -86780,7 +87549,7 @@ export type AgentsRetrieveResponses = {
|
|
|
86780
87549
|
*/
|
|
86781
87550
|
environment_id?: string | null;
|
|
86782
87551
|
/**
|
|
86783
|
-
* Default vaults of this service or assume agent version: the vault_ids new
|
|
87552
|
+
* Default vaults of this service or assume agent version: the vault_ids every new session carries; a session's own vault_ids are added to them. Present for service and assume agents. Follows the version like other configuration: a version saved with apply=false does not change the vaults in effect. Versions saved before this field existed read as []. /agent/v1 only.
|
|
86784
87553
|
*/
|
|
86785
87554
|
vault_ids?: Array<string>;
|
|
86786
87555
|
/**
|
|
@@ -87328,7 +88097,7 @@ export type AgentsUpdateData = {
|
|
|
87328
88097
|
*/
|
|
87329
88098
|
environment_id?: string | null;
|
|
87330
88099
|
/**
|
|
87331
|
-
* Default vaults of
|
|
88100
|
+
* Default vaults of the agent: the vault_ids every new session carries, so the agent's credentials follow the version. A department or organization rule's grants write this list on the agents it reaches (the agent's vaults become exactly the rule's set). Their secrets reach each session's machine as environment variables and match its MCP servers; sessions.create says which are skipped. At most 50 ids without duplicates; each must be a vault of your organization that is not archived, otherwise 400 vault_ids[<index>] <id> was not found. Saved with the agent version like other configuration, so apply=false keeps the previous vaults in effect for new sessions until that version is applied; a session that sets vault_ids itself adds its vaults to these and does not replace them; sessions already open keep the vaults they were created with. Omit on create for []; on update, omit to keep the list and send an array to replace it as a whole. Versions saved before this field existed read as []. Embed tokens use the vault_ids of the version they pin; vault_ids on the embed policy is deprecated, still accepted and ignored. General and assume agents hold vaults on themselves the same way. /agent/v1 only; /anthropic neither accepts nor returns it.
|
|
87332
88101
|
*/
|
|
87333
88102
|
vault_ids?: Array<string>;
|
|
87334
88103
|
/**
|
|
@@ -88024,7 +88793,7 @@ export type AgentsUpdateResponses = {
|
|
|
88024
88793
|
*/
|
|
88025
88794
|
environment_id?: string | null;
|
|
88026
88795
|
/**
|
|
88027
|
-
* Default vaults of this service or assume agent version: the vault_ids new
|
|
88796
|
+
* Default vaults of this service or assume agent version: the vault_ids every new session carries; a session's own vault_ids are added to them. Present for service and assume agents. Follows the version like other configuration: a version saved with apply=false does not change the vaults in effect. Versions saved before this field existed read as []. /agent/v1 only.
|
|
88028
88797
|
*/
|
|
88029
88798
|
vault_ids?: Array<string>;
|
|
88030
88799
|
/**
|
|
@@ -88650,7 +89419,7 @@ export type AgentsArchiveResponses = {
|
|
|
88650
89419
|
*/
|
|
88651
89420
|
environment_id?: string | null;
|
|
88652
89421
|
/**
|
|
88653
|
-
* Default vaults of this service or assume agent version: the vault_ids new
|
|
89422
|
+
* Default vaults of this service or assume agent version: the vault_ids every new session carries; a session's own vault_ids are added to them. Present for service and assume agents. Follows the version like other configuration: a version saved with apply=false does not change the vaults in effect. Versions saved before this field existed read as []. /agent/v1 only.
|
|
88654
89423
|
*/
|
|
88655
89424
|
vault_ids?: Array<string>;
|
|
88656
89425
|
/**
|
|
@@ -89321,7 +90090,7 @@ export type AgentsVersionsListResponses = {
|
|
|
89321
90090
|
*/
|
|
89322
90091
|
environment_id?: string | null;
|
|
89323
90092
|
/**
|
|
89324
|
-
* Default vaults of this service or assume agent version: the vault_ids new
|
|
90093
|
+
* Default vaults of this service or assume agent version: the vault_ids every new session carries; a session's own vault_ids are added to them. Present for service and assume agents. Follows the version like other configuration: a version saved with apply=false does not change the vaults in effect. Versions saved before this field existed read as []. /agent/v1 only.
|
|
89325
90094
|
*/
|
|
89326
90095
|
vault_ids?: Array<string>;
|
|
89327
90096
|
/**
|
|
@@ -99181,7 +99950,7 @@ export type AutomationRunsListData = {
|
|
|
99181
99950
|
*/
|
|
99182
99951
|
channel?: Array<'console' | 'api' | 'internal' | 'run' | 'trigger'>;
|
|
99183
99952
|
/**
|
|
99184
|
-
* Root initiator type: user, api_key, agent or
|
|
99953
|
+
* Root initiator type: user, api_key, agent, trigger or application, inherited by child runs. run returns INPUT_INVALID; filter origin with channel=run or parent_run_id. Separate multiple values with commas to match any value.
|
|
99185
99954
|
*/
|
|
99186
99955
|
initiator_type?: Array<'user' | 'api_key' | 'agent' | 'trigger'>;
|
|
99187
99956
|
/**
|
|
@@ -113729,7 +114498,7 @@ export type DevopsUnitsPushErrors = {
|
|
|
113729
114498
|
*/
|
|
113730
114499
|
404: DevopsDevOpsError;
|
|
113731
114500
|
/**
|
|
113732
|
-
* HEAD_MOVED means the change's branch on the remote is no longer the expectedHead that was sent — someone pushed to it since — so nothing was pushed
|
|
114501
|
+
* HEAD_MOVED means the change's branch on the remote is no longer the expectedHead that was sent — someone pushed to it since — so nothing was pushed. The message says where the remote is ("remote is at <sha7> (<full sha>) on <ref>") and details.remoteHead carries the full sha: send it as expectedHead after reconciling your checkout. PUSH_REJECTED_BY_HOOK means the machine's git ran a pre-push hook (lefthook, for example) and the hook refused: details.detail holds the hook's output and details.exitCode git's exit code; fix what the hook names, commit, and push again. PUSH_REJECTED_NON_FAST_FORWARD means the remote branch has commits your checkout lacks; fetch, reconcile and push again. UNIT_INVALID_STATE means the unit is not available (no machine or no checkout yet, or another transition is in flight), so there is nothing to push; read the unit's phase and retry once it has settled.
|
|
113733
114502
|
*/
|
|
113734
114503
|
409: DevopsDevOpsError;
|
|
113735
114504
|
/**
|
|
@@ -121444,7 +122213,7 @@ export type GetSandboxV1SandboxesResponses = {
|
|
|
121444
122213
|
};
|
|
121445
122214
|
export type GetSandboxV1SandboxesResponse = GetSandboxV1SandboxesResponses[keyof GetSandboxV1SandboxesResponses];
|
|
121446
122215
|
export type PostSandboxV1SandboxesData = {
|
|
121447
|
-
body:
|
|
122216
|
+
body: SandboxNewSandboxV2Writable;
|
|
121448
122217
|
path?: never;
|
|
121449
122218
|
query?: never;
|
|
121450
122219
|
url: '/sandbox/v1/sandboxes';
|