@deepraxis/sdk 0.1.1-dev.d775f1e → 0.1.1-dev.ed5af3e
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/core/client.d.ts +5 -1
- package/dist/core/client.js +10 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +40 -10
- package/dist/generated/sdk.gen.js +112 -9
- package/dist/generated/types.gen.d.ts +1387 -123
- 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-connect.d.ts +78 -0
- package/dist/helpers/browser-connect.js +161 -0
- package/dist/helpers/browser-decisions.d.ts +44 -0
- package/dist/helpers/browser-decisions.js +84 -0
- package/dist/helpers/browser-documentation.d.ts +2 -0
- package/dist/helpers/browser-documentation.js +47 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +2 -0
- package/dist/operations.generated.d.ts +148 -11
- package/dist/operations.generated.js +184 -12
- package/dist/resources.generated.d.ts +72 -10
- 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
|
};
|
|
@@ -4414,7 +4432,7 @@ export type AgentManaged179 = {
|
|
|
4414
4432
|
*/
|
|
4415
4433
|
input_tokens?: number;
|
|
4416
4434
|
/**
|
|
4417
|
-
*
|
|
4435
|
+
* 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
4436
|
*/
|
|
4419
4437
|
list_cost?: null | AgentManaged77;
|
|
4420
4438
|
/**
|
|
@@ -4426,18 +4444,15 @@ export type AgentManaged179 = {
|
|
|
4426
4444
|
*/
|
|
4427
4445
|
server_tool_use?: null | AgentManaged181;
|
|
4428
4446
|
/**
|
|
4429
|
-
*
|
|
4447
|
+
* 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
4448
|
*/
|
|
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';
|
|
4449
|
+
cost_by_product?: {
|
|
4450
|
+
[key: string]: string;
|
|
4440
4451
|
};
|
|
4452
|
+
/**
|
|
4453
|
+
* 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.
|
|
4454
|
+
*/
|
|
4455
|
+
subagent_cost_micro_usd?: number;
|
|
4441
4456
|
};
|
|
4442
4457
|
export type AgentManaged183 = {
|
|
4443
4458
|
[key: string]: null | string;
|
|
@@ -4864,7 +4879,11 @@ export type AgentManaged186 = {
|
|
|
4864
4879
|
*/
|
|
4865
4880
|
session_thread_id?: null | string;
|
|
4866
4881
|
};
|
|
4867
|
-
export type AgentManaged187 = {
|
|
4882
|
+
export type AgentManaged187 = unknown & {
|
|
4883
|
+
/**
|
|
4884
|
+
* 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.
|
|
4885
|
+
*/
|
|
4886
|
+
permission_mode?: 'yolo';
|
|
4868
4887
|
/**
|
|
4869
4888
|
* Unique identifier for this event.
|
|
4870
4889
|
*/
|
|
@@ -4885,10 +4904,9 @@ export type AgentManaged187 = {
|
|
|
4885
4904
|
*/
|
|
4886
4905
|
type: 'user.tool_confirmation';
|
|
4887
4906
|
/**
|
|
4888
|
-
*
|
|
4889
|
-
* result is 'deny'.
|
|
4907
|
+
* 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
4908
|
*/
|
|
4891
|
-
deny_message?:
|
|
4909
|
+
deny_message?: string;
|
|
4892
4910
|
/**
|
|
4893
4911
|
* A timestamp in RFC 3339 format
|
|
4894
4912
|
*/
|
|
@@ -5614,7 +5632,11 @@ export type AgentManaged250 = {
|
|
|
5614
5632
|
*/
|
|
5615
5633
|
session_thread_id?: null | string;
|
|
5616
5634
|
};
|
|
5617
|
-
export type AgentManaged251 = {
|
|
5635
|
+
export type AgentManaged251 = unknown & {
|
|
5636
|
+
/**
|
|
5637
|
+
* 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.
|
|
5638
|
+
*/
|
|
5639
|
+
permission_mode?: 'yolo';
|
|
5618
5640
|
/**
|
|
5619
5641
|
* UserToolConfirmationResult enum
|
|
5620
5642
|
*/
|
|
@@ -5631,10 +5653,39 @@ export type AgentManaged251 = {
|
|
|
5631
5653
|
*/
|
|
5632
5654
|
type: 'user.tool_confirmation';
|
|
5633
5655
|
/**
|
|
5634
|
-
*
|
|
5635
|
-
* result is 'deny'.
|
|
5656
|
+
* 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.
|
|
5636
5657
|
*/
|
|
5637
|
-
deny_message?:
|
|
5658
|
+
deny_message?: string;
|
|
5659
|
+
/**
|
|
5660
|
+
* 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.
|
|
5661
|
+
*/
|
|
5662
|
+
updated_permissions?: Array<{
|
|
5663
|
+
/**
|
|
5664
|
+
* add_rules adds the offered allow rules.
|
|
5665
|
+
*/
|
|
5666
|
+
type: 'add_rules';
|
|
5667
|
+
/**
|
|
5668
|
+
* allow grants permission for matching calls.
|
|
5669
|
+
*/
|
|
5670
|
+
behavior: 'allow';
|
|
5671
|
+
/**
|
|
5672
|
+
* agent shares the grant across a personal agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
5673
|
+
*/
|
|
5674
|
+
destination: 'agent' | 'session';
|
|
5675
|
+
/**
|
|
5676
|
+
* The complete set of rules from one offered suggestion, without changes.
|
|
5677
|
+
*/
|
|
5678
|
+
rules: Array<{
|
|
5679
|
+
/**
|
|
5680
|
+
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
5681
|
+
*/
|
|
5682
|
+
tool_name: string;
|
|
5683
|
+
/**
|
|
5684
|
+
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
5685
|
+
*/
|
|
5686
|
+
rule_content: string;
|
|
5687
|
+
}>;
|
|
5688
|
+
}>;
|
|
5638
5689
|
};
|
|
5639
5690
|
export type AgentManaged252 = {
|
|
5640
5691
|
/**
|
|
@@ -6098,6 +6149,18 @@ export type AgentSseEvent = ({
|
|
|
6098
6149
|
* Decoded JSON payload of this frame; its shape is selected by the event name.
|
|
6099
6150
|
*/
|
|
6100
6151
|
data?: {
|
|
6152
|
+
/**
|
|
6153
|
+
* Monotone permission-mode version, incremented once per mode update.
|
|
6154
|
+
*/
|
|
6155
|
+
permission_mode_version?: number;
|
|
6156
|
+
/**
|
|
6157
|
+
* The permission mode before this change, or null when none was selected.
|
|
6158
|
+
*/
|
|
6159
|
+
previous_permission_mode?: string | null;
|
|
6160
|
+
/**
|
|
6161
|
+
* The new native session permission mode; null restores configured tool policies.
|
|
6162
|
+
*/
|
|
6163
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
6101
6164
|
/**
|
|
6102
6165
|
* Unique identifier for this event.
|
|
6103
6166
|
*/
|
|
@@ -6270,6 +6333,10 @@ export type AgentSseEvent = ({
|
|
|
6270
6333
|
* Decoded JSON payload of this frame; its shape is selected by the event name.
|
|
6271
6334
|
*/
|
|
6272
6335
|
data?: {
|
|
6336
|
+
/**
|
|
6337
|
+
* 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.
|
|
6338
|
+
*/
|
|
6339
|
+
full_access_available?: boolean;
|
|
6273
6340
|
/**
|
|
6274
6341
|
* Unique identifier for this event.
|
|
6275
6342
|
*/
|
|
@@ -6312,6 +6379,44 @@ export type AgentSseEvent = ({
|
|
|
6312
6379
|
* Run that produced this event; null when no run identity was recorded.
|
|
6313
6380
|
*/
|
|
6314
6381
|
run_id: string | null;
|
|
6382
|
+
/**
|
|
6383
|
+
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
6384
|
+
*/
|
|
6385
|
+
user_once?: true;
|
|
6386
|
+
/**
|
|
6387
|
+
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
6388
|
+
*/
|
|
6389
|
+
guarded_rule?: string;
|
|
6390
|
+
/**
|
|
6391
|
+
* 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.
|
|
6392
|
+
*/
|
|
6393
|
+
permission_suggestions?: Array<{
|
|
6394
|
+
/**
|
|
6395
|
+
* add_rules adds the offered allow rules.
|
|
6396
|
+
*/
|
|
6397
|
+
type: 'add_rules';
|
|
6398
|
+
/**
|
|
6399
|
+
* allow grants permission for matching calls.
|
|
6400
|
+
*/
|
|
6401
|
+
behavior: 'allow';
|
|
6402
|
+
/**
|
|
6403
|
+
* agent shares the grant across a personal agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
6404
|
+
*/
|
|
6405
|
+
destination: 'agent' | 'session';
|
|
6406
|
+
/**
|
|
6407
|
+
* The complete set of rules from one offered suggestion, without changes.
|
|
6408
|
+
*/
|
|
6409
|
+
rules: Array<{
|
|
6410
|
+
/**
|
|
6411
|
+
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
6412
|
+
*/
|
|
6413
|
+
tool_name: string;
|
|
6414
|
+
/**
|
|
6415
|
+
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
6416
|
+
*/
|
|
6417
|
+
rule_content: string;
|
|
6418
|
+
}>;
|
|
6419
|
+
}>;
|
|
6315
6420
|
};
|
|
6316
6421
|
} | {
|
|
6317
6422
|
/**
|
|
@@ -6360,6 +6465,10 @@ export type AgentSseEvent = ({
|
|
|
6360
6465
|
* Decoded JSON payload of this frame; its shape is selected by the event name.
|
|
6361
6466
|
*/
|
|
6362
6467
|
data?: {
|
|
6468
|
+
/**
|
|
6469
|
+
* 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.
|
|
6470
|
+
*/
|
|
6471
|
+
full_access_available?: boolean;
|
|
6363
6472
|
/**
|
|
6364
6473
|
* Unique identifier for this event.
|
|
6365
6474
|
*/
|
|
@@ -6438,6 +6547,44 @@ export type AgentSseEvent = ({
|
|
|
6438
6547
|
* Praxis extension (MCP Apps, SEP-1865): present when `source` is `codemode`; the id of the codemode tool use whose program made this call. Absent otherwise.
|
|
6439
6548
|
*/
|
|
6440
6549
|
parent_tool_use_id?: string;
|
|
6550
|
+
/**
|
|
6551
|
+
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
6552
|
+
*/
|
|
6553
|
+
user_once?: true;
|
|
6554
|
+
/**
|
|
6555
|
+
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
6556
|
+
*/
|
|
6557
|
+
guarded_rule?: string;
|
|
6558
|
+
/**
|
|
6559
|
+
* 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.
|
|
6560
|
+
*/
|
|
6561
|
+
permission_suggestions?: Array<{
|
|
6562
|
+
/**
|
|
6563
|
+
* add_rules adds the offered allow rules.
|
|
6564
|
+
*/
|
|
6565
|
+
type: 'add_rules';
|
|
6566
|
+
/**
|
|
6567
|
+
* allow grants permission for matching calls.
|
|
6568
|
+
*/
|
|
6569
|
+
behavior: 'allow';
|
|
6570
|
+
/**
|
|
6571
|
+
* agent shares the grant across a personal agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
6572
|
+
*/
|
|
6573
|
+
destination: 'agent' | 'session';
|
|
6574
|
+
/**
|
|
6575
|
+
* The complete set of rules from one offered suggestion, without changes.
|
|
6576
|
+
*/
|
|
6577
|
+
rules: Array<{
|
|
6578
|
+
/**
|
|
6579
|
+
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
6580
|
+
*/
|
|
6581
|
+
tool_name: string;
|
|
6582
|
+
/**
|
|
6583
|
+
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
6584
|
+
*/
|
|
6585
|
+
rule_content: string;
|
|
6586
|
+
}>;
|
|
6587
|
+
}>;
|
|
6441
6588
|
/**
|
|
6442
6589
|
* 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.
|
|
6443
6590
|
*/
|
|
@@ -8579,7 +8726,7 @@ export type AutomationAutomationProblemDetails = {
|
|
|
8579
8726
|
title: string;
|
|
8580
8727
|
status: number;
|
|
8581
8728
|
detail: string;
|
|
8582
|
-
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';
|
|
8729
|
+
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';
|
|
8583
8730
|
errors: Array<AutomationDiagnostic>;
|
|
8584
8731
|
issues: Array<AutomationCompatIssue>;
|
|
8585
8732
|
hint: string | null;
|
|
@@ -9451,7 +9598,7 @@ export type AutomationRun = {
|
|
|
9451
9598
|
*/
|
|
9452
9599
|
attach: null | 'wait' | 'detach';
|
|
9453
9600
|
/**
|
|
9454
|
-
* 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
|
|
9601
|
+
* 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.
|
|
9455
9602
|
*/
|
|
9456
9603
|
deadline_at: string;
|
|
9457
9604
|
/**
|
|
@@ -9645,7 +9792,7 @@ export type AutomationExpandedRun = {
|
|
|
9645
9792
|
*/
|
|
9646
9793
|
attach: null | 'wait' | 'detach';
|
|
9647
9794
|
/**
|
|
9648
|
-
* 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
|
|
9795
|
+
* 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.
|
|
9649
9796
|
*/
|
|
9650
9797
|
deadline_at: string;
|
|
9651
9798
|
/**
|
|
@@ -10596,6 +10743,183 @@ export type AutomationTriggerPreview = {
|
|
|
10596
10743
|
*/
|
|
10597
10744
|
next_fire_times: Array<string>;
|
|
10598
10745
|
};
|
|
10746
|
+
export type AutomationHumanTaskStatus = 'open' | 'completed' | 'expired' | 'cancelled';
|
|
10747
|
+
export type AutomationHumanTask = {
|
|
10748
|
+
/**
|
|
10749
|
+
* 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}.
|
|
10750
|
+
*/
|
|
10751
|
+
id: string;
|
|
10752
|
+
/**
|
|
10753
|
+
* ID of the organization that owns the task.
|
|
10754
|
+
*/
|
|
10755
|
+
owner: string;
|
|
10756
|
+
/**
|
|
10757
|
+
* ID of the workflow run (run_) that opened the task; the run continues once the task closes.
|
|
10758
|
+
*/
|
|
10759
|
+
run_id: string;
|
|
10760
|
+
/**
|
|
10761
|
+
* The published workflow of the run; null for an ad hoc run.
|
|
10762
|
+
*/
|
|
10763
|
+
workflow: {
|
|
10764
|
+
/**
|
|
10765
|
+
* Workflow namespace.
|
|
10766
|
+
*/
|
|
10767
|
+
namespace: string;
|
|
10768
|
+
/**
|
|
10769
|
+
* Workflow name.
|
|
10770
|
+
*/
|
|
10771
|
+
name: string;
|
|
10772
|
+
} | null;
|
|
10773
|
+
/**
|
|
10774
|
+
* JSON Pointer of the approval step in the workflow source, for example /do/1/approveRefund.
|
|
10775
|
+
*/
|
|
10776
|
+
task_reference: string;
|
|
10777
|
+
/**
|
|
10778
|
+
* ID of the run's wait (wait_htask_); it closes only through respond, never through the run wait completion endpoint.
|
|
10779
|
+
*/
|
|
10780
|
+
wait_id: string;
|
|
10781
|
+
/**
|
|
10782
|
+
* Task kind; currently only approval.
|
|
10783
|
+
*/
|
|
10784
|
+
kind: 'approval';
|
|
10785
|
+
/**
|
|
10786
|
+
* Approval title, at most 200 characters.
|
|
10787
|
+
*/
|
|
10788
|
+
title: string;
|
|
10789
|
+
/**
|
|
10790
|
+
* Markdown details for the assignees, up to 16 KiB; empty string when not given.
|
|
10791
|
+
*/
|
|
10792
|
+
body: string;
|
|
10793
|
+
/**
|
|
10794
|
+
* JSON context the workflow attached (for example the order), up to 32 KiB; null when not given.
|
|
10795
|
+
*/
|
|
10796
|
+
context: AutomationJsonValue;
|
|
10797
|
+
/**
|
|
10798
|
+
* The 1–6 buttons an assignee chooses from; defaults to approve and reject.
|
|
10799
|
+
*/
|
|
10800
|
+
actions: Array<AutomationHumanTaskAction>;
|
|
10801
|
+
/**
|
|
10802
|
+
* 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.
|
|
10803
|
+
*/
|
|
10804
|
+
form_schema: AutomationJsonObject | null;
|
|
10805
|
+
/**
|
|
10806
|
+
* The assignees.
|
|
10807
|
+
*/
|
|
10808
|
+
assignees: {
|
|
10809
|
+
/**
|
|
10810
|
+
* Assignee user IDs, 1–20; sequential mode follows this order. Delegation replaces an entry in place.
|
|
10811
|
+
*/
|
|
10812
|
+
users: Array<string>;
|
|
10813
|
+
/**
|
|
10814
|
+
* Group assignment; not supported yet, always an empty array.
|
|
10815
|
+
*/
|
|
10816
|
+
groups: Array<string>;
|
|
10817
|
+
};
|
|
10818
|
+
/**
|
|
10819
|
+
* 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.
|
|
10820
|
+
*/
|
|
10821
|
+
mode: 'any' | 'all' | 'quorum' | 'sequential';
|
|
10822
|
+
/**
|
|
10823
|
+
* Number of approvals required in quorum mode; null in other modes.
|
|
10824
|
+
*/
|
|
10825
|
+
quorum: number | null;
|
|
10826
|
+
/**
|
|
10827
|
+
* When true, the person who started the run may respond to their own request; false by default.
|
|
10828
|
+
*/
|
|
10829
|
+
allow_self_approval: boolean;
|
|
10830
|
+
/**
|
|
10831
|
+
* When true, an agent (agent session or run token) may respond; false by default.
|
|
10832
|
+
*/
|
|
10833
|
+
allow_agent_decision: boolean;
|
|
10834
|
+
/**
|
|
10835
|
+
* The subject that started the run.
|
|
10836
|
+
*/
|
|
10837
|
+
initiator: {
|
|
10838
|
+
/**
|
|
10839
|
+
* Initiator type: user, api_key, agent, run (a parent run) or trigger.
|
|
10840
|
+
*/
|
|
10841
|
+
type: 'user' | 'api_key' | 'agent' | 'run' | 'trigger';
|
|
10842
|
+
/**
|
|
10843
|
+
* Initiator ID.
|
|
10844
|
+
*/
|
|
10845
|
+
id: string;
|
|
10846
|
+
/**
|
|
10847
|
+
* The user behind the initiator (the owner of an API key or trigger), null when unknown; the self-approval rule uses it.
|
|
10848
|
+
*/
|
|
10849
|
+
user_id: string | null;
|
|
10850
|
+
};
|
|
10851
|
+
/**
|
|
10852
|
+
* 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.
|
|
10853
|
+
*/
|
|
10854
|
+
due_at: string;
|
|
10855
|
+
/**
|
|
10856
|
+
* What happens at due_at.
|
|
10857
|
+
*/
|
|
10858
|
+
on_timeout: {
|
|
10859
|
+
/**
|
|
10860
|
+
* 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.
|
|
10861
|
+
*/
|
|
10862
|
+
action: 'reject' | 'approve' | 'fault';
|
|
10863
|
+
};
|
|
10864
|
+
/**
|
|
10865
|
+
* Reminder intervals (ISO 8601 durations, up to 3); stored, not yet sent in this version.
|
|
10866
|
+
*/
|
|
10867
|
+
remind: Array<string>;
|
|
10868
|
+
/**
|
|
10869
|
+
* Notification channels: console or email; stored, delivery is not wired yet.
|
|
10870
|
+
*/
|
|
10871
|
+
channels: Array<'console' | 'email'>;
|
|
10872
|
+
/**
|
|
10873
|
+
* An agent's proposal (any JSON up to 32 KiB) for the assignees to consider; null when not given.
|
|
10874
|
+
*/
|
|
10875
|
+
proposal: AutomationJsonValue;
|
|
10876
|
+
/**
|
|
10877
|
+
* open: awaiting responses. completed: decided. expired: due_at passed. cancelled: withdrawn, including automatically when the run ended.
|
|
10878
|
+
*/
|
|
10879
|
+
status: AutomationHumanTaskStatus;
|
|
10880
|
+
/**
|
|
10881
|
+
* Responses submitted so far, in order.
|
|
10882
|
+
*/
|
|
10883
|
+
responses: Array<AutomationHumanTaskResponse>;
|
|
10884
|
+
/**
|
|
10885
|
+
* The decision, which is also the workflow step's output; null while open, and after a fault timeout or cancellation.
|
|
10886
|
+
*/
|
|
10887
|
+
outcome: AutomationHumanTaskOutcome | null;
|
|
10888
|
+
/**
|
|
10889
|
+
* Creation time (RFC 3339).
|
|
10890
|
+
*/
|
|
10891
|
+
created_at: string;
|
|
10892
|
+
/**
|
|
10893
|
+
* Last change time (RFC 3339).
|
|
10894
|
+
*/
|
|
10895
|
+
updated_at: string;
|
|
10896
|
+
};
|
|
10897
|
+
export type AutomationHumanTaskRespondInput = {
|
|
10898
|
+
/**
|
|
10899
|
+
* The chosen action ID from the task's actions, for example approve.
|
|
10900
|
+
*/
|
|
10901
|
+
action_id: string;
|
|
10902
|
+
/**
|
|
10903
|
+
* Form values matching the task's form_schema; omit or pass {} when there is no form.
|
|
10904
|
+
*/
|
|
10905
|
+
values?: AutomationJsonObject;
|
|
10906
|
+
/**
|
|
10907
|
+
* Comment of at most 4000 characters; required when the action has require_comment true.
|
|
10908
|
+
*/
|
|
10909
|
+
comment?: string;
|
|
10910
|
+
};
|
|
10911
|
+
export type AutomationHumanTaskCancelInput = {
|
|
10912
|
+
/**
|
|
10913
|
+
* Optional cancellation reason, at most 500 characters.
|
|
10914
|
+
*/
|
|
10915
|
+
reason?: string;
|
|
10916
|
+
};
|
|
10917
|
+
export type AutomationHumanTaskDelegateInput = {
|
|
10918
|
+
/**
|
|
10919
|
+
* User ID taking over; cannot already be an assignee, nor the initiator unless self-approval is allowed.
|
|
10920
|
+
*/
|
|
10921
|
+
to_user: string;
|
|
10922
|
+
};
|
|
10599
10923
|
export type DatabaseCreateDatabaseInput = {
|
|
10600
10924
|
/**
|
|
10601
10925
|
* 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.
|
|
@@ -11541,7 +11865,7 @@ export type MediaLibrary = {
|
|
|
11541
11865
|
};
|
|
11542
11866
|
export type MediaMediaError = {
|
|
11543
11867
|
error: {
|
|
11544
|
-
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';
|
|
11868
|
+
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';
|
|
11545
11869
|
message: string;
|
|
11546
11870
|
details: string | null;
|
|
11547
11871
|
};
|
|
@@ -11674,6 +11998,9 @@ export type MediaAsset = {
|
|
|
11674
11998
|
* Source audio or video duration in seconds, when known.
|
|
11675
11999
|
*/
|
|
11676
12000
|
duration?: number;
|
|
12001
|
+
/**
|
|
12002
|
+
* Number of pages recorded for the asset; omitted when no page count is stored.
|
|
12003
|
+
*/
|
|
11677
12004
|
pages?: number;
|
|
11678
12005
|
/**
|
|
11679
12006
|
* True for audio-only media, which uses resource_type video.
|
|
@@ -11714,6 +12041,9 @@ export type MediaAsset = {
|
|
|
11714
12041
|
* False because this response represents stored source content.
|
|
11715
12042
|
*/
|
|
11716
12043
|
placeholder: false;
|
|
12044
|
+
/**
|
|
12045
|
+
* True when overwrite is false and the public_id already exists; the existing resource is returned.
|
|
12046
|
+
*/
|
|
11717
12047
|
existing?: boolean;
|
|
11718
12048
|
/**
|
|
11719
12049
|
* Progress of understanding and embedding tasks for the asset.
|
|
@@ -18799,7 +19129,7 @@ export type AgentManaged249 = {
|
|
|
18799
19129
|
*/
|
|
18800
19130
|
input_tokens?: number;
|
|
18801
19131
|
/**
|
|
18802
|
-
*
|
|
19132
|
+
* 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.
|
|
18803
19133
|
*/
|
|
18804
19134
|
list_cost?: AgentManaged77;
|
|
18805
19135
|
/**
|
|
@@ -19127,6 +19457,18 @@ export type AgentSseData = {
|
|
|
19127
19457
|
*/
|
|
19128
19458
|
stopped: boolean;
|
|
19129
19459
|
} | {
|
|
19460
|
+
/**
|
|
19461
|
+
* Monotone permission-mode version, incremented once per mode update.
|
|
19462
|
+
*/
|
|
19463
|
+
permission_mode_version?: number;
|
|
19464
|
+
/**
|
|
19465
|
+
* The permission mode before this change, or null when none was selected.
|
|
19466
|
+
*/
|
|
19467
|
+
previous_permission_mode?: string | null;
|
|
19468
|
+
/**
|
|
19469
|
+
* The new native session permission mode; null restores configured tool policies.
|
|
19470
|
+
*/
|
|
19471
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
19130
19472
|
/**
|
|
19131
19473
|
* Unique identifier for this event.
|
|
19132
19474
|
*/
|
|
@@ -19254,6 +19596,10 @@ export type AgentSseData = {
|
|
|
19254
19596
|
*/
|
|
19255
19597
|
type: 'span.model_request_end';
|
|
19256
19598
|
} | {
|
|
19599
|
+
/**
|
|
19600
|
+
* 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.
|
|
19601
|
+
*/
|
|
19602
|
+
full_access_available?: boolean;
|
|
19257
19603
|
/**
|
|
19258
19604
|
* Unique identifier for this event.
|
|
19259
19605
|
*/
|
|
@@ -19296,6 +19642,44 @@ export type AgentSseData = {
|
|
|
19296
19642
|
* Run that produced this event; null when no run identity was recorded.
|
|
19297
19643
|
*/
|
|
19298
19644
|
run_id: string | null;
|
|
19645
|
+
/**
|
|
19646
|
+
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
19647
|
+
*/
|
|
19648
|
+
user_once?: true;
|
|
19649
|
+
/**
|
|
19650
|
+
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
19651
|
+
*/
|
|
19652
|
+
guarded_rule?: string;
|
|
19653
|
+
/**
|
|
19654
|
+
* 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.
|
|
19655
|
+
*/
|
|
19656
|
+
permission_suggestions?: Array<{
|
|
19657
|
+
/**
|
|
19658
|
+
* add_rules adds the offered allow rules.
|
|
19659
|
+
*/
|
|
19660
|
+
type: 'add_rules';
|
|
19661
|
+
/**
|
|
19662
|
+
* allow grants permission for matching calls.
|
|
19663
|
+
*/
|
|
19664
|
+
behavior: 'allow';
|
|
19665
|
+
/**
|
|
19666
|
+
* agent shares the grant across a personal agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
19667
|
+
*/
|
|
19668
|
+
destination: 'agent' | 'session';
|
|
19669
|
+
/**
|
|
19670
|
+
* The complete set of rules from one offered suggestion, without changes.
|
|
19671
|
+
*/
|
|
19672
|
+
rules: Array<{
|
|
19673
|
+
/**
|
|
19674
|
+
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
19675
|
+
*/
|
|
19676
|
+
tool_name: string;
|
|
19677
|
+
/**
|
|
19678
|
+
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
19679
|
+
*/
|
|
19680
|
+
rule_content: string;
|
|
19681
|
+
}>;
|
|
19682
|
+
}>;
|
|
19299
19683
|
} | {
|
|
19300
19684
|
/**
|
|
19301
19685
|
* Unique identifier for this event.
|
|
@@ -19326,6 +19710,10 @@ export type AgentSseData = {
|
|
|
19326
19710
|
*/
|
|
19327
19711
|
run_id: string | null;
|
|
19328
19712
|
} | {
|
|
19713
|
+
/**
|
|
19714
|
+
* 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.
|
|
19715
|
+
*/
|
|
19716
|
+
full_access_available?: boolean;
|
|
19329
19717
|
/**
|
|
19330
19718
|
* Unique identifier for this event.
|
|
19331
19719
|
*/
|
|
@@ -19404,6 +19792,44 @@ export type AgentSseData = {
|
|
|
19404
19792
|
* Praxis extension (MCP Apps, SEP-1865): present when `source` is `codemode`; the id of the codemode tool use whose program made this call. Absent otherwise.
|
|
19405
19793
|
*/
|
|
19406
19794
|
parent_tool_use_id?: string;
|
|
19795
|
+
/**
|
|
19796
|
+
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
19797
|
+
*/
|
|
19798
|
+
user_once?: true;
|
|
19799
|
+
/**
|
|
19800
|
+
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
19801
|
+
*/
|
|
19802
|
+
guarded_rule?: string;
|
|
19803
|
+
/**
|
|
19804
|
+
* 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.
|
|
19805
|
+
*/
|
|
19806
|
+
permission_suggestions?: Array<{
|
|
19807
|
+
/**
|
|
19808
|
+
* add_rules adds the offered allow rules.
|
|
19809
|
+
*/
|
|
19810
|
+
type: 'add_rules';
|
|
19811
|
+
/**
|
|
19812
|
+
* allow grants permission for matching calls.
|
|
19813
|
+
*/
|
|
19814
|
+
behavior: 'allow';
|
|
19815
|
+
/**
|
|
19816
|
+
* agent shares the grant across a personal agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
19817
|
+
*/
|
|
19818
|
+
destination: 'agent' | 'session';
|
|
19819
|
+
/**
|
|
19820
|
+
* The complete set of rules from one offered suggestion, without changes.
|
|
19821
|
+
*/
|
|
19822
|
+
rules: Array<{
|
|
19823
|
+
/**
|
|
19824
|
+
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
19825
|
+
*/
|
|
19826
|
+
tool_name: string;
|
|
19827
|
+
/**
|
|
19828
|
+
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
19829
|
+
*/
|
|
19830
|
+
rule_content: string;
|
|
19831
|
+
}>;
|
|
19832
|
+
}>;
|
|
19407
19833
|
/**
|
|
19408
19834
|
* 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.
|
|
19409
19835
|
*/
|
|
@@ -21083,6 +21509,72 @@ export type AutomationAttributedUsage = {
|
|
|
21083
21509
|
*/
|
|
21084
21510
|
pending_events: number;
|
|
21085
21511
|
};
|
|
21512
|
+
export type AutomationHumanTaskAction = {
|
|
21513
|
+
/**
|
|
21514
|
+
* Action ID to pass as action_id to respond; starts with a lowercase letter, at most 32 characters.
|
|
21515
|
+
*/
|
|
21516
|
+
id: string;
|
|
21517
|
+
/**
|
|
21518
|
+
* Button label.
|
|
21519
|
+
*/
|
|
21520
|
+
label: string;
|
|
21521
|
+
/**
|
|
21522
|
+
* primary: the main button. danger: a destructive button, which is the rejection in all, quorum and sequential modes. default: a plain button.
|
|
21523
|
+
*/
|
|
21524
|
+
style: 'primary' | 'danger' | 'default';
|
|
21525
|
+
/**
|
|
21526
|
+
* When true, choosing this action requires a comment.
|
|
21527
|
+
*/
|
|
21528
|
+
require_comment: boolean;
|
|
21529
|
+
};
|
|
21530
|
+
export type AutomationHumanTaskResponse = {
|
|
21531
|
+
/**
|
|
21532
|
+
* Who responded.
|
|
21533
|
+
*/
|
|
21534
|
+
actor: AutomationHumanTaskActor;
|
|
21535
|
+
/**
|
|
21536
|
+
* The chosen action ID.
|
|
21537
|
+
*/
|
|
21538
|
+
action_id: string;
|
|
21539
|
+
/**
|
|
21540
|
+
* Submitted form values; an empty object when there is no form.
|
|
21541
|
+
*/
|
|
21542
|
+
values: AutomationJsonObject;
|
|
21543
|
+
/**
|
|
21544
|
+
* Comment; null when none.
|
|
21545
|
+
*/
|
|
21546
|
+
comment: string | null;
|
|
21547
|
+
/**
|
|
21548
|
+
* Where it came from: console, api (the public API) or agent.
|
|
21549
|
+
*/
|
|
21550
|
+
via: 'console' | 'api' | 'agent';
|
|
21551
|
+
/**
|
|
21552
|
+
* Submission time (RFC 3339).
|
|
21553
|
+
*/
|
|
21554
|
+
at: string;
|
|
21555
|
+
};
|
|
21556
|
+
export type AutomationHumanTaskOutcome = {
|
|
21557
|
+
/**
|
|
21558
|
+
* The deciding action ID, or timeout:reject / timeout:approve when on_timeout decided.
|
|
21559
|
+
*/
|
|
21560
|
+
decision: string;
|
|
21561
|
+
/**
|
|
21562
|
+
* Form values of the deciding response; an empty object on timeout.
|
|
21563
|
+
*/
|
|
21564
|
+
values: AutomationJsonObject;
|
|
21565
|
+
/**
|
|
21566
|
+
* Comment of the deciding response; null on timeout.
|
|
21567
|
+
*/
|
|
21568
|
+
comment: string | null;
|
|
21569
|
+
/**
|
|
21570
|
+
* Who decided; null on timeout.
|
|
21571
|
+
*/
|
|
21572
|
+
decided_by: AutomationHumanTaskActor | null;
|
|
21573
|
+
/**
|
|
21574
|
+
* All responses at the time the task closed.
|
|
21575
|
+
*/
|
|
21576
|
+
responses: Array<AutomationHumanTaskResponse>;
|
|
21577
|
+
};
|
|
21086
21578
|
export type DatabaseField = {
|
|
21087
21579
|
/**
|
|
21088
21580
|
* Field identifier, prefixed fld_. Stable across renames; accepted wherever a field path parameter takes an id or name.
|
|
@@ -21595,6 +22087,9 @@ export type MediaCloudinaryResource = {
|
|
|
21595
22087
|
* Source audio or video duration in seconds, when known.
|
|
21596
22088
|
*/
|
|
21597
22089
|
duration?: number;
|
|
22090
|
+
/**
|
|
22091
|
+
* Number of pages recorded for the asset; omitted when no page count is stored.
|
|
22092
|
+
*/
|
|
21598
22093
|
pages?: number;
|
|
21599
22094
|
/**
|
|
21600
22095
|
* True for audio-only media, which uses resource_type video.
|
|
@@ -21732,6 +22227,9 @@ export type MediaUnderstanding = {
|
|
|
21732
22227
|
* Producer model identifier; a failure may use the configured model when no model response is available.
|
|
21733
22228
|
*/
|
|
21734
22229
|
producer: string;
|
|
22230
|
+
/**
|
|
22231
|
+
* Version of the producer that generated this understanding result.
|
|
22232
|
+
*/
|
|
21735
22233
|
producer_version: string;
|
|
21736
22234
|
/**
|
|
21737
22235
|
* Source-media time range for a frame or transcript segment; null for results without a segment.
|
|
@@ -21749,6 +22247,9 @@ export type MediaUnderstanding = {
|
|
|
21749
22247
|
* Structured producer output, such as recognized labels or frame details; null when absent.
|
|
21750
22248
|
*/
|
|
21751
22249
|
data: unknown | null;
|
|
22250
|
+
/**
|
|
22251
|
+
* Confidence value recorded by the producer; null when no confidence value is recorded.
|
|
22252
|
+
*/
|
|
21752
22253
|
confidence: number | null;
|
|
21753
22254
|
/**
|
|
21754
22255
|
* Failure code and message, or null for a successful result.
|
|
@@ -21832,6 +22333,9 @@ export type MediaSearchAsset = {
|
|
|
21832
22333
|
* Source audio or video duration in seconds, when known.
|
|
21833
22334
|
*/
|
|
21834
22335
|
duration?: number;
|
|
22336
|
+
/**
|
|
22337
|
+
* Number of pages recorded for the asset; omitted when no page count is stored.
|
|
22338
|
+
*/
|
|
21835
22339
|
pages?: number;
|
|
21836
22340
|
/**
|
|
21837
22341
|
* True for audio-only media, which uses resource_type video.
|
|
@@ -21872,6 +22376,9 @@ export type MediaSearchAsset = {
|
|
|
21872
22376
|
* False because this response represents stored source content.
|
|
21873
22377
|
*/
|
|
21874
22378
|
placeholder: false;
|
|
22379
|
+
/**
|
|
22380
|
+
* True when overwrite is false and the public_id already exists; the existing resource is returned.
|
|
22381
|
+
*/
|
|
21875
22382
|
existing?: boolean;
|
|
21876
22383
|
/**
|
|
21877
22384
|
* Progress of understanding and embedding tasks for the asset.
|
|
@@ -21932,7 +22439,7 @@ export type MediaSemanticHit = {
|
|
|
21932
22439
|
* Identifier returned when a batch job is created.
|
|
21933
22440
|
*/
|
|
21934
22441
|
export type MediaJobId = string;
|
|
21935
|
-
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';
|
|
22442
|
+
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';
|
|
21936
22443
|
/**
|
|
21937
22444
|
* A recorded library event with a monotonically increasing sequence within that library.
|
|
21938
22445
|
*/
|
|
@@ -25946,6 +26453,20 @@ export type AgentManaged141 = {
|
|
|
25946
26453
|
*/
|
|
25947
26454
|
type?: 'packages';
|
|
25948
26455
|
};
|
|
26456
|
+
export type AutomationHumanTaskActor = {
|
|
26457
|
+
/**
|
|
26458
|
+
* The responder's user ID (for an agent, the user it acts for).
|
|
26459
|
+
*/
|
|
26460
|
+
id: string;
|
|
26461
|
+
/**
|
|
26462
|
+
* human: the person responded. agent: an agent responded on their behalf.
|
|
26463
|
+
*/
|
|
26464
|
+
kind: 'human' | 'agent';
|
|
26465
|
+
/**
|
|
26466
|
+
* Display name; this service does not resolve names, so it is null and the Console resolves it from the user ID.
|
|
26467
|
+
*/
|
|
26468
|
+
display_name: string | null;
|
|
26469
|
+
};
|
|
25949
26470
|
export type KnowledgeStaticChunking = {
|
|
25950
26471
|
/**
|
|
25951
26472
|
* static selects explicit chunk-size and overlap settings.
|
|
@@ -26002,6 +26523,9 @@ export type KnowledgeSearchExplain = {
|
|
|
26002
26523
|
*/
|
|
26003
26524
|
matched_terms: Array<string>;
|
|
26004
26525
|
};
|
|
26526
|
+
/**
|
|
26527
|
+
* Aggregate processing state across the asset processing tasks.
|
|
26528
|
+
*/
|
|
26005
26529
|
export type MediaProcessingState = 'pending' | 'processing' | 'ready' | 'partial' | 'failed';
|
|
26006
26530
|
/**
|
|
26007
26531
|
* 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.
|
|
@@ -28076,7 +28600,7 @@ export type UnarchiveAgentResponses = {
|
|
|
28076
28600
|
};
|
|
28077
28601
|
};
|
|
28078
28602
|
/**
|
|
28079
|
-
*
|
|
28603
|
+
* 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.
|
|
28080
28604
|
*/
|
|
28081
28605
|
multiagent: null | {
|
|
28082
28606
|
/**
|
|
@@ -28600,12 +29124,15 @@ export type UnarchiveAgentResponses = {
|
|
|
28600
29124
|
*/
|
|
28601
29125
|
updated_at: string;
|
|
28602
29126
|
/**
|
|
28603
|
-
*
|
|
28604
|
-
* modified.
|
|
29127
|
+
* Version of this returned configuration. Default retrieve returns the effective version; an explicit version query or a version-history item returns that saved version.
|
|
28605
29128
|
*/
|
|
28606
29129
|
version: number;
|
|
28607
29130
|
/**
|
|
28608
|
-
*
|
|
29131
|
+
* Newest saved version number, including an unapplied save. Returned by default retrieve, update and apply; use it for optimistic concurrency when updating.
|
|
29132
|
+
*/
|
|
29133
|
+
latest_version?: number;
|
|
29134
|
+
/**
|
|
29135
|
+
* 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.
|
|
28609
29136
|
*/
|
|
28610
29137
|
active_version: number;
|
|
28611
29138
|
/**
|
|
@@ -35432,7 +35959,7 @@ export type ForkSessionResponses = {
|
|
|
35432
35959
|
*/
|
|
35433
35960
|
input_tokens?: number;
|
|
35434
35961
|
/**
|
|
35435
|
-
*
|
|
35962
|
+
* 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.
|
|
35436
35963
|
*/
|
|
35437
35964
|
list_cost?: null | {
|
|
35438
35965
|
/**
|
|
@@ -35466,18 +35993,15 @@ export type ForkSessionResponses = {
|
|
|
35466
35993
|
web_search_requests?: number;
|
|
35467
35994
|
};
|
|
35468
35995
|
/**
|
|
35469
|
-
*
|
|
35996
|
+
* 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.
|
|
35470
35997
|
*/
|
|
35471
|
-
|
|
35472
|
-
|
|
35473
|
-
* Runtime cost in US dollars, decimal string with exactly 6 decimals.
|
|
35474
|
-
*/
|
|
35475
|
-
amount: string;
|
|
35476
|
-
/**
|
|
35477
|
-
* Always USD.
|
|
35478
|
-
*/
|
|
35479
|
-
currency: 'USD';
|
|
35998
|
+
cost_by_product?: {
|
|
35999
|
+
[key: string]: string;
|
|
35480
36000
|
};
|
|
36001
|
+
/**
|
|
36002
|
+
* 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.
|
|
36003
|
+
*/
|
|
36004
|
+
subagent_cost_micro_usd?: number;
|
|
35481
36005
|
};
|
|
35482
36006
|
/**
|
|
35483
36007
|
* Vault IDs attached to the session at creation. Empty when no vaults were
|
|
@@ -36193,7 +36717,7 @@ export type BrowserListSessionsData = {
|
|
|
36193
36717
|
};
|
|
36194
36718
|
export type BrowserListSessionsErrors = {
|
|
36195
36719
|
/**
|
|
36196
|
-
* INVALID_PARAMS
|
|
36720
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
36197
36721
|
*/
|
|
36198
36722
|
400: BrowserError;
|
|
36199
36723
|
/**
|
|
@@ -36201,11 +36725,15 @@ export type BrowserListSessionsErrors = {
|
|
|
36201
36725
|
*/
|
|
36202
36726
|
401: BrowserError;
|
|
36203
36727
|
/**
|
|
36204
|
-
* INSUFFICIENT_BALANCE
|
|
36728
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
36205
36729
|
*/
|
|
36206
36730
|
402: BrowserError;
|
|
36207
36731
|
/**
|
|
36208
|
-
*
|
|
36732
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
36733
|
+
*/
|
|
36734
|
+
403: BrowserError;
|
|
36735
|
+
/**
|
|
36736
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
36209
36737
|
*/
|
|
36210
36738
|
404: BrowserError;
|
|
36211
36739
|
/**
|
|
@@ -36217,13 +36745,21 @@ export type BrowserListSessionsErrors = {
|
|
|
36217
36745
|
*/
|
|
36218
36746
|
429: BrowserError;
|
|
36219
36747
|
/**
|
|
36220
|
-
*
|
|
36748
|
+
* INTERNAL
|
|
36749
|
+
*/
|
|
36750
|
+
500: BrowserError;
|
|
36751
|
+
/**
|
|
36752
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
36221
36753
|
*/
|
|
36222
36754
|
501: BrowserError;
|
|
36223
36755
|
/**
|
|
36224
36756
|
* PROVIDER_FAILED
|
|
36225
36757
|
*/
|
|
36226
36758
|
502: BrowserError;
|
|
36759
|
+
/**
|
|
36760
|
+
* SERVICE_UNAVAILABLE
|
|
36761
|
+
*/
|
|
36762
|
+
503: BrowserError;
|
|
36227
36763
|
};
|
|
36228
36764
|
export type BrowserListSessionsError = BrowserListSessionsErrors[keyof BrowserListSessionsErrors];
|
|
36229
36765
|
export type BrowserListSessionsResponses = {
|
|
@@ -36250,7 +36786,7 @@ export type BrowserCreateSessionData = {
|
|
|
36250
36786
|
};
|
|
36251
36787
|
export type BrowserCreateSessionErrors = {
|
|
36252
36788
|
/**
|
|
36253
|
-
* INVALID_PARAMS
|
|
36789
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
36254
36790
|
*/
|
|
36255
36791
|
400: BrowserError;
|
|
36256
36792
|
/**
|
|
@@ -36258,11 +36794,15 @@ export type BrowserCreateSessionErrors = {
|
|
|
36258
36794
|
*/
|
|
36259
36795
|
401: BrowserError;
|
|
36260
36796
|
/**
|
|
36261
|
-
* INSUFFICIENT_BALANCE
|
|
36797
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
36262
36798
|
*/
|
|
36263
36799
|
402: BrowserError;
|
|
36264
36800
|
/**
|
|
36265
|
-
*
|
|
36801
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
36802
|
+
*/
|
|
36803
|
+
403: BrowserError;
|
|
36804
|
+
/**
|
|
36805
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
36266
36806
|
*/
|
|
36267
36807
|
404: BrowserError;
|
|
36268
36808
|
/**
|
|
@@ -36274,13 +36814,21 @@ export type BrowserCreateSessionErrors = {
|
|
|
36274
36814
|
*/
|
|
36275
36815
|
429: BrowserError;
|
|
36276
36816
|
/**
|
|
36277
|
-
*
|
|
36817
|
+
* INTERNAL
|
|
36818
|
+
*/
|
|
36819
|
+
500: BrowserError;
|
|
36820
|
+
/**
|
|
36821
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
36278
36822
|
*/
|
|
36279
36823
|
501: BrowserError;
|
|
36280
36824
|
/**
|
|
36281
36825
|
* PROVIDER_FAILED
|
|
36282
36826
|
*/
|
|
36283
36827
|
502: BrowserError;
|
|
36828
|
+
/**
|
|
36829
|
+
* SERVICE_UNAVAILABLE
|
|
36830
|
+
*/
|
|
36831
|
+
503: BrowserError;
|
|
36284
36832
|
};
|
|
36285
36833
|
export type BrowserCreateSessionError = BrowserCreateSessionErrors[keyof BrowserCreateSessionErrors];
|
|
36286
36834
|
export type BrowserCreateSessionResponses = {
|
|
@@ -36308,7 +36856,7 @@ export type BrowserGetSessionData = {
|
|
|
36308
36856
|
};
|
|
36309
36857
|
export type BrowserGetSessionErrors = {
|
|
36310
36858
|
/**
|
|
36311
|
-
* INVALID_PARAMS
|
|
36859
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
36312
36860
|
*/
|
|
36313
36861
|
400: BrowserError;
|
|
36314
36862
|
/**
|
|
@@ -36316,11 +36864,15 @@ export type BrowserGetSessionErrors = {
|
|
|
36316
36864
|
*/
|
|
36317
36865
|
401: BrowserError;
|
|
36318
36866
|
/**
|
|
36319
|
-
* INSUFFICIENT_BALANCE
|
|
36867
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
36320
36868
|
*/
|
|
36321
36869
|
402: BrowserError;
|
|
36322
36870
|
/**
|
|
36323
|
-
*
|
|
36871
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
36872
|
+
*/
|
|
36873
|
+
403: BrowserError;
|
|
36874
|
+
/**
|
|
36875
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
36324
36876
|
*/
|
|
36325
36877
|
404: BrowserError;
|
|
36326
36878
|
/**
|
|
@@ -36332,13 +36884,21 @@ export type BrowserGetSessionErrors = {
|
|
|
36332
36884
|
*/
|
|
36333
36885
|
429: BrowserError;
|
|
36334
36886
|
/**
|
|
36335
|
-
*
|
|
36887
|
+
* INTERNAL
|
|
36888
|
+
*/
|
|
36889
|
+
500: BrowserError;
|
|
36890
|
+
/**
|
|
36891
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
36336
36892
|
*/
|
|
36337
36893
|
501: BrowserError;
|
|
36338
36894
|
/**
|
|
36339
36895
|
* PROVIDER_FAILED
|
|
36340
36896
|
*/
|
|
36341
36897
|
502: BrowserError;
|
|
36898
|
+
/**
|
|
36899
|
+
* SERVICE_UNAVAILABLE
|
|
36900
|
+
*/
|
|
36901
|
+
503: BrowserError;
|
|
36342
36902
|
};
|
|
36343
36903
|
export type BrowserGetSessionError = BrowserGetSessionErrors[keyof BrowserGetSessionErrors];
|
|
36344
36904
|
export type BrowserGetSessionResponses = {
|
|
@@ -36366,7 +36926,7 @@ export type BrowserCloseSessionData = {
|
|
|
36366
36926
|
};
|
|
36367
36927
|
export type BrowserCloseSessionErrors = {
|
|
36368
36928
|
/**
|
|
36369
|
-
* INVALID_PARAMS
|
|
36929
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
36370
36930
|
*/
|
|
36371
36931
|
400: BrowserError;
|
|
36372
36932
|
/**
|
|
@@ -36374,11 +36934,15 @@ export type BrowserCloseSessionErrors = {
|
|
|
36374
36934
|
*/
|
|
36375
36935
|
401: BrowserError;
|
|
36376
36936
|
/**
|
|
36377
|
-
* INSUFFICIENT_BALANCE
|
|
36937
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
36378
36938
|
*/
|
|
36379
36939
|
402: BrowserError;
|
|
36380
36940
|
/**
|
|
36381
|
-
*
|
|
36941
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
36942
|
+
*/
|
|
36943
|
+
403: BrowserError;
|
|
36944
|
+
/**
|
|
36945
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
36382
36946
|
*/
|
|
36383
36947
|
404: BrowserError;
|
|
36384
36948
|
/**
|
|
@@ -36390,13 +36954,21 @@ export type BrowserCloseSessionErrors = {
|
|
|
36390
36954
|
*/
|
|
36391
36955
|
429: BrowserError;
|
|
36392
36956
|
/**
|
|
36393
|
-
*
|
|
36957
|
+
* INTERNAL
|
|
36958
|
+
*/
|
|
36959
|
+
500: BrowserError;
|
|
36960
|
+
/**
|
|
36961
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
36394
36962
|
*/
|
|
36395
36963
|
501: BrowserError;
|
|
36396
36964
|
/**
|
|
36397
36965
|
* PROVIDER_FAILED
|
|
36398
36966
|
*/
|
|
36399
36967
|
502: BrowserError;
|
|
36968
|
+
/**
|
|
36969
|
+
* SERVICE_UNAVAILABLE
|
|
36970
|
+
*/
|
|
36971
|
+
503: BrowserError;
|
|
36400
36972
|
};
|
|
36401
36973
|
export type BrowserCloseSessionError = BrowserCloseSessionErrors[keyof BrowserCloseSessionErrors];
|
|
36402
36974
|
export type BrowserCloseSessionResponses = {
|
|
@@ -36419,7 +36991,7 @@ export type BrowserGetDebugData = {
|
|
|
36419
36991
|
};
|
|
36420
36992
|
export type BrowserGetDebugErrors = {
|
|
36421
36993
|
/**
|
|
36422
|
-
* INVALID_PARAMS
|
|
36994
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
36423
36995
|
*/
|
|
36424
36996
|
400: BrowserError;
|
|
36425
36997
|
/**
|
|
@@ -36427,11 +36999,15 @@ export type BrowserGetDebugErrors = {
|
|
|
36427
36999
|
*/
|
|
36428
37000
|
401: BrowserError;
|
|
36429
37001
|
/**
|
|
36430
|
-
* INSUFFICIENT_BALANCE
|
|
37002
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
36431
37003
|
*/
|
|
36432
37004
|
402: BrowserError;
|
|
36433
37005
|
/**
|
|
36434
|
-
*
|
|
37006
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37007
|
+
*/
|
|
37008
|
+
403: BrowserError;
|
|
37009
|
+
/**
|
|
37010
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
36435
37011
|
*/
|
|
36436
37012
|
404: BrowserError;
|
|
36437
37013
|
/**
|
|
@@ -36443,13 +37019,21 @@ export type BrowserGetDebugErrors = {
|
|
|
36443
37019
|
*/
|
|
36444
37020
|
429: BrowserError;
|
|
36445
37021
|
/**
|
|
36446
|
-
*
|
|
37022
|
+
* INTERNAL
|
|
37023
|
+
*/
|
|
37024
|
+
500: BrowserError;
|
|
37025
|
+
/**
|
|
37026
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
36447
37027
|
*/
|
|
36448
37028
|
501: BrowserError;
|
|
36449
37029
|
/**
|
|
36450
37030
|
* PROVIDER_FAILED
|
|
36451
37031
|
*/
|
|
36452
37032
|
502: BrowserError;
|
|
37033
|
+
/**
|
|
37034
|
+
* SERVICE_UNAVAILABLE
|
|
37035
|
+
*/
|
|
37036
|
+
503: BrowserError;
|
|
36453
37037
|
};
|
|
36454
37038
|
export type BrowserGetDebugError = BrowserGetDebugErrors[keyof BrowserGetDebugErrors];
|
|
36455
37039
|
export type BrowserGetDebugResponses = {
|
|
@@ -36485,7 +37069,7 @@ export type BrowserListEventsData = {
|
|
|
36485
37069
|
};
|
|
36486
37070
|
export type BrowserListEventsErrors = {
|
|
36487
37071
|
/**
|
|
36488
|
-
* INVALID_PARAMS
|
|
37072
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
36489
37073
|
*/
|
|
36490
37074
|
400: BrowserError;
|
|
36491
37075
|
/**
|
|
@@ -36493,11 +37077,15 @@ export type BrowserListEventsErrors = {
|
|
|
36493
37077
|
*/
|
|
36494
37078
|
401: BrowserError;
|
|
36495
37079
|
/**
|
|
36496
|
-
* INSUFFICIENT_BALANCE
|
|
37080
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
36497
37081
|
*/
|
|
36498
37082
|
402: BrowserError;
|
|
36499
37083
|
/**
|
|
36500
|
-
*
|
|
37084
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37085
|
+
*/
|
|
37086
|
+
403: BrowserError;
|
|
37087
|
+
/**
|
|
37088
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
36501
37089
|
*/
|
|
36502
37090
|
404: BrowserError;
|
|
36503
37091
|
/**
|
|
@@ -36509,13 +37097,21 @@ export type BrowserListEventsErrors = {
|
|
|
36509
37097
|
*/
|
|
36510
37098
|
429: BrowserError;
|
|
36511
37099
|
/**
|
|
36512
|
-
*
|
|
37100
|
+
* INTERNAL
|
|
37101
|
+
*/
|
|
37102
|
+
500: BrowserError;
|
|
37103
|
+
/**
|
|
37104
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
36513
37105
|
*/
|
|
36514
37106
|
501: BrowserError;
|
|
36515
37107
|
/**
|
|
36516
37108
|
* PROVIDER_FAILED
|
|
36517
37109
|
*/
|
|
36518
37110
|
502: BrowserError;
|
|
37111
|
+
/**
|
|
37112
|
+
* SERVICE_UNAVAILABLE
|
|
37113
|
+
*/
|
|
37114
|
+
503: BrowserError;
|
|
36519
37115
|
};
|
|
36520
37116
|
export type BrowserListEventsError = BrowserListEventsErrors[keyof BrowserListEventsErrors];
|
|
36521
37117
|
export type BrowserListEventsResponses = {
|
|
@@ -36556,7 +37152,7 @@ export type BrowserRequestHandoffData = {
|
|
|
36556
37152
|
};
|
|
36557
37153
|
export type BrowserRequestHandoffErrors = {
|
|
36558
37154
|
/**
|
|
36559
|
-
* INVALID_PARAMS
|
|
37155
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
36560
37156
|
*/
|
|
36561
37157
|
400: BrowserError;
|
|
36562
37158
|
/**
|
|
@@ -36564,11 +37160,15 @@ export type BrowserRequestHandoffErrors = {
|
|
|
36564
37160
|
*/
|
|
36565
37161
|
401: BrowserError;
|
|
36566
37162
|
/**
|
|
36567
|
-
* INSUFFICIENT_BALANCE
|
|
37163
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
36568
37164
|
*/
|
|
36569
37165
|
402: BrowserError;
|
|
36570
37166
|
/**
|
|
36571
|
-
*
|
|
37167
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37168
|
+
*/
|
|
37169
|
+
403: BrowserError;
|
|
37170
|
+
/**
|
|
37171
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
36572
37172
|
*/
|
|
36573
37173
|
404: BrowserError;
|
|
36574
37174
|
/**
|
|
@@ -36580,20 +37180,28 @@ export type BrowserRequestHandoffErrors = {
|
|
|
36580
37180
|
*/
|
|
36581
37181
|
429: BrowserError;
|
|
36582
37182
|
/**
|
|
36583
|
-
*
|
|
37183
|
+
* INTERNAL
|
|
37184
|
+
*/
|
|
37185
|
+
500: BrowserError;
|
|
37186
|
+
/**
|
|
37187
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
36584
37188
|
*/
|
|
36585
37189
|
501: BrowserError;
|
|
36586
37190
|
/**
|
|
36587
37191
|
* PROVIDER_FAILED
|
|
36588
37192
|
*/
|
|
36589
37193
|
502: BrowserError;
|
|
37194
|
+
/**
|
|
37195
|
+
* SERVICE_UNAVAILABLE
|
|
37196
|
+
*/
|
|
37197
|
+
503: BrowserError;
|
|
36590
37198
|
};
|
|
36591
37199
|
export type BrowserRequestHandoffError = BrowserRequestHandoffErrors[keyof BrowserRequestHandoffErrors];
|
|
36592
37200
|
export type BrowserRequestHandoffResponses = {
|
|
36593
37201
|
/**
|
|
36594
37202
|
* 请求成功。
|
|
36595
37203
|
*/
|
|
36596
|
-
|
|
37204
|
+
201: BrowserEventRecord;
|
|
36597
37205
|
};
|
|
36598
37206
|
export type BrowserRequestHandoffResponse = BrowserRequestHandoffResponses[keyof BrowserRequestHandoffResponses];
|
|
36599
37207
|
export type BrowserCompleteHandoffData = {
|
|
@@ -36609,7 +37217,7 @@ export type BrowserCompleteHandoffData = {
|
|
|
36609
37217
|
};
|
|
36610
37218
|
export type BrowserCompleteHandoffErrors = {
|
|
36611
37219
|
/**
|
|
36612
|
-
* INVALID_PARAMS
|
|
37220
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
36613
37221
|
*/
|
|
36614
37222
|
400: BrowserError;
|
|
36615
37223
|
/**
|
|
@@ -36617,11 +37225,15 @@ export type BrowserCompleteHandoffErrors = {
|
|
|
36617
37225
|
*/
|
|
36618
37226
|
401: BrowserError;
|
|
36619
37227
|
/**
|
|
36620
|
-
* INSUFFICIENT_BALANCE
|
|
37228
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
36621
37229
|
*/
|
|
36622
37230
|
402: BrowserError;
|
|
36623
37231
|
/**
|
|
36624
|
-
*
|
|
37232
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37233
|
+
*/
|
|
37234
|
+
403: BrowserError;
|
|
37235
|
+
/**
|
|
37236
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
36625
37237
|
*/
|
|
36626
37238
|
404: BrowserError;
|
|
36627
37239
|
/**
|
|
@@ -36633,13 +37245,21 @@ export type BrowserCompleteHandoffErrors = {
|
|
|
36633
37245
|
*/
|
|
36634
37246
|
429: BrowserError;
|
|
36635
37247
|
/**
|
|
36636
|
-
*
|
|
37248
|
+
* INTERNAL
|
|
37249
|
+
*/
|
|
37250
|
+
500: BrowserError;
|
|
37251
|
+
/**
|
|
37252
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
36637
37253
|
*/
|
|
36638
37254
|
501: BrowserError;
|
|
36639
37255
|
/**
|
|
36640
37256
|
* PROVIDER_FAILED
|
|
36641
37257
|
*/
|
|
36642
37258
|
502: BrowserError;
|
|
37259
|
+
/**
|
|
37260
|
+
* SERVICE_UNAVAILABLE
|
|
37261
|
+
*/
|
|
37262
|
+
503: BrowserError;
|
|
36643
37263
|
};
|
|
36644
37264
|
export type BrowserCompleteHandoffError = BrowserCompleteHandoffErrors[keyof BrowserCompleteHandoffErrors];
|
|
36645
37265
|
export type BrowserCompleteHandoffResponses = {
|
|
@@ -36667,7 +37287,7 @@ export type BrowserViewerHeartbeatData = {
|
|
|
36667
37287
|
};
|
|
36668
37288
|
export type BrowserViewerHeartbeatErrors = {
|
|
36669
37289
|
/**
|
|
36670
|
-
* INVALID_PARAMS
|
|
37290
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
36671
37291
|
*/
|
|
36672
37292
|
400: BrowserError;
|
|
36673
37293
|
/**
|
|
@@ -36675,11 +37295,15 @@ export type BrowserViewerHeartbeatErrors = {
|
|
|
36675
37295
|
*/
|
|
36676
37296
|
401: BrowserError;
|
|
36677
37297
|
/**
|
|
36678
|
-
* INSUFFICIENT_BALANCE
|
|
37298
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
36679
37299
|
*/
|
|
36680
37300
|
402: BrowserError;
|
|
36681
37301
|
/**
|
|
36682
|
-
*
|
|
37302
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37303
|
+
*/
|
|
37304
|
+
403: BrowserError;
|
|
37305
|
+
/**
|
|
37306
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
36683
37307
|
*/
|
|
36684
37308
|
404: BrowserError;
|
|
36685
37309
|
/**
|
|
@@ -36691,13 +37315,21 @@ export type BrowserViewerHeartbeatErrors = {
|
|
|
36691
37315
|
*/
|
|
36692
37316
|
429: BrowserError;
|
|
36693
37317
|
/**
|
|
36694
|
-
*
|
|
37318
|
+
* INTERNAL
|
|
37319
|
+
*/
|
|
37320
|
+
500: BrowserError;
|
|
37321
|
+
/**
|
|
37322
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
36695
37323
|
*/
|
|
36696
37324
|
501: BrowserError;
|
|
36697
37325
|
/**
|
|
36698
37326
|
* PROVIDER_FAILED
|
|
36699
37327
|
*/
|
|
36700
37328
|
502: BrowserError;
|
|
37329
|
+
/**
|
|
37330
|
+
* SERVICE_UNAVAILABLE
|
|
37331
|
+
*/
|
|
37332
|
+
503: BrowserError;
|
|
36701
37333
|
};
|
|
36702
37334
|
export type BrowserViewerHeartbeatError = BrowserViewerHeartbeatErrors[keyof BrowserViewerHeartbeatErrors];
|
|
36703
37335
|
export type BrowserViewerHeartbeatResponses = {
|
|
@@ -36729,7 +37361,7 @@ export type BrowserListContextsData = {
|
|
|
36729
37361
|
};
|
|
36730
37362
|
export type BrowserListContextsErrors = {
|
|
36731
37363
|
/**
|
|
36732
|
-
* INVALID_PARAMS
|
|
37364
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
36733
37365
|
*/
|
|
36734
37366
|
400: BrowserError;
|
|
36735
37367
|
/**
|
|
@@ -36737,11 +37369,15 @@ export type BrowserListContextsErrors = {
|
|
|
36737
37369
|
*/
|
|
36738
37370
|
401: BrowserError;
|
|
36739
37371
|
/**
|
|
36740
|
-
* INSUFFICIENT_BALANCE
|
|
37372
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
36741
37373
|
*/
|
|
36742
37374
|
402: BrowserError;
|
|
36743
37375
|
/**
|
|
36744
|
-
*
|
|
37376
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37377
|
+
*/
|
|
37378
|
+
403: BrowserError;
|
|
37379
|
+
/**
|
|
37380
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
36745
37381
|
*/
|
|
36746
37382
|
404: BrowserError;
|
|
36747
37383
|
/**
|
|
@@ -36753,13 +37389,21 @@ export type BrowserListContextsErrors = {
|
|
|
36753
37389
|
*/
|
|
36754
37390
|
429: BrowserError;
|
|
36755
37391
|
/**
|
|
36756
|
-
*
|
|
37392
|
+
* INTERNAL
|
|
37393
|
+
*/
|
|
37394
|
+
500: BrowserError;
|
|
37395
|
+
/**
|
|
37396
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
36757
37397
|
*/
|
|
36758
37398
|
501: BrowserError;
|
|
36759
37399
|
/**
|
|
36760
37400
|
* PROVIDER_FAILED
|
|
36761
37401
|
*/
|
|
36762
37402
|
502: BrowserError;
|
|
37403
|
+
/**
|
|
37404
|
+
* SERVICE_UNAVAILABLE
|
|
37405
|
+
*/
|
|
37406
|
+
503: BrowserError;
|
|
36763
37407
|
};
|
|
36764
37408
|
export type BrowserListContextsError = BrowserListContextsErrors[keyof BrowserListContextsErrors];
|
|
36765
37409
|
export type BrowserListContextsResponses = {
|
|
@@ -36801,7 +37445,7 @@ export type BrowserCreateContextData = {
|
|
|
36801
37445
|
};
|
|
36802
37446
|
export type BrowserCreateContextErrors = {
|
|
36803
37447
|
/**
|
|
36804
|
-
* INVALID_PARAMS
|
|
37448
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
36805
37449
|
*/
|
|
36806
37450
|
400: BrowserError;
|
|
36807
37451
|
/**
|
|
@@ -36809,11 +37453,15 @@ export type BrowserCreateContextErrors = {
|
|
|
36809
37453
|
*/
|
|
36810
37454
|
401: BrowserError;
|
|
36811
37455
|
/**
|
|
36812
|
-
* INSUFFICIENT_BALANCE
|
|
37456
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
36813
37457
|
*/
|
|
36814
37458
|
402: BrowserError;
|
|
36815
37459
|
/**
|
|
36816
|
-
*
|
|
37460
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37461
|
+
*/
|
|
37462
|
+
403: BrowserError;
|
|
37463
|
+
/**
|
|
37464
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
36817
37465
|
*/
|
|
36818
37466
|
404: BrowserError;
|
|
36819
37467
|
/**
|
|
@@ -36825,13 +37473,21 @@ export type BrowserCreateContextErrors = {
|
|
|
36825
37473
|
*/
|
|
36826
37474
|
429: BrowserError;
|
|
36827
37475
|
/**
|
|
36828
|
-
*
|
|
37476
|
+
* INTERNAL
|
|
37477
|
+
*/
|
|
37478
|
+
500: BrowserError;
|
|
37479
|
+
/**
|
|
37480
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
36829
37481
|
*/
|
|
36830
37482
|
501: BrowserError;
|
|
36831
37483
|
/**
|
|
36832
37484
|
* PROVIDER_FAILED
|
|
36833
37485
|
*/
|
|
36834
37486
|
502: BrowserError;
|
|
37487
|
+
/**
|
|
37488
|
+
* SERVICE_UNAVAILABLE
|
|
37489
|
+
*/
|
|
37490
|
+
503: BrowserError;
|
|
36835
37491
|
};
|
|
36836
37492
|
export type BrowserCreateContextError = BrowserCreateContextErrors[keyof BrowserCreateContextErrors];
|
|
36837
37493
|
export type BrowserCreateContextResponses = {
|
|
@@ -36854,7 +37510,7 @@ export type BrowserDeleteContextData = {
|
|
|
36854
37510
|
};
|
|
36855
37511
|
export type BrowserDeleteContextErrors = {
|
|
36856
37512
|
/**
|
|
36857
|
-
* INVALID_PARAMS
|
|
37513
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
36858
37514
|
*/
|
|
36859
37515
|
400: BrowserError;
|
|
36860
37516
|
/**
|
|
@@ -36862,11 +37518,15 @@ export type BrowserDeleteContextErrors = {
|
|
|
36862
37518
|
*/
|
|
36863
37519
|
401: BrowserError;
|
|
36864
37520
|
/**
|
|
36865
|
-
* INSUFFICIENT_BALANCE
|
|
37521
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
36866
37522
|
*/
|
|
36867
37523
|
402: BrowserError;
|
|
36868
37524
|
/**
|
|
36869
|
-
*
|
|
37525
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37526
|
+
*/
|
|
37527
|
+
403: BrowserError;
|
|
37528
|
+
/**
|
|
37529
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
36870
37530
|
*/
|
|
36871
37531
|
404: BrowserError;
|
|
36872
37532
|
/**
|
|
@@ -36878,13 +37538,21 @@ export type BrowserDeleteContextErrors = {
|
|
|
36878
37538
|
*/
|
|
36879
37539
|
429: BrowserError;
|
|
36880
37540
|
/**
|
|
36881
|
-
*
|
|
37541
|
+
* INTERNAL
|
|
37542
|
+
*/
|
|
37543
|
+
500: BrowserError;
|
|
37544
|
+
/**
|
|
37545
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
36882
37546
|
*/
|
|
36883
37547
|
501: BrowserError;
|
|
36884
37548
|
/**
|
|
36885
37549
|
* PROVIDER_FAILED
|
|
36886
37550
|
*/
|
|
36887
37551
|
502: BrowserError;
|
|
37552
|
+
/**
|
|
37553
|
+
* SERVICE_UNAVAILABLE
|
|
37554
|
+
*/
|
|
37555
|
+
503: BrowserError;
|
|
36888
37556
|
};
|
|
36889
37557
|
export type BrowserDeleteContextError = BrowserDeleteContextErrors[keyof BrowserDeleteContextErrors];
|
|
36890
37558
|
export type BrowserDeleteContextResponses = {
|
|
@@ -36912,7 +37580,7 @@ export type BrowserGetContextData = {
|
|
|
36912
37580
|
};
|
|
36913
37581
|
export type BrowserGetContextErrors = {
|
|
36914
37582
|
/**
|
|
36915
|
-
* INVALID_PARAMS
|
|
37583
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
36916
37584
|
*/
|
|
36917
37585
|
400: BrowserError;
|
|
36918
37586
|
/**
|
|
@@ -36920,11 +37588,15 @@ export type BrowserGetContextErrors = {
|
|
|
36920
37588
|
*/
|
|
36921
37589
|
401: BrowserError;
|
|
36922
37590
|
/**
|
|
36923
|
-
* INSUFFICIENT_BALANCE
|
|
37591
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
36924
37592
|
*/
|
|
36925
37593
|
402: BrowserError;
|
|
36926
37594
|
/**
|
|
36927
|
-
*
|
|
37595
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37596
|
+
*/
|
|
37597
|
+
403: BrowserError;
|
|
37598
|
+
/**
|
|
37599
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
36928
37600
|
*/
|
|
36929
37601
|
404: BrowserError;
|
|
36930
37602
|
/**
|
|
@@ -36936,13 +37608,21 @@ export type BrowserGetContextErrors = {
|
|
|
36936
37608
|
*/
|
|
36937
37609
|
429: BrowserError;
|
|
36938
37610
|
/**
|
|
36939
|
-
*
|
|
37611
|
+
* INTERNAL
|
|
37612
|
+
*/
|
|
37613
|
+
500: BrowserError;
|
|
37614
|
+
/**
|
|
37615
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
36940
37616
|
*/
|
|
36941
37617
|
501: BrowserError;
|
|
36942
37618
|
/**
|
|
36943
37619
|
* PROVIDER_FAILED
|
|
36944
37620
|
*/
|
|
36945
37621
|
502: BrowserError;
|
|
37622
|
+
/**
|
|
37623
|
+
* SERVICE_UNAVAILABLE
|
|
37624
|
+
*/
|
|
37625
|
+
503: BrowserError;
|
|
36946
37626
|
};
|
|
36947
37627
|
export type BrowserGetContextError = BrowserGetContextErrors[keyof BrowserGetContextErrors];
|
|
36948
37628
|
export type BrowserGetContextResponses = {
|
|
@@ -36976,7 +37656,7 @@ export type BrowserUpdateContextData = {
|
|
|
36976
37656
|
};
|
|
36977
37657
|
export type BrowserUpdateContextErrors = {
|
|
36978
37658
|
/**
|
|
36979
|
-
* INVALID_PARAMS
|
|
37659
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
36980
37660
|
*/
|
|
36981
37661
|
400: BrowserError;
|
|
36982
37662
|
/**
|
|
@@ -36984,11 +37664,15 @@ export type BrowserUpdateContextErrors = {
|
|
|
36984
37664
|
*/
|
|
36985
37665
|
401: BrowserError;
|
|
36986
37666
|
/**
|
|
36987
|
-
* INSUFFICIENT_BALANCE
|
|
37667
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
36988
37668
|
*/
|
|
36989
37669
|
402: BrowserError;
|
|
36990
37670
|
/**
|
|
36991
|
-
*
|
|
37671
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37672
|
+
*/
|
|
37673
|
+
403: BrowserError;
|
|
37674
|
+
/**
|
|
37675
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
36992
37676
|
*/
|
|
36993
37677
|
404: BrowserError;
|
|
36994
37678
|
/**
|
|
@@ -37000,13 +37684,21 @@ export type BrowserUpdateContextErrors = {
|
|
|
37000
37684
|
*/
|
|
37001
37685
|
429: BrowserError;
|
|
37002
37686
|
/**
|
|
37003
|
-
*
|
|
37687
|
+
* INTERNAL
|
|
37688
|
+
*/
|
|
37689
|
+
500: BrowserError;
|
|
37690
|
+
/**
|
|
37691
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
37004
37692
|
*/
|
|
37005
37693
|
501: BrowserError;
|
|
37006
37694
|
/**
|
|
37007
37695
|
* PROVIDER_FAILED
|
|
37008
37696
|
*/
|
|
37009
37697
|
502: BrowserError;
|
|
37698
|
+
/**
|
|
37699
|
+
* SERVICE_UNAVAILABLE
|
|
37700
|
+
*/
|
|
37701
|
+
503: BrowserError;
|
|
37010
37702
|
};
|
|
37011
37703
|
export type BrowserUpdateContextError = BrowserUpdateContextErrors[keyof BrowserUpdateContextErrors];
|
|
37012
37704
|
export type BrowserUpdateContextResponses = {
|
|
@@ -37061,7 +37753,7 @@ export type BrowserConnectData = {
|
|
|
37061
37753
|
};
|
|
37062
37754
|
export type BrowserConnectErrors = {
|
|
37063
37755
|
/**
|
|
37064
|
-
* INVALID_PARAMS
|
|
37756
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
37065
37757
|
*/
|
|
37066
37758
|
400: BrowserError;
|
|
37067
37759
|
/**
|
|
@@ -37069,11 +37761,15 @@ export type BrowserConnectErrors = {
|
|
|
37069
37761
|
*/
|
|
37070
37762
|
401: BrowserError;
|
|
37071
37763
|
/**
|
|
37072
|
-
* INSUFFICIENT_BALANCE
|
|
37764
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
37073
37765
|
*/
|
|
37074
37766
|
402: BrowserError;
|
|
37075
37767
|
/**
|
|
37076
|
-
*
|
|
37768
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37769
|
+
*/
|
|
37770
|
+
403: BrowserError;
|
|
37771
|
+
/**
|
|
37772
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
37077
37773
|
*/
|
|
37078
37774
|
404: BrowserError;
|
|
37079
37775
|
/**
|
|
@@ -37085,13 +37781,21 @@ export type BrowserConnectErrors = {
|
|
|
37085
37781
|
*/
|
|
37086
37782
|
429: BrowserError;
|
|
37087
37783
|
/**
|
|
37088
|
-
*
|
|
37784
|
+
* INTERNAL
|
|
37785
|
+
*/
|
|
37786
|
+
500: BrowserError;
|
|
37787
|
+
/**
|
|
37788
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
37089
37789
|
*/
|
|
37090
37790
|
501: BrowserError;
|
|
37091
37791
|
/**
|
|
37092
37792
|
* PROVIDER_FAILED
|
|
37093
37793
|
*/
|
|
37094
37794
|
502: BrowserError;
|
|
37795
|
+
/**
|
|
37796
|
+
* SERVICE_UNAVAILABLE
|
|
37797
|
+
*/
|
|
37798
|
+
503: BrowserError;
|
|
37095
37799
|
};
|
|
37096
37800
|
export type BrowserConnectError = BrowserConnectErrors[keyof BrowserConnectErrors];
|
|
37097
37801
|
export type BrowserLiveViewData = {
|
|
@@ -37116,7 +37820,7 @@ export type BrowserLiveViewData = {
|
|
|
37116
37820
|
};
|
|
37117
37821
|
export type BrowserLiveViewErrors = {
|
|
37118
37822
|
/**
|
|
37119
|
-
* INVALID_PARAMS
|
|
37823
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
37120
37824
|
*/
|
|
37121
37825
|
400: BrowserError;
|
|
37122
37826
|
/**
|
|
@@ -37124,11 +37828,15 @@ export type BrowserLiveViewErrors = {
|
|
|
37124
37828
|
*/
|
|
37125
37829
|
401: BrowserError;
|
|
37126
37830
|
/**
|
|
37127
|
-
* INSUFFICIENT_BALANCE
|
|
37831
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
37128
37832
|
*/
|
|
37129
37833
|
402: BrowserError;
|
|
37130
37834
|
/**
|
|
37131
|
-
*
|
|
37835
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37836
|
+
*/
|
|
37837
|
+
403: BrowserError;
|
|
37838
|
+
/**
|
|
37839
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
37132
37840
|
*/
|
|
37133
37841
|
404: BrowserError;
|
|
37134
37842
|
/**
|
|
@@ -37140,13 +37848,21 @@ export type BrowserLiveViewErrors = {
|
|
|
37140
37848
|
*/
|
|
37141
37849
|
429: BrowserError;
|
|
37142
37850
|
/**
|
|
37143
|
-
*
|
|
37851
|
+
* INTERNAL
|
|
37852
|
+
*/
|
|
37853
|
+
500: BrowserError;
|
|
37854
|
+
/**
|
|
37855
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
37144
37856
|
*/
|
|
37145
37857
|
501: BrowserError;
|
|
37146
37858
|
/**
|
|
37147
37859
|
* PROVIDER_FAILED
|
|
37148
37860
|
*/
|
|
37149
37861
|
502: BrowserError;
|
|
37862
|
+
/**
|
|
37863
|
+
* SERVICE_UNAVAILABLE
|
|
37864
|
+
*/
|
|
37865
|
+
503: BrowserError;
|
|
37150
37866
|
};
|
|
37151
37867
|
export type BrowserLiveViewError = BrowserLiveViewErrors[keyof BrowserLiveViewErrors];
|
|
37152
37868
|
export type BrowserStreamSessionData = {
|
|
@@ -37162,7 +37878,7 @@ export type BrowserStreamSessionData = {
|
|
|
37162
37878
|
};
|
|
37163
37879
|
export type BrowserStreamSessionErrors = {
|
|
37164
37880
|
/**
|
|
37165
|
-
* INVALID_PARAMS
|
|
37881
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
37166
37882
|
*/
|
|
37167
37883
|
400: BrowserError;
|
|
37168
37884
|
/**
|
|
@@ -37170,11 +37886,15 @@ export type BrowserStreamSessionErrors = {
|
|
|
37170
37886
|
*/
|
|
37171
37887
|
401: BrowserError;
|
|
37172
37888
|
/**
|
|
37173
|
-
* INSUFFICIENT_BALANCE
|
|
37889
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
37174
37890
|
*/
|
|
37175
37891
|
402: BrowserError;
|
|
37176
37892
|
/**
|
|
37177
|
-
*
|
|
37893
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37894
|
+
*/
|
|
37895
|
+
403: BrowserError;
|
|
37896
|
+
/**
|
|
37897
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
37178
37898
|
*/
|
|
37179
37899
|
404: BrowserError;
|
|
37180
37900
|
/**
|
|
@@ -37186,13 +37906,21 @@ export type BrowserStreamSessionErrors = {
|
|
|
37186
37906
|
*/
|
|
37187
37907
|
429: BrowserError;
|
|
37188
37908
|
/**
|
|
37189
|
-
*
|
|
37909
|
+
* INTERNAL
|
|
37910
|
+
*/
|
|
37911
|
+
500: BrowserError;
|
|
37912
|
+
/**
|
|
37913
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
37190
37914
|
*/
|
|
37191
37915
|
501: BrowserError;
|
|
37192
37916
|
/**
|
|
37193
37917
|
* PROVIDER_FAILED
|
|
37194
37918
|
*/
|
|
37195
37919
|
502: BrowserError;
|
|
37920
|
+
/**
|
|
37921
|
+
* SERVICE_UNAVAILABLE
|
|
37922
|
+
*/
|
|
37923
|
+
503: BrowserError;
|
|
37196
37924
|
};
|
|
37197
37925
|
export type BrowserStreamSessionError = BrowserStreamSessionErrors[keyof BrowserStreamSessionErrors];
|
|
37198
37926
|
export type BrowserStreamSessionResponses = {
|
|
@@ -37210,7 +37938,7 @@ export type BrowserSeleniumUnsupportedData = {
|
|
|
37210
37938
|
};
|
|
37211
37939
|
export type BrowserSeleniumUnsupportedErrors = {
|
|
37212
37940
|
/**
|
|
37213
|
-
* PROVIDER_UNSUPPORTED
|
|
37941
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
37214
37942
|
*/
|
|
37215
37943
|
501: BrowserError;
|
|
37216
37944
|
};
|
|
@@ -49904,6 +50632,10 @@ export type SessionsEventsListResponses = {
|
|
|
49904
50632
|
*/
|
|
49905
50633
|
message_id?: string;
|
|
49906
50634
|
} | {
|
|
50635
|
+
/**
|
|
50636
|
+
* 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.
|
|
50637
|
+
*/
|
|
50638
|
+
full_access_available?: boolean;
|
|
49907
50639
|
/**
|
|
49908
50640
|
* Unique identifier for this event.
|
|
49909
50641
|
*/
|
|
@@ -49982,6 +50714,44 @@ export type SessionsEventsListResponses = {
|
|
|
49982
50714
|
* Praxis extension (MCP Apps, SEP-1865): present when `source` is `codemode`; the id of the codemode tool use whose program made this call. Absent otherwise.
|
|
49983
50715
|
*/
|
|
49984
50716
|
parent_tool_use_id?: string;
|
|
50717
|
+
/**
|
|
50718
|
+
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
50719
|
+
*/
|
|
50720
|
+
user_once?: true;
|
|
50721
|
+
/**
|
|
50722
|
+
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
50723
|
+
*/
|
|
50724
|
+
guarded_rule?: string;
|
|
50725
|
+
/**
|
|
50726
|
+
* 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.
|
|
50727
|
+
*/
|
|
50728
|
+
permission_suggestions?: Array<{
|
|
50729
|
+
/**
|
|
50730
|
+
* add_rules adds the offered allow rules.
|
|
50731
|
+
*/
|
|
50732
|
+
type: 'add_rules';
|
|
50733
|
+
/**
|
|
50734
|
+
* allow grants permission for matching calls.
|
|
50735
|
+
*/
|
|
50736
|
+
behavior: 'allow';
|
|
50737
|
+
/**
|
|
50738
|
+
* agent shares the grant across a personal agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
50739
|
+
*/
|
|
50740
|
+
destination: 'agent' | 'session';
|
|
50741
|
+
/**
|
|
50742
|
+
* The complete set of rules from one offered suggestion, without changes.
|
|
50743
|
+
*/
|
|
50744
|
+
rules: Array<{
|
|
50745
|
+
/**
|
|
50746
|
+
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
50747
|
+
*/
|
|
50748
|
+
tool_name: string;
|
|
50749
|
+
/**
|
|
50750
|
+
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
50751
|
+
*/
|
|
50752
|
+
rule_content: string;
|
|
50753
|
+
}>;
|
|
50754
|
+
}>;
|
|
49985
50755
|
/**
|
|
49986
50756
|
* 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.
|
|
49987
50757
|
*/
|
|
@@ -50036,6 +50806,10 @@ export type SessionsEventsListResponses = {
|
|
|
50036
50806
|
*/
|
|
50037
50807
|
source?: 'app' | 'codemode';
|
|
50038
50808
|
} | {
|
|
50809
|
+
/**
|
|
50810
|
+
* 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.
|
|
50811
|
+
*/
|
|
50812
|
+
full_access_available?: boolean;
|
|
50039
50813
|
/**
|
|
50040
50814
|
* Unique identifier for this event.
|
|
50041
50815
|
*/
|
|
@@ -50078,6 +50852,44 @@ export type SessionsEventsListResponses = {
|
|
|
50078
50852
|
* Run that produced this event; null when no run identity was recorded.
|
|
50079
50853
|
*/
|
|
50080
50854
|
run_id: string | null;
|
|
50855
|
+
/**
|
|
50856
|
+
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
50857
|
+
*/
|
|
50858
|
+
user_once?: true;
|
|
50859
|
+
/**
|
|
50860
|
+
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
50861
|
+
*/
|
|
50862
|
+
guarded_rule?: string;
|
|
50863
|
+
/**
|
|
50864
|
+
* 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.
|
|
50865
|
+
*/
|
|
50866
|
+
permission_suggestions?: Array<{
|
|
50867
|
+
/**
|
|
50868
|
+
* add_rules adds the offered allow rules.
|
|
50869
|
+
*/
|
|
50870
|
+
type: 'add_rules';
|
|
50871
|
+
/**
|
|
50872
|
+
* allow grants permission for matching calls.
|
|
50873
|
+
*/
|
|
50874
|
+
behavior: 'allow';
|
|
50875
|
+
/**
|
|
50876
|
+
* agent shares the grant across a personal agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
50877
|
+
*/
|
|
50878
|
+
destination: 'agent' | 'session';
|
|
50879
|
+
/**
|
|
50880
|
+
* The complete set of rules from one offered suggestion, without changes.
|
|
50881
|
+
*/
|
|
50882
|
+
rules: Array<{
|
|
50883
|
+
/**
|
|
50884
|
+
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
50885
|
+
*/
|
|
50886
|
+
tool_name: string;
|
|
50887
|
+
/**
|
|
50888
|
+
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
50889
|
+
*/
|
|
50890
|
+
rule_content: string;
|
|
50891
|
+
}>;
|
|
50892
|
+
}>;
|
|
50081
50893
|
} | {
|
|
50082
50894
|
/**
|
|
50083
50895
|
* Unique identifier for this event.
|
|
@@ -50146,6 +50958,18 @@ export type SessionsEventsListResponses = {
|
|
|
50146
50958
|
*/
|
|
50147
50959
|
run_id: string | null;
|
|
50148
50960
|
} | AgentManaged230 | AgentManaged231 | AgentManaged232 | AgentManaged233 | AgentManaged235 | AgentManaged236 | AgentManaged237 | AgentManaged238 | AgentManaged239 | AgentManaged240 | AgentManaged241 | AgentManaged242 | AgentManaged243 | AgentManaged244 | {
|
|
50961
|
+
/**
|
|
50962
|
+
* Monotone permission-mode version, incremented once per mode update.
|
|
50963
|
+
*/
|
|
50964
|
+
permission_mode_version?: number;
|
|
50965
|
+
/**
|
|
50966
|
+
* The permission mode before this change, or null when none was selected.
|
|
50967
|
+
*/
|
|
50968
|
+
previous_permission_mode?: string | null;
|
|
50969
|
+
/**
|
|
50970
|
+
* The new native session permission mode; null restores configured tool policies.
|
|
50971
|
+
*/
|
|
50972
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
50149
50973
|
/**
|
|
50150
50974
|
* Unique identifier for this event.
|
|
50151
50975
|
*/
|
|
@@ -51021,6 +51845,10 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
51021
51845
|
*/
|
|
51022
51846
|
message_id?: string;
|
|
51023
51847
|
} | {
|
|
51848
|
+
/**
|
|
51849
|
+
* 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.
|
|
51850
|
+
*/
|
|
51851
|
+
full_access_available?: boolean;
|
|
51024
51852
|
/**
|
|
51025
51853
|
* Unique identifier for this event.
|
|
51026
51854
|
*/
|
|
@@ -51099,6 +51927,44 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
51099
51927
|
* Praxis extension (MCP Apps, SEP-1865): `app` when the call was made by an MCP Apps view, `codemode` when a program run by the codemode tool called an MCP tool that declares a view (the event pair exists so a client can render that view; the model already has the result in the codemode tool result); absent for the model's own calls.
|
|
51100
51928
|
*/
|
|
51101
51929
|
source?: 'app' | 'codemode';
|
|
51930
|
+
/**
|
|
51931
|
+
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
51932
|
+
*/
|
|
51933
|
+
user_once?: true;
|
|
51934
|
+
/**
|
|
51935
|
+
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
51936
|
+
*/
|
|
51937
|
+
guarded_rule?: string;
|
|
51938
|
+
/**
|
|
51939
|
+
* 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.
|
|
51940
|
+
*/
|
|
51941
|
+
permission_suggestions?: Array<{
|
|
51942
|
+
/**
|
|
51943
|
+
* add_rules adds the offered allow rules.
|
|
51944
|
+
*/
|
|
51945
|
+
type: 'add_rules';
|
|
51946
|
+
/**
|
|
51947
|
+
* allow grants permission for matching calls.
|
|
51948
|
+
*/
|
|
51949
|
+
behavior: 'allow';
|
|
51950
|
+
/**
|
|
51951
|
+
* agent shares the grant across a personal agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
51952
|
+
*/
|
|
51953
|
+
destination: 'agent' | 'session';
|
|
51954
|
+
/**
|
|
51955
|
+
* The complete set of rules from one offered suggestion, without changes.
|
|
51956
|
+
*/
|
|
51957
|
+
rules: Array<{
|
|
51958
|
+
/**
|
|
51959
|
+
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
51960
|
+
*/
|
|
51961
|
+
tool_name: string;
|
|
51962
|
+
/**
|
|
51963
|
+
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
51964
|
+
*/
|
|
51965
|
+
rule_content: string;
|
|
51966
|
+
}>;
|
|
51967
|
+
}>;
|
|
51102
51968
|
/**
|
|
51103
51969
|
* 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.
|
|
51104
51970
|
*/
|
|
@@ -51153,6 +52019,10 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
51153
52019
|
*/
|
|
51154
52020
|
source?: 'app' | 'codemode';
|
|
51155
52021
|
} | {
|
|
52022
|
+
/**
|
|
52023
|
+
* 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.
|
|
52024
|
+
*/
|
|
52025
|
+
full_access_available?: boolean;
|
|
51156
52026
|
/**
|
|
51157
52027
|
* Unique identifier for this event.
|
|
51158
52028
|
*/
|
|
@@ -51195,6 +52065,44 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
51195
52065
|
* Run that produced this event; null when no run identity was recorded.
|
|
51196
52066
|
*/
|
|
51197
52067
|
run_id: string | null;
|
|
52068
|
+
/**
|
|
52069
|
+
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
52070
|
+
*/
|
|
52071
|
+
user_once?: true;
|
|
52072
|
+
/**
|
|
52073
|
+
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
52074
|
+
*/
|
|
52075
|
+
guarded_rule?: string;
|
|
52076
|
+
/**
|
|
52077
|
+
* 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.
|
|
52078
|
+
*/
|
|
52079
|
+
permission_suggestions?: Array<{
|
|
52080
|
+
/**
|
|
52081
|
+
* add_rules adds the offered allow rules.
|
|
52082
|
+
*/
|
|
52083
|
+
type: 'add_rules';
|
|
52084
|
+
/**
|
|
52085
|
+
* allow grants permission for matching calls.
|
|
52086
|
+
*/
|
|
52087
|
+
behavior: 'allow';
|
|
52088
|
+
/**
|
|
52089
|
+
* agent shares the grant across a personal agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
52090
|
+
*/
|
|
52091
|
+
destination: 'agent' | 'session';
|
|
52092
|
+
/**
|
|
52093
|
+
* The complete set of rules from one offered suggestion, without changes.
|
|
52094
|
+
*/
|
|
52095
|
+
rules: Array<{
|
|
52096
|
+
/**
|
|
52097
|
+
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
52098
|
+
*/
|
|
52099
|
+
tool_name: string;
|
|
52100
|
+
/**
|
|
52101
|
+
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
52102
|
+
*/
|
|
52103
|
+
rule_content: string;
|
|
52104
|
+
}>;
|
|
52105
|
+
}>;
|
|
51198
52106
|
} | {
|
|
51199
52107
|
/**
|
|
51200
52108
|
* Unique identifier for this event.
|
|
@@ -51263,6 +52171,18 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
51263
52171
|
*/
|
|
51264
52172
|
run_id: string | null;
|
|
51265
52173
|
} | AgentManaged230 | AgentManaged231 | AgentManaged232 | AgentManaged233 | AgentManaged235 | AgentManaged236 | AgentManaged237 | AgentManaged238 | AgentManaged239 | AgentManaged240 | AgentManaged241 | AgentManaged242 | AgentManaged243 | AgentManaged244 | {
|
|
52174
|
+
/**
|
|
52175
|
+
* Monotone permission-mode version, incremented once per mode update.
|
|
52176
|
+
*/
|
|
52177
|
+
permission_mode_version?: number;
|
|
52178
|
+
/**
|
|
52179
|
+
* The permission mode before this change, or null when none was selected.
|
|
52180
|
+
*/
|
|
52181
|
+
previous_permission_mode?: string | null;
|
|
52182
|
+
/**
|
|
52183
|
+
* The new native session permission mode; null restores configured tool policies.
|
|
52184
|
+
*/
|
|
52185
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
51266
52186
|
/**
|
|
51267
52187
|
* Unique identifier for this event.
|
|
51268
52188
|
*/
|
|
@@ -51801,7 +52721,7 @@ export type SessionsResourcesListData = {
|
|
|
51801
52721
|
};
|
|
51802
52722
|
query?: {
|
|
51803
52723
|
/**
|
|
51804
|
-
* Number of
|
|
52724
|
+
* Number of resources per page, from 1 to 100; defaults to 100.
|
|
51805
52725
|
*/
|
|
51806
52726
|
limit?: number;
|
|
51807
52727
|
page?: null | string;
|
|
@@ -52078,7 +52998,7 @@ export type DeploymentsListResponses = {
|
|
|
52078
52998
|
/**
|
|
52079
52999
|
* Permission mode for each new session; omitted or null inherits the agent policies.
|
|
52080
53000
|
*/
|
|
52081
|
-
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | null;
|
|
53001
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
52082
53002
|
/**
|
|
52083
53003
|
* Working directory for each new session; omitted uses the session default.
|
|
52084
53004
|
*/
|
|
@@ -52208,7 +53128,7 @@ export type DeploymentsCreateData = {
|
|
|
52208
53128
|
/**
|
|
52209
53129
|
* Permission mode for each new session; omitted or null inherits the agent policies.
|
|
52210
53130
|
*/
|
|
52211
|
-
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | null;
|
|
53131
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
52212
53132
|
/**
|
|
52213
53133
|
* Working directory for each new session; omitted uses the session default.
|
|
52214
53134
|
*/
|
|
@@ -52348,7 +53268,7 @@ export type DeploymentsCreateResponses = {
|
|
|
52348
53268
|
/**
|
|
52349
53269
|
* Permission mode for each new session; omitted or null inherits the agent policies.
|
|
52350
53270
|
*/
|
|
52351
|
-
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | null;
|
|
53271
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
52352
53272
|
/**
|
|
52353
53273
|
* Working directory for each new session; omitted uses the session default.
|
|
52354
53274
|
*/
|
|
@@ -52517,7 +53437,7 @@ export type DeploymentsRetrieveResponses = {
|
|
|
52517
53437
|
/**
|
|
52518
53438
|
* Permission mode for each new session; omitted or null inherits the agent policies.
|
|
52519
53439
|
*/
|
|
52520
|
-
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | null;
|
|
53440
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
52521
53441
|
/**
|
|
52522
53442
|
* Working directory for each new session; omitted uses the session default.
|
|
52523
53443
|
*/
|
|
@@ -52642,7 +53562,7 @@ export type DeploymentsUpdateData = {
|
|
|
52642
53562
|
/**
|
|
52643
53563
|
* Permission mode for each new session; omitted or null inherits the agent policies.
|
|
52644
53564
|
*/
|
|
52645
|
-
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | null;
|
|
53565
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
52646
53566
|
/**
|
|
52647
53567
|
* Working directory for each new session; omitted uses the session default.
|
|
52648
53568
|
*/
|
|
@@ -52797,7 +53717,7 @@ export type DeploymentsUpdateResponses = {
|
|
|
52797
53717
|
/**
|
|
52798
53718
|
* Permission mode for each new session; omitted or null inherits the agent policies.
|
|
52799
53719
|
*/
|
|
52800
|
-
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | null;
|
|
53720
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
52801
53721
|
/**
|
|
52802
53722
|
* Working directory for each new session; omitted uses the session default.
|
|
52803
53723
|
*/
|
|
@@ -52966,7 +53886,7 @@ export type DeploymentsArchiveResponses = {
|
|
|
52966
53886
|
/**
|
|
52967
53887
|
* Permission mode for each new session; omitted or null inherits the agent policies.
|
|
52968
53888
|
*/
|
|
52969
|
-
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | null;
|
|
53889
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
52970
53890
|
/**
|
|
52971
53891
|
* Working directory for each new session; omitted uses the session default.
|
|
52972
53892
|
*/
|
|
@@ -53139,7 +54059,7 @@ export type DeploymentsPauseResponses = {
|
|
|
53139
54059
|
/**
|
|
53140
54060
|
* Permission mode for each new session; omitted or null inherits the agent policies.
|
|
53141
54061
|
*/
|
|
53142
|
-
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | null;
|
|
54062
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
53143
54063
|
/**
|
|
53144
54064
|
* Working directory for each new session; omitted uses the session default.
|
|
53145
54065
|
*/
|
|
@@ -53312,7 +54232,7 @@ export type DeploymentsUnpauseResponses = {
|
|
|
53312
54232
|
/**
|
|
53313
54233
|
* Permission mode for each new session; omitted or null inherits the agent policies.
|
|
53314
54234
|
*/
|
|
53315
|
-
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | null;
|
|
54235
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
53316
54236
|
/**
|
|
53317
54237
|
* Working directory for each new session; omitted uses the session default.
|
|
53318
54238
|
*/
|
|
@@ -57220,7 +58140,7 @@ export type AutomationRunsCreateData = {
|
|
|
57220
58140
|
[key: string]: string;
|
|
57221
58141
|
};
|
|
57222
58142
|
/**
|
|
57223
|
-
* Positive integer seconds up to
|
|
58143
|
+
* 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.
|
|
57224
58144
|
*/
|
|
57225
58145
|
deadline_seconds?: number;
|
|
57226
58146
|
} | {
|
|
@@ -57247,7 +58167,7 @@ export type AutomationRunsCreateData = {
|
|
|
57247
58167
|
[key: string]: string;
|
|
57248
58168
|
};
|
|
57249
58169
|
/**
|
|
57250
|
-
* Positive integer seconds up to
|
|
58170
|
+
* 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.
|
|
57251
58171
|
*/
|
|
57252
58172
|
deadline_seconds?: number;
|
|
57253
58173
|
};
|
|
@@ -58767,6 +59687,247 @@ export type AutomationHooksReceiveResponses = {
|
|
|
58767
59687
|
202: AutomationFiring;
|
|
58768
59688
|
};
|
|
58769
59689
|
export type AutomationHooksReceiveResponse = AutomationHooksReceiveResponses[keyof AutomationHooksReceiveResponses];
|
|
59690
|
+
export type AutomationHumanTasksListData = {
|
|
59691
|
+
body?: never;
|
|
59692
|
+
path?: never;
|
|
59693
|
+
query?: {
|
|
59694
|
+
/**
|
|
59695
|
+
* Page size, 1–100, default 50.
|
|
59696
|
+
*/
|
|
59697
|
+
limit?: number;
|
|
59698
|
+
/**
|
|
59699
|
+
* The next_cursor of the previous page; omit for the first page.
|
|
59700
|
+
*/
|
|
59701
|
+
cursor?: string;
|
|
59702
|
+
/**
|
|
59703
|
+
* Filter by status, comma-separated: open, completed, expired, cancelled. Defaults to open.
|
|
59704
|
+
*/
|
|
59705
|
+
status?: Array<AutomationHumanTaskStatus>;
|
|
59706
|
+
/**
|
|
59707
|
+
* Only tasks opened by this run (run_).
|
|
59708
|
+
*/
|
|
59709
|
+
run_id?: string;
|
|
59710
|
+
/**
|
|
59711
|
+
* assigned (default) lists only tasks assigned to the caller; all lists every task of the organization.
|
|
59712
|
+
*/
|
|
59713
|
+
scope?: 'assigned' | 'all';
|
|
59714
|
+
};
|
|
59715
|
+
url: '/automation/v1/human-tasks';
|
|
59716
|
+
};
|
|
59717
|
+
export type AutomationHumanTasksListErrors = {
|
|
59718
|
+
/**
|
|
59719
|
+
* INVALID_PARAMS: Invalid request parameters, path, cursor, or body format.
|
|
59720
|
+
*/
|
|
59721
|
+
400: AutomationAutomationProblemDetails;
|
|
59722
|
+
/**
|
|
59723
|
+
* RFC 9457 automation problem. 429 includes Retry-After.
|
|
59724
|
+
*/
|
|
59725
|
+
default: AutomationAutomationProblemDetails;
|
|
59726
|
+
};
|
|
59727
|
+
export type AutomationHumanTasksListError = AutomationHumanTasksListErrors[keyof AutomationHumanTasksListErrors];
|
|
59728
|
+
export type AutomationHumanTasksListResponses = {
|
|
59729
|
+
/**
|
|
59730
|
+
* Success
|
|
59731
|
+
*/
|
|
59732
|
+
200: {
|
|
59733
|
+
/**
|
|
59734
|
+
* Human tasks on this page, newest first.
|
|
59735
|
+
*/
|
|
59736
|
+
data: Array<AutomationHumanTask>;
|
|
59737
|
+
/**
|
|
59738
|
+
* Cursor for the next page, passed back as cursor; null when there are no more.
|
|
59739
|
+
*/
|
|
59740
|
+
next_cursor: string | null;
|
|
59741
|
+
};
|
|
59742
|
+
};
|
|
59743
|
+
export type AutomationHumanTasksListResponse = AutomationHumanTasksListResponses[keyof AutomationHumanTasksListResponses];
|
|
59744
|
+
export type AutomationHumanTasksGetData = {
|
|
59745
|
+
body?: never;
|
|
59746
|
+
path: {
|
|
59747
|
+
/**
|
|
59748
|
+
* Human task ID (htask_), from the list or the run's waits.
|
|
59749
|
+
*/
|
|
59750
|
+
id: string;
|
|
59751
|
+
};
|
|
59752
|
+
query?: never;
|
|
59753
|
+
url: '/automation/v1/human-tasks/{id}';
|
|
59754
|
+
};
|
|
59755
|
+
export type AutomationHumanTasksGetErrors = {
|
|
59756
|
+
/**
|
|
59757
|
+
* INVALID_PARAMS: Invalid request parameters, path, cursor, or body format.
|
|
59758
|
+
*/
|
|
59759
|
+
400: AutomationAutomationProblemDetails;
|
|
59760
|
+
/**
|
|
59761
|
+
* 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.
|
|
59762
|
+
*/
|
|
59763
|
+
404: AutomationAutomationProblemDetails;
|
|
59764
|
+
/**
|
|
59765
|
+
* RFC 9457 automation problem. 429 includes Retry-After.
|
|
59766
|
+
*/
|
|
59767
|
+
default: AutomationAutomationProblemDetails;
|
|
59768
|
+
};
|
|
59769
|
+
export type AutomationHumanTasksGetError = AutomationHumanTasksGetErrors[keyof AutomationHumanTasksGetErrors];
|
|
59770
|
+
export type AutomationHumanTasksGetResponses = {
|
|
59771
|
+
/**
|
|
59772
|
+
* Success
|
|
59773
|
+
*/
|
|
59774
|
+
200: AutomationHumanTask;
|
|
59775
|
+
};
|
|
59776
|
+
export type AutomationHumanTasksGetResponse = AutomationHumanTasksGetResponses[keyof AutomationHumanTasksGetResponses];
|
|
59777
|
+
export type AutomationHumanTasksRespondData = {
|
|
59778
|
+
body: AutomationHumanTaskRespondInput;
|
|
59779
|
+
headers?: {
|
|
59780
|
+
/**
|
|
59781
|
+
* 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.
|
|
59782
|
+
*/
|
|
59783
|
+
'Idempotency-Key'?: string;
|
|
59784
|
+
};
|
|
59785
|
+
path: {
|
|
59786
|
+
/**
|
|
59787
|
+
* Human task ID (htask_).
|
|
59788
|
+
*/
|
|
59789
|
+
id: string;
|
|
59790
|
+
};
|
|
59791
|
+
query?: never;
|
|
59792
|
+
url: '/automation/v1/human-tasks/{id}/respond';
|
|
59793
|
+
};
|
|
59794
|
+
export type AutomationHumanTasksRespondErrors = {
|
|
59795
|
+
/**
|
|
59796
|
+
* INVALID_PARAMS: Invalid request parameters, path, cursor, or body format.
|
|
59797
|
+
* COMMENT_REQUIRED: The chosen action requires a comment (require_comment: true); retry with comment set.
|
|
59798
|
+
* INVALID_ACTION: action_id is not one of the task's actions; read the task's actions for the valid ids.
|
|
59799
|
+
* 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.
|
|
59800
|
+
*/
|
|
59801
|
+
400: AutomationAutomationProblemDetails;
|
|
59802
|
+
/**
|
|
59803
|
+
* 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.
|
|
59804
|
+
* 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.
|
|
59805
|
+
* 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.
|
|
59806
|
+
*/
|
|
59807
|
+
403: AutomationAutomationProblemDetails;
|
|
59808
|
+
/**
|
|
59809
|
+
* 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.
|
|
59810
|
+
*/
|
|
59811
|
+
404: AutomationAutomationProblemDetails;
|
|
59812
|
+
/**
|
|
59813
|
+
* 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.
|
|
59814
|
+
* ALREADY_RESPONDED: The caller already responded; each assignee responds once.
|
|
59815
|
+
* IDEMPOTENCY_IN_FLIGHT: A request with the same idempotency key is still in progress.
|
|
59816
|
+
*/
|
|
59817
|
+
409: AutomationAutomationProblemDetails;
|
|
59818
|
+
/**
|
|
59819
|
+
* IDEMPOTENCY_KEY_MISMATCH: The idempotency key was already used for different request content.
|
|
59820
|
+
*/
|
|
59821
|
+
422: AutomationAutomationProblemDetails;
|
|
59822
|
+
/**
|
|
59823
|
+
* RFC 9457 automation problem. 429 includes Retry-After.
|
|
59824
|
+
*/
|
|
59825
|
+
default: AutomationAutomationProblemDetails;
|
|
59826
|
+
};
|
|
59827
|
+
export type AutomationHumanTasksRespondError = AutomationHumanTasksRespondErrors[keyof AutomationHumanTasksRespondErrors];
|
|
59828
|
+
export type AutomationHumanTasksRespondResponses = {
|
|
59829
|
+
/**
|
|
59830
|
+
* Success
|
|
59831
|
+
*/
|
|
59832
|
+
200: AutomationHumanTask;
|
|
59833
|
+
};
|
|
59834
|
+
export type AutomationHumanTasksRespondResponse = AutomationHumanTasksRespondResponses[keyof AutomationHumanTasksRespondResponses];
|
|
59835
|
+
export type AutomationHumanTasksCancelData = {
|
|
59836
|
+
body?: AutomationHumanTaskCancelInput;
|
|
59837
|
+
headers?: {
|
|
59838
|
+
/**
|
|
59839
|
+
* 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.
|
|
59840
|
+
*/
|
|
59841
|
+
'Idempotency-Key'?: string;
|
|
59842
|
+
};
|
|
59843
|
+
path: {
|
|
59844
|
+
/**
|
|
59845
|
+
* Human task ID (htask_).
|
|
59846
|
+
*/
|
|
59847
|
+
id: string;
|
|
59848
|
+
};
|
|
59849
|
+
query?: never;
|
|
59850
|
+
url: '/automation/v1/human-tasks/{id}/cancel';
|
|
59851
|
+
};
|
|
59852
|
+
export type AutomationHumanTasksCancelErrors = {
|
|
59853
|
+
/**
|
|
59854
|
+
* INVALID_PARAMS: Invalid request parameters, path, cursor, or body format.
|
|
59855
|
+
*/
|
|
59856
|
+
400: AutomationAutomationProblemDetails;
|
|
59857
|
+
/**
|
|
59858
|
+
* 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.
|
|
59859
|
+
*/
|
|
59860
|
+
403: AutomationAutomationProblemDetails;
|
|
59861
|
+
/**
|
|
59862
|
+
* 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.
|
|
59863
|
+
*/
|
|
59864
|
+
404: AutomationAutomationProblemDetails;
|
|
59865
|
+
/**
|
|
59866
|
+
* 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.
|
|
59867
|
+
* IDEMPOTENCY_IN_FLIGHT: A request with the same idempotency key is still in progress.
|
|
59868
|
+
*/
|
|
59869
|
+
409: AutomationAutomationProblemDetails;
|
|
59870
|
+
/**
|
|
59871
|
+
* IDEMPOTENCY_KEY_MISMATCH: The idempotency key was already used for different request content.
|
|
59872
|
+
*/
|
|
59873
|
+
422: AutomationAutomationProblemDetails;
|
|
59874
|
+
/**
|
|
59875
|
+
* RFC 9457 automation problem. 429 includes Retry-After.
|
|
59876
|
+
*/
|
|
59877
|
+
default: AutomationAutomationProblemDetails;
|
|
59878
|
+
};
|
|
59879
|
+
export type AutomationHumanTasksCancelError = AutomationHumanTasksCancelErrors[keyof AutomationHumanTasksCancelErrors];
|
|
59880
|
+
export type AutomationHumanTasksCancelResponses = {
|
|
59881
|
+
/**
|
|
59882
|
+
* Success
|
|
59883
|
+
*/
|
|
59884
|
+
200: AutomationHumanTask;
|
|
59885
|
+
};
|
|
59886
|
+
export type AutomationHumanTasksCancelResponse = AutomationHumanTasksCancelResponses[keyof AutomationHumanTasksCancelResponses];
|
|
59887
|
+
export type AutomationHumanTasksDelegateData = {
|
|
59888
|
+
body: AutomationHumanTaskDelegateInput;
|
|
59889
|
+
path: {
|
|
59890
|
+
/**
|
|
59891
|
+
* Human task ID (htask_).
|
|
59892
|
+
*/
|
|
59893
|
+
id: string;
|
|
59894
|
+
};
|
|
59895
|
+
query?: never;
|
|
59896
|
+
url: '/automation/v1/human-tasks/{id}/delegate';
|
|
59897
|
+
};
|
|
59898
|
+
export type AutomationHumanTasksDelegateErrors = {
|
|
59899
|
+
/**
|
|
59900
|
+
* INVALID_PARAMS: Invalid request parameters, path, cursor, or body format.
|
|
59901
|
+
*/
|
|
59902
|
+
400: AutomationAutomationProblemDetails;
|
|
59903
|
+
/**
|
|
59904
|
+
* 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.
|
|
59905
|
+
* 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.
|
|
59906
|
+
*/
|
|
59907
|
+
403: AutomationAutomationProblemDetails;
|
|
59908
|
+
/**
|
|
59909
|
+
* 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.
|
|
59910
|
+
*/
|
|
59911
|
+
404: AutomationAutomationProblemDetails;
|
|
59912
|
+
/**
|
|
59913
|
+
* 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.
|
|
59914
|
+
* ALREADY_RESPONDED: The caller already responded; each assignee responds once.
|
|
59915
|
+
* IDEMPOTENCY_IN_FLIGHT: A request with the same idempotency key is still in progress.
|
|
59916
|
+
*/
|
|
59917
|
+
409: AutomationAutomationProblemDetails;
|
|
59918
|
+
/**
|
|
59919
|
+
* RFC 9457 automation problem. 429 includes Retry-After.
|
|
59920
|
+
*/
|
|
59921
|
+
default: AutomationAutomationProblemDetails;
|
|
59922
|
+
};
|
|
59923
|
+
export type AutomationHumanTasksDelegateError = AutomationHumanTasksDelegateErrors[keyof AutomationHumanTasksDelegateErrors];
|
|
59924
|
+
export type AutomationHumanTasksDelegateResponses = {
|
|
59925
|
+
/**
|
|
59926
|
+
* Success
|
|
59927
|
+
*/
|
|
59928
|
+
200: AutomationHumanTask;
|
|
59929
|
+
};
|
|
59930
|
+
export type AutomationHumanTasksDelegateResponse = AutomationHumanTasksDelegateResponses[keyof AutomationHumanTasksDelegateResponses];
|
|
58770
59931
|
export type DatabaseListDatabasesData = {
|
|
58771
59932
|
body?: never;
|
|
58772
59933
|
path?: never;
|
|
@@ -61265,6 +62426,10 @@ export type MediaListLibrariesErrors = {
|
|
|
61265
62426
|
* Request failed; see the error code reference.
|
|
61266
62427
|
*/
|
|
61267
62428
|
400: MediaMediaError;
|
|
62429
|
+
/**
|
|
62430
|
+
* Request failed; see the error code reference.
|
|
62431
|
+
*/
|
|
62432
|
+
403: MediaMediaError;
|
|
61268
62433
|
/**
|
|
61269
62434
|
* Request failed; see the error code reference.
|
|
61270
62435
|
*/
|
|
@@ -61352,6 +62517,10 @@ export type MediaCreateLibraryErrors = {
|
|
|
61352
62517
|
* Request failed; see the error code reference.
|
|
61353
62518
|
*/
|
|
61354
62519
|
400: MediaMediaError;
|
|
62520
|
+
/**
|
|
62521
|
+
* Request failed; see the error code reference.
|
|
62522
|
+
*/
|
|
62523
|
+
403: MediaMediaError;
|
|
61355
62524
|
/**
|
|
61356
62525
|
* Request failed; see the error code reference.
|
|
61357
62526
|
*/
|
|
@@ -61409,6 +62578,10 @@ export type MediaDeleteLibraryErrors = {
|
|
|
61409
62578
|
* Request failed; see the error code reference.
|
|
61410
62579
|
*/
|
|
61411
62580
|
400: MediaMediaError;
|
|
62581
|
+
/**
|
|
62582
|
+
* Request failed; see the error code reference.
|
|
62583
|
+
*/
|
|
62584
|
+
403: MediaMediaError;
|
|
61412
62585
|
/**
|
|
61413
62586
|
* Request failed; see the error code reference.
|
|
61414
62587
|
*/
|
|
@@ -61466,6 +62639,10 @@ export type MediaGetLibraryErrors = {
|
|
|
61466
62639
|
* Request failed; see the error code reference.
|
|
61467
62640
|
*/
|
|
61468
62641
|
400: MediaMediaError;
|
|
62642
|
+
/**
|
|
62643
|
+
* Request failed; see the error code reference.
|
|
62644
|
+
*/
|
|
62645
|
+
403: MediaMediaError;
|
|
61469
62646
|
/**
|
|
61470
62647
|
* Request failed; see the error code reference.
|
|
61471
62648
|
*/
|
|
@@ -61558,6 +62735,10 @@ export type MediaUpdateLibraryErrors = {
|
|
|
61558
62735
|
* Request failed; see the error code reference.
|
|
61559
62736
|
*/
|
|
61560
62737
|
400: MediaMediaError;
|
|
62738
|
+
/**
|
|
62739
|
+
* Request failed; see the error code reference.
|
|
62740
|
+
*/
|
|
62741
|
+
403: MediaMediaError;
|
|
61561
62742
|
/**
|
|
61562
62743
|
* Request failed; see the error code reference.
|
|
61563
62744
|
*/
|
|
@@ -61615,6 +62796,10 @@ export type MediaRestoreLibraryErrors = {
|
|
|
61615
62796
|
* Request failed; see the error code reference.
|
|
61616
62797
|
*/
|
|
61617
62798
|
400: MediaMediaError;
|
|
62799
|
+
/**
|
|
62800
|
+
* Request failed; see the error code reference.
|
|
62801
|
+
*/
|
|
62802
|
+
403: MediaMediaError;
|
|
61618
62803
|
/**
|
|
61619
62804
|
* Request failed; see the error code reference.
|
|
61620
62805
|
*/
|
|
@@ -61672,6 +62857,10 @@ export type MediaPurgeLibraryErrors = {
|
|
|
61672
62857
|
* Request failed; see the error code reference.
|
|
61673
62858
|
*/
|
|
61674
62859
|
400: MediaMediaError;
|
|
62860
|
+
/**
|
|
62861
|
+
* Request failed; see the error code reference.
|
|
62862
|
+
*/
|
|
62863
|
+
403: MediaMediaError;
|
|
61675
62864
|
/**
|
|
61676
62865
|
* Request failed; see the error code reference.
|
|
61677
62866
|
*/
|
|
@@ -61746,6 +62935,10 @@ export type MediaListAssetsErrors = {
|
|
|
61746
62935
|
* Request failed; see the error code reference.
|
|
61747
62936
|
*/
|
|
61748
62937
|
400: MediaMediaError;
|
|
62938
|
+
/**
|
|
62939
|
+
* Request failed; see the error code reference.
|
|
62940
|
+
*/
|
|
62941
|
+
403: MediaMediaError;
|
|
61749
62942
|
/**
|
|
61750
62943
|
* Request failed; see the error code reference.
|
|
61751
62944
|
*/
|
|
@@ -61875,6 +63068,10 @@ export type MediaUploadAssetErrors = {
|
|
|
61875
63068
|
* Request failed; see the error code reference.
|
|
61876
63069
|
*/
|
|
61877
63070
|
400: MediaMediaError;
|
|
63071
|
+
/**
|
|
63072
|
+
* Request failed; see the error code reference.
|
|
63073
|
+
*/
|
|
63074
|
+
403: MediaMediaError;
|
|
61878
63075
|
/**
|
|
61879
63076
|
* Request failed; see the error code reference.
|
|
61880
63077
|
*/
|
|
@@ -61921,6 +63118,9 @@ export type MediaImportAssetData = {
|
|
|
61921
63118
|
* Source and upload options for copying content into the library.
|
|
61922
63119
|
*/
|
|
61923
63120
|
body: {
|
|
63121
|
+
/**
|
|
63122
|
+
* File ID to copy into this library; passed as the upload source instead of file bytes.
|
|
63123
|
+
*/
|
|
61924
63124
|
file_id: string;
|
|
61925
63125
|
/**
|
|
61926
63126
|
* Explicit delivery identifier. If omitted, a random value is generated unless use_filename is true.
|
|
@@ -61991,6 +63191,10 @@ export type MediaImportAssetErrors = {
|
|
|
61991
63191
|
* Request failed; see the error code reference.
|
|
61992
63192
|
*/
|
|
61993
63193
|
400: MediaMediaError;
|
|
63194
|
+
/**
|
|
63195
|
+
* Request failed; see the error code reference.
|
|
63196
|
+
*/
|
|
63197
|
+
403: MediaMediaError;
|
|
61994
63198
|
/**
|
|
61995
63199
|
* Request failed; see the error code reference.
|
|
61996
63200
|
*/
|
|
@@ -62052,6 +63256,10 @@ export type MediaDeleteAssetErrors = {
|
|
|
62052
63256
|
* Request failed; see the error code reference.
|
|
62053
63257
|
*/
|
|
62054
63258
|
400: MediaMediaError;
|
|
63259
|
+
/**
|
|
63260
|
+
* Request failed; see the error code reference.
|
|
63261
|
+
*/
|
|
63262
|
+
403: MediaMediaError;
|
|
62055
63263
|
/**
|
|
62056
63264
|
* Request failed; see the error code reference.
|
|
62057
63265
|
*/
|
|
@@ -62113,6 +63321,10 @@ export type MediaGetAssetErrors = {
|
|
|
62113
63321
|
* Request failed; see the error code reference.
|
|
62114
63322
|
*/
|
|
62115
63323
|
400: MediaMediaError;
|
|
63324
|
+
/**
|
|
63325
|
+
* Request failed; see the error code reference.
|
|
63326
|
+
*/
|
|
63327
|
+
403: MediaMediaError;
|
|
62116
63328
|
/**
|
|
62117
63329
|
* Request failed; see the error code reference.
|
|
62118
63330
|
*/
|
|
@@ -62196,6 +63408,10 @@ export type MediaUpdateAssetErrors = {
|
|
|
62196
63408
|
* Request failed; see the error code reference.
|
|
62197
63409
|
*/
|
|
62198
63410
|
400: MediaMediaError;
|
|
63411
|
+
/**
|
|
63412
|
+
* Request failed; see the error code reference.
|
|
63413
|
+
*/
|
|
63414
|
+
403: MediaMediaError;
|
|
62199
63415
|
/**
|
|
62200
63416
|
* Request failed; see the error code reference.
|
|
62201
63417
|
*/
|
|
@@ -62265,6 +63481,10 @@ export type MediaReprocessAssetErrors = {
|
|
|
62265
63481
|
* Request failed; see the error code reference.
|
|
62266
63482
|
*/
|
|
62267
63483
|
400: MediaMediaError;
|
|
63484
|
+
/**
|
|
63485
|
+
* Request failed; see the error code reference.
|
|
63486
|
+
*/
|
|
63487
|
+
403: MediaMediaError;
|
|
62268
63488
|
/**
|
|
62269
63489
|
* Request failed; see the error code reference.
|
|
62270
63490
|
*/
|
|
@@ -62343,6 +63563,10 @@ export type MediaListUnderstandingsErrors = {
|
|
|
62343
63563
|
* Request failed; see the error code reference.
|
|
62344
63564
|
*/
|
|
62345
63565
|
400: MediaMediaError;
|
|
63566
|
+
/**
|
|
63567
|
+
* Request failed; see the error code reference.
|
|
63568
|
+
*/
|
|
63569
|
+
403: MediaMediaError;
|
|
62346
63570
|
/**
|
|
62347
63571
|
* Request failed; see the error code reference.
|
|
62348
63572
|
*/
|
|
@@ -62430,6 +63654,10 @@ export type MediaExpressionSearchErrors = {
|
|
|
62430
63654
|
* Request failed; see the error code reference.
|
|
62431
63655
|
*/
|
|
62432
63656
|
400: MediaMediaError;
|
|
63657
|
+
/**
|
|
63658
|
+
* Request failed; see the error code reference.
|
|
63659
|
+
*/
|
|
63660
|
+
403: MediaMediaError;
|
|
62433
63661
|
/**
|
|
62434
63662
|
* Request failed; see the error code reference.
|
|
62435
63663
|
*/
|
|
@@ -62513,6 +63741,10 @@ export type MediaVisualSearchErrors = {
|
|
|
62513
63741
|
* Request failed; see the error code reference.
|
|
62514
63742
|
*/
|
|
62515
63743
|
400: MediaMediaError;
|
|
63744
|
+
/**
|
|
63745
|
+
* Request failed; see the error code reference.
|
|
63746
|
+
*/
|
|
63747
|
+
403: MediaMediaError;
|
|
62516
63748
|
/**
|
|
62517
63749
|
* Request failed; see the error code reference.
|
|
62518
63750
|
*/
|
|
@@ -62590,6 +63822,10 @@ export type MediaSemanticSearchErrors = {
|
|
|
62590
63822
|
* Request failed; see the error code reference.
|
|
62591
63823
|
*/
|
|
62592
63824
|
400: MediaMediaError;
|
|
63825
|
+
/**
|
|
63826
|
+
* Request failed; see the error code reference.
|
|
63827
|
+
*/
|
|
63828
|
+
403: MediaMediaError;
|
|
62593
63829
|
/**
|
|
62594
63830
|
* Request failed; see the error code reference.
|
|
62595
63831
|
*/
|
|
@@ -62667,6 +63903,10 @@ export type MediaSearchErrors = {
|
|
|
62667
63903
|
* Request failed; see the error code reference.
|
|
62668
63904
|
*/
|
|
62669
63905
|
400: MediaMediaError;
|
|
63906
|
+
/**
|
|
63907
|
+
* Request failed; see the error code reference.
|
|
63908
|
+
*/
|
|
63909
|
+
403: MediaMediaError;
|
|
62670
63910
|
/**
|
|
62671
63911
|
* Request failed; see the error code reference.
|
|
62672
63912
|
*/
|
|
@@ -62729,6 +63969,10 @@ export type MediaListFoldersErrors = {
|
|
|
62729
63969
|
* Request failed; see the error code reference.
|
|
62730
63970
|
*/
|
|
62731
63971
|
400: MediaMediaError;
|
|
63972
|
+
/**
|
|
63973
|
+
* Request failed; see the error code reference.
|
|
63974
|
+
*/
|
|
63975
|
+
403: MediaMediaError;
|
|
62732
63976
|
/**
|
|
62733
63977
|
* Request failed; see the error code reference.
|
|
62734
63978
|
*/
|
|
@@ -62794,6 +64038,10 @@ export type MediaCreateBatchErrors = {
|
|
|
62794
64038
|
* Request failed; see the error code reference.
|
|
62795
64039
|
*/
|
|
62796
64040
|
400: MediaMediaError;
|
|
64041
|
+
/**
|
|
64042
|
+
* Request failed; see the error code reference.
|
|
64043
|
+
*/
|
|
64044
|
+
403: MediaMediaError;
|
|
62797
64045
|
/**
|
|
62798
64046
|
* Request failed; see the error code reference.
|
|
62799
64047
|
*/
|
|
@@ -62855,6 +64103,10 @@ export type MediaGetBatchErrors = {
|
|
|
62855
64103
|
* Request failed; see the error code reference.
|
|
62856
64104
|
*/
|
|
62857
64105
|
400: MediaMediaError;
|
|
64106
|
+
/**
|
|
64107
|
+
* Request failed; see the error code reference.
|
|
64108
|
+
*/
|
|
64109
|
+
403: MediaMediaError;
|
|
62858
64110
|
/**
|
|
62859
64111
|
* Request failed; see the error code reference.
|
|
62860
64112
|
*/
|
|
@@ -62920,6 +64172,10 @@ export type MediaBatchAssetsErrors = {
|
|
|
62920
64172
|
* Request failed; see the error code reference.
|
|
62921
64173
|
*/
|
|
62922
64174
|
400: MediaMediaError;
|
|
64175
|
+
/**
|
|
64176
|
+
* Request failed; see the error code reference.
|
|
64177
|
+
*/
|
|
64178
|
+
403: MediaMediaError;
|
|
62923
64179
|
/**
|
|
62924
64180
|
* Request failed; see the error code reference.
|
|
62925
64181
|
*/
|
|
@@ -62981,6 +64237,10 @@ export type MediaGetJobErrors = {
|
|
|
62981
64237
|
* Request failed; see the error code reference.
|
|
62982
64238
|
*/
|
|
62983
64239
|
400: MediaMediaError;
|
|
64240
|
+
/**
|
|
64241
|
+
* Request failed; see the error code reference.
|
|
64242
|
+
*/
|
|
64243
|
+
403: MediaMediaError;
|
|
62984
64244
|
/**
|
|
62985
64245
|
* Request failed; see the error code reference.
|
|
62986
64246
|
*/
|
|
@@ -63055,6 +64315,10 @@ export type MediaListEventsErrors = {
|
|
|
63055
64315
|
* Request failed; see the error code reference.
|
|
63056
64316
|
*/
|
|
63057
64317
|
400: MediaMediaError;
|
|
64318
|
+
/**
|
|
64319
|
+
* Request failed; see the error code reference.
|
|
64320
|
+
*/
|
|
64321
|
+
403: MediaMediaError;
|
|
63058
64322
|
/**
|
|
63059
64323
|
* Request failed; see the error code reference.
|
|
63060
64324
|
*/
|