@deepraxis/sdk 0.1.1-dev.f0ef747 → 0.1.1-dev.f8aa5de
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 +11 -1
- package/dist/automation.d.ts +7 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +42 -12
- package/dist/generated/sdk.gen.js +114 -11
- package/dist/generated/types.gen.d.ts +1329 -138
- package/dist/helpers/application-build.d.ts +10 -0
- package/dist/helpers/application-build.js +98 -0
- package/dist/helpers/application-publish.d.ts +8 -0
- package/dist/helpers/application-publish.js +26 -9
- package/dist/helpers/browser-decisions.d.ts +2 -0
- package/dist/helpers/browser-decisions.js +14 -1
- package/dist/helpers/file-upload.d.ts +2 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -0
- package/dist/operations.generated.d.ts +157 -25
- package/dist/operations.generated.js +191 -27
- package/dist/resources.generated.d.ts +57 -3
- package/dist/resources.generated.js +7 -0
- package/package.json +1 -1
|
@@ -534,7 +534,7 @@ export type BrowserError = {
|
|
|
534
534
|
statusCode: number;
|
|
535
535
|
error: string;
|
|
536
536
|
message: string;
|
|
537
|
-
code: 'INVALID_PARAMS' | 'UNAUTHENTICATED' | 'CONNECT_SIGNATURE_INVALID' | 'SESSION_NOT_FOUND' | 'SESSION_ENDED' | 'SESSION_INVALID_STATE' | 'CONTEXT_NOT_FOUND' | 'CONTEXT_LOCKED' | 'HANDOFF_NOT_PENDING' | 'CONCURRENCY_LIMIT' | 'RATE_LIMITED' | 'INSUFFICIENT_BALANCE' | 'PROVIDER_UNSUPPORTED' | 'PROVIDER_CAPACITY' | 'PROVIDER_FAILED';
|
|
537
|
+
code: 'INVALID_PARAMS' | 'PERMISSION_DENIED' | 'NOT_IMPLEMENTED' | 'INTERNAL' | 'UNAUTHENTICATED' | 'CONNECT_SIGNATURE_INVALID' | 'SESSION_NOT_FOUND' | 'SESSION_ENDED' | 'SESSION_INVALID_STATE' | 'CONTEXT_NOT_FOUND' | 'CONTEXT_LOCKED' | 'HANDOFF_NOT_PENDING' | 'CONCURRENCY_LIMIT' | 'RATE_LIMITED' | 'INSUFFICIENT_BALANCE' | 'QUOTA_EXHAUSTED' | 'ACCOUNT_SUSPENDED' | 'PROVIDER_UNSUPPORTED' | 'PROVIDER_CAPACITY' | 'PROVIDER_FAILED' | 'SERVICE_UNAVAILABLE' | 'PARENT_NOT_FOUND' | 'INVALID_FILTER' | 'INVALID_PAGE_TOKEN';
|
|
538
538
|
};
|
|
539
539
|
export type BrowserSession = {
|
|
540
540
|
/**
|
|
@@ -903,9 +903,21 @@ export type BrowserContextCreateResult = {
|
|
|
903
903
|
* 当前登录态写入租约的持有者标识;无有效租约时省略。
|
|
904
904
|
*/
|
|
905
905
|
lockedBy?: string;
|
|
906
|
+
/**
|
|
907
|
+
* UTC timestamp when a session last started with this context; absent if it has never been used.
|
|
908
|
+
*/
|
|
906
909
|
lastUsedAt?: string;
|
|
910
|
+
/**
|
|
911
|
+
* Empty compatibility field; context encryption keys are held by the server.
|
|
912
|
+
*/
|
|
907
913
|
publicKey: string;
|
|
914
|
+
/**
|
|
915
|
+
* Compatibility encryption algorithm name; creation returns AES-256-CBC.
|
|
916
|
+
*/
|
|
908
917
|
cipherAlgorithm: 'AES-256-CBC';
|
|
918
|
+
/**
|
|
919
|
+
* Compatibility initialization-vector size in bytes; creation returns 16.
|
|
920
|
+
*/
|
|
909
921
|
initializationVectorSize: number;
|
|
910
922
|
};
|
|
911
923
|
export type BrowserContext = {
|
|
@@ -951,6 +963,9 @@ export type BrowserContext = {
|
|
|
951
963
|
* 当前登录态写入租约的持有者标识;无有效租约时省略。
|
|
952
964
|
*/
|
|
953
965
|
lockedBy?: string;
|
|
966
|
+
/**
|
|
967
|
+
* UTC timestamp when a session last started with this context; absent if it has never been used.
|
|
968
|
+
*/
|
|
954
969
|
lastUsedAt?: string;
|
|
955
970
|
};
|
|
956
971
|
export type BrowserStreamMessage = {
|
|
@@ -986,6 +1001,9 @@ export type BrowserStreamMessage = {
|
|
|
986
1001
|
url?: string;
|
|
987
1002
|
x?: number;
|
|
988
1003
|
y?: number;
|
|
1004
|
+
/**
|
|
1005
|
+
* UTC timestamp when a session last started with this context; absent if it has never been used.
|
|
1006
|
+
*/
|
|
989
1007
|
at: string;
|
|
990
1008
|
actor: 'client' | 'human';
|
|
991
1009
|
};
|
|
@@ -1002,19 +1020,10 @@ export type OwnFileCreateFileRequest = {
|
|
|
1002
1020
|
*/
|
|
1003
1021
|
file: Blob | File;
|
|
1004
1022
|
/**
|
|
1005
|
-
* Purpose label stored with the file: user_data
|
|
1023
|
+
* Purpose label stored with the file: user_data or vision. The vision purpose accepts only PNG, JPEG, GIF and WebP images. Conversation image references require user_data.
|
|
1006
1024
|
*/
|
|
1007
|
-
purpose: 'user_data' | '
|
|
1025
|
+
purpose: 'user_data' | 'vision';
|
|
1008
1026
|
expires_after?: OwnFileFileExpirationAfter;
|
|
1009
|
-
/**
|
|
1010
|
-
* Own-face extensions. Use at most one expiry setting.
|
|
1011
|
-
*/
|
|
1012
|
-
praxis?: {
|
|
1013
|
-
/**
|
|
1014
|
-
* Lifetime in seconds after creation, from 3600 through 7776000. Send as the multipart field praxis[expires_in_seconds]; mutually exclusive with expires_after.
|
|
1015
|
-
*/
|
|
1016
|
-
expires_in_seconds?: number;
|
|
1017
|
-
};
|
|
1018
1027
|
};
|
|
1019
1028
|
/**
|
|
1020
1029
|
* OpenAIFile
|
|
@@ -1049,7 +1058,7 @@ export type OwnFileOpenAiFile = {
|
|
|
1049
1058
|
/**
|
|
1050
1059
|
* Upload purpose. Image references in conversations require user_data.
|
|
1051
1060
|
*/
|
|
1052
|
-
purpose: 'user_data' | '
|
|
1061
|
+
purpose: 'user_data' | 'vision';
|
|
1053
1062
|
/**
|
|
1054
1063
|
* Deprecated. The current status of the file, which can be either `uploaded`, `processed`, or `error`.
|
|
1055
1064
|
*
|
|
@@ -1147,9 +1156,9 @@ export type OwnFilePraxisCreateUpload = {
|
|
|
1147
1156
|
*/
|
|
1148
1157
|
mime_type: string;
|
|
1149
1158
|
/**
|
|
1150
|
-
* Use user_data for conversation attachments,
|
|
1159
|
+
* Use user_data for conversation attachments, or vision for PNG, JPEG, GIF and WebP images.
|
|
1151
1160
|
*/
|
|
1152
|
-
purpose: 'user_data' | '
|
|
1161
|
+
purpose: 'user_data' | 'vision';
|
|
1153
1162
|
/**
|
|
1154
1163
|
* Optional expiry policy for the resulting file; omission retains the file until deletion.
|
|
1155
1164
|
*/
|
|
@@ -1194,9 +1203,9 @@ export type OwnFilePraxisUpload = {
|
|
|
1194
1203
|
*/
|
|
1195
1204
|
filename: string;
|
|
1196
1205
|
/**
|
|
1197
|
-
* File purpose: user_data for conversation attachments,
|
|
1206
|
+
* File purpose: user_data for conversation attachments, vision for images.
|
|
1198
1207
|
*/
|
|
1199
|
-
purpose: 'user_data' | '
|
|
1208
|
+
purpose: 'user_data' | 'vision';
|
|
1200
1209
|
/**
|
|
1201
1210
|
* Upload state: pending accepts parts; completed has a file; cancelled was cancelled; expired exceeded its one-hour lifetime.
|
|
1202
1211
|
*/
|
|
@@ -4414,7 +4423,7 @@ export type AgentManaged179 = {
|
|
|
4414
4423
|
*/
|
|
4415
4424
|
input_tokens?: number;
|
|
4416
4425
|
/**
|
|
4417
|
-
*
|
|
4426
|
+
* Session total list-price cost in USD as a decimal string with exactly 6 decimals. Includes models, runtime and all other charged products attributed to this session; child-thread model cost is already included. The budget reads the same total. In-flight work may finish after the limit is reached.
|
|
4418
4427
|
*/
|
|
4419
4428
|
list_cost?: null | AgentManaged77;
|
|
4420
4429
|
/**
|
|
@@ -4426,18 +4435,15 @@ export type AgentManaged179 = {
|
|
|
4426
4435
|
*/
|
|
4427
4436
|
server_tool_use?: null | AgentManaged181;
|
|
4428
4437
|
/**
|
|
4429
|
-
*
|
|
4438
|
+
* USD list-price cost by product, as decimal strings with exactly 6 decimals. Values sum to list_cost.amount. router.llm is the larger of the live model meter and charged model facts; all other products use charged facts only.
|
|
4430
4439
|
*/
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
* Runtime cost in US dollars, decimal string with exactly 6 decimals.
|
|
4434
|
-
*/
|
|
4435
|
-
amount: string;
|
|
4436
|
-
/**
|
|
4437
|
-
* Always USD.
|
|
4438
|
-
*/
|
|
4439
|
-
currency: 'USD';
|
|
4440
|
+
cost_by_product?: {
|
|
4441
|
+
[key: string]: string;
|
|
4440
4442
|
};
|
|
4443
|
+
/**
|
|
4444
|
+
* Child-thread model cost in integer micro-USD, already included in list_cost. This is a subset, not an additional charge; it excludes child-thread runtime.
|
|
4445
|
+
*/
|
|
4446
|
+
subagent_cost_micro_usd?: number;
|
|
4441
4447
|
};
|
|
4442
4448
|
export type AgentManaged183 = {
|
|
4443
4449
|
[key: string]: null | string;
|
|
@@ -4864,7 +4870,11 @@ export type AgentManaged186 = {
|
|
|
4864
4870
|
*/
|
|
4865
4871
|
session_thread_id?: null | string;
|
|
4866
4872
|
};
|
|
4867
|
-
export type AgentManaged187 = {
|
|
4873
|
+
export type AgentManaged187 = unknown & {
|
|
4874
|
+
/**
|
|
4875
|
+
* With result=allow and full_access_available=true, switch this session to full access before allowing this call. Other values or ineligible active requests return 400. Repeated or late replies are successful no-ops.
|
|
4876
|
+
*/
|
|
4877
|
+
permission_mode?: 'yolo';
|
|
4868
4878
|
/**
|
|
4869
4879
|
* Unique identifier for this event.
|
|
4870
4880
|
*/
|
|
@@ -4885,10 +4895,9 @@ export type AgentManaged187 = {
|
|
|
4885
4895
|
*/
|
|
4886
4896
|
type: 'user.tool_confirmation';
|
|
4887
4897
|
/**
|
|
4888
|
-
*
|
|
4889
|
-
* result is 'deny'.
|
|
4898
|
+
* Feedback for a deny result, at most 4000 characters. Appended to the model-visible refusal and persisted on the confirmation; ExitPlanMode keeps its plan-feedback flow. Omit when no feedback is needed.
|
|
4890
4899
|
*/
|
|
4891
|
-
deny_message?:
|
|
4900
|
+
deny_message?: string;
|
|
4892
4901
|
/**
|
|
4893
4902
|
* A timestamp in RFC 3339 format
|
|
4894
4903
|
*/
|
|
@@ -5614,7 +5623,11 @@ export type AgentManaged250 = {
|
|
|
5614
5623
|
*/
|
|
5615
5624
|
session_thread_id?: null | string;
|
|
5616
5625
|
};
|
|
5617
|
-
export type AgentManaged251 = {
|
|
5626
|
+
export type AgentManaged251 = unknown & {
|
|
5627
|
+
/**
|
|
5628
|
+
* With result=allow and full_access_available=true, switch this session to full access before allowing this call. Other values or ineligible active requests return 400. Repeated or late replies are successful no-ops.
|
|
5629
|
+
*/
|
|
5630
|
+
permission_mode?: 'yolo';
|
|
5618
5631
|
/**
|
|
5619
5632
|
* UserToolConfirmationResult enum
|
|
5620
5633
|
*/
|
|
@@ -5631,10 +5644,39 @@ export type AgentManaged251 = {
|
|
|
5631
5644
|
*/
|
|
5632
5645
|
type: 'user.tool_confirmation';
|
|
5633
5646
|
/**
|
|
5634
|
-
*
|
|
5635
|
-
|
|
5647
|
+
* Feedback for a deny result, at most 4000 characters. Appended to the model-visible refusal and persisted on the confirmation; ExitPlanMode keeps its plan-feedback flow. Omit when no feedback is needed.
|
|
5648
|
+
*/
|
|
5649
|
+
deny_message?: string;
|
|
5650
|
+
/**
|
|
5651
|
+
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
5636
5652
|
*/
|
|
5637
|
-
|
|
5653
|
+
updated_permissions?: Array<{
|
|
5654
|
+
/**
|
|
5655
|
+
* add_rules adds the offered allow rules.
|
|
5656
|
+
*/
|
|
5657
|
+
type: 'add_rules';
|
|
5658
|
+
/**
|
|
5659
|
+
* allow grants permission for matching calls.
|
|
5660
|
+
*/
|
|
5661
|
+
behavior: 'allow';
|
|
5662
|
+
/**
|
|
5663
|
+
* agent shares the grant across a personal agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
5664
|
+
*/
|
|
5665
|
+
destination: 'agent' | 'session';
|
|
5666
|
+
/**
|
|
5667
|
+
* The complete set of rules from one offered suggestion, without changes.
|
|
5668
|
+
*/
|
|
5669
|
+
rules: Array<{
|
|
5670
|
+
/**
|
|
5671
|
+
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
5672
|
+
*/
|
|
5673
|
+
tool_name: string;
|
|
5674
|
+
/**
|
|
5675
|
+
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
5676
|
+
*/
|
|
5677
|
+
rule_content: string;
|
|
5678
|
+
}>;
|
|
5679
|
+
}>;
|
|
5638
5680
|
};
|
|
5639
5681
|
export type AgentManaged252 = {
|
|
5640
5682
|
/**
|
|
@@ -6098,6 +6140,18 @@ export type AgentSseEvent = ({
|
|
|
6098
6140
|
* Decoded JSON payload of this frame; its shape is selected by the event name.
|
|
6099
6141
|
*/
|
|
6100
6142
|
data?: {
|
|
6143
|
+
/**
|
|
6144
|
+
* Monotone permission-mode version, incremented once per mode update.
|
|
6145
|
+
*/
|
|
6146
|
+
permission_mode_version?: number;
|
|
6147
|
+
/**
|
|
6148
|
+
* The permission mode before this change, or null when none was selected.
|
|
6149
|
+
*/
|
|
6150
|
+
previous_permission_mode?: string | null;
|
|
6151
|
+
/**
|
|
6152
|
+
* The new native session permission mode; null restores configured tool policies.
|
|
6153
|
+
*/
|
|
6154
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
6101
6155
|
/**
|
|
6102
6156
|
* Unique identifier for this event.
|
|
6103
6157
|
*/
|
|
@@ -6270,6 +6324,10 @@ export type AgentSseEvent = ({
|
|
|
6270
6324
|
* Decoded JSON payload of this frame; its shape is selected by the event name.
|
|
6271
6325
|
*/
|
|
6272
6326
|
data?: {
|
|
6327
|
+
/**
|
|
6328
|
+
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
6329
|
+
*/
|
|
6330
|
+
full_access_available?: boolean;
|
|
6273
6331
|
/**
|
|
6274
6332
|
* Unique identifier for this event.
|
|
6275
6333
|
*/
|
|
@@ -6320,6 +6378,36 @@ export type AgentSseEvent = ({
|
|
|
6320
6378
|
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
6321
6379
|
*/
|
|
6322
6380
|
guarded_rule?: string;
|
|
6381
|
+
/**
|
|
6382
|
+
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
6383
|
+
*/
|
|
6384
|
+
permission_suggestions?: Array<{
|
|
6385
|
+
/**
|
|
6386
|
+
* add_rules adds the offered allow rules.
|
|
6387
|
+
*/
|
|
6388
|
+
type: 'add_rules';
|
|
6389
|
+
/**
|
|
6390
|
+
* allow grants permission for matching calls.
|
|
6391
|
+
*/
|
|
6392
|
+
behavior: 'allow';
|
|
6393
|
+
/**
|
|
6394
|
+
* agent shares the grant across a personal agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
6395
|
+
*/
|
|
6396
|
+
destination: 'agent' | 'session';
|
|
6397
|
+
/**
|
|
6398
|
+
* The complete set of rules from one offered suggestion, without changes.
|
|
6399
|
+
*/
|
|
6400
|
+
rules: Array<{
|
|
6401
|
+
/**
|
|
6402
|
+
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
6403
|
+
*/
|
|
6404
|
+
tool_name: string;
|
|
6405
|
+
/**
|
|
6406
|
+
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
6407
|
+
*/
|
|
6408
|
+
rule_content: string;
|
|
6409
|
+
}>;
|
|
6410
|
+
}>;
|
|
6323
6411
|
};
|
|
6324
6412
|
} | {
|
|
6325
6413
|
/**
|
|
@@ -6368,6 +6456,10 @@ export type AgentSseEvent = ({
|
|
|
6368
6456
|
* Decoded JSON payload of this frame; its shape is selected by the event name.
|
|
6369
6457
|
*/
|
|
6370
6458
|
data?: {
|
|
6459
|
+
/**
|
|
6460
|
+
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
6461
|
+
*/
|
|
6462
|
+
full_access_available?: boolean;
|
|
6371
6463
|
/**
|
|
6372
6464
|
* Unique identifier for this event.
|
|
6373
6465
|
*/
|
|
@@ -6454,6 +6546,36 @@ export type AgentSseEvent = ({
|
|
|
6454
6546
|
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
6455
6547
|
*/
|
|
6456
6548
|
guarded_rule?: string;
|
|
6549
|
+
/**
|
|
6550
|
+
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
6551
|
+
*/
|
|
6552
|
+
permission_suggestions?: Array<{
|
|
6553
|
+
/**
|
|
6554
|
+
* add_rules adds the offered allow rules.
|
|
6555
|
+
*/
|
|
6556
|
+
type: 'add_rules';
|
|
6557
|
+
/**
|
|
6558
|
+
* allow grants permission for matching calls.
|
|
6559
|
+
*/
|
|
6560
|
+
behavior: 'allow';
|
|
6561
|
+
/**
|
|
6562
|
+
* agent shares the grant across a personal agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
6563
|
+
*/
|
|
6564
|
+
destination: 'agent' | 'session';
|
|
6565
|
+
/**
|
|
6566
|
+
* The complete set of rules from one offered suggestion, without changes.
|
|
6567
|
+
*/
|
|
6568
|
+
rules: Array<{
|
|
6569
|
+
/**
|
|
6570
|
+
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
6571
|
+
*/
|
|
6572
|
+
tool_name: string;
|
|
6573
|
+
/**
|
|
6574
|
+
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
6575
|
+
*/
|
|
6576
|
+
rule_content: string;
|
|
6577
|
+
}>;
|
|
6578
|
+
}>;
|
|
6457
6579
|
/**
|
|
6458
6580
|
* Human-readable tool name from MCP 2025-06-18 Tool.title, falling back to annotations.title. Trimmed and truncated to 200 characters; omitted when blank or absent. Present only for model-initiated calls on /agent/v1; use name when absent.
|
|
6459
6581
|
*/
|
|
@@ -8595,7 +8717,7 @@ export type AutomationAutomationProblemDetails = {
|
|
|
8595
8717
|
title: string;
|
|
8596
8718
|
status: number;
|
|
8597
8719
|
detail: string;
|
|
8598
|
-
code: 'METHOD_NOT_ALLOWED' | 'TRIGGER_NOT_FOUND' | 'SCHEDULE_INVALID' | 'TIMEZONE_INVALID' | 'INTERVAL_TOO_SHORT' | 'TRIGGER_MANAGED' | 'TRIGGER_PAUSED' | 'TRIGGER_LIMIT' | 'ACTION_NOT_FOUND' | 'TARGET_NOT_FOUND' | 'VERSION_NOT_FOUND' | 'RUN_NOT_FOUND' | 'WAIT_NOT_FOUND' | 'NAME_TAKEN' | 'VERSION_EXISTS' | 'RUN_INVALID_STATE' | 'IDEMPOTENCY_IN_FLIGHT' | 'TARGET_ARCHIVED' | 'OPERATION_NOT_SUPPORTED' | 'WAIT_ALREADY_RESOLVED' | 'WAIT_EXPIRED' | 'PRECONDITION_FAILED' | 'PAYLOAD_TOO_LARGE' | 'SCHEMA_INCOMPATIBLE' | 'IDEMPOTENCY_KEY_MISMATCH' | 'NO_MATCHING_VERSION' | 'CYCLE_DETECTED' | 'DEFINITION_IDENTITY_MISMATCH' | 'DEFINITION_INVALID' | 'INPUT_INVALID' | 'TAG_INVALID' | 'TAG_REQUIRED' | 'INVALID_PARAMS' | 'NAMESPACE_FORBIDDEN' | 'OWNER_SUSPENDED' | 'RATE_LIMITED' | 'QUOTA_EXCEEDED' | 'SCRIPT_ERROR' | 'OUTPUT_INVALID' | 'CPU_LIMIT_EXCEEDED' | 'NOT_IMPLEMENTED';
|
|
8720
|
+
code: 'METHOD_NOT_ALLOWED' | 'TRIGGER_NOT_FOUND' | 'SCHEDULE_INVALID' | 'TIMEZONE_INVALID' | 'INTERVAL_TOO_SHORT' | 'TRIGGER_MANAGED' | 'TRIGGER_PAUSED' | 'TRIGGER_LIMIT' | 'ACTION_NOT_FOUND' | 'TARGET_NOT_FOUND' | 'VERSION_NOT_FOUND' | 'RUN_NOT_FOUND' | 'WAIT_NOT_FOUND' | 'NAME_TAKEN' | 'VERSION_EXISTS' | 'RUN_INVALID_STATE' | 'IDEMPOTENCY_IN_FLIGHT' | 'TARGET_ARCHIVED' | 'OPERATION_NOT_SUPPORTED' | 'WAIT_ALREADY_RESOLVED' | 'WAIT_EXPIRED' | 'PRECONDITION_FAILED' | 'PAYLOAD_TOO_LARGE' | 'SCHEMA_INCOMPATIBLE' | 'IDEMPOTENCY_KEY_MISMATCH' | 'NO_MATCHING_VERSION' | 'CYCLE_DETECTED' | 'DEFINITION_IDENTITY_MISMATCH' | 'DEFINITION_INVALID' | 'INPUT_INVALID' | 'TAG_INVALID' | 'TAG_REQUIRED' | 'INVALID_PARAMS' | 'NAMESPACE_FORBIDDEN' | 'OWNER_SUSPENDED' | 'RATE_LIMITED' | 'QUOTA_EXCEEDED' | 'SCRIPT_ERROR' | 'OUTPUT_INVALID' | 'CPU_LIMIT_EXCEEDED' | 'NOT_IMPLEMENTED' | 'HUMAN_TASK_NOT_FOUND' | 'TASK_CLOSED' | 'ALREADY_RESPONDED' | 'NOT_ASSIGNED' | 'SELF_APPROVAL' | 'AGENT_NOT_ALLOWED' | 'COMMENT_REQUIRED' | 'INVALID_ACTION' | 'INVALID_VALUES' | 'HUMAN_TASK_CANCELLED';
|
|
8599
8721
|
errors: Array<AutomationDiagnostic>;
|
|
8600
8722
|
issues: Array<AutomationCompatIssue>;
|
|
8601
8723
|
hint: string | null;
|
|
@@ -9467,7 +9589,7 @@ export type AutomationRun = {
|
|
|
9467
9589
|
*/
|
|
9468
9590
|
attach: null | 'wait' | 'detach';
|
|
9469
9591
|
/**
|
|
9470
|
-
* Deadline of the run (RFC 3339 UTC): creation time plus deadline_seconds (scripts default to and are capped at 300 seconds; workflows default to 86400 and are capped at
|
|
9592
|
+
* Deadline of the run (RFC 3339 UTC): creation time plus deadline_seconds (scripts default to and are capped at 300 seconds; workflows default to 86400 and are capped at 2592000 (30 days)), and an awaited child ends at least 1 second before its parent's deadline.
|
|
9471
9593
|
*/
|
|
9472
9594
|
deadline_at: string;
|
|
9473
9595
|
/**
|
|
@@ -9661,7 +9783,7 @@ export type AutomationExpandedRun = {
|
|
|
9661
9783
|
*/
|
|
9662
9784
|
attach: null | 'wait' | 'detach';
|
|
9663
9785
|
/**
|
|
9664
|
-
* Deadline of the run (RFC 3339 UTC): creation time plus deadline_seconds (scripts default to and are capped at 300 seconds; workflows default to 86400 and are capped at
|
|
9786
|
+
* Deadline of the run (RFC 3339 UTC): creation time plus deadline_seconds (scripts default to and are capped at 300 seconds; workflows default to 86400 and are capped at 2592000 (30 days)), and an awaited child ends at least 1 second before its parent's deadline.
|
|
9665
9787
|
*/
|
|
9666
9788
|
deadline_at: string;
|
|
9667
9789
|
/**
|
|
@@ -10612,6 +10734,183 @@ export type AutomationTriggerPreview = {
|
|
|
10612
10734
|
*/
|
|
10613
10735
|
next_fire_times: Array<string>;
|
|
10614
10736
|
};
|
|
10737
|
+
export type AutomationHumanTaskStatus = 'open' | 'completed' | 'expired' | 'cancelled';
|
|
10738
|
+
export type AutomationHumanTask = {
|
|
10739
|
+
/**
|
|
10740
|
+
* Human task ID (htask_), derived deterministically from the run and step; use it with retrieve, respond, cancel and delegate. The Console page is /automation/tasks/{id}.
|
|
10741
|
+
*/
|
|
10742
|
+
id: string;
|
|
10743
|
+
/**
|
|
10744
|
+
* ID of the organization that owns the task.
|
|
10745
|
+
*/
|
|
10746
|
+
owner: string;
|
|
10747
|
+
/**
|
|
10748
|
+
* ID of the workflow run (run_) that opened the task; the run continues once the task closes.
|
|
10749
|
+
*/
|
|
10750
|
+
run_id: string;
|
|
10751
|
+
/**
|
|
10752
|
+
* The published workflow of the run; null for an ad hoc run.
|
|
10753
|
+
*/
|
|
10754
|
+
workflow: {
|
|
10755
|
+
/**
|
|
10756
|
+
* Workflow namespace.
|
|
10757
|
+
*/
|
|
10758
|
+
namespace: string;
|
|
10759
|
+
/**
|
|
10760
|
+
* Workflow name.
|
|
10761
|
+
*/
|
|
10762
|
+
name: string;
|
|
10763
|
+
} | null;
|
|
10764
|
+
/**
|
|
10765
|
+
* JSON Pointer of the approval step in the workflow source, for example /do/1/approveRefund.
|
|
10766
|
+
*/
|
|
10767
|
+
task_reference: string;
|
|
10768
|
+
/**
|
|
10769
|
+
* ID of the run's wait (wait_htask_); it closes only through respond, never through the run wait completion endpoint.
|
|
10770
|
+
*/
|
|
10771
|
+
wait_id: string;
|
|
10772
|
+
/**
|
|
10773
|
+
* Task kind; currently only approval.
|
|
10774
|
+
*/
|
|
10775
|
+
kind: 'approval';
|
|
10776
|
+
/**
|
|
10777
|
+
* Approval title, at most 200 characters.
|
|
10778
|
+
*/
|
|
10779
|
+
title: string;
|
|
10780
|
+
/**
|
|
10781
|
+
* Markdown details for the assignees, up to 16 KiB; empty string when not given.
|
|
10782
|
+
*/
|
|
10783
|
+
body: string;
|
|
10784
|
+
/**
|
|
10785
|
+
* JSON context the workflow attached (for example the order), up to 32 KiB; null when not given.
|
|
10786
|
+
*/
|
|
10787
|
+
context: AutomationJsonValue;
|
|
10788
|
+
/**
|
|
10789
|
+
* The 1–6 buttons an assignee chooses from; defaults to approve and reject.
|
|
10790
|
+
*/
|
|
10791
|
+
actions: Array<AutomationHumanTaskAction>;
|
|
10792
|
+
/**
|
|
10793
|
+
* The form an assignee fills in (a JSON Schema subset - an object with at most 30 string, number, integer, boolean or enum fields); null when there is no form.
|
|
10794
|
+
*/
|
|
10795
|
+
form_schema: AutomationJsonObject | null;
|
|
10796
|
+
/**
|
|
10797
|
+
* The assignees.
|
|
10798
|
+
*/
|
|
10799
|
+
assignees: {
|
|
10800
|
+
/**
|
|
10801
|
+
* Assignee user IDs, 1–20; sequential mode follows this order. Delegation replaces an entry in place.
|
|
10802
|
+
*/
|
|
10803
|
+
users: Array<string>;
|
|
10804
|
+
/**
|
|
10805
|
+
* Group assignment; not supported yet, always an empty array.
|
|
10806
|
+
*/
|
|
10807
|
+
groups: Array<string>;
|
|
10808
|
+
};
|
|
10809
|
+
/**
|
|
10810
|
+
* Decision rule. any: the first response decides. all: everyone must respond and any rejection rejects at once. quorum: quorum approvals approve, and it rejects once that many approvals are no longer possible. sequential: assignees respond in users order; any rejection rejects at once and the last approval approves.
|
|
10811
|
+
*/
|
|
10812
|
+
mode: 'any' | 'all' | 'quorum' | 'sequential';
|
|
10813
|
+
/**
|
|
10814
|
+
* Number of approvals required in quorum mode; null in other modes.
|
|
10815
|
+
*/
|
|
10816
|
+
quorum: number | null;
|
|
10817
|
+
/**
|
|
10818
|
+
* When true, the person who started the run may respond to their own request; false by default.
|
|
10819
|
+
*/
|
|
10820
|
+
allow_self_approval: boolean;
|
|
10821
|
+
/**
|
|
10822
|
+
* When true, an agent (agent session or run token) may respond; false by default.
|
|
10823
|
+
*/
|
|
10824
|
+
allow_agent_decision: boolean;
|
|
10825
|
+
/**
|
|
10826
|
+
* The subject that started the run.
|
|
10827
|
+
*/
|
|
10828
|
+
initiator: {
|
|
10829
|
+
/**
|
|
10830
|
+
* Initiator type: user, api_key, agent, run (a parent run) or trigger.
|
|
10831
|
+
*/
|
|
10832
|
+
type: 'user' | 'api_key' | 'agent' | 'run' | 'trigger';
|
|
10833
|
+
/**
|
|
10834
|
+
* Initiator ID.
|
|
10835
|
+
*/
|
|
10836
|
+
id: string;
|
|
10837
|
+
/**
|
|
10838
|
+
* The user behind the initiator (the owner of an API key or trigger), null when unknown; the self-approval rule uses it.
|
|
10839
|
+
*/
|
|
10840
|
+
user_id: string | null;
|
|
10841
|
+
};
|
|
10842
|
+
/**
|
|
10843
|
+
* Due time (RFC 3339); defaults to 3 days after creation, at most 30 days and never later than the run's deadline. on_timeout applies when it passes.
|
|
10844
|
+
*/
|
|
10845
|
+
due_at: string;
|
|
10846
|
+
/**
|
|
10847
|
+
* What happens at due_at.
|
|
10848
|
+
*/
|
|
10849
|
+
on_timeout: {
|
|
10850
|
+
/**
|
|
10851
|
+
* reject: the workflow receives decision timeout:reject. approve: it receives timeout:approve. fault (default): the step raises a timeout error that try/catch can catch.
|
|
10852
|
+
*/
|
|
10853
|
+
action: 'reject' | 'approve' | 'fault';
|
|
10854
|
+
};
|
|
10855
|
+
/**
|
|
10856
|
+
* Reminder intervals (ISO 8601 durations, up to 3); stored, not yet sent in this version.
|
|
10857
|
+
*/
|
|
10858
|
+
remind: Array<string>;
|
|
10859
|
+
/**
|
|
10860
|
+
* Notification channels: console or email; stored, delivery is not wired yet.
|
|
10861
|
+
*/
|
|
10862
|
+
channels: Array<'console' | 'email'>;
|
|
10863
|
+
/**
|
|
10864
|
+
* An agent's proposal (any JSON up to 32 KiB) for the assignees to consider; null when not given.
|
|
10865
|
+
*/
|
|
10866
|
+
proposal: AutomationJsonValue;
|
|
10867
|
+
/**
|
|
10868
|
+
* open: awaiting responses. completed: decided. expired: due_at passed. cancelled: withdrawn, including automatically when the run ended.
|
|
10869
|
+
*/
|
|
10870
|
+
status: AutomationHumanTaskStatus;
|
|
10871
|
+
/**
|
|
10872
|
+
* Responses submitted so far, in order.
|
|
10873
|
+
*/
|
|
10874
|
+
responses: Array<AutomationHumanTaskResponse>;
|
|
10875
|
+
/**
|
|
10876
|
+
* The decision, which is also the workflow step's output; null while open, and after a fault timeout or cancellation.
|
|
10877
|
+
*/
|
|
10878
|
+
outcome: AutomationHumanTaskOutcome | null;
|
|
10879
|
+
/**
|
|
10880
|
+
* Creation time (RFC 3339).
|
|
10881
|
+
*/
|
|
10882
|
+
created_at: string;
|
|
10883
|
+
/**
|
|
10884
|
+
* Last change time (RFC 3339).
|
|
10885
|
+
*/
|
|
10886
|
+
updated_at: string;
|
|
10887
|
+
};
|
|
10888
|
+
export type AutomationHumanTaskRespondInput = {
|
|
10889
|
+
/**
|
|
10890
|
+
* The chosen action ID from the task's actions, for example approve.
|
|
10891
|
+
*/
|
|
10892
|
+
action_id: string;
|
|
10893
|
+
/**
|
|
10894
|
+
* Form values matching the task's form_schema; omit or pass {} when there is no form.
|
|
10895
|
+
*/
|
|
10896
|
+
values?: AutomationJsonObject;
|
|
10897
|
+
/**
|
|
10898
|
+
* Comment of at most 4000 characters; required when the action has require_comment true.
|
|
10899
|
+
*/
|
|
10900
|
+
comment?: string;
|
|
10901
|
+
};
|
|
10902
|
+
export type AutomationHumanTaskCancelInput = {
|
|
10903
|
+
/**
|
|
10904
|
+
* Optional cancellation reason, at most 500 characters.
|
|
10905
|
+
*/
|
|
10906
|
+
reason?: string;
|
|
10907
|
+
};
|
|
10908
|
+
export type AutomationHumanTaskDelegateInput = {
|
|
10909
|
+
/**
|
|
10910
|
+
* User ID taking over; cannot already be an assignee, nor the initiator unless self-approval is allowed.
|
|
10911
|
+
*/
|
|
10912
|
+
to_user: string;
|
|
10913
|
+
};
|
|
10615
10914
|
export type DatabaseCreateDatabaseInput = {
|
|
10616
10915
|
/**
|
|
10617
10916
|
* Display name for the database: 1–64 visible characters after trimming; control characters are rejected. It is not an identifier, so later calls still use the returned id.
|
|
@@ -10776,7 +11075,7 @@ export type DatabaseNewField = {
|
|
|
10776
11075
|
*/
|
|
10777
11076
|
unique?: boolean;
|
|
10778
11077
|
/**
|
|
10779
|
-
* Whether to maintain an index for faster filters and ordering. Defaults to
|
|
11078
|
+
* Whether to maintain an index for faster filters and ordering. Defaults to false and is not allowed for json and link fields. At most 16 indexed or unique fields per table.
|
|
10780
11079
|
*/
|
|
10781
11080
|
indexed?: boolean;
|
|
10782
11081
|
/**
|
|
@@ -10811,7 +11110,7 @@ export type DatabaseNewField = {
|
|
|
10811
11110
|
*/
|
|
10812
11111
|
unique?: boolean;
|
|
10813
11112
|
/**
|
|
10814
|
-
* Whether to maintain an index for faster filters and ordering. Defaults to
|
|
11113
|
+
* Whether to maintain an index for faster filters and ordering. Defaults to false and is not allowed for json and link fields. At most 16 indexed or unique fields per table.
|
|
10815
11114
|
*/
|
|
10816
11115
|
indexed?: boolean;
|
|
10817
11116
|
/**
|
|
@@ -10851,7 +11150,7 @@ export type DatabaseNewField = {
|
|
|
10851
11150
|
*/
|
|
10852
11151
|
unique?: boolean;
|
|
10853
11152
|
/**
|
|
10854
|
-
* Whether to maintain an index for faster filters and ordering. Defaults to
|
|
11153
|
+
* Whether to maintain an index for faster filters and ordering. Defaults to false and is not allowed for json and link fields. At most 16 indexed or unique fields per table.
|
|
10855
11154
|
*/
|
|
10856
11155
|
indexed?: boolean;
|
|
10857
11156
|
/**
|
|
@@ -11557,7 +11856,7 @@ export type MediaLibrary = {
|
|
|
11557
11856
|
};
|
|
11558
11857
|
export type MediaMediaError = {
|
|
11559
11858
|
error: {
|
|
11560
|
-
code: 'LIBRARY_NOT_FOUND' | 'ASSET_NOT_FOUND' | 'JOB_NOT_FOUND' | 'UNDERSTANDING_NOT_FOUND' | 'LIBRARY_INVALID_STATE' | 'INVALID_PARAMS' | 'INVALID_EXPRESSION' | 'UNSUPPORTED' | 'NOT_IMPLEMENTED' | 'FILE_TOO_LARGE' | 'FILE_EMPTY' | 'UNSUPPORTED_MEDIA' | 'FETCH_FAILED' | 'LIMIT_EXCEEDED' | 'CHUNK_INVALID' | 'RATE_LIMITED' | 'CAPACITY' | 'UPSTREAM_FAILED';
|
|
11859
|
+
code: 'LIBRARY_NOT_FOUND' | 'ASSET_NOT_FOUND' | 'JOB_NOT_FOUND' | 'UNDERSTANDING_NOT_FOUND' | 'LIBRARY_INVALID_STATE' | 'INVALID_PARAMS' | 'INVALID_EXPRESSION' | 'UNSUPPORTED' | 'NOT_IMPLEMENTED' | 'FILE_TOO_LARGE' | 'FILE_EMPTY' | 'UNSUPPORTED_MEDIA' | 'FETCH_FAILED' | 'LIMIT_EXCEEDED' | 'CHUNK_INVALID' | 'RATE_LIMITED' | 'CAPACITY' | 'UPSTREAM_FAILED' | 'BINDING_READ_ONLY';
|
|
11561
11860
|
message: string;
|
|
11562
11861
|
details: string | null;
|
|
11563
11862
|
};
|
|
@@ -11690,6 +11989,9 @@ export type MediaAsset = {
|
|
|
11690
11989
|
* Source audio or video duration in seconds, when known.
|
|
11691
11990
|
*/
|
|
11692
11991
|
duration?: number;
|
|
11992
|
+
/**
|
|
11993
|
+
* Number of pages recorded for the asset; omitted when no page count is stored.
|
|
11994
|
+
*/
|
|
11693
11995
|
pages?: number;
|
|
11694
11996
|
/**
|
|
11695
11997
|
* True for audio-only media, which uses resource_type video.
|
|
@@ -11730,6 +12032,9 @@ export type MediaAsset = {
|
|
|
11730
12032
|
* False because this response represents stored source content.
|
|
11731
12033
|
*/
|
|
11732
12034
|
placeholder: false;
|
|
12035
|
+
/**
|
|
12036
|
+
* True when overwrite is false and the public_id already exists; the existing resource is returned.
|
|
12037
|
+
*/
|
|
11733
12038
|
existing?: boolean;
|
|
11734
12039
|
/**
|
|
11735
12040
|
* Progress of understanding and embedding tasks for the asset.
|
|
@@ -13557,7 +13862,7 @@ export type OwnFileFileExpirationAfter = {
|
|
|
13557
13862
|
*/
|
|
13558
13863
|
anchor: 'created_at';
|
|
13559
13864
|
/**
|
|
13560
|
-
* Lifetime in seconds after creation, from 3600 through
|
|
13865
|
+
* Lifetime in seconds after creation, from 3600 through 7776000. Send as expires_after[seconds].
|
|
13561
13866
|
*/
|
|
13562
13867
|
seconds: number;
|
|
13563
13868
|
};
|
|
@@ -18815,7 +19120,7 @@ export type AgentManaged249 = {
|
|
|
18815
19120
|
*/
|
|
18816
19121
|
input_tokens?: number;
|
|
18817
19122
|
/**
|
|
18818
|
-
*
|
|
19123
|
+
* Session total list-price cost in USD as a decimal string with exactly 6 decimals. Includes models, runtime and all other charged products attributed to this session; child-thread model cost is already included. The budget reads the same total. In-flight work may finish after the limit is reached.
|
|
18819
19124
|
*/
|
|
18820
19125
|
list_cost?: AgentManaged77;
|
|
18821
19126
|
/**
|
|
@@ -19143,6 +19448,18 @@ export type AgentSseData = {
|
|
|
19143
19448
|
*/
|
|
19144
19449
|
stopped: boolean;
|
|
19145
19450
|
} | {
|
|
19451
|
+
/**
|
|
19452
|
+
* Monotone permission-mode version, incremented once per mode update.
|
|
19453
|
+
*/
|
|
19454
|
+
permission_mode_version?: number;
|
|
19455
|
+
/**
|
|
19456
|
+
* The permission mode before this change, or null when none was selected.
|
|
19457
|
+
*/
|
|
19458
|
+
previous_permission_mode?: string | null;
|
|
19459
|
+
/**
|
|
19460
|
+
* The new native session permission mode; null restores configured tool policies.
|
|
19461
|
+
*/
|
|
19462
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
19146
19463
|
/**
|
|
19147
19464
|
* Unique identifier for this event.
|
|
19148
19465
|
*/
|
|
@@ -19270,6 +19587,10 @@ export type AgentSseData = {
|
|
|
19270
19587
|
*/
|
|
19271
19588
|
type: 'span.model_request_end';
|
|
19272
19589
|
} | {
|
|
19590
|
+
/**
|
|
19591
|
+
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
19592
|
+
*/
|
|
19593
|
+
full_access_available?: boolean;
|
|
19273
19594
|
/**
|
|
19274
19595
|
* Unique identifier for this event.
|
|
19275
19596
|
*/
|
|
@@ -19320,6 +19641,36 @@ export type AgentSseData = {
|
|
|
19320
19641
|
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
19321
19642
|
*/
|
|
19322
19643
|
guarded_rule?: string;
|
|
19644
|
+
/**
|
|
19645
|
+
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
19646
|
+
*/
|
|
19647
|
+
permission_suggestions?: Array<{
|
|
19648
|
+
/**
|
|
19649
|
+
* add_rules adds the offered allow rules.
|
|
19650
|
+
*/
|
|
19651
|
+
type: 'add_rules';
|
|
19652
|
+
/**
|
|
19653
|
+
* allow grants permission for matching calls.
|
|
19654
|
+
*/
|
|
19655
|
+
behavior: 'allow';
|
|
19656
|
+
/**
|
|
19657
|
+
* agent shares the grant across a personal agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
19658
|
+
*/
|
|
19659
|
+
destination: 'agent' | 'session';
|
|
19660
|
+
/**
|
|
19661
|
+
* The complete set of rules from one offered suggestion, without changes.
|
|
19662
|
+
*/
|
|
19663
|
+
rules: Array<{
|
|
19664
|
+
/**
|
|
19665
|
+
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
19666
|
+
*/
|
|
19667
|
+
tool_name: string;
|
|
19668
|
+
/**
|
|
19669
|
+
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
19670
|
+
*/
|
|
19671
|
+
rule_content: string;
|
|
19672
|
+
}>;
|
|
19673
|
+
}>;
|
|
19323
19674
|
} | {
|
|
19324
19675
|
/**
|
|
19325
19676
|
* Unique identifier for this event.
|
|
@@ -19350,6 +19701,10 @@ export type AgentSseData = {
|
|
|
19350
19701
|
*/
|
|
19351
19702
|
run_id: string | null;
|
|
19352
19703
|
} | {
|
|
19704
|
+
/**
|
|
19705
|
+
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
19706
|
+
*/
|
|
19707
|
+
full_access_available?: boolean;
|
|
19353
19708
|
/**
|
|
19354
19709
|
* Unique identifier for this event.
|
|
19355
19710
|
*/
|
|
@@ -19436,6 +19791,36 @@ export type AgentSseData = {
|
|
|
19436
19791
|
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
19437
19792
|
*/
|
|
19438
19793
|
guarded_rule?: string;
|
|
19794
|
+
/**
|
|
19795
|
+
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
19796
|
+
*/
|
|
19797
|
+
permission_suggestions?: Array<{
|
|
19798
|
+
/**
|
|
19799
|
+
* add_rules adds the offered allow rules.
|
|
19800
|
+
*/
|
|
19801
|
+
type: 'add_rules';
|
|
19802
|
+
/**
|
|
19803
|
+
* allow grants permission for matching calls.
|
|
19804
|
+
*/
|
|
19805
|
+
behavior: 'allow';
|
|
19806
|
+
/**
|
|
19807
|
+
* agent shares the grant across a personal agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
19808
|
+
*/
|
|
19809
|
+
destination: 'agent' | 'session';
|
|
19810
|
+
/**
|
|
19811
|
+
* The complete set of rules from one offered suggestion, without changes.
|
|
19812
|
+
*/
|
|
19813
|
+
rules: Array<{
|
|
19814
|
+
/**
|
|
19815
|
+
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
19816
|
+
*/
|
|
19817
|
+
tool_name: string;
|
|
19818
|
+
/**
|
|
19819
|
+
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
19820
|
+
*/
|
|
19821
|
+
rule_content: string;
|
|
19822
|
+
}>;
|
|
19823
|
+
}>;
|
|
19439
19824
|
/**
|
|
19440
19825
|
* Human-readable tool name from MCP 2025-06-18 Tool.title, falling back to annotations.title. Trimmed and truncated to 200 characters; omitted when blank or absent. Present only for model-initiated calls on /agent/v1; use name when absent.
|
|
19441
19826
|
*/
|
|
@@ -21115,6 +21500,72 @@ export type AutomationAttributedUsage = {
|
|
|
21115
21500
|
*/
|
|
21116
21501
|
pending_events: number;
|
|
21117
21502
|
};
|
|
21503
|
+
export type AutomationHumanTaskAction = {
|
|
21504
|
+
/**
|
|
21505
|
+
* Action ID to pass as action_id to respond; starts with a lowercase letter, at most 32 characters.
|
|
21506
|
+
*/
|
|
21507
|
+
id: string;
|
|
21508
|
+
/**
|
|
21509
|
+
* Button label.
|
|
21510
|
+
*/
|
|
21511
|
+
label: string;
|
|
21512
|
+
/**
|
|
21513
|
+
* primary: the main button. danger: a destructive button, which is the rejection in all, quorum and sequential modes. default: a plain button.
|
|
21514
|
+
*/
|
|
21515
|
+
style: 'primary' | 'danger' | 'default';
|
|
21516
|
+
/**
|
|
21517
|
+
* When true, choosing this action requires a comment.
|
|
21518
|
+
*/
|
|
21519
|
+
require_comment: boolean;
|
|
21520
|
+
};
|
|
21521
|
+
export type AutomationHumanTaskResponse = {
|
|
21522
|
+
/**
|
|
21523
|
+
* Who responded.
|
|
21524
|
+
*/
|
|
21525
|
+
actor: AutomationHumanTaskActor;
|
|
21526
|
+
/**
|
|
21527
|
+
* The chosen action ID.
|
|
21528
|
+
*/
|
|
21529
|
+
action_id: string;
|
|
21530
|
+
/**
|
|
21531
|
+
* Submitted form values; an empty object when there is no form.
|
|
21532
|
+
*/
|
|
21533
|
+
values: AutomationJsonObject;
|
|
21534
|
+
/**
|
|
21535
|
+
* Comment; null when none.
|
|
21536
|
+
*/
|
|
21537
|
+
comment: string | null;
|
|
21538
|
+
/**
|
|
21539
|
+
* Where it came from: console, api (the public API) or agent.
|
|
21540
|
+
*/
|
|
21541
|
+
via: 'console' | 'api' | 'agent';
|
|
21542
|
+
/**
|
|
21543
|
+
* Submission time (RFC 3339).
|
|
21544
|
+
*/
|
|
21545
|
+
at: string;
|
|
21546
|
+
};
|
|
21547
|
+
export type AutomationHumanTaskOutcome = {
|
|
21548
|
+
/**
|
|
21549
|
+
* The deciding action ID, or timeout:reject / timeout:approve when on_timeout decided.
|
|
21550
|
+
*/
|
|
21551
|
+
decision: string;
|
|
21552
|
+
/**
|
|
21553
|
+
* Form values of the deciding response; an empty object on timeout.
|
|
21554
|
+
*/
|
|
21555
|
+
values: AutomationJsonObject;
|
|
21556
|
+
/**
|
|
21557
|
+
* Comment of the deciding response; null on timeout.
|
|
21558
|
+
*/
|
|
21559
|
+
comment: string | null;
|
|
21560
|
+
/**
|
|
21561
|
+
* Who decided; null on timeout.
|
|
21562
|
+
*/
|
|
21563
|
+
decided_by: AutomationHumanTaskActor | null;
|
|
21564
|
+
/**
|
|
21565
|
+
* All responses at the time the task closed.
|
|
21566
|
+
*/
|
|
21567
|
+
responses: Array<AutomationHumanTaskResponse>;
|
|
21568
|
+
};
|
|
21118
21569
|
export type DatabaseField = {
|
|
21119
21570
|
/**
|
|
21120
21571
|
* Field identifier, prefixed fld_. Stable across renames; accepted wherever a field path parameter takes an id or name.
|
|
@@ -21627,6 +22078,9 @@ export type MediaCloudinaryResource = {
|
|
|
21627
22078
|
* Source audio or video duration in seconds, when known.
|
|
21628
22079
|
*/
|
|
21629
22080
|
duration?: number;
|
|
22081
|
+
/**
|
|
22082
|
+
* Number of pages recorded for the asset; omitted when no page count is stored.
|
|
22083
|
+
*/
|
|
21630
22084
|
pages?: number;
|
|
21631
22085
|
/**
|
|
21632
22086
|
* True for audio-only media, which uses resource_type video.
|
|
@@ -21764,6 +22218,9 @@ export type MediaUnderstanding = {
|
|
|
21764
22218
|
* Producer model identifier; a failure may use the configured model when no model response is available.
|
|
21765
22219
|
*/
|
|
21766
22220
|
producer: string;
|
|
22221
|
+
/**
|
|
22222
|
+
* Version of the producer that generated this understanding result.
|
|
22223
|
+
*/
|
|
21767
22224
|
producer_version: string;
|
|
21768
22225
|
/**
|
|
21769
22226
|
* Source-media time range for a frame or transcript segment; null for results without a segment.
|
|
@@ -21781,6 +22238,9 @@ export type MediaUnderstanding = {
|
|
|
21781
22238
|
* Structured producer output, such as recognized labels or frame details; null when absent.
|
|
21782
22239
|
*/
|
|
21783
22240
|
data: unknown | null;
|
|
22241
|
+
/**
|
|
22242
|
+
* Confidence value recorded by the producer; null when no confidence value is recorded.
|
|
22243
|
+
*/
|
|
21784
22244
|
confidence: number | null;
|
|
21785
22245
|
/**
|
|
21786
22246
|
* Failure code and message, or null for a successful result.
|
|
@@ -21864,6 +22324,9 @@ export type MediaSearchAsset = {
|
|
|
21864
22324
|
* Source audio or video duration in seconds, when known.
|
|
21865
22325
|
*/
|
|
21866
22326
|
duration?: number;
|
|
22327
|
+
/**
|
|
22328
|
+
* Number of pages recorded for the asset; omitted when no page count is stored.
|
|
22329
|
+
*/
|
|
21867
22330
|
pages?: number;
|
|
21868
22331
|
/**
|
|
21869
22332
|
* True for audio-only media, which uses resource_type video.
|
|
@@ -21904,6 +22367,9 @@ export type MediaSearchAsset = {
|
|
|
21904
22367
|
* False because this response represents stored source content.
|
|
21905
22368
|
*/
|
|
21906
22369
|
placeholder: false;
|
|
22370
|
+
/**
|
|
22371
|
+
* True when overwrite is false and the public_id already exists; the existing resource is returned.
|
|
22372
|
+
*/
|
|
21907
22373
|
existing?: boolean;
|
|
21908
22374
|
/**
|
|
21909
22375
|
* Progress of understanding and embedding tasks for the asset.
|
|
@@ -21948,7 +22414,7 @@ export type MediaSemanticHit = {
|
|
|
21948
22414
|
*/
|
|
21949
22415
|
asset: MediaAsset;
|
|
21950
22416
|
/**
|
|
21951
|
-
* Ranking score: cosine similarity for semantic or visual search; normalized rank-fusion score for hybrid search. Higher values rank first.
|
|
22417
|
+
* Ranking score: cosine similarity for semantic or visual search; normalized rank-fusion score for hybrid search. Higher values rank first; hybrid scores are not probabilities or confidence.
|
|
21952
22418
|
*/
|
|
21953
22419
|
score: number;
|
|
21954
22420
|
/**
|
|
@@ -21964,7 +22430,7 @@ export type MediaSemanticHit = {
|
|
|
21964
22430
|
* Identifier returned when a batch job is created.
|
|
21965
22431
|
*/
|
|
21966
22432
|
export type MediaJobId = string;
|
|
21967
|
-
export type MediaMediaErrorCode = 'LIBRARY_NOT_FOUND' | 'ASSET_NOT_FOUND' | 'JOB_NOT_FOUND' | 'UNDERSTANDING_NOT_FOUND' | 'LIBRARY_INVALID_STATE' | 'INVALID_PARAMS' | 'INVALID_EXPRESSION' | 'UNSUPPORTED' | 'NOT_IMPLEMENTED' | 'FILE_TOO_LARGE' | 'FILE_EMPTY' | 'UNSUPPORTED_MEDIA' | 'FETCH_FAILED' | 'LIMIT_EXCEEDED' | 'CHUNK_INVALID' | 'RATE_LIMITED' | 'CAPACITY' | 'UPSTREAM_FAILED';
|
|
22433
|
+
export type MediaMediaErrorCode = 'LIBRARY_NOT_FOUND' | 'ASSET_NOT_FOUND' | 'JOB_NOT_FOUND' | 'UNDERSTANDING_NOT_FOUND' | 'LIBRARY_INVALID_STATE' | 'INVALID_PARAMS' | 'INVALID_EXPRESSION' | 'UNSUPPORTED' | 'NOT_IMPLEMENTED' | 'FILE_TOO_LARGE' | 'FILE_EMPTY' | 'UNSUPPORTED_MEDIA' | 'FETCH_FAILED' | 'LIMIT_EXCEEDED' | 'CHUNK_INVALID' | 'RATE_LIMITED' | 'CAPACITY' | 'UPSTREAM_FAILED' | 'BINDING_READ_ONLY';
|
|
21968
22434
|
/**
|
|
21969
22435
|
* A recorded library event with a monotonically increasing sequence within that library.
|
|
21970
22436
|
*/
|
|
@@ -25978,6 +26444,20 @@ export type AgentManaged141 = {
|
|
|
25978
26444
|
*/
|
|
25979
26445
|
type?: 'packages';
|
|
25980
26446
|
};
|
|
26447
|
+
export type AutomationHumanTaskActor = {
|
|
26448
|
+
/**
|
|
26449
|
+
* The responder's user ID (for an agent, the user it acts for).
|
|
26450
|
+
*/
|
|
26451
|
+
id: string;
|
|
26452
|
+
/**
|
|
26453
|
+
* human: the person responded. agent: an agent responded on their behalf.
|
|
26454
|
+
*/
|
|
26455
|
+
kind: 'human' | 'agent';
|
|
26456
|
+
/**
|
|
26457
|
+
* Display name; this service does not resolve names, so it is null and the Console resolves it from the user ID.
|
|
26458
|
+
*/
|
|
26459
|
+
display_name: string | null;
|
|
26460
|
+
};
|
|
25981
26461
|
export type KnowledgeStaticChunking = {
|
|
25982
26462
|
/**
|
|
25983
26463
|
* static selects explicit chunk-size and overlap settings.
|
|
@@ -26034,6 +26514,9 @@ export type KnowledgeSearchExplain = {
|
|
|
26034
26514
|
*/
|
|
26035
26515
|
matched_terms: Array<string>;
|
|
26036
26516
|
};
|
|
26517
|
+
/**
|
|
26518
|
+
* Aggregate processing state across the asset processing tasks.
|
|
26519
|
+
*/
|
|
26037
26520
|
export type MediaProcessingState = 'pending' | 'processing' | 'ready' | 'partial' | 'failed';
|
|
26038
26521
|
/**
|
|
26039
26522
|
* Task state: pending awaits execution; running is executing; ready succeeded; failed terminated unsuccessfully; unsupported cannot process this input; skipped was disabled or does not apply.
|
|
@@ -28108,7 +28591,7 @@ export type UnarchiveAgentResponses = {
|
|
|
28108
28591
|
};
|
|
28109
28592
|
};
|
|
28110
28593
|
/**
|
|
28111
|
-
*
|
|
28594
|
+
* Coordinator roster. A bare string agent id is equivalent to {type: "agent", id}; omitting its version pins the referenced agent's current saved version when this roster is saved. {type: "self"} refers to this agent. Specify a concrete version to pin it explicitly.
|
|
28112
28595
|
*/
|
|
28113
28596
|
multiagent: null | {
|
|
28114
28597
|
/**
|
|
@@ -28632,12 +29115,15 @@ export type UnarchiveAgentResponses = {
|
|
|
28632
29115
|
*/
|
|
28633
29116
|
updated_at: string;
|
|
28634
29117
|
/**
|
|
28635
|
-
*
|
|
28636
|
-
* modified.
|
|
29118
|
+
* Version of this returned configuration. Default retrieve returns the effective version; an explicit version query or a version-history item returns that saved version.
|
|
28637
29119
|
*/
|
|
28638
29120
|
version: number;
|
|
28639
29121
|
/**
|
|
28640
|
-
*
|
|
29122
|
+
* Newest saved version number, including an unapplied save. Returned by default retrieve, update and apply; use it for optimistic concurrency when updating.
|
|
29123
|
+
*/
|
|
29124
|
+
latest_version?: number;
|
|
29125
|
+
/**
|
|
29126
|
+
* Agent-level currently effective version used by new sessions and newly issued embed tokens. This same value appears on every history item; it is not that item's version. Saving with apply false leaves it unchanged. Existing sessions and tokens retain their version.
|
|
28641
29127
|
*/
|
|
28642
29128
|
active_version: number;
|
|
28643
29129
|
/**
|
|
@@ -35464,7 +35950,7 @@ export type ForkSessionResponses = {
|
|
|
35464
35950
|
*/
|
|
35465
35951
|
input_tokens?: number;
|
|
35466
35952
|
/**
|
|
35467
|
-
*
|
|
35953
|
+
* Session total list-price cost in USD as a decimal string with exactly 6 decimals. Includes models, runtime and all other charged products attributed to this session; child-thread model cost is already included. The budget reads the same total. In-flight work may finish after the limit is reached.
|
|
35468
35954
|
*/
|
|
35469
35955
|
list_cost?: null | {
|
|
35470
35956
|
/**
|
|
@@ -35498,18 +35984,15 @@ export type ForkSessionResponses = {
|
|
|
35498
35984
|
web_search_requests?: number;
|
|
35499
35985
|
};
|
|
35500
35986
|
/**
|
|
35501
|
-
*
|
|
35987
|
+
* USD list-price cost by product, as decimal strings with exactly 6 decimals. Values sum to list_cost.amount. router.llm is the larger of the live model meter and charged model facts; all other products use charged facts only.
|
|
35502
35988
|
*/
|
|
35503
|
-
|
|
35504
|
-
|
|
35505
|
-
* Runtime cost in US dollars, decimal string with exactly 6 decimals.
|
|
35506
|
-
*/
|
|
35507
|
-
amount: string;
|
|
35508
|
-
/**
|
|
35509
|
-
* Always USD.
|
|
35510
|
-
*/
|
|
35511
|
-
currency: 'USD';
|
|
35989
|
+
cost_by_product?: {
|
|
35990
|
+
[key: string]: string;
|
|
35512
35991
|
};
|
|
35992
|
+
/**
|
|
35993
|
+
* Child-thread model cost in integer micro-USD, already included in list_cost. This is a subset, not an additional charge; it excludes child-thread runtime.
|
|
35994
|
+
*/
|
|
35995
|
+
subagent_cost_micro_usd?: number;
|
|
35513
35996
|
};
|
|
35514
35997
|
/**
|
|
35515
35998
|
* Vault IDs attached to the session at creation. Empty when no vaults were
|
|
@@ -36225,7 +36708,7 @@ export type BrowserListSessionsData = {
|
|
|
36225
36708
|
};
|
|
36226
36709
|
export type BrowserListSessionsErrors = {
|
|
36227
36710
|
/**
|
|
36228
|
-
* INVALID_PARAMS
|
|
36711
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
36229
36712
|
*/
|
|
36230
36713
|
400: BrowserError;
|
|
36231
36714
|
/**
|
|
@@ -36233,11 +36716,15 @@ export type BrowserListSessionsErrors = {
|
|
|
36233
36716
|
*/
|
|
36234
36717
|
401: BrowserError;
|
|
36235
36718
|
/**
|
|
36236
|
-
* INSUFFICIENT_BALANCE
|
|
36719
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
36237
36720
|
*/
|
|
36238
36721
|
402: BrowserError;
|
|
36239
36722
|
/**
|
|
36240
|
-
*
|
|
36723
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
36724
|
+
*/
|
|
36725
|
+
403: BrowserError;
|
|
36726
|
+
/**
|
|
36727
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
36241
36728
|
*/
|
|
36242
36729
|
404: BrowserError;
|
|
36243
36730
|
/**
|
|
@@ -36249,13 +36736,21 @@ export type BrowserListSessionsErrors = {
|
|
|
36249
36736
|
*/
|
|
36250
36737
|
429: BrowserError;
|
|
36251
36738
|
/**
|
|
36252
|
-
*
|
|
36739
|
+
* INTERNAL
|
|
36740
|
+
*/
|
|
36741
|
+
500: BrowserError;
|
|
36742
|
+
/**
|
|
36743
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
36253
36744
|
*/
|
|
36254
36745
|
501: BrowserError;
|
|
36255
36746
|
/**
|
|
36256
36747
|
* PROVIDER_FAILED
|
|
36257
36748
|
*/
|
|
36258
36749
|
502: BrowserError;
|
|
36750
|
+
/**
|
|
36751
|
+
* SERVICE_UNAVAILABLE
|
|
36752
|
+
*/
|
|
36753
|
+
503: BrowserError;
|
|
36259
36754
|
};
|
|
36260
36755
|
export type BrowserListSessionsError = BrowserListSessionsErrors[keyof BrowserListSessionsErrors];
|
|
36261
36756
|
export type BrowserListSessionsResponses = {
|
|
@@ -36282,7 +36777,7 @@ export type BrowserCreateSessionData = {
|
|
|
36282
36777
|
};
|
|
36283
36778
|
export type BrowserCreateSessionErrors = {
|
|
36284
36779
|
/**
|
|
36285
|
-
* INVALID_PARAMS
|
|
36780
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
36286
36781
|
*/
|
|
36287
36782
|
400: BrowserError;
|
|
36288
36783
|
/**
|
|
@@ -36290,11 +36785,15 @@ export type BrowserCreateSessionErrors = {
|
|
|
36290
36785
|
*/
|
|
36291
36786
|
401: BrowserError;
|
|
36292
36787
|
/**
|
|
36293
|
-
* INSUFFICIENT_BALANCE
|
|
36788
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
36294
36789
|
*/
|
|
36295
36790
|
402: BrowserError;
|
|
36296
36791
|
/**
|
|
36297
|
-
*
|
|
36792
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
36793
|
+
*/
|
|
36794
|
+
403: BrowserError;
|
|
36795
|
+
/**
|
|
36796
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
36298
36797
|
*/
|
|
36299
36798
|
404: BrowserError;
|
|
36300
36799
|
/**
|
|
@@ -36306,13 +36805,21 @@ export type BrowserCreateSessionErrors = {
|
|
|
36306
36805
|
*/
|
|
36307
36806
|
429: BrowserError;
|
|
36308
36807
|
/**
|
|
36309
|
-
*
|
|
36808
|
+
* INTERNAL
|
|
36809
|
+
*/
|
|
36810
|
+
500: BrowserError;
|
|
36811
|
+
/**
|
|
36812
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
36310
36813
|
*/
|
|
36311
36814
|
501: BrowserError;
|
|
36312
36815
|
/**
|
|
36313
36816
|
* PROVIDER_FAILED
|
|
36314
36817
|
*/
|
|
36315
36818
|
502: BrowserError;
|
|
36819
|
+
/**
|
|
36820
|
+
* SERVICE_UNAVAILABLE
|
|
36821
|
+
*/
|
|
36822
|
+
503: BrowserError;
|
|
36316
36823
|
};
|
|
36317
36824
|
export type BrowserCreateSessionError = BrowserCreateSessionErrors[keyof BrowserCreateSessionErrors];
|
|
36318
36825
|
export type BrowserCreateSessionResponses = {
|
|
@@ -36340,7 +36847,7 @@ export type BrowserGetSessionData = {
|
|
|
36340
36847
|
};
|
|
36341
36848
|
export type BrowserGetSessionErrors = {
|
|
36342
36849
|
/**
|
|
36343
|
-
* INVALID_PARAMS
|
|
36850
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
36344
36851
|
*/
|
|
36345
36852
|
400: BrowserError;
|
|
36346
36853
|
/**
|
|
@@ -36348,11 +36855,15 @@ export type BrowserGetSessionErrors = {
|
|
|
36348
36855
|
*/
|
|
36349
36856
|
401: BrowserError;
|
|
36350
36857
|
/**
|
|
36351
|
-
* INSUFFICIENT_BALANCE
|
|
36858
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
36352
36859
|
*/
|
|
36353
36860
|
402: BrowserError;
|
|
36354
36861
|
/**
|
|
36355
|
-
*
|
|
36862
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
36863
|
+
*/
|
|
36864
|
+
403: BrowserError;
|
|
36865
|
+
/**
|
|
36866
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
36356
36867
|
*/
|
|
36357
36868
|
404: BrowserError;
|
|
36358
36869
|
/**
|
|
@@ -36364,13 +36875,21 @@ export type BrowserGetSessionErrors = {
|
|
|
36364
36875
|
*/
|
|
36365
36876
|
429: BrowserError;
|
|
36366
36877
|
/**
|
|
36367
|
-
*
|
|
36878
|
+
* INTERNAL
|
|
36879
|
+
*/
|
|
36880
|
+
500: BrowserError;
|
|
36881
|
+
/**
|
|
36882
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
36368
36883
|
*/
|
|
36369
36884
|
501: BrowserError;
|
|
36370
36885
|
/**
|
|
36371
36886
|
* PROVIDER_FAILED
|
|
36372
36887
|
*/
|
|
36373
36888
|
502: BrowserError;
|
|
36889
|
+
/**
|
|
36890
|
+
* SERVICE_UNAVAILABLE
|
|
36891
|
+
*/
|
|
36892
|
+
503: BrowserError;
|
|
36374
36893
|
};
|
|
36375
36894
|
export type BrowserGetSessionError = BrowserGetSessionErrors[keyof BrowserGetSessionErrors];
|
|
36376
36895
|
export type BrowserGetSessionResponses = {
|
|
@@ -36398,7 +36917,7 @@ export type BrowserCloseSessionData = {
|
|
|
36398
36917
|
};
|
|
36399
36918
|
export type BrowserCloseSessionErrors = {
|
|
36400
36919
|
/**
|
|
36401
|
-
* INVALID_PARAMS
|
|
36920
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
36402
36921
|
*/
|
|
36403
36922
|
400: BrowserError;
|
|
36404
36923
|
/**
|
|
@@ -36406,11 +36925,15 @@ export type BrowserCloseSessionErrors = {
|
|
|
36406
36925
|
*/
|
|
36407
36926
|
401: BrowserError;
|
|
36408
36927
|
/**
|
|
36409
|
-
* INSUFFICIENT_BALANCE
|
|
36928
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
36410
36929
|
*/
|
|
36411
36930
|
402: BrowserError;
|
|
36412
36931
|
/**
|
|
36413
|
-
*
|
|
36932
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
36933
|
+
*/
|
|
36934
|
+
403: BrowserError;
|
|
36935
|
+
/**
|
|
36936
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
36414
36937
|
*/
|
|
36415
36938
|
404: BrowserError;
|
|
36416
36939
|
/**
|
|
@@ -36422,13 +36945,21 @@ export type BrowserCloseSessionErrors = {
|
|
|
36422
36945
|
*/
|
|
36423
36946
|
429: BrowserError;
|
|
36424
36947
|
/**
|
|
36425
|
-
*
|
|
36948
|
+
* INTERNAL
|
|
36949
|
+
*/
|
|
36950
|
+
500: BrowserError;
|
|
36951
|
+
/**
|
|
36952
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
36426
36953
|
*/
|
|
36427
36954
|
501: BrowserError;
|
|
36428
36955
|
/**
|
|
36429
36956
|
* PROVIDER_FAILED
|
|
36430
36957
|
*/
|
|
36431
36958
|
502: BrowserError;
|
|
36959
|
+
/**
|
|
36960
|
+
* SERVICE_UNAVAILABLE
|
|
36961
|
+
*/
|
|
36962
|
+
503: BrowserError;
|
|
36432
36963
|
};
|
|
36433
36964
|
export type BrowserCloseSessionError = BrowserCloseSessionErrors[keyof BrowserCloseSessionErrors];
|
|
36434
36965
|
export type BrowserCloseSessionResponses = {
|
|
@@ -36451,7 +36982,7 @@ export type BrowserGetDebugData = {
|
|
|
36451
36982
|
};
|
|
36452
36983
|
export type BrowserGetDebugErrors = {
|
|
36453
36984
|
/**
|
|
36454
|
-
* INVALID_PARAMS
|
|
36985
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
36455
36986
|
*/
|
|
36456
36987
|
400: BrowserError;
|
|
36457
36988
|
/**
|
|
@@ -36459,11 +36990,15 @@ export type BrowserGetDebugErrors = {
|
|
|
36459
36990
|
*/
|
|
36460
36991
|
401: BrowserError;
|
|
36461
36992
|
/**
|
|
36462
|
-
* INSUFFICIENT_BALANCE
|
|
36993
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
36463
36994
|
*/
|
|
36464
36995
|
402: BrowserError;
|
|
36465
36996
|
/**
|
|
36466
|
-
*
|
|
36997
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
36998
|
+
*/
|
|
36999
|
+
403: BrowserError;
|
|
37000
|
+
/**
|
|
37001
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
36467
37002
|
*/
|
|
36468
37003
|
404: BrowserError;
|
|
36469
37004
|
/**
|
|
@@ -36475,13 +37010,21 @@ export type BrowserGetDebugErrors = {
|
|
|
36475
37010
|
*/
|
|
36476
37011
|
429: BrowserError;
|
|
36477
37012
|
/**
|
|
36478
|
-
*
|
|
37013
|
+
* INTERNAL
|
|
37014
|
+
*/
|
|
37015
|
+
500: BrowserError;
|
|
37016
|
+
/**
|
|
37017
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
36479
37018
|
*/
|
|
36480
37019
|
501: BrowserError;
|
|
36481
37020
|
/**
|
|
36482
37021
|
* PROVIDER_FAILED
|
|
36483
37022
|
*/
|
|
36484
37023
|
502: BrowserError;
|
|
37024
|
+
/**
|
|
37025
|
+
* SERVICE_UNAVAILABLE
|
|
37026
|
+
*/
|
|
37027
|
+
503: BrowserError;
|
|
36485
37028
|
};
|
|
36486
37029
|
export type BrowserGetDebugError = BrowserGetDebugErrors[keyof BrowserGetDebugErrors];
|
|
36487
37030
|
export type BrowserGetDebugResponses = {
|
|
@@ -36517,7 +37060,7 @@ export type BrowserListEventsData = {
|
|
|
36517
37060
|
};
|
|
36518
37061
|
export type BrowserListEventsErrors = {
|
|
36519
37062
|
/**
|
|
36520
|
-
* INVALID_PARAMS
|
|
37063
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
36521
37064
|
*/
|
|
36522
37065
|
400: BrowserError;
|
|
36523
37066
|
/**
|
|
@@ -36525,11 +37068,15 @@ export type BrowserListEventsErrors = {
|
|
|
36525
37068
|
*/
|
|
36526
37069
|
401: BrowserError;
|
|
36527
37070
|
/**
|
|
36528
|
-
* INSUFFICIENT_BALANCE
|
|
37071
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
36529
37072
|
*/
|
|
36530
37073
|
402: BrowserError;
|
|
36531
37074
|
/**
|
|
36532
|
-
*
|
|
37075
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37076
|
+
*/
|
|
37077
|
+
403: BrowserError;
|
|
37078
|
+
/**
|
|
37079
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
36533
37080
|
*/
|
|
36534
37081
|
404: BrowserError;
|
|
36535
37082
|
/**
|
|
@@ -36541,13 +37088,21 @@ export type BrowserListEventsErrors = {
|
|
|
36541
37088
|
*/
|
|
36542
37089
|
429: BrowserError;
|
|
36543
37090
|
/**
|
|
36544
|
-
*
|
|
37091
|
+
* INTERNAL
|
|
37092
|
+
*/
|
|
37093
|
+
500: BrowserError;
|
|
37094
|
+
/**
|
|
37095
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
36545
37096
|
*/
|
|
36546
37097
|
501: BrowserError;
|
|
36547
37098
|
/**
|
|
36548
37099
|
* PROVIDER_FAILED
|
|
36549
37100
|
*/
|
|
36550
37101
|
502: BrowserError;
|
|
37102
|
+
/**
|
|
37103
|
+
* SERVICE_UNAVAILABLE
|
|
37104
|
+
*/
|
|
37105
|
+
503: BrowserError;
|
|
36551
37106
|
};
|
|
36552
37107
|
export type BrowserListEventsError = BrowserListEventsErrors[keyof BrowserListEventsErrors];
|
|
36553
37108
|
export type BrowserListEventsResponses = {
|
|
@@ -36588,7 +37143,7 @@ export type BrowserRequestHandoffData = {
|
|
|
36588
37143
|
};
|
|
36589
37144
|
export type BrowserRequestHandoffErrors = {
|
|
36590
37145
|
/**
|
|
36591
|
-
* INVALID_PARAMS
|
|
37146
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
36592
37147
|
*/
|
|
36593
37148
|
400: BrowserError;
|
|
36594
37149
|
/**
|
|
@@ -36596,11 +37151,15 @@ export type BrowserRequestHandoffErrors = {
|
|
|
36596
37151
|
*/
|
|
36597
37152
|
401: BrowserError;
|
|
36598
37153
|
/**
|
|
36599
|
-
* INSUFFICIENT_BALANCE
|
|
37154
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
36600
37155
|
*/
|
|
36601
37156
|
402: BrowserError;
|
|
36602
37157
|
/**
|
|
36603
|
-
*
|
|
37158
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37159
|
+
*/
|
|
37160
|
+
403: BrowserError;
|
|
37161
|
+
/**
|
|
37162
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
36604
37163
|
*/
|
|
36605
37164
|
404: BrowserError;
|
|
36606
37165
|
/**
|
|
@@ -36612,20 +37171,28 @@ export type BrowserRequestHandoffErrors = {
|
|
|
36612
37171
|
*/
|
|
36613
37172
|
429: BrowserError;
|
|
36614
37173
|
/**
|
|
36615
|
-
*
|
|
37174
|
+
* INTERNAL
|
|
37175
|
+
*/
|
|
37176
|
+
500: BrowserError;
|
|
37177
|
+
/**
|
|
37178
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
36616
37179
|
*/
|
|
36617
37180
|
501: BrowserError;
|
|
36618
37181
|
/**
|
|
36619
37182
|
* PROVIDER_FAILED
|
|
36620
37183
|
*/
|
|
36621
37184
|
502: BrowserError;
|
|
37185
|
+
/**
|
|
37186
|
+
* SERVICE_UNAVAILABLE
|
|
37187
|
+
*/
|
|
37188
|
+
503: BrowserError;
|
|
36622
37189
|
};
|
|
36623
37190
|
export type BrowserRequestHandoffError = BrowserRequestHandoffErrors[keyof BrowserRequestHandoffErrors];
|
|
36624
37191
|
export type BrowserRequestHandoffResponses = {
|
|
36625
37192
|
/**
|
|
36626
37193
|
* 请求成功。
|
|
36627
37194
|
*/
|
|
36628
|
-
|
|
37195
|
+
201: BrowserEventRecord;
|
|
36629
37196
|
};
|
|
36630
37197
|
export type BrowserRequestHandoffResponse = BrowserRequestHandoffResponses[keyof BrowserRequestHandoffResponses];
|
|
36631
37198
|
export type BrowserCompleteHandoffData = {
|
|
@@ -36641,7 +37208,7 @@ export type BrowserCompleteHandoffData = {
|
|
|
36641
37208
|
};
|
|
36642
37209
|
export type BrowserCompleteHandoffErrors = {
|
|
36643
37210
|
/**
|
|
36644
|
-
* INVALID_PARAMS
|
|
37211
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
36645
37212
|
*/
|
|
36646
37213
|
400: BrowserError;
|
|
36647
37214
|
/**
|
|
@@ -36649,11 +37216,15 @@ export type BrowserCompleteHandoffErrors = {
|
|
|
36649
37216
|
*/
|
|
36650
37217
|
401: BrowserError;
|
|
36651
37218
|
/**
|
|
36652
|
-
* INSUFFICIENT_BALANCE
|
|
37219
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
36653
37220
|
*/
|
|
36654
37221
|
402: BrowserError;
|
|
36655
37222
|
/**
|
|
36656
|
-
*
|
|
37223
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37224
|
+
*/
|
|
37225
|
+
403: BrowserError;
|
|
37226
|
+
/**
|
|
37227
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
36657
37228
|
*/
|
|
36658
37229
|
404: BrowserError;
|
|
36659
37230
|
/**
|
|
@@ -36665,13 +37236,21 @@ export type BrowserCompleteHandoffErrors = {
|
|
|
36665
37236
|
*/
|
|
36666
37237
|
429: BrowserError;
|
|
36667
37238
|
/**
|
|
36668
|
-
*
|
|
37239
|
+
* INTERNAL
|
|
37240
|
+
*/
|
|
37241
|
+
500: BrowserError;
|
|
37242
|
+
/**
|
|
37243
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
36669
37244
|
*/
|
|
36670
37245
|
501: BrowserError;
|
|
36671
37246
|
/**
|
|
36672
37247
|
* PROVIDER_FAILED
|
|
36673
37248
|
*/
|
|
36674
37249
|
502: BrowserError;
|
|
37250
|
+
/**
|
|
37251
|
+
* SERVICE_UNAVAILABLE
|
|
37252
|
+
*/
|
|
37253
|
+
503: BrowserError;
|
|
36675
37254
|
};
|
|
36676
37255
|
export type BrowserCompleteHandoffError = BrowserCompleteHandoffErrors[keyof BrowserCompleteHandoffErrors];
|
|
36677
37256
|
export type BrowserCompleteHandoffResponses = {
|
|
@@ -36699,7 +37278,7 @@ export type BrowserViewerHeartbeatData = {
|
|
|
36699
37278
|
};
|
|
36700
37279
|
export type BrowserViewerHeartbeatErrors = {
|
|
36701
37280
|
/**
|
|
36702
|
-
* INVALID_PARAMS
|
|
37281
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
36703
37282
|
*/
|
|
36704
37283
|
400: BrowserError;
|
|
36705
37284
|
/**
|
|
@@ -36707,11 +37286,15 @@ export type BrowserViewerHeartbeatErrors = {
|
|
|
36707
37286
|
*/
|
|
36708
37287
|
401: BrowserError;
|
|
36709
37288
|
/**
|
|
36710
|
-
* INSUFFICIENT_BALANCE
|
|
37289
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
36711
37290
|
*/
|
|
36712
37291
|
402: BrowserError;
|
|
36713
37292
|
/**
|
|
36714
|
-
*
|
|
37293
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37294
|
+
*/
|
|
37295
|
+
403: BrowserError;
|
|
37296
|
+
/**
|
|
37297
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
36715
37298
|
*/
|
|
36716
37299
|
404: BrowserError;
|
|
36717
37300
|
/**
|
|
@@ -36723,13 +37306,21 @@ export type BrowserViewerHeartbeatErrors = {
|
|
|
36723
37306
|
*/
|
|
36724
37307
|
429: BrowserError;
|
|
36725
37308
|
/**
|
|
36726
|
-
*
|
|
37309
|
+
* INTERNAL
|
|
37310
|
+
*/
|
|
37311
|
+
500: BrowserError;
|
|
37312
|
+
/**
|
|
37313
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
36727
37314
|
*/
|
|
36728
37315
|
501: BrowserError;
|
|
36729
37316
|
/**
|
|
36730
37317
|
* PROVIDER_FAILED
|
|
36731
37318
|
*/
|
|
36732
37319
|
502: BrowserError;
|
|
37320
|
+
/**
|
|
37321
|
+
* SERVICE_UNAVAILABLE
|
|
37322
|
+
*/
|
|
37323
|
+
503: BrowserError;
|
|
36733
37324
|
};
|
|
36734
37325
|
export type BrowserViewerHeartbeatError = BrowserViewerHeartbeatErrors[keyof BrowserViewerHeartbeatErrors];
|
|
36735
37326
|
export type BrowserViewerHeartbeatResponses = {
|
|
@@ -36761,7 +37352,7 @@ export type BrowserListContextsData = {
|
|
|
36761
37352
|
};
|
|
36762
37353
|
export type BrowserListContextsErrors = {
|
|
36763
37354
|
/**
|
|
36764
|
-
* INVALID_PARAMS
|
|
37355
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
36765
37356
|
*/
|
|
36766
37357
|
400: BrowserError;
|
|
36767
37358
|
/**
|
|
@@ -36769,11 +37360,15 @@ export type BrowserListContextsErrors = {
|
|
|
36769
37360
|
*/
|
|
36770
37361
|
401: BrowserError;
|
|
36771
37362
|
/**
|
|
36772
|
-
* INSUFFICIENT_BALANCE
|
|
37363
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
36773
37364
|
*/
|
|
36774
37365
|
402: BrowserError;
|
|
36775
37366
|
/**
|
|
36776
|
-
*
|
|
37367
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37368
|
+
*/
|
|
37369
|
+
403: BrowserError;
|
|
37370
|
+
/**
|
|
37371
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
36777
37372
|
*/
|
|
36778
37373
|
404: BrowserError;
|
|
36779
37374
|
/**
|
|
@@ -36785,13 +37380,21 @@ export type BrowserListContextsErrors = {
|
|
|
36785
37380
|
*/
|
|
36786
37381
|
429: BrowserError;
|
|
36787
37382
|
/**
|
|
36788
|
-
*
|
|
37383
|
+
* INTERNAL
|
|
37384
|
+
*/
|
|
37385
|
+
500: BrowserError;
|
|
37386
|
+
/**
|
|
37387
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
36789
37388
|
*/
|
|
36790
37389
|
501: BrowserError;
|
|
36791
37390
|
/**
|
|
36792
37391
|
* PROVIDER_FAILED
|
|
36793
37392
|
*/
|
|
36794
37393
|
502: BrowserError;
|
|
37394
|
+
/**
|
|
37395
|
+
* SERVICE_UNAVAILABLE
|
|
37396
|
+
*/
|
|
37397
|
+
503: BrowserError;
|
|
36795
37398
|
};
|
|
36796
37399
|
export type BrowserListContextsError = BrowserListContextsErrors[keyof BrowserListContextsErrors];
|
|
36797
37400
|
export type BrowserListContextsResponses = {
|
|
@@ -36833,7 +37436,7 @@ export type BrowserCreateContextData = {
|
|
|
36833
37436
|
};
|
|
36834
37437
|
export type BrowserCreateContextErrors = {
|
|
36835
37438
|
/**
|
|
36836
|
-
* INVALID_PARAMS
|
|
37439
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
36837
37440
|
*/
|
|
36838
37441
|
400: BrowserError;
|
|
36839
37442
|
/**
|
|
@@ -36841,11 +37444,15 @@ export type BrowserCreateContextErrors = {
|
|
|
36841
37444
|
*/
|
|
36842
37445
|
401: BrowserError;
|
|
36843
37446
|
/**
|
|
36844
|
-
* INSUFFICIENT_BALANCE
|
|
37447
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
36845
37448
|
*/
|
|
36846
37449
|
402: BrowserError;
|
|
36847
37450
|
/**
|
|
36848
|
-
*
|
|
37451
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37452
|
+
*/
|
|
37453
|
+
403: BrowserError;
|
|
37454
|
+
/**
|
|
37455
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
36849
37456
|
*/
|
|
36850
37457
|
404: BrowserError;
|
|
36851
37458
|
/**
|
|
@@ -36857,13 +37464,21 @@ export type BrowserCreateContextErrors = {
|
|
|
36857
37464
|
*/
|
|
36858
37465
|
429: BrowserError;
|
|
36859
37466
|
/**
|
|
36860
|
-
*
|
|
37467
|
+
* INTERNAL
|
|
37468
|
+
*/
|
|
37469
|
+
500: BrowserError;
|
|
37470
|
+
/**
|
|
37471
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
36861
37472
|
*/
|
|
36862
37473
|
501: BrowserError;
|
|
36863
37474
|
/**
|
|
36864
37475
|
* PROVIDER_FAILED
|
|
36865
37476
|
*/
|
|
36866
37477
|
502: BrowserError;
|
|
37478
|
+
/**
|
|
37479
|
+
* SERVICE_UNAVAILABLE
|
|
37480
|
+
*/
|
|
37481
|
+
503: BrowserError;
|
|
36867
37482
|
};
|
|
36868
37483
|
export type BrowserCreateContextError = BrowserCreateContextErrors[keyof BrowserCreateContextErrors];
|
|
36869
37484
|
export type BrowserCreateContextResponses = {
|
|
@@ -36886,7 +37501,7 @@ export type BrowserDeleteContextData = {
|
|
|
36886
37501
|
};
|
|
36887
37502
|
export type BrowserDeleteContextErrors = {
|
|
36888
37503
|
/**
|
|
36889
|
-
* INVALID_PARAMS
|
|
37504
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
36890
37505
|
*/
|
|
36891
37506
|
400: BrowserError;
|
|
36892
37507
|
/**
|
|
@@ -36894,11 +37509,15 @@ export type BrowserDeleteContextErrors = {
|
|
|
36894
37509
|
*/
|
|
36895
37510
|
401: BrowserError;
|
|
36896
37511
|
/**
|
|
36897
|
-
* INSUFFICIENT_BALANCE
|
|
37512
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
36898
37513
|
*/
|
|
36899
37514
|
402: BrowserError;
|
|
36900
37515
|
/**
|
|
36901
|
-
*
|
|
37516
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37517
|
+
*/
|
|
37518
|
+
403: BrowserError;
|
|
37519
|
+
/**
|
|
37520
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
36902
37521
|
*/
|
|
36903
37522
|
404: BrowserError;
|
|
36904
37523
|
/**
|
|
@@ -36910,13 +37529,21 @@ export type BrowserDeleteContextErrors = {
|
|
|
36910
37529
|
*/
|
|
36911
37530
|
429: BrowserError;
|
|
36912
37531
|
/**
|
|
36913
|
-
*
|
|
37532
|
+
* INTERNAL
|
|
37533
|
+
*/
|
|
37534
|
+
500: BrowserError;
|
|
37535
|
+
/**
|
|
37536
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
36914
37537
|
*/
|
|
36915
37538
|
501: BrowserError;
|
|
36916
37539
|
/**
|
|
36917
37540
|
* PROVIDER_FAILED
|
|
36918
37541
|
*/
|
|
36919
37542
|
502: BrowserError;
|
|
37543
|
+
/**
|
|
37544
|
+
* SERVICE_UNAVAILABLE
|
|
37545
|
+
*/
|
|
37546
|
+
503: BrowserError;
|
|
36920
37547
|
};
|
|
36921
37548
|
export type BrowserDeleteContextError = BrowserDeleteContextErrors[keyof BrowserDeleteContextErrors];
|
|
36922
37549
|
export type BrowserDeleteContextResponses = {
|
|
@@ -36944,7 +37571,7 @@ export type BrowserGetContextData = {
|
|
|
36944
37571
|
};
|
|
36945
37572
|
export type BrowserGetContextErrors = {
|
|
36946
37573
|
/**
|
|
36947
|
-
* INVALID_PARAMS
|
|
37574
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
36948
37575
|
*/
|
|
36949
37576
|
400: BrowserError;
|
|
36950
37577
|
/**
|
|
@@ -36952,11 +37579,15 @@ export type BrowserGetContextErrors = {
|
|
|
36952
37579
|
*/
|
|
36953
37580
|
401: BrowserError;
|
|
36954
37581
|
/**
|
|
36955
|
-
* INSUFFICIENT_BALANCE
|
|
37582
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
36956
37583
|
*/
|
|
36957
37584
|
402: BrowserError;
|
|
36958
37585
|
/**
|
|
36959
|
-
*
|
|
37586
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37587
|
+
*/
|
|
37588
|
+
403: BrowserError;
|
|
37589
|
+
/**
|
|
37590
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
36960
37591
|
*/
|
|
36961
37592
|
404: BrowserError;
|
|
36962
37593
|
/**
|
|
@@ -36968,13 +37599,21 @@ export type BrowserGetContextErrors = {
|
|
|
36968
37599
|
*/
|
|
36969
37600
|
429: BrowserError;
|
|
36970
37601
|
/**
|
|
36971
|
-
*
|
|
37602
|
+
* INTERNAL
|
|
37603
|
+
*/
|
|
37604
|
+
500: BrowserError;
|
|
37605
|
+
/**
|
|
37606
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
36972
37607
|
*/
|
|
36973
37608
|
501: BrowserError;
|
|
36974
37609
|
/**
|
|
36975
37610
|
* PROVIDER_FAILED
|
|
36976
37611
|
*/
|
|
36977
37612
|
502: BrowserError;
|
|
37613
|
+
/**
|
|
37614
|
+
* SERVICE_UNAVAILABLE
|
|
37615
|
+
*/
|
|
37616
|
+
503: BrowserError;
|
|
36978
37617
|
};
|
|
36979
37618
|
export type BrowserGetContextError = BrowserGetContextErrors[keyof BrowserGetContextErrors];
|
|
36980
37619
|
export type BrowserGetContextResponses = {
|
|
@@ -37008,7 +37647,7 @@ export type BrowserUpdateContextData = {
|
|
|
37008
37647
|
};
|
|
37009
37648
|
export type BrowserUpdateContextErrors = {
|
|
37010
37649
|
/**
|
|
37011
|
-
* INVALID_PARAMS
|
|
37650
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
37012
37651
|
*/
|
|
37013
37652
|
400: BrowserError;
|
|
37014
37653
|
/**
|
|
@@ -37016,11 +37655,15 @@ export type BrowserUpdateContextErrors = {
|
|
|
37016
37655
|
*/
|
|
37017
37656
|
401: BrowserError;
|
|
37018
37657
|
/**
|
|
37019
|
-
* INSUFFICIENT_BALANCE
|
|
37658
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
37020
37659
|
*/
|
|
37021
37660
|
402: BrowserError;
|
|
37022
37661
|
/**
|
|
37023
|
-
*
|
|
37662
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37663
|
+
*/
|
|
37664
|
+
403: BrowserError;
|
|
37665
|
+
/**
|
|
37666
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
37024
37667
|
*/
|
|
37025
37668
|
404: BrowserError;
|
|
37026
37669
|
/**
|
|
@@ -37032,13 +37675,21 @@ export type BrowserUpdateContextErrors = {
|
|
|
37032
37675
|
*/
|
|
37033
37676
|
429: BrowserError;
|
|
37034
37677
|
/**
|
|
37035
|
-
*
|
|
37678
|
+
* INTERNAL
|
|
37679
|
+
*/
|
|
37680
|
+
500: BrowserError;
|
|
37681
|
+
/**
|
|
37682
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
37036
37683
|
*/
|
|
37037
37684
|
501: BrowserError;
|
|
37038
37685
|
/**
|
|
37039
37686
|
* PROVIDER_FAILED
|
|
37040
37687
|
*/
|
|
37041
37688
|
502: BrowserError;
|
|
37689
|
+
/**
|
|
37690
|
+
* SERVICE_UNAVAILABLE
|
|
37691
|
+
*/
|
|
37692
|
+
503: BrowserError;
|
|
37042
37693
|
};
|
|
37043
37694
|
export type BrowserUpdateContextError = BrowserUpdateContextErrors[keyof BrowserUpdateContextErrors];
|
|
37044
37695
|
export type BrowserUpdateContextResponses = {
|
|
@@ -37093,7 +37744,7 @@ export type BrowserConnectData = {
|
|
|
37093
37744
|
};
|
|
37094
37745
|
export type BrowserConnectErrors = {
|
|
37095
37746
|
/**
|
|
37096
|
-
* INVALID_PARAMS
|
|
37747
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
37097
37748
|
*/
|
|
37098
37749
|
400: BrowserError;
|
|
37099
37750
|
/**
|
|
@@ -37101,11 +37752,15 @@ export type BrowserConnectErrors = {
|
|
|
37101
37752
|
*/
|
|
37102
37753
|
401: BrowserError;
|
|
37103
37754
|
/**
|
|
37104
|
-
* INSUFFICIENT_BALANCE
|
|
37755
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
37105
37756
|
*/
|
|
37106
37757
|
402: BrowserError;
|
|
37107
37758
|
/**
|
|
37108
|
-
*
|
|
37759
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37760
|
+
*/
|
|
37761
|
+
403: BrowserError;
|
|
37762
|
+
/**
|
|
37763
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
37109
37764
|
*/
|
|
37110
37765
|
404: BrowserError;
|
|
37111
37766
|
/**
|
|
@@ -37117,13 +37772,21 @@ export type BrowserConnectErrors = {
|
|
|
37117
37772
|
*/
|
|
37118
37773
|
429: BrowserError;
|
|
37119
37774
|
/**
|
|
37120
|
-
*
|
|
37775
|
+
* INTERNAL
|
|
37776
|
+
*/
|
|
37777
|
+
500: BrowserError;
|
|
37778
|
+
/**
|
|
37779
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
37121
37780
|
*/
|
|
37122
37781
|
501: BrowserError;
|
|
37123
37782
|
/**
|
|
37124
37783
|
* PROVIDER_FAILED
|
|
37125
37784
|
*/
|
|
37126
37785
|
502: BrowserError;
|
|
37786
|
+
/**
|
|
37787
|
+
* SERVICE_UNAVAILABLE
|
|
37788
|
+
*/
|
|
37789
|
+
503: BrowserError;
|
|
37127
37790
|
};
|
|
37128
37791
|
export type BrowserConnectError = BrowserConnectErrors[keyof BrowserConnectErrors];
|
|
37129
37792
|
export type BrowserLiveViewData = {
|
|
@@ -37148,7 +37811,7 @@ export type BrowserLiveViewData = {
|
|
|
37148
37811
|
};
|
|
37149
37812
|
export type BrowserLiveViewErrors = {
|
|
37150
37813
|
/**
|
|
37151
|
-
* INVALID_PARAMS
|
|
37814
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
37152
37815
|
*/
|
|
37153
37816
|
400: BrowserError;
|
|
37154
37817
|
/**
|
|
@@ -37156,11 +37819,15 @@ export type BrowserLiveViewErrors = {
|
|
|
37156
37819
|
*/
|
|
37157
37820
|
401: BrowserError;
|
|
37158
37821
|
/**
|
|
37159
|
-
* INSUFFICIENT_BALANCE
|
|
37822
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
37160
37823
|
*/
|
|
37161
37824
|
402: BrowserError;
|
|
37162
37825
|
/**
|
|
37163
|
-
*
|
|
37826
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37827
|
+
*/
|
|
37828
|
+
403: BrowserError;
|
|
37829
|
+
/**
|
|
37830
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
37164
37831
|
*/
|
|
37165
37832
|
404: BrowserError;
|
|
37166
37833
|
/**
|
|
@@ -37172,13 +37839,21 @@ export type BrowserLiveViewErrors = {
|
|
|
37172
37839
|
*/
|
|
37173
37840
|
429: BrowserError;
|
|
37174
37841
|
/**
|
|
37175
|
-
*
|
|
37842
|
+
* INTERNAL
|
|
37843
|
+
*/
|
|
37844
|
+
500: BrowserError;
|
|
37845
|
+
/**
|
|
37846
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
37176
37847
|
*/
|
|
37177
37848
|
501: BrowserError;
|
|
37178
37849
|
/**
|
|
37179
37850
|
* PROVIDER_FAILED
|
|
37180
37851
|
*/
|
|
37181
37852
|
502: BrowserError;
|
|
37853
|
+
/**
|
|
37854
|
+
* SERVICE_UNAVAILABLE
|
|
37855
|
+
*/
|
|
37856
|
+
503: BrowserError;
|
|
37182
37857
|
};
|
|
37183
37858
|
export type BrowserLiveViewError = BrowserLiveViewErrors[keyof BrowserLiveViewErrors];
|
|
37184
37859
|
export type BrowserStreamSessionData = {
|
|
@@ -37194,7 +37869,7 @@ export type BrowserStreamSessionData = {
|
|
|
37194
37869
|
};
|
|
37195
37870
|
export type BrowserStreamSessionErrors = {
|
|
37196
37871
|
/**
|
|
37197
|
-
* INVALID_PARAMS
|
|
37872
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
37198
37873
|
*/
|
|
37199
37874
|
400: BrowserError;
|
|
37200
37875
|
/**
|
|
@@ -37202,11 +37877,15 @@ export type BrowserStreamSessionErrors = {
|
|
|
37202
37877
|
*/
|
|
37203
37878
|
401: BrowserError;
|
|
37204
37879
|
/**
|
|
37205
|
-
* INSUFFICIENT_BALANCE
|
|
37880
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
37206
37881
|
*/
|
|
37207
37882
|
402: BrowserError;
|
|
37208
37883
|
/**
|
|
37209
|
-
*
|
|
37884
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37885
|
+
*/
|
|
37886
|
+
403: BrowserError;
|
|
37887
|
+
/**
|
|
37888
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
37210
37889
|
*/
|
|
37211
37890
|
404: BrowserError;
|
|
37212
37891
|
/**
|
|
@@ -37218,13 +37897,21 @@ export type BrowserStreamSessionErrors = {
|
|
|
37218
37897
|
*/
|
|
37219
37898
|
429: BrowserError;
|
|
37220
37899
|
/**
|
|
37221
|
-
*
|
|
37900
|
+
* INTERNAL
|
|
37901
|
+
*/
|
|
37902
|
+
500: BrowserError;
|
|
37903
|
+
/**
|
|
37904
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
37222
37905
|
*/
|
|
37223
37906
|
501: BrowserError;
|
|
37224
37907
|
/**
|
|
37225
37908
|
* PROVIDER_FAILED
|
|
37226
37909
|
*/
|
|
37227
37910
|
502: BrowserError;
|
|
37911
|
+
/**
|
|
37912
|
+
* SERVICE_UNAVAILABLE
|
|
37913
|
+
*/
|
|
37914
|
+
503: BrowserError;
|
|
37228
37915
|
};
|
|
37229
37916
|
export type BrowserStreamSessionError = BrowserStreamSessionErrors[keyof BrowserStreamSessionErrors];
|
|
37230
37917
|
export type BrowserStreamSessionResponses = {
|
|
@@ -37242,7 +37929,7 @@ export type BrowserSeleniumUnsupportedData = {
|
|
|
37242
37929
|
};
|
|
37243
37930
|
export type BrowserSeleniumUnsupportedErrors = {
|
|
37244
37931
|
/**
|
|
37245
|
-
* PROVIDER_UNSUPPORTED
|
|
37932
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
37246
37933
|
*/
|
|
37247
37934
|
501: BrowserError;
|
|
37248
37935
|
};
|
|
@@ -49936,6 +50623,10 @@ export type SessionsEventsListResponses = {
|
|
|
49936
50623
|
*/
|
|
49937
50624
|
message_id?: string;
|
|
49938
50625
|
} | {
|
|
50626
|
+
/**
|
|
50627
|
+
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
50628
|
+
*/
|
|
50629
|
+
full_access_available?: boolean;
|
|
49939
50630
|
/**
|
|
49940
50631
|
* Unique identifier for this event.
|
|
49941
50632
|
*/
|
|
@@ -50022,6 +50713,36 @@ export type SessionsEventsListResponses = {
|
|
|
50022
50713
|
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
50023
50714
|
*/
|
|
50024
50715
|
guarded_rule?: string;
|
|
50716
|
+
/**
|
|
50717
|
+
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
50718
|
+
*/
|
|
50719
|
+
permission_suggestions?: Array<{
|
|
50720
|
+
/**
|
|
50721
|
+
* add_rules adds the offered allow rules.
|
|
50722
|
+
*/
|
|
50723
|
+
type: 'add_rules';
|
|
50724
|
+
/**
|
|
50725
|
+
* allow grants permission for matching calls.
|
|
50726
|
+
*/
|
|
50727
|
+
behavior: 'allow';
|
|
50728
|
+
/**
|
|
50729
|
+
* agent shares the grant across a personal agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
50730
|
+
*/
|
|
50731
|
+
destination: 'agent' | 'session';
|
|
50732
|
+
/**
|
|
50733
|
+
* The complete set of rules from one offered suggestion, without changes.
|
|
50734
|
+
*/
|
|
50735
|
+
rules: Array<{
|
|
50736
|
+
/**
|
|
50737
|
+
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
50738
|
+
*/
|
|
50739
|
+
tool_name: string;
|
|
50740
|
+
/**
|
|
50741
|
+
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
50742
|
+
*/
|
|
50743
|
+
rule_content: string;
|
|
50744
|
+
}>;
|
|
50745
|
+
}>;
|
|
50025
50746
|
/**
|
|
50026
50747
|
* Human-readable tool name from MCP 2025-06-18 Tool.title, falling back to annotations.title. Trimmed and truncated to 200 characters; omitted when blank or absent. Present only for model-initiated calls on /agent/v1; use name when absent.
|
|
50027
50748
|
*/
|
|
@@ -50076,6 +50797,10 @@ export type SessionsEventsListResponses = {
|
|
|
50076
50797
|
*/
|
|
50077
50798
|
source?: 'app' | 'codemode';
|
|
50078
50799
|
} | {
|
|
50800
|
+
/**
|
|
50801
|
+
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
50802
|
+
*/
|
|
50803
|
+
full_access_available?: boolean;
|
|
50079
50804
|
/**
|
|
50080
50805
|
* Unique identifier for this event.
|
|
50081
50806
|
*/
|
|
@@ -50126,6 +50851,36 @@ export type SessionsEventsListResponses = {
|
|
|
50126
50851
|
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
50127
50852
|
*/
|
|
50128
50853
|
guarded_rule?: string;
|
|
50854
|
+
/**
|
|
50855
|
+
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
50856
|
+
*/
|
|
50857
|
+
permission_suggestions?: Array<{
|
|
50858
|
+
/**
|
|
50859
|
+
* add_rules adds the offered allow rules.
|
|
50860
|
+
*/
|
|
50861
|
+
type: 'add_rules';
|
|
50862
|
+
/**
|
|
50863
|
+
* allow grants permission for matching calls.
|
|
50864
|
+
*/
|
|
50865
|
+
behavior: 'allow';
|
|
50866
|
+
/**
|
|
50867
|
+
* agent shares the grant across a personal agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
50868
|
+
*/
|
|
50869
|
+
destination: 'agent' | 'session';
|
|
50870
|
+
/**
|
|
50871
|
+
* The complete set of rules from one offered suggestion, without changes.
|
|
50872
|
+
*/
|
|
50873
|
+
rules: Array<{
|
|
50874
|
+
/**
|
|
50875
|
+
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
50876
|
+
*/
|
|
50877
|
+
tool_name: string;
|
|
50878
|
+
/**
|
|
50879
|
+
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
50880
|
+
*/
|
|
50881
|
+
rule_content: string;
|
|
50882
|
+
}>;
|
|
50883
|
+
}>;
|
|
50129
50884
|
} | {
|
|
50130
50885
|
/**
|
|
50131
50886
|
* Unique identifier for this event.
|
|
@@ -50194,6 +50949,18 @@ export type SessionsEventsListResponses = {
|
|
|
50194
50949
|
*/
|
|
50195
50950
|
run_id: string | null;
|
|
50196
50951
|
} | AgentManaged230 | AgentManaged231 | AgentManaged232 | AgentManaged233 | AgentManaged235 | AgentManaged236 | AgentManaged237 | AgentManaged238 | AgentManaged239 | AgentManaged240 | AgentManaged241 | AgentManaged242 | AgentManaged243 | AgentManaged244 | {
|
|
50952
|
+
/**
|
|
50953
|
+
* Monotone permission-mode version, incremented once per mode update.
|
|
50954
|
+
*/
|
|
50955
|
+
permission_mode_version?: number;
|
|
50956
|
+
/**
|
|
50957
|
+
* The permission mode before this change, or null when none was selected.
|
|
50958
|
+
*/
|
|
50959
|
+
previous_permission_mode?: string | null;
|
|
50960
|
+
/**
|
|
50961
|
+
* The new native session permission mode; null restores configured tool policies.
|
|
50962
|
+
*/
|
|
50963
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
50197
50964
|
/**
|
|
50198
50965
|
* Unique identifier for this event.
|
|
50199
50966
|
*/
|
|
@@ -51069,6 +51836,10 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
51069
51836
|
*/
|
|
51070
51837
|
message_id?: string;
|
|
51071
51838
|
} | {
|
|
51839
|
+
/**
|
|
51840
|
+
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
51841
|
+
*/
|
|
51842
|
+
full_access_available?: boolean;
|
|
51072
51843
|
/**
|
|
51073
51844
|
* Unique identifier for this event.
|
|
51074
51845
|
*/
|
|
@@ -51155,6 +51926,36 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
51155
51926
|
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
51156
51927
|
*/
|
|
51157
51928
|
guarded_rule?: string;
|
|
51929
|
+
/**
|
|
51930
|
+
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
51931
|
+
*/
|
|
51932
|
+
permission_suggestions?: Array<{
|
|
51933
|
+
/**
|
|
51934
|
+
* add_rules adds the offered allow rules.
|
|
51935
|
+
*/
|
|
51936
|
+
type: 'add_rules';
|
|
51937
|
+
/**
|
|
51938
|
+
* allow grants permission for matching calls.
|
|
51939
|
+
*/
|
|
51940
|
+
behavior: 'allow';
|
|
51941
|
+
/**
|
|
51942
|
+
* agent shares the grant across a personal agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
51943
|
+
*/
|
|
51944
|
+
destination: 'agent' | 'session';
|
|
51945
|
+
/**
|
|
51946
|
+
* The complete set of rules from one offered suggestion, without changes.
|
|
51947
|
+
*/
|
|
51948
|
+
rules: Array<{
|
|
51949
|
+
/**
|
|
51950
|
+
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
51951
|
+
*/
|
|
51952
|
+
tool_name: string;
|
|
51953
|
+
/**
|
|
51954
|
+
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
51955
|
+
*/
|
|
51956
|
+
rule_content: string;
|
|
51957
|
+
}>;
|
|
51958
|
+
}>;
|
|
51158
51959
|
/**
|
|
51159
51960
|
* Human-readable tool name from MCP 2025-06-18 Tool.title, falling back to annotations.title. Trimmed and truncated to 200 characters; omitted when blank or absent. Present only for model-initiated calls on /agent/v1; use name when absent.
|
|
51160
51961
|
*/
|
|
@@ -51209,6 +52010,10 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
51209
52010
|
*/
|
|
51210
52011
|
source?: 'app' | 'codemode';
|
|
51211
52012
|
} | {
|
|
52013
|
+
/**
|
|
52014
|
+
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
52015
|
+
*/
|
|
52016
|
+
full_access_available?: boolean;
|
|
51212
52017
|
/**
|
|
51213
52018
|
* Unique identifier for this event.
|
|
51214
52019
|
*/
|
|
@@ -51259,6 +52064,36 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
51259
52064
|
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
51260
52065
|
*/
|
|
51261
52066
|
guarded_rule?: string;
|
|
52067
|
+
/**
|
|
52068
|
+
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
52069
|
+
*/
|
|
52070
|
+
permission_suggestions?: Array<{
|
|
52071
|
+
/**
|
|
52072
|
+
* add_rules adds the offered allow rules.
|
|
52073
|
+
*/
|
|
52074
|
+
type: 'add_rules';
|
|
52075
|
+
/**
|
|
52076
|
+
* allow grants permission for matching calls.
|
|
52077
|
+
*/
|
|
52078
|
+
behavior: 'allow';
|
|
52079
|
+
/**
|
|
52080
|
+
* agent shares the grant across a personal agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
52081
|
+
*/
|
|
52082
|
+
destination: 'agent' | 'session';
|
|
52083
|
+
/**
|
|
52084
|
+
* The complete set of rules from one offered suggestion, without changes.
|
|
52085
|
+
*/
|
|
52086
|
+
rules: Array<{
|
|
52087
|
+
/**
|
|
52088
|
+
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
52089
|
+
*/
|
|
52090
|
+
tool_name: string;
|
|
52091
|
+
/**
|
|
52092
|
+
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
52093
|
+
*/
|
|
52094
|
+
rule_content: string;
|
|
52095
|
+
}>;
|
|
52096
|
+
}>;
|
|
51262
52097
|
} | {
|
|
51263
52098
|
/**
|
|
51264
52099
|
* Unique identifier for this event.
|
|
@@ -51327,6 +52162,18 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
51327
52162
|
*/
|
|
51328
52163
|
run_id: string | null;
|
|
51329
52164
|
} | AgentManaged230 | AgentManaged231 | AgentManaged232 | AgentManaged233 | AgentManaged235 | AgentManaged236 | AgentManaged237 | AgentManaged238 | AgentManaged239 | AgentManaged240 | AgentManaged241 | AgentManaged242 | AgentManaged243 | AgentManaged244 | {
|
|
52165
|
+
/**
|
|
52166
|
+
* Monotone permission-mode version, incremented once per mode update.
|
|
52167
|
+
*/
|
|
52168
|
+
permission_mode_version?: number;
|
|
52169
|
+
/**
|
|
52170
|
+
* The permission mode before this change, or null when none was selected.
|
|
52171
|
+
*/
|
|
52172
|
+
previous_permission_mode?: string | null;
|
|
52173
|
+
/**
|
|
52174
|
+
* The new native session permission mode; null restores configured tool policies.
|
|
52175
|
+
*/
|
|
52176
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
51330
52177
|
/**
|
|
51331
52178
|
* Unique identifier for this event.
|
|
51332
52179
|
*/
|
|
@@ -51865,7 +52712,7 @@ export type SessionsResourcesListData = {
|
|
|
51865
52712
|
};
|
|
51866
52713
|
query?: {
|
|
51867
52714
|
/**
|
|
51868
|
-
* Number of
|
|
52715
|
+
* Number of resources per page, from 1 to 100; defaults to 100.
|
|
51869
52716
|
*/
|
|
51870
52717
|
limit?: number;
|
|
51871
52718
|
page?: null | string;
|
|
@@ -57284,7 +58131,7 @@ export type AutomationRunsCreateData = {
|
|
|
57284
58131
|
[key: string]: string;
|
|
57285
58132
|
};
|
|
57286
58133
|
/**
|
|
57287
|
-
* Positive integer seconds up to
|
|
58134
|
+
* Positive integer seconds up to 2,592,000. Scripts default to and are capped at 300 seconds; workflows default to 86,400 seconds and allow up to 30 days.
|
|
57288
58135
|
*/
|
|
57289
58136
|
deadline_seconds?: number;
|
|
57290
58137
|
} | {
|
|
@@ -57311,7 +58158,7 @@ export type AutomationRunsCreateData = {
|
|
|
57311
58158
|
[key: string]: string;
|
|
57312
58159
|
};
|
|
57313
58160
|
/**
|
|
57314
|
-
* Positive integer seconds up to
|
|
58161
|
+
* Positive integer seconds up to 2,592,000. Scripts default to and are capped at 300 seconds; workflows default to 86,400 seconds and allow up to 30 days.
|
|
57315
58162
|
*/
|
|
57316
58163
|
deadline_seconds?: number;
|
|
57317
58164
|
};
|
|
@@ -58831,6 +59678,247 @@ export type AutomationHooksReceiveResponses = {
|
|
|
58831
59678
|
202: AutomationFiring;
|
|
58832
59679
|
};
|
|
58833
59680
|
export type AutomationHooksReceiveResponse = AutomationHooksReceiveResponses[keyof AutomationHooksReceiveResponses];
|
|
59681
|
+
export type AutomationHumanTasksListData = {
|
|
59682
|
+
body?: never;
|
|
59683
|
+
path?: never;
|
|
59684
|
+
query?: {
|
|
59685
|
+
/**
|
|
59686
|
+
* Page size, 1–100, default 50.
|
|
59687
|
+
*/
|
|
59688
|
+
limit?: number;
|
|
59689
|
+
/**
|
|
59690
|
+
* The next_cursor of the previous page; omit for the first page.
|
|
59691
|
+
*/
|
|
59692
|
+
cursor?: string;
|
|
59693
|
+
/**
|
|
59694
|
+
* Filter by status, comma-separated: open, completed, expired, cancelled. Defaults to open.
|
|
59695
|
+
*/
|
|
59696
|
+
status?: Array<AutomationHumanTaskStatus>;
|
|
59697
|
+
/**
|
|
59698
|
+
* Only tasks opened by this run (run_).
|
|
59699
|
+
*/
|
|
59700
|
+
run_id?: string;
|
|
59701
|
+
/**
|
|
59702
|
+
* assigned (default) lists only tasks assigned to the caller; all lists every task of the organization.
|
|
59703
|
+
*/
|
|
59704
|
+
scope?: 'assigned' | 'all';
|
|
59705
|
+
};
|
|
59706
|
+
url: '/automation/v1/human-tasks';
|
|
59707
|
+
};
|
|
59708
|
+
export type AutomationHumanTasksListErrors = {
|
|
59709
|
+
/**
|
|
59710
|
+
* INVALID_PARAMS: Invalid request parameters, path, cursor, or body format.
|
|
59711
|
+
*/
|
|
59712
|
+
400: AutomationAutomationProblemDetails;
|
|
59713
|
+
/**
|
|
59714
|
+
* RFC 9457 automation problem. 429 includes Retry-After.
|
|
59715
|
+
*/
|
|
59716
|
+
default: AutomationAutomationProblemDetails;
|
|
59717
|
+
};
|
|
59718
|
+
export type AutomationHumanTasksListError = AutomationHumanTasksListErrors[keyof AutomationHumanTasksListErrors];
|
|
59719
|
+
export type AutomationHumanTasksListResponses = {
|
|
59720
|
+
/**
|
|
59721
|
+
* Success
|
|
59722
|
+
*/
|
|
59723
|
+
200: {
|
|
59724
|
+
/**
|
|
59725
|
+
* Human tasks on this page, newest first.
|
|
59726
|
+
*/
|
|
59727
|
+
data: Array<AutomationHumanTask>;
|
|
59728
|
+
/**
|
|
59729
|
+
* Cursor for the next page, passed back as cursor; null when there are no more.
|
|
59730
|
+
*/
|
|
59731
|
+
next_cursor: string | null;
|
|
59732
|
+
};
|
|
59733
|
+
};
|
|
59734
|
+
export type AutomationHumanTasksListResponse = AutomationHumanTasksListResponses[keyof AutomationHumanTasksListResponses];
|
|
59735
|
+
export type AutomationHumanTasksGetData = {
|
|
59736
|
+
body?: never;
|
|
59737
|
+
path: {
|
|
59738
|
+
/**
|
|
59739
|
+
* Human task ID (htask_), from the list or the run's waits.
|
|
59740
|
+
*/
|
|
59741
|
+
id: string;
|
|
59742
|
+
};
|
|
59743
|
+
query?: never;
|
|
59744
|
+
url: '/automation/v1/human-tasks/{id}';
|
|
59745
|
+
};
|
|
59746
|
+
export type AutomationHumanTasksGetErrors = {
|
|
59747
|
+
/**
|
|
59748
|
+
* INVALID_PARAMS: Invalid request parameters, path, cursor, or body format.
|
|
59749
|
+
*/
|
|
59750
|
+
400: AutomationAutomationProblemDetails;
|
|
59751
|
+
/**
|
|
59752
|
+
* HUMAN_TASK_NOT_FOUND: The human task does not exist or belongs to another organization; take the htask_ ID from the human-tasks list or the run's waits.
|
|
59753
|
+
*/
|
|
59754
|
+
404: AutomationAutomationProblemDetails;
|
|
59755
|
+
/**
|
|
59756
|
+
* RFC 9457 automation problem. 429 includes Retry-After.
|
|
59757
|
+
*/
|
|
59758
|
+
default: AutomationAutomationProblemDetails;
|
|
59759
|
+
};
|
|
59760
|
+
export type AutomationHumanTasksGetError = AutomationHumanTasksGetErrors[keyof AutomationHumanTasksGetErrors];
|
|
59761
|
+
export type AutomationHumanTasksGetResponses = {
|
|
59762
|
+
/**
|
|
59763
|
+
* Success
|
|
59764
|
+
*/
|
|
59765
|
+
200: AutomationHumanTask;
|
|
59766
|
+
};
|
|
59767
|
+
export type AutomationHumanTasksGetResponse = AutomationHumanTasksGetResponses[keyof AutomationHumanTasksGetResponses];
|
|
59768
|
+
export type AutomationHumanTasksRespondData = {
|
|
59769
|
+
body: AutomationHumanTaskRespondInput;
|
|
59770
|
+
headers?: {
|
|
59771
|
+
/**
|
|
59772
|
+
* Optional; 1–256 characters. Within 24 hours, the same key replays the first response with Idempotent-Replayed: true; a different request body returns 422; an in-flight request returns 409.
|
|
59773
|
+
*/
|
|
59774
|
+
'Idempotency-Key'?: string;
|
|
59775
|
+
};
|
|
59776
|
+
path: {
|
|
59777
|
+
/**
|
|
59778
|
+
* Human task ID (htask_).
|
|
59779
|
+
*/
|
|
59780
|
+
id: string;
|
|
59781
|
+
};
|
|
59782
|
+
query?: never;
|
|
59783
|
+
url: '/automation/v1/human-tasks/{id}/respond';
|
|
59784
|
+
};
|
|
59785
|
+
export type AutomationHumanTasksRespondErrors = {
|
|
59786
|
+
/**
|
|
59787
|
+
* INVALID_PARAMS: Invalid request parameters, path, cursor, or body format.
|
|
59788
|
+
* COMMENT_REQUIRED: The chosen action requires a comment (require_comment: true); retry with comment set.
|
|
59789
|
+
* INVALID_ACTION: action_id is not one of the task's actions; read the task's actions for the valid ids.
|
|
59790
|
+
* INVALID_VALUES: values do not match the task's form_schema (unknown field, missing required field, wrong type or out-of-range value), or comment exceeds 4000 characters.
|
|
59791
|
+
*/
|
|
59792
|
+
400: AutomationAutomationProblemDetails;
|
|
59793
|
+
/**
|
|
59794
|
+
* NOT_ASSIGNED: The caller is not an assignee of this task, it is not yet their turn in sequential mode, or (for cancel) the caller is neither the run's initiator nor an organization API key.
|
|
59795
|
+
* SELF_APPROVAL: The person who started the run cannot respond to, or be delegated, their own request unless the workflow set allow_self_approval: true.
|
|
59796
|
+
* AGENT_NOT_ALLOWED: The request comes from an agent (an agent session or run token) and the task did not set allow_agent_decision: true; the person must respond from the Console or with their own credential.
|
|
59797
|
+
*/
|
|
59798
|
+
403: AutomationAutomationProblemDetails;
|
|
59799
|
+
/**
|
|
59800
|
+
* HUMAN_TASK_NOT_FOUND: The human task does not exist or belongs to another organization; take the htask_ ID from the human-tasks list or the run's waits.
|
|
59801
|
+
*/
|
|
59802
|
+
404: AutomationAutomationProblemDetails;
|
|
59803
|
+
/**
|
|
59804
|
+
* TASK_CLOSED: The task is already closed (decided, expired or cancelled) or past due_at; it no longer accepts responses, delegation or cancellation. Retrieve the task to read its outcome.
|
|
59805
|
+
* ALREADY_RESPONDED: The caller already responded; each assignee responds once.
|
|
59806
|
+
* IDEMPOTENCY_IN_FLIGHT: A request with the same idempotency key is still in progress.
|
|
59807
|
+
*/
|
|
59808
|
+
409: AutomationAutomationProblemDetails;
|
|
59809
|
+
/**
|
|
59810
|
+
* IDEMPOTENCY_KEY_MISMATCH: The idempotency key was already used for different request content.
|
|
59811
|
+
*/
|
|
59812
|
+
422: AutomationAutomationProblemDetails;
|
|
59813
|
+
/**
|
|
59814
|
+
* RFC 9457 automation problem. 429 includes Retry-After.
|
|
59815
|
+
*/
|
|
59816
|
+
default: AutomationAutomationProblemDetails;
|
|
59817
|
+
};
|
|
59818
|
+
export type AutomationHumanTasksRespondError = AutomationHumanTasksRespondErrors[keyof AutomationHumanTasksRespondErrors];
|
|
59819
|
+
export type AutomationHumanTasksRespondResponses = {
|
|
59820
|
+
/**
|
|
59821
|
+
* Success
|
|
59822
|
+
*/
|
|
59823
|
+
200: AutomationHumanTask;
|
|
59824
|
+
};
|
|
59825
|
+
export type AutomationHumanTasksRespondResponse = AutomationHumanTasksRespondResponses[keyof AutomationHumanTasksRespondResponses];
|
|
59826
|
+
export type AutomationHumanTasksCancelData = {
|
|
59827
|
+
body?: AutomationHumanTaskCancelInput;
|
|
59828
|
+
headers?: {
|
|
59829
|
+
/**
|
|
59830
|
+
* Optional; 1–256 characters. Within 24 hours, the same key replays the first response with Idempotent-Replayed: true; a different request body returns 422; an in-flight request returns 409.
|
|
59831
|
+
*/
|
|
59832
|
+
'Idempotency-Key'?: string;
|
|
59833
|
+
};
|
|
59834
|
+
path: {
|
|
59835
|
+
/**
|
|
59836
|
+
* Human task ID (htask_).
|
|
59837
|
+
*/
|
|
59838
|
+
id: string;
|
|
59839
|
+
};
|
|
59840
|
+
query?: never;
|
|
59841
|
+
url: '/automation/v1/human-tasks/{id}/cancel';
|
|
59842
|
+
};
|
|
59843
|
+
export type AutomationHumanTasksCancelErrors = {
|
|
59844
|
+
/**
|
|
59845
|
+
* INVALID_PARAMS: Invalid request parameters, path, cursor, or body format.
|
|
59846
|
+
*/
|
|
59847
|
+
400: AutomationAutomationProblemDetails;
|
|
59848
|
+
/**
|
|
59849
|
+
* NOT_ASSIGNED: The caller is not an assignee of this task, it is not yet their turn in sequential mode, or (for cancel) the caller is neither the run's initiator nor an organization API key.
|
|
59850
|
+
*/
|
|
59851
|
+
403: AutomationAutomationProblemDetails;
|
|
59852
|
+
/**
|
|
59853
|
+
* HUMAN_TASK_NOT_FOUND: The human task does not exist or belongs to another organization; take the htask_ ID from the human-tasks list or the run's waits.
|
|
59854
|
+
*/
|
|
59855
|
+
404: AutomationAutomationProblemDetails;
|
|
59856
|
+
/**
|
|
59857
|
+
* TASK_CLOSED: The task is already closed (decided, expired or cancelled) or past due_at; it no longer accepts responses, delegation or cancellation. Retrieve the task to read its outcome.
|
|
59858
|
+
* IDEMPOTENCY_IN_FLIGHT: A request with the same idempotency key is still in progress.
|
|
59859
|
+
*/
|
|
59860
|
+
409: AutomationAutomationProblemDetails;
|
|
59861
|
+
/**
|
|
59862
|
+
* IDEMPOTENCY_KEY_MISMATCH: The idempotency key was already used for different request content.
|
|
59863
|
+
*/
|
|
59864
|
+
422: AutomationAutomationProblemDetails;
|
|
59865
|
+
/**
|
|
59866
|
+
* RFC 9457 automation problem. 429 includes Retry-After.
|
|
59867
|
+
*/
|
|
59868
|
+
default: AutomationAutomationProblemDetails;
|
|
59869
|
+
};
|
|
59870
|
+
export type AutomationHumanTasksCancelError = AutomationHumanTasksCancelErrors[keyof AutomationHumanTasksCancelErrors];
|
|
59871
|
+
export type AutomationHumanTasksCancelResponses = {
|
|
59872
|
+
/**
|
|
59873
|
+
* Success
|
|
59874
|
+
*/
|
|
59875
|
+
200: AutomationHumanTask;
|
|
59876
|
+
};
|
|
59877
|
+
export type AutomationHumanTasksCancelResponse = AutomationHumanTasksCancelResponses[keyof AutomationHumanTasksCancelResponses];
|
|
59878
|
+
export type AutomationHumanTasksDelegateData = {
|
|
59879
|
+
body: AutomationHumanTaskDelegateInput;
|
|
59880
|
+
path: {
|
|
59881
|
+
/**
|
|
59882
|
+
* Human task ID (htask_).
|
|
59883
|
+
*/
|
|
59884
|
+
id: string;
|
|
59885
|
+
};
|
|
59886
|
+
query?: never;
|
|
59887
|
+
url: '/automation/v1/human-tasks/{id}/delegate';
|
|
59888
|
+
};
|
|
59889
|
+
export type AutomationHumanTasksDelegateErrors = {
|
|
59890
|
+
/**
|
|
59891
|
+
* INVALID_PARAMS: Invalid request parameters, path, cursor, or body format.
|
|
59892
|
+
*/
|
|
59893
|
+
400: AutomationAutomationProblemDetails;
|
|
59894
|
+
/**
|
|
59895
|
+
* NOT_ASSIGNED: The caller is not an assignee of this task, it is not yet their turn in sequential mode, or (for cancel) the caller is neither the run's initiator nor an organization API key.
|
|
59896
|
+
* SELF_APPROVAL: The person who started the run cannot respond to, or be delegated, their own request unless the workflow set allow_self_approval: true.
|
|
59897
|
+
*/
|
|
59898
|
+
403: AutomationAutomationProblemDetails;
|
|
59899
|
+
/**
|
|
59900
|
+
* HUMAN_TASK_NOT_FOUND: The human task does not exist or belongs to another organization; take the htask_ ID from the human-tasks list or the run's waits.
|
|
59901
|
+
*/
|
|
59902
|
+
404: AutomationAutomationProblemDetails;
|
|
59903
|
+
/**
|
|
59904
|
+
* TASK_CLOSED: The task is already closed (decided, expired or cancelled) or past due_at; it no longer accepts responses, delegation or cancellation. Retrieve the task to read its outcome.
|
|
59905
|
+
* ALREADY_RESPONDED: The caller already responded; each assignee responds once.
|
|
59906
|
+
* IDEMPOTENCY_IN_FLIGHT: A request with the same idempotency key is still in progress.
|
|
59907
|
+
*/
|
|
59908
|
+
409: AutomationAutomationProblemDetails;
|
|
59909
|
+
/**
|
|
59910
|
+
* RFC 9457 automation problem. 429 includes Retry-After.
|
|
59911
|
+
*/
|
|
59912
|
+
default: AutomationAutomationProblemDetails;
|
|
59913
|
+
};
|
|
59914
|
+
export type AutomationHumanTasksDelegateError = AutomationHumanTasksDelegateErrors[keyof AutomationHumanTasksDelegateErrors];
|
|
59915
|
+
export type AutomationHumanTasksDelegateResponses = {
|
|
59916
|
+
/**
|
|
59917
|
+
* Success
|
|
59918
|
+
*/
|
|
59919
|
+
200: AutomationHumanTask;
|
|
59920
|
+
};
|
|
59921
|
+
export type AutomationHumanTasksDelegateResponse = AutomationHumanTasksDelegateResponses[keyof AutomationHumanTasksDelegateResponses];
|
|
58834
59922
|
export type DatabaseListDatabasesData = {
|
|
58835
59923
|
body?: never;
|
|
58836
59924
|
path?: never;
|
|
@@ -61329,6 +62417,10 @@ export type MediaListLibrariesErrors = {
|
|
|
61329
62417
|
* Request failed; see the error code reference.
|
|
61330
62418
|
*/
|
|
61331
62419
|
400: MediaMediaError;
|
|
62420
|
+
/**
|
|
62421
|
+
* Request failed; see the error code reference.
|
|
62422
|
+
*/
|
|
62423
|
+
403: MediaMediaError;
|
|
61332
62424
|
/**
|
|
61333
62425
|
* Request failed; see the error code reference.
|
|
61334
62426
|
*/
|
|
@@ -61416,6 +62508,10 @@ export type MediaCreateLibraryErrors = {
|
|
|
61416
62508
|
* Request failed; see the error code reference.
|
|
61417
62509
|
*/
|
|
61418
62510
|
400: MediaMediaError;
|
|
62511
|
+
/**
|
|
62512
|
+
* Request failed; see the error code reference.
|
|
62513
|
+
*/
|
|
62514
|
+
403: MediaMediaError;
|
|
61419
62515
|
/**
|
|
61420
62516
|
* Request failed; see the error code reference.
|
|
61421
62517
|
*/
|
|
@@ -61473,6 +62569,10 @@ export type MediaDeleteLibraryErrors = {
|
|
|
61473
62569
|
* Request failed; see the error code reference.
|
|
61474
62570
|
*/
|
|
61475
62571
|
400: MediaMediaError;
|
|
62572
|
+
/**
|
|
62573
|
+
* Request failed; see the error code reference.
|
|
62574
|
+
*/
|
|
62575
|
+
403: MediaMediaError;
|
|
61476
62576
|
/**
|
|
61477
62577
|
* Request failed; see the error code reference.
|
|
61478
62578
|
*/
|
|
@@ -61530,6 +62630,10 @@ export type MediaGetLibraryErrors = {
|
|
|
61530
62630
|
* Request failed; see the error code reference.
|
|
61531
62631
|
*/
|
|
61532
62632
|
400: MediaMediaError;
|
|
62633
|
+
/**
|
|
62634
|
+
* Request failed; see the error code reference.
|
|
62635
|
+
*/
|
|
62636
|
+
403: MediaMediaError;
|
|
61533
62637
|
/**
|
|
61534
62638
|
* Request failed; see the error code reference.
|
|
61535
62639
|
*/
|
|
@@ -61622,6 +62726,10 @@ export type MediaUpdateLibraryErrors = {
|
|
|
61622
62726
|
* Request failed; see the error code reference.
|
|
61623
62727
|
*/
|
|
61624
62728
|
400: MediaMediaError;
|
|
62729
|
+
/**
|
|
62730
|
+
* Request failed; see the error code reference.
|
|
62731
|
+
*/
|
|
62732
|
+
403: MediaMediaError;
|
|
61625
62733
|
/**
|
|
61626
62734
|
* Request failed; see the error code reference.
|
|
61627
62735
|
*/
|
|
@@ -61679,6 +62787,10 @@ export type MediaRestoreLibraryErrors = {
|
|
|
61679
62787
|
* Request failed; see the error code reference.
|
|
61680
62788
|
*/
|
|
61681
62789
|
400: MediaMediaError;
|
|
62790
|
+
/**
|
|
62791
|
+
* Request failed; see the error code reference.
|
|
62792
|
+
*/
|
|
62793
|
+
403: MediaMediaError;
|
|
61682
62794
|
/**
|
|
61683
62795
|
* Request failed; see the error code reference.
|
|
61684
62796
|
*/
|
|
@@ -61736,6 +62848,10 @@ export type MediaPurgeLibraryErrors = {
|
|
|
61736
62848
|
* Request failed; see the error code reference.
|
|
61737
62849
|
*/
|
|
61738
62850
|
400: MediaMediaError;
|
|
62851
|
+
/**
|
|
62852
|
+
* Request failed; see the error code reference.
|
|
62853
|
+
*/
|
|
62854
|
+
403: MediaMediaError;
|
|
61739
62855
|
/**
|
|
61740
62856
|
* Request failed; see the error code reference.
|
|
61741
62857
|
*/
|
|
@@ -61810,6 +62926,10 @@ export type MediaListAssetsErrors = {
|
|
|
61810
62926
|
* Request failed; see the error code reference.
|
|
61811
62927
|
*/
|
|
61812
62928
|
400: MediaMediaError;
|
|
62929
|
+
/**
|
|
62930
|
+
* Request failed; see the error code reference.
|
|
62931
|
+
*/
|
|
62932
|
+
403: MediaMediaError;
|
|
61813
62933
|
/**
|
|
61814
62934
|
* Request failed; see the error code reference.
|
|
61815
62935
|
*/
|
|
@@ -61893,7 +63013,7 @@ export type MediaUploadAssetData = {
|
|
|
61893
63013
|
*/
|
|
61894
63014
|
filename_override?: string;
|
|
61895
63015
|
/**
|
|
61896
|
-
* Allow replacing an existing public_id, preserving its asset_id and increasing its version. False returns the existing resource without replacing it; defaults to true.
|
|
63016
|
+
* Allow replacing an existing public_id, preserving its asset_id and increasing its version. Only the latest version is deliverable; old version URLs return 404. Create a new public_id to retain old deliveries. False returns the existing resource without replacing it; defaults to true.
|
|
61897
63017
|
*/
|
|
61898
63018
|
overwrite?: boolean;
|
|
61899
63019
|
/**
|
|
@@ -61939,6 +63059,10 @@ export type MediaUploadAssetErrors = {
|
|
|
61939
63059
|
* Request failed; see the error code reference.
|
|
61940
63060
|
*/
|
|
61941
63061
|
400: MediaMediaError;
|
|
63062
|
+
/**
|
|
63063
|
+
* Request failed; see the error code reference.
|
|
63064
|
+
*/
|
|
63065
|
+
403: MediaMediaError;
|
|
61942
63066
|
/**
|
|
61943
63067
|
* Request failed; see the error code reference.
|
|
61944
63068
|
*/
|
|
@@ -61985,6 +63109,9 @@ export type MediaImportAssetData = {
|
|
|
61985
63109
|
* Source and upload options for copying content into the library.
|
|
61986
63110
|
*/
|
|
61987
63111
|
body: {
|
|
63112
|
+
/**
|
|
63113
|
+
* File ID to copy into this library; passed as the upload source instead of file bytes. This creates an independent public copy readable without authentication. Deleting the source File does not delete this asset; do not import confidential content.
|
|
63114
|
+
*/
|
|
61988
63115
|
file_id: string;
|
|
61989
63116
|
/**
|
|
61990
63117
|
* Explicit delivery identifier. If omitted, a random value is generated unless use_filename is true.
|
|
@@ -62019,7 +63146,7 @@ export type MediaImportAssetData = {
|
|
|
62019
63146
|
*/
|
|
62020
63147
|
filename_override?: string;
|
|
62021
63148
|
/**
|
|
62022
|
-
* Allow replacing an existing public_id, preserving its asset_id and increasing its version. False returns the existing resource without replacing it; defaults to true.
|
|
63149
|
+
* Allow replacing an existing public_id, preserving its asset_id and increasing its version. Only the latest version is deliverable; old version URLs return 404. Create a new public_id to retain old deliveries. False returns the existing resource without replacing it; defaults to true.
|
|
62023
63150
|
*/
|
|
62024
63151
|
overwrite?: boolean;
|
|
62025
63152
|
/**
|
|
@@ -62055,6 +63182,10 @@ export type MediaImportAssetErrors = {
|
|
|
62055
63182
|
* Request failed; see the error code reference.
|
|
62056
63183
|
*/
|
|
62057
63184
|
400: MediaMediaError;
|
|
63185
|
+
/**
|
|
63186
|
+
* Request failed; see the error code reference.
|
|
63187
|
+
*/
|
|
63188
|
+
403: MediaMediaError;
|
|
62058
63189
|
/**
|
|
62059
63190
|
* Request failed; see the error code reference.
|
|
62060
63191
|
*/
|
|
@@ -62116,6 +63247,10 @@ export type MediaDeleteAssetErrors = {
|
|
|
62116
63247
|
* Request failed; see the error code reference.
|
|
62117
63248
|
*/
|
|
62118
63249
|
400: MediaMediaError;
|
|
63250
|
+
/**
|
|
63251
|
+
* Request failed; see the error code reference.
|
|
63252
|
+
*/
|
|
63253
|
+
403: MediaMediaError;
|
|
62119
63254
|
/**
|
|
62120
63255
|
* Request failed; see the error code reference.
|
|
62121
63256
|
*/
|
|
@@ -62177,6 +63312,10 @@ export type MediaGetAssetErrors = {
|
|
|
62177
63312
|
* Request failed; see the error code reference.
|
|
62178
63313
|
*/
|
|
62179
63314
|
400: MediaMediaError;
|
|
63315
|
+
/**
|
|
63316
|
+
* Request failed; see the error code reference.
|
|
63317
|
+
*/
|
|
63318
|
+
403: MediaMediaError;
|
|
62180
63319
|
/**
|
|
62181
63320
|
* Request failed; see the error code reference.
|
|
62182
63321
|
*/
|
|
@@ -62260,6 +63399,10 @@ export type MediaUpdateAssetErrors = {
|
|
|
62260
63399
|
* Request failed; see the error code reference.
|
|
62261
63400
|
*/
|
|
62262
63401
|
400: MediaMediaError;
|
|
63402
|
+
/**
|
|
63403
|
+
* Request failed; see the error code reference.
|
|
63404
|
+
*/
|
|
63405
|
+
403: MediaMediaError;
|
|
62263
63406
|
/**
|
|
62264
63407
|
* Request failed; see the error code reference.
|
|
62265
63408
|
*/
|
|
@@ -62329,6 +63472,10 @@ export type MediaReprocessAssetErrors = {
|
|
|
62329
63472
|
* Request failed; see the error code reference.
|
|
62330
63473
|
*/
|
|
62331
63474
|
400: MediaMediaError;
|
|
63475
|
+
/**
|
|
63476
|
+
* Request failed; see the error code reference.
|
|
63477
|
+
*/
|
|
63478
|
+
403: MediaMediaError;
|
|
62332
63479
|
/**
|
|
62333
63480
|
* Request failed; see the error code reference.
|
|
62334
63481
|
*/
|
|
@@ -62407,6 +63554,10 @@ export type MediaListUnderstandingsErrors = {
|
|
|
62407
63554
|
* Request failed; see the error code reference.
|
|
62408
63555
|
*/
|
|
62409
63556
|
400: MediaMediaError;
|
|
63557
|
+
/**
|
|
63558
|
+
* Request failed; see the error code reference.
|
|
63559
|
+
*/
|
|
63560
|
+
403: MediaMediaError;
|
|
62410
63561
|
/**
|
|
62411
63562
|
* Request failed; see the error code reference.
|
|
62412
63563
|
*/
|
|
@@ -62454,7 +63605,7 @@ export type MediaExpressionSearchData = {
|
|
|
62454
63605
|
*/
|
|
62455
63606
|
body: {
|
|
62456
63607
|
/**
|
|
62457
|
-
* Asset filter expression supporting field comparisons, AND, OR, NOT, parentheses and suffix wildcards. An empty expression matches all assets.
|
|
63608
|
+
* Asset filter expression supporting field comparisons, AND, OR, NOT, parentheses and suffix wildcards. An empty expression matches all assets. For business metadata use context.sku=KETTLE-RED AND context.revision=2; request with_field: ["context"] to include context.
|
|
62458
63609
|
*/
|
|
62459
63610
|
expression?: string;
|
|
62460
63611
|
/**
|
|
@@ -62494,6 +63645,10 @@ export type MediaExpressionSearchErrors = {
|
|
|
62494
63645
|
* Request failed; see the error code reference.
|
|
62495
63646
|
*/
|
|
62496
63647
|
400: MediaMediaError;
|
|
63648
|
+
/**
|
|
63649
|
+
* Request failed; see the error code reference.
|
|
63650
|
+
*/
|
|
63651
|
+
403: MediaMediaError;
|
|
62497
63652
|
/**
|
|
62498
63653
|
* Request failed; see the error code reference.
|
|
62499
63654
|
*/
|
|
@@ -62577,6 +63732,10 @@ export type MediaVisualSearchErrors = {
|
|
|
62577
63732
|
* Request failed; see the error code reference.
|
|
62578
63733
|
*/
|
|
62579
63734
|
400: MediaMediaError;
|
|
63735
|
+
/**
|
|
63736
|
+
* Request failed; see the error code reference.
|
|
63737
|
+
*/
|
|
63738
|
+
403: MediaMediaError;
|
|
62580
63739
|
/**
|
|
62581
63740
|
* Request failed; see the error code reference.
|
|
62582
63741
|
*/
|
|
@@ -62654,6 +63813,10 @@ export type MediaSemanticSearchErrors = {
|
|
|
62654
63813
|
* Request failed; see the error code reference.
|
|
62655
63814
|
*/
|
|
62656
63815
|
400: MediaMediaError;
|
|
63816
|
+
/**
|
|
63817
|
+
* Request failed; see the error code reference.
|
|
63818
|
+
*/
|
|
63819
|
+
403: MediaMediaError;
|
|
62657
63820
|
/**
|
|
62658
63821
|
* Request failed; see the error code reference.
|
|
62659
63822
|
*/
|
|
@@ -62731,6 +63894,10 @@ export type MediaSearchErrors = {
|
|
|
62731
63894
|
* Request failed; see the error code reference.
|
|
62732
63895
|
*/
|
|
62733
63896
|
400: MediaMediaError;
|
|
63897
|
+
/**
|
|
63898
|
+
* Request failed; see the error code reference.
|
|
63899
|
+
*/
|
|
63900
|
+
403: MediaMediaError;
|
|
62734
63901
|
/**
|
|
62735
63902
|
* Request failed; see the error code reference.
|
|
62736
63903
|
*/
|
|
@@ -62793,6 +63960,10 @@ export type MediaListFoldersErrors = {
|
|
|
62793
63960
|
* Request failed; see the error code reference.
|
|
62794
63961
|
*/
|
|
62795
63962
|
400: MediaMediaError;
|
|
63963
|
+
/**
|
|
63964
|
+
* Request failed; see the error code reference.
|
|
63965
|
+
*/
|
|
63966
|
+
403: MediaMediaError;
|
|
62796
63967
|
/**
|
|
62797
63968
|
* Request failed; see the error code reference.
|
|
62798
63969
|
*/
|
|
@@ -62858,6 +64029,10 @@ export type MediaCreateBatchErrors = {
|
|
|
62858
64029
|
* Request failed; see the error code reference.
|
|
62859
64030
|
*/
|
|
62860
64031
|
400: MediaMediaError;
|
|
64032
|
+
/**
|
|
64033
|
+
* Request failed; see the error code reference.
|
|
64034
|
+
*/
|
|
64035
|
+
403: MediaMediaError;
|
|
62861
64036
|
/**
|
|
62862
64037
|
* Request failed; see the error code reference.
|
|
62863
64038
|
*/
|
|
@@ -62919,6 +64094,10 @@ export type MediaGetBatchErrors = {
|
|
|
62919
64094
|
* Request failed; see the error code reference.
|
|
62920
64095
|
*/
|
|
62921
64096
|
400: MediaMediaError;
|
|
64097
|
+
/**
|
|
64098
|
+
* Request failed; see the error code reference.
|
|
64099
|
+
*/
|
|
64100
|
+
403: MediaMediaError;
|
|
62922
64101
|
/**
|
|
62923
64102
|
* Request failed; see the error code reference.
|
|
62924
64103
|
*/
|
|
@@ -62984,6 +64163,10 @@ export type MediaBatchAssetsErrors = {
|
|
|
62984
64163
|
* Request failed; see the error code reference.
|
|
62985
64164
|
*/
|
|
62986
64165
|
400: MediaMediaError;
|
|
64166
|
+
/**
|
|
64167
|
+
* Request failed; see the error code reference.
|
|
64168
|
+
*/
|
|
64169
|
+
403: MediaMediaError;
|
|
62987
64170
|
/**
|
|
62988
64171
|
* Request failed; see the error code reference.
|
|
62989
64172
|
*/
|
|
@@ -63045,6 +64228,10 @@ export type MediaGetJobErrors = {
|
|
|
63045
64228
|
* Request failed; see the error code reference.
|
|
63046
64229
|
*/
|
|
63047
64230
|
400: MediaMediaError;
|
|
64231
|
+
/**
|
|
64232
|
+
* Request failed; see the error code reference.
|
|
64233
|
+
*/
|
|
64234
|
+
403: MediaMediaError;
|
|
63048
64235
|
/**
|
|
63049
64236
|
* Request failed; see the error code reference.
|
|
63050
64237
|
*/
|
|
@@ -63119,6 +64306,10 @@ export type MediaListEventsErrors = {
|
|
|
63119
64306
|
* Request failed; see the error code reference.
|
|
63120
64307
|
*/
|
|
63121
64308
|
400: MediaMediaError;
|
|
64309
|
+
/**
|
|
64310
|
+
* Request failed; see the error code reference.
|
|
64311
|
+
*/
|
|
64312
|
+
403: MediaMediaError;
|
|
63122
64313
|
/**
|
|
63123
64314
|
* Request failed; see the error code reference.
|
|
63124
64315
|
*/
|