@deepraxis/sdk 0.2.0-dev.c1f0e29 → 0.2.0-dev.c7e8740

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.
@@ -8464,7 +8464,7 @@ export type SandboxSandboxDetail = {
8464
8464
  network?: SandboxSandboxNetworkConfig;
8465
8465
  lifecycle?: SandboxSandboxLifecycle;
8466
8466
  /**
8467
- * Volumes mounted into the sandbox.
8467
+ * Volumes mounted into the sandbox. Not available yet: volumes are not implemented, so this is always empty.
8468
8468
  */
8469
8469
  volumeMounts?: Array<SandboxSandboxVolumeMount>;
8470
8470
  };
@@ -10955,7 +10955,7 @@ export type ApplicationCreateWorkerInput = {
10955
10955
  */
10956
10956
  observability?: {
10957
10957
  /**
10958
- * Collect logs.
10958
+ * Collect request logs. On by default; set false to turn them off, and that choice is kept across deployments.
10959
10959
  */
10960
10960
  enabled: boolean;
10961
10961
  };
@@ -11011,11 +11011,11 @@ export type ApplicationWorker = {
11011
11011
  */
11012
11012
  tags: Array<string>;
11013
11013
  /**
11014
- * Observability settings.
11014
+ * Observability settings: Cloudflare Workers Logs for this application, read back with logs:query.
11015
11015
  */
11016
11016
  observability: {
11017
11017
  /**
11018
- * Whether logs are collected.
11018
+ * Whether request logs are collected; true unless the owner turned them off.
11019
11019
  */
11020
11020
  enabled: boolean;
11021
11021
  };
@@ -11115,7 +11115,7 @@ export type ApplicationUpdateWorkerInput = {
11115
11115
  */
11116
11116
  observability?: {
11117
11117
  /**
11118
- * Collect logs.
11118
+ * Collect request logs; omitting it keeps the current setting. On by default, and an explicit false is kept across deployments.
11119
11119
  */
11120
11120
  enabled: boolean;
11121
11121
  };
@@ -11648,6 +11648,147 @@ export type ApplicationEventPage = {
11648
11648
  */
11649
11649
  next_cursor: string | null;
11650
11650
  };
11651
+ /**
11652
+ * Cloudflare's Workers Observability query body (POST /accounts/{account_id}/workers/observability/telemetry/query).
11653
+ */
11654
+ export type ApplicationTelemetryQueryInput = {
11655
+ /**
11656
+ * The window to read; required, at most 7 days (the retention), from earlier than to.
11657
+ */
11658
+ timeframe: {
11659
+ /**
11660
+ * Start of the window, epoch milliseconds.
11661
+ */
11662
+ from: number;
11663
+ /**
11664
+ * End of the window, epoch milliseconds.
11665
+ */
11666
+ to: number;
11667
+ };
11668
+ /**
11669
+ * What the query returns: events (individual log lines, the default) or calculations (aggregates).
11670
+ */
11671
+ view?: 'events' | 'calculations';
11672
+ /**
11673
+ * Events per page (or group-by rows for calculations); values above 2000 are clamped to 2000.
11674
+ */
11675
+ limit?: number;
11676
+ /**
11677
+ * Cursor to the next page: the $metadata.id of the last event of the previous page.
11678
+ */
11679
+ offset?: string;
11680
+ /**
11681
+ * Include a comparison dataset from the previous window of equal length.
11682
+ */
11683
+ compare?: boolean;
11684
+ /**
11685
+ * Validate and run without persisting the query.
11686
+ */
11687
+ dry?: boolean;
11688
+ /**
11689
+ * Number of time-series buckets for calculations; omitting lets Cloudflare decide.
11690
+ */
11691
+ granularity?: number;
11692
+ /**
11693
+ * Include time-series data in the response.
11694
+ */
11695
+ chart?: boolean;
11696
+ /**
11697
+ * Cloudflare's parameters object, passed through: filters, filterCombination, calculations, groupBys, havings, orderBy, needle and datasets are Cloudflare's own fields. The server forces datasets to cloudflare-workers, adds the Worker's script as a filter, forces filterCombination to and, and drops any caller filter on $metadata.service, $workers.scriptName or dataset, so a query can never read another application's events.
11698
+ */
11699
+ parameters?: {
11700
+ [key: string]: unknown;
11701
+ };
11702
+ };
11703
+ /**
11704
+ * Cloudflare's query result, unchanged: run (status and statistics), statistics, and the payload of the requested view (events, calculations, invocations, traces, agents).
11705
+ */
11706
+ export type ApplicationTelemetryQueryResult = {
11707
+ [key: string]: unknown;
11708
+ };
11709
+ /**
11710
+ * Cloudflare's telemetry keys body (POST /accounts/{account_id}/workers/observability/telemetry/keys).
11711
+ */
11712
+ export type ApplicationTelemetryKeysInput = {
11713
+ /**
11714
+ * Cloudflare filters, narrowed by the server to this Worker; filters on $metadata.service, $workers.scriptName or dataset are dropped.
11715
+ */
11716
+ filters?: Array<{
11717
+ [key: string]: unknown;
11718
+ }>;
11719
+ /**
11720
+ * Window start, epoch milliseconds.
11721
+ */
11722
+ from?: number;
11723
+ /**
11724
+ * Window end, epoch milliseconds.
11725
+ */
11726
+ to?: number;
11727
+ /**
11728
+ * Maximum keys; values above 2000 are clamped.
11729
+ */
11730
+ limit?: number;
11731
+ /**
11732
+ * Full-text search across events; Cloudflare's shape.
11733
+ */
11734
+ needle?: {
11735
+ [key: string]: unknown;
11736
+ };
11737
+ };
11738
+ /**
11739
+ * One field Cloudflare found in this application's logs: key, type and lastSeenAt.
11740
+ */
11741
+ export type ApplicationTelemetryKey = {
11742
+ [key: string]: unknown;
11743
+ };
11744
+ /**
11745
+ * Cloudflare's telemetry values body (POST /accounts/{account_id}/workers/observability/telemetry/values).
11746
+ */
11747
+ export type ApplicationTelemetryValuesInput = {
11748
+ /**
11749
+ * The field whose values to list, e.g. $metadata.level; discover fields with logs:keys.
11750
+ */
11751
+ key: string;
11752
+ /**
11753
+ * Type of the field, as keys reports it.
11754
+ */
11755
+ type: 'string' | 'number' | 'boolean';
11756
+ /**
11757
+ * The window to read; required, at most 7 days.
11758
+ */
11759
+ timeframe: {
11760
+ /**
11761
+ * Start of the window, epoch milliseconds.
11762
+ */
11763
+ from: number;
11764
+ /**
11765
+ * End of the window, epoch milliseconds.
11766
+ */
11767
+ to: number;
11768
+ };
11769
+ /**
11770
+ * Cloudflare filters, narrowed by the server to this Worker; filters on $metadata.service, $workers.scriptName or dataset are dropped.
11771
+ */
11772
+ filters?: Array<{
11773
+ [key: string]: unknown;
11774
+ }>;
11775
+ /**
11776
+ * Maximum values; values above 2000 are clamped.
11777
+ */
11778
+ limit?: number;
11779
+ /**
11780
+ * Full-text search across events; Cloudflare's shape.
11781
+ */
11782
+ needle?: {
11783
+ [key: string]: unknown;
11784
+ };
11785
+ };
11786
+ /**
11787
+ * One value of a field: dataset, key, type and value.
11788
+ */
11789
+ export type ApplicationTelemetryValue = {
11790
+ [key: string]: unknown;
11791
+ };
11651
11792
  export type ApplicationAssetUploadSessionInput = {
11652
11793
  manifest: ApplicationAssetManifest;
11653
11794
  };
@@ -14795,7 +14936,7 @@ export type ContentPlaybackSession = {
14795
14936
  */
14796
14937
  version?: number;
14797
14938
  /**
14798
- * Credentialled HLS manifest address on Content own host, https://content.praxisusercontent.com/{content_id}/{capability}/master.m3u8; feed it to a player as it is.
14939
+ * Credentialled HLS manifest address. Its host depends on the viewer's region and has two known forms, https://content.praxisusercontent.com/{content_id}/{capability}/master.m3u8 and, for viewers in mainland China, a mainland edge address such as https://media-hk.deepractice.cn/play/{content_id}/{capability}/master.m3u8. Hand it to the player exactly as returned; do not build it yourself or hard-code the host.
14799
14940
  */
14800
14941
  manifest_url?: string;
14801
14942
  /**
@@ -17169,7 +17310,7 @@ export type CutExportInput = {
17169
17310
  */
17170
17311
  output?: CutExportOutput;
17171
17312
  /**
17172
- * Writable binding name used as the export destination; omission uses default_upload. Naming a binding or a folder also imports the finished video into that media library as an asset. Omit both and the export is a file only; read file.url to download it.
17313
+ * Writable binding name the finished video is imported into; the response then carries asset. Omit binding and folder and nothing is imported (default_upload is not used here): the export is a file only, read file.url to download it within one hour.
17173
17314
  */
17174
17315
  binding?: string;
17175
17316
  revision?: CutRevision;
@@ -20411,7 +20552,7 @@ export type DevopsPullRequestOverrideGateRequest = {
20411
20552
  */
20412
20553
  checks: Array<string>;
20413
20554
  /**
20414
- * The ticket the Vice President's authorization is written on, as #<number> or its URL.
20555
+ * The ticket the authorization is written on, as #<number> or its URL.
20415
20556
  */
20416
20557
  ticket: string;
20417
20558
  /**
@@ -20419,7 +20560,7 @@ export type DevopsPullRequestOverrideGateRequest = {
20419
20560
  */
20420
20561
  reason: string;
20421
20562
  /**
20422
- * The Vice President who authorized it, as agent:<id> or human:<id>; must hold an active assignment to the workforce job whose code is vice-president.
20563
+ * The holder of a listed position who authorized it, as agent:<id> or human:<id>; must hold an active assignment to one of the positions listed in practice-config (today CEO, CTO, COO).
20423
20564
  */
20424
20565
  authorizedBy: string;
20425
20566
  };
@@ -24859,7 +25000,7 @@ export type SandboxNewSandboxV2 = {
24859
25000
  autoPauseMemory?: boolean;
24860
25001
  autoResume?: SandboxSandboxAutoResumeConfig;
24861
25002
  /**
24862
- * Allow sandbox to access the internet. When set to false, it behaves the same as specifying denyOut to 0.0.0.0/0 in the network config.
25003
+ * Allow sandbox to access the internet. When set to false, it behaves the same as specifying denyOut to 0.0.0.0/0 in the network config. Not available yet: egress control is not implemented, so any value answers 501 PROVIDER_UNSUPPORTED; omit it (internet access is on by default).
24863
25004
  */
24864
25005
  allow_internet_access?: boolean;
24865
25006
  network?: SandboxSandboxNetworkConfig;
@@ -24868,11 +25009,11 @@ export type SandboxNewSandboxV2 = {
24868
25009
  mcp?: SandboxMcp;
24869
25010
  iam?: SandboxSandboxIam;
24870
25011
  /**
24871
- * Volumes to mount into the sandbox, each with the volume name and the path inside the sandbox.
25012
+ * Volumes to mount into the sandbox, each with the volume name and the path inside the sandbox. Not available yet: volumes are not implemented, so omit this field or send an empty array; any volume answers 501 PROVIDER_UNSUPPORTED.
24872
25013
  */
24873
25014
  volumeMounts?: Array<SandboxSandboxVolumeMount>;
24874
25015
  /**
24875
- * Own face, required unless sku is named: true for an ephemeral sandbox (ends at its timeout, never pauses, cannot be snapshotted), false for a persistent one (pauses, resumes, snapshots, mounts volumes). Leaving it out returns INVALID_PARAMS.
25016
+ * Own face, required unless sku is named: true for an ephemeral sandbox (ends at its timeout, never pauses, cannot be snapshotted), false for a persistent one (pauses, resumes, snapshots). Leaving it out returns INVALID_PARAMS.
24876
25017
  */
24877
25018
  ephemeral?: boolean;
24878
25019
  /**
@@ -25007,7 +25148,7 @@ export type SandboxListedSandbox = {
25007
25148
  state: SandboxSandboxState;
25008
25149
  envdVersion: SandboxEnvdVersion;
25009
25150
  /**
25010
- * Volumes mounted into the sandbox.
25151
+ * Volumes mounted into the sandbox. Not available yet: volumes are not implemented, so this is always empty.
25011
25152
  */
25012
25153
  volumeMounts?: Array<SandboxSandboxVolumeMount>;
25013
25154
  /**
@@ -25144,44 +25285,6 @@ export type SandboxTemplateRequestResponseV3 = {
25144
25285
  */
25145
25286
  aliases: Array<string>;
25146
25287
  };
25147
- export type SandboxNewVolume = {
25148
- /**
25149
- * Volume name, unique within your team. Use one or more ASCII letters, digits, underscores or hyphens.
25150
- */
25151
- name: string;
25152
- };
25153
- export type SandboxVolumeAndToken = {
25154
- /**
25155
- * ID of the volume
25156
- */
25157
- volumeID: string;
25158
- /**
25159
- * Name of the volume
25160
- */
25161
- name: string;
25162
- /**
25163
- * Auth token to use for interacting with volume content
25164
- */
25165
- token: string;
25166
- /**
25167
- * Domain to use as the destination for volume content requests,
25168
- * replacing the default `api.<E2B_DOMAIN>`. Only returned when the
25169
- * team is connected to a custom (BYOC) cluster; absent otherwise, in
25170
- * which case the default domain is used.
25171
- *
25172
- */
25173
- domain?: string;
25174
- };
25175
- export type SandboxVolume = {
25176
- /**
25177
- * ID of the volume
25178
- */
25179
- volumeID: string;
25180
- /**
25181
- * Name of the volume
25182
- */
25183
- name: string;
25184
- };
25185
25288
  export type SandboxSandboxForkRequest = {
25186
25289
  /**
25187
25290
  * Lifetime of each new forked sandbox in seconds. Defaults to 15 seconds; does not change the source sandbox's expiry.
@@ -25215,31 +25318,6 @@ export type SandboxSnapshotInfo = {
25215
25318
  */
25216
25319
  names: Array<string>;
25217
25320
  };
25218
- /**
25219
- * Network configuration update for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting a field clears it.
25220
- */
25221
- export type SandboxSandboxNetworkUpdateConfig = {
25222
- /**
25223
- * List of allowed destinations for egress traffic. Each entry can be a CIDR block (e.g. "8.8.8.8/32"), a bare IP address (e.g. "8.8.8.8"), or a domain name (e.g. "example.com", "*.example.com"). Allowed entries always take precedence over denied entries.
25224
- */
25225
- allowOut?: Array<string>;
25226
- /**
25227
- * List of denied CIDR blocks or IP addresses for egress traffic. Domain names are not supported for deny rules.
25228
- */
25229
- denyOut?: Array<string>;
25230
- egressProxy?: SandboxSandboxEgressProxyConfig;
25231
- /**
25232
- * Per-domain transform rules applied to matching outbound HTTPS requests. Replaces all existing rules when provided. Keys may be exact DNS names or a single leading wildcard (for example, "*.example.com"), and are normalized to lowercase on write. Wildcards match subdomains at any depth but not the apex domain; a bare "*" is invalid. Exact rules take precedence, followed by the longest matching wildcard suffix, and matching rule sets are not merged. Broad wildcards such as "*.com" are allowed and may expose transformed credentials to every matching destination the sandbox contacts. Rules do not grant network access; configure allowOut separately to permit the destination.
25233
- *
25234
- */
25235
- rules?: {
25236
- [key: string]: Array<SandboxSandboxNetworkRule>;
25237
- };
25238
- /**
25239
- * Allow sandbox to access the internet. When set to false, it behaves the same as specifying denyOut to 0.0.0.0/0 in the network config.
25240
- */
25241
- allow_internet_access?: boolean;
25242
- };
25243
25321
  /**
25244
25322
  * Direction of the logs that should be returned
25245
25323
  */
@@ -35851,11 +35929,11 @@ export type SandboxSandboxNetworkConfig = {
35851
35929
  */
35852
35930
  allowPublicTraffic?: boolean;
35853
35931
  /**
35854
- * List of allowed destinations for egress traffic. Each entry can be a CIDR block (e.g. "8.8.8.8/32"), a bare IP address (e.g. "8.8.8.8"), or a domain name (e.g. "example.com", "*.example.com"). Allowed entries always take precedence over denied entries.
35932
+ * List of allowed destinations for egress traffic. Each entry can be a CIDR block (e.g. "8.8.8.8/32"), a bare IP address (e.g. "8.8.8.8"), or a domain name (e.g. "example.com", "*.example.com"). Allowed entries always take precedence over denied entries. Not available yet: egress control is not implemented, so a non-empty allowOut answers 501 PROVIDER_UNSUPPORTED; omit it.
35855
35933
  */
35856
35934
  allowOut?: Array<string>;
35857
35935
  /**
35858
- * List of denied CIDR blocks or IP addresses for egress traffic. Domain names are not supported for deny rules.
35936
+ * List of denied CIDR blocks or IP addresses for egress traffic. Domain names are not supported for deny rules. Not available yet: egress control is not implemented, so a non-empty denyOut answers 501 PROVIDER_UNSUPPORTED; omit it.
35859
35937
  */
35860
35938
  denyOut?: Array<string>;
35861
35939
  egressProxy?: SandboxSandboxEgressProxyConfig;
@@ -40964,7 +41042,7 @@ export type DevopsMergeGate = {
40964
41042
  */
40965
41043
  override: string;
40966
41044
  /**
40967
- * The Vice President who authorized it, as agent:<id> or human:<id>.
41045
+ * The holder of a listed position who authorized it, as agent:<id> or human:<id>.
40968
41046
  */
40969
41047
  authorizedBy: string;
40970
41048
  /**
@@ -43538,29 +43616,6 @@ export type SandboxMcp = {
43538
43616
  export type SandboxSandboxIam = {
43539
43617
  tokens?: SandboxSandboxIamTokens;
43540
43618
  };
43541
- /**
43542
- * SOCKS5 proxy for sandbox egress. Outbound TCP is tunneled through the proxy after allow/deny filtering; the sandbox is unaware. Domain-matched flows use remote DNS (ATYP=domain).
43543
- */
43544
- export type SandboxSandboxEgressProxyConfig = {
43545
- /**
43546
- * SOCKS5 proxy address in host:port format (e.g. "proxy.example.com:1080").
43547
- */
43548
- address: string;
43549
- /**
43550
- * Optional SOCKS5 username (RFC 1929), max 255 bytes.
43551
- */
43552
- username?: string;
43553
- /**
43554
- * Optional SOCKS5 password (RFC 1929), max 255 bytes.
43555
- */
43556
- password?: string;
43557
- };
43558
- /**
43559
- * Transform rule applied to egress requests matching a domain pattern.
43560
- */
43561
- export type SandboxSandboxNetworkRule = {
43562
- transform?: SandboxSandboxNetworkTransform;
43563
- };
43564
43619
  export type SandboxSandboxLogEntry = {
43565
43620
  /**
43566
43621
  * Timestamp of the log entry
@@ -48748,6 +48803,29 @@ export type AnthropicServerToolUsage = {
48748
48803
  */
48749
48804
  web_search_requests: number;
48750
48805
  };
48806
+ /**
48807
+ * SOCKS5 proxy for sandbox egress. Outbound TCP is tunneled through the proxy after allow/deny filtering; the sandbox is unaware. Domain-matched flows use remote DNS (ATYP=domain).
48808
+ */
48809
+ export type SandboxSandboxEgressProxyConfig = {
48810
+ /**
48811
+ * SOCKS5 proxy address in host:port format (e.g. "proxy.example.com:1080").
48812
+ */
48813
+ address: string;
48814
+ /**
48815
+ * Optional SOCKS5 username (RFC 1929), max 255 bytes.
48816
+ */
48817
+ username?: string;
48818
+ /**
48819
+ * Optional SOCKS5 password (RFC 1929), max 255 bytes.
48820
+ */
48821
+ password?: string;
48822
+ };
48823
+ /**
48824
+ * Transform rule applied to egress requests matching a domain pattern.
48825
+ */
48826
+ export type SandboxSandboxNetworkRule = {
48827
+ transform?: SandboxSandboxNetworkTransform;
48828
+ };
48751
48829
  /**
48752
48830
  * Action taken when the sandbox times out.
48753
48831
  */
@@ -50313,18 +50391,6 @@ export type SandboxSandboxAutoResumeEnabled = boolean;
50313
50391
  export type SandboxSandboxIamTokens = {
50314
50392
  [key: string]: SandboxSandboxIamToken;
50315
50393
  };
50316
- /**
50317
- * Transformations applied to matching egress requests before forwarding.
50318
- */
50319
- export type SandboxSandboxNetworkTransform = {
50320
- /**
50321
- * HTTP headers to inject or override in matching requests. An existing header with the same name is replaced. Values are plain strings; secret resolution happens client-side before sending to the API.
50322
- *
50323
- */
50324
- headers?: {
50325
- [key: string]: string;
50326
- };
50327
- };
50328
50394
  /**
50329
50395
  * One level of the draft tree: what it is called, what may sit beneath it, its size target, and whether the finished piece needs a heading for it.
50330
50396
  */
@@ -51159,6 +51225,18 @@ export type AnthropicToolReferenceBlock = {
51159
51225
  */
51160
51226
  type: 'tool_reference';
51161
51227
  };
51228
+ /**
51229
+ * Transformations applied to matching egress requests before forwarding.
51230
+ */
51231
+ export type SandboxSandboxNetworkTransform = {
51232
+ /**
51233
+ * HTTP headers to inject or override in matching requests. An existing header with the same name is replaced. Values are plain strings; secret resolution happens client-side before sending to the API.
51234
+ *
51235
+ */
51236
+ headers?: {
51237
+ [key: string]: string;
51238
+ };
51239
+ };
51162
51240
  /**
51163
51241
  * Text and caption styling in output pixels.
51164
51242
  */
@@ -52474,7 +52552,7 @@ export type SandboxSandboxDetailWritable = {
52474
52552
  network?: SandboxSandboxNetworkConfigWritable;
52475
52553
  lifecycle?: SandboxSandboxLifecycle;
52476
52554
  /**
52477
- * Volumes mounted into the sandbox.
52555
+ * Volumes mounted into the sandbox. Not available yet: volumes are not implemented, so this is always empty.
52478
52556
  */
52479
52557
  volumeMounts?: Array<SandboxSandboxVolumeMount>;
52480
52558
  };
@@ -53079,7 +53157,7 @@ export type SandboxNewSandboxV2Writable = {
53079
53157
  autoPauseMemory?: boolean;
53080
53158
  autoResume?: SandboxSandboxAutoResumeConfig;
53081
53159
  /**
53082
- * Allow sandbox to access the internet. When set to false, it behaves the same as specifying denyOut to 0.0.0.0/0 in the network config.
53160
+ * Allow sandbox to access the internet. When set to false, it behaves the same as specifying denyOut to 0.0.0.0/0 in the network config. Not available yet: egress control is not implemented, so any value answers 501 PROVIDER_UNSUPPORTED; omit it (internet access is on by default).
53083
53161
  */
53084
53162
  allow_internet_access?: boolean;
53085
53163
  network?: SandboxSandboxNetworkConfigWritable;
@@ -53088,11 +53166,11 @@ export type SandboxNewSandboxV2Writable = {
53088
53166
  mcp?: SandboxMcp;
53089
53167
  iam?: SandboxSandboxIam;
53090
53168
  /**
53091
- * Volumes to mount into the sandbox, each with the volume name and the path inside the sandbox.
53169
+ * Volumes to mount into the sandbox, each with the volume name and the path inside the sandbox. Not available yet: volumes are not implemented, so omit this field or send an empty array; any volume answers 501 PROVIDER_UNSUPPORTED.
53092
53170
  */
53093
53171
  volumeMounts?: Array<SandboxSandboxVolumeMount>;
53094
53172
  /**
53095
- * Own face, required unless sku is named: true for an ephemeral sandbox (ends at its timeout, never pauses, cannot be snapshotted), false for a persistent one (pauses, resumes, snapshots, mounts volumes). Leaving it out returns INVALID_PARAMS.
53173
+ * Own face, required unless sku is named: true for an ephemeral sandbox (ends at its timeout, never pauses, cannot be snapshotted), false for a persistent one (pauses, resumes, snapshots). Leaving it out returns INVALID_PARAMS.
53096
53174
  */
53097
53175
  ephemeral?: boolean;
53098
53176
  /**
@@ -53232,11 +53310,11 @@ export type SandboxSandboxNetworkConfigWritable = {
53232
53310
  */
53233
53311
  allowPublicTraffic?: boolean;
53234
53312
  /**
53235
- * List of allowed destinations for egress traffic. Each entry can be a CIDR block (e.g. "8.8.8.8/32"), a bare IP address (e.g. "8.8.8.8"), or a domain name (e.g. "example.com", "*.example.com"). Allowed entries always take precedence over denied entries.
53313
+ * List of allowed destinations for egress traffic. Each entry can be a CIDR block (e.g. "8.8.8.8/32"), a bare IP address (e.g. "8.8.8.8"), or a domain name (e.g. "example.com", "*.example.com"). Allowed entries always take precedence over denied entries. Not available yet: egress control is not implemented, so a non-empty allowOut answers 501 PROVIDER_UNSUPPORTED; omit it.
53236
53314
  */
53237
53315
  allowOut?: Array<string>;
53238
53316
  /**
53239
- * List of denied CIDR blocks or IP addresses for egress traffic. Domain names are not supported for deny rules.
53317
+ * List of denied CIDR blocks or IP addresses for egress traffic. Domain names are not supported for deny rules. Not available yet: egress control is not implemented, so a non-empty denyOut answers 501 PROVIDER_UNSUPPORTED; omit it.
53240
53318
  */
53241
53319
  denyOut?: Array<string>;
53242
53320
  egressProxy?: SandboxSandboxEgressProxyConfig;
@@ -54055,10 +54133,6 @@ export type SandboxPaginationNextToken = string;
54055
54133
  * Maximum number of items to return per page
54056
54134
  */
54057
54135
  export type SandboxPaginationLimit = number;
54058
- /**
54059
- * Id of the team volume, the `volumeID` returned by createVolume or listVolumes.
54060
- */
54061
- export type SandboxVolumeId = string;
54062
54136
  /**
54063
54137
  * Template identifier from templates.create or templates.list. Use your organization's templateID, not a provider handle.
54064
54138
  */
@@ -59809,7 +59883,7 @@ export type GetAgentEmbedPolicyErrors = {
59809
59883
  */
59810
59884
  404: unknown;
59811
59885
  /**
59812
- * EMBED_POLICY_REQUIRED: this agent has no saved embed settings yet, so there is nothing to read or merge into; open the agent's 嵌入设置 page in the console once and save, then retry. EMBED_POLICY_CONFLICT: the settings changed while this request was in flight; read them again and resend, which is not automatic.
59886
+ * EMBED_POLICY_CONFLICT: the settings changed while this request was in flight; read them again and resend, which is not automatic.
59813
59887
  */
59814
59888
  409: unknown;
59815
59889
  /**
@@ -59951,7 +60025,7 @@ export type UpdateAgentEmbedPolicyErrors = {
59951
60025
  */
59952
60026
  404: unknown;
59953
60027
  /**
59954
- * EMBED_POLICY_REQUIRED: this agent has no saved embed settings yet, so there is nothing to read or merge into; open the agent's 嵌入设置 page in the console once and save, then retry. EMBED_POLICY_CONFLICT: the settings changed while this request was in flight; read them again and resend, which is not automatic.
60028
+ * EMBED_POLICY_CONFLICT: the settings changed while this request was in flight; read them again and resend, which is not automatic.
59955
60029
  */
59956
60030
  409: unknown;
59957
60031
  /**
@@ -71494,6 +71568,27 @@ export type BrowserRunPageActionData = {
71494
71568
  * 为 true 时截取整页,否则只截当前视口。
71495
71569
  */
71496
71570
  fullPage?: boolean;
71571
+ /**
71572
+ * 只截这个矩形(CSS 像素,相对页面左上角),与 Playwright page.screenshot 的 clip 相同;省略时截视口或整页。与 fullPage 同用时相对整页;不同用时也相对页面。x、y 小于 0,或 width、height 不大于 0,返回 400 INVALID_PARAMS。
71573
+ */
71574
+ clip?: {
71575
+ /**
71576
+ * 矩形左上角的横坐标,CSS 像素,不小于 0。
71577
+ */
71578
+ x: number;
71579
+ /**
71580
+ * 矩形左上角的纵坐标,CSS 像素,不小于 0。
71581
+ */
71582
+ y: number;
71583
+ /**
71584
+ * 矩形宽度,CSS 像素,大于 0。
71585
+ */
71586
+ width: number;
71587
+ /**
71588
+ * 矩形高度,CSS 像素,大于 0。
71589
+ */
71590
+ height: number;
71591
+ };
71497
71592
  /**
71498
71593
  * 标签页 ID,来自 tabs.list 或上一个动作的结果;省略时作用于当前标签页。
71499
71594
  */
@@ -81161,7 +81256,7 @@ export type CreateOrganizationNotificationLetterErrors = {
81161
81256
  */
81162
81257
  401: unknown;
81163
81258
  /**
81164
- * `PERMISSION_DENIED`: sending a letter needs a person, an agent or an automation run identity; an organization API key or an application cannot send (RFC 9457 problem).
81259
+ * `PERMISSION_DENIED`: sending a letter needs a person, a personal API key, an agent or an automation run identity; a service-account API key or an application cannot send (RFC 9457 problem).
81165
81260
  */
81166
81261
  403: unknown;
81167
81262
  /**
@@ -99045,6 +99140,81 @@ export type ApplicationListEventsResponses = {
99045
99140
  200: ApplicationEventPage;
99046
99141
  };
99047
99142
  export type ApplicationListEventsResponse = ApplicationListEventsResponses[keyof ApplicationListEventsResponses];
99143
+ export type ApplicationQueryWorkerLogsData = {
99144
+ body: ApplicationTelemetryQueryInput;
99145
+ path: {
99146
+ /**
99147
+ * Worker ID (wkr_…).
99148
+ */
99149
+ worker_id: string;
99150
+ };
99151
+ query?: never;
99152
+ url: '/application/v1/workers/{worker_id}/logs:query';
99153
+ };
99154
+ export type ApplicationQueryWorkerLogsErrors = {
99155
+ /**
99156
+ * Application error; see the error code table.
99157
+ */
99158
+ default: ApplicationApplicationError;
99159
+ };
99160
+ export type ApplicationQueryWorkerLogsError = ApplicationQueryWorkerLogsErrors[keyof ApplicationQueryWorkerLogsErrors];
99161
+ export type ApplicationQueryWorkerLogsResponses = {
99162
+ /**
99163
+ * Success
99164
+ */
99165
+ 200: ApplicationTelemetryQueryResult;
99166
+ };
99167
+ export type ApplicationQueryWorkerLogsResponse = ApplicationQueryWorkerLogsResponses[keyof ApplicationQueryWorkerLogsResponses];
99168
+ export type ApplicationListWorkerLogKeysData = {
99169
+ body: ApplicationTelemetryKeysInput;
99170
+ path: {
99171
+ /**
99172
+ * Worker ID (wkr_…).
99173
+ */
99174
+ worker_id: string;
99175
+ };
99176
+ query?: never;
99177
+ url: '/application/v1/workers/{worker_id}/logs:keys';
99178
+ };
99179
+ export type ApplicationListWorkerLogKeysErrors = {
99180
+ /**
99181
+ * Application error; see the error code table.
99182
+ */
99183
+ default: ApplicationApplicationError;
99184
+ };
99185
+ export type ApplicationListWorkerLogKeysError = ApplicationListWorkerLogKeysErrors[keyof ApplicationListWorkerLogKeysErrors];
99186
+ export type ApplicationListWorkerLogKeysResponses = {
99187
+ /**
99188
+ * Fields found in this application's logs.
99189
+ */
99190
+ 200: Array<ApplicationTelemetryKey>;
99191
+ };
99192
+ export type ApplicationListWorkerLogKeysResponse = ApplicationListWorkerLogKeysResponses[keyof ApplicationListWorkerLogKeysResponses];
99193
+ export type ApplicationListWorkerLogValuesData = {
99194
+ body: ApplicationTelemetryValuesInput;
99195
+ path: {
99196
+ /**
99197
+ * Worker ID (wkr_…).
99198
+ */
99199
+ worker_id: string;
99200
+ };
99201
+ query?: never;
99202
+ url: '/application/v1/workers/{worker_id}/logs:values';
99203
+ };
99204
+ export type ApplicationListWorkerLogValuesErrors = {
99205
+ /**
99206
+ * Application error; see the error code table.
99207
+ */
99208
+ default: ApplicationApplicationError;
99209
+ };
99210
+ export type ApplicationListWorkerLogValuesError = ApplicationListWorkerLogValuesErrors[keyof ApplicationListWorkerLogValuesErrors];
99211
+ export type ApplicationListWorkerLogValuesResponses = {
99212
+ /**
99213
+ * Values of the requested field.
99214
+ */
99215
+ 200: Array<ApplicationTelemetryValue>;
99216
+ };
99217
+ export type ApplicationListWorkerLogValuesResponse = ApplicationListWorkerLogValuesResponses[keyof ApplicationListWorkerLogValuesResponses];
99048
99218
  export type ApplicationCreateAssetUploadSessionData = {
99049
99219
  body: ApplicationAssetUploadSessionInput;
99050
99220
  path: {
@@ -106793,6 +106963,68 @@ export type CrmSchemasCreateResponses = {
106793
106963
  201: CrmSchemasObjectSchema & CrmWriteResult;
106794
106964
  };
106795
106965
  export type CrmSchemasCreateResponse = CrmSchemasCreateResponses[keyof CrmSchemasCreateResponses];
106966
+ export type CrmSchemasDeleteData = {
106967
+ body?: never;
106968
+ path: {
106969
+ /**
106970
+ * Object type name or object type id from schemas.list; a custom object is p_<name>.
106971
+ */
106972
+ objectType: string;
106973
+ };
106974
+ query?: never;
106975
+ url: '/crm/v1/schemas/{objectType}';
106976
+ };
106977
+ export type CrmSchemasDeleteErrors = {
106978
+ /**
106979
+ * The bearer credential is missing or invalid; provide a valid platform API key before retrying.
106980
+ */
106981
+ 401: CrmCrmError;
106982
+ /**
106983
+ * OBJECT_NOT_FOUND means an object type, record or definition is unavailable in your organization; select an accessible identifier from its list operation.
106984
+ */
106985
+ 404: CrmCrmError;
106986
+ /**
106987
+ * CONFLICT refuses the delete. OBJECT_HAS_RECORDS means the object still has records that are not archived. OBJECT_REFERENCED means a rollup property on another object still reads this object, named in the message and in errors[0].context.properties as objectType.property. STANDARD_OBJECT_IMMUTABLE means the object type belongs to the platform. Remove the records or the rollup property and retry.
106988
+ */
106989
+ 409: CrmCrmError;
106990
+ };
106991
+ export type CrmSchemasDeleteError = CrmSchemasDeleteErrors[keyof CrmSchemasDeleteErrors];
106992
+ export type CrmSchemasDeleteResponses = {
106993
+ /**
106994
+ * No content. The object type is gone with everything it held, and the quota it occupied is free.
106995
+ */
106996
+ 204: void;
106997
+ };
106998
+ export type CrmSchemasDeleteResponse = CrmSchemasDeleteResponses[keyof CrmSchemasDeleteResponses];
106999
+ export type CrmSchemasGetData = {
107000
+ body?: never;
107001
+ path: {
107002
+ /**
107003
+ * Object type name or object type id from schemas.list; a custom object is p_<name>.
107004
+ */
107005
+ objectType: string;
107006
+ };
107007
+ query?: never;
107008
+ url: '/crm/v1/schemas/{objectType}';
107009
+ };
107010
+ export type CrmSchemasGetErrors = {
107011
+ /**
107012
+ * The bearer credential is missing or invalid; provide a valid platform API key before retrying.
107013
+ */
107014
+ 401: CrmCrmError;
107015
+ /**
107016
+ * OBJECT_NOT_FOUND means an object type, record or definition is unavailable in your organization; select an accessible identifier from its list operation.
107017
+ */
107018
+ 404: CrmCrmError;
107019
+ };
107020
+ export type CrmSchemasGetError = CrmSchemasGetErrors[keyof CrmSchemasGetErrors];
107021
+ export type CrmSchemasGetResponses = {
107022
+ /**
107023
+ * Read object schema succeeded; inspect the returned resource or result collection.
107024
+ */
107025
+ 200: CrmSchemasObjectSchema;
107026
+ };
107027
+ export type CrmSchemasGetResponse = CrmSchemasGetResponses[keyof CrmSchemasGetResponses];
106796
107028
  export type CrmLeadsQualifyData = {
106797
107029
  /**
106798
107030
  * Contact, company and optional deal decisions, plus the qualified lead stage id.
@@ -115138,7 +115370,7 @@ export type DevopsPullRequestsOverrideGateErrors = {
115138
115370
  */
115139
115371
  401: DevopsDevOpsError;
115140
115372
  /**
115141
- * GATE_OVERRIDE_NOT_AUTHORIZED when authorizedBy holds no active assignment to the vice-president job (or the workforce positions could not be read), or the caller's key lacks the permission.
115373
+ * GATE_OVERRIDE_NOT_AUTHORIZED when authorizedBy holds no active assignment to a position listed in practice-config (or the list or the workforce assignments could not be read), or the caller's key lacks the permission.
115142
115374
  */
115143
115375
  403: DevopsDevOpsError;
115144
115376
  /**
@@ -125703,140 +125935,6 @@ export type RequestTemplateBuildResponses = {
125703
125935
  202: SandboxTemplateRequestResponseV3;
125704
125936
  };
125705
125937
  export type RequestTemplateBuildResponse = RequestTemplateBuildResponses[keyof RequestTemplateBuildResponses];
125706
- export type GetSandboxV1VolumesData = {
125707
- body?: never;
125708
- path?: never;
125709
- query?: never;
125710
- url: '/sandbox/v1/volumes';
125711
- };
125712
- export type GetSandboxV1VolumesErrors = {
125713
- /**
125714
- * Authentication error
125715
- */
125716
- 401: SandboxError;
125717
- /**
125718
- * Too many requests: the rate limit was exceeded. Wait, then retry with exponential backoff.
125719
- */
125720
- 429: SandboxError;
125721
- /**
125722
- * Server error
125723
- */
125724
- 500: SandboxError;
125725
- };
125726
- export type GetSandboxV1VolumesError = GetSandboxV1VolumesErrors[keyof GetSandboxV1VolumesErrors];
125727
- export type GetSandboxV1VolumesResponses = {
125728
- /**
125729
- * Successfully listed all team volumes
125730
- */
125731
- 200: Array<SandboxVolume>;
125732
- };
125733
- export type GetSandboxV1VolumesResponse = GetSandboxV1VolumesResponses[keyof GetSandboxV1VolumesResponses];
125734
- export type PostSandboxV1VolumesData = {
125735
- body: SandboxNewVolume;
125736
- path?: never;
125737
- query?: never;
125738
- url: '/sandbox/v1/volumes';
125739
- };
125740
- export type PostSandboxV1VolumesErrors = {
125741
- /**
125742
- * The request is invalid: a path, query or body value is malformed or out of range. The error message names the problem; fix it and resend. Retrying unchanged fails the same way.
125743
- */
125744
- 400: SandboxError;
125745
- /**
125746
- * Authentication error
125747
- */
125748
- 401: SandboxError;
125749
- /**
125750
- * Too many requests: the rate limit was exceeded. Wait, then retry with exponential backoff.
125751
- */
125752
- 429: SandboxError;
125753
- /**
125754
- * Server error
125755
- */
125756
- 500: SandboxError;
125757
- };
125758
- export type PostSandboxV1VolumesError = PostSandboxV1VolumesErrors[keyof PostSandboxV1VolumesErrors];
125759
- export type PostSandboxV1VolumesResponses = {
125760
- /**
125761
- * Successfully created a new team volume
125762
- */
125763
- 201: SandboxVolumeAndToken;
125764
- };
125765
- export type PostSandboxV1VolumesResponse = PostSandboxV1VolumesResponses[keyof PostSandboxV1VolumesResponses];
125766
- export type DeleteSandboxV1VolumesByVolumeIdData = {
125767
- body?: never;
125768
- path: {
125769
- /**
125770
- * Id of the team volume, the `volumeID` returned by createVolume or listVolumes.
125771
- */
125772
- volumeID: string;
125773
- };
125774
- query?: never;
125775
- url: '/sandbox/v1/volumes/{volumeID}';
125776
- };
125777
- export type DeleteSandboxV1VolumesByVolumeIdErrors = {
125778
- /**
125779
- * Authentication error
125780
- */
125781
- 401: SandboxError;
125782
- /**
125783
- * The sandbox, volume or snapshot does not exist, was already deleted, or belongs to another team (the two cases are indistinguishable). Check the id against the list or create call and the team of your API key.
125784
- */
125785
- 404: SandboxError;
125786
- /**
125787
- * Too many requests: the rate limit was exceeded. Wait, then retry with exponential backoff.
125788
- */
125789
- 429: SandboxError;
125790
- /**
125791
- * Server error
125792
- */
125793
- 500: SandboxError;
125794
- };
125795
- export type DeleteSandboxV1VolumesByVolumeIdError = DeleteSandboxV1VolumesByVolumeIdErrors[keyof DeleteSandboxV1VolumesByVolumeIdErrors];
125796
- export type DeleteSandboxV1VolumesByVolumeIdResponses = {
125797
- /**
125798
- * Successfully deleted a team volume
125799
- */
125800
- 204: void;
125801
- };
125802
- export type DeleteSandboxV1VolumesByVolumeIdResponse = DeleteSandboxV1VolumesByVolumeIdResponses[keyof DeleteSandboxV1VolumesByVolumeIdResponses];
125803
- export type GetSandboxV1VolumesByVolumeIdData = {
125804
- body?: never;
125805
- path: {
125806
- /**
125807
- * Id of the team volume, the `volumeID` returned by createVolume or listVolumes.
125808
- */
125809
- volumeID: string;
125810
- };
125811
- query?: never;
125812
- url: '/sandbox/v1/volumes/{volumeID}';
125813
- };
125814
- export type GetSandboxV1VolumesByVolumeIdErrors = {
125815
- /**
125816
- * Authentication error
125817
- */
125818
- 401: SandboxError;
125819
- /**
125820
- * The sandbox, volume or snapshot does not exist, was already deleted, or belongs to another team (the two cases are indistinguishable). Check the id against the list or create call and the team of your API key.
125821
- */
125822
- 404: SandboxError;
125823
- /**
125824
- * Too many requests: the rate limit was exceeded. Wait, then retry with exponential backoff.
125825
- */
125826
- 429: SandboxError;
125827
- /**
125828
- * Server error
125829
- */
125830
- 500: SandboxError;
125831
- };
125832
- export type GetSandboxV1VolumesByVolumeIdError = GetSandboxV1VolumesByVolumeIdErrors[keyof GetSandboxV1VolumesByVolumeIdErrors];
125833
- export type GetSandboxV1VolumesByVolumeIdResponses = {
125834
- /**
125835
- * Successfully retrieved a team volume
125836
- */
125837
- 200: SandboxVolumeAndToken;
125838
- };
125839
- export type GetSandboxV1VolumesByVolumeIdResponse = GetSandboxV1VolumesByVolumeIdResponses[keyof GetSandboxV1VolumesByVolumeIdResponses];
125840
125938
  export type PostSandboxV1SandboxesBySandboxIdForkData = {
125841
125939
  body?: SandboxSandboxForkRequest;
125842
125940
  path: {
@@ -126001,47 +126099,6 @@ export type DeleteSandboxV1SnapshotsBySnapshotIdResponses = {
126001
126099
  204: void;
126002
126100
  };
126003
126101
  export type DeleteSandboxV1SnapshotsBySnapshotIdResponse = DeleteSandboxV1SnapshotsBySnapshotIdResponses[keyof DeleteSandboxV1SnapshotsBySnapshotIdResponses];
126004
- export type PutSandboxV1SandboxesBySandboxIdNetworkData = {
126005
- body: SandboxSandboxNetworkUpdateConfig;
126006
- path: {
126007
- /**
126008
- * Id of the sandbox, the `sandboxID` returned by the create call (or listed by listSandboxes). Another team's sandbox and an unknown id both answer 404.
126009
- */
126010
- sandboxID: string;
126011
- };
126012
- query?: never;
126013
- url: '/sandbox/v1/sandboxes/{sandboxID}/network';
126014
- };
126015
- export type PutSandboxV1SandboxesBySandboxIdNetworkErrors = {
126016
- /**
126017
- * Authentication error
126018
- */
126019
- 401: SandboxError;
126020
- /**
126021
- * The sandbox, volume or snapshot does not exist, was already deleted, or belongs to another team (the two cases are indistinguishable). Check the id against the list or create call and the team of your API key.
126022
- */
126023
- 404: SandboxError;
126024
- /**
126025
- * The resource is in a state that does not allow this operation, for example pausing a sandbox that is not running. Read its state with getSandbox, wait until it allows the operation, then retry.
126026
- */
126027
- 409: SandboxError;
126028
- /**
126029
- * Too many requests: the rate limit was exceeded. Wait, then retry with exponential backoff.
126030
- */
126031
- 429: SandboxError;
126032
- /**
126033
- * Server error
126034
- */
126035
- 500: SandboxError;
126036
- };
126037
- export type PutSandboxV1SandboxesBySandboxIdNetworkError = PutSandboxV1SandboxesBySandboxIdNetworkErrors[keyof PutSandboxV1SandboxesBySandboxIdNetworkErrors];
126038
- export type PutSandboxV1SandboxesBySandboxIdNetworkResponses = {
126039
- /**
126040
- * Successfully updated the sandbox network configuration
126041
- */
126042
- 204: void;
126043
- };
126044
- export type PutSandboxV1SandboxesBySandboxIdNetworkResponse = PutSandboxV1SandboxesBySandboxIdNetworkResponses[keyof PutSandboxV1SandboxesBySandboxIdNetworkResponses];
126045
126102
  export type GetSandboxV1SandboxesBySandboxIdLogsData = {
126046
126103
  body?: never;
126047
126104
  path: {