@deepraxis/sdk 0.2.0-dev.21a04ef → 0.2.0-dev.229e1e5
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 +92 -63
- package/README.md +1 -1
- package/dist/automation.d.ts +683 -64
- package/dist/core/bindings.d.ts +13 -0
- package/dist/core/bindings.js +17 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +105 -27
- package/dist/generated/sdk.gen.js +316 -89
- package/dist/generated/types.gen.d.ts +2399 -431
- package/dist/helpers/browser-actions.d.ts +2 -0
- package/dist/helpers/browser-actions.js +2 -0
- package/dist/helpers/browser-connect-error.d.ts +1 -1
- package/dist/helpers/browser-connect-error.js +1 -1
- package/dist/helpers/browser-connect.d.ts +10 -1
- package/dist/helpers/browser-connect.js +29 -6
- package/dist/helpers/browser-decisions.d.ts +2 -0
- package/dist/helpers/browser-decisions.js +7 -0
- package/dist/helpers/browser-documentation.d.ts +1 -1
- package/dist/helpers/browser-documentation.js +2 -1
- package/dist/operations.generated.js +726 -254
- package/dist/resources.generated.d.ts +791 -65
- package/dist/resources.generated.js +82 -63
- 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
|
*/
|
|
@@ -4591,6 +4680,10 @@ export type BrowserStreamMessage = {
|
|
|
4591
4680
|
*/
|
|
4592
4681
|
nextCursor: string | null;
|
|
4593
4682
|
};
|
|
4683
|
+
/**
|
|
4684
|
+
* The tab in front: the newest one the browser opened or the one a client last brought to the front. null when unknown.
|
|
4685
|
+
*/
|
|
4686
|
+
activePageId?: string | null;
|
|
4594
4687
|
};
|
|
4595
4688
|
} | {
|
|
4596
4689
|
event: 'session';
|
|
@@ -4601,7 +4694,10 @@ export type BrowserStreamMessage = {
|
|
|
4601
4694
|
} | {
|
|
4602
4695
|
event: 'action';
|
|
4603
4696
|
data: {
|
|
4604
|
-
|
|
4697
|
+
/**
|
|
4698
|
+
* page_activated: a client brought pageId to the front. Tab changes (page_opened, page_closed, page_activated) are never thinned out; the other kinds are sent at most four times a second.
|
|
4699
|
+
*/
|
|
4700
|
+
kind: 'navigate' | 'click' | 'type' | 'scroll' | 'page_opened' | 'page_closed' | 'page_activated';
|
|
4605
4701
|
pageId?: string;
|
|
4606
4702
|
url?: string;
|
|
4607
4703
|
x?: number;
|
|
@@ -12122,6 +12218,19 @@ export type AutomationDefinition = {
|
|
|
12122
12218
|
*/
|
|
12123
12219
|
updated_at: string;
|
|
12124
12220
|
};
|
|
12221
|
+
/**
|
|
12222
|
+
* The draft written on creation, in the shape a read returns: source is required and revision may be omitted.
|
|
12223
|
+
*/
|
|
12224
|
+
export type AutomationDraftCreateInput = {
|
|
12225
|
+
/**
|
|
12226
|
+
* Draft source: TypeScript for scripts, YAML for workflows.
|
|
12227
|
+
*/
|
|
12228
|
+
source: string;
|
|
12229
|
+
/**
|
|
12230
|
+
* A new definition has no earlier draft, so revision has no meaning here and is ignored; it lets a draft that was read be written back as is.
|
|
12231
|
+
*/
|
|
12232
|
+
revision?: string;
|
|
12233
|
+
};
|
|
12125
12234
|
export type AutomationDefinitionDetail = {
|
|
12126
12235
|
draft: AutomationDraft;
|
|
12127
12236
|
/**
|
|
@@ -12199,6 +12308,19 @@ export type AutomationDefinitionDetail = {
|
|
|
12199
12308
|
*/
|
|
12200
12309
|
updated_at: string;
|
|
12201
12310
|
};
|
|
12311
|
+
/**
|
|
12312
|
+
* The draft written on update, in the shape a read returns: revision is the concurrency token, and omitting source changes only metadata.
|
|
12313
|
+
*/
|
|
12314
|
+
export type AutomationDraftUpdateInput = {
|
|
12315
|
+
/**
|
|
12316
|
+
* The new draft source; omit it to keep the draft source and change only metadata.
|
|
12317
|
+
*/
|
|
12318
|
+
source?: string;
|
|
12319
|
+
/**
|
|
12320
|
+
* Concurrency token of the draft: the draft.revision a read returned, which must equal the current draft revision (a mismatch returns 412); the If-Match header is its deprecated alias.
|
|
12321
|
+
*/
|
|
12322
|
+
revision?: string;
|
|
12323
|
+
};
|
|
12202
12324
|
export type AutomationVersion = {
|
|
12203
12325
|
/**
|
|
12204
12326
|
* Version id, prefixed scv_ for scripts and wfv_ for workflows.
|
|
@@ -12879,7 +13001,9 @@ export type AutomationWait = {
|
|
|
12879
13001
|
*/
|
|
12880
13002
|
kind: 'event' | 'timer' | 'child';
|
|
12881
13003
|
/**
|
|
12882
|
-
* Wait point state. open is still waiting; resolved was satisfied; expired passed its expires_at; cancelled was cancelled and can no longer be satisfied.
|
|
13004
|
+
* Deprecated, read status, which holds the same value. Wait point state. open is still waiting; resolved was satisfied; expired passed its expires_at; cancelled was cancelled and can no longer be satisfied.
|
|
13005
|
+
*
|
|
13006
|
+
* @deprecated
|
|
12883
13007
|
*/
|
|
12884
13008
|
state: 'cancelled' | 'open' | 'resolved' | 'expired';
|
|
12885
13009
|
/**
|
|
@@ -12919,6 +13043,10 @@ export type AutomationWait = {
|
|
|
12919
13043
|
* Time the wait point was resolved (RFC 3339 UTC), or null if still open.
|
|
12920
13044
|
*/
|
|
12921
13045
|
resolved_at: null | string;
|
|
13046
|
+
/**
|
|
13047
|
+
* Wait point status. open is still waiting; resolved was satisfied; expired passed its expires_at; cancelled was cancelled and can no longer be satisfied.
|
|
13048
|
+
*/
|
|
13049
|
+
status: 'cancelled' | 'open' | 'resolved' | 'expired';
|
|
12922
13050
|
};
|
|
12923
13051
|
/**
|
|
12924
13052
|
* Record of one call made during a script run (an action, platform API, script or workflow), ordered by seq.
|
|
@@ -13163,7 +13291,7 @@ export type AutomationRunEvent = {
|
|
|
13163
13291
|
*/
|
|
13164
13292
|
id: string;
|
|
13165
13293
|
/**
|
|
13166
|
-
* Event source, of the form /automation/v1/runs/{
|
|
13294
|
+
* Event source, of the form /automation/v1/runs/{run_id}.
|
|
13167
13295
|
*/
|
|
13168
13296
|
source: string;
|
|
13169
13297
|
/**
|
|
@@ -13193,7 +13321,7 @@ export type AutomationRunEvent = {
|
|
|
13193
13321
|
*/
|
|
13194
13322
|
id: string;
|
|
13195
13323
|
/**
|
|
13196
|
-
* Event source, of the form /automation/v1/runs/{
|
|
13324
|
+
* Event source, of the form /automation/v1/runs/{run_id}.
|
|
13197
13325
|
*/
|
|
13198
13326
|
source: string;
|
|
13199
13327
|
/**
|
|
@@ -13223,7 +13351,7 @@ export type AutomationRunEvent = {
|
|
|
13223
13351
|
*/
|
|
13224
13352
|
id: string;
|
|
13225
13353
|
/**
|
|
13226
|
-
* Event source, of the form /automation/v1/runs/{
|
|
13354
|
+
* Event source, of the form /automation/v1/runs/{run_id}.
|
|
13227
13355
|
*/
|
|
13228
13356
|
source: string;
|
|
13229
13357
|
/**
|
|
@@ -13253,7 +13381,7 @@ export type AutomationRunEvent = {
|
|
|
13253
13381
|
*/
|
|
13254
13382
|
id: string;
|
|
13255
13383
|
/**
|
|
13256
|
-
* Event source, of the form /automation/v1/runs/{
|
|
13384
|
+
* Event source, of the form /automation/v1/runs/{run_id}.
|
|
13257
13385
|
*/
|
|
13258
13386
|
source: string;
|
|
13259
13387
|
/**
|
|
@@ -13283,7 +13411,7 @@ export type AutomationRunEvent = {
|
|
|
13283
13411
|
*/
|
|
13284
13412
|
id: string;
|
|
13285
13413
|
/**
|
|
13286
|
-
* Event source, of the form /automation/v1/runs/{
|
|
13414
|
+
* Event source, of the form /automation/v1/runs/{run_id}.
|
|
13287
13415
|
*/
|
|
13288
13416
|
source: string;
|
|
13289
13417
|
/**
|
|
@@ -13380,7 +13508,7 @@ export type AutomationTrigger = {
|
|
|
13380
13508
|
*/
|
|
13381
13509
|
input_mode: 'body' | 'envelope';
|
|
13382
13510
|
/**
|
|
13383
|
-
* Masked webhook address with an ellipsis replacing the secret token; it cannot be invoked. Newly created triggers use a full public URL; historical records may contain a relative /automation/v1/hooks/{
|
|
13511
|
+
* Masked webhook address with an ellipsis replacing the secret token; it cannot be invoked. Newly created triggers use a full public URL; historical records may contain a relative /automation/v1/hooks/{trigger_id}/… path.
|
|
13384
13512
|
*/
|
|
13385
13513
|
url_hint: string;
|
|
13386
13514
|
} | null;
|
|
@@ -13392,6 +13520,11 @@ export type AutomationTrigger = {
|
|
|
13392
13520
|
* Tenant that owns the trigger, injected by the gateway; treat it as an opaque string.
|
|
13393
13521
|
*/
|
|
13394
13522
|
owner: string;
|
|
13523
|
+
/**
|
|
13524
|
+
* Deprecated, read status, which holds the same value. Trigger state: enabled, paused or expired.
|
|
13525
|
+
*
|
|
13526
|
+
* @deprecated
|
|
13527
|
+
*/
|
|
13395
13528
|
state: AutomationTriggerState;
|
|
13396
13529
|
/**
|
|
13397
13530
|
* Origin of the trigger. api was created through the API and can be changed and deleted; definition was generated from the schedule in a workflow YAML and can only be paused or resumed, changes return 409 TRIGGER_MANAGED.
|
|
@@ -13444,9 +13577,13 @@ export type AutomationTrigger = {
|
|
|
13444
13577
|
*/
|
|
13445
13578
|
etag: string;
|
|
13446
13579
|
/**
|
|
13447
|
-
* Returned only by GET /triggers/{
|
|
13580
|
+
* Returned only by GET /triggers/{trigger_id}, omitted from lists. Attributed charges over the preceding 30 days for this trigger's runs and descendants. Runs themselves are free; these are actual charges for capabilities such as models and search called during runs, attributed by call. Unrated usage is included later. Aggregation failure or timeout (1.5 seconds) returns null while details still return 200.
|
|
13448
13581
|
*/
|
|
13449
13582
|
usage_30d?: AutomationAttributedUsage | null;
|
|
13583
|
+
/**
|
|
13584
|
+
* Trigger status: enabled fires on schedule or request; paused does not fire; expired is final and no longer fires.
|
|
13585
|
+
*/
|
|
13586
|
+
status: AutomationTriggerState;
|
|
13450
13587
|
};
|
|
13451
13588
|
export type AutomationTriggerCreateResult = {
|
|
13452
13589
|
/**
|
|
@@ -13500,7 +13637,7 @@ export type AutomationTriggerCreateResult = {
|
|
|
13500
13637
|
*/
|
|
13501
13638
|
input_mode: 'body' | 'envelope';
|
|
13502
13639
|
/**
|
|
13503
|
-
* Masked webhook address with an ellipsis replacing the secret token; it cannot be invoked. Newly created triggers use a full public URL; historical records may contain a relative /automation/v1/hooks/{
|
|
13640
|
+
* Masked webhook address with an ellipsis replacing the secret token; it cannot be invoked. Newly created triggers use a full public URL; historical records may contain a relative /automation/v1/hooks/{trigger_id}/… path.
|
|
13504
13641
|
*/
|
|
13505
13642
|
url_hint: string;
|
|
13506
13643
|
} | null;
|
|
@@ -13512,6 +13649,11 @@ export type AutomationTriggerCreateResult = {
|
|
|
13512
13649
|
* Tenant that owns the trigger, injected by the gateway; treat it as an opaque string.
|
|
13513
13650
|
*/
|
|
13514
13651
|
owner: string;
|
|
13652
|
+
/**
|
|
13653
|
+
* Deprecated, read status, which holds the same value. Trigger state: enabled, paused or expired.
|
|
13654
|
+
*
|
|
13655
|
+
* @deprecated
|
|
13656
|
+
*/
|
|
13515
13657
|
state: AutomationTriggerState;
|
|
13516
13658
|
/**
|
|
13517
13659
|
* Origin of the trigger. api was created through the API and can be changed and deleted; definition was generated from the schedule in a workflow YAML and can only be paused or resumed, changes return 409 TRIGGER_MANAGED.
|
|
@@ -13564,13 +13706,19 @@ export type AutomationTriggerCreateResult = {
|
|
|
13564
13706
|
*/
|
|
13565
13707
|
etag: string;
|
|
13566
13708
|
/**
|
|
13567
|
-
* Always null in a create response; the 30-day usage is only returned by GET /triggers/{
|
|
13709
|
+
* Always null in a create response; the 30-day usage is only returned by GET /triggers/{trigger_id}.
|
|
13568
13710
|
*/
|
|
13569
13711
|
usage_30d?: AutomationAttributedUsage | null;
|
|
13570
13712
|
/**
|
|
13571
13713
|
* Returned only on webhook creation or rotation.
|
|
13572
13714
|
*/
|
|
13573
13715
|
webhook_url?: string;
|
|
13716
|
+
/**
|
|
13717
|
+
* Trigger status: enabled fires on schedule or request; paused does not fire; expired is final and no longer fires.
|
|
13718
|
+
*
|
|
13719
|
+
* @deprecated
|
|
13720
|
+
*/
|
|
13721
|
+
status: AutomationTriggerState;
|
|
13574
13722
|
};
|
|
13575
13723
|
/**
|
|
13576
13724
|
* A duration: an ISO 8601 string such as PT5M, or an object with days, hours, minutes, seconds and milliseconds. It must convert to a whole number of milliseconds between 60000 and 31622400000 (1 minute to 366 days).
|
|
@@ -13750,7 +13898,7 @@ export type AutomationHumanTask = {
|
|
|
13750
13898
|
*/
|
|
13751
13899
|
initiator: {
|
|
13752
13900
|
/**
|
|
13753
|
-
* Initiator type: user, api_key, agent, run (a parent run) or
|
|
13901
|
+
* Initiator type: user, api_key, agent, run (a parent run), trigger or application.
|
|
13754
13902
|
*/
|
|
13755
13903
|
type: 'user' | 'api_key' | 'agent' | 'run' | 'trigger';
|
|
13756
13904
|
/**
|
|
@@ -20047,6 +20195,10 @@ export type DevopsPullRequest = {
|
|
|
20047
20195
|
* The mergeability word, an open set. A GitHub project keeps GitHub's own word verbatim (clean, dirty, blocked, behind, unstable and so on), unknown when GitHub has not said. A project whose code is on our own Git gets DevOps's reading of the head against the base: clean when nothing stands in the way, behind when the head adds nothing the base lacks, dirty when both sides changed the same path since they diverged, unknown when the comparison was capped.
|
|
20048
20196
|
*/
|
|
20049
20197
|
mergeableState: string;
|
|
20198
|
+
/**
|
|
20199
|
+
* Who this pull request's letters go to — the gate verdict, the merge, the deploy to each integration environment and an integration failure — as the description's praxis block names it with notify: agent:<id> or notify: human:<id>. Optional and never part of the gate: absent when the block names nobody or names something that is not an address. A pull request of a DevOps change that names nobody writes to the change's owner.
|
|
20200
|
+
*/
|
|
20201
|
+
notify?: string;
|
|
20050
20202
|
/**
|
|
20051
20203
|
* The exposure the description's praxis block declares, or null when the description declares none — which is itself a failed gate check. The kind decides which other checks apply: a flag adds its key and observe window, unwired and expand-contract add a reason, expand-contract also a phase, and direct is judged by a person.
|
|
20052
20204
|
*/
|
|
@@ -21348,7 +21500,7 @@ export type MediaLibrary = {
|
|
|
21348
21500
|
};
|
|
21349
21501
|
export type MediaMediaError = {
|
|
21350
21502
|
error: {
|
|
21351
|
-
code: 'LIBRARY_NOT_FOUND' | 'ASSET_NOT_FOUND' | 'JOB_NOT_FOUND' | 'UNDERSTANDING_NOT_FOUND' | 'ASSET_VERSION_CHANGED' | 'LIBRARY_INVALID_STATE' | 'INVALID_PARAMS' | 'INVALID_EXPRESSION' | 'UNSUPPORTED' | 'NOT_IMPLEMENTED' | 'FILE_TOO_LARGE' | 'FILE_EMPTY' | 'FILE_NOT_READY' | 'UNSUPPORTED_MEDIA' | 'FETCH_FAILED' | 'LIMIT_EXCEEDED' | 'CHUNK_INVALID' | 'RATE_LIMITED' | 'CAPACITY' | 'UPSTREAM_FAILED' | 'CONTENT_REJECTED' | 'GENERATION_FAILED' | 'BINDING_READ_ONLY' | 'OPERATION_NOT_SUPPORTED' | 'MODEL_PENDING' | 'REFERENCE_TYPE_MISMATCH' | 'CONSENT_REQUIRED' | 'LIBRARY_IS_DEFAULT' | 'JOB_INVALID_STATE' | 'VOICE_TRAINING' | 'INSUFFICIENT_BALANCE';
|
|
21503
|
+
code: 'LIBRARY_NOT_FOUND' | 'ASSET_NOT_FOUND' | 'WORK_NOT_FOUND' | 'REVISION_CONFLICT' | 'JOB_NOT_FOUND' | 'UNDERSTANDING_NOT_FOUND' | 'ASSET_VERSION_CHANGED' | 'LIBRARY_INVALID_STATE' | 'INVALID_PARAMS' | 'INVALID_EXPRESSION' | 'UNSUPPORTED' | 'NOT_IMPLEMENTED' | 'FILE_TOO_LARGE' | 'FILE_EMPTY' | 'FILE_NOT_READY' | 'UNSUPPORTED_MEDIA' | 'FETCH_FAILED' | 'LIMIT_EXCEEDED' | 'CHUNK_INVALID' | 'RATE_LIMITED' | 'CAPACITY' | 'UPSTREAM_FAILED' | 'CONTENT_REJECTED' | 'GENERATION_FAILED' | 'BINDING_READ_ONLY' | 'OPERATION_NOT_SUPPORTED' | 'MODEL_PENDING' | 'REFERENCE_TYPE_MISMATCH' | 'CONSENT_REQUIRED' | 'LIBRARY_IS_DEFAULT' | 'JOB_INVALID_STATE' | 'VOICE_TRAINING' | 'INSUFFICIENT_BALANCE';
|
|
21352
21504
|
message: string;
|
|
21353
21505
|
details: string | null;
|
|
21354
21506
|
};
|
|
@@ -22877,6 +23029,107 @@ export type MediaVoiceDesignCreateInput = {
|
|
|
22877
23029
|
*/
|
|
22878
23030
|
description?: string;
|
|
22879
23031
|
};
|
|
23032
|
+
/**
|
|
23033
|
+
* A work: an object of the library above its assets that orders references to them and adds a title and text. It copies no file and changes no asset.
|
|
23034
|
+
*/
|
|
23035
|
+
export type MediaWork = {
|
|
23036
|
+
/**
|
|
23037
|
+
* Always work.
|
|
23038
|
+
*/
|
|
23039
|
+
object: 'work';
|
|
23040
|
+
/**
|
|
23041
|
+
* Work id (wrk_…).
|
|
23042
|
+
*/
|
|
23043
|
+
id: string;
|
|
23044
|
+
/**
|
|
23045
|
+
* Library the work belongs to.
|
|
23046
|
+
*/
|
|
23047
|
+
library_id: MediaLibraryId;
|
|
23048
|
+
/**
|
|
23049
|
+
* The work’s kind.
|
|
23050
|
+
*/
|
|
23051
|
+
kind: MediaWorkKind;
|
|
23052
|
+
/**
|
|
23053
|
+
* The title, copied from body.title.
|
|
23054
|
+
*/
|
|
23055
|
+
title: string;
|
|
23056
|
+
/**
|
|
23057
|
+
* Groups the platform versions of one story; null when unset.
|
|
23058
|
+
*/
|
|
23059
|
+
series: string | null;
|
|
23060
|
+
/**
|
|
23061
|
+
* The kind’s body as stored.
|
|
23062
|
+
*/
|
|
23063
|
+
body: MediaWorkBody;
|
|
23064
|
+
/**
|
|
23065
|
+
* Caller data such as source, published links and numbers; changed with a JSON Merge Patch.
|
|
23066
|
+
*/
|
|
23067
|
+
custom: MediaWorkCustom;
|
|
23068
|
+
/**
|
|
23069
|
+
* Asset ids the body names that have been deleted since; the body keeps them in place and the Console draws a placeholder there.
|
|
23070
|
+
*/
|
|
23071
|
+
missing: Array<string>;
|
|
23072
|
+
/**
|
|
23073
|
+
* Bumped by every change; send it back as if_revision to update only an unchanged work.
|
|
23074
|
+
*/
|
|
23075
|
+
revision: number;
|
|
23076
|
+
/**
|
|
23077
|
+
* Who created the work: human:<user id>, agent:<agent id> or system.
|
|
23078
|
+
*/
|
|
23079
|
+
created_by: string;
|
|
23080
|
+
/**
|
|
23081
|
+
* When the work was created.
|
|
23082
|
+
*/
|
|
23083
|
+
created_at: MediaIsoTimestamp;
|
|
23084
|
+
/**
|
|
23085
|
+
* When the work last changed.
|
|
23086
|
+
*/
|
|
23087
|
+
updated_at: MediaIsoTimestamp;
|
|
23088
|
+
/**
|
|
23089
|
+
* Only with expand=assets: every live referenced asset by id, with its URLs and size.
|
|
23090
|
+
*/
|
|
23091
|
+
assets?: {
|
|
23092
|
+
[key: string]: MediaWorkAsset;
|
|
23093
|
+
};
|
|
23094
|
+
};
|
|
23095
|
+
/**
|
|
23096
|
+
* Kind of work: gallery (图文), article (长文) or product_listing (商品图组). short_video is reserved.
|
|
23097
|
+
*/
|
|
23098
|
+
export type MediaWorkKind = 'gallery' | 'article' | 'product_listing' | 'blocks';
|
|
23099
|
+
export type MediaWorkBody = MediaGalleryBody | MediaArticleBody | MediaProductListingBody | MediaBlocksBody;
|
|
23100
|
+
export type MediaWorkCustom = {
|
|
23101
|
+
[key: string]: unknown;
|
|
23102
|
+
};
|
|
23103
|
+
/**
|
|
23104
|
+
* A page of work summaries.
|
|
23105
|
+
*/
|
|
23106
|
+
export type MediaWorkPage = {
|
|
23107
|
+
/**
|
|
23108
|
+
* Works in this page, most recently changed first.
|
|
23109
|
+
*/
|
|
23110
|
+
data: Array<MediaWorkSummary>;
|
|
23111
|
+
/**
|
|
23112
|
+
* Cursor for the next page, or null when there are no more works.
|
|
23113
|
+
*/
|
|
23114
|
+
next_cursor: string | null;
|
|
23115
|
+
};
|
|
23116
|
+
/**
|
|
23117
|
+
* The answer to deleting a work.
|
|
23118
|
+
*/
|
|
23119
|
+
export type MediaDeletedWork = {
|
|
23120
|
+
/**
|
|
23121
|
+
* Id of the deleted work.
|
|
23122
|
+
*/
|
|
23123
|
+
id: string;
|
|
23124
|
+
/**
|
|
23125
|
+
* Always work.
|
|
23126
|
+
*/
|
|
23127
|
+
object: 'work';
|
|
23128
|
+
/**
|
|
23129
|
+
* Always true: the work is deleted; every asset it named is unchanged.
|
|
23130
|
+
*/
|
|
23131
|
+
deleted: true;
|
|
23132
|
+
};
|
|
22880
23133
|
/**
|
|
22881
23134
|
* One page of type registrations; types are few enough that this face returns them in a single page.
|
|
22882
23135
|
*/
|
|
@@ -35011,6 +35264,14 @@ export type SandboxSandboxNetworkConfig = {
|
|
|
35011
35264
|
rules?: {
|
|
35012
35265
|
[key: string]: Array<SandboxSandboxNetworkRule>;
|
|
35013
35266
|
};
|
|
35267
|
+
/**
|
|
35268
|
+
* 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.
|
|
35269
|
+
*/
|
|
35270
|
+
staticEgressIp?: boolean;
|
|
35271
|
+
/**
|
|
35272
|
+
* 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.
|
|
35273
|
+
*/
|
|
35274
|
+
readonly egressIp?: string;
|
|
35014
35275
|
};
|
|
35015
35276
|
/**
|
|
35016
35277
|
* Sandbox lifecycle policy returned by sandbox info.
|
|
@@ -36721,11 +36982,11 @@ export type AutomationActionHost = 'builtin' | 'isolate' | 'sandbox';
|
|
|
36721
36982
|
*/
|
|
36722
36983
|
export type AutomationSubject = {
|
|
36723
36984
|
/**
|
|
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.
|
|
36985
|
+
* 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
36986
|
*/
|
|
36726
36987
|
type: 'user' | 'api_key' | 'agent' | 'run' | 'trigger';
|
|
36727
36988
|
/**
|
|
36728
|
-
* Principal identifier whose meaning follows type: a user, API key, agent, run or
|
|
36989
|
+
* Principal identifier whose meaning follows type: a user, API key, agent, run, trigger or application id. Treat it as an opaque string.
|
|
36729
36990
|
*/
|
|
36730
36991
|
id: string;
|
|
36731
36992
|
};
|
|
@@ -36768,7 +37029,7 @@ export type AutomationDraft = {
|
|
|
36768
37029
|
*/
|
|
36769
37030
|
source: string;
|
|
36770
37031
|
/**
|
|
36771
|
-
* Draft revision tag (ETag); send it
|
|
37032
|
+
* Draft revision tag (ETag); send it back unchanged as draft.revision when updating the draft or publishing, and a mismatch returns 412.
|
|
36772
37033
|
*/
|
|
36773
37034
|
revision: string;
|
|
36774
37035
|
/**
|
|
@@ -40284,6 +40545,10 @@ export type DevopsUnitGit = {
|
|
|
40284
40545
|
* The ref holding the unit's work in progress, or null when none was recorded.
|
|
40285
40546
|
*/
|
|
40286
40547
|
wipRef: string | null;
|
|
40548
|
+
/**
|
|
40549
|
+
* 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.
|
|
40550
|
+
*/
|
|
40551
|
+
remoteHead?: string;
|
|
40287
40552
|
/**
|
|
40288
40553
|
* RFC 3339 UTC time these facts were observed, or null before the first observation.
|
|
40289
40554
|
*/
|
|
@@ -41453,7 +41718,7 @@ export type MediaGenerationType = 'image' | 'video' | 'speech' | 'music' | 'soun
|
|
|
41453
41718
|
* Edit operations: the change this step applied to its parent asset.
|
|
41454
41719
|
*/
|
|
41455
41720
|
export type MediaGenerationOperation = 'generate' | 'clone' | 'tag' | 'untag' | 'set_context' | 'move' | 'delete' | 'reprocess' | 'variations' | 'upscale' | 'outpaint' | 'inpaint' | 'erase' | 'replace_object' | 'recolor' | 'remove_background' | 'replace_background' | 'to_video' | 'extend' | 'edit' | 'lip_sync' | 'frame' | 'to_gif' | 'voice_change' | 'resynthesize';
|
|
41456
|
-
export type MediaMediaErrorCode = 'LIBRARY_NOT_FOUND' | 'ASSET_NOT_FOUND' | 'JOB_NOT_FOUND' | 'UNDERSTANDING_NOT_FOUND' | 'ASSET_VERSION_CHANGED' | 'LIBRARY_INVALID_STATE' | 'INVALID_PARAMS' | 'INVALID_EXPRESSION' | 'UNSUPPORTED' | 'NOT_IMPLEMENTED' | 'FILE_TOO_LARGE' | 'FILE_EMPTY' | 'FILE_NOT_READY' | 'UNSUPPORTED_MEDIA' | 'FETCH_FAILED' | 'LIMIT_EXCEEDED' | 'CHUNK_INVALID' | 'RATE_LIMITED' | 'CAPACITY' | 'UPSTREAM_FAILED' | 'CONTENT_REJECTED' | 'GENERATION_FAILED' | 'BINDING_READ_ONLY' | 'OPERATION_NOT_SUPPORTED' | 'MODEL_PENDING' | 'REFERENCE_TYPE_MISMATCH' | 'CONSENT_REQUIRED' | 'LIBRARY_IS_DEFAULT' | 'JOB_INVALID_STATE' | 'VOICE_TRAINING' | 'INSUFFICIENT_BALANCE';
|
|
41721
|
+
export type MediaMediaErrorCode = 'LIBRARY_NOT_FOUND' | 'ASSET_NOT_FOUND' | 'WORK_NOT_FOUND' | 'REVISION_CONFLICT' | 'JOB_NOT_FOUND' | 'UNDERSTANDING_NOT_FOUND' | 'ASSET_VERSION_CHANGED' | 'LIBRARY_INVALID_STATE' | 'INVALID_PARAMS' | 'INVALID_EXPRESSION' | 'UNSUPPORTED' | 'NOT_IMPLEMENTED' | 'FILE_TOO_LARGE' | 'FILE_EMPTY' | 'FILE_NOT_READY' | 'UNSUPPORTED_MEDIA' | 'FETCH_FAILED' | 'LIMIT_EXCEEDED' | 'CHUNK_INVALID' | 'RATE_LIMITED' | 'CAPACITY' | 'UPSTREAM_FAILED' | 'CONTENT_REJECTED' | 'GENERATION_FAILED' | 'BINDING_READ_ONLY' | 'OPERATION_NOT_SUPPORTED' | 'MODEL_PENDING' | 'REFERENCE_TYPE_MISMATCH' | 'CONSENT_REQUIRED' | 'LIBRARY_IS_DEFAULT' | 'JOB_INVALID_STATE' | 'VOICE_TRAINING' | 'INSUFFICIENT_BALANCE';
|
|
41457
41722
|
/**
|
|
41458
41723
|
* State of a requested generation output.
|
|
41459
41724
|
*/
|
|
@@ -41799,6 +42064,192 @@ export type MediaHlsRendition = {
|
|
|
41799
42064
|
state: MediaHlsRenditionState;
|
|
41800
42065
|
};
|
|
41801
42066
|
export type MediaVoiceConsentId = string;
|
|
42067
|
+
/**
|
|
42068
|
+
* One referenced asset as expand=assets returns it: enough to draw it without another call.
|
|
42069
|
+
*/
|
|
42070
|
+
export type MediaWorkAsset = {
|
|
42071
|
+
/**
|
|
42072
|
+
* The asset’s material type, such as image or video.
|
|
42073
|
+
*/
|
|
42074
|
+
type: MediaMaterialType;
|
|
42075
|
+
/**
|
|
42076
|
+
* Short-lived delivery URL of the asset.
|
|
42077
|
+
*/
|
|
42078
|
+
url: string;
|
|
42079
|
+
/**
|
|
42080
|
+
* Short-lived URL of a small picture: the poster of a video, otherwise the asset itself.
|
|
42081
|
+
*/
|
|
42082
|
+
thumbnail_url: string;
|
|
42083
|
+
/**
|
|
42084
|
+
* Width in pixels when known.
|
|
42085
|
+
*/
|
|
42086
|
+
width?: number;
|
|
42087
|
+
/**
|
|
42088
|
+
* Height in pixels when known.
|
|
42089
|
+
*/
|
|
42090
|
+
height?: number;
|
|
42091
|
+
/**
|
|
42092
|
+
* The asset’s display name.
|
|
42093
|
+
*/
|
|
42094
|
+
display_name: string;
|
|
42095
|
+
};
|
|
42096
|
+
/**
|
|
42097
|
+
* Body of a gallery (图文). Order is the order of items.
|
|
42098
|
+
*/
|
|
42099
|
+
export type MediaGalleryBody = {
|
|
42100
|
+
/**
|
|
42101
|
+
* Title, 1 to 100 characters.
|
|
42102
|
+
*/
|
|
42103
|
+
title: string;
|
|
42104
|
+
/**
|
|
42105
|
+
* Body text, at most 10000 characters.
|
|
42106
|
+
*/
|
|
42107
|
+
text?: string;
|
|
42108
|
+
/**
|
|
42109
|
+
* Topics without the # sign, at most 30 of up to 40 characters.
|
|
42110
|
+
*/
|
|
42111
|
+
topics?: Array<string>;
|
|
42112
|
+
/**
|
|
42113
|
+
* Optional cover: an image or sticker asset of this library; without it the first picture is the cover.
|
|
42114
|
+
*/
|
|
42115
|
+
cover?: string;
|
|
42116
|
+
/**
|
|
42117
|
+
* Pictures, videos and text segments in order, 1 to 100 entries with at least one asset; each asset appears once.
|
|
42118
|
+
*/
|
|
42119
|
+
items: Array<MediaGalleryItem>;
|
|
42120
|
+
/**
|
|
42121
|
+
* Display style; defaults to xiaohongshu in the Console.
|
|
42122
|
+
*/
|
|
42123
|
+
style?: MediaWorkStyle;
|
|
42124
|
+
};
|
|
42125
|
+
/**
|
|
42126
|
+
* Body of an article (长文). Inline images live in the Markdown as  and sit where they are written.
|
|
42127
|
+
*/
|
|
42128
|
+
export type MediaArticleBody = {
|
|
42129
|
+
/**
|
|
42130
|
+
* Title, 1 to 200 characters.
|
|
42131
|
+
*/
|
|
42132
|
+
title: string;
|
|
42133
|
+
/**
|
|
42134
|
+
* Optional summary or digest, at most 500 characters.
|
|
42135
|
+
*/
|
|
42136
|
+
summary?: string;
|
|
42137
|
+
/**
|
|
42138
|
+
* Optional author name, at most 60 characters.
|
|
42139
|
+
*/
|
|
42140
|
+
author?: string;
|
|
42141
|
+
/**
|
|
42142
|
+
* The article in Markdown, 1 to 100000 characters; every asset:<asset_id> image must be an image or sticker of this library.
|
|
42143
|
+
*/
|
|
42144
|
+
body: string;
|
|
42145
|
+
/**
|
|
42146
|
+
* Optional cover: an image or sticker asset of this library.
|
|
42147
|
+
*/
|
|
42148
|
+
cover?: string;
|
|
42149
|
+
/**
|
|
42150
|
+
* Display style; defaults to wechat_mp in the Console.
|
|
42151
|
+
*/
|
|
42152
|
+
style?: MediaWorkStyle;
|
|
42153
|
+
};
|
|
42154
|
+
/**
|
|
42155
|
+
* Body of a product listing (商品图组). Images and copy only: price, stock and other business data are managed outside the library and are refused.
|
|
42156
|
+
*/
|
|
42157
|
+
export type MediaProductListingBody = {
|
|
42158
|
+
/**
|
|
42159
|
+
* Listing title, 1 to 200 characters.
|
|
42160
|
+
*/
|
|
42161
|
+
title: string;
|
|
42162
|
+
/**
|
|
42163
|
+
* Selling points in order, at most 10 of up to 100 characters.
|
|
42164
|
+
*/
|
|
42165
|
+
selling_points?: Array<string>;
|
|
42166
|
+
/**
|
|
42167
|
+
* Parameter rows in order, at most 50.
|
|
42168
|
+
*/
|
|
42169
|
+
attributes?: Array<MediaListingAttribute>;
|
|
42170
|
+
/**
|
|
42171
|
+
* Main images in order, 1 to 20 image or sticker assets of this library.
|
|
42172
|
+
*/
|
|
42173
|
+
main: Array<string>;
|
|
42174
|
+
/**
|
|
42175
|
+
* Detail images in order, at most 100 image or sticker assets of this library.
|
|
42176
|
+
*/
|
|
42177
|
+
detail?: Array<string>;
|
|
42178
|
+
/**
|
|
42179
|
+
* SKUs in order, at most 200.
|
|
42180
|
+
*/
|
|
42181
|
+
skus?: Array<MediaListingSku>;
|
|
42182
|
+
/**
|
|
42183
|
+
* Optional product element (material_type product) this listing shows.
|
|
42184
|
+
*/
|
|
42185
|
+
product?: string;
|
|
42186
|
+
/**
|
|
42187
|
+
* Display style; defaults to generic in the Console.
|
|
42188
|
+
*/
|
|
42189
|
+
style?: MediaWorkStyle;
|
|
42190
|
+
};
|
|
42191
|
+
/**
|
|
42192
|
+
* Body of a general work (通用作品): Editor.js saved data plus one field of ours, a required title. Business attributes go in the work’s custom, not in a block.
|
|
42193
|
+
*/
|
|
42194
|
+
export type MediaBlocksBody = {
|
|
42195
|
+
/**
|
|
42196
|
+
* The work’s title, 1 to 200 characters, written explicitly as in the other kinds; lists and sorting use it.
|
|
42197
|
+
*/
|
|
42198
|
+
title: string;
|
|
42199
|
+
/**
|
|
42200
|
+
* Optional Editor.js save time in milliseconds, kept as sent.
|
|
42201
|
+
*/
|
|
42202
|
+
time?: number;
|
|
42203
|
+
/**
|
|
42204
|
+
* The blocks in order, 1 to 500.
|
|
42205
|
+
*/
|
|
42206
|
+
blocks: Array<MediaEditorBlock>;
|
|
42207
|
+
/**
|
|
42208
|
+
* Optional Editor.js version string, kept as sent.
|
|
42209
|
+
*/
|
|
42210
|
+
version?: string;
|
|
42211
|
+
};
|
|
42212
|
+
/**
|
|
42213
|
+
* One work in a list.
|
|
42214
|
+
*/
|
|
42215
|
+
export type MediaWorkSummary = {
|
|
42216
|
+
/**
|
|
42217
|
+
* Always work.
|
|
42218
|
+
*/
|
|
42219
|
+
object: 'work';
|
|
42220
|
+
/**
|
|
42221
|
+
* Work id (wrk_…).
|
|
42222
|
+
*/
|
|
42223
|
+
id: string;
|
|
42224
|
+
/**
|
|
42225
|
+
* The work’s kind.
|
|
42226
|
+
*/
|
|
42227
|
+
kind: MediaWorkKind;
|
|
42228
|
+
/**
|
|
42229
|
+
* The work’s title.
|
|
42230
|
+
*/
|
|
42231
|
+
title: string;
|
|
42232
|
+
/**
|
|
42233
|
+
* The work’s series, or null.
|
|
42234
|
+
*/
|
|
42235
|
+
series: string | null;
|
|
42236
|
+
/**
|
|
42237
|
+
* Short-lived URL of the cover picture, or null when it is missing.
|
|
42238
|
+
*/
|
|
42239
|
+
cover_url: string | null;
|
|
42240
|
+
/**
|
|
42241
|
+
* How many distinct assets the body orders, cover and product element excluded.
|
|
42242
|
+
*/
|
|
42243
|
+
item_count: number;
|
|
42244
|
+
/**
|
|
42245
|
+
* How many referenced assets have been deleted since.
|
|
42246
|
+
*/
|
|
42247
|
+
missing_count: number;
|
|
42248
|
+
/**
|
|
42249
|
+
* When the work last changed.
|
|
42250
|
+
*/
|
|
42251
|
+
updated_at: MediaIsoTimestamp;
|
|
42252
|
+
};
|
|
41802
42253
|
/**
|
|
41803
42254
|
* A kind of entity the graph accepts, for example a file or a customer.
|
|
41804
42255
|
*/
|
|
@@ -48147,7 +48598,7 @@ export type DevopsPlannedSkip = {
|
|
|
48147
48598
|
/**
|
|
48148
48599
|
* Why it is left out, which is what tells a deliberate skip apart from an oversight.
|
|
48149
48600
|
*/
|
|
48150
|
-
reason: 'unchanged' | 'newer_checkpoint' | 'not_requested' | 'callee_excluded' | 'artifact_identical';
|
|
48601
|
+
reason: 'unchanged' | 'newer_checkpoint' | 'not_requested' | 'callee_excluded' | 'not_deployed_upstream' | 'artifact_identical';
|
|
48151
48602
|
};
|
|
48152
48603
|
/**
|
|
48153
48604
|
* The migrations one target has pending, as the plan found them.
|
|
@@ -48783,7 +49234,7 @@ export type MediaSemanticMatch = {
|
|
|
48783
49234
|
/**
|
|
48784
49235
|
* Type of change recorded for a library, asset, processing task, search index or batch.
|
|
48785
49236
|
*/
|
|
48786
|
-
export type MediaMediaEventType = 'library.status_provisioning' | 'library.status_active' | 'library.status_deleting' | 'library.status_deleted' | 'library.status_failed' | 'library.restored' | 'library.updated' | 'asset.created' | 'asset.updated' | 'asset.overwritten' | 'asset.renamed' | 'asset.deleted' | 'understanding.status_ready' | 'understanding.status_failed' | 'understanding.status_unsupported' | 'search.indexed' | 'batch.succeeded' | 'batch.failed' | 'library.understanding_drained' | 'batch.created' | 'hls.requested' | 'generation.created' | 'generation.succeeded' | 'generation.failed' | 'generation.cancelled';
|
|
49237
|
+
export type MediaMediaEventType = 'library.status_provisioning' | 'library.status_active' | 'library.status_deleting' | 'library.status_deleted' | 'library.status_failed' | 'library.restored' | 'library.updated' | 'asset.created' | 'asset.updated' | 'asset.overwritten' | 'asset.renamed' | 'asset.deleted' | 'understanding.status_ready' | 'understanding.status_failed' | 'understanding.status_unsupported' | 'search.indexed' | 'batch.succeeded' | 'batch.failed' | 'library.understanding_drained' | 'batch.created' | 'hls.requested' | 'generation.created' | 'generation.succeeded' | 'generation.failed' | 'generation.cancelled' | 'work.created' | 'work.updated' | 'work.deleted';
|
|
48787
49238
|
/**
|
|
48788
49239
|
* One picture an element names, with the word the caller uses for that view.
|
|
48789
49240
|
*/
|
|
@@ -48879,6 +49330,75 @@ export type MediaGenerationCapabilityModel = {
|
|
|
48879
49330
|
* Readiness of one rung or of the ladder it is part of.
|
|
48880
49331
|
*/
|
|
48881
49332
|
export type MediaHlsRenditionState = 'processing' | 'ready' | 'failed';
|
|
49333
|
+
/**
|
|
49334
|
+
* One position of a gallery: a picture or video of this library ({asset_id, caption?}) or a text segment between pictures ({text}).
|
|
49335
|
+
*/
|
|
49336
|
+
export type MediaGalleryItem = {
|
|
49337
|
+
/**
|
|
49338
|
+
* An image, sticker or video asset of this library; its position in items is its position in the gallery.
|
|
49339
|
+
*/
|
|
49340
|
+
asset_id: string;
|
|
49341
|
+
/**
|
|
49342
|
+
* Optional caption for this picture, at most 1000 characters.
|
|
49343
|
+
*/
|
|
49344
|
+
caption?: string;
|
|
49345
|
+
} | {
|
|
49346
|
+
/**
|
|
49347
|
+
* A text segment shown between pictures, at most 1000 characters.
|
|
49348
|
+
*/
|
|
49349
|
+
text: string;
|
|
49350
|
+
};
|
|
49351
|
+
/**
|
|
49352
|
+
* Which platform look the Console draws the work in; a display hint, never a platform check.
|
|
49353
|
+
*/
|
|
49354
|
+
export type MediaWorkStyle = 'xiaohongshu' | 'wechat_mp' | 'jike' | 'generic';
|
|
49355
|
+
/**
|
|
49356
|
+
* One parameter row of a listing.
|
|
49357
|
+
*/
|
|
49358
|
+
export type MediaListingAttribute = {
|
|
49359
|
+
/**
|
|
49360
|
+
* Parameter name such as 容量, at most 40 characters.
|
|
49361
|
+
*/
|
|
49362
|
+
name: string;
|
|
49363
|
+
/**
|
|
49364
|
+
* Parameter value such as 500ml, at most 200 characters.
|
|
49365
|
+
*/
|
|
49366
|
+
value: string;
|
|
49367
|
+
};
|
|
49368
|
+
/**
|
|
49369
|
+
* One SKU of a listing.
|
|
49370
|
+
*/
|
|
49371
|
+
export type MediaListingSku = {
|
|
49372
|
+
/**
|
|
49373
|
+
* The SKU’s value on each spec axis, such as {"颜色":"白"}; 1 to 5 axes; the keys are kept as written.
|
|
49374
|
+
*/
|
|
49375
|
+
spec: {
|
|
49376
|
+
[key: string]: string;
|
|
49377
|
+
};
|
|
49378
|
+
/**
|
|
49379
|
+
* Optional picture of this SKU: an image or sticker asset of this library.
|
|
49380
|
+
*/
|
|
49381
|
+
asset_id?: string;
|
|
49382
|
+
};
|
|
49383
|
+
/**
|
|
49384
|
+
* One Editor.js block, as Editor.js saves it. type is one of the official blocks: paragraph {text}, header {text, level 1–6}, list {style ordered|unordered|checklist, meta, items[{content, meta, items}]}, quote {text, caption, alignment left|center}, delimiter {}, image, table {withHeadings, stretched, content string[][]}, checklist {items[{text, checked}]}, warning {title, message}, embed {service, source, embed, width, height, caption}. The one departure from Editor.js: an image block is {asset_id, caption, withBorder, withBackground, stretched} and names an image or sticker asset of this library instead of file.url. Text keeps Editor.js inline HTML. Unknown types and fields are refused.
|
|
49385
|
+
*/
|
|
49386
|
+
export type MediaEditorBlock = {
|
|
49387
|
+
/**
|
|
49388
|
+
* Block id, 1–64 letters, digits, _ or -, unique in the body.
|
|
49389
|
+
*/
|
|
49390
|
+
id: string;
|
|
49391
|
+
/**
|
|
49392
|
+
* The official Editor.js block type.
|
|
49393
|
+
*/
|
|
49394
|
+
type: 'paragraph' | 'header' | 'list' | 'quote' | 'delimiter' | 'image' | 'table' | 'checklist' | 'warning' | 'embed';
|
|
49395
|
+
/**
|
|
49396
|
+
* The block’s data in that type’s Editor.js shape.
|
|
49397
|
+
*/
|
|
49398
|
+
data: {
|
|
49399
|
+
[key: string]: unknown;
|
|
49400
|
+
};
|
|
49401
|
+
};
|
|
48882
49402
|
/**
|
|
48883
49403
|
* Auto-resume enabled flag for paused sandboxes. Default false.
|
|
48884
49404
|
*/
|
|
@@ -50830,7 +51350,7 @@ export type PraxisSdkSsePostModelV1Messages = {
|
|
|
50830
51350
|
};
|
|
50831
51351
|
export type PraxisSdkSseGetAgentV1SessionsSessionIdEventsStream = AgentSseEvent;
|
|
50832
51352
|
export type PraxisSdkSseGetAgentV1SessionsSessionIdThreadsThreadIdStream = AgentSseEvent;
|
|
50833
|
-
export type
|
|
51353
|
+
export type PraxisSdkSseGetAutomationV1RunsRunIdEvents = ({
|
|
50834
51354
|
/**
|
|
50835
51355
|
* SSE event name: one of ai.praxis.automation.run.status, ai.praxis.automation.run.progress, ai.praxis.automation.call.started, ai.praxis.automation.call.completed, ai.praxis.automation.task.started, ai.praxis.automation.task.completed, ai.praxis.automation.wait.created, ai.praxis.automation.wait.resolved, naming the RunEvent type carried in data.
|
|
50836
51356
|
*/
|
|
@@ -50863,7 +51383,7 @@ export type PraxisSdkSseGetAutomationV1RunsIdEvents = ({
|
|
|
50863
51383
|
[key: string]: unknown;
|
|
50864
51384
|
};
|
|
50865
51385
|
};
|
|
50866
|
-
export type
|
|
51386
|
+
export type PraxisSdkSseGetAutomationV1RunsRunIdLogs = ({
|
|
50867
51387
|
/**
|
|
50868
51388
|
* SSE event name: log, one log line is carried in data.
|
|
50869
51389
|
*/
|
|
@@ -51002,6 +51522,58 @@ export type UpdateMediaPipelineRequestWritable = {
|
|
|
51002
51522
|
* Models to use for completion
|
|
51003
51523
|
*/
|
|
51004
51524
|
export type OpenaiChatModelNamesWritable = Array<OpenaiModelName & unknown>;
|
|
51525
|
+
export type SandboxSandboxDetailWritable = {
|
|
51526
|
+
/**
|
|
51527
|
+
* Identifier of the template from which is the sandbox created
|
|
51528
|
+
*/
|
|
51529
|
+
templateID: string;
|
|
51530
|
+
/**
|
|
51531
|
+
* Alias of the template
|
|
51532
|
+
*/
|
|
51533
|
+
alias?: string;
|
|
51534
|
+
/**
|
|
51535
|
+
* Identifier of the sandbox
|
|
51536
|
+
*/
|
|
51537
|
+
sandboxID: string;
|
|
51538
|
+
/**
|
|
51539
|
+
* Identifier of the client
|
|
51540
|
+
*
|
|
51541
|
+
* @deprecated
|
|
51542
|
+
*/
|
|
51543
|
+
clientID: string;
|
|
51544
|
+
/**
|
|
51545
|
+
* Time when the sandbox was started
|
|
51546
|
+
*/
|
|
51547
|
+
startedAt: string;
|
|
51548
|
+
/**
|
|
51549
|
+
* Time when the sandbox will expire
|
|
51550
|
+
*/
|
|
51551
|
+
endAt: string;
|
|
51552
|
+
envdVersion: SandboxEnvdVersion;
|
|
51553
|
+
/**
|
|
51554
|
+
* Access token used for envd communication
|
|
51555
|
+
*/
|
|
51556
|
+
envdAccessToken?: string;
|
|
51557
|
+
/**
|
|
51558
|
+
* Whether internet access was explicitly enabled or disabled for the sandbox. Null means it was not explicitly set.
|
|
51559
|
+
*/
|
|
51560
|
+
allowInternetAccess?: boolean;
|
|
51561
|
+
/**
|
|
51562
|
+
* Base domain where the sandbox traffic is accessible
|
|
51563
|
+
*/
|
|
51564
|
+
domain?: string;
|
|
51565
|
+
cpuCount: SandboxCpuCount;
|
|
51566
|
+
memoryMB: SandboxMemoryMb;
|
|
51567
|
+
diskSizeMB: SandboxDiskSizeMb;
|
|
51568
|
+
metadata?: SandboxSandboxMetadata;
|
|
51569
|
+
state: SandboxSandboxState;
|
|
51570
|
+
network?: SandboxSandboxNetworkConfigWritable;
|
|
51571
|
+
lifecycle?: SandboxSandboxLifecycle;
|
|
51572
|
+
/**
|
|
51573
|
+
* Volumes mounted into the sandbox.
|
|
51574
|
+
*/
|
|
51575
|
+
volumeMounts?: Array<SandboxSandboxVolumeMount>;
|
|
51576
|
+
};
|
|
51005
51577
|
/**
|
|
51006
51578
|
* Free-form string key/value pairs stored with the session, changed through sessions.update patch semantics.
|
|
51007
51579
|
*/
|
|
@@ -51581,6 +52153,94 @@ export type MediaSemanticSearchResultWritable = {
|
|
|
51581
52153
|
*/
|
|
51582
52154
|
not_ready_excluded: number;
|
|
51583
52155
|
};
|
|
52156
|
+
/**
|
|
52157
|
+
* Sandbox creation request. All system communication with the sandbox is always secured; the template's envd version must support secured access.
|
|
52158
|
+
*/
|
|
52159
|
+
export type SandboxNewSandboxV2Writable = {
|
|
52160
|
+
/**
|
|
52161
|
+
* Identifier of the required template
|
|
52162
|
+
*/
|
|
52163
|
+
templateID: string;
|
|
52164
|
+
/**
|
|
52165
|
+
* Lifetime of the new sandbox in seconds. Defaults to 300 seconds when omitted.
|
|
52166
|
+
*/
|
|
52167
|
+
timeout?: number;
|
|
52168
|
+
/**
|
|
52169
|
+
* 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.
|
|
52170
|
+
*/
|
|
52171
|
+
autoPause?: boolean;
|
|
52172
|
+
/**
|
|
52173
|
+
* 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).
|
|
52174
|
+
*/
|
|
52175
|
+
autoPauseMemory?: boolean;
|
|
52176
|
+
autoResume?: SandboxSandboxAutoResumeConfig;
|
|
52177
|
+
/**
|
|
52178
|
+
* 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.
|
|
52179
|
+
*/
|
|
52180
|
+
allow_internet_access?: boolean;
|
|
52181
|
+
network?: SandboxSandboxNetworkConfigWritable;
|
|
52182
|
+
metadata?: SandboxSandboxMetadata;
|
|
52183
|
+
envVars?: SandboxEnvVars;
|
|
52184
|
+
mcp?: SandboxMcp;
|
|
52185
|
+
iam?: SandboxSandboxIam;
|
|
52186
|
+
/**
|
|
52187
|
+
* Volumes to mount into the sandbox, each with the volume name and the path inside the sandbox.
|
|
52188
|
+
*/
|
|
52189
|
+
volumeMounts?: Array<SandboxSandboxVolumeMount>;
|
|
52190
|
+
/**
|
|
52191
|
+
* 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.
|
|
52192
|
+
*/
|
|
52193
|
+
ephemeral?: boolean;
|
|
52194
|
+
/**
|
|
52195
|
+
* 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.
|
|
52196
|
+
*/
|
|
52197
|
+
size?: string;
|
|
52198
|
+
/**
|
|
52199
|
+
* Own face: a display name for the sandbox, 1 to 64 characters. Omitted, one is generated from the template.
|
|
52200
|
+
*/
|
|
52201
|
+
name?: string;
|
|
52202
|
+
/**
|
|
52203
|
+
* 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.
|
|
52204
|
+
*/
|
|
52205
|
+
waitForReady?: boolean;
|
|
52206
|
+
/**
|
|
52207
|
+
* Own face: what happens at the timeout. pause needs ephemeral: false; must agree with autoPause when both are sent.
|
|
52208
|
+
*/
|
|
52209
|
+
onExpire?: 'kill' | 'pause';
|
|
52210
|
+
/**
|
|
52211
|
+
* Own face, persistent sandboxes only: pause after this many milliseconds without activity; null turns the idle pause off.
|
|
52212
|
+
*/
|
|
52213
|
+
idleTimeout?: number;
|
|
52214
|
+
/**
|
|
52215
|
+
* 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.
|
|
52216
|
+
*/
|
|
52217
|
+
idleActivity?: 'traffic' | 'caller';
|
|
52218
|
+
/**
|
|
52219
|
+
* 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.
|
|
52220
|
+
*/
|
|
52221
|
+
sku?: string;
|
|
52222
|
+
/**
|
|
52223
|
+
* 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.
|
|
52224
|
+
*/
|
|
52225
|
+
kind?: 'run' | 'job' | 'batch' | 'computer' | 'compat';
|
|
52226
|
+
/**
|
|
52227
|
+
* 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.
|
|
52228
|
+
*/
|
|
52229
|
+
interruptible?: boolean;
|
|
52230
|
+
/**
|
|
52231
|
+
* 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.
|
|
52232
|
+
*/
|
|
52233
|
+
onLoss?: 'fail' | 'rebuild';
|
|
52234
|
+
/**
|
|
52235
|
+
* 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.
|
|
52236
|
+
*/
|
|
52237
|
+
outputs?: Array<{
|
|
52238
|
+
/**
|
|
52239
|
+
* Absolute path of a directory or file inside the sandbox.
|
|
52240
|
+
*/
|
|
52241
|
+
path: string;
|
|
52242
|
+
}>;
|
|
52243
|
+
};
|
|
51584
52244
|
/**
|
|
51585
52245
|
* Arguments the model passed to the tool.
|
|
51586
52246
|
*/
|
|
@@ -51659,6 +52319,43 @@ export type AnthropicAnonymous204Writable = {
|
|
|
51659
52319
|
export type AnthropicAnonymous206Writable = {
|
|
51660
52320
|
[key: string]: unknown;
|
|
51661
52321
|
};
|
|
52322
|
+
/**
|
|
52323
|
+
* Network policy of the sandbox: public access, egress allow and deny lists and proxy.
|
|
52324
|
+
*/
|
|
52325
|
+
export type SandboxSandboxNetworkConfigWritable = {
|
|
52326
|
+
/**
|
|
52327
|
+
* Specify if the sandbox URLs should be accessible only with authentication.
|
|
52328
|
+
*/
|
|
52329
|
+
allowPublicTraffic?: boolean;
|
|
52330
|
+
/**
|
|
52331
|
+
* 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.
|
|
52332
|
+
*/
|
|
52333
|
+
allowOut?: Array<string>;
|
|
52334
|
+
/**
|
|
52335
|
+
* List of denied CIDR blocks or IP addresses for egress traffic. Domain names are not supported for deny rules.
|
|
52336
|
+
*/
|
|
52337
|
+
denyOut?: Array<string>;
|
|
52338
|
+
egressProxy?: SandboxSandboxEgressProxyConfig;
|
|
52339
|
+
/**
|
|
52340
|
+
* Specify host mask which will be used for all sandbox requests
|
|
52341
|
+
*/
|
|
52342
|
+
maskRequestHost?: string;
|
|
52343
|
+
/**
|
|
52344
|
+
* Unlike E2B, network.httpsPorts is rejected; omit it when creating a sandbox.
|
|
52345
|
+
*/
|
|
52346
|
+
httpsPorts?: Array<number>;
|
|
52347
|
+
/**
|
|
52348
|
+
* 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.
|
|
52349
|
+
*
|
|
52350
|
+
*/
|
|
52351
|
+
rules?: {
|
|
52352
|
+
[key: string]: Array<SandboxSandboxNetworkRule>;
|
|
52353
|
+
};
|
|
52354
|
+
/**
|
|
52355
|
+
* 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.
|
|
52356
|
+
*/
|
|
52357
|
+
staticEgressIp?: boolean;
|
|
52358
|
+
};
|
|
51662
52359
|
/**
|
|
51663
52360
|
* Free-form string key/value pairs.
|
|
51664
52361
|
*/
|
|
@@ -55760,7 +56457,7 @@ export type ApplyAgentVersionResponses = {
|
|
|
55760
56457
|
*/
|
|
55761
56458
|
environment_id?: string | null;
|
|
55762
56459
|
/**
|
|
55763
|
-
* Default vaults of this service or assume agent version: the vault_ids new
|
|
56460
|
+
* 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
56461
|
*/
|
|
55765
56462
|
vault_ids?: Array<string>;
|
|
55766
56463
|
/**
|
|
@@ -57020,7 +57717,7 @@ export type UnarchiveAgentResponses = {
|
|
|
57020
57717
|
*/
|
|
57021
57718
|
environment_id?: string | null;
|
|
57022
57719
|
/**
|
|
57023
|
-
* Default vaults of this service or assume agent version: the vault_ids new
|
|
57720
|
+
* 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
57721
|
*/
|
|
57025
57722
|
vault_ids?: Array<string>;
|
|
57026
57723
|
/**
|
|
@@ -59489,9 +60186,13 @@ export type ComputersRetrieveResponse = ComputersRetrieveResponses[keyof Compute
|
|
|
59489
60186
|
export type ComputersUpdateData = {
|
|
59490
60187
|
body: {
|
|
59491
60188
|
/**
|
|
59492
|
-
*
|
|
60189
|
+
* New display name, 1 to 255 characters after trimming. Omit to keep the current name.
|
|
59493
60190
|
*/
|
|
59494
|
-
name
|
|
60191
|
+
name?: string;
|
|
60192
|
+
/**
|
|
60193
|
+
* 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.
|
|
60194
|
+
*/
|
|
60195
|
+
environment_id?: string | null;
|
|
59495
60196
|
};
|
|
59496
60197
|
path: {
|
|
59497
60198
|
/**
|
|
@@ -61661,7 +62362,7 @@ export type ComputersFilesConvertResponse = ComputersFilesConvertResponses[keyof
|
|
|
61661
62362
|
export type ConnectComputerData = {
|
|
61662
62363
|
body?: {
|
|
61663
62364
|
/**
|
|
61664
|
-
*
|
|
62365
|
+
* Accepted for compatibility and ignored: light and heavy both reach the same machine, because a Computer is one machine. Omit it.
|
|
61665
62366
|
*/
|
|
61666
62367
|
need?: 'light' | 'heavy';
|
|
61667
62368
|
};
|
|
@@ -69265,7 +69966,7 @@ export type BrowserListSessionsErrors = {
|
|
|
69265
69966
|
*/
|
|
69266
69967
|
402: BrowserError;
|
|
69267
69968
|
/**
|
|
69268
|
-
* PERMISSION_DENIED /
|
|
69969
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69269
69970
|
*/
|
|
69270
69971
|
403: BrowserError;
|
|
69271
69972
|
/**
|
|
@@ -69346,7 +70047,7 @@ export type BrowserCreateSessionErrors = {
|
|
|
69346
70047
|
*/
|
|
69347
70048
|
402: BrowserError;
|
|
69348
70049
|
/**
|
|
69349
|
-
* PERMISSION_DENIED /
|
|
70050
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69350
70051
|
*/
|
|
69351
70052
|
403: BrowserError;
|
|
69352
70053
|
/**
|
|
@@ -69432,7 +70133,7 @@ export type BrowserGetSessionErrors = {
|
|
|
69432
70133
|
*/
|
|
69433
70134
|
402: BrowserError;
|
|
69434
70135
|
/**
|
|
69435
|
-
* PERMISSION_DENIED /
|
|
70136
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69436
70137
|
*/
|
|
69437
70138
|
403: BrowserError;
|
|
69438
70139
|
/**
|
|
@@ -69514,7 +70215,7 @@ export type BrowserCloseSessionErrors = {
|
|
|
69514
70215
|
*/
|
|
69515
70216
|
402: BrowserError;
|
|
69516
70217
|
/**
|
|
69517
|
-
* PERMISSION_DENIED /
|
|
70218
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69518
70219
|
*/
|
|
69519
70220
|
403: BrowserError;
|
|
69520
70221
|
/**
|
|
@@ -69591,7 +70292,7 @@ export type BrowserGetDebugErrors = {
|
|
|
69591
70292
|
*/
|
|
69592
70293
|
402: BrowserError;
|
|
69593
70294
|
/**
|
|
69594
|
-
* PERMISSION_DENIED /
|
|
70295
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69595
70296
|
*/
|
|
69596
70297
|
403: BrowserError;
|
|
69597
70298
|
/**
|
|
@@ -69681,7 +70382,7 @@ export type BrowserListEventsErrors = {
|
|
|
69681
70382
|
*/
|
|
69682
70383
|
402: BrowserError;
|
|
69683
70384
|
/**
|
|
69684
|
-
* PERMISSION_DENIED /
|
|
70385
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69685
70386
|
*/
|
|
69686
70387
|
403: BrowserError;
|
|
69687
70388
|
/**
|
|
@@ -69931,6 +70632,78 @@ export type BrowserRunPageActionData = {
|
|
|
69931
70632
|
* 标签页 ID,来自 tabs.list 或上一个动作的结果;省略时作用于当前标签页。
|
|
69932
70633
|
*/
|
|
69933
70634
|
tab?: string;
|
|
70635
|
+
} | {
|
|
70636
|
+
/**
|
|
70637
|
+
* 动作类型,固定为 route。
|
|
70638
|
+
*/
|
|
70639
|
+
type: 'route';
|
|
70640
|
+
/**
|
|
70641
|
+
* 要匹配的请求地址:glob(* 不跨 /,** 跨 /,** 匹配零段或更多路径段)或用 /…/ 包起来的正则;最多 2048 个字符,写错在注册时即返回 400 INVALID_PARAMS。
|
|
70642
|
+
*/
|
|
70643
|
+
url: string;
|
|
70644
|
+
/**
|
|
70645
|
+
* 只匹配这个 HTTP 方法(不区分大小写);省略则匹配所有方法。
|
|
70646
|
+
*/
|
|
70647
|
+
method?: string;
|
|
70648
|
+
/**
|
|
70649
|
+
* 标签页 ID,来自 tabs.list 或上一个动作的结果;省略时作用于当前标签页。
|
|
70650
|
+
*/
|
|
70651
|
+
tab?: string;
|
|
70652
|
+
/**
|
|
70653
|
+
* 命中后的处理方式,由 kind 选择:fulfill 直接返回给定响应,abort 让请求失败,delay 按原样转发但推迟给定的毫秒数。
|
|
70654
|
+
*/
|
|
70655
|
+
response: {
|
|
70656
|
+
/**
|
|
70657
|
+
* 直接返回给定响应。
|
|
70658
|
+
*/
|
|
70659
|
+
kind: 'fulfill';
|
|
70660
|
+
/**
|
|
70661
|
+
* 返回的 HTTP 状态码,100 到 599。
|
|
70662
|
+
*/
|
|
70663
|
+
status: number;
|
|
70664
|
+
/**
|
|
70665
|
+
* 返回的响应头,名 → 值;最多 100 项。
|
|
70666
|
+
*/
|
|
70667
|
+
headers?: {
|
|
70668
|
+
[key: string]: string;
|
|
70669
|
+
};
|
|
70670
|
+
/**
|
|
70671
|
+
* 返回的响应体,最多 1000000 个字符。
|
|
70672
|
+
*/
|
|
70673
|
+
body?: string;
|
|
70674
|
+
} | {
|
|
70675
|
+
/**
|
|
70676
|
+
* 让请求失败,页面看到一次网络错误。
|
|
70677
|
+
*/
|
|
70678
|
+
kind: 'abort';
|
|
70679
|
+
/**
|
|
70680
|
+
* Playwright 的错误码;省略为 failed。
|
|
70681
|
+
*/
|
|
70682
|
+
error?: 'aborted' | 'accessdenied' | 'addressunreachable' | 'blockedbyclient' | 'blockedbyresponse' | 'connectionaborted' | 'connectionclosed' | 'connectionfailed' | 'connectionrefused' | 'connectionreset' | 'internetdisconnected' | 'namenotresolved' | 'timedout' | 'failed';
|
|
70683
|
+
} | {
|
|
70684
|
+
/**
|
|
70685
|
+
* 按原样转发请求,但推迟给定毫秒数,用来观察页面的加载态。
|
|
70686
|
+
*/
|
|
70687
|
+
kind: 'delay';
|
|
70688
|
+
/**
|
|
70689
|
+
* 推迟的毫秒数,0 到 60000;超出返回 400 INVALID_PARAMS。
|
|
70690
|
+
*/
|
|
70691
|
+
ms: number;
|
|
70692
|
+
};
|
|
70693
|
+
} | {
|
|
70694
|
+
/**
|
|
70695
|
+
* 动作类型,固定为 unroute。
|
|
70696
|
+
*/
|
|
70697
|
+
type: 'unroute';
|
|
70698
|
+
/**
|
|
70699
|
+
* route 动作返回的规则 ID;不存在时 removed 为 false,不报错。
|
|
70700
|
+
*/
|
|
70701
|
+
routeId: string;
|
|
70702
|
+
} | {
|
|
70703
|
+
/**
|
|
70704
|
+
* 动作类型,固定为 routes。
|
|
70705
|
+
*/
|
|
70706
|
+
type: 'routes';
|
|
69934
70707
|
} | {
|
|
69935
70708
|
/**
|
|
69936
70709
|
* 动作类型:后退、前进或刷新当前页。
|
|
@@ -69964,7 +70737,7 @@ export type BrowserRunPageActionErrors = {
|
|
|
69964
70737
|
*/
|
|
69965
70738
|
402: BrowserError;
|
|
69966
70739
|
/**
|
|
69967
|
-
* PERMISSION_DENIED /
|
|
70740
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69968
70741
|
*/
|
|
69969
70742
|
403: BrowserError;
|
|
69970
70743
|
/**
|
|
@@ -70149,6 +70922,60 @@ export type BrowserRunPageActionResponses = {
|
|
|
70149
70922
|
* 已设置的 cookie 的域。
|
|
70150
70923
|
*/
|
|
70151
70924
|
domain: string;
|
|
70925
|
+
} | {
|
|
70926
|
+
/**
|
|
70927
|
+
* 动作类型,固定为 route。
|
|
70928
|
+
*/
|
|
70929
|
+
type: 'route';
|
|
70930
|
+
/**
|
|
70931
|
+
* 新规则的 ID,后续 unroute 用它移除;规则的作用域是会话,会话结束时随之清除。
|
|
70932
|
+
*/
|
|
70933
|
+
routeId: string;
|
|
70934
|
+
} | {
|
|
70935
|
+
/**
|
|
70936
|
+
* 动作类型,固定为 unroute。
|
|
70937
|
+
*/
|
|
70938
|
+
type: 'unroute';
|
|
70939
|
+
/**
|
|
70940
|
+
* 请求移除的规则 ID。
|
|
70941
|
+
*/
|
|
70942
|
+
routeId: string;
|
|
70943
|
+
/**
|
|
70944
|
+
* 是否真的移除了一条规则;ID 不存在时为 false。
|
|
70945
|
+
*/
|
|
70946
|
+
removed: boolean;
|
|
70947
|
+
} | {
|
|
70948
|
+
/**
|
|
70949
|
+
* 动作类型,固定为 routes。
|
|
70950
|
+
*/
|
|
70951
|
+
type: 'routes';
|
|
70952
|
+
/**
|
|
70953
|
+
* 当前会话上的规则,按注册顺序;多条都匹配时后注册的优先。
|
|
70954
|
+
*/
|
|
70955
|
+
routes: Array<{
|
|
70956
|
+
/**
|
|
70957
|
+
* 规则 ID,注册时由服务端生成并返回。
|
|
70958
|
+
*/
|
|
70959
|
+
routeId: string;
|
|
70960
|
+
/**
|
|
70961
|
+
* 规则匹配的地址模式。
|
|
70962
|
+
*/
|
|
70963
|
+
url: string;
|
|
70964
|
+
/**
|
|
70965
|
+
* 规则限定的 HTTP 方法;不限定时省略。
|
|
70966
|
+
*/
|
|
70967
|
+
method?: string;
|
|
70968
|
+
/**
|
|
70969
|
+
* 规则只作用的标签页;作用于整个会话时省略。
|
|
70970
|
+
*/
|
|
70971
|
+
tab?: string;
|
|
70972
|
+
/**
|
|
70973
|
+
* 规则的处理方式:kind 为 fulfill、abort 或 delay,其余字段同注册时的 response。
|
|
70974
|
+
*/
|
|
70975
|
+
response: {
|
|
70976
|
+
[key: string]: unknown;
|
|
70977
|
+
};
|
|
70978
|
+
}>;
|
|
70152
70979
|
};
|
|
70153
70980
|
};
|
|
70154
70981
|
export type BrowserRunPageActionResponse = BrowserRunPageActionResponses[keyof BrowserRunPageActionResponses];
|
|
@@ -70186,7 +71013,7 @@ export type BrowserRequestHandoffErrors = {
|
|
|
70186
71013
|
*/
|
|
70187
71014
|
402: BrowserError;
|
|
70188
71015
|
/**
|
|
70189
|
-
* PERMISSION_DENIED /
|
|
71016
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70190
71017
|
*/
|
|
70191
71018
|
403: BrowserError;
|
|
70192
71019
|
/**
|
|
@@ -70263,7 +71090,7 @@ export type BrowserCompleteHandoffErrors = {
|
|
|
70263
71090
|
*/
|
|
70264
71091
|
402: BrowserError;
|
|
70265
71092
|
/**
|
|
70266
|
-
* PERMISSION_DENIED /
|
|
71093
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70267
71094
|
*/
|
|
70268
71095
|
403: BrowserError;
|
|
70269
71096
|
/**
|
|
@@ -70349,7 +71176,7 @@ export type BrowserViewerHeartbeatErrors = {
|
|
|
70349
71176
|
*/
|
|
70350
71177
|
402: BrowserError;
|
|
70351
71178
|
/**
|
|
70352
|
-
* PERMISSION_DENIED /
|
|
71179
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70353
71180
|
*/
|
|
70354
71181
|
403: BrowserError;
|
|
70355
71182
|
/**
|
|
@@ -70431,7 +71258,7 @@ export type BrowserGetSessionFrameErrors = {
|
|
|
70431
71258
|
*/
|
|
70432
71259
|
402: BrowserError;
|
|
70433
71260
|
/**
|
|
70434
|
-
* PERMISSION_DENIED /
|
|
71261
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70435
71262
|
*/
|
|
70436
71263
|
403: BrowserError;
|
|
70437
71264
|
/**
|
|
@@ -70516,7 +71343,7 @@ export type BrowserListContextsErrors = {
|
|
|
70516
71343
|
*/
|
|
70517
71344
|
402: BrowserError;
|
|
70518
71345
|
/**
|
|
70519
|
-
* PERMISSION_DENIED /
|
|
71346
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70520
71347
|
*/
|
|
70521
71348
|
403: BrowserError;
|
|
70522
71349
|
/**
|
|
@@ -70593,6 +71420,36 @@ export type BrowserCreateContextData = {
|
|
|
70593
71420
|
labels?: {
|
|
70594
71421
|
[key: string]: string;
|
|
70595
71422
|
};
|
|
71423
|
+
/**
|
|
71424
|
+
* 给登录态绑定一个固定的外部代理(如住宅 IP),使用这个登录态的会话没有写 proxies 时都经它出网,让同一账号始终从同一个出口地址出去。只存保管库引用(password_secret),不存密码;会话自己写了 proxies 时以会话的为准。需要组织已开通容器后端,否则返回 501 PROVIDER_UNSUPPORTED。
|
|
71425
|
+
*/
|
|
71426
|
+
proxy?: {
|
|
71427
|
+
/**
|
|
71428
|
+
* 固定为 external:经一个你自己的外部 HTTP 代理出网。
|
|
71429
|
+
*/
|
|
71430
|
+
type: 'external';
|
|
71431
|
+
/**
|
|
71432
|
+
* 代理地址,host:port 或 http://host:port;只支持 HTTP 代理,不接受 socks5:// 等协议,也不接受 localhost 和内网、链路本地地址。
|
|
71433
|
+
*/
|
|
71434
|
+
server: string;
|
|
71435
|
+
/**
|
|
71436
|
+
* 代理用户名;有密码时才能填,填了就必须同时给出密码。
|
|
71437
|
+
*/
|
|
71438
|
+
username?: string;
|
|
71439
|
+
/**
|
|
71440
|
+
* 必须用这种形式:引用保管库里的代理密码,只在连接这个代理的主机时兑换,不会交给网页。登录态里只存引用,传明文 password 返回 400 INVALID_PARAMS。
|
|
71441
|
+
*/
|
|
71442
|
+
password_secret?: {
|
|
71443
|
+
/**
|
|
71444
|
+
* 保存代理密码的保管库 ID,以 vlt_ 开头。
|
|
71445
|
+
*/
|
|
71446
|
+
vault_id: string;
|
|
71447
|
+
/**
|
|
71448
|
+
* 保管库中该密码的密钥 ID(不是密码本身)。
|
|
71449
|
+
*/
|
|
71450
|
+
secret: string;
|
|
71451
|
+
};
|
|
71452
|
+
};
|
|
70596
71453
|
};
|
|
70597
71454
|
path?: never;
|
|
70598
71455
|
query?: never;
|
|
@@ -70612,7 +71469,7 @@ export type BrowserCreateContextErrors = {
|
|
|
70612
71469
|
*/
|
|
70613
71470
|
402: BrowserError;
|
|
70614
71471
|
/**
|
|
70615
|
-
* PERMISSION_DENIED /
|
|
71472
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70616
71473
|
*/
|
|
70617
71474
|
403: BrowserError;
|
|
70618
71475
|
/**
|
|
@@ -70689,7 +71546,7 @@ export type BrowserDeleteContextErrors = {
|
|
|
70689
71546
|
*/
|
|
70690
71547
|
402: BrowserError;
|
|
70691
71548
|
/**
|
|
70692
|
-
* PERMISSION_DENIED /
|
|
71549
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70693
71550
|
*/
|
|
70694
71551
|
403: BrowserError;
|
|
70695
71552
|
/**
|
|
@@ -70771,7 +71628,7 @@ export type BrowserGetContextErrors = {
|
|
|
70771
71628
|
*/
|
|
70772
71629
|
402: BrowserError;
|
|
70773
71630
|
/**
|
|
70774
|
-
* PERMISSION_DENIED /
|
|
71631
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70775
71632
|
*/
|
|
70776
71633
|
403: BrowserError;
|
|
70777
71634
|
/**
|
|
@@ -70835,6 +71692,36 @@ export type BrowserUpdateContextData = {
|
|
|
70835
71692
|
labels?: {
|
|
70836
71693
|
[key: string]: string;
|
|
70837
71694
|
};
|
|
71695
|
+
/**
|
|
71696
|
+
* 给登录态绑定一个固定的外部代理(如住宅 IP),使用这个登录态的会话没有写 proxies 时都经它出网,让同一账号始终从同一个出口地址出去。只存保管库引用(password_secret),不存密码;会话自己写了 proxies 时以会话的为准。需要组织已开通容器后端,否则返回 501 PROVIDER_UNSUPPORTED。 更新时传 null 解除绑定,省略则保留原绑定。
|
|
71697
|
+
*/
|
|
71698
|
+
proxy?: {
|
|
71699
|
+
/**
|
|
71700
|
+
* 固定为 external:经一个你自己的外部 HTTP 代理出网。
|
|
71701
|
+
*/
|
|
71702
|
+
type: 'external';
|
|
71703
|
+
/**
|
|
71704
|
+
* 代理地址,host:port 或 http://host:port;只支持 HTTP 代理,不接受 socks5:// 等协议,也不接受 localhost 和内网、链路本地地址。
|
|
71705
|
+
*/
|
|
71706
|
+
server: string;
|
|
71707
|
+
/**
|
|
71708
|
+
* 代理用户名;有密码时才能填,填了就必须同时给出密码。
|
|
71709
|
+
*/
|
|
71710
|
+
username?: string;
|
|
71711
|
+
/**
|
|
71712
|
+
* 必须用这种形式:引用保管库里的代理密码,只在连接这个代理的主机时兑换,不会交给网页。登录态里只存引用,传明文 password 返回 400 INVALID_PARAMS。
|
|
71713
|
+
*/
|
|
71714
|
+
password_secret?: {
|
|
71715
|
+
/**
|
|
71716
|
+
* 保存代理密码的保管库 ID,以 vlt_ 开头。
|
|
71717
|
+
*/
|
|
71718
|
+
vault_id: string;
|
|
71719
|
+
/**
|
|
71720
|
+
* 保管库中该密码的密钥 ID(不是密码本身)。
|
|
71721
|
+
*/
|
|
71722
|
+
secret: string;
|
|
71723
|
+
};
|
|
71724
|
+
} | null;
|
|
70838
71725
|
};
|
|
70839
71726
|
path: {
|
|
70840
71727
|
/**
|
|
@@ -70859,7 +71746,7 @@ export type BrowserUpdateContextErrors = {
|
|
|
70859
71746
|
*/
|
|
70860
71747
|
402: BrowserError;
|
|
70861
71748
|
/**
|
|
70862
|
-
* PERMISSION_DENIED /
|
|
71749
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70863
71750
|
*/
|
|
70864
71751
|
403: BrowserError;
|
|
70865
71752
|
/**
|
|
@@ -70931,7 +71818,7 @@ export type BrowserCreateByobPairingErrors = {
|
|
|
70931
71818
|
*/
|
|
70932
71819
|
402: BrowserError;
|
|
70933
71820
|
/**
|
|
70934
|
-
* PERMISSION_DENIED /
|
|
71821
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70935
71822
|
*/
|
|
70936
71823
|
403: BrowserError;
|
|
70937
71824
|
/**
|
|
@@ -71012,7 +71899,7 @@ export type BrowserListByobBrowsersErrors = {
|
|
|
71012
71899
|
*/
|
|
71013
71900
|
402: BrowserError;
|
|
71014
71901
|
/**
|
|
71015
|
-
* PERMISSION_DENIED /
|
|
71902
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71016
71903
|
*/
|
|
71017
71904
|
403: BrowserError;
|
|
71018
71905
|
/**
|
|
@@ -71098,7 +71985,7 @@ export type BrowserGetByobBrowserErrors = {
|
|
|
71098
71985
|
*/
|
|
71099
71986
|
402: BrowserError;
|
|
71100
71987
|
/**
|
|
71101
|
-
* PERMISSION_DENIED /
|
|
71988
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71102
71989
|
*/
|
|
71103
71990
|
403: BrowserError;
|
|
71104
71991
|
/**
|
|
@@ -71156,14 +72043,6 @@ export type BrowserUpdateByobBrowserData = {
|
|
|
71156
72043
|
* 新的显示名称,1–80 个字符。
|
|
71157
72044
|
*/
|
|
71158
72045
|
name?: string;
|
|
71159
|
-
/**
|
|
71160
|
-
* 整体替换被授权的智能体 ID 列表;传空数组撤销全部授权。
|
|
71161
|
-
*/
|
|
71162
|
-
granted_agents?: Array<string>;
|
|
71163
|
-
/**
|
|
71164
|
-
* 整体替换允许站点列表;传空数组表示不限制。
|
|
71165
|
-
*/
|
|
71166
|
-
allowed_sites?: Array<string>;
|
|
71167
72046
|
};
|
|
71168
72047
|
path: {
|
|
71169
72048
|
/**
|
|
@@ -71188,7 +72067,7 @@ export type BrowserUpdateByobBrowserErrors = {
|
|
|
71188
72067
|
*/
|
|
71189
72068
|
402: BrowserError;
|
|
71190
72069
|
/**
|
|
71191
|
-
* PERMISSION_DENIED /
|
|
72070
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71192
72071
|
*/
|
|
71193
72072
|
403: BrowserError;
|
|
71194
72073
|
/**
|
|
@@ -71265,7 +72144,7 @@ export type BrowserDisconnectByobBrowserErrors = {
|
|
|
71265
72144
|
*/
|
|
71266
72145
|
402: BrowserError;
|
|
71267
72146
|
/**
|
|
71268
|
-
* PERMISSION_DENIED /
|
|
72147
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71269
72148
|
*/
|
|
71270
72149
|
403: BrowserError;
|
|
71271
72150
|
/**
|
|
@@ -71342,7 +72221,7 @@ export type BrowserReadByobPairingErrors = {
|
|
|
71342
72221
|
*/
|
|
71343
72222
|
402: BrowserError;
|
|
71344
72223
|
/**
|
|
71345
|
-
* PERMISSION_DENIED /
|
|
72224
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71346
72225
|
*/
|
|
71347
72226
|
403: BrowserError;
|
|
71348
72227
|
/**
|
|
@@ -71419,7 +72298,7 @@ export type BrowserClaimByobPairingErrors = {
|
|
|
71419
72298
|
*/
|
|
71420
72299
|
402: BrowserError;
|
|
71421
72300
|
/**
|
|
71422
|
-
* PERMISSION_DENIED /
|
|
72301
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71423
72302
|
*/
|
|
71424
72303
|
403: BrowserError;
|
|
71425
72304
|
/**
|
|
@@ -71528,7 +72407,7 @@ export type BrowserConnectErrors = {
|
|
|
71528
72407
|
*/
|
|
71529
72408
|
402: BrowserError;
|
|
71530
72409
|
/**
|
|
71531
|
-
* PERMISSION_DENIED /
|
|
72410
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71532
72411
|
*/
|
|
71533
72412
|
403: BrowserError;
|
|
71534
72413
|
/**
|
|
@@ -71607,7 +72486,7 @@ export type BrowserLiveViewErrors = {
|
|
|
71607
72486
|
*/
|
|
71608
72487
|
402: BrowserError;
|
|
71609
72488
|
/**
|
|
71610
|
-
* PERMISSION_DENIED /
|
|
72489
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71611
72490
|
*/
|
|
71612
72491
|
403: BrowserError;
|
|
71613
72492
|
/**
|
|
@@ -71677,7 +72556,7 @@ export type BrowserStreamSessionErrors = {
|
|
|
71677
72556
|
*/
|
|
71678
72557
|
402: BrowserError;
|
|
71679
72558
|
/**
|
|
71680
|
-
* PERMISSION_DENIED /
|
|
72559
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71681
72560
|
*/
|
|
71682
72561
|
403: BrowserError;
|
|
71683
72562
|
/**
|
|
@@ -71754,7 +72633,7 @@ export type BrowserStreamSessionFramesErrors = {
|
|
|
71754
72633
|
*/
|
|
71755
72634
|
402: BrowserError;
|
|
71756
72635
|
/**
|
|
71757
|
-
* PERMISSION_DENIED /
|
|
72636
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71758
72637
|
*/
|
|
71759
72638
|
403: BrowserError;
|
|
71760
72639
|
/**
|
|
@@ -78491,7 +79370,7 @@ export type ListOrganizationCostsData = {
|
|
|
78491
79370
|
*/
|
|
78492
79371
|
bucket_width: '1h' | '1d';
|
|
78493
79372
|
/**
|
|
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.
|
|
79373
|
+
* 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
79374
|
*
|
|
78496
79375
|
*/
|
|
78497
79376
|
time_zone?: string;
|
|
@@ -78609,7 +79488,7 @@ export type ListOrganizationUsageData = {
|
|
|
78609
79488
|
*/
|
|
78610
79489
|
bucket_width: '1h' | '1d';
|
|
78611
79490
|
/**
|
|
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.
|
|
79491
|
+
* 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
79492
|
*
|
|
78614
79493
|
*/
|
|
78615
79494
|
time_zone?: string;
|
|
@@ -79129,11 +80008,19 @@ export type ListOrganizationNotificationLettersData = {
|
|
|
79129
80008
|
path?: never;
|
|
79130
80009
|
query?: {
|
|
79131
80010
|
/**
|
|
79132
|
-
*
|
|
80011
|
+
* 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.
|
|
79133
80012
|
*/
|
|
79134
|
-
|
|
80013
|
+
direction?: 'received' | 'sent';
|
|
79135
80014
|
/**
|
|
79136
|
-
*
|
|
80015
|
+
* 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.
|
|
80016
|
+
*/
|
|
80017
|
+
status?: 'unread' | 'read' | 'scheduled';
|
|
80018
|
+
/**
|
|
80019
|
+
* Only letters of this conversation, for received and sent alike; omit for all.
|
|
80020
|
+
*/
|
|
80021
|
+
thread?: string;
|
|
80022
|
+
/**
|
|
80023
|
+
* 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
80024
|
*/
|
|
79138
80025
|
archived?: boolean;
|
|
79139
80026
|
/**
|
|
@@ -79149,7 +80036,7 @@ export type ListOrganizationNotificationLettersData = {
|
|
|
79149
80036
|
};
|
|
79150
80037
|
export type ListOrganizationNotificationLettersErrors = {
|
|
79151
80038
|
/**
|
|
79152
|
-
* A bad `status`, `archived` or `limit`, or `INVALID_PARAMS` from the service for a cursor it did not issue (RFC 9457 problem).
|
|
80039
|
+
* 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
80040
|
*/
|
|
79154
80041
|
400: unknown;
|
|
79155
80042
|
/**
|
|
@@ -79249,6 +80136,80 @@ export type ListOrganizationNotificationLettersResponses = {
|
|
|
79249
80136
|
};
|
|
79250
80137
|
};
|
|
79251
80138
|
export type ListOrganizationNotificationLettersResponse = ListOrganizationNotificationLettersResponses[keyof ListOrganizationNotificationLettersResponses];
|
|
80139
|
+
export type CreateOrganizationNotificationLetterData = {
|
|
80140
|
+
body: {
|
|
80141
|
+
/**
|
|
80142
|
+
* The recipient's address: human:<user id> or agent:<agent id>, a member or an agent of this organization.
|
|
80143
|
+
*/
|
|
80144
|
+
to: string;
|
|
80145
|
+
/**
|
|
80146
|
+
* The whole letter, 1 to 16000 characters.
|
|
80147
|
+
*/
|
|
80148
|
+
body: string;
|
|
80149
|
+
/**
|
|
80150
|
+
* 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.
|
|
80151
|
+
*/
|
|
80152
|
+
summary?: string;
|
|
80153
|
+
/**
|
|
80154
|
+
* The letter's kind; it decides the channels. Defaults to mention.
|
|
80155
|
+
*/
|
|
80156
|
+
kind?: 'notice' | 'mention' | 'decision';
|
|
80157
|
+
/**
|
|
80158
|
+
* The conversation the letter belongs to, free text; omit for none.
|
|
80159
|
+
*/
|
|
80160
|
+
thread?: string;
|
|
80161
|
+
/**
|
|
80162
|
+
* When to deliver it, ISO 8601, at most 366 days ahead. A past time or no value means now.
|
|
80163
|
+
*/
|
|
80164
|
+
deliver_at?: string;
|
|
80165
|
+
};
|
|
80166
|
+
path?: never;
|
|
80167
|
+
query?: never;
|
|
80168
|
+
url: '/organization/v1/notifications/letters';
|
|
80169
|
+
};
|
|
80170
|
+
export type CreateOrganizationNotificationLetterErrors = {
|
|
80171
|
+
/**
|
|
80172
|
+
* `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).
|
|
80173
|
+
*/
|
|
80174
|
+
400: unknown;
|
|
80175
|
+
/**
|
|
80176
|
+
* Missing or invalid credential (RFC 9457 problem).
|
|
80177
|
+
*/
|
|
80178
|
+
401: unknown;
|
|
80179
|
+
/**
|
|
80180
|
+
* `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).
|
|
80181
|
+
*/
|
|
80182
|
+
403: unknown;
|
|
80183
|
+
/**
|
|
80184
|
+
* `SUBSCRIBER_NOT_FOUND`: the recipient is not a member or an agent of this organization (RFC 9457 problem).
|
|
80185
|
+
*/
|
|
80186
|
+
404: unknown;
|
|
80187
|
+
/**
|
|
80188
|
+
* 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.
|
|
80189
|
+
*/
|
|
80190
|
+
502: unknown;
|
|
80191
|
+
};
|
|
80192
|
+
export type CreateOrganizationNotificationLetterResponses = {
|
|
80193
|
+
/**
|
|
80194
|
+
* The letter is written; it is delivered at deliverAt.
|
|
80195
|
+
*/
|
|
80196
|
+
200: {
|
|
80197
|
+
/**
|
|
80198
|
+
* The letter that was written: its id and the time it is delivered.
|
|
80199
|
+
*/
|
|
80200
|
+
letter: {
|
|
80201
|
+
/**
|
|
80202
|
+
* The letter's id.
|
|
80203
|
+
*/
|
|
80204
|
+
id: string;
|
|
80205
|
+
/**
|
|
80206
|
+
* When it is delivered: now, or the time asked for.
|
|
80207
|
+
*/
|
|
80208
|
+
deliverAt: string;
|
|
80209
|
+
};
|
|
80210
|
+
};
|
|
80211
|
+
};
|
|
80212
|
+
export type CreateOrganizationNotificationLetterResponse = CreateOrganizationNotificationLetterResponses[keyof CreateOrganizationNotificationLetterResponses];
|
|
79252
80213
|
export type GetOrganizationNotificationLetterData = {
|
|
79253
80214
|
body?: never;
|
|
79254
80215
|
path: {
|
|
@@ -79472,6 +80433,360 @@ export type ArchiveOrganizationNotificationLetterResponses = {
|
|
|
79472
80433
|
};
|
|
79473
80434
|
};
|
|
79474
80435
|
export type ArchiveOrganizationNotificationLetterResponse = ArchiveOrganizationNotificationLetterResponses[keyof ArchiveOrganizationNotificationLetterResponses];
|
|
80436
|
+
export type ListOrganizationNotificationMessagesData = {
|
|
80437
|
+
body?: never;
|
|
80438
|
+
path?: never;
|
|
80439
|
+
query?: {
|
|
80440
|
+
/**
|
|
80441
|
+
* 0 (the default) lists the inbox tab, 1 lists archived messages.
|
|
80442
|
+
*/
|
|
80443
|
+
archived?: '0' | '1';
|
|
80444
|
+
/**
|
|
80445
|
+
* Messages per page, 1 to 100; defaults to 20.
|
|
80446
|
+
*/
|
|
80447
|
+
limit?: number;
|
|
80448
|
+
/**
|
|
80449
|
+
* Opaque nextPageToken from the previous response; omit for the first page.
|
|
80450
|
+
*/
|
|
80451
|
+
page?: string;
|
|
80452
|
+
};
|
|
80453
|
+
url: '/organization/v1/notifications/messages';
|
|
80454
|
+
};
|
|
80455
|
+
export type ListOrganizationNotificationMessagesErrors = {
|
|
80456
|
+
/**
|
|
80457
|
+
* A bad `archived`, `limit` or `page`, or `INVALID_PARAMS` from the service for a cursor it did not issue (RFC 9457 problem).
|
|
80458
|
+
*/
|
|
80459
|
+
400: unknown;
|
|
80460
|
+
/**
|
|
80461
|
+
* Missing or invalid credential (RFC 9457 problem).
|
|
80462
|
+
*/
|
|
80463
|
+
401: unknown;
|
|
80464
|
+
/**
|
|
80465
|
+
* `PERMISSION_DENIED`: an agent credential has no person inbox; read its own letters instead (RFC 9457 problem).
|
|
80466
|
+
*/
|
|
80467
|
+
403: unknown;
|
|
80468
|
+
/**
|
|
80469
|
+
* 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.
|
|
80470
|
+
*/
|
|
80471
|
+
502: unknown;
|
|
80472
|
+
};
|
|
80473
|
+
export type ListOrganizationNotificationMessagesResponses = {
|
|
80474
|
+
/**
|
|
80475
|
+
* One page of this person's messages.
|
|
80476
|
+
*/
|
|
80477
|
+
200: {
|
|
80478
|
+
/**
|
|
80479
|
+
* The page, newest first.
|
|
80480
|
+
*/
|
|
80481
|
+
items: Array<{
|
|
80482
|
+
/**
|
|
80483
|
+
* The message's resource name, subscribers/{user}/messages/{id}; pass it URL-encoded as the {name} of the other message operations.
|
|
80484
|
+
*/
|
|
80485
|
+
name: string;
|
|
80486
|
+
/**
|
|
80487
|
+
* The organization the message belongs to; empty for a message that belongs to no organization.
|
|
80488
|
+
*/
|
|
80489
|
+
organizationId: string;
|
|
80490
|
+
/**
|
|
80491
|
+
* The notification group the message belongs to: members, usage, alerts, agent, or nonConfigurable.
|
|
80492
|
+
*/
|
|
80493
|
+
group: 'members' | 'usage' | 'alerts' | 'agent' | 'nonConfigurable';
|
|
80494
|
+
/**
|
|
80495
|
+
* The notification workflow that wrote it, as the preferences page names it.
|
|
80496
|
+
*/
|
|
80497
|
+
workflow: string;
|
|
80498
|
+
/**
|
|
80499
|
+
* The message's headline, as the bell shows it.
|
|
80500
|
+
*/
|
|
80501
|
+
title: string;
|
|
80502
|
+
/**
|
|
80503
|
+
* The message text.
|
|
80504
|
+
*/
|
|
80505
|
+
body: string;
|
|
80506
|
+
/**
|
|
80507
|
+
* Where the bell opens this message; absent when it has no page.
|
|
80508
|
+
*/
|
|
80509
|
+
actionUrl?: string;
|
|
80510
|
+
/**
|
|
80511
|
+
* Whether the bell has been opened since the message arrived.
|
|
80512
|
+
*/
|
|
80513
|
+
seen: boolean;
|
|
80514
|
+
/**
|
|
80515
|
+
* Whether this person has read it.
|
|
80516
|
+
*/
|
|
80517
|
+
read: boolean;
|
|
80518
|
+
/**
|
|
80519
|
+
* Whether this person archived it; archived messages are not in the inbox tab.
|
|
80520
|
+
*/
|
|
80521
|
+
archived: boolean;
|
|
80522
|
+
/**
|
|
80523
|
+
* When the message arrived.
|
|
80524
|
+
*/
|
|
80525
|
+
createTime: string;
|
|
80526
|
+
}>;
|
|
80527
|
+
/**
|
|
80528
|
+
* Pass unchanged as page for the next page; absent at the end.
|
|
80529
|
+
*/
|
|
80530
|
+
nextPageToken?: string;
|
|
80531
|
+
};
|
|
80532
|
+
};
|
|
80533
|
+
export type ListOrganizationNotificationMessagesResponse = ListOrganizationNotificationMessagesResponses[keyof ListOrganizationNotificationMessagesResponses];
|
|
80534
|
+
export type DeleteOrganizationNotificationMessageData = {
|
|
80535
|
+
body?: never;
|
|
80536
|
+
path: {
|
|
80537
|
+
/**
|
|
80538
|
+
* The message's `name` from the messages list, subscribers/{user}/messages/{id}, URL-encoded.
|
|
80539
|
+
*/
|
|
80540
|
+
name: string;
|
|
80541
|
+
};
|
|
80542
|
+
query?: never;
|
|
80543
|
+
url: '/organization/v1/notifications/messages/{name}';
|
|
80544
|
+
};
|
|
80545
|
+
export type DeleteOrganizationNotificationMessageErrors = {
|
|
80546
|
+
/**
|
|
80547
|
+
* `name` is not subscribers/{user}/messages/{id} — `INVALID_PARAMS` (RFC 9457 problem).
|
|
80548
|
+
*/
|
|
80549
|
+
400: unknown;
|
|
80550
|
+
/**
|
|
80551
|
+
* Missing or invalid credential (RFC 9457 problem).
|
|
80552
|
+
*/
|
|
80553
|
+
401: unknown;
|
|
80554
|
+
/**
|
|
80555
|
+
* `PERMISSION_DENIED`: an agent credential has no person inbox; read its own letters instead (RFC 9457 problem).
|
|
80556
|
+
*/
|
|
80557
|
+
403: unknown;
|
|
80558
|
+
/**
|
|
80559
|
+
* No such message of yours in this organization — `MESSAGE_NOT_FOUND` (RFC 9457 problem).
|
|
80560
|
+
*/
|
|
80561
|
+
404: unknown;
|
|
80562
|
+
/**
|
|
80563
|
+
* 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.
|
|
80564
|
+
*/
|
|
80565
|
+
502: unknown;
|
|
80566
|
+
};
|
|
80567
|
+
export type DeleteOrganizationNotificationMessageResponses = {
|
|
80568
|
+
/**
|
|
80569
|
+
* The message is deleted.
|
|
80570
|
+
*/
|
|
80571
|
+
200: {
|
|
80572
|
+
/**
|
|
80573
|
+
* Always true: the message was deleted.
|
|
80574
|
+
*/
|
|
80575
|
+
deleted: boolean;
|
|
80576
|
+
};
|
|
80577
|
+
};
|
|
80578
|
+
export type DeleteOrganizationNotificationMessageResponse = DeleteOrganizationNotificationMessageResponses[keyof DeleteOrganizationNotificationMessageResponses];
|
|
80579
|
+
export type GetOrganizationNotificationMessageData = {
|
|
80580
|
+
body?: never;
|
|
80581
|
+
path: {
|
|
80582
|
+
/**
|
|
80583
|
+
* The message's `name` from the messages list, subscribers/{user}/messages/{id}, URL-encoded.
|
|
80584
|
+
*/
|
|
80585
|
+
name: string;
|
|
80586
|
+
};
|
|
80587
|
+
query?: never;
|
|
80588
|
+
url: '/organization/v1/notifications/messages/{name}';
|
|
80589
|
+
};
|
|
80590
|
+
export type GetOrganizationNotificationMessageErrors = {
|
|
80591
|
+
/**
|
|
80592
|
+
* `name` is not subscribers/{user}/messages/{id} — `INVALID_PARAMS` (RFC 9457 problem).
|
|
80593
|
+
*/
|
|
80594
|
+
400: unknown;
|
|
80595
|
+
/**
|
|
80596
|
+
* Missing or invalid credential (RFC 9457 problem).
|
|
80597
|
+
*/
|
|
80598
|
+
401: unknown;
|
|
80599
|
+
/**
|
|
80600
|
+
* `PERMISSION_DENIED`: an agent credential has no person inbox; read its own letters instead (RFC 9457 problem).
|
|
80601
|
+
*/
|
|
80602
|
+
403: unknown;
|
|
80603
|
+
/**
|
|
80604
|
+
* 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).
|
|
80605
|
+
*/
|
|
80606
|
+
404: unknown;
|
|
80607
|
+
/**
|
|
80608
|
+
* 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.
|
|
80609
|
+
*/
|
|
80610
|
+
502: unknown;
|
|
80611
|
+
};
|
|
80612
|
+
export type GetOrganizationNotificationMessageResponses = {
|
|
80613
|
+
/**
|
|
80614
|
+
* The message.
|
|
80615
|
+
*/
|
|
80616
|
+
200: {
|
|
80617
|
+
/**
|
|
80618
|
+
* The message's resource name, subscribers/{user}/messages/{id}; pass it URL-encoded as the {name} of the other message operations.
|
|
80619
|
+
*/
|
|
80620
|
+
name: string;
|
|
80621
|
+
/**
|
|
80622
|
+
* The organization the message belongs to; empty for a message that belongs to no organization.
|
|
80623
|
+
*/
|
|
80624
|
+
organizationId: string;
|
|
80625
|
+
/**
|
|
80626
|
+
* The notification group the message belongs to: members, usage, alerts, agent, or nonConfigurable.
|
|
80627
|
+
*/
|
|
80628
|
+
group: 'members' | 'usage' | 'alerts' | 'agent' | 'nonConfigurable';
|
|
80629
|
+
/**
|
|
80630
|
+
* The notification workflow that wrote it, as the preferences page names it.
|
|
80631
|
+
*/
|
|
80632
|
+
workflow: string;
|
|
80633
|
+
/**
|
|
80634
|
+
* The message's headline, as the bell shows it.
|
|
80635
|
+
*/
|
|
80636
|
+
title: string;
|
|
80637
|
+
/**
|
|
80638
|
+
* The message text.
|
|
80639
|
+
*/
|
|
80640
|
+
body: string;
|
|
80641
|
+
/**
|
|
80642
|
+
* Where the bell opens this message; absent when it has no page.
|
|
80643
|
+
*/
|
|
80644
|
+
actionUrl?: string;
|
|
80645
|
+
/**
|
|
80646
|
+
* Whether the bell has been opened since the message arrived.
|
|
80647
|
+
*/
|
|
80648
|
+
seen: boolean;
|
|
80649
|
+
/**
|
|
80650
|
+
* Whether this person has read it.
|
|
80651
|
+
*/
|
|
80652
|
+
read: boolean;
|
|
80653
|
+
/**
|
|
80654
|
+
* Whether this person archived it; archived messages are not in the inbox tab.
|
|
80655
|
+
*/
|
|
80656
|
+
archived: boolean;
|
|
80657
|
+
/**
|
|
80658
|
+
* When the message arrived.
|
|
80659
|
+
*/
|
|
80660
|
+
createTime: string;
|
|
80661
|
+
};
|
|
80662
|
+
};
|
|
80663
|
+
export type GetOrganizationNotificationMessageResponse = GetOrganizationNotificationMessageResponses[keyof GetOrganizationNotificationMessageResponses];
|
|
80664
|
+
export type UpdateOrganizationNotificationMessageData = {
|
|
80665
|
+
body: {
|
|
80666
|
+
/**
|
|
80667
|
+
* Mark the message read (true) or unread (false); omit to leave it.
|
|
80668
|
+
*/
|
|
80669
|
+
read?: boolean;
|
|
80670
|
+
/**
|
|
80671
|
+
* Archive the message (true) or move it back to the inbox (false); omit to leave it.
|
|
80672
|
+
*/
|
|
80673
|
+
archived?: boolean;
|
|
80674
|
+
};
|
|
80675
|
+
path: {
|
|
80676
|
+
/**
|
|
80677
|
+
* The message's `name` from the messages list, subscribers/{user}/messages/{id}, URL-encoded.
|
|
80678
|
+
*/
|
|
80679
|
+
name: string;
|
|
80680
|
+
};
|
|
80681
|
+
query?: never;
|
|
80682
|
+
url: '/organization/v1/notifications/messages/{name}';
|
|
80683
|
+
};
|
|
80684
|
+
export type UpdateOrganizationNotificationMessageErrors = {
|
|
80685
|
+
/**
|
|
80686
|
+
* 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).
|
|
80687
|
+
*/
|
|
80688
|
+
400: unknown;
|
|
80689
|
+
/**
|
|
80690
|
+
* Missing or invalid credential (RFC 9457 problem).
|
|
80691
|
+
*/
|
|
80692
|
+
401: unknown;
|
|
80693
|
+
/**
|
|
80694
|
+
* `PERMISSION_DENIED`: an agent credential has no person inbox; read its own letters instead (RFC 9457 problem).
|
|
80695
|
+
*/
|
|
80696
|
+
403: unknown;
|
|
80697
|
+
/**
|
|
80698
|
+
* No such message of yours in this organization — `MESSAGE_NOT_FOUND` (RFC 9457 problem).
|
|
80699
|
+
*/
|
|
80700
|
+
404: unknown;
|
|
80701
|
+
/**
|
|
80702
|
+
* 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.
|
|
80703
|
+
*/
|
|
80704
|
+
502: unknown;
|
|
80705
|
+
};
|
|
80706
|
+
export type UpdateOrganizationNotificationMessageResponses = {
|
|
80707
|
+
/**
|
|
80708
|
+
* The message after the change.
|
|
80709
|
+
*/
|
|
80710
|
+
200: {
|
|
80711
|
+
/**
|
|
80712
|
+
* The message's resource name, subscribers/{user}/messages/{id}; pass it URL-encoded as the {name} of the other message operations.
|
|
80713
|
+
*/
|
|
80714
|
+
name: string;
|
|
80715
|
+
/**
|
|
80716
|
+
* The organization the message belongs to; empty for a message that belongs to no organization.
|
|
80717
|
+
*/
|
|
80718
|
+
organizationId: string;
|
|
80719
|
+
/**
|
|
80720
|
+
* The notification group the message belongs to: members, usage, alerts, agent, or nonConfigurable.
|
|
80721
|
+
*/
|
|
80722
|
+
group: 'members' | 'usage' | 'alerts' | 'agent' | 'nonConfigurable';
|
|
80723
|
+
/**
|
|
80724
|
+
* The notification workflow that wrote it, as the preferences page names it.
|
|
80725
|
+
*/
|
|
80726
|
+
workflow: string;
|
|
80727
|
+
/**
|
|
80728
|
+
* The message's headline, as the bell shows it.
|
|
80729
|
+
*/
|
|
80730
|
+
title: string;
|
|
80731
|
+
/**
|
|
80732
|
+
* The message text.
|
|
80733
|
+
*/
|
|
80734
|
+
body: string;
|
|
80735
|
+
/**
|
|
80736
|
+
* Where the bell opens this message; absent when it has no page.
|
|
80737
|
+
*/
|
|
80738
|
+
actionUrl?: string;
|
|
80739
|
+
/**
|
|
80740
|
+
* Whether the bell has been opened since the message arrived.
|
|
80741
|
+
*/
|
|
80742
|
+
seen: boolean;
|
|
80743
|
+
/**
|
|
80744
|
+
* Whether this person has read it.
|
|
80745
|
+
*/
|
|
80746
|
+
read: boolean;
|
|
80747
|
+
/**
|
|
80748
|
+
* Whether this person archived it; archived messages are not in the inbox tab.
|
|
80749
|
+
*/
|
|
80750
|
+
archived: boolean;
|
|
80751
|
+
/**
|
|
80752
|
+
* When the message arrived.
|
|
80753
|
+
*/
|
|
80754
|
+
createTime: string;
|
|
80755
|
+
};
|
|
80756
|
+
};
|
|
80757
|
+
export type UpdateOrganizationNotificationMessageResponse = UpdateOrganizationNotificationMessageResponses[keyof UpdateOrganizationNotificationMessageResponses];
|
|
80758
|
+
export type ReadAllOrganizationNotificationMessagesData = {
|
|
80759
|
+
body?: never;
|
|
80760
|
+
path?: never;
|
|
80761
|
+
query?: never;
|
|
80762
|
+
url: '/organization/v1/notifications/messages:readAll';
|
|
80763
|
+
};
|
|
80764
|
+
export type ReadAllOrganizationNotificationMessagesErrors = {
|
|
80765
|
+
/**
|
|
80766
|
+
* Missing or invalid credential (RFC 9457 problem).
|
|
80767
|
+
*/
|
|
80768
|
+
401: unknown;
|
|
80769
|
+
/**
|
|
80770
|
+
* `PERMISSION_DENIED`: an agent credential has no person inbox; read its own letters instead (RFC 9457 problem).
|
|
80771
|
+
*/
|
|
80772
|
+
403: unknown;
|
|
80773
|
+
/**
|
|
80774
|
+
* 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.
|
|
80775
|
+
*/
|
|
80776
|
+
502: unknown;
|
|
80777
|
+
};
|
|
80778
|
+
export type ReadAllOrganizationNotificationMessagesResponses = {
|
|
80779
|
+
/**
|
|
80780
|
+
* How many messages were marked read.
|
|
80781
|
+
*/
|
|
80782
|
+
200: {
|
|
80783
|
+
/**
|
|
80784
|
+
* The number of messages that were unread and are now read.
|
|
80785
|
+
*/
|
|
80786
|
+
updated: number;
|
|
80787
|
+
};
|
|
80788
|
+
};
|
|
80789
|
+
export type ReadAllOrganizationNotificationMessagesResponse = ReadAllOrganizationNotificationMessagesResponses[keyof ReadAllOrganizationNotificationMessagesResponses];
|
|
79475
80790
|
export type GetOrganizationNotificationPreferencesData = {
|
|
79476
80791
|
body?: never;
|
|
79477
80792
|
path?: never;
|
|
@@ -80939,7 +82254,7 @@ export type ListByodDevicesResponses = {
|
|
|
80939
82254
|
*/
|
|
80940
82255
|
id: string;
|
|
80941
82256
|
/**
|
|
80942
|
-
* The device's platform, which decides the use faces it answers. A desktop (macos, linux) pairs
|
|
82257
|
+
* 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
82258
|
*/
|
|
80944
82259
|
platform: 'android' | 'macos' | 'linux';
|
|
80945
82260
|
/**
|
|
@@ -81038,7 +82353,7 @@ export type GetByodDeviceResponses = {
|
|
|
81038
82353
|
*/
|
|
81039
82354
|
id: string;
|
|
81040
82355
|
/**
|
|
81041
|
-
* The device's platform, which decides the use faces it answers. A desktop (macos, linux) pairs
|
|
82356
|
+
* 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
82357
|
*/
|
|
81043
82358
|
platform: 'android' | 'macos' | 'linux';
|
|
81044
82359
|
/**
|
|
@@ -81148,7 +82463,7 @@ export type UpdateByodDeviceResponses = {
|
|
|
81148
82463
|
*/
|
|
81149
82464
|
id: string;
|
|
81150
82465
|
/**
|
|
81151
|
-
* The device's platform, which decides the use faces it answers. A desktop (macos, linux) pairs
|
|
82466
|
+
* 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
82467
|
*/
|
|
81153
82468
|
platform: 'android' | 'macos' | 'linux';
|
|
81154
82469
|
/**
|
|
@@ -81285,13 +82600,124 @@ export type GetByodPairingResponses = {
|
|
|
81285
82600
|
};
|
|
81286
82601
|
};
|
|
81287
82602
|
export type GetByodPairingResponse = GetByodPairingResponses[keyof GetByodPairingResponses];
|
|
82603
|
+
export type GetByodPairingStatusData = {
|
|
82604
|
+
body?: never;
|
|
82605
|
+
path: {
|
|
82606
|
+
/**
|
|
82607
|
+
* The 8-character pairing code returned by createByodPairing. An unknown, spent or expired code answers 404.
|
|
82608
|
+
*/
|
|
82609
|
+
code: string;
|
|
82610
|
+
};
|
|
82611
|
+
query?: never;
|
|
82612
|
+
url: '/sandbox/v1/byod/pairings/{code}/status';
|
|
82613
|
+
};
|
|
82614
|
+
export type GetByodPairingStatusErrors = {
|
|
82615
|
+
/**
|
|
82616
|
+
* Authentication required: supply an organization API key that carries a tenant.
|
|
82617
|
+
*/
|
|
82618
|
+
401: unknown;
|
|
82619
|
+
/**
|
|
82620
|
+
* NOT_FOUND: no such pairing for this organization. The code is unknown or belongs to another organization; the two are indistinguishable.
|
|
82621
|
+
*/
|
|
82622
|
+
404: unknown;
|
|
82623
|
+
/**
|
|
82624
|
+
* SERVICE_UNAVAILABLE: BYOD is not bound in this deployment, or the sandbox is not ready. Wait and retry.
|
|
82625
|
+
*/
|
|
82626
|
+
503: unknown;
|
|
82627
|
+
};
|
|
82628
|
+
export type GetByodPairingStatusResponses = {
|
|
82629
|
+
/**
|
|
82630
|
+
* One pairing of the organization.
|
|
82631
|
+
*/
|
|
82632
|
+
200: {
|
|
82633
|
+
/**
|
|
82634
|
+
* The 8-character pairing code that was asked about.
|
|
82635
|
+
*/
|
|
82636
|
+
code: string;
|
|
82637
|
+
/**
|
|
82638
|
+
* When the code stops working, as an ISO-8601 timestamp.
|
|
82639
|
+
*/
|
|
82640
|
+
expires_at: string;
|
|
82641
|
+
/**
|
|
82642
|
+
* The device this code registered, or null while no phone has claimed it (or when that device was disconnected since).
|
|
82643
|
+
*/
|
|
82644
|
+
claimed_device: {
|
|
82645
|
+
/**
|
|
82646
|
+
* Resource type; always "byod_device".
|
|
82647
|
+
*/
|
|
82648
|
+
object: 'byod_device';
|
|
82649
|
+
/**
|
|
82650
|
+
* Device id, `byd_` followed by 26 lowercase hex characters. Pass it wherever a use face takes a sandbox id, such as POST /sandbox/v1/sandboxes/{id}/act; every lifecycle operation on it answers CAPABILITY_UNSUPPORTED.
|
|
82651
|
+
*/
|
|
82652
|
+
id: string;
|
|
82653
|
+
/**
|
|
82654
|
+
* The device's platform, which decides the use faces it answers. A desktop (macos, linux) pairs like a phone; windows is not supported yet.
|
|
82655
|
+
*/
|
|
82656
|
+
platform: 'android' | 'macos' | 'linux';
|
|
82657
|
+
/**
|
|
82658
|
+
* Display name of the device, 1 to 64 characters. Change it with updateByodDevice; it is not an identifier.
|
|
82659
|
+
*/
|
|
82660
|
+
name: string;
|
|
82661
|
+
/**
|
|
82662
|
+
* Device model the phone's app reported when it claimed the pairing, such as 23127PN0CC; empty when the app sent none.
|
|
82663
|
+
*/
|
|
82664
|
+
model: string;
|
|
82665
|
+
/**
|
|
82666
|
+
* Operating-system version the app reported, such as 16; empty when the app sent none. Not the device's model.
|
|
82667
|
+
*/
|
|
82668
|
+
os_version: string;
|
|
82669
|
+
/**
|
|
82670
|
+
* True while the device holds its one control connection; false when it is paired but not connected. An act on an offline device answers 503 DEVICE_NOT_READY.
|
|
82671
|
+
*/
|
|
82672
|
+
online: boolean;
|
|
82673
|
+
/**
|
|
82674
|
+
* When the device last said hello or answered a ping, as an ISO-8601 timestamp; null until it first connects.
|
|
82675
|
+
*/
|
|
82676
|
+
last_seen_at: string | null;
|
|
82677
|
+
/**
|
|
82678
|
+
* When the device was paired, as an ISO-8601 timestamp; the list is ordered by it, oldest first.
|
|
82679
|
+
*/
|
|
82680
|
+
created_at: string;
|
|
82681
|
+
/**
|
|
82682
|
+
* What the device can be asked to do, derived from its platform: display for a phone (act, the action socket), agent for a desktop (a local coding agent session).
|
|
82683
|
+
*/
|
|
82684
|
+
capabilities: Array<'display' | 'agent'>;
|
|
82685
|
+
/**
|
|
82686
|
+
* 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.
|
|
82687
|
+
*/
|
|
82688
|
+
agent_dirs: Array<string>;
|
|
82689
|
+
/**
|
|
82690
|
+
* 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.
|
|
82691
|
+
*/
|
|
82692
|
+
agent_bindings: Array<{
|
|
82693
|
+
/**
|
|
82694
|
+
* The absolute directory the desktop bound to an agent with praxis agent connect.
|
|
82695
|
+
*/
|
|
82696
|
+
dir: string;
|
|
82697
|
+
/**
|
|
82698
|
+
* The agent the directory is bound to: its identity number or its agent id.
|
|
82699
|
+
*/
|
|
82700
|
+
agent: string;
|
|
82701
|
+
}>;
|
|
82702
|
+
/**
|
|
82703
|
+
* 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.
|
|
82704
|
+
*/
|
|
82705
|
+
envd_version: string | null;
|
|
82706
|
+
/**
|
|
82707
|
+
* 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.
|
|
82708
|
+
*/
|
|
82709
|
+
allow_bypass: boolean;
|
|
82710
|
+
} | null;
|
|
82711
|
+
};
|
|
82712
|
+
};
|
|
82713
|
+
export type GetByodPairingStatusResponse = GetByodPairingStatusResponses[keyof GetByodPairingStatusResponses];
|
|
81288
82714
|
export type ClaimByodPairingData = {
|
|
81289
82715
|
/**
|
|
81290
82716
|
* What the phone's app knows about itself when it claims the pairing.
|
|
81291
82717
|
*/
|
|
81292
82718
|
body: {
|
|
81293
82719
|
/**
|
|
81294
|
-
* The device's platform. macos and linux are accepted
|
|
82720
|
+
* The device's platform. macos and linux are accepted for every organization; any other value than android, macos or linux answers INVALID_PARAMS.
|
|
81295
82721
|
*/
|
|
81296
82722
|
platform: 'android' | 'macos' | 'linux';
|
|
81297
82723
|
/**
|
|
@@ -81322,7 +82748,7 @@ export type ClaimByodPairingData = {
|
|
|
81322
82748
|
};
|
|
81323
82749
|
export type ClaimByodPairingErrors = {
|
|
81324
82750
|
/**
|
|
81325
|
-
* INVALID_PARAMS: the body is missing, platform is not android, macos or linux
|
|
82751
|
+
* 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
82752
|
*/
|
|
81327
82753
|
400: unknown;
|
|
81328
82754
|
/**
|
|
@@ -83945,8 +85371,7 @@ export type SessionsUpdateData = {
|
|
|
83945
85371
|
*/
|
|
83946
85372
|
title?: null | string;
|
|
83947
85373
|
/**
|
|
83948
|
-
*
|
|
83949
|
-
* requests setting this field are rejected. Reserved for future use.
|
|
85374
|
+
* 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
85375
|
*/
|
|
83951
85376
|
vault_ids?: Array<string>;
|
|
83952
85377
|
/**
|
|
@@ -84887,7 +86312,7 @@ export type AgentsListResponses = {
|
|
|
84887
86312
|
*/
|
|
84888
86313
|
environment_id?: string | null;
|
|
84889
86314
|
/**
|
|
84890
|
-
* Default vaults of this service or assume agent version: the vault_ids new
|
|
86315
|
+
* 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
86316
|
*/
|
|
84892
86317
|
vault_ids?: Array<string>;
|
|
84893
86318
|
/**
|
|
@@ -85426,7 +86851,7 @@ export type AgentsCreateData = {
|
|
|
85426
86851
|
*/
|
|
85427
86852
|
environment_id?: string | null;
|
|
85428
86853
|
/**
|
|
85429
|
-
* Default vaults of
|
|
86854
|
+
* 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
86855
|
*/
|
|
85431
86856
|
vault_ids?: Array<string>;
|
|
85432
86857
|
/**
|
|
@@ -86109,7 +87534,7 @@ export type AgentsCreateResponses = {
|
|
|
86109
87534
|
*/
|
|
86110
87535
|
environment_id?: string | null;
|
|
86111
87536
|
/**
|
|
86112
|
-
* Default vaults of this service or assume agent version: the vault_ids new
|
|
87537
|
+
* 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
87538
|
*/
|
|
86114
87539
|
vault_ids?: Array<string>;
|
|
86115
87540
|
/**
|
|
@@ -86780,7 +88205,7 @@ export type AgentsRetrieveResponses = {
|
|
|
86780
88205
|
*/
|
|
86781
88206
|
environment_id?: string | null;
|
|
86782
88207
|
/**
|
|
86783
|
-
* Default vaults of this service or assume agent version: the vault_ids new
|
|
88208
|
+
* 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
88209
|
*/
|
|
86785
88210
|
vault_ids?: Array<string>;
|
|
86786
88211
|
/**
|
|
@@ -87328,7 +88753,7 @@ export type AgentsUpdateData = {
|
|
|
87328
88753
|
*/
|
|
87329
88754
|
environment_id?: string | null;
|
|
87330
88755
|
/**
|
|
87331
|
-
* Default vaults of
|
|
88756
|
+
* 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
88757
|
*/
|
|
87333
88758
|
vault_ids?: Array<string>;
|
|
87334
88759
|
/**
|
|
@@ -88024,7 +89449,7 @@ export type AgentsUpdateResponses = {
|
|
|
88024
89449
|
*/
|
|
88025
89450
|
environment_id?: string | null;
|
|
88026
89451
|
/**
|
|
88027
|
-
* Default vaults of this service or assume agent version: the vault_ids new
|
|
89452
|
+
* 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
89453
|
*/
|
|
88029
89454
|
vault_ids?: Array<string>;
|
|
88030
89455
|
/**
|
|
@@ -88650,7 +90075,7 @@ export type AgentsArchiveResponses = {
|
|
|
88650
90075
|
*/
|
|
88651
90076
|
environment_id?: string | null;
|
|
88652
90077
|
/**
|
|
88653
|
-
* Default vaults of this service or assume agent version: the vault_ids new
|
|
90078
|
+
* 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
90079
|
*/
|
|
88655
90080
|
vault_ids?: Array<string>;
|
|
88656
90081
|
/**
|
|
@@ -89321,7 +90746,7 @@ export type AgentsVersionsListResponses = {
|
|
|
89321
90746
|
*/
|
|
89322
90747
|
environment_id?: string | null;
|
|
89323
90748
|
/**
|
|
89324
|
-
* Default vaults of this service or assume agent version: the vault_ids new
|
|
90749
|
+
* 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
90750
|
*/
|
|
89326
90751
|
vault_ids?: Array<string>;
|
|
89327
90752
|
/**
|
|
@@ -96906,14 +98331,14 @@ export type AutomationActionsGetData = {
|
|
|
96906
98331
|
/**
|
|
96907
98332
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
96908
98333
|
*/
|
|
96909
|
-
|
|
98334
|
+
namespace: string;
|
|
96910
98335
|
/**
|
|
96911
98336
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
96912
98337
|
*/
|
|
96913
98338
|
name: string;
|
|
96914
98339
|
};
|
|
96915
98340
|
query?: never;
|
|
96916
|
-
url: '/automation/v1/actions/{
|
|
98341
|
+
url: '/automation/v1/actions/{namespace}/{name}';
|
|
96917
98342
|
};
|
|
96918
98343
|
export type AutomationActionsGetErrors = {
|
|
96919
98344
|
/**
|
|
@@ -97036,7 +98461,7 @@ export type AutomationActionsUpdateData = {
|
|
|
97036
98461
|
/**
|
|
97037
98462
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
97038
98463
|
*/
|
|
97039
|
-
|
|
98464
|
+
namespace: string;
|
|
97040
98465
|
/**
|
|
97041
98466
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
97042
98467
|
*/
|
|
@@ -97048,7 +98473,7 @@ export type AutomationActionsUpdateData = {
|
|
|
97048
98473
|
*/
|
|
97049
98474
|
dry_run?: boolean;
|
|
97050
98475
|
};
|
|
97051
|
-
url: '/automation/v1/actions/{
|
|
98476
|
+
url: '/automation/v1/actions/{namespace}/{name}';
|
|
97052
98477
|
};
|
|
97053
98478
|
export type AutomationActionsUpdateErrors = {
|
|
97054
98479
|
/**
|
|
@@ -97099,7 +98524,7 @@ export type AutomationActionsRevisionsData = {
|
|
|
97099
98524
|
/**
|
|
97100
98525
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
97101
98526
|
*/
|
|
97102
|
-
|
|
98527
|
+
namespace: string;
|
|
97103
98528
|
/**
|
|
97104
98529
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
97105
98530
|
*/
|
|
@@ -97119,7 +98544,7 @@ export type AutomationActionsRevisionsData = {
|
|
|
97119
98544
|
*/
|
|
97120
98545
|
expand?: 'source';
|
|
97121
98546
|
};
|
|
97122
|
-
url: '/automation/v1/actions/{
|
|
98547
|
+
url: '/automation/v1/actions/{namespace}/{name}/revisions';
|
|
97123
98548
|
};
|
|
97124
98549
|
export type AutomationActionsRevisionsErrors = {
|
|
97125
98550
|
/**
|
|
@@ -97158,7 +98583,7 @@ export type AutomationActionsRevisionData = {
|
|
|
97158
98583
|
/**
|
|
97159
98584
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
97160
98585
|
*/
|
|
97161
|
-
|
|
98586
|
+
namespace: string;
|
|
97162
98587
|
/**
|
|
97163
98588
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
97164
98589
|
*/
|
|
@@ -97169,7 +98594,7 @@ export type AutomationActionsRevisionData = {
|
|
|
97169
98594
|
revision: string;
|
|
97170
98595
|
};
|
|
97171
98596
|
query?: never;
|
|
97172
|
-
url: '/automation/v1/actions/{
|
|
98597
|
+
url: '/automation/v1/actions/{namespace}/{name}/revisions/{revision}';
|
|
97173
98598
|
};
|
|
97174
98599
|
export type AutomationActionsRevisionErrors = {
|
|
97175
98600
|
/**
|
|
@@ -97219,14 +98644,14 @@ export type AutomationActionsRollbackData = {
|
|
|
97219
98644
|
/**
|
|
97220
98645
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
97221
98646
|
*/
|
|
97222
|
-
|
|
98647
|
+
namespace: string;
|
|
97223
98648
|
/**
|
|
97224
98649
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
97225
98650
|
*/
|
|
97226
98651
|
name: string;
|
|
97227
98652
|
};
|
|
97228
98653
|
query?: never;
|
|
97229
|
-
url: '/automation/v1/actions/{
|
|
98654
|
+
url: '/automation/v1/actions/{namespace}/{name}/rollback';
|
|
97230
98655
|
};
|
|
97231
98656
|
export type AutomationActionsRollbackErrors = {
|
|
97232
98657
|
/**
|
|
@@ -97280,7 +98705,7 @@ export type AutomationActionsInvocationsData = {
|
|
|
97280
98705
|
/**
|
|
97281
98706
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
97282
98707
|
*/
|
|
97283
|
-
|
|
98708
|
+
namespace: string;
|
|
97284
98709
|
/**
|
|
97285
98710
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
97286
98711
|
*/
|
|
@@ -97316,7 +98741,7 @@ export type AutomationActionsInvocationsData = {
|
|
|
97316
98741
|
*/
|
|
97317
98742
|
'created_at[gte]'?: string;
|
|
97318
98743
|
};
|
|
97319
|
-
url: '/automation/v1/actions/{
|
|
98744
|
+
url: '/automation/v1/actions/{namespace}/{name}/invocations';
|
|
97320
98745
|
};
|
|
97321
98746
|
export type AutomationActionsInvocationsErrors = {
|
|
97322
98747
|
/**
|
|
@@ -97355,7 +98780,7 @@ export type AutomationActionsDependentsData = {
|
|
|
97355
98780
|
/**
|
|
97356
98781
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
97357
98782
|
*/
|
|
97358
|
-
|
|
98783
|
+
namespace: string;
|
|
97359
98784
|
/**
|
|
97360
98785
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
97361
98786
|
*/
|
|
@@ -97371,7 +98796,7 @@ export type AutomationActionsDependentsData = {
|
|
|
97371
98796
|
*/
|
|
97372
98797
|
cursor?: string;
|
|
97373
98798
|
};
|
|
97374
|
-
url: '/automation/v1/actions/{
|
|
98799
|
+
url: '/automation/v1/actions/{namespace}/{name}/dependents';
|
|
97375
98800
|
};
|
|
97376
98801
|
export type AutomationActionsDependentsErrors = {
|
|
97377
98802
|
/**
|
|
@@ -97410,14 +98835,14 @@ export type AutomationActionsArchiveData = {
|
|
|
97410
98835
|
/**
|
|
97411
98836
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
97412
98837
|
*/
|
|
97413
|
-
|
|
98838
|
+
namespace: string;
|
|
97414
98839
|
/**
|
|
97415
98840
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
97416
98841
|
*/
|
|
97417
98842
|
name: string;
|
|
97418
98843
|
};
|
|
97419
98844
|
query?: never;
|
|
97420
|
-
url: '/automation/v1/actions/{
|
|
98845
|
+
url: '/automation/v1/actions/{namespace}/{name}/archive';
|
|
97421
98846
|
};
|
|
97422
98847
|
export type AutomationActionsArchiveErrors = {
|
|
97423
98848
|
/**
|
|
@@ -97451,14 +98876,14 @@ export type AutomationActionsRestoreData = {
|
|
|
97451
98876
|
/**
|
|
97452
98877
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
97453
98878
|
*/
|
|
97454
|
-
|
|
98879
|
+
namespace: string;
|
|
97455
98880
|
/**
|
|
97456
98881
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
97457
98882
|
*/
|
|
97458
98883
|
name: string;
|
|
97459
98884
|
};
|
|
97460
98885
|
query?: never;
|
|
97461
|
-
url: '/automation/v1/actions/{
|
|
98886
|
+
url: '/automation/v1/actions/{namespace}/{name}/restore';
|
|
97462
98887
|
};
|
|
97463
98888
|
export type AutomationActionsRestoreErrors = {
|
|
97464
98889
|
/**
|
|
@@ -97573,9 +98998,9 @@ export type AutomationScriptsCreateData = {
|
|
|
97573
98998
|
*/
|
|
97574
98999
|
description?: string;
|
|
97575
99000
|
/**
|
|
97576
|
-
* Editable source: TypeScript for scripts, YAML for workflows. Defaults to an empty string on creation.
|
|
99001
|
+
* Editable source in the shape a read returns: { source, revision }; TypeScript for scripts, YAML for workflows. Defaults to an empty string on creation, where revision has no meaning. A bare string is the deprecated spelling of { source }.
|
|
97577
99002
|
*/
|
|
97578
|
-
draft?: string;
|
|
99003
|
+
draft?: AutomationDraftCreateInput | string;
|
|
97579
99004
|
/**
|
|
97580
99005
|
* At most 50 labels; keys contain 1–40 characters and values at most 500 characters.
|
|
97581
99006
|
*/
|
|
@@ -97630,14 +99055,14 @@ export type AutomationScriptsGetData = {
|
|
|
97630
99055
|
/**
|
|
97631
99056
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
97632
99057
|
*/
|
|
97633
|
-
|
|
99058
|
+
namespace: string;
|
|
97634
99059
|
/**
|
|
97635
99060
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
97636
99061
|
*/
|
|
97637
99062
|
name: string;
|
|
97638
99063
|
};
|
|
97639
99064
|
query?: never;
|
|
97640
|
-
url: '/automation/v1/scripts/{
|
|
99065
|
+
url: '/automation/v1/scripts/{namespace}/{name}';
|
|
97641
99066
|
};
|
|
97642
99067
|
export type AutomationScriptsGetErrors = {
|
|
97643
99068
|
/**
|
|
@@ -97674,28 +99099,30 @@ export type AutomationScriptsPatchData = {
|
|
|
97674
99099
|
[key: string]: string;
|
|
97675
99100
|
};
|
|
97676
99101
|
/**
|
|
97677
|
-
*
|
|
99102
|
+
* Draft in the shape a read returns: { source, revision }. revision is the one concurrency token and must equal the current draft revision (a mismatch returns 412); omit source to change only metadata and keep the draft source; updated_at and updated_by are read-only echoes and are ignored. A bare string is the deprecated spelling of { source }, and the revision then travels in If-Match.
|
|
97678
99103
|
*/
|
|
97679
|
-
draft?: string;
|
|
99104
|
+
draft?: AutomationDraftUpdateInput | string;
|
|
97680
99105
|
};
|
|
97681
|
-
headers
|
|
99106
|
+
headers?: {
|
|
97682
99107
|
/**
|
|
97683
|
-
*
|
|
99108
|
+
* Deprecated alias of draft.revision in the body. Give the draft revision once; the two together with different values return 400. The bare value, the quoted form and the weak form W/"…" are all accepted (RFC 7232 weak comparison), and a revision mismatch returns 412.
|
|
99109
|
+
*
|
|
99110
|
+
* @deprecated
|
|
97684
99111
|
*/
|
|
97685
|
-
'If-Match'
|
|
99112
|
+
'If-Match'?: string;
|
|
97686
99113
|
};
|
|
97687
99114
|
path: {
|
|
97688
99115
|
/**
|
|
97689
99116
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
97690
99117
|
*/
|
|
97691
|
-
|
|
99118
|
+
namespace: string;
|
|
97692
99119
|
/**
|
|
97693
99120
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
97694
99121
|
*/
|
|
97695
99122
|
name: string;
|
|
97696
99123
|
};
|
|
97697
99124
|
query?: never;
|
|
97698
|
-
url: '/automation/v1/scripts/{
|
|
99125
|
+
url: '/automation/v1/scripts/{namespace}/{name}';
|
|
97699
99126
|
};
|
|
97700
99127
|
export type AutomationScriptsPatchErrors = {
|
|
97701
99128
|
/**
|
|
@@ -97737,14 +99164,14 @@ export type AutomationScriptsArchiveData = {
|
|
|
97737
99164
|
/**
|
|
97738
99165
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
97739
99166
|
*/
|
|
97740
|
-
|
|
99167
|
+
namespace: string;
|
|
97741
99168
|
/**
|
|
97742
99169
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
97743
99170
|
*/
|
|
97744
99171
|
name: string;
|
|
97745
99172
|
};
|
|
97746
99173
|
query?: never;
|
|
97747
|
-
url: '/automation/v1/scripts/{
|
|
99174
|
+
url: '/automation/v1/scripts/{namespace}/{name}/archive';
|
|
97748
99175
|
};
|
|
97749
99176
|
export type AutomationScriptsArchiveErrors = {
|
|
97750
99177
|
/**
|
|
@@ -97782,14 +99209,14 @@ export type AutomationScriptsRestoreData = {
|
|
|
97782
99209
|
/**
|
|
97783
99210
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
97784
99211
|
*/
|
|
97785
|
-
|
|
99212
|
+
namespace: string;
|
|
97786
99213
|
/**
|
|
97787
99214
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
97788
99215
|
*/
|
|
97789
99216
|
name: string;
|
|
97790
99217
|
};
|
|
97791
99218
|
query?: never;
|
|
97792
|
-
url: '/automation/v1/scripts/{
|
|
99219
|
+
url: '/automation/v1/scripts/{namespace}/{name}/restore';
|
|
97793
99220
|
};
|
|
97794
99221
|
export type AutomationScriptsRestoreErrors = {
|
|
97795
99222
|
/**
|
|
@@ -97827,7 +99254,7 @@ export type AutomationScriptsVersionsData = {
|
|
|
97827
99254
|
/**
|
|
97828
99255
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
97829
99256
|
*/
|
|
97830
|
-
|
|
99257
|
+
namespace: string;
|
|
97831
99258
|
/**
|
|
97832
99259
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
97833
99260
|
*/
|
|
@@ -97847,7 +99274,7 @@ export type AutomationScriptsVersionsData = {
|
|
|
97847
99274
|
*/
|
|
97848
99275
|
expand?: 'source';
|
|
97849
99276
|
};
|
|
97850
|
-
url: '/automation/v1/scripts/{
|
|
99277
|
+
url: '/automation/v1/scripts/{namespace}/{name}/versions';
|
|
97851
99278
|
};
|
|
97852
99279
|
export type AutomationScriptsVersionsErrors = {
|
|
97853
99280
|
/**
|
|
@@ -97887,13 +99314,24 @@ export type AutomationScriptsPublishData = {
|
|
|
97887
99314
|
*/
|
|
97888
99315
|
version: string;
|
|
97889
99316
|
/**
|
|
97890
|
-
* Draft revision to publish, matching the current draft;
|
|
99317
|
+
* Deprecated alias of draft.revision. Draft revision to publish, matching the current draft; a different value together with draft.revision returns 400.
|
|
99318
|
+
*
|
|
99319
|
+
* @deprecated
|
|
97891
99320
|
*/
|
|
97892
|
-
expected_draft_revision
|
|
99321
|
+
expected_draft_revision?: string;
|
|
97893
99322
|
/**
|
|
97894
99323
|
* Distribution tag. A prerelease (such as 1.3.0-beta.1) requires a tag and it cannot be latest; a tag may only use URL-safe characters (letters, digits and - _ . ! ~ * ' ( )), no spaces or / ? # and no leading or trailing whitespace; it cannot be a version or a version range (such as 1.2.3, ^1, 1.x, *); any other name such as beta, next or debug is allowed. Violations return TAG_INVALID or TAG_REQUIRED with the complete rules in hint.
|
|
97895
99324
|
*/
|
|
97896
99325
|
tag?: string;
|
|
99326
|
+
/**
|
|
99327
|
+
* Precondition for publishing the draft: { revision } is the draft.revision from a read or update and must match the current draft; alternative to publishing from_run. The whole draft object a read returned may be sent back as is, and its other fields are ignored.
|
|
99328
|
+
*/
|
|
99329
|
+
draft?: {
|
|
99330
|
+
/**
|
|
99331
|
+
* Draft revision to publish: the draft.revision a read or update returned, which must equal the current draft revision; expected_draft_revision is its deprecated alias.
|
|
99332
|
+
*/
|
|
99333
|
+
revision: string;
|
|
99334
|
+
};
|
|
97897
99335
|
} | {
|
|
97898
99336
|
/**
|
|
97899
99337
|
* An exact canonical semantic version, such as 1.2.0 or 1.3.0-beta.1, not a range.
|
|
@@ -97922,14 +99360,14 @@ export type AutomationScriptsPublishData = {
|
|
|
97922
99360
|
/**
|
|
97923
99361
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
97924
99362
|
*/
|
|
97925
|
-
|
|
99363
|
+
namespace: string;
|
|
97926
99364
|
/**
|
|
97927
99365
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
97928
99366
|
*/
|
|
97929
99367
|
name: string;
|
|
97930
99368
|
};
|
|
97931
99369
|
query?: never;
|
|
97932
|
-
url: '/automation/v1/scripts/{
|
|
99370
|
+
url: '/automation/v1/scripts/{namespace}/{name}/versions';
|
|
97933
99371
|
};
|
|
97934
99372
|
export type AutomationScriptsPublishErrors = {
|
|
97935
99373
|
/**
|
|
@@ -97984,7 +99422,7 @@ export type AutomationScriptsVersionData = {
|
|
|
97984
99422
|
/**
|
|
97985
99423
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
97986
99424
|
*/
|
|
97987
|
-
|
|
99425
|
+
namespace: string;
|
|
97988
99426
|
/**
|
|
97989
99427
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
97990
99428
|
*/
|
|
@@ -97995,7 +99433,7 @@ export type AutomationScriptsVersionData = {
|
|
|
97995
99433
|
version: string;
|
|
97996
99434
|
};
|
|
97997
99435
|
query?: never;
|
|
97998
|
-
url: '/automation/v1/scripts/{
|
|
99436
|
+
url: '/automation/v1/scripts/{namespace}/{name}/versions/{version}';
|
|
97999
99437
|
};
|
|
98000
99438
|
export type AutomationScriptsVersionErrors = {
|
|
98001
99439
|
/**
|
|
@@ -98031,7 +99469,7 @@ export type AutomationScriptsDeprecateData = {
|
|
|
98031
99469
|
/**
|
|
98032
99470
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
98033
99471
|
*/
|
|
98034
|
-
|
|
99472
|
+
namespace: string;
|
|
98035
99473
|
/**
|
|
98036
99474
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
98037
99475
|
*/
|
|
@@ -98042,7 +99480,7 @@ export type AutomationScriptsDeprecateData = {
|
|
|
98042
99480
|
version: string;
|
|
98043
99481
|
};
|
|
98044
99482
|
query?: never;
|
|
98045
|
-
url: '/automation/v1/scripts/{
|
|
99483
|
+
url: '/automation/v1/scripts/{namespace}/{name}/versions/{version}/deprecate';
|
|
98046
99484
|
};
|
|
98047
99485
|
export type AutomationScriptsDeprecateErrors = {
|
|
98048
99486
|
/**
|
|
@@ -98085,14 +99523,14 @@ export type AutomationScriptsDistTagsData = {
|
|
|
98085
99523
|
/**
|
|
98086
99524
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
98087
99525
|
*/
|
|
98088
|
-
|
|
99526
|
+
namespace: string;
|
|
98089
99527
|
/**
|
|
98090
99528
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
98091
99529
|
*/
|
|
98092
99530
|
name: string;
|
|
98093
99531
|
};
|
|
98094
99532
|
query?: never;
|
|
98095
|
-
url: '/automation/v1/scripts/{
|
|
99533
|
+
url: '/automation/v1/scripts/{namespace}/{name}/dist-tags';
|
|
98096
99534
|
};
|
|
98097
99535
|
export type AutomationScriptsDistTagsErrors = {
|
|
98098
99536
|
/**
|
|
@@ -98124,7 +99562,7 @@ export type AutomationScriptsDeleteDistTagData = {
|
|
|
98124
99562
|
/**
|
|
98125
99563
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
98126
99564
|
*/
|
|
98127
|
-
|
|
99565
|
+
namespace: string;
|
|
98128
99566
|
/**
|
|
98129
99567
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
98130
99568
|
*/
|
|
@@ -98135,7 +99573,7 @@ export type AutomationScriptsDeleteDistTagData = {
|
|
|
98135
99573
|
tag: string;
|
|
98136
99574
|
};
|
|
98137
99575
|
query?: never;
|
|
98138
|
-
url: '/automation/v1/scripts/{
|
|
99576
|
+
url: '/automation/v1/scripts/{namespace}/{name}/dist-tags/{tag}';
|
|
98139
99577
|
};
|
|
98140
99578
|
export type AutomationScriptsDeleteDistTagErrors = {
|
|
98141
99579
|
/**
|
|
@@ -98185,7 +99623,7 @@ export type AutomationScriptsSetDistTagData = {
|
|
|
98185
99623
|
/**
|
|
98186
99624
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
98187
99625
|
*/
|
|
98188
|
-
|
|
99626
|
+
namespace: string;
|
|
98189
99627
|
/**
|
|
98190
99628
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
98191
99629
|
*/
|
|
@@ -98196,7 +99634,7 @@ export type AutomationScriptsSetDistTagData = {
|
|
|
98196
99634
|
tag: string;
|
|
98197
99635
|
};
|
|
98198
99636
|
query?: never;
|
|
98199
|
-
url: '/automation/v1/scripts/{
|
|
99637
|
+
url: '/automation/v1/scripts/{namespace}/{name}/dist-tags/{tag}';
|
|
98200
99638
|
};
|
|
98201
99639
|
export type AutomationScriptsSetDistTagErrors = {
|
|
98202
99640
|
/**
|
|
@@ -98323,9 +99761,9 @@ export type AutomationWorkflowsCreateData = {
|
|
|
98323
99761
|
*/
|
|
98324
99762
|
description?: string;
|
|
98325
99763
|
/**
|
|
98326
|
-
* Editable source: TypeScript for scripts, YAML for workflows. Defaults to an empty string on creation.
|
|
99764
|
+
* Editable source in the shape a read returns: { source, revision }; TypeScript for scripts, YAML for workflows. Defaults to an empty string on creation, where revision has no meaning. A bare string is the deprecated spelling of { source }.
|
|
98327
99765
|
*/
|
|
98328
|
-
draft?: string;
|
|
99766
|
+
draft?: AutomationDraftCreateInput | string;
|
|
98329
99767
|
/**
|
|
98330
99768
|
* At most 50 labels; keys contain 1–40 characters and values at most 500 characters.
|
|
98331
99769
|
*/
|
|
@@ -98380,14 +99818,14 @@ export type AutomationWorkflowsGetData = {
|
|
|
98380
99818
|
/**
|
|
98381
99819
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
98382
99820
|
*/
|
|
98383
|
-
|
|
99821
|
+
namespace: string;
|
|
98384
99822
|
/**
|
|
98385
99823
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
98386
99824
|
*/
|
|
98387
99825
|
name: string;
|
|
98388
99826
|
};
|
|
98389
99827
|
query?: never;
|
|
98390
|
-
url: '/automation/v1/workflows/{
|
|
99828
|
+
url: '/automation/v1/workflows/{namespace}/{name}';
|
|
98391
99829
|
};
|
|
98392
99830
|
export type AutomationWorkflowsGetErrors = {
|
|
98393
99831
|
/**
|
|
@@ -98424,28 +99862,30 @@ export type AutomationWorkflowsPatchData = {
|
|
|
98424
99862
|
[key: string]: string;
|
|
98425
99863
|
};
|
|
98426
99864
|
/**
|
|
98427
|
-
*
|
|
99865
|
+
* Draft in the shape a read returns: { source, revision }. revision is the one concurrency token and must equal the current draft revision (a mismatch returns 412); omit source to change only metadata and keep the draft source; updated_at and updated_by are read-only echoes and are ignored. A bare string is the deprecated spelling of { source }, and the revision then travels in If-Match.
|
|
98428
99866
|
*/
|
|
98429
|
-
draft?: string;
|
|
99867
|
+
draft?: AutomationDraftUpdateInput | string;
|
|
98430
99868
|
};
|
|
98431
|
-
headers
|
|
99869
|
+
headers?: {
|
|
98432
99870
|
/**
|
|
98433
|
-
*
|
|
99871
|
+
* Deprecated alias of draft.revision in the body. Give the draft revision once; the two together with different values return 400. The bare value, the quoted form and the weak form W/"…" are all accepted (RFC 7232 weak comparison), and a revision mismatch returns 412.
|
|
99872
|
+
*
|
|
99873
|
+
* @deprecated
|
|
98434
99874
|
*/
|
|
98435
|
-
'If-Match'
|
|
99875
|
+
'If-Match'?: string;
|
|
98436
99876
|
};
|
|
98437
99877
|
path: {
|
|
98438
99878
|
/**
|
|
98439
99879
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
98440
99880
|
*/
|
|
98441
|
-
|
|
99881
|
+
namespace: string;
|
|
98442
99882
|
/**
|
|
98443
99883
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
98444
99884
|
*/
|
|
98445
99885
|
name: string;
|
|
98446
99886
|
};
|
|
98447
99887
|
query?: never;
|
|
98448
|
-
url: '/automation/v1/workflows/{
|
|
99888
|
+
url: '/automation/v1/workflows/{namespace}/{name}';
|
|
98449
99889
|
};
|
|
98450
99890
|
export type AutomationWorkflowsPatchErrors = {
|
|
98451
99891
|
/**
|
|
@@ -98487,14 +99927,14 @@ export type AutomationWorkflowsArchiveData = {
|
|
|
98487
99927
|
/**
|
|
98488
99928
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
98489
99929
|
*/
|
|
98490
|
-
|
|
99930
|
+
namespace: string;
|
|
98491
99931
|
/**
|
|
98492
99932
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
98493
99933
|
*/
|
|
98494
99934
|
name: string;
|
|
98495
99935
|
};
|
|
98496
99936
|
query?: never;
|
|
98497
|
-
url: '/automation/v1/workflows/{
|
|
99937
|
+
url: '/automation/v1/workflows/{namespace}/{name}/archive';
|
|
98498
99938
|
};
|
|
98499
99939
|
export type AutomationWorkflowsArchiveErrors = {
|
|
98500
99940
|
/**
|
|
@@ -98532,14 +99972,14 @@ export type AutomationWorkflowsRestoreData = {
|
|
|
98532
99972
|
/**
|
|
98533
99973
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
98534
99974
|
*/
|
|
98535
|
-
|
|
99975
|
+
namespace: string;
|
|
98536
99976
|
/**
|
|
98537
99977
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
98538
99978
|
*/
|
|
98539
99979
|
name: string;
|
|
98540
99980
|
};
|
|
98541
99981
|
query?: never;
|
|
98542
|
-
url: '/automation/v1/workflows/{
|
|
99982
|
+
url: '/automation/v1/workflows/{namespace}/{name}/restore';
|
|
98543
99983
|
};
|
|
98544
99984
|
export type AutomationWorkflowsRestoreErrors = {
|
|
98545
99985
|
/**
|
|
@@ -98577,7 +100017,7 @@ export type AutomationWorkflowsVersionsData = {
|
|
|
98577
100017
|
/**
|
|
98578
100018
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
98579
100019
|
*/
|
|
98580
|
-
|
|
100020
|
+
namespace: string;
|
|
98581
100021
|
/**
|
|
98582
100022
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
98583
100023
|
*/
|
|
@@ -98597,7 +100037,7 @@ export type AutomationWorkflowsVersionsData = {
|
|
|
98597
100037
|
*/
|
|
98598
100038
|
expand?: 'source';
|
|
98599
100039
|
};
|
|
98600
|
-
url: '/automation/v1/workflows/{
|
|
100040
|
+
url: '/automation/v1/workflows/{namespace}/{name}/versions';
|
|
98601
100041
|
};
|
|
98602
100042
|
export type AutomationWorkflowsVersionsErrors = {
|
|
98603
100043
|
/**
|
|
@@ -98637,13 +100077,24 @@ export type AutomationWorkflowsPublishData = {
|
|
|
98637
100077
|
*/
|
|
98638
100078
|
version: string;
|
|
98639
100079
|
/**
|
|
98640
|
-
* Draft revision to publish, matching the current draft;
|
|
100080
|
+
* Deprecated alias of draft.revision. Draft revision to publish, matching the current draft; a different value together with draft.revision returns 400.
|
|
100081
|
+
*
|
|
100082
|
+
* @deprecated
|
|
98641
100083
|
*/
|
|
98642
|
-
expected_draft_revision
|
|
100084
|
+
expected_draft_revision?: string;
|
|
98643
100085
|
/**
|
|
98644
100086
|
* Distribution tag. A prerelease (such as 1.3.0-beta.1) requires a tag and it cannot be latest; a tag may only use URL-safe characters (letters, digits and - _ . ! ~ * ' ( )), no spaces or / ? # and no leading or trailing whitespace; it cannot be a version or a version range (such as 1.2.3, ^1, 1.x, *); any other name such as beta, next or debug is allowed. Violations return TAG_INVALID or TAG_REQUIRED with the complete rules in hint.
|
|
98645
100087
|
*/
|
|
98646
100088
|
tag?: string;
|
|
100089
|
+
/**
|
|
100090
|
+
* Precondition for publishing the draft: { revision } is the draft.revision from a read or update and must match the current draft; alternative to publishing from_run. The whole draft object a read returned may be sent back as is, and its other fields are ignored.
|
|
100091
|
+
*/
|
|
100092
|
+
draft?: {
|
|
100093
|
+
/**
|
|
100094
|
+
* Draft revision to publish: the draft.revision a read or update returned, which must equal the current draft revision; expected_draft_revision is its deprecated alias.
|
|
100095
|
+
*/
|
|
100096
|
+
revision: string;
|
|
100097
|
+
};
|
|
98647
100098
|
} | {
|
|
98648
100099
|
/**
|
|
98649
100100
|
* An exact canonical semantic version, such as 1.2.0 or 1.3.0-beta.1, not a range.
|
|
@@ -98672,14 +100123,14 @@ export type AutomationWorkflowsPublishData = {
|
|
|
98672
100123
|
/**
|
|
98673
100124
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
98674
100125
|
*/
|
|
98675
|
-
|
|
100126
|
+
namespace: string;
|
|
98676
100127
|
/**
|
|
98677
100128
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
98678
100129
|
*/
|
|
98679
100130
|
name: string;
|
|
98680
100131
|
};
|
|
98681
100132
|
query?: never;
|
|
98682
|
-
url: '/automation/v1/workflows/{
|
|
100133
|
+
url: '/automation/v1/workflows/{namespace}/{name}/versions';
|
|
98683
100134
|
};
|
|
98684
100135
|
export type AutomationWorkflowsPublishErrors = {
|
|
98685
100136
|
/**
|
|
@@ -98742,7 +100193,7 @@ export type AutomationWorkflowsVersionData = {
|
|
|
98742
100193
|
/**
|
|
98743
100194
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
98744
100195
|
*/
|
|
98745
|
-
|
|
100196
|
+
namespace: string;
|
|
98746
100197
|
/**
|
|
98747
100198
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
98748
100199
|
*/
|
|
@@ -98753,7 +100204,7 @@ export type AutomationWorkflowsVersionData = {
|
|
|
98753
100204
|
version: string;
|
|
98754
100205
|
};
|
|
98755
100206
|
query?: never;
|
|
98756
|
-
url: '/automation/v1/workflows/{
|
|
100207
|
+
url: '/automation/v1/workflows/{namespace}/{name}/versions/{version}';
|
|
98757
100208
|
};
|
|
98758
100209
|
export type AutomationWorkflowsVersionErrors = {
|
|
98759
100210
|
/**
|
|
@@ -98789,7 +100240,7 @@ export type AutomationWorkflowsDeprecateData = {
|
|
|
98789
100240
|
/**
|
|
98790
100241
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
98791
100242
|
*/
|
|
98792
|
-
|
|
100243
|
+
namespace: string;
|
|
98793
100244
|
/**
|
|
98794
100245
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
98795
100246
|
*/
|
|
@@ -98800,7 +100251,7 @@ export type AutomationWorkflowsDeprecateData = {
|
|
|
98800
100251
|
version: string;
|
|
98801
100252
|
};
|
|
98802
100253
|
query?: never;
|
|
98803
|
-
url: '/automation/v1/workflows/{
|
|
100254
|
+
url: '/automation/v1/workflows/{namespace}/{name}/versions/{version}/deprecate';
|
|
98804
100255
|
};
|
|
98805
100256
|
export type AutomationWorkflowsDeprecateErrors = {
|
|
98806
100257
|
/**
|
|
@@ -98843,14 +100294,14 @@ export type AutomationWorkflowsDistTagsData = {
|
|
|
98843
100294
|
/**
|
|
98844
100295
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
98845
100296
|
*/
|
|
98846
|
-
|
|
100297
|
+
namespace: string;
|
|
98847
100298
|
/**
|
|
98848
100299
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
98849
100300
|
*/
|
|
98850
100301
|
name: string;
|
|
98851
100302
|
};
|
|
98852
100303
|
query?: never;
|
|
98853
|
-
url: '/automation/v1/workflows/{
|
|
100304
|
+
url: '/automation/v1/workflows/{namespace}/{name}/dist-tags';
|
|
98854
100305
|
};
|
|
98855
100306
|
export type AutomationWorkflowsDistTagsErrors = {
|
|
98856
100307
|
/**
|
|
@@ -98882,7 +100333,7 @@ export type AutomationWorkflowsDeleteDistTagData = {
|
|
|
98882
100333
|
/**
|
|
98883
100334
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
98884
100335
|
*/
|
|
98885
|
-
|
|
100336
|
+
namespace: string;
|
|
98886
100337
|
/**
|
|
98887
100338
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
98888
100339
|
*/
|
|
@@ -98893,7 +100344,7 @@ export type AutomationWorkflowsDeleteDistTagData = {
|
|
|
98893
100344
|
tag: string;
|
|
98894
100345
|
};
|
|
98895
100346
|
query?: never;
|
|
98896
|
-
url: '/automation/v1/workflows/{
|
|
100347
|
+
url: '/automation/v1/workflows/{namespace}/{name}/dist-tags/{tag}';
|
|
98897
100348
|
};
|
|
98898
100349
|
export type AutomationWorkflowsDeleteDistTagErrors = {
|
|
98899
100350
|
/**
|
|
@@ -98943,7 +100394,7 @@ export type AutomationWorkflowsSetDistTagData = {
|
|
|
98943
100394
|
/**
|
|
98944
100395
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
98945
100396
|
*/
|
|
98946
|
-
|
|
100397
|
+
namespace: string;
|
|
98947
100398
|
/**
|
|
98948
100399
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
98949
100400
|
*/
|
|
@@ -98954,7 +100405,7 @@ export type AutomationWorkflowsSetDistTagData = {
|
|
|
98954
100405
|
tag: string;
|
|
98955
100406
|
};
|
|
98956
100407
|
query?: never;
|
|
98957
|
-
url: '/automation/v1/workflows/{
|
|
100408
|
+
url: '/automation/v1/workflows/{namespace}/{name}/dist-tags/{tag}';
|
|
98958
100409
|
};
|
|
98959
100410
|
export type AutomationWorkflowsSetDistTagErrors = {
|
|
98960
100411
|
/**
|
|
@@ -99181,7 +100632,7 @@ export type AutomationRunsListData = {
|
|
|
99181
100632
|
*/
|
|
99182
100633
|
channel?: Array<'console' | 'api' | 'internal' | 'run' | 'trigger'>;
|
|
99183
100634
|
/**
|
|
99184
|
-
* Root initiator type: user, api_key, agent or
|
|
100635
|
+
* 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
100636
|
*/
|
|
99186
100637
|
initiator_type?: Array<'user' | 'api_key' | 'agent' | 'trigger'>;
|
|
99187
100638
|
/**
|
|
@@ -99369,7 +100820,7 @@ export type AutomationRunsGetData = {
|
|
|
99369
100820
|
/**
|
|
99370
100821
|
* Run ID (run_).
|
|
99371
100822
|
*/
|
|
99372
|
-
|
|
100823
|
+
run_id: string;
|
|
99373
100824
|
};
|
|
99374
100825
|
query?: {
|
|
99375
100826
|
/**
|
|
@@ -99381,7 +100832,7 @@ export type AutomationRunsGetData = {
|
|
|
99381
100832
|
*/
|
|
99382
100833
|
wait?: number;
|
|
99383
100834
|
};
|
|
99384
|
-
url: '/automation/v1/runs/{
|
|
100835
|
+
url: '/automation/v1/runs/{run_id}';
|
|
99385
100836
|
};
|
|
99386
100837
|
export type AutomationRunsGetErrors = {
|
|
99387
100838
|
/**
|
|
@@ -99416,10 +100867,10 @@ export type AutomationRunsCancelData = {
|
|
|
99416
100867
|
/**
|
|
99417
100868
|
* Run ID (run_).
|
|
99418
100869
|
*/
|
|
99419
|
-
|
|
100870
|
+
run_id: string;
|
|
99420
100871
|
};
|
|
99421
100872
|
query?: never;
|
|
99422
|
-
url: '/automation/v1/runs/{
|
|
100873
|
+
url: '/automation/v1/runs/{run_id}/cancel';
|
|
99423
100874
|
};
|
|
99424
100875
|
export type AutomationRunsCancelErrors = {
|
|
99425
100876
|
/**
|
|
@@ -99464,10 +100915,10 @@ export type AutomationRunsRerunData = {
|
|
|
99464
100915
|
/**
|
|
99465
100916
|
* Run ID (run_).
|
|
99466
100917
|
*/
|
|
99467
|
-
|
|
100918
|
+
run_id: string;
|
|
99468
100919
|
};
|
|
99469
100920
|
query?: never;
|
|
99470
|
-
url: '/automation/v1/runs/{
|
|
100921
|
+
url: '/automation/v1/runs/{run_id}/rerun';
|
|
99471
100922
|
};
|
|
99472
100923
|
export type AutomationRunsRerunErrors = {
|
|
99473
100924
|
/**
|
|
@@ -99519,10 +100970,10 @@ export type AutomationRunsSuspendData = {
|
|
|
99519
100970
|
/**
|
|
99520
100971
|
* Run ID (run_).
|
|
99521
100972
|
*/
|
|
99522
|
-
|
|
100973
|
+
run_id: string;
|
|
99523
100974
|
};
|
|
99524
100975
|
query?: never;
|
|
99525
|
-
url: '/automation/v1/runs/{
|
|
100976
|
+
url: '/automation/v1/runs/{run_id}/suspend';
|
|
99526
100977
|
};
|
|
99527
100978
|
export type AutomationRunsSuspendErrors = {
|
|
99528
100979
|
/**
|
|
@@ -99557,10 +101008,10 @@ export type AutomationRunsResumeData = {
|
|
|
99557
101008
|
/**
|
|
99558
101009
|
* Run ID (run_).
|
|
99559
101010
|
*/
|
|
99560
|
-
|
|
101011
|
+
run_id: string;
|
|
99561
101012
|
};
|
|
99562
101013
|
query?: never;
|
|
99563
|
-
url: '/automation/v1/runs/{
|
|
101014
|
+
url: '/automation/v1/runs/{run_id}/resume';
|
|
99564
101015
|
};
|
|
99565
101016
|
export type AutomationRunsResumeErrors = {
|
|
99566
101017
|
/**
|
|
@@ -99595,7 +101046,7 @@ export type AutomationRunsWaitsData = {
|
|
|
99595
101046
|
/**
|
|
99596
101047
|
* Run ID (run_).
|
|
99597
101048
|
*/
|
|
99598
|
-
|
|
101049
|
+
run_id: string;
|
|
99599
101050
|
};
|
|
99600
101051
|
query?: {
|
|
99601
101052
|
/**
|
|
@@ -99607,7 +101058,7 @@ export type AutomationRunsWaitsData = {
|
|
|
99607
101058
|
*/
|
|
99608
101059
|
cursor?: string;
|
|
99609
101060
|
};
|
|
99610
|
-
url: '/automation/v1/runs/{
|
|
101061
|
+
url: '/automation/v1/runs/{run_id}/waits';
|
|
99611
101062
|
};
|
|
99612
101063
|
export type AutomationRunsWaitsErrors = {
|
|
99613
101064
|
/**
|
|
@@ -99646,7 +101097,7 @@ export type AutomationRunsCallsData = {
|
|
|
99646
101097
|
/**
|
|
99647
101098
|
* Run ID (run_).
|
|
99648
101099
|
*/
|
|
99649
|
-
|
|
101100
|
+
run_id: string;
|
|
99650
101101
|
};
|
|
99651
101102
|
query?: {
|
|
99652
101103
|
/**
|
|
@@ -99658,7 +101109,7 @@ export type AutomationRunsCallsData = {
|
|
|
99658
101109
|
*/
|
|
99659
101110
|
cursor?: string;
|
|
99660
101111
|
};
|
|
99661
|
-
url: '/automation/v1/runs/{
|
|
101112
|
+
url: '/automation/v1/runs/{run_id}/calls';
|
|
99662
101113
|
};
|
|
99663
101114
|
export type AutomationRunsCallsErrors = {
|
|
99664
101115
|
/**
|
|
@@ -99697,7 +101148,7 @@ export type AutomationRunsArtifactsData = {
|
|
|
99697
101148
|
/**
|
|
99698
101149
|
* Run ID (run_).
|
|
99699
101150
|
*/
|
|
99700
|
-
|
|
101151
|
+
run_id: string;
|
|
99701
101152
|
};
|
|
99702
101153
|
query?: {
|
|
99703
101154
|
/**
|
|
@@ -99709,7 +101160,7 @@ export type AutomationRunsArtifactsData = {
|
|
|
99709
101160
|
*/
|
|
99710
101161
|
cursor?: string;
|
|
99711
101162
|
};
|
|
99712
|
-
url: '/automation/v1/runs/{
|
|
101163
|
+
url: '/automation/v1/runs/{run_id}/artifacts';
|
|
99713
101164
|
};
|
|
99714
101165
|
export type AutomationRunsArtifactsErrors = {
|
|
99715
101166
|
/**
|
|
@@ -99757,14 +101208,14 @@ export type AutomationRunsCompleteWaitData = {
|
|
|
99757
101208
|
/**
|
|
99758
101209
|
* Run ID (run_).
|
|
99759
101210
|
*/
|
|
99760
|
-
|
|
101211
|
+
run_id: string;
|
|
99761
101212
|
/**
|
|
99762
101213
|
* Wait ID (wait_) belonging to this run.
|
|
99763
101214
|
*/
|
|
99764
101215
|
wait_id: string;
|
|
99765
101216
|
};
|
|
99766
101217
|
query?: never;
|
|
99767
|
-
url: '/automation/v1/runs/{
|
|
101218
|
+
url: '/automation/v1/runs/{run_id}/waits/{wait_id}/complete';
|
|
99768
101219
|
};
|
|
99769
101220
|
export type AutomationRunsCompleteWaitErrors = {
|
|
99770
101221
|
/**
|
|
@@ -99815,6 +101266,8 @@ export type AutomationRunsCompleteWaitResponses = {
|
|
|
99815
101266
|
kind: 'event' | 'timer' | 'child';
|
|
99816
101267
|
/**
|
|
99817
101268
|
* Wait state after the call. open is still waiting; resolved was satisfied; expired passed its deadline; cancelled was cancelled. A successfully submitted event leaves it resolved.
|
|
101269
|
+
*
|
|
101270
|
+
* @deprecated
|
|
99818
101271
|
*/
|
|
99819
101272
|
state: 'cancelled' | 'open' | 'resolved' | 'expired';
|
|
99820
101273
|
/**
|
|
@@ -99858,6 +101311,10 @@ export type AutomationRunsCompleteWaitResponses = {
|
|
|
99858
101311
|
* true when this was a repeated submission with the same id and payload, so the original result is returned instead of processing it again.
|
|
99859
101312
|
*/
|
|
99860
101313
|
replayed: boolean;
|
|
101314
|
+
/**
|
|
101315
|
+
* Wait state after the call. open is still waiting; resolved was satisfied; expired passed its deadline; cancelled was cancelled. A successfully submitted event leaves it resolved.
|
|
101316
|
+
*/
|
|
101317
|
+
status: 'cancelled' | 'open' | 'resolved' | 'expired';
|
|
99861
101318
|
};
|
|
99862
101319
|
};
|
|
99863
101320
|
export type AutomationRunsCompleteWaitResponse = AutomationRunsCompleteWaitResponses[keyof AutomationRunsCompleteWaitResponses];
|
|
@@ -99867,7 +101324,7 @@ export type AutomationRunsTasksData = {
|
|
|
99867
101324
|
/**
|
|
99868
101325
|
* Run ID (run_).
|
|
99869
101326
|
*/
|
|
99870
|
-
|
|
101327
|
+
run_id: string;
|
|
99871
101328
|
};
|
|
99872
101329
|
query?: {
|
|
99873
101330
|
/**
|
|
@@ -99887,7 +101344,7 @@ export type AutomationRunsTasksData = {
|
|
|
99887
101344
|
*/
|
|
99888
101345
|
group_by?: 'reference';
|
|
99889
101346
|
};
|
|
99890
|
-
url: '/automation/v1/runs/{
|
|
101347
|
+
url: '/automation/v1/runs/{run_id}/tasks';
|
|
99891
101348
|
};
|
|
99892
101349
|
export type AutomationRunsTasksErrors = {
|
|
99893
101350
|
/**
|
|
@@ -99936,7 +101393,7 @@ export type AutomationRunsEventsData = {
|
|
|
99936
101393
|
/**
|
|
99937
101394
|
* Run ID (run_).
|
|
99938
101395
|
*/
|
|
99939
|
-
|
|
101396
|
+
run_id: string;
|
|
99940
101397
|
};
|
|
99941
101398
|
query?: {
|
|
99942
101399
|
/**
|
|
@@ -99948,7 +101405,7 @@ export type AutomationRunsEventsData = {
|
|
|
99948
101405
|
*/
|
|
99949
101406
|
cursor?: string;
|
|
99950
101407
|
};
|
|
99951
|
-
url: '/automation/v1/runs/{
|
|
101408
|
+
url: '/automation/v1/runs/{run_id}/events';
|
|
99952
101409
|
};
|
|
99953
101410
|
export type AutomationRunsEventsErrors = {
|
|
99954
101411
|
/**
|
|
@@ -99997,7 +101454,7 @@ export type AutomationRunsLogsData = {
|
|
|
99997
101454
|
/**
|
|
99998
101455
|
* Run ID (run_).
|
|
99999
101456
|
*/
|
|
100000
|
-
|
|
101457
|
+
run_id: string;
|
|
100001
101458
|
};
|
|
100002
101459
|
query?: {
|
|
100003
101460
|
/**
|
|
@@ -100009,7 +101466,7 @@ export type AutomationRunsLogsData = {
|
|
|
100009
101466
|
*/
|
|
100010
101467
|
cursor?: string;
|
|
100011
101468
|
};
|
|
100012
|
-
url: '/automation/v1/runs/{
|
|
101469
|
+
url: '/automation/v1/runs/{run_id}/logs';
|
|
100013
101470
|
};
|
|
100014
101471
|
export type AutomationRunsLogsErrors = {
|
|
100015
101472
|
/**
|
|
@@ -100048,10 +101505,10 @@ export type AutomationRunsSourceData = {
|
|
|
100048
101505
|
/**
|
|
100049
101506
|
* Run ID (run_).
|
|
100050
101507
|
*/
|
|
100051
|
-
|
|
101508
|
+
run_id: string;
|
|
100052
101509
|
};
|
|
100053
101510
|
query?: never;
|
|
100054
|
-
url: '/automation/v1/runs/{
|
|
101511
|
+
url: '/automation/v1/runs/{run_id}/source';
|
|
100055
101512
|
};
|
|
100056
101513
|
export type AutomationRunsSourceErrors = {
|
|
100057
101514
|
/**
|
|
@@ -100106,7 +101563,9 @@ export type AutomationTriggersListData = {
|
|
|
100106
101563
|
*/
|
|
100107
101564
|
kind?: Array<'schedule' | 'webhook'>;
|
|
100108
101565
|
/**
|
|
100109
|
-
* Trigger state: enabled, paused or expired; omit for all. Separate multiple values with commas to match any value.
|
|
101566
|
+
* Deprecated, use status. Trigger state: enabled, paused or expired; omit for all. Separate multiple values with commas to match any value.
|
|
101567
|
+
*
|
|
101568
|
+
* @deprecated
|
|
100110
101569
|
*/
|
|
100111
101570
|
state?: Array<AutomationTriggerState>;
|
|
100112
101571
|
/**
|
|
@@ -100123,6 +101582,10 @@ export type AutomationTriggersListData = {
|
|
|
100123
101582
|
* Inclusive creation-time upper bound, as an ISO 8601 timestamp with timezone.
|
|
100124
101583
|
*/
|
|
100125
101584
|
'created_at[lte]'?: string;
|
|
101585
|
+
/**
|
|
101586
|
+
* Trigger status: enabled, paused or expired; omit for all. Separate multiple values with commas to match any value. Giving it together with a different state returns 400.
|
|
101587
|
+
*/
|
|
101588
|
+
status?: Array<AutomationTriggerState>;
|
|
100126
101589
|
};
|
|
100127
101590
|
url: '/automation/v1/triggers';
|
|
100128
101591
|
};
|
|
@@ -100288,10 +101751,10 @@ export type AutomationTriggersDeleteData = {
|
|
|
100288
101751
|
/**
|
|
100289
101752
|
* Trigger ID (trg_).
|
|
100290
101753
|
*/
|
|
100291
|
-
|
|
101754
|
+
trigger_id: string;
|
|
100292
101755
|
};
|
|
100293
101756
|
query?: never;
|
|
100294
|
-
url: '/automation/v1/triggers/{
|
|
101757
|
+
url: '/automation/v1/triggers/{trigger_id}';
|
|
100295
101758
|
};
|
|
100296
101759
|
export type AutomationTriggersDeleteErrors = {
|
|
100297
101760
|
/**
|
|
@@ -100325,10 +101788,10 @@ export type AutomationTriggersGetData = {
|
|
|
100325
101788
|
/**
|
|
100326
101789
|
* Trigger ID (trg_).
|
|
100327
101790
|
*/
|
|
100328
|
-
|
|
101791
|
+
trigger_id: string;
|
|
100329
101792
|
};
|
|
100330
101793
|
query?: never;
|
|
100331
|
-
url: '/automation/v1/triggers/{
|
|
101794
|
+
url: '/automation/v1/triggers/{trigger_id}';
|
|
100332
101795
|
};
|
|
100333
101796
|
export type AutomationTriggersGetErrors = {
|
|
100334
101797
|
/**
|
|
@@ -100436,10 +101899,10 @@ export type AutomationTriggersPatchData = {
|
|
|
100436
101899
|
/**
|
|
100437
101900
|
* Trigger ID (trg_).
|
|
100438
101901
|
*/
|
|
100439
|
-
|
|
101902
|
+
trigger_id: string;
|
|
100440
101903
|
};
|
|
100441
101904
|
query?: never;
|
|
100442
|
-
url: '/automation/v1/triggers/{
|
|
101905
|
+
url: '/automation/v1/triggers/{trigger_id}';
|
|
100443
101906
|
};
|
|
100444
101907
|
export type AutomationTriggersPatchErrors = {
|
|
100445
101908
|
/**
|
|
@@ -100492,10 +101955,10 @@ export type AutomationTriggersPauseData = {
|
|
|
100492
101955
|
/**
|
|
100493
101956
|
* Trigger ID (trg_).
|
|
100494
101957
|
*/
|
|
100495
|
-
|
|
101958
|
+
trigger_id: string;
|
|
100496
101959
|
};
|
|
100497
101960
|
query?: never;
|
|
100498
|
-
url: '/automation/v1/triggers/{
|
|
101961
|
+
url: '/automation/v1/triggers/{trigger_id}/pause';
|
|
100499
101962
|
};
|
|
100500
101963
|
export type AutomationTriggersPauseErrors = {
|
|
100501
101964
|
/**
|
|
@@ -100529,10 +101992,10 @@ export type AutomationTriggersResumeData = {
|
|
|
100529
101992
|
/**
|
|
100530
101993
|
* Trigger ID (trg_).
|
|
100531
101994
|
*/
|
|
100532
|
-
|
|
101995
|
+
trigger_id: string;
|
|
100533
101996
|
};
|
|
100534
101997
|
query?: never;
|
|
100535
|
-
url: '/automation/v1/triggers/{
|
|
101998
|
+
url: '/automation/v1/triggers/{trigger_id}/resume';
|
|
100536
101999
|
};
|
|
100537
102000
|
export type AutomationTriggersResumeErrors = {
|
|
100538
102001
|
/**
|
|
@@ -100576,10 +102039,10 @@ export type AutomationTriggersFireData = {
|
|
|
100576
102039
|
/**
|
|
100577
102040
|
* Trigger ID (trg_).
|
|
100578
102041
|
*/
|
|
100579
|
-
|
|
102042
|
+
trigger_id: string;
|
|
100580
102043
|
};
|
|
100581
102044
|
query?: never;
|
|
100582
|
-
url: '/automation/v1/triggers/{
|
|
102045
|
+
url: '/automation/v1/triggers/{trigger_id}/fire';
|
|
100583
102046
|
};
|
|
100584
102047
|
export type AutomationTriggersFireErrors = {
|
|
100585
102048
|
/**
|
|
@@ -100622,10 +102085,10 @@ export type AutomationTriggersRotateWebhookData = {
|
|
|
100622
102085
|
/**
|
|
100623
102086
|
* Trigger ID (trg_).
|
|
100624
102087
|
*/
|
|
100625
|
-
|
|
102088
|
+
trigger_id: string;
|
|
100626
102089
|
};
|
|
100627
102090
|
query?: never;
|
|
100628
|
-
url: '/automation/v1/triggers/{
|
|
102091
|
+
url: '/automation/v1/triggers/{trigger_id}/rotate-webhook';
|
|
100629
102092
|
};
|
|
100630
102093
|
export type AutomationTriggersRotateWebhookErrors = {
|
|
100631
102094
|
/**
|
|
@@ -100655,7 +102118,7 @@ export type AutomationTriggersFiringsData = {
|
|
|
100655
102118
|
/**
|
|
100656
102119
|
* Trigger ID (trg_).
|
|
100657
102120
|
*/
|
|
100658
|
-
|
|
102121
|
+
trigger_id: string;
|
|
100659
102122
|
};
|
|
100660
102123
|
query?: {
|
|
100661
102124
|
/**
|
|
@@ -100675,7 +102138,7 @@ export type AutomationTriggersFiringsData = {
|
|
|
100675
102138
|
*/
|
|
100676
102139
|
run_id?: string;
|
|
100677
102140
|
};
|
|
100678
|
-
url: '/automation/v1/triggers/{
|
|
102141
|
+
url: '/automation/v1/triggers/{trigger_id}/firings';
|
|
100679
102142
|
};
|
|
100680
102143
|
export type AutomationTriggersFiringsErrors = {
|
|
100681
102144
|
/**
|
|
@@ -100881,10 +102344,10 @@ export type AutomationHumanTasksGetData = {
|
|
|
100881
102344
|
/**
|
|
100882
102345
|
* Human task ID (htask_), from the list or the run's waits.
|
|
100883
102346
|
*/
|
|
100884
|
-
|
|
102347
|
+
task_id: string;
|
|
100885
102348
|
};
|
|
100886
102349
|
query?: never;
|
|
100887
|
-
url: '/automation/v1/human-tasks/{
|
|
102350
|
+
url: '/automation/v1/human-tasks/{task_id}';
|
|
100888
102351
|
};
|
|
100889
102352
|
export type AutomationHumanTasksGetErrors = {
|
|
100890
102353
|
/**
|
|
@@ -100920,10 +102383,10 @@ export type AutomationHumanTasksRespondData = {
|
|
|
100920
102383
|
/**
|
|
100921
102384
|
* Human task ID (htask_).
|
|
100922
102385
|
*/
|
|
100923
|
-
|
|
102386
|
+
task_id: string;
|
|
100924
102387
|
};
|
|
100925
102388
|
query?: never;
|
|
100926
|
-
url: '/automation/v1/human-tasks/{
|
|
102389
|
+
url: '/automation/v1/human-tasks/{task_id}/respond';
|
|
100927
102390
|
};
|
|
100928
102391
|
export type AutomationHumanTasksRespondErrors = {
|
|
100929
102392
|
/**
|
|
@@ -100978,10 +102441,10 @@ export type AutomationHumanTasksCancelData = {
|
|
|
100978
102441
|
/**
|
|
100979
102442
|
* Human task ID (htask_).
|
|
100980
102443
|
*/
|
|
100981
|
-
|
|
102444
|
+
task_id: string;
|
|
100982
102445
|
};
|
|
100983
102446
|
query?: never;
|
|
100984
|
-
url: '/automation/v1/human-tasks/{
|
|
102447
|
+
url: '/automation/v1/human-tasks/{task_id}/cancel';
|
|
100985
102448
|
};
|
|
100986
102449
|
export type AutomationHumanTasksCancelErrors = {
|
|
100987
102450
|
/**
|
|
@@ -101024,10 +102487,10 @@ export type AutomationHumanTasksDelegateData = {
|
|
|
101024
102487
|
/**
|
|
101025
102488
|
* Human task ID (htask_).
|
|
101026
102489
|
*/
|
|
101027
|
-
|
|
102490
|
+
task_id: string;
|
|
101028
102491
|
};
|
|
101029
102492
|
query?: never;
|
|
101030
|
-
url: '/automation/v1/human-tasks/{
|
|
102493
|
+
url: '/automation/v1/human-tasks/{task_id}/delegate';
|
|
101031
102494
|
};
|
|
101032
102495
|
export type AutomationHumanTasksDelegateErrors = {
|
|
101033
102496
|
/**
|
|
@@ -101068,14 +102531,14 @@ export type AutomationScriptsVaultsListData = {
|
|
|
101068
102531
|
/**
|
|
101069
102532
|
* Namespace from automation.scripts.list or create; identifies the saved script, independently of versions.
|
|
101070
102533
|
*/
|
|
101071
|
-
|
|
102534
|
+
namespace: string;
|
|
101072
102535
|
/**
|
|
101073
102536
|
* Resource name from automation.scripts.list or create; combine with ns to identify the saved script.
|
|
101074
102537
|
*/
|
|
101075
102538
|
name: string;
|
|
101076
102539
|
};
|
|
101077
102540
|
query?: never;
|
|
101078
|
-
url: '/automation/v1/scripts/{
|
|
102541
|
+
url: '/automation/v1/scripts/{namespace}/{name}/vaults';
|
|
101079
102542
|
};
|
|
101080
102543
|
export type AutomationScriptsVaultsListErrors = {
|
|
101081
102544
|
/**
|
|
@@ -101141,7 +102604,7 @@ export type AutomationScriptsVaultsDeleteData = {
|
|
|
101141
102604
|
/**
|
|
101142
102605
|
* Namespace from automation.scripts.list or create; identifies the saved script, independently of versions.
|
|
101143
102606
|
*/
|
|
101144
|
-
|
|
102607
|
+
namespace: string;
|
|
101145
102608
|
/**
|
|
101146
102609
|
* Resource name from automation.scripts.list or create; combine with ns to identify the saved script.
|
|
101147
102610
|
*/
|
|
@@ -101152,7 +102615,7 @@ export type AutomationScriptsVaultsDeleteData = {
|
|
|
101152
102615
|
alias: string;
|
|
101153
102616
|
};
|
|
101154
102617
|
query?: never;
|
|
101155
|
-
url: '/automation/v1/scripts/{
|
|
102618
|
+
url: '/automation/v1/scripts/{namespace}/{name}/vaults/{alias}';
|
|
101156
102619
|
};
|
|
101157
102620
|
export type AutomationScriptsVaultsDeleteErrors = {
|
|
101158
102621
|
/**
|
|
@@ -101187,7 +102650,7 @@ export type AutomationScriptsVaultsSetData = {
|
|
|
101187
102650
|
/**
|
|
101188
102651
|
* Namespace from automation.scripts.list or create; identifies the saved script, independently of versions.
|
|
101189
102652
|
*/
|
|
101190
|
-
|
|
102653
|
+
namespace: string;
|
|
101191
102654
|
/**
|
|
101192
102655
|
* Resource name from automation.scripts.list or create; combine with ns to identify the saved script.
|
|
101193
102656
|
*/
|
|
@@ -101198,7 +102661,7 @@ export type AutomationScriptsVaultsSetData = {
|
|
|
101198
102661
|
alias: string;
|
|
101199
102662
|
};
|
|
101200
102663
|
query?: never;
|
|
101201
|
-
url: '/automation/v1/scripts/{
|
|
102664
|
+
url: '/automation/v1/scripts/{namespace}/{name}/vaults/{alias}';
|
|
101202
102665
|
};
|
|
101203
102666
|
export type AutomationScriptsVaultsSetErrors = {
|
|
101204
102667
|
/**
|
|
@@ -101268,14 +102731,14 @@ export type AutomationWorkflowsVaultsListData = {
|
|
|
101268
102731
|
/**
|
|
101269
102732
|
* Namespace from automation.workflows.list or create; identifies the saved workflow, independently of versions.
|
|
101270
102733
|
*/
|
|
101271
|
-
|
|
102734
|
+
namespace: string;
|
|
101272
102735
|
/**
|
|
101273
102736
|
* Resource name from automation.workflows.list or create; combine with ns to identify the saved workflow.
|
|
101274
102737
|
*/
|
|
101275
102738
|
name: string;
|
|
101276
102739
|
};
|
|
101277
102740
|
query?: never;
|
|
101278
|
-
url: '/automation/v1/workflows/{
|
|
102741
|
+
url: '/automation/v1/workflows/{namespace}/{name}/vaults';
|
|
101279
102742
|
};
|
|
101280
102743
|
export type AutomationWorkflowsVaultsListErrors = {
|
|
101281
102744
|
/**
|
|
@@ -101341,7 +102804,7 @@ export type AutomationWorkflowsVaultsDeleteData = {
|
|
|
101341
102804
|
/**
|
|
101342
102805
|
* Namespace from automation.workflows.list or create; identifies the saved workflow, independently of versions.
|
|
101343
102806
|
*/
|
|
101344
|
-
|
|
102807
|
+
namespace: string;
|
|
101345
102808
|
/**
|
|
101346
102809
|
* Resource name from automation.workflows.list or create; combine with ns to identify the saved workflow.
|
|
101347
102810
|
*/
|
|
@@ -101352,7 +102815,7 @@ export type AutomationWorkflowsVaultsDeleteData = {
|
|
|
101352
102815
|
alias: string;
|
|
101353
102816
|
};
|
|
101354
102817
|
query?: never;
|
|
101355
|
-
url: '/automation/v1/workflows/{
|
|
102818
|
+
url: '/automation/v1/workflows/{namespace}/{name}/vaults/{alias}';
|
|
101356
102819
|
};
|
|
101357
102820
|
export type AutomationWorkflowsVaultsDeleteErrors = {
|
|
101358
102821
|
/**
|
|
@@ -101387,7 +102850,7 @@ export type AutomationWorkflowsVaultsSetData = {
|
|
|
101387
102850
|
/**
|
|
101388
102851
|
* Namespace from automation.workflows.list or create; identifies the saved workflow, independently of versions.
|
|
101389
102852
|
*/
|
|
101390
|
-
|
|
102853
|
+
namespace: string;
|
|
101391
102854
|
/**
|
|
101392
102855
|
* Resource name from automation.workflows.list or create; combine with ns to identify the saved workflow.
|
|
101393
102856
|
*/
|
|
@@ -101398,7 +102861,7 @@ export type AutomationWorkflowsVaultsSetData = {
|
|
|
101398
102861
|
alias: string;
|
|
101399
102862
|
};
|
|
101400
102863
|
query?: never;
|
|
101401
|
-
url: '/automation/v1/workflows/{
|
|
102864
|
+
url: '/automation/v1/workflows/{namespace}/{name}/vaults/{alias}';
|
|
101402
102865
|
};
|
|
101403
102866
|
export type AutomationWorkflowsVaultsSetErrors = {
|
|
101404
102867
|
/**
|
|
@@ -113729,7 +115192,7 @@ export type DevopsUnitsPushErrors = {
|
|
|
113729
115192
|
*/
|
|
113730
115193
|
404: DevopsDevOpsError;
|
|
113731
115194
|
/**
|
|
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
|
|
115195
|
+
* 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
115196
|
*/
|
|
113734
115197
|
409: DevopsDevOpsError;
|
|
113735
115198
|
/**
|
|
@@ -118832,45 +120295,509 @@ export type MediaListUnderstandingsByLibraryErrors = {
|
|
|
118832
120295
|
*/
|
|
118833
120296
|
503: MediaMediaError;
|
|
118834
120297
|
};
|
|
118835
|
-
export type MediaListUnderstandingsByLibraryError = MediaListUnderstandingsByLibraryErrors[keyof MediaListUnderstandingsByLibraryErrors];
|
|
118836
|
-
export type MediaListUnderstandingsByLibraryResponses = {
|
|
120298
|
+
export type MediaListUnderstandingsByLibraryError = MediaListUnderstandingsByLibraryErrors[keyof MediaListUnderstandingsByLibraryErrors];
|
|
120299
|
+
export type MediaListUnderstandingsByLibraryResponses = {
|
|
120300
|
+
/**
|
|
120301
|
+
* Successful response.
|
|
120302
|
+
*/
|
|
120303
|
+
200: MediaUnderstandingPage;
|
|
120304
|
+
};
|
|
120305
|
+
export type MediaListUnderstandingsByLibraryResponse = MediaListUnderstandingsByLibraryResponses[keyof MediaListUnderstandingsByLibraryResponses];
|
|
120306
|
+
export type MediaListJobsData = {
|
|
120307
|
+
body?: never;
|
|
120308
|
+
path: {
|
|
120309
|
+
/**
|
|
120310
|
+
* Library ID returned by creation.
|
|
120311
|
+
*/
|
|
120312
|
+
library_id: string;
|
|
120313
|
+
};
|
|
120314
|
+
query?: {
|
|
120315
|
+
/**
|
|
120316
|
+
* Filter jobs by their current status.
|
|
120317
|
+
*/
|
|
120318
|
+
status?: MediaJobStatus;
|
|
120319
|
+
/**
|
|
120320
|
+
* Return only the jobs started by this automation run (its root run), so one pipeline run reads as one batch.
|
|
120321
|
+
*/
|
|
120322
|
+
pipeline_run_id?: string;
|
|
120323
|
+
/**
|
|
120324
|
+
* Maximum entries in this page, from 1 through 100; defaults to 100.
|
|
120325
|
+
*/
|
|
120326
|
+
limit?: number;
|
|
120327
|
+
/**
|
|
120328
|
+
* Job id from the previous page’s next_cursor; omit for the first page.
|
|
120329
|
+
*/
|
|
120330
|
+
cursor?: MediaJobId;
|
|
120331
|
+
};
|
|
120332
|
+
url: '/media/v1/libraries/{library_id}/jobs';
|
|
120333
|
+
};
|
|
120334
|
+
export type MediaListJobsErrors = {
|
|
120335
|
+
/**
|
|
120336
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
120337
|
+
*/
|
|
120338
|
+
400: MediaMediaError;
|
|
120339
|
+
/**
|
|
120340
|
+
* Request failed; see the error code reference.
|
|
120341
|
+
*/
|
|
120342
|
+
402: MediaMediaError;
|
|
120343
|
+
/**
|
|
120344
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
120345
|
+
*/
|
|
120346
|
+
403: MediaMediaError;
|
|
120347
|
+
/**
|
|
120348
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
120349
|
+
*/
|
|
120350
|
+
404: MediaMediaError;
|
|
120351
|
+
/**
|
|
120352
|
+
* Request failed; see the error code reference.
|
|
120353
|
+
*/
|
|
120354
|
+
409: MediaMediaError;
|
|
120355
|
+
/**
|
|
120356
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
120357
|
+
*/
|
|
120358
|
+
413: MediaMediaError;
|
|
120359
|
+
/**
|
|
120360
|
+
* This media format is unsupported; provide a supported format.
|
|
120361
|
+
*/
|
|
120362
|
+
415: MediaMediaError;
|
|
120363
|
+
/**
|
|
120364
|
+
* Request failed; see the error code reference.
|
|
120365
|
+
*/
|
|
120366
|
+
422: MediaMediaError;
|
|
120367
|
+
/**
|
|
120368
|
+
* A rate limit was reached; wait before retrying.
|
|
120369
|
+
*/
|
|
120370
|
+
429: MediaMediaError;
|
|
120371
|
+
/**
|
|
120372
|
+
* The requested operation is unsupported; choose a supported method.
|
|
120373
|
+
*/
|
|
120374
|
+
501: MediaMediaError;
|
|
120375
|
+
/**
|
|
120376
|
+
* Request failed; see the error code reference.
|
|
120377
|
+
*/
|
|
120378
|
+
502: MediaMediaError;
|
|
120379
|
+
/**
|
|
120380
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
120381
|
+
*/
|
|
120382
|
+
503: MediaMediaError;
|
|
120383
|
+
};
|
|
120384
|
+
export type MediaListJobsError = MediaListJobsErrors[keyof MediaListJobsErrors];
|
|
120385
|
+
export type MediaListJobsResponses = {
|
|
120386
|
+
/**
|
|
120387
|
+
* Successful response.
|
|
120388
|
+
*/
|
|
120389
|
+
200: MediaJobPage;
|
|
120390
|
+
};
|
|
120391
|
+
export type MediaListJobsResponse = MediaListJobsResponses[keyof MediaListJobsResponses];
|
|
120392
|
+
export type MediaCancelJobData = {
|
|
120393
|
+
body?: never;
|
|
120394
|
+
path: {
|
|
120395
|
+
/**
|
|
120396
|
+
* Library ID returned by creation.
|
|
120397
|
+
*/
|
|
120398
|
+
library_id: string;
|
|
120399
|
+
/**
|
|
120400
|
+
* Job identifier returned by batch or generation creation; the job is resolved within the specified library.
|
|
120401
|
+
*/
|
|
120402
|
+
job_id: string;
|
|
120403
|
+
};
|
|
120404
|
+
query?: never;
|
|
120405
|
+
url: '/media/v1/libraries/{library_id}/jobs/{job_id}/cancel';
|
|
120406
|
+
};
|
|
120407
|
+
export type MediaCancelJobErrors = {
|
|
120408
|
+
/**
|
|
120409
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
120410
|
+
*/
|
|
120411
|
+
400: MediaMediaError;
|
|
120412
|
+
/**
|
|
120413
|
+
* Request failed; see the error code reference.
|
|
120414
|
+
*/
|
|
120415
|
+
402: MediaMediaError;
|
|
120416
|
+
/**
|
|
120417
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
120418
|
+
*/
|
|
120419
|
+
403: MediaMediaError;
|
|
120420
|
+
/**
|
|
120421
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
120422
|
+
*/
|
|
120423
|
+
404: MediaMediaError;
|
|
120424
|
+
/**
|
|
120425
|
+
* Request failed; see the error code reference.
|
|
120426
|
+
*/
|
|
120427
|
+
409: MediaMediaError;
|
|
120428
|
+
/**
|
|
120429
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
120430
|
+
*/
|
|
120431
|
+
413: MediaMediaError;
|
|
120432
|
+
/**
|
|
120433
|
+
* This media format is unsupported; provide a supported format.
|
|
120434
|
+
*/
|
|
120435
|
+
415: MediaMediaError;
|
|
120436
|
+
/**
|
|
120437
|
+
* Request failed; see the error code reference.
|
|
120438
|
+
*/
|
|
120439
|
+
422: MediaMediaError;
|
|
120440
|
+
/**
|
|
120441
|
+
* A rate limit was reached; wait before retrying.
|
|
120442
|
+
*/
|
|
120443
|
+
429: MediaMediaError;
|
|
120444
|
+
/**
|
|
120445
|
+
* The requested operation is unsupported; choose a supported method.
|
|
120446
|
+
*/
|
|
120447
|
+
501: MediaMediaError;
|
|
120448
|
+
/**
|
|
120449
|
+
* Request failed; see the error code reference.
|
|
120450
|
+
*/
|
|
120451
|
+
502: MediaMediaError;
|
|
120452
|
+
/**
|
|
120453
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
120454
|
+
*/
|
|
120455
|
+
503: MediaMediaError;
|
|
120456
|
+
};
|
|
120457
|
+
export type MediaCancelJobError = MediaCancelJobErrors[keyof MediaCancelJobErrors];
|
|
120458
|
+
export type MediaCancelJobResponses = {
|
|
120459
|
+
/**
|
|
120460
|
+
* Successful response.
|
|
120461
|
+
*/
|
|
120462
|
+
200: MediaJob;
|
|
120463
|
+
};
|
|
120464
|
+
export type MediaCancelJobResponse = MediaCancelJobResponses[keyof MediaCancelJobResponses];
|
|
120465
|
+
export type MediaGetGenerationCapabilitiesData = {
|
|
120466
|
+
body?: never;
|
|
120467
|
+
path?: never;
|
|
120468
|
+
query?: never;
|
|
120469
|
+
url: '/media/v1/generation/capabilities';
|
|
120470
|
+
};
|
|
120471
|
+
export type MediaGetGenerationCapabilitiesErrors = {
|
|
120472
|
+
/**
|
|
120473
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
120474
|
+
*/
|
|
120475
|
+
400: MediaMediaError;
|
|
120476
|
+
/**
|
|
120477
|
+
* Request failed; see the error code reference.
|
|
120478
|
+
*/
|
|
120479
|
+
402: MediaMediaError;
|
|
120480
|
+
/**
|
|
120481
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
120482
|
+
*/
|
|
120483
|
+
403: MediaMediaError;
|
|
120484
|
+
/**
|
|
120485
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
120486
|
+
*/
|
|
120487
|
+
404: MediaMediaError;
|
|
120488
|
+
/**
|
|
120489
|
+
* Request failed; see the error code reference.
|
|
120490
|
+
*/
|
|
120491
|
+
409: MediaMediaError;
|
|
120492
|
+
/**
|
|
120493
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
120494
|
+
*/
|
|
120495
|
+
413: MediaMediaError;
|
|
120496
|
+
/**
|
|
120497
|
+
* This media format is unsupported; provide a supported format.
|
|
120498
|
+
*/
|
|
120499
|
+
415: MediaMediaError;
|
|
120500
|
+
/**
|
|
120501
|
+
* Request failed; see the error code reference.
|
|
120502
|
+
*/
|
|
120503
|
+
422: MediaMediaError;
|
|
120504
|
+
/**
|
|
120505
|
+
* A rate limit was reached; wait before retrying.
|
|
120506
|
+
*/
|
|
120507
|
+
429: MediaMediaError;
|
|
120508
|
+
/**
|
|
120509
|
+
* The requested operation is unsupported; choose a supported method.
|
|
120510
|
+
*/
|
|
120511
|
+
501: MediaMediaError;
|
|
120512
|
+
/**
|
|
120513
|
+
* Request failed; see the error code reference.
|
|
120514
|
+
*/
|
|
120515
|
+
502: MediaMediaError;
|
|
120516
|
+
/**
|
|
120517
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
120518
|
+
*/
|
|
120519
|
+
503: MediaMediaError;
|
|
120520
|
+
};
|
|
120521
|
+
export type MediaGetGenerationCapabilitiesError = MediaGetGenerationCapabilitiesErrors[keyof MediaGetGenerationCapabilitiesErrors];
|
|
120522
|
+
export type MediaGetGenerationCapabilitiesResponses = {
|
|
120523
|
+
/**
|
|
120524
|
+
* Successful response.
|
|
120525
|
+
*/
|
|
120526
|
+
200: MediaGenerationCapabilities;
|
|
120527
|
+
};
|
|
120528
|
+
export type MediaGetGenerationCapabilitiesResponse = MediaGetGenerationCapabilitiesResponses[keyof MediaGetGenerationCapabilitiesResponses];
|
|
120529
|
+
export type MediaAlignAssetData = {
|
|
120530
|
+
/**
|
|
120531
|
+
* Align two recordings by their sound. The route names the source asset; this body names the reference to align against it. The result is an analysis, not a new asset: nothing is stored, the source is never changed, and the completed job carries the answer in result.
|
|
120532
|
+
*/
|
|
120533
|
+
body: {
|
|
120534
|
+
/**
|
|
120535
|
+
* Asset to align against the one the route names. It must be an audio or video asset of the same library, otherwise the request is refused with REFERENCE_TYPE_MISMATCH before a job exists.
|
|
120536
|
+
*/
|
|
120537
|
+
reference_asset_id: string;
|
|
120538
|
+
/**
|
|
120539
|
+
* Largest offset to search for, in seconds; omit it to let the model search its full range. Zero and negative values are refused with INVALID_PARAMS.
|
|
120540
|
+
*/
|
|
120541
|
+
max_offset_seconds?: number;
|
|
120542
|
+
/**
|
|
120543
|
+
* Stable key so a retried request reuses the same job instead of analysing and charging again; reusing it with different content is rejected.
|
|
120544
|
+
*/
|
|
120545
|
+
idempotency_key?: string;
|
|
120546
|
+
};
|
|
120547
|
+
headers?: {
|
|
120548
|
+
/**
|
|
120549
|
+
* Stable key for retrying the same request without creating or charging for another job; reusing it with different request content is rejected. Send it here or as idempotency_key in the body, never both with different values.
|
|
120550
|
+
*/
|
|
120551
|
+
'Idempotency-Key'?: string;
|
|
120552
|
+
};
|
|
120553
|
+
path: {
|
|
120554
|
+
/**
|
|
120555
|
+
* Library ID returned by creation.
|
|
120556
|
+
*/
|
|
120557
|
+
library_id: string;
|
|
120558
|
+
/**
|
|
120559
|
+
* 32-character asset ID.
|
|
120560
|
+
*/
|
|
120561
|
+
asset_id: string;
|
|
120562
|
+
};
|
|
120563
|
+
query?: never;
|
|
120564
|
+
url: '/media/v1/libraries/{library_id}/assets/{asset_id}/align';
|
|
120565
|
+
};
|
|
120566
|
+
export type MediaAlignAssetErrors = {
|
|
120567
|
+
/**
|
|
120568
|
+
* REFERENCE_TYPE_MISMATCH: the source asset or the reference asset is not an audio or video asset; both must be one of the two. INVALID_PARAMS: reference_asset_id is missing, max_offset_seconds is zero or negative, or the request names an alignment model the generation capabilities do not offer. OPERATION_NOT_SUPPORTED: the platform has published no alignment model, so the request is refused with the model field named. Correct the reported field; nothing was analysed and nothing was charged.
|
|
120569
|
+
*/
|
|
120570
|
+
400: MediaMediaError;
|
|
120571
|
+
/**
|
|
120572
|
+
* INSUFFICIENT_BALANCE: the organization balance cannot cover the estimated cost of this generation or edit; top up and resubmit. Nothing was generated and nothing was charged for this request.
|
|
120573
|
+
*/
|
|
120574
|
+
402: MediaMediaError;
|
|
120575
|
+
/**
|
|
120576
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
120577
|
+
*/
|
|
120578
|
+
403: MediaMediaError;
|
|
120579
|
+
/**
|
|
120580
|
+
* ASSET_NOT_FOUND: the source or the reference asset is missing, deleted or belongs to another library, or the addressed library was not found; verify the identifiers with libraries and assets. A reference asset that cannot be reached answers the same way, never as a hint that it exists elsewhere.
|
|
120581
|
+
*/
|
|
120582
|
+
404: MediaMediaError;
|
|
120583
|
+
/**
|
|
120584
|
+
* MODEL_PENDING or JOB_INVALID_STATE: the chosen model is not ready for this library, or the job cannot start from its current state; wait for the model to become available, or start a new job rather than resuming this one.
|
|
120585
|
+
*/
|
|
120586
|
+
409: MediaMediaError;
|
|
120587
|
+
/**
|
|
120588
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
120589
|
+
*/
|
|
120590
|
+
413: MediaMediaError;
|
|
120591
|
+
/**
|
|
120592
|
+
* This media format is unsupported; provide a supported format.
|
|
120593
|
+
*/
|
|
120594
|
+
415: MediaMediaError;
|
|
120595
|
+
/**
|
|
120596
|
+
* CONTENT_REJECTED: the provider refused the prompt or the source image under its content policy; change the prompt or the source before retrying. Nothing was generated and nothing was charged.
|
|
120597
|
+
*/
|
|
120598
|
+
422: MediaMediaError;
|
|
120599
|
+
/**
|
|
120600
|
+
* RATE_LIMITED: this library already has its maximum number of running jobs of this type and 50 more waiting, or the provider is throttling requests; Retry-After gives the seconds to wait before retrying. Below that a job past the running limit is accepted and waits (queue_reason concurrency) instead of being refused.
|
|
120601
|
+
*/
|
|
120602
|
+
429: MediaMediaError;
|
|
120603
|
+
/**
|
|
120604
|
+
* The requested operation is unsupported; choose a supported method.
|
|
120605
|
+
*/
|
|
120606
|
+
501: MediaMediaError;
|
|
120607
|
+
/**
|
|
120608
|
+
* Request failed; see the error code reference.
|
|
120609
|
+
*/
|
|
120610
|
+
502: MediaMediaError;
|
|
120611
|
+
/**
|
|
120612
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
120613
|
+
*/
|
|
120614
|
+
503: MediaMediaError;
|
|
120615
|
+
};
|
|
120616
|
+
export type MediaAlignAssetError = MediaAlignAssetErrors[keyof MediaAlignAssetErrors];
|
|
120617
|
+
export type MediaAlignAssetResponses = {
|
|
120618
|
+
/**
|
|
120619
|
+
* The alignment job is queued. Poll GET /media/v1/libraries/{library_id}/jobs/{job_id} until its status is completed or failed; a completed job carries the answer in result as offset_seconds and confidence, so a caller holding both recordings knows which one to slide. No asset is stored and nothing is overwritten. An alignment with the same source, reference and params answers the job already completed instead of analysing and charging again.
|
|
120620
|
+
*/
|
|
120621
|
+
202: MediaJob;
|
|
120622
|
+
};
|
|
120623
|
+
export type MediaAlignAssetResponse = MediaAlignAssetResponses[keyof MediaAlignAssetResponses];
|
|
120624
|
+
export type MediaGetHlsRenditionsData = {
|
|
120625
|
+
body?: never;
|
|
120626
|
+
path: {
|
|
120627
|
+
/**
|
|
120628
|
+
* Library ID returned by creation.
|
|
120629
|
+
*/
|
|
120630
|
+
library_id: string;
|
|
120631
|
+
/**
|
|
120632
|
+
* 32-character asset ID.
|
|
120633
|
+
*/
|
|
120634
|
+
asset_id: string;
|
|
120635
|
+
};
|
|
120636
|
+
query?: never;
|
|
120637
|
+
url: '/media/v1/libraries/{library_id}/assets/{asset_id}/hls';
|
|
120638
|
+
};
|
|
120639
|
+
export type MediaGetHlsRenditionsErrors = {
|
|
120640
|
+
/**
|
|
120641
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
120642
|
+
*/
|
|
120643
|
+
400: MediaMediaError;
|
|
120644
|
+
/**
|
|
120645
|
+
* Request failed; see the error code reference.
|
|
120646
|
+
*/
|
|
120647
|
+
402: MediaMediaError;
|
|
120648
|
+
/**
|
|
120649
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
120650
|
+
*/
|
|
120651
|
+
403: MediaMediaError;
|
|
120652
|
+
/**
|
|
120653
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
120654
|
+
*/
|
|
120655
|
+
404: MediaMediaError;
|
|
120656
|
+
/**
|
|
120657
|
+
* Request failed; see the error code reference.
|
|
120658
|
+
*/
|
|
120659
|
+
409: MediaMediaError;
|
|
120660
|
+
/**
|
|
120661
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
120662
|
+
*/
|
|
120663
|
+
413: MediaMediaError;
|
|
120664
|
+
/**
|
|
120665
|
+
* This media format is unsupported; provide a supported format.
|
|
120666
|
+
*/
|
|
120667
|
+
415: MediaMediaError;
|
|
120668
|
+
/**
|
|
120669
|
+
* Request failed; see the error code reference.
|
|
120670
|
+
*/
|
|
120671
|
+
422: MediaMediaError;
|
|
120672
|
+
/**
|
|
120673
|
+
* A rate limit was reached; wait before retrying.
|
|
120674
|
+
*/
|
|
120675
|
+
429: MediaMediaError;
|
|
120676
|
+
/**
|
|
120677
|
+
* The requested operation is unsupported; choose a supported method.
|
|
120678
|
+
*/
|
|
120679
|
+
501: MediaMediaError;
|
|
120680
|
+
/**
|
|
120681
|
+
* Request failed; see the error code reference.
|
|
120682
|
+
*/
|
|
120683
|
+
502: MediaMediaError;
|
|
120684
|
+
/**
|
|
120685
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
120686
|
+
*/
|
|
120687
|
+
503: MediaMediaError;
|
|
120688
|
+
};
|
|
120689
|
+
export type MediaGetHlsRenditionsError = MediaGetHlsRenditionsErrors[keyof MediaGetHlsRenditionsErrors];
|
|
120690
|
+
export type MediaGetHlsRenditionsResponses = {
|
|
120691
|
+
/**
|
|
120692
|
+
* Successful response.
|
|
120693
|
+
*/
|
|
120694
|
+
200: MediaHlsLadder;
|
|
120695
|
+
};
|
|
120696
|
+
export type MediaGetHlsRenditionsResponse = MediaGetHlsRenditionsResponses[keyof MediaGetHlsRenditionsResponses];
|
|
120697
|
+
export type MediaRequestHlsRenditionsData = {
|
|
120698
|
+
/**
|
|
120699
|
+
* Which clarity rungs to build for the asset. Omit heights to build the whole ladder.
|
|
120700
|
+
*/
|
|
120701
|
+
body: {
|
|
120702
|
+
/**
|
|
120703
|
+
* The clarity rungs to build: a non-empty subset of 480, 720 and 1080 with no repeats. Omitted or empty builds all three. The ladder never upscales, so a rung above the source’s short side is dropped.
|
|
120704
|
+
*/
|
|
120705
|
+
heights?: Array<480 | 720 | 1080>;
|
|
120706
|
+
};
|
|
120707
|
+
path: {
|
|
120708
|
+
/**
|
|
120709
|
+
* Library ID returned by creation.
|
|
120710
|
+
*/
|
|
120711
|
+
library_id: string;
|
|
120712
|
+
/**
|
|
120713
|
+
* 32-character asset ID.
|
|
120714
|
+
*/
|
|
120715
|
+
asset_id: string;
|
|
120716
|
+
};
|
|
120717
|
+
query?: never;
|
|
120718
|
+
url: '/media/v1/libraries/{library_id}/assets/{asset_id}/hls';
|
|
120719
|
+
};
|
|
120720
|
+
export type MediaRequestHlsRenditionsErrors = {
|
|
120721
|
+
/**
|
|
120722
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
120723
|
+
*/
|
|
120724
|
+
400: MediaMediaError;
|
|
120725
|
+
/**
|
|
120726
|
+
* Request failed; see the error code reference.
|
|
120727
|
+
*/
|
|
120728
|
+
402: MediaMediaError;
|
|
120729
|
+
/**
|
|
120730
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
120731
|
+
*/
|
|
120732
|
+
403: MediaMediaError;
|
|
120733
|
+
/**
|
|
120734
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
120735
|
+
*/
|
|
120736
|
+
404: MediaMediaError;
|
|
120737
|
+
/**
|
|
120738
|
+
* Request failed; see the error code reference.
|
|
120739
|
+
*/
|
|
120740
|
+
409: MediaMediaError;
|
|
120741
|
+
/**
|
|
120742
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
120743
|
+
*/
|
|
120744
|
+
413: MediaMediaError;
|
|
120745
|
+
/**
|
|
120746
|
+
* This media format is unsupported; provide a supported format.
|
|
120747
|
+
*/
|
|
120748
|
+
415: MediaMediaError;
|
|
120749
|
+
/**
|
|
120750
|
+
* Request failed; see the error code reference.
|
|
120751
|
+
*/
|
|
120752
|
+
422: MediaMediaError;
|
|
120753
|
+
/**
|
|
120754
|
+
* A rate limit was reached; wait before retrying.
|
|
120755
|
+
*/
|
|
120756
|
+
429: MediaMediaError;
|
|
120757
|
+
/**
|
|
120758
|
+
* The requested operation is unsupported; choose a supported method.
|
|
120759
|
+
*/
|
|
120760
|
+
501: MediaMediaError;
|
|
120761
|
+
/**
|
|
120762
|
+
* Request failed; see the error code reference.
|
|
120763
|
+
*/
|
|
120764
|
+
502: MediaMediaError;
|
|
120765
|
+
/**
|
|
120766
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
120767
|
+
*/
|
|
120768
|
+
503: MediaMediaError;
|
|
120769
|
+
};
|
|
120770
|
+
export type MediaRequestHlsRenditionsError = MediaRequestHlsRenditionsErrors[keyof MediaRequestHlsRenditionsErrors];
|
|
120771
|
+
export type MediaRequestHlsRenditionsResponses = {
|
|
118837
120772
|
/**
|
|
118838
120773
|
* Successful response.
|
|
118839
120774
|
*/
|
|
118840
|
-
|
|
120775
|
+
202: MediaHlsLadder;
|
|
118841
120776
|
};
|
|
118842
|
-
export type
|
|
118843
|
-
export type
|
|
118844
|
-
|
|
118845
|
-
|
|
120777
|
+
export type MediaRequestHlsRenditionsResponse = MediaRequestHlsRenditionsResponses[keyof MediaRequestHlsRenditionsResponses];
|
|
120778
|
+
export type MediaCreateVoiceData = {
|
|
120779
|
+
/**
|
|
120780
|
+
* Exactly one of the two voice shapes: consent_id with samples (a consented voice) or design_asset_id (a generated voice).
|
|
120781
|
+
*/
|
|
120782
|
+
body: MediaVoiceCloneInput | MediaVoiceDesignCreateInput;
|
|
120783
|
+
headers?: {
|
|
118846
120784
|
/**
|
|
118847
|
-
*
|
|
120785
|
+
* Stable key for retrying the same request without creating or charging for another job; reusing it with different request content is rejected. Send it here or as idempotency_key in the body, never both with different values.
|
|
118848
120786
|
*/
|
|
118849
|
-
|
|
120787
|
+
'Idempotency-Key'?: string;
|
|
118850
120788
|
};
|
|
118851
|
-
|
|
118852
|
-
/**
|
|
118853
|
-
* Filter jobs by their current status.
|
|
118854
|
-
*/
|
|
118855
|
-
status?: MediaJobStatus;
|
|
118856
|
-
/**
|
|
118857
|
-
* Return only the jobs started by this automation run (its root run), so one pipeline run reads as one batch.
|
|
118858
|
-
*/
|
|
118859
|
-
pipeline_run_id?: string;
|
|
118860
|
-
/**
|
|
118861
|
-
* Maximum entries in this page, from 1 through 100; defaults to 100.
|
|
118862
|
-
*/
|
|
118863
|
-
limit?: number;
|
|
120789
|
+
path: {
|
|
118864
120790
|
/**
|
|
118865
|
-
*
|
|
120791
|
+
* Library ID returned by creation.
|
|
118866
120792
|
*/
|
|
118867
|
-
|
|
120793
|
+
library_id: string;
|
|
118868
120794
|
};
|
|
118869
|
-
|
|
120795
|
+
query?: never;
|
|
120796
|
+
url: '/media/v1/libraries/{library_id}/voices';
|
|
118870
120797
|
};
|
|
118871
|
-
export type
|
|
120798
|
+
export type MediaCreateVoiceErrors = {
|
|
118872
120799
|
/**
|
|
118873
|
-
*
|
|
120800
|
+
* Request failed; see the error code reference.
|
|
118874
120801
|
*/
|
|
118875
120802
|
400: MediaMediaError;
|
|
118876
120803
|
/**
|
|
@@ -118878,11 +120805,11 @@ export type MediaListJobsErrors = {
|
|
|
118878
120805
|
*/
|
|
118879
120806
|
402: MediaMediaError;
|
|
118880
120807
|
/**
|
|
118881
|
-
*
|
|
120808
|
+
* Request failed; see the error code reference.
|
|
118882
120809
|
*/
|
|
118883
120810
|
403: MediaMediaError;
|
|
118884
120811
|
/**
|
|
118885
|
-
*
|
|
120812
|
+
* Request failed; see the error code reference.
|
|
118886
120813
|
*/
|
|
118887
120814
|
404: MediaMediaError;
|
|
118888
120815
|
/**
|
|
@@ -118890,11 +120817,11 @@ export type MediaListJobsErrors = {
|
|
|
118890
120817
|
*/
|
|
118891
120818
|
409: MediaMediaError;
|
|
118892
120819
|
/**
|
|
118893
|
-
*
|
|
120820
|
+
* Request failed; see the error code reference.
|
|
118894
120821
|
*/
|
|
118895
120822
|
413: MediaMediaError;
|
|
118896
120823
|
/**
|
|
118897
|
-
*
|
|
120824
|
+
* Request failed; see the error code reference.
|
|
118898
120825
|
*/
|
|
118899
120826
|
415: MediaMediaError;
|
|
118900
120827
|
/**
|
|
@@ -118902,11 +120829,11 @@ export type MediaListJobsErrors = {
|
|
|
118902
120829
|
*/
|
|
118903
120830
|
422: MediaMediaError;
|
|
118904
120831
|
/**
|
|
118905
|
-
*
|
|
120832
|
+
* Request failed; see the error code reference.
|
|
118906
120833
|
*/
|
|
118907
120834
|
429: MediaMediaError;
|
|
118908
120835
|
/**
|
|
118909
|
-
*
|
|
120836
|
+
* Request failed; see the error code reference.
|
|
118910
120837
|
*/
|
|
118911
120838
|
501: MediaMediaError;
|
|
118912
120839
|
/**
|
|
@@ -118914,36 +120841,58 @@ export type MediaListJobsErrors = {
|
|
|
118914
120841
|
*/
|
|
118915
120842
|
502: MediaMediaError;
|
|
118916
120843
|
/**
|
|
118917
|
-
*
|
|
120844
|
+
* Request failed; see the error code reference.
|
|
118918
120845
|
*/
|
|
118919
120846
|
503: MediaMediaError;
|
|
118920
120847
|
};
|
|
118921
|
-
export type
|
|
118922
|
-
export type
|
|
120848
|
+
export type MediaCreateVoiceError = MediaCreateVoiceErrors[keyof MediaCreateVoiceErrors];
|
|
120849
|
+
export type MediaCreateVoiceResponses = {
|
|
118923
120850
|
/**
|
|
118924
120851
|
* Successful response.
|
|
118925
120852
|
*/
|
|
118926
|
-
|
|
120853
|
+
202: MediaJob;
|
|
118927
120854
|
};
|
|
118928
|
-
export type
|
|
118929
|
-
export type
|
|
118930
|
-
|
|
120855
|
+
export type MediaCreateVoiceResponse = MediaCreateVoiceResponses[keyof MediaCreateVoiceResponses];
|
|
120856
|
+
export type MediaDesignVoiceData = {
|
|
120857
|
+
/**
|
|
120858
|
+
* One voice-design run: what the voice should sound like and the line the previews speak.
|
|
120859
|
+
*/
|
|
120860
|
+
body: {
|
|
120861
|
+
/**
|
|
120862
|
+
* Text description of the voice to design, 1 to 500 characters. The model makes every preview from it; a description that fails review answers CONTENT_REJECTED.
|
|
120863
|
+
*/
|
|
120864
|
+
description: string;
|
|
120865
|
+
/**
|
|
120866
|
+
* Line each preview speaks, 15 to 200 characters: long enough to hear the voice, short enough for one model call.
|
|
120867
|
+
*/
|
|
120868
|
+
preview_text: string;
|
|
120869
|
+
/**
|
|
120870
|
+
* Language the previews speak: zh or en only.
|
|
120871
|
+
*/
|
|
120872
|
+
language: 'zh' | 'en';
|
|
120873
|
+
/**
|
|
120874
|
+
* How many preview recordings to design, 1 to 3; defaults to 3. Each one is stored as an audio asset.
|
|
120875
|
+
*/
|
|
120876
|
+
count?: number;
|
|
120877
|
+
};
|
|
120878
|
+
headers?: {
|
|
120879
|
+
/**
|
|
120880
|
+
* Stable key for retrying the same request without creating or charging for another job; reusing it with different request content is rejected. Send it here or as idempotency_key in the body, never both with different values.
|
|
120881
|
+
*/
|
|
120882
|
+
'Idempotency-Key'?: string;
|
|
120883
|
+
};
|
|
118931
120884
|
path: {
|
|
118932
120885
|
/**
|
|
118933
120886
|
* Library ID returned by creation.
|
|
118934
120887
|
*/
|
|
118935
120888
|
library_id: string;
|
|
118936
|
-
/**
|
|
118937
|
-
* Job identifier returned by batch or generation creation; the job is resolved within the specified library.
|
|
118938
|
-
*/
|
|
118939
|
-
job_id: string;
|
|
118940
120889
|
};
|
|
118941
120890
|
query?: never;
|
|
118942
|
-
url: '/media/v1/libraries/{library_id}/
|
|
120891
|
+
url: '/media/v1/libraries/{library_id}/voices/designs';
|
|
118943
120892
|
};
|
|
118944
|
-
export type
|
|
120893
|
+
export type MediaDesignVoiceErrors = {
|
|
118945
120894
|
/**
|
|
118946
|
-
*
|
|
120895
|
+
* Request failed; see the error code reference.
|
|
118947
120896
|
*/
|
|
118948
120897
|
400: MediaMediaError;
|
|
118949
120898
|
/**
|
|
@@ -118951,11 +120900,11 @@ export type MediaCancelJobErrors = {
|
|
|
118951
120900
|
*/
|
|
118952
120901
|
402: MediaMediaError;
|
|
118953
120902
|
/**
|
|
118954
|
-
*
|
|
120903
|
+
* Request failed; see the error code reference.
|
|
118955
120904
|
*/
|
|
118956
120905
|
403: MediaMediaError;
|
|
118957
120906
|
/**
|
|
118958
|
-
*
|
|
120907
|
+
* Request failed; see the error code reference.
|
|
118959
120908
|
*/
|
|
118960
120909
|
404: MediaMediaError;
|
|
118961
120910
|
/**
|
|
@@ -118963,11 +120912,11 @@ export type MediaCancelJobErrors = {
|
|
|
118963
120912
|
*/
|
|
118964
120913
|
409: MediaMediaError;
|
|
118965
120914
|
/**
|
|
118966
|
-
*
|
|
120915
|
+
* Request failed; see the error code reference.
|
|
118967
120916
|
*/
|
|
118968
120917
|
413: MediaMediaError;
|
|
118969
120918
|
/**
|
|
118970
|
-
*
|
|
120919
|
+
* Request failed; see the error code reference.
|
|
118971
120920
|
*/
|
|
118972
120921
|
415: MediaMediaError;
|
|
118973
120922
|
/**
|
|
@@ -118975,11 +120924,11 @@ export type MediaCancelJobErrors = {
|
|
|
118975
120924
|
*/
|
|
118976
120925
|
422: MediaMediaError;
|
|
118977
120926
|
/**
|
|
118978
|
-
*
|
|
120927
|
+
* Request failed; see the error code reference.
|
|
118979
120928
|
*/
|
|
118980
120929
|
429: MediaMediaError;
|
|
118981
120930
|
/**
|
|
118982
|
-
*
|
|
120931
|
+
* Request failed; see the error code reference.
|
|
118983
120932
|
*/
|
|
118984
120933
|
501: MediaMediaError;
|
|
118985
120934
|
/**
|
|
@@ -118987,25 +120936,51 @@ export type MediaCancelJobErrors = {
|
|
|
118987
120936
|
*/
|
|
118988
120937
|
502: MediaMediaError;
|
|
118989
120938
|
/**
|
|
118990
|
-
*
|
|
120939
|
+
* Request failed; see the error code reference.
|
|
118991
120940
|
*/
|
|
118992
120941
|
503: MediaMediaError;
|
|
118993
120942
|
};
|
|
118994
|
-
export type
|
|
118995
|
-
export type
|
|
120943
|
+
export type MediaDesignVoiceError = MediaDesignVoiceErrors[keyof MediaDesignVoiceErrors];
|
|
120944
|
+
export type MediaDesignVoiceResponses = {
|
|
118996
120945
|
/**
|
|
118997
120946
|
* Successful response.
|
|
118998
120947
|
*/
|
|
118999
|
-
|
|
120948
|
+
202: MediaJob;
|
|
119000
120949
|
};
|
|
119001
|
-
export type
|
|
119002
|
-
export type
|
|
120950
|
+
export type MediaDesignVoiceResponse = MediaDesignVoiceResponses[keyof MediaDesignVoiceResponses];
|
|
120951
|
+
export type MediaListWorksData = {
|
|
119003
120952
|
body?: never;
|
|
119004
|
-
path
|
|
119005
|
-
|
|
119006
|
-
|
|
120953
|
+
path: {
|
|
120954
|
+
/**
|
|
120955
|
+
* Library ID returned by creation.
|
|
120956
|
+
*/
|
|
120957
|
+
library_id: string;
|
|
120958
|
+
};
|
|
120959
|
+
query?: {
|
|
120960
|
+
/**
|
|
120961
|
+
* Only works of this kind: gallery, article, product_listing or blocks.
|
|
120962
|
+
*/
|
|
120963
|
+
kind?: 'gallery' | 'article' | 'product_listing' | 'blocks';
|
|
120964
|
+
/**
|
|
120965
|
+
* Only works of this series.
|
|
120966
|
+
*/
|
|
120967
|
+
series?: string;
|
|
120968
|
+
/**
|
|
120969
|
+
* Only works whose title contains this text, at most 100 characters.
|
|
120970
|
+
*/
|
|
120971
|
+
q?: string;
|
|
120972
|
+
/**
|
|
120973
|
+
* Maximum entries in this page, from 1 through 100; defaults to 100.
|
|
120974
|
+
*/
|
|
120975
|
+
limit?: number;
|
|
120976
|
+
/**
|
|
120977
|
+
* Cursor from the previous next_cursor.
|
|
120978
|
+
*/
|
|
120979
|
+
cursor?: string;
|
|
120980
|
+
};
|
|
120981
|
+
url: '/media/v1/libraries/{library_id}/works';
|
|
119007
120982
|
};
|
|
119008
|
-
export type
|
|
120983
|
+
export type MediaListWorksErrors = {
|
|
119009
120984
|
/**
|
|
119010
120985
|
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
119011
120986
|
*/
|
|
@@ -119055,58 +121030,52 @@ export type MediaGetGenerationCapabilitiesErrors = {
|
|
|
119055
121030
|
*/
|
|
119056
121031
|
503: MediaMediaError;
|
|
119057
121032
|
};
|
|
119058
|
-
export type
|
|
119059
|
-
export type
|
|
121033
|
+
export type MediaListWorksError = MediaListWorksErrors[keyof MediaListWorksErrors];
|
|
121034
|
+
export type MediaListWorksResponses = {
|
|
119060
121035
|
/**
|
|
119061
121036
|
* Successful response.
|
|
119062
121037
|
*/
|
|
119063
|
-
200:
|
|
121038
|
+
200: MediaWorkPage;
|
|
119064
121039
|
};
|
|
119065
|
-
export type
|
|
119066
|
-
export type
|
|
121040
|
+
export type MediaListWorksResponse = MediaListWorksResponses[keyof MediaListWorksResponses];
|
|
121041
|
+
export type MediaCreateWorkData = {
|
|
119067
121042
|
/**
|
|
119068
|
-
*
|
|
121043
|
+
* A new work: its kind and its whole body, with an optional series and custom fields.
|
|
119069
121044
|
*/
|
|
119070
121045
|
body: {
|
|
119071
121046
|
/**
|
|
119072
|
-
*
|
|
121047
|
+
* The work’s kind; it decides which body fields are accepted.
|
|
119073
121048
|
*/
|
|
119074
|
-
|
|
121049
|
+
kind: MediaWorkKind;
|
|
119075
121050
|
/**
|
|
119076
|
-
*
|
|
121051
|
+
* The kind’s body. Every asset it names must be a live asset of this library of the fitting type, or the request is refused with ASSET_NOT_FOUND or REFERENCE_TYPE_MISMATCH naming every bad reference, and nothing is saved.
|
|
119077
121052
|
*/
|
|
119078
|
-
|
|
121053
|
+
body: MediaWorkBody;
|
|
119079
121054
|
/**
|
|
119080
|
-
*
|
|
121055
|
+
* Groups the platform versions of one story: 1 to 64 characters of a-z, 0-9, _ and -.
|
|
119081
121056
|
*/
|
|
119082
|
-
|
|
119083
|
-
};
|
|
119084
|
-
headers?: {
|
|
121057
|
+
series?: string;
|
|
119085
121058
|
/**
|
|
119086
|
-
*
|
|
121059
|
+
* Caller data such as source, published links and numbers; at most 50 keys and 16 KB as JSON.
|
|
119087
121060
|
*/
|
|
119088
|
-
|
|
121061
|
+
custom?: MediaWorkCustom;
|
|
119089
121062
|
};
|
|
119090
121063
|
path: {
|
|
119091
121064
|
/**
|
|
119092
121065
|
* Library ID returned by creation.
|
|
119093
121066
|
*/
|
|
119094
121067
|
library_id: string;
|
|
119095
|
-
/**
|
|
119096
|
-
* 32-character asset ID.
|
|
119097
|
-
*/
|
|
119098
|
-
asset_id: string;
|
|
119099
121068
|
};
|
|
119100
121069
|
query?: never;
|
|
119101
|
-
url: '/media/v1/libraries/{library_id}/
|
|
121070
|
+
url: '/media/v1/libraries/{library_id}/works';
|
|
119102
121071
|
};
|
|
119103
|
-
export type
|
|
121072
|
+
export type MediaCreateWorkErrors = {
|
|
119104
121073
|
/**
|
|
119105
|
-
*
|
|
121074
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
119106
121075
|
*/
|
|
119107
121076
|
400: MediaMediaError;
|
|
119108
121077
|
/**
|
|
119109
|
-
*
|
|
121078
|
+
* Request failed; see the error code reference.
|
|
119110
121079
|
*/
|
|
119111
121080
|
402: MediaMediaError;
|
|
119112
121081
|
/**
|
|
@@ -119114,11 +121083,11 @@ export type MediaAlignAssetErrors = {
|
|
|
119114
121083
|
*/
|
|
119115
121084
|
403: MediaMediaError;
|
|
119116
121085
|
/**
|
|
119117
|
-
*
|
|
121086
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
119118
121087
|
*/
|
|
119119
121088
|
404: MediaMediaError;
|
|
119120
121089
|
/**
|
|
119121
|
-
*
|
|
121090
|
+
* Request failed; see the error code reference.
|
|
119122
121091
|
*/
|
|
119123
121092
|
409: MediaMediaError;
|
|
119124
121093
|
/**
|
|
@@ -119130,11 +121099,11 @@ export type MediaAlignAssetErrors = {
|
|
|
119130
121099
|
*/
|
|
119131
121100
|
415: MediaMediaError;
|
|
119132
121101
|
/**
|
|
119133
|
-
*
|
|
121102
|
+
* Request failed; see the error code reference.
|
|
119134
121103
|
*/
|
|
119135
121104
|
422: MediaMediaError;
|
|
119136
121105
|
/**
|
|
119137
|
-
*
|
|
121106
|
+
* A rate limit was reached; wait before retrying.
|
|
119138
121107
|
*/
|
|
119139
121108
|
429: MediaMediaError;
|
|
119140
121109
|
/**
|
|
@@ -119150,15 +121119,15 @@ export type MediaAlignAssetErrors = {
|
|
|
119150
121119
|
*/
|
|
119151
121120
|
503: MediaMediaError;
|
|
119152
121121
|
};
|
|
119153
|
-
export type
|
|
119154
|
-
export type
|
|
121122
|
+
export type MediaCreateWorkError = MediaCreateWorkErrors[keyof MediaCreateWorkErrors];
|
|
121123
|
+
export type MediaCreateWorkResponses = {
|
|
119155
121124
|
/**
|
|
119156
|
-
*
|
|
121125
|
+
* Successful response.
|
|
119157
121126
|
*/
|
|
119158
|
-
|
|
121127
|
+
200: MediaWork;
|
|
119159
121128
|
};
|
|
119160
|
-
export type
|
|
119161
|
-
export type
|
|
121129
|
+
export type MediaCreateWorkResponse = MediaCreateWorkResponses[keyof MediaCreateWorkResponses];
|
|
121130
|
+
export type MediaDeleteWorkData = {
|
|
119162
121131
|
body?: never;
|
|
119163
121132
|
path: {
|
|
119164
121133
|
/**
|
|
@@ -119166,14 +121135,14 @@ export type MediaGetHlsRenditionsData = {
|
|
|
119166
121135
|
*/
|
|
119167
121136
|
library_id: string;
|
|
119168
121137
|
/**
|
|
119169
|
-
*
|
|
121138
|
+
* Work id (wrk_…) returned by creation or listing.
|
|
119170
121139
|
*/
|
|
119171
|
-
|
|
121140
|
+
work_id: string;
|
|
119172
121141
|
};
|
|
119173
121142
|
query?: never;
|
|
119174
|
-
url: '/media/v1/libraries/{library_id}/
|
|
121143
|
+
url: '/media/v1/libraries/{library_id}/works/{work_id}';
|
|
119175
121144
|
};
|
|
119176
|
-
export type
|
|
121145
|
+
export type MediaDeleteWorkErrors = {
|
|
119177
121146
|
/**
|
|
119178
121147
|
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
119179
121148
|
*/
|
|
@@ -119223,38 +121192,35 @@ export type MediaGetHlsRenditionsErrors = {
|
|
|
119223
121192
|
*/
|
|
119224
121193
|
503: MediaMediaError;
|
|
119225
121194
|
};
|
|
119226
|
-
export type
|
|
119227
|
-
export type
|
|
121195
|
+
export type MediaDeleteWorkError = MediaDeleteWorkErrors[keyof MediaDeleteWorkErrors];
|
|
121196
|
+
export type MediaDeleteWorkResponses = {
|
|
119228
121197
|
/**
|
|
119229
121198
|
* Successful response.
|
|
119230
121199
|
*/
|
|
119231
|
-
200:
|
|
121200
|
+
200: MediaDeletedWork;
|
|
119232
121201
|
};
|
|
119233
|
-
export type
|
|
119234
|
-
export type
|
|
119235
|
-
|
|
119236
|
-
* Which clarity rungs to build for the asset. Omit heights to build the whole ladder.
|
|
119237
|
-
*/
|
|
119238
|
-
body: {
|
|
119239
|
-
/**
|
|
119240
|
-
* The clarity rungs to build: a non-empty subset of 480, 720 and 1080 with no repeats. Omitted or empty builds all three. The ladder never upscales, so a rung above the source’s short side is dropped.
|
|
119241
|
-
*/
|
|
119242
|
-
heights?: Array<480 | 720 | 1080>;
|
|
119243
|
-
};
|
|
121202
|
+
export type MediaDeleteWorkResponse = MediaDeleteWorkResponses[keyof MediaDeleteWorkResponses];
|
|
121203
|
+
export type MediaGetWorkData = {
|
|
121204
|
+
body?: never;
|
|
119244
121205
|
path: {
|
|
119245
121206
|
/**
|
|
119246
121207
|
* Library ID returned by creation.
|
|
119247
121208
|
*/
|
|
119248
121209
|
library_id: string;
|
|
119249
121210
|
/**
|
|
119250
|
-
*
|
|
121211
|
+
* Work id (wrk_…) returned by creation or listing.
|
|
119251
121212
|
*/
|
|
119252
|
-
|
|
121213
|
+
work_id: string;
|
|
119253
121214
|
};
|
|
119254
|
-
query?:
|
|
119255
|
-
|
|
121215
|
+
query?: {
|
|
121216
|
+
/**
|
|
121217
|
+
* assets returns every referenced asset with its URLs and size.
|
|
121218
|
+
*/
|
|
121219
|
+
expand?: string;
|
|
121220
|
+
};
|
|
121221
|
+
url: '/media/v1/libraries/{library_id}/works/{work_id}';
|
|
119256
121222
|
};
|
|
119257
|
-
export type
|
|
121223
|
+
export type MediaGetWorkErrors = {
|
|
119258
121224
|
/**
|
|
119259
121225
|
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
119260
121226
|
*/
|
|
@@ -119304,37 +121270,52 @@ export type MediaRequestHlsRenditionsErrors = {
|
|
|
119304
121270
|
*/
|
|
119305
121271
|
503: MediaMediaError;
|
|
119306
121272
|
};
|
|
119307
|
-
export type
|
|
119308
|
-
export type
|
|
121273
|
+
export type MediaGetWorkError = MediaGetWorkErrors[keyof MediaGetWorkErrors];
|
|
121274
|
+
export type MediaGetWorkResponses = {
|
|
119309
121275
|
/**
|
|
119310
121276
|
* Successful response.
|
|
119311
121277
|
*/
|
|
119312
|
-
|
|
121278
|
+
200: MediaWork;
|
|
119313
121279
|
};
|
|
119314
|
-
export type
|
|
119315
|
-
export type
|
|
121280
|
+
export type MediaGetWorkResponse = MediaGetWorkResponses[keyof MediaGetWorkResponses];
|
|
121281
|
+
export type MediaUpdateWorkData = {
|
|
119316
121282
|
/**
|
|
119317
|
-
*
|
|
121283
|
+
* Changes to a work. Send only what changes.
|
|
119318
121284
|
*/
|
|
119319
|
-
body:
|
|
119320
|
-
headers?: {
|
|
121285
|
+
body: {
|
|
119321
121286
|
/**
|
|
119322
|
-
*
|
|
121287
|
+
* A whole new body for the same kind; it replaces the old one and is checked like a new one.
|
|
119323
121288
|
*/
|
|
119324
|
-
|
|
121289
|
+
body?: MediaWorkBody;
|
|
121290
|
+
/**
|
|
121291
|
+
* A new series, or null to clear it.
|
|
121292
|
+
*/
|
|
121293
|
+
series?: string | null;
|
|
121294
|
+
/**
|
|
121295
|
+
* A JSON Merge Patch (RFC 7396): keys you send are set, keys set to null are removed, keys you leave out are kept.
|
|
121296
|
+
*/
|
|
121297
|
+
custom?: MediaWorkCustom;
|
|
121298
|
+
/**
|
|
121299
|
+
* Apply the change only if the work is still at this revision; otherwise the answer is 409 REVISION_CONFLICT with the current revision.
|
|
121300
|
+
*/
|
|
121301
|
+
if_revision?: number;
|
|
119325
121302
|
};
|
|
119326
121303
|
path: {
|
|
119327
121304
|
/**
|
|
119328
121305
|
* Library ID returned by creation.
|
|
119329
121306
|
*/
|
|
119330
121307
|
library_id: string;
|
|
121308
|
+
/**
|
|
121309
|
+
* Work id (wrk_…) returned by creation or listing.
|
|
121310
|
+
*/
|
|
121311
|
+
work_id: string;
|
|
119331
121312
|
};
|
|
119332
121313
|
query?: never;
|
|
119333
|
-
url: '/media/v1/libraries/{library_id}/
|
|
121314
|
+
url: '/media/v1/libraries/{library_id}/works/{work_id}';
|
|
119334
121315
|
};
|
|
119335
|
-
export type
|
|
121316
|
+
export type MediaUpdateWorkErrors = {
|
|
119336
121317
|
/**
|
|
119337
|
-
*
|
|
121318
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
119338
121319
|
*/
|
|
119339
121320
|
400: MediaMediaError;
|
|
119340
121321
|
/**
|
|
@@ -119342,11 +121323,11 @@ export type MediaCreateVoiceErrors = {
|
|
|
119342
121323
|
*/
|
|
119343
121324
|
402: MediaMediaError;
|
|
119344
121325
|
/**
|
|
119345
|
-
*
|
|
121326
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
119346
121327
|
*/
|
|
119347
121328
|
403: MediaMediaError;
|
|
119348
121329
|
/**
|
|
119349
|
-
*
|
|
121330
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
119350
121331
|
*/
|
|
119351
121332
|
404: MediaMediaError;
|
|
119352
121333
|
/**
|
|
@@ -119354,11 +121335,11 @@ export type MediaCreateVoiceErrors = {
|
|
|
119354
121335
|
*/
|
|
119355
121336
|
409: MediaMediaError;
|
|
119356
121337
|
/**
|
|
119357
|
-
*
|
|
121338
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
119358
121339
|
*/
|
|
119359
121340
|
413: MediaMediaError;
|
|
119360
121341
|
/**
|
|
119361
|
-
*
|
|
121342
|
+
* This media format is unsupported; provide a supported format.
|
|
119362
121343
|
*/
|
|
119363
121344
|
415: MediaMediaError;
|
|
119364
121345
|
/**
|
|
@@ -119366,11 +121347,11 @@ export type MediaCreateVoiceErrors = {
|
|
|
119366
121347
|
*/
|
|
119367
121348
|
422: MediaMediaError;
|
|
119368
121349
|
/**
|
|
119369
|
-
*
|
|
121350
|
+
* A rate limit was reached; wait before retrying.
|
|
119370
121351
|
*/
|
|
119371
121352
|
429: MediaMediaError;
|
|
119372
121353
|
/**
|
|
119373
|
-
*
|
|
121354
|
+
* The requested operation is unsupported; choose a supported method.
|
|
119374
121355
|
*/
|
|
119375
121356
|
501: MediaMediaError;
|
|
119376
121357
|
/**
|
|
@@ -119378,58 +121359,45 @@ export type MediaCreateVoiceErrors = {
|
|
|
119378
121359
|
*/
|
|
119379
121360
|
502: MediaMediaError;
|
|
119380
121361
|
/**
|
|
119381
|
-
*
|
|
121362
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
119382
121363
|
*/
|
|
119383
121364
|
503: MediaMediaError;
|
|
119384
121365
|
};
|
|
119385
|
-
export type
|
|
119386
|
-
export type
|
|
121366
|
+
export type MediaUpdateWorkError = MediaUpdateWorkErrors[keyof MediaUpdateWorkErrors];
|
|
121367
|
+
export type MediaUpdateWorkResponses = {
|
|
119387
121368
|
/**
|
|
119388
121369
|
* Successful response.
|
|
119389
121370
|
*/
|
|
119390
|
-
|
|
121371
|
+
200: MediaWork;
|
|
119391
121372
|
};
|
|
119392
|
-
export type
|
|
119393
|
-
export type
|
|
119394
|
-
|
|
119395
|
-
|
|
119396
|
-
*/
|
|
119397
|
-
body: {
|
|
119398
|
-
/**
|
|
119399
|
-
* Text description of the voice to design, 1 to 500 characters. The model makes every preview from it; a description that fails review answers CONTENT_REJECTED.
|
|
119400
|
-
*/
|
|
119401
|
-
description: string;
|
|
119402
|
-
/**
|
|
119403
|
-
* Line each preview speaks, 15 to 200 characters: long enough to hear the voice, short enough for one model call.
|
|
119404
|
-
*/
|
|
119405
|
-
preview_text: string;
|
|
121373
|
+
export type MediaUpdateWorkResponse = MediaUpdateWorkResponses[keyof MediaUpdateWorkResponses];
|
|
121374
|
+
export type MediaListAssetWorksData = {
|
|
121375
|
+
body?: never;
|
|
121376
|
+
path: {
|
|
119406
121377
|
/**
|
|
119407
|
-
*
|
|
121378
|
+
* Library ID returned by creation.
|
|
119408
121379
|
*/
|
|
119409
|
-
|
|
121380
|
+
library_id: string;
|
|
119410
121381
|
/**
|
|
119411
|
-
*
|
|
121382
|
+
* 32-character asset ID.
|
|
119412
121383
|
*/
|
|
119413
|
-
|
|
121384
|
+
asset_id: string;
|
|
119414
121385
|
};
|
|
119415
|
-
|
|
121386
|
+
query?: {
|
|
119416
121387
|
/**
|
|
119417
|
-
*
|
|
121388
|
+
* Maximum entries in this page, from 1 through 100; defaults to 100.
|
|
119418
121389
|
*/
|
|
119419
|
-
|
|
119420
|
-
};
|
|
119421
|
-
path: {
|
|
121390
|
+
limit?: number;
|
|
119422
121391
|
/**
|
|
119423
|
-
*
|
|
121392
|
+
* Cursor from the previous next_cursor.
|
|
119424
121393
|
*/
|
|
119425
|
-
|
|
121394
|
+
cursor?: string;
|
|
119426
121395
|
};
|
|
119427
|
-
|
|
119428
|
-
url: '/media/v1/libraries/{library_id}/voices/designs';
|
|
121396
|
+
url: '/media/v1/libraries/{library_id}/assets/{asset_id}/works';
|
|
119429
121397
|
};
|
|
119430
|
-
export type
|
|
121398
|
+
export type MediaListAssetWorksErrors = {
|
|
119431
121399
|
/**
|
|
119432
|
-
*
|
|
121400
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
119433
121401
|
*/
|
|
119434
121402
|
400: MediaMediaError;
|
|
119435
121403
|
/**
|
|
@@ -119437,11 +121405,11 @@ export type MediaDesignVoiceErrors = {
|
|
|
119437
121405
|
*/
|
|
119438
121406
|
402: MediaMediaError;
|
|
119439
121407
|
/**
|
|
119440
|
-
*
|
|
121408
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
119441
121409
|
*/
|
|
119442
121410
|
403: MediaMediaError;
|
|
119443
121411
|
/**
|
|
119444
|
-
*
|
|
121412
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
119445
121413
|
*/
|
|
119446
121414
|
404: MediaMediaError;
|
|
119447
121415
|
/**
|
|
@@ -119449,11 +121417,11 @@ export type MediaDesignVoiceErrors = {
|
|
|
119449
121417
|
*/
|
|
119450
121418
|
409: MediaMediaError;
|
|
119451
121419
|
/**
|
|
119452
|
-
*
|
|
121420
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
119453
121421
|
*/
|
|
119454
121422
|
413: MediaMediaError;
|
|
119455
121423
|
/**
|
|
119456
|
-
*
|
|
121424
|
+
* This media format is unsupported; provide a supported format.
|
|
119457
121425
|
*/
|
|
119458
121426
|
415: MediaMediaError;
|
|
119459
121427
|
/**
|
|
@@ -119461,11 +121429,11 @@ export type MediaDesignVoiceErrors = {
|
|
|
119461
121429
|
*/
|
|
119462
121430
|
422: MediaMediaError;
|
|
119463
121431
|
/**
|
|
119464
|
-
*
|
|
121432
|
+
* A rate limit was reached; wait before retrying.
|
|
119465
121433
|
*/
|
|
119466
121434
|
429: MediaMediaError;
|
|
119467
121435
|
/**
|
|
119468
|
-
*
|
|
121436
|
+
* The requested operation is unsupported; choose a supported method.
|
|
119469
121437
|
*/
|
|
119470
121438
|
501: MediaMediaError;
|
|
119471
121439
|
/**
|
|
@@ -119473,18 +121441,18 @@ export type MediaDesignVoiceErrors = {
|
|
|
119473
121441
|
*/
|
|
119474
121442
|
502: MediaMediaError;
|
|
119475
121443
|
/**
|
|
119476
|
-
*
|
|
121444
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
119477
121445
|
*/
|
|
119478
121446
|
503: MediaMediaError;
|
|
119479
121447
|
};
|
|
119480
|
-
export type
|
|
119481
|
-
export type
|
|
121448
|
+
export type MediaListAssetWorksError = MediaListAssetWorksErrors[keyof MediaListAssetWorksErrors];
|
|
121449
|
+
export type MediaListAssetWorksResponses = {
|
|
119482
121450
|
/**
|
|
119483
121451
|
* Successful response.
|
|
119484
121452
|
*/
|
|
119485
|
-
|
|
121453
|
+
200: MediaWorkPage;
|
|
119486
121454
|
};
|
|
119487
|
-
export type
|
|
121455
|
+
export type MediaListAssetWorksResponse = MediaListAssetWorksResponses[keyof MediaListAssetWorksResponses];
|
|
119488
121456
|
export type OntologyListTypesData = {
|
|
119489
121457
|
body?: never;
|
|
119490
121458
|
path?: never;
|
|
@@ -121444,7 +123412,7 @@ export type GetSandboxV1SandboxesResponses = {
|
|
|
121444
123412
|
};
|
|
121445
123413
|
export type GetSandboxV1SandboxesResponse = GetSandboxV1SandboxesResponses[keyof GetSandboxV1SandboxesResponses];
|
|
121446
123414
|
export type PostSandboxV1SandboxesData = {
|
|
121447
|
-
body:
|
|
123415
|
+
body: SandboxNewSandboxV2Writable;
|
|
121448
123416
|
path?: never;
|
|
121449
123417
|
query?: never;
|
|
121450
123418
|
url: '/sandbox/v1/sandboxes';
|