@deepraxis/sdk 0.2.0-dev.a24e748 → 0.2.0-dev.aa49a60

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.
@@ -4681,7 +4681,7 @@ export type BrowserStreamMessage = {
4681
4681
  nextCursor: string | null;
4682
4682
  };
4683
4683
  /**
4684
- * The tab in front: the newest one the browser opened or the one a client last brought to the front. null when unknown.
4684
+ * The tab in front: the newest one the browser opened, the one a client or a page action last brought to the front, or the fallback tab after the front one closed. null when the session has no tab.
4685
4685
  */
4686
4686
  activePageId?: string | null;
4687
4687
  };
@@ -4690,7 +4690,12 @@ export type BrowserStreamMessage = {
4690
4690
  data: BrowserSession;
4691
4691
  } | {
4692
4692
  event: 'pages';
4693
- data: BrowserSessionLiveUrls;
4693
+ data: BrowserSessionLiveUrls & {
4694
+ /**
4695
+ * The tab in front, sent with every pages message and whenever the front tab moves even if the tab list did not. A viewer shows this tab and never infers its own; null when the session has no tab.
4696
+ */
4697
+ activePageId?: string | null;
4698
+ };
4694
4699
  } | {
4695
4700
  event: 'action';
4696
4701
  data: {
@@ -8459,7 +8464,7 @@ export type SandboxSandboxDetail = {
8459
8464
  network?: SandboxSandboxNetworkConfig;
8460
8465
  lifecycle?: SandboxSandboxLifecycle;
8461
8466
  /**
8462
- * Volumes mounted into the sandbox.
8467
+ * Volumes mounted into the sandbox. Not available yet: volumes are not implemented, so this is always empty.
8463
8468
  */
8464
8469
  volumeMounts?: Array<SandboxSandboxVolumeMount>;
8465
8470
  };
@@ -10950,7 +10955,7 @@ export type ApplicationCreateWorkerInput = {
10950
10955
  */
10951
10956
  observability?: {
10952
10957
  /**
10953
- * Collect logs.
10958
+ * Collect request logs. On by default; set false to turn them off, and that choice is kept across deployments.
10954
10959
  */
10955
10960
  enabled: boolean;
10956
10961
  };
@@ -11006,11 +11011,11 @@ export type ApplicationWorker = {
11006
11011
  */
11007
11012
  tags: Array<string>;
11008
11013
  /**
11009
- * Observability settings.
11014
+ * Observability settings: Cloudflare Workers Logs for this application, read back with logs:query.
11010
11015
  */
11011
11016
  observability: {
11012
11017
  /**
11013
- * Whether logs are collected.
11018
+ * Whether request logs are collected; true unless the owner turned them off.
11014
11019
  */
11015
11020
  enabled: boolean;
11016
11021
  };
@@ -11110,7 +11115,7 @@ export type ApplicationUpdateWorkerInput = {
11110
11115
  */
11111
11116
  observability?: {
11112
11117
  /**
11113
- * Collect logs.
11118
+ * Collect request logs; omitting it keeps the current setting. On by default, and an explicit false is kept across deployments.
11114
11119
  */
11115
11120
  enabled: boolean;
11116
11121
  };
@@ -11643,445 +11648,586 @@ export type ApplicationEventPage = {
11643
11648
  */
11644
11649
  next_cursor: string | null;
11645
11650
  };
11646
- export type ApplicationAssetUploadSessionInput = {
11647
- manifest: ApplicationAssetManifest;
11648
- };
11649
- export type ApplicationAssetUploadSession = {
11650
- /**
11651
- * Upload token, valid for one hour.
11652
- */
11653
- jwt: string;
11654
- /**
11655
- * Hashes still missing, grouped into upload batches.
11656
- */
11657
- buckets: Array<Array<string>>;
11658
- };
11659
- export type ApplicationUploadAssetsInput = {
11660
- /**
11661
- * Upload token from the session.
11662
- */
11663
- jwt: string;
11664
- /**
11665
- * Hash → base64 file content.
11666
- */
11667
- files: {
11668
- [key: string]: string;
11669
- };
11670
- };
11671
- export type ApplicationAssetUploadResult = {
11672
- /**
11673
- * Completion token after the last batch; null for earlier batches.
11674
- */
11675
- jwt: string | null;
11676
- };
11677
- export type AutomationActionListItem = {
11678
- /**
11679
- * Action id, prefixed act_; calls normally use namespace and name instead of the id.
11680
- */
11681
- id: string;
11682
- /**
11683
- * Action namespace; platform actions use praxis, and a bare name resolves to praxis.
11684
- */
11685
- namespace: string;
11686
- /**
11687
- * Action name; together with namespace it identifies the action. Lowercase letters, digits, dot, underscore and hyphen, up to 64 characters.
11688
- */
11689
- name: string;
11690
- /**
11691
- * Free-text action description, at most 1000 characters.
11692
- */
11693
- description: string;
11694
- labels: AutomationLabels;
11695
- /**
11696
- * Tenant that owns the action, injected by the gateway; treat it as an opaque string.
11697
- */
11698
- owner: string;
11699
- /**
11700
- * true for platform-provided actions (namespace praxis); false for user-created actions.
11701
- */
11702
- builtin: boolean;
11651
+ /**
11652
+ * Cloudflare's Workers Observability query body (POST /accounts/{account_id}/workers/observability/telemetry/query).
11653
+ */
11654
+ export type ApplicationTelemetryQueryInput = {
11703
11655
  /**
11704
- * Seven-day statistics; platform actions are isolated by caller tenant and reflect only the current caller, not global platform totals.
11656
+ * The window to read; required, at most 7 days (the retention), from earlier than to.
11705
11657
  */
11706
- stats_7d: AutomationActionStats7d;
11707
- /**
11708
- * Counts of scripts and workflows that reference the action, measured on the latest version plus drafts.
11709
- */
11710
- dependents: {
11658
+ timeframe: {
11711
11659
  /**
11712
- * Number of scripts that reference this action.
11660
+ * Start of the window, epoch milliseconds.
11713
11661
  */
11714
- scripts: number;
11662
+ from: number;
11715
11663
  /**
11716
- * Number of workflows that reference this action.
11664
+ * End of the window, epoch milliseconds.
11717
11665
  */
11718
- workflows: number;
11666
+ to: number;
11719
11667
  };
11720
11668
  /**
11721
- * Archive time, or null while not archived. An archived name stays reserved and cannot be reused.
11722
- */
11723
- archived_at: null | string;
11724
- /**
11725
- * Creation time (RFC 3339 UTC).
11726
- */
11727
- created_at: string;
11728
- /**
11729
- * Time of the last update (RFC 3339 UTC).
11730
- */
11731
- updated_at: string;
11732
- current_revision: AutomationActionRevisionSummary;
11733
- };
11734
- export type AutomationAutomationProblemDetails = {
11735
- type: string;
11736
- title: string;
11737
- status: number;
11738
- detail: string;
11739
- 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' | 'VAULT_NOT_FOUND' | 'VAULT_ALREADY_BOUND' | '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' | 'SERVICE_UNAVAILABLE' | 'HUMAN_TASK_NOT_FOUND' | 'TASK_CLOSED' | 'ALREADY_RESPONDED' | 'NOT_ASSIGNED' | 'SELF_APPROVAL' | 'AGENT_NOT_ALLOWED' | 'COMMENT_REQUIRED' | 'INVALID_ACTION' | 'INVALID_VALUES' | 'HUMAN_TASK_CANCELLED';
11740
- errors: Array<AutomationDiagnostic>;
11741
- issues: Array<AutomationCompatIssue>;
11742
- hint: string | null;
11743
- };
11744
- /**
11745
- * Any JSON value: null, boolean, number, string, array or object.
11746
- */
11747
- export type AutomationJsonValue = null | string | number | boolean | AutomationJsonObject | Array<AutomationJsonValue>;
11748
- export type AutomationErrorDescriptor = {
11749
- /**
11750
- * Error type: a stable URI or a standard Open Workflow type such as validation, timeout, communication or runtime.
11751
- */
11752
- type: string;
11753
- /**
11754
- * Optional stable error code callers can branch on.
11755
- */
11756
- code?: string;
11757
- /**
11758
- * What this error means and when it occurs, written for callers.
11669
+ * What the query returns: events (individual log lines, the default) or calculations (aggregates).
11759
11670
  */
11760
- description: string;
11761
- };
11762
- export type AutomationActionDef = {
11671
+ view?: 'events' | 'calculations';
11763
11672
  /**
11764
- * Action id, prefixed act_; calls normally use namespace and name instead of the id.
11673
+ * Events per page (or group-by rows for calculations); values above 2000 are clamped to 2000.
11765
11674
  */
11766
- id: string;
11767
- /**
11768
- * Action namespace; platform actions use praxis, and a bare name resolves to praxis.
11769
- */
11770
- namespace: string;
11675
+ limit?: number;
11771
11676
  /**
11772
- * Action name; together with namespace it identifies the action. Lowercase letters, digits, dot, underscore and hyphen, up to 64 characters.
11677
+ * Cursor to the next page: the $metadata.id of the last event of the previous page.
11773
11678
  */
11774
- name: string;
11679
+ offset?: string;
11775
11680
  /**
11776
- * Free-text action description, at most 1000 characters.
11681
+ * Include a comparison dataset from the previous window of equal length.
11777
11682
  */
11778
- description: string;
11779
- labels: AutomationLabels;
11683
+ compare?: boolean;
11780
11684
  /**
11781
- * Tenant that owns the action, injected by the gateway; treat it as an opaque string.
11685
+ * Validate and run without persisting the query.
11782
11686
  */
11783
- owner: string;
11687
+ dry?: boolean;
11784
11688
  /**
11785
- * true for platform-provided actions (namespace praxis); false for user-created actions.
11689
+ * Number of time-series buckets for calculations; omitting lets Cloudflare decide.
11786
11690
  */
11787
- builtin: boolean;
11788
- current_revision: AutomationActionRevision;
11691
+ granularity?: number;
11789
11692
  /**
11790
- * Seven-day statistics; platform actions are isolated by caller tenant and reflect only the current caller, not global platform totals.
11693
+ * Include time-series data in the response.
11791
11694
  */
11792
- stats_7d: AutomationActionStats7d;
11695
+ chart?: boolean;
11793
11696
  /**
11794
- * Counts of scripts and workflows that reference the action, measured on the latest version plus drafts.
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.
11795
11698
  */
11796
- dependents: {
11797
- /**
11798
- * Number of scripts that reference this action.
11799
- */
11800
- scripts: number;
11801
- /**
11802
- * Number of workflows that reference this action.
11803
- */
11804
- workflows: number;
11699
+ parameters?: {
11700
+ [key: string]: unknown;
11805
11701
  };
11806
- /**
11807
- * Archive time, or null while not archived. An archived name stays reserved and cannot be reused.
11808
- */
11809
- archived_at: null | string;
11810
- /**
11811
- * Creation time (RFC 3339 UTC).
11812
- */
11813
- created_at: string;
11814
- /**
11815
- * Time of the last update (RFC 3339 UTC).
11816
- */
11817
- updated_at: string;
11818
11702
  };
11819
11703
  /**
11820
- * Normal updates return ActionDef; dry_run=true returns CompatResult (compatible=true, or compatible=false with issues), giving three shapes.
11704
+ * Cloudflare's query result, unchanged: run (status and statistics), statistics, and the payload of the requested view (events, calculations, invocations, traces, agents).
11821
11705
  */
11822
- export type AutomationActionUpdateResult = AutomationActionDef | AutomationCompatResult;
11823
- export type AutomationRevisionSummary = {
11824
- /**
11825
- * true when this is the action's current revision.
11826
- */
11827
- current: boolean;
11828
- /**
11829
- * Whether rolling back to this revision is possible, judged by the server against the current revision.
11830
- */
11831
- rollback: {
11832
- /**
11833
- * true when rolling back to this revision is allowed; when false, issues explains why.
11834
- */
11835
- allowed: boolean;
11836
- /**
11837
- * Incompatibilities a rollback would cause, each with pointer and reason; empty when allowed is true.
11838
- */
11839
- issues: Array<AutomationCompatIssue>;
11840
- };
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 = {
11841
11713
  /**
11842
- * Revision id, prefixed actr_; used for display and as the revision of a rollback, and cannot be referenced directly by scripts.
11714
+ * Cloudflare filters, narrowed by the server to this Worker; filters on $metadata.service, $workers.scriptName or dataset are dropped.
11843
11715
  */
11844
- id: string;
11845
- /**
11846
- * Content digest of the contract and implementation; an update with identical content does not create a new revision.
11847
- */
11848
- digest: string;
11849
- input_schema: AutomationJsonObject;
11850
- output_schema: AutomationJsonObject;
11716
+ filters?: Array<{
11717
+ [key: string]: unknown;
11718
+ }>;
11851
11719
  /**
11852
- * Errors the action declares it may raise, each with type, code and description.
11720
+ * Window start, epoch milliseconds.
11853
11721
  */
11854
- errors: Array<AutomationErrorDescriptor>;
11722
+ from?: number;
11855
11723
  /**
11856
- * Declared action behaviour {read_only, idempotent}; keys not supplied at creation default to false.
11724
+ * Window end, epoch milliseconds.
11857
11725
  */
11858
- annotations: {
11859
- /**
11860
- * true declares that the action does not change external state and only reads data.
11861
- */
11862
- read_only: boolean;
11863
- /**
11864
- * true declares that repeating a call with the same input has the same effect as calling once; retries of such a action reuse one idempotency key (run_id plus step path, without the attempt number).
11865
- */
11866
- idempotent: boolean;
11867
- };
11726
+ to?: number;
11868
11727
  /**
11869
- * Timeout of one execution in milliseconds; when not supplied it defaults to 300000 for code and 21600000 for container or shell implementations.
11728
+ * Maximum keys; values above 2000 are clamped.
11870
11729
  */
11871
- timeout_ms: number;
11730
+ limit?: number;
11872
11731
  /**
11873
- * Implementation information: the full implementation or only its kind; lists omit source, so use expand=source or read a single revision.
11732
+ * Full-text search across events; Cloudflare's shape.
11874
11733
  */
11875
- implementation: AutomationImplementation | {
11876
- kind: AutomationImplementationKind;
11734
+ needle?: {
11735
+ [key: string]: unknown;
11877
11736
  };
11878
- host: AutomationActionHost;
11879
- /**
11880
- * Platform APIs derived from the code; also the scopes of the action's run token (least privilege).
11881
- */
11882
- platform_apis: Array<string>;
11883
- created_by: AutomationSubject;
11884
- /**
11885
- * Note supplied when this revision was created, or null.
11886
- */
11887
- message: null | string;
11888
- /**
11889
- * Time this revision was created (RFC 3339 UTC).
11890
- */
11891
- created_at: string;
11892
11737
  };
11893
- export type AutomationRevisionListItem = {
11894
- /**
11895
- * true when this is the action's current revision.
11896
- */
11897
- current: boolean;
11898
- /**
11899
- * Whether rolling back to this revision is possible, judged by the server against the current revision.
11900
- */
11901
- rollback: {
11902
- /**
11903
- * true when rolling back to this revision is allowed; when false, issues explains why.
11904
- */
11905
- allowed: boolean;
11906
- /**
11907
- * Incompatibilities a rollback would cause, each with pointer and reason; empty when allowed is true.
11908
- */
11909
- issues: Array<AutomationCompatIssue>;
11910
- };
11911
- /**
11912
- * Revision id, prefixed actr_; used for display and as the revision of a rollback, and cannot be referenced directly by scripts.
11913
- */
11914
- id: string;
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 = {
11915
11748
  /**
11916
- * Content digest of the contract and implementation; an update with identical content does not create a new revision.
11749
+ * The field whose values to list, e.g. $metadata.level; discover fields with logs:keys.
11917
11750
  */
11918
- digest: string;
11919
- input_schema: AutomationJsonObject;
11920
- output_schema: AutomationJsonObject;
11751
+ key: string;
11921
11752
  /**
11922
- * Errors the action declares it may raise, each with type, code and description.
11753
+ * Type of the field, as keys reports it.
11923
11754
  */
11924
- errors: Array<AutomationErrorDescriptor>;
11755
+ type: 'string' | 'number' | 'boolean';
11925
11756
  /**
11926
- * Declared action behaviour {read_only, idempotent}; keys not supplied at creation default to false.
11757
+ * The window to read; required, at most 7 days.
11927
11758
  */
11928
- annotations: {
11759
+ timeframe: {
11929
11760
  /**
11930
- * true declares that the action does not change external state and only reads data.
11761
+ * Start of the window, epoch milliseconds.
11931
11762
  */
11932
- read_only: boolean;
11763
+ from: number;
11933
11764
  /**
11934
- * true declares that repeating a call with the same input has the same effect as calling once; retries of such a action reuse one idempotency key (run_id plus step path, without the attempt number).
11765
+ * End of the window, epoch milliseconds.
11935
11766
  */
11936
- idempotent: boolean;
11767
+ to: number;
11937
11768
  };
11938
11769
  /**
11939
- * Timeout of one execution in milliseconds; when not supplied it defaults to 300000 for code and 21600000 for container or shell implementations.
11940
- */
11941
- timeout_ms: number;
11942
- implementation: AutomationImplementation;
11943
- host: AutomationActionHost;
11944
- /**
11945
- * Platform APIs derived from the code; also the scopes of the action's run token (least privilege).
11770
+ * Cloudflare filters, narrowed by the server to this Worker; filters on $metadata.service, $workers.scriptName or dataset are dropped.
11946
11771
  */
11947
- platform_apis: Array<string>;
11948
- created_by: AutomationSubject;
11772
+ filters?: Array<{
11773
+ [key: string]: unknown;
11774
+ }>;
11949
11775
  /**
11950
- * Note supplied when this revision was created, or null.
11776
+ * Maximum values; values above 2000 are clamped.
11951
11777
  */
11952
- message: null | string;
11778
+ limit?: number;
11953
11779
  /**
11954
- * Time this revision was created (RFC 3339 UTC).
11780
+ * Full-text search across events; Cloudflare's shape.
11955
11781
  */
11956
- created_at: string;
11782
+ needle?: {
11783
+ [key: string]: unknown;
11784
+ };
11957
11785
  };
11958
- export type AutomationInvocation = {
11959
- /**
11960
- * Invocation identity without a separate inv_ prefix: scripts use run_id:seq (run ID and call sequence); workflows use the task execution key plus attempt. Treat it as opaque.
11961
- */
11962
- id: string;
11963
- /**
11964
- * Time the invocation record was created (RFC 3339 UTC).
11965
- */
11966
- created_at: string;
11967
- /**
11968
- * Time the action started executing, or null if it has not started.
11969
- */
11970
- started_at: null | string;
11971
- /**
11972
- * Time the action finished, or null while it is still running.
11973
- */
11974
- ended_at: null | string;
11975
- status: AutomationCallStatus;
11976
- /**
11977
- * Execution time in milliseconds, or null until it finishes.
11978
- */
11979
- duration_ms: null | number;
11786
+ /**
11787
+ * One value of a field: dataset, key, type and value.
11788
+ */
11789
+ export type ApplicationTelemetryValue = {
11790
+ [key: string]: unknown;
11791
+ };
11792
+ export type ApplicationAssetUploadSessionInput = {
11793
+ manifest: ApplicationAssetManifest;
11794
+ };
11795
+ export type ApplicationAssetUploadSession = {
11980
11796
  /**
11981
- * Id (actr_) of the action revision that executed.
11797
+ * Upload token, valid for one hour.
11982
11798
  */
11983
- revision: string;
11799
+ jwt: string;
11984
11800
  /**
11985
- * The run that made this invocation: {id, kind, definition, number, source_digest}.
11801
+ * Hashes still missing, grouped into upload batches.
11986
11802
  */
11987
- run: {
11988
- /**
11989
- * Id (run_) of the run that made the call; use it to read that run.
11990
- */
11991
- id: string;
11992
- kind: AutomationDefinitionKind;
11993
- /**
11994
- * The script or workflow {namespace, name} the run belongs to; null for ad-hoc runs.
11995
- */
11996
- definition: null | {
11997
- /**
11998
- * Namespace of the script or workflow.
11999
- */
12000
- namespace: string;
12001
- /**
12002
- * Name of the script or workflow.
12003
- */
12004
- name: string;
12005
- };
12006
- /**
12007
- * Sequence number of the run within its script or workflow; null for ad-hoc runs.
12008
- */
12009
- number: null | number;
12010
- /**
12011
- * Digest of the source of an ad-hoc run; null for runs started from a published definition.
12012
- */
12013
- source_digest: null | string;
12014
- };
11803
+ buckets: Array<Array<string>>;
11804
+ };
11805
+ export type ApplicationUploadAssetsInput = {
12015
11806
  /**
12016
- * Where the invocation happened: a call in a script (kind=call with seq) or a workflow step (kind=task with reference and iteration).
11807
+ * Upload token from the session.
12017
11808
  */
12018
- site: {
12019
- /**
12020
- * Always call: made by a call in a script.
12021
- */
12022
- kind: 'call';
12023
- /**
12024
- * Sequence number of the call within the script run; matches Call.seq.
12025
- */
12026
- seq: number;
12027
- } | {
12028
- /**
12029
- * Always task: made by a workflow step.
12030
- */
12031
- kind: 'task';
12032
- /**
12033
- * JSON Pointer of the step inside the workflow document; matches Task.reference.
12034
- */
12035
- reference: string;
12036
- /**
12037
- * Current iteration indexes of enclosing for loops, outermost first; an empty array outside loops.
12038
- */
12039
- iteration: Array<number>;
12040
- };
11809
+ jwt: string;
12041
11810
  /**
12042
- * {code, message} of the failure, or null when it succeeded or is still running.
11811
+ * Hash → base64 file content.
12043
11812
  */
12044
- error: null | {
12045
- /**
12046
- * Error code, such as a code the action declares or a platform error code.
12047
- */
12048
- code: string;
12049
- /**
12050
- * Human-readable error message.
12051
- */
12052
- message: string;
11813
+ files: {
11814
+ [key: string]: string;
12053
11815
  };
12054
- /**
12055
- * Single-line preview of the returned value, truncated on the server; null if unfinished or failed.
12056
- */
12057
- result_preview: null | string;
12058
- /**
12059
- * Downstream response X-Request-Id, or null when absent; use it to trace failed invocations.
12060
- */
12061
- request_id: string | null;
12062
11816
  };
12063
- export type AutomationDependent = {
12064
- kind: AutomationDefinitionKind;
12065
- /**
12066
- * Namespace of the referencing script or workflow.
12067
- */
12068
- namespace: string;
12069
- /**
12070
- * Name of the referencing script or workflow.
12071
- */
12072
- name: string;
11817
+ export type ApplicationAssetUploadResult = {
12073
11818
  /**
12074
- * Reference location: draft or latest version number; draft means the draft, otherwise this is the definition’s latest published version.
11819
+ * Completion token after the last batch; null for earlier batches.
12075
11820
  */
12076
- at: string;
12077
- };
12078
- export type AutomationEmptyInput = {
12079
- [key: string]: never;
11821
+ jwt: string | null;
12080
11822
  };
12081
- /**
12082
- * Archive operations return the full action and dependents_count, the sum of script and workflow dependents.
12083
- */
12084
- export type AutomationActionArchiveResult = {
11823
+ export type AutomationActionListItem = {
11824
+ /**
11825
+ * Action id, prefixed act_; calls normally use namespace and name instead of the id.
11826
+ */
11827
+ id: string;
11828
+ /**
11829
+ * Action namespace; platform actions use praxis, and a bare name resolves to praxis.
11830
+ */
11831
+ namespace: string;
11832
+ /**
11833
+ * Action name; together with namespace it identifies the action. Lowercase letters, digits, dot, underscore and hyphen, up to 64 characters.
11834
+ */
11835
+ name: string;
11836
+ /**
11837
+ * Free-text action description, at most 1000 characters.
11838
+ */
11839
+ description: string;
11840
+ labels: AutomationLabels;
11841
+ /**
11842
+ * Tenant that owns the action, injected by the gateway; treat it as an opaque string.
11843
+ */
11844
+ owner: string;
11845
+ /**
11846
+ * true for platform-provided actions (namespace praxis); false for user-created actions.
11847
+ */
11848
+ builtin: boolean;
11849
+ /**
11850
+ * Seven-day statistics; platform actions are isolated by caller tenant and reflect only the current caller, not global platform totals.
11851
+ */
11852
+ stats_7d: AutomationActionStats7d;
11853
+ /**
11854
+ * Counts of scripts and workflows that reference the action, measured on the latest version plus drafts.
11855
+ */
11856
+ dependents: {
11857
+ /**
11858
+ * Number of scripts that reference this action.
11859
+ */
11860
+ scripts: number;
11861
+ /**
11862
+ * Number of workflows that reference this action.
11863
+ */
11864
+ workflows: number;
11865
+ };
11866
+ /**
11867
+ * Archive time, or null while not archived. An archived name stays reserved and cannot be reused.
11868
+ */
11869
+ archived_at: null | string;
11870
+ /**
11871
+ * Creation time (RFC 3339 UTC).
11872
+ */
11873
+ created_at: string;
11874
+ /**
11875
+ * Time of the last update (RFC 3339 UTC).
11876
+ */
11877
+ updated_at: string;
11878
+ current_revision: AutomationActionRevisionSummary;
11879
+ };
11880
+ export type AutomationAutomationProblemDetails = {
11881
+ type: string;
11882
+ title: string;
11883
+ status: number;
11884
+ detail: string;
11885
+ 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' | 'VAULT_NOT_FOUND' | 'VAULT_ALREADY_BOUND' | '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' | 'SERVICE_UNAVAILABLE' | 'HUMAN_TASK_NOT_FOUND' | 'TASK_CLOSED' | 'ALREADY_RESPONDED' | 'NOT_ASSIGNED' | 'SELF_APPROVAL' | 'AGENT_NOT_ALLOWED' | 'COMMENT_REQUIRED' | 'INVALID_ACTION' | 'INVALID_VALUES' | 'HUMAN_TASK_CANCELLED';
11886
+ errors: Array<AutomationDiagnostic>;
11887
+ issues: Array<AutomationCompatIssue>;
11888
+ hint: string | null;
11889
+ };
11890
+ /**
11891
+ * Any JSON value: null, boolean, number, string, array or object.
11892
+ */
11893
+ export type AutomationJsonValue = null | string | number | boolean | AutomationJsonObject | Array<AutomationJsonValue>;
11894
+ export type AutomationErrorDescriptor = {
11895
+ /**
11896
+ * Error type: a stable URI or a standard Open Workflow type such as validation, timeout, communication or runtime.
11897
+ */
11898
+ type: string;
11899
+ /**
11900
+ * Optional stable error code callers can branch on.
11901
+ */
11902
+ code?: string;
11903
+ /**
11904
+ * What this error means and when it occurs, written for callers.
11905
+ */
11906
+ description: string;
11907
+ };
11908
+ export type AutomationActionDef = {
11909
+ /**
11910
+ * Action id, prefixed act_; calls normally use namespace and name instead of the id.
11911
+ */
11912
+ id: string;
11913
+ /**
11914
+ * Action namespace; platform actions use praxis, and a bare name resolves to praxis.
11915
+ */
11916
+ namespace: string;
11917
+ /**
11918
+ * Action name; together with namespace it identifies the action. Lowercase letters, digits, dot, underscore and hyphen, up to 64 characters.
11919
+ */
11920
+ name: string;
11921
+ /**
11922
+ * Free-text action description, at most 1000 characters.
11923
+ */
11924
+ description: string;
11925
+ labels: AutomationLabels;
11926
+ /**
11927
+ * Tenant that owns the action, injected by the gateway; treat it as an opaque string.
11928
+ */
11929
+ owner: string;
11930
+ /**
11931
+ * true for platform-provided actions (namespace praxis); false for user-created actions.
11932
+ */
11933
+ builtin: boolean;
11934
+ current_revision: AutomationActionRevision;
11935
+ /**
11936
+ * Seven-day statistics; platform actions are isolated by caller tenant and reflect only the current caller, not global platform totals.
11937
+ */
11938
+ stats_7d: AutomationActionStats7d;
11939
+ /**
11940
+ * Counts of scripts and workflows that reference the action, measured on the latest version plus drafts.
11941
+ */
11942
+ dependents: {
11943
+ /**
11944
+ * Number of scripts that reference this action.
11945
+ */
11946
+ scripts: number;
11947
+ /**
11948
+ * Number of workflows that reference this action.
11949
+ */
11950
+ workflows: number;
11951
+ };
11952
+ /**
11953
+ * Archive time, or null while not archived. An archived name stays reserved and cannot be reused.
11954
+ */
11955
+ archived_at: null | string;
11956
+ /**
11957
+ * Creation time (RFC 3339 UTC).
11958
+ */
11959
+ created_at: string;
11960
+ /**
11961
+ * Time of the last update (RFC 3339 UTC).
11962
+ */
11963
+ updated_at: string;
11964
+ };
11965
+ /**
11966
+ * Normal updates return ActionDef; dry_run=true returns CompatResult (compatible=true, or compatible=false with issues), giving three shapes.
11967
+ */
11968
+ export type AutomationActionUpdateResult = AutomationActionDef | AutomationCompatResult;
11969
+ export type AutomationRevisionSummary = {
11970
+ /**
11971
+ * true when this is the action's current revision.
11972
+ */
11973
+ current: boolean;
11974
+ /**
11975
+ * Whether rolling back to this revision is possible, judged by the server against the current revision.
11976
+ */
11977
+ rollback: {
11978
+ /**
11979
+ * true when rolling back to this revision is allowed; when false, issues explains why.
11980
+ */
11981
+ allowed: boolean;
11982
+ /**
11983
+ * Incompatibilities a rollback would cause, each with pointer and reason; empty when allowed is true.
11984
+ */
11985
+ issues: Array<AutomationCompatIssue>;
11986
+ };
11987
+ /**
11988
+ * Revision id, prefixed actr_; used for display and as the revision of a rollback, and cannot be referenced directly by scripts.
11989
+ */
11990
+ id: string;
11991
+ /**
11992
+ * Content digest of the contract and implementation; an update with identical content does not create a new revision.
11993
+ */
11994
+ digest: string;
11995
+ input_schema: AutomationJsonObject;
11996
+ output_schema: AutomationJsonObject;
11997
+ /**
11998
+ * Errors the action declares it may raise, each with type, code and description.
11999
+ */
12000
+ errors: Array<AutomationErrorDescriptor>;
12001
+ /**
12002
+ * Declared action behaviour {read_only, idempotent}; keys not supplied at creation default to false.
12003
+ */
12004
+ annotations: {
12005
+ /**
12006
+ * true declares that the action does not change external state and only reads data.
12007
+ */
12008
+ read_only: boolean;
12009
+ /**
12010
+ * true declares that repeating a call with the same input has the same effect as calling once; retries of such a action reuse one idempotency key (run_id plus step path, without the attempt number).
12011
+ */
12012
+ idempotent: boolean;
12013
+ };
12014
+ /**
12015
+ * Timeout of one execution in milliseconds; when not supplied it defaults to 300000 for code and 21600000 for container or shell implementations.
12016
+ */
12017
+ timeout_ms: number;
12018
+ /**
12019
+ * Implementation information: the full implementation or only its kind; lists omit source, so use expand=source or read a single revision.
12020
+ */
12021
+ implementation: AutomationImplementation | {
12022
+ kind: AutomationImplementationKind;
12023
+ };
12024
+ host: AutomationActionHost;
12025
+ /**
12026
+ * Platform APIs derived from the code; also the scopes of the action's run token (least privilege).
12027
+ */
12028
+ platform_apis: Array<string>;
12029
+ created_by: AutomationSubject;
12030
+ /**
12031
+ * Note supplied when this revision was created, or null.
12032
+ */
12033
+ message: null | string;
12034
+ /**
12035
+ * Time this revision was created (RFC 3339 UTC).
12036
+ */
12037
+ created_at: string;
12038
+ };
12039
+ export type AutomationRevisionListItem = {
12040
+ /**
12041
+ * true when this is the action's current revision.
12042
+ */
12043
+ current: boolean;
12044
+ /**
12045
+ * Whether rolling back to this revision is possible, judged by the server against the current revision.
12046
+ */
12047
+ rollback: {
12048
+ /**
12049
+ * true when rolling back to this revision is allowed; when false, issues explains why.
12050
+ */
12051
+ allowed: boolean;
12052
+ /**
12053
+ * Incompatibilities a rollback would cause, each with pointer and reason; empty when allowed is true.
12054
+ */
12055
+ issues: Array<AutomationCompatIssue>;
12056
+ };
12057
+ /**
12058
+ * Revision id, prefixed actr_; used for display and as the revision of a rollback, and cannot be referenced directly by scripts.
12059
+ */
12060
+ id: string;
12061
+ /**
12062
+ * Content digest of the contract and implementation; an update with identical content does not create a new revision.
12063
+ */
12064
+ digest: string;
12065
+ input_schema: AutomationJsonObject;
12066
+ output_schema: AutomationJsonObject;
12067
+ /**
12068
+ * Errors the action declares it may raise, each with type, code and description.
12069
+ */
12070
+ errors: Array<AutomationErrorDescriptor>;
12071
+ /**
12072
+ * Declared action behaviour {read_only, idempotent}; keys not supplied at creation default to false.
12073
+ */
12074
+ annotations: {
12075
+ /**
12076
+ * true declares that the action does not change external state and only reads data.
12077
+ */
12078
+ read_only: boolean;
12079
+ /**
12080
+ * true declares that repeating a call with the same input has the same effect as calling once; retries of such a action reuse one idempotency key (run_id plus step path, without the attempt number).
12081
+ */
12082
+ idempotent: boolean;
12083
+ };
12084
+ /**
12085
+ * Timeout of one execution in milliseconds; when not supplied it defaults to 300000 for code and 21600000 for container or shell implementations.
12086
+ */
12087
+ timeout_ms: number;
12088
+ implementation: AutomationImplementation;
12089
+ host: AutomationActionHost;
12090
+ /**
12091
+ * Platform APIs derived from the code; also the scopes of the action's run token (least privilege).
12092
+ */
12093
+ platform_apis: Array<string>;
12094
+ created_by: AutomationSubject;
12095
+ /**
12096
+ * Note supplied when this revision was created, or null.
12097
+ */
12098
+ message: null | string;
12099
+ /**
12100
+ * Time this revision was created (RFC 3339 UTC).
12101
+ */
12102
+ created_at: string;
12103
+ };
12104
+ export type AutomationInvocation = {
12105
+ /**
12106
+ * Invocation identity without a separate inv_ prefix: scripts use run_id:seq (run ID and call sequence); workflows use the task execution key plus attempt. Treat it as opaque.
12107
+ */
12108
+ id: string;
12109
+ /**
12110
+ * Time the invocation record was created (RFC 3339 UTC).
12111
+ */
12112
+ created_at: string;
12113
+ /**
12114
+ * Time the action started executing, or null if it has not started.
12115
+ */
12116
+ started_at: null | string;
12117
+ /**
12118
+ * Time the action finished, or null while it is still running.
12119
+ */
12120
+ ended_at: null | string;
12121
+ status: AutomationCallStatus;
12122
+ /**
12123
+ * Execution time in milliseconds, or null until it finishes.
12124
+ */
12125
+ duration_ms: null | number;
12126
+ /**
12127
+ * Id (actr_) of the action revision that executed.
12128
+ */
12129
+ revision: string;
12130
+ /**
12131
+ * The run that made this invocation: {id, kind, definition, number, source_digest}.
12132
+ */
12133
+ run: {
12134
+ /**
12135
+ * Id (run_) of the run that made the call; use it to read that run.
12136
+ */
12137
+ id: string;
12138
+ kind: AutomationDefinitionKind;
12139
+ /**
12140
+ * The script or workflow {namespace, name} the run belongs to; null for ad-hoc runs.
12141
+ */
12142
+ definition: null | {
12143
+ /**
12144
+ * Namespace of the script or workflow.
12145
+ */
12146
+ namespace: string;
12147
+ /**
12148
+ * Name of the script or workflow.
12149
+ */
12150
+ name: string;
12151
+ };
12152
+ /**
12153
+ * Sequence number of the run within its script or workflow; null for ad-hoc runs.
12154
+ */
12155
+ number: null | number;
12156
+ /**
12157
+ * Digest of the source of an ad-hoc run; null for runs started from a published definition.
12158
+ */
12159
+ source_digest: null | string;
12160
+ };
12161
+ /**
12162
+ * Where the invocation happened: a call in a script (kind=call with seq) or a workflow step (kind=task with reference and iteration).
12163
+ */
12164
+ site: {
12165
+ /**
12166
+ * Always call: made by a call in a script.
12167
+ */
12168
+ kind: 'call';
12169
+ /**
12170
+ * Sequence number of the call within the script run; matches Call.seq.
12171
+ */
12172
+ seq: number;
12173
+ } | {
12174
+ /**
12175
+ * Always task: made by a workflow step.
12176
+ */
12177
+ kind: 'task';
12178
+ /**
12179
+ * JSON Pointer of the step inside the workflow document; matches Task.reference.
12180
+ */
12181
+ reference: string;
12182
+ /**
12183
+ * Current iteration indexes of enclosing for loops, outermost first; an empty array outside loops.
12184
+ */
12185
+ iteration: Array<number>;
12186
+ };
12187
+ /**
12188
+ * {code, message} of the failure, or null when it succeeded or is still running.
12189
+ */
12190
+ error: null | {
12191
+ /**
12192
+ * Error code, such as a code the action declares or a platform error code.
12193
+ */
12194
+ code: string;
12195
+ /**
12196
+ * Human-readable error message.
12197
+ */
12198
+ message: string;
12199
+ };
12200
+ /**
12201
+ * Single-line preview of the returned value, truncated on the server; null if unfinished or failed.
12202
+ */
12203
+ result_preview: null | string;
12204
+ /**
12205
+ * Downstream response X-Request-Id, or null when absent; use it to trace failed invocations.
12206
+ */
12207
+ request_id: string | null;
12208
+ };
12209
+ export type AutomationDependent = {
12210
+ kind: AutomationDefinitionKind;
12211
+ /**
12212
+ * Namespace of the referencing script or workflow.
12213
+ */
12214
+ namespace: string;
12215
+ /**
12216
+ * Name of the referencing script or workflow.
12217
+ */
12218
+ name: string;
12219
+ /**
12220
+ * Reference location: draft or latest version number; draft means the draft, otherwise this is the definition’s latest published version.
12221
+ */
12222
+ at: string;
12223
+ };
12224
+ export type AutomationEmptyInput = {
12225
+ [key: string]: never;
12226
+ };
12227
+ /**
12228
+ * Archive operations return the full action and dependents_count, the sum of script and workflow dependents.
12229
+ */
12230
+ export type AutomationActionArchiveResult = {
12085
12231
  /**
12086
12232
  * Action id, prefixed act_; calls normally use namespace and name instead of the id.
12087
12233
  */
@@ -14450,6 +14596,95 @@ export type CanvasLibraryVersionPage = {
14450
14596
  */
14451
14597
  next_cursor: string | null;
14452
14598
  };
14599
+ /**
14600
+ * Everything needed to fill one step of a canvas process; a read of the document that stores nothing.
14601
+ */
14602
+ export type CanvasProcessStepBrief = {
14603
+ version: CanvasVersion;
14604
+ /**
14605
+ * The process this step belongs to.
14606
+ */
14607
+ process: {
14608
+ /**
14609
+ * Node id of the process frame or instance.
14610
+ */
14611
+ id: string;
14612
+ /**
14613
+ * Process name from its metadata.
14614
+ */
14615
+ name: string;
14616
+ };
14617
+ /**
14618
+ * The step and what is asked of it.
14619
+ */
14620
+ step: {
14621
+ /**
14622
+ * Step key within the process.
14623
+ */
14624
+ step: string;
14625
+ /**
14626
+ * Node id of the step frame; inside an instance it is a path such as inst/frame.
14627
+ */
14628
+ node_id: string;
14629
+ /**
14630
+ * Step title shown on the block.
14631
+ */
14632
+ title: string;
14633
+ /**
14634
+ * Derived from the document; filled means at least one output points at the step (an each step with expected needs that many), ready means unfilled with every needed step filled, waiting means otherwise; the state never blocks a write.
14635
+ */
14636
+ state: 'waiting' | 'ready' | 'filled';
14637
+ /**
14638
+ * For an each step, how many outputs the filler decided on; omitted when none was set.
14639
+ */
14640
+ expected?: number;
14641
+ /**
14642
+ * The requirement as stored in metadata.requirement; output says what to produce, rules are instructions where a skill:name entry names a skill to follow, and needs, back and each carry when and by text for you to read, never evaluated.
14643
+ */
14644
+ requirement: {
14645
+ [key: string]: unknown;
14646
+ };
14647
+ };
14648
+ /**
14649
+ * This production's linked materials for the step, resolved; dangling links are dropped.
14650
+ */
14651
+ materials: Array<CanvasProcessElement>;
14652
+ /**
14653
+ * The process's shared context elements, such as the series bible, resolved.
14654
+ */
14655
+ shared: Array<CanvasProcessElement>;
14656
+ /**
14657
+ * One entry per step in needs, in needs order, with that step's current outputs.
14658
+ */
14659
+ upstream: Array<{
14660
+ /**
14661
+ * Key of the upstream step.
14662
+ */
14663
+ step: string;
14664
+ /**
14665
+ * Title of the upstream step.
14666
+ */
14667
+ title: string;
14668
+ /**
14669
+ * Derived state of the upstream step; filled means it has its outputs, ready means unfilled with its own needs filled, waiting means otherwise.
14670
+ */
14671
+ state: 'waiting' | 'ready' | 'filled';
14672
+ /**
14673
+ * Outputs of the upstream step, resolved.
14674
+ */
14675
+ outputs: Array<CanvasProcessElement>;
14676
+ }>;
14677
+ /**
14678
+ * Elements that already answer this step through metadata.output; check them before adding more.
14679
+ */
14680
+ outputs: Array<CanvasProcessElement>;
14681
+ /**
14682
+ * Problems found in the whole process, such as dangling-material, dangling-shared, orphan-output, duplicate-step, unknown-step, needs-cycle and invalid-requirement; each has a kind plus the step or node it names.
14683
+ */
14684
+ issues: Array<{
14685
+ [key: string]: unknown;
14686
+ }>;
14687
+ };
14453
14688
  export type CanvasLibraryPage = {
14454
14689
  /**
14455
14690
  * Libraries on this page, most recently published first.
@@ -14701,7 +14936,7 @@ export type ContentPlaybackSession = {
14701
14936
  */
14702
14937
  version?: number;
14703
14938
  /**
14704
- * 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.
14705
14940
  */
14706
14941
  manifest_url?: string;
14707
14942
  /**
@@ -17075,7 +17310,7 @@ export type CutExportInput = {
17075
17310
  */
17076
17311
  output?: CutExportOutput;
17077
17312
  /**
17078
- * 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.
17079
17314
  */
17080
17315
  binding?: string;
17081
17316
  revision?: CutRevision;
@@ -20304,6 +20539,31 @@ export type DevopsPullRequest = {
20304
20539
  */
20305
20540
  runs?: Array<string>;
20306
20541
  };
20542
+ /**
20543
+ * The exception to record: which head, which checks, and whose written authorization.
20544
+ */
20545
+ export type DevopsPullRequestOverrideGateRequest = {
20546
+ /**
20547
+ * The pull request's current head commit, from the pull request's head.sha; any other commit is refused with HEAD_MOVED.
20548
+ */
20549
+ headSha: string;
20550
+ /**
20551
+ * The gate checks the exception covers, at least one; a name that is not a gate check is refused with INVALID_ARGUMENT.
20552
+ */
20553
+ checks: Array<string>;
20554
+ /**
20555
+ * The ticket the authorization is written on, as #<number> or its URL.
20556
+ */
20557
+ ticket: string;
20558
+ /**
20559
+ * Why the check is let through at this head, in one sentence a later reader can audit.
20560
+ */
20561
+ reason: string;
20562
+ /**
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).
20564
+ */
20565
+ authorizedBy: string;
20566
+ };
20307
20567
  /**
20308
20568
  * How to land the pull request. Every field is optional: an empty object merges now with GitHub's default shape.
20309
20569
  */
@@ -20875,6 +21135,401 @@ export type DevopsUnitTransitionPage = {
20875
21135
  */
20876
21136
  nextPageToken: string;
20877
21137
  };
21138
+ /**
21139
+ * The end user to sign in and what the sign-in may reach.
21140
+ */
21141
+ export type EndGrantCodeInput = {
21142
+ /**
21143
+ * Your own identifier for the end user, a non-empty string; do not use an email address or phone number, and a value starting with anon_ is reserved for visitors.
21144
+ */
21145
+ end_user_id: string;
21146
+ /**
21147
+ * Product metadata to record with the end user, as string key to string value; it is merged over what is already stored.
21148
+ */
21149
+ metadata?: {
21150
+ [key: string]: string;
21151
+ };
21152
+ /**
21153
+ * Resource scopes the sign-in may reach, at least one, each a scope string or an object with scope and params.
21154
+ */
21155
+ resources: Array<EndScopeInput>;
21156
+ /**
21157
+ * Page origin this sign-in is bound to, for example https://school.example.com; a later exchange with another Origin is refused.
21158
+ */
21159
+ origin?: string;
21160
+ /**
21161
+ * Lifetime of the code in seconds; omit for the fifteen-minute default, and send a smaller number to shorten it.
21162
+ */
21163
+ expires_in?: number;
21164
+ /**
21165
+ * Lifetime of the sign-in the code starts, in seconds; omit for the seven-day default.
21166
+ */
21167
+ max_session_seconds?: number;
21168
+ /**
21169
+ * An existing anonymous end user (anon_…) whose record joins this person when the code is exchanged.
21170
+ */
21171
+ merge_end_user_id?: string;
21172
+ /**
21173
+ * The visitor's own Praxis end user access token, when the browser holds one, so this sign-in keeps that anonymous visitor instead of creating a new person; it is the access_token from a previous exchange, sent from your backend and never from the browser. It must be a live anonymous (anon_…) end user of this organization. It may not be combined with merge_end_user_id, and an expired, forged or foreign token answers 400 INVALID_PARAMS.
21174
+ */
21175
+ anonymous_access_token?: string;
21176
+ };
21177
+ /**
21178
+ * A one-time code that the browser exchanges for an access token.
21179
+ */
21180
+ export type EndGrantCode = {
21181
+ /**
21182
+ * Object type, always end_user_grant_code.
21183
+ */
21184
+ type?: 'end_user_grant_code';
21185
+ /**
21186
+ * The single-use code (cgc_…) to hand to the Kit in the browser; it is never shown again.
21187
+ */
21188
+ code?: string;
21189
+ /**
21190
+ * The end user this code signs in.
21191
+ */
21192
+ end_user_id?: string;
21193
+ /**
21194
+ * The resource scopes the sign-in will carry, exactly as they were requested.
21195
+ */
21196
+ resources?: Array<EndResourceGrant>;
21197
+ /**
21198
+ * RFC 3339 time after which the code can no longer be exchanged (fifteen minutes after issue by default).
21199
+ */
21200
+ expires_at?: string;
21201
+ };
21202
+ /**
21203
+ * Exactly one credential to exchange. A publishable_key may be accompanied by the continuation_token of an earlier anonymous answer.
21204
+ */
21205
+ export type EndAccessTokenInput = {
21206
+ /**
21207
+ * A grant code (cgc_…) from grant_codes, for an end user you signed in from your backend; it works once.
21208
+ */
21209
+ grant_code?: string;
21210
+ /**
21211
+ * A publishable key (pk_…) for an anonymous visitor; the exchange creates a new anonymous end user bound to the request Origin, unless continuation_token continues an earlier visitor of this key's organization.
21212
+ */
21213
+ publishable_key?: string;
21214
+ /**
21215
+ * The continuation_token of an earlier anonymous answer, kept by the page's own storage. A live one continues that anonymous end user (a new sign-in of seven days, with a rotated token); an unknown, expired, revoked, merged, blocked or foreign-organization one is treated as absent, so the answer never reveals whether it exists. It also continues the visitor when the page presents another publishable key of the same organization, but the resources it may reach are only those of the key presented now. Only accepted with publishable_key.
21216
+ */
21217
+ continuation_token?: string;
21218
+ };
21219
+ /**
21220
+ * The short Praxis end user access token the Kit carries, with the sign-in behind it.
21221
+ */
21222
+ export type EndAccessToken = {
21223
+ /**
21224
+ * Object type, always end_user_access_token.
21225
+ */
21226
+ type?: 'end_user_access_token';
21227
+ /**
21228
+ * The bearer token to send as `Authorization: Bearer <access_token>`; it lasts at most two hours and never outlives the sign-in.
21229
+ */
21230
+ access_token?: string;
21231
+ /**
21232
+ * RFC 3339 time this token stops working; renew before it with access_tokens/renew.
21233
+ */
21234
+ expires_at?: string;
21235
+ /**
21236
+ * RFC 3339 time the sign-in itself ends; a renewal never extends it.
21237
+ */
21238
+ session_expires_at?: string;
21239
+ /**
21240
+ * Id of the sign-in (csi_…) this token was issued from, which the renewal and the sign-out act on.
21241
+ */
21242
+ sign_in_id?: string;
21243
+ /**
21244
+ * Present on an anonymous answer only. An opaque credential the embed page stores in its own first-party storage and sends back with the next publishable-key exchange, so a returning visitor keeps the same anonymous end user after the access token has expired. It also carries the visitor across a change of publishable key within the same organization, while the accessible resources follow the key presented. It lasts as long as the sign-in (seven days) and is replaced on every anonymous exchange; sign-out ends it. Never put it in a URL or share it across origins.
21245
+ */
21246
+ continuation_token?: string;
21247
+ /**
21248
+ * The end user the token belongs to.
21249
+ */
21250
+ end_user?: {
21251
+ /**
21252
+ * End-user id (the merchant's own value, or anon_… for a visitor).
21253
+ */
21254
+ id: string;
21255
+ /**
21256
+ * Kind of end user: identified for one that signed in through a grant code, anonymous for a visitor admitted with a publishable key.
21257
+ */
21258
+ type: 'identified' | 'anonymous';
21259
+ };
21260
+ };
21261
+ /**
21262
+ * One page of end users.
21263
+ */
21264
+ export type EndEndUserPage = {
21265
+ /**
21266
+ * The end users of this page, most recently seen first.
21267
+ */
21268
+ data?: Array<EndEndUser>;
21269
+ /**
21270
+ * Cursor to send as page_token for the next page, or null when this is the last page.
21271
+ */
21272
+ next_page?: string | null;
21273
+ };
21274
+ /**
21275
+ * One end user in the organization's directory.
21276
+ */
21277
+ export type EndEndUser = {
21278
+ /**
21279
+ * Object type, always end user.
21280
+ */
21281
+ type?: 'end user';
21282
+ /**
21283
+ * End-user id — your own end_user_id for an identified person, or anon_… for a visitor admitted with a publishable key.
21284
+ */
21285
+ id?: string;
21286
+ /**
21287
+ * Kind of end user: identified for one that signed in through a grant code, anonymous for a visitor admitted with a publishable key.
21288
+ */
21289
+ end_user_type?: 'identified' | 'anonymous';
21290
+ /**
21291
+ * For an anonymous end user that later signed in, the identified end user it joined; null otherwise.
21292
+ */
21293
+ merged_into?: string | null;
21294
+ /**
21295
+ * The block fact (time, reason and actor) while the end user is blocked; null when it is not.
21296
+ */
21297
+ blocked?: EndEndUserBlock | null;
21298
+ /**
21299
+ * Product metadata recorded with this end user, as string key to string value; empty when none was sent.
21300
+ */
21301
+ metadata?: {
21302
+ [key: string]: string;
21303
+ };
21304
+ /**
21305
+ * RFC 3339 time the end user was first seen (first sign-in, admission or token issue).
21306
+ */
21307
+ first_seen_at?: string;
21308
+ /**
21309
+ * RFC 3339 time the end user was last seen; the directory list is ordered by it, newest first.
21310
+ */
21311
+ last_seen_at?: string;
21312
+ /**
21313
+ * Products this end user has used, with counts and last use; present only when expand asked for products.
21314
+ */
21315
+ products?: Array<EndEndUserProductUse>;
21316
+ /**
21317
+ * Sign-ins of this end user, newest first; present only when expand asked for sign_ins.
21318
+ */
21319
+ sign_ins?: Array<EndEndUserSignIn>;
21320
+ /**
21321
+ * Usage recorded for this end user; present only when expand asked for usage.
21322
+ */
21323
+ usage?: EndEndUserUsage;
21324
+ };
21325
+ /**
21326
+ * The result of deleting an end user.
21327
+ */
21328
+ export type EndEndUserDeleted = {
21329
+ /**
21330
+ * Object type, always end_user.deleted.
21331
+ */
21332
+ type?: 'end_user.deleted';
21333
+ /**
21334
+ * The end-user id that was deleted.
21335
+ */
21336
+ id?: string;
21337
+ /**
21338
+ * Always true; the call would have failed otherwise.
21339
+ */
21340
+ deleted?: boolean;
21341
+ };
21342
+ /**
21343
+ * What one end user has cost, read from billing by the endId dimension.
21344
+ */
21345
+ export type EndEndUserUsage = {
21346
+ /**
21347
+ * Object type, always end_user.usage.
21348
+ */
21349
+ type?: 'end_user.usage';
21350
+ /**
21351
+ * The end user this usage belongs to.
21352
+ */
21353
+ end_user_id?: string;
21354
+ /**
21355
+ * Total recorded cost over the window (or over everything when no window was sent).
21356
+ */
21357
+ total?: EndMoney;
21358
+ /**
21359
+ * The recorded cost split by the product that incurred it.
21360
+ */
21361
+ by_product?: Array<{
21362
+ /**
21363
+ * The product the cost belongs to.
21364
+ */
21365
+ product?: {
21366
+ /**
21367
+ * Product type: agent, content or application.
21368
+ */
21369
+ type: string;
21370
+ /**
21371
+ * Product id, for example agent_123 or cnt_0123456789abcdef.
21372
+ */
21373
+ id: string;
21374
+ };
21375
+ /**
21376
+ * Cost recorded for that product.
21377
+ */
21378
+ cost?: EndMoney;
21379
+ }>;
21380
+ /**
21381
+ * The recorded cost split by day.
21382
+ */
21383
+ by_day?: Array<{
21384
+ /**
21385
+ * Day the cost was recorded, as an ISO date such as 2026-11-17.
21386
+ */
21387
+ date?: string;
21388
+ /**
21389
+ * Cost recorded on that day.
21390
+ */
21391
+ cost?: EndMoney;
21392
+ }>;
21393
+ };
21394
+ /**
21395
+ * The optional detail of a block.
21396
+ */
21397
+ export type EndBlockInput = {
21398
+ /**
21399
+ * Why the end user is blocked, recorded with the block fact; omit for none.
21400
+ */
21401
+ reason?: string;
21402
+ };
21403
+ /**
21404
+ * The result of revoking every token of an end user.
21405
+ */
21406
+ export type EndTokensRevoked = {
21407
+ /**
21408
+ * Object type, always end_user_tokens_revoked.
21409
+ */
21410
+ type?: 'end_user_tokens_revoked';
21411
+ /**
21412
+ * How many sign-ins were revoked.
21413
+ */
21414
+ revoked?: number;
21415
+ };
21416
+ /**
21417
+ * One page of publishable keys.
21418
+ */
21419
+ export type EndPublishableKeyPage = {
21420
+ /**
21421
+ * The publishable keys of this page, newest first.
21422
+ */
21423
+ data?: Array<EndPublishableKey>;
21424
+ /**
21425
+ * Cursor to send as page_token for the next page, or null when this is the last page.
21426
+ */
21427
+ next_page?: string | null;
21428
+ };
21429
+ /**
21430
+ * A publishable key to mint.
21431
+ */
21432
+ export type EndCreatePublishableKeyInput = {
21433
+ /**
21434
+ * Label for the key, shown in the console and the key list, for example Storefront.
21435
+ */
21436
+ name: string;
21437
+ /**
21438
+ * Resource scopes an anonymous visitor may reach, at least one, each a scope string or an object with scope and params; grant only what the anonymous experience needs.
21439
+ */
21440
+ resources: Array<EndScopeInput>;
21441
+ /**
21442
+ * Most exchanges of this key per UTC minute, from 1 to 100000, counting every visitor together; omit or send null for no per-key limit.
21443
+ */
21444
+ anon_rate_per_min?: number | null;
21445
+ /**
21446
+ * Most new anonymous visitors this key admits per UTC day, from 0 to 10000000; returning visitors are not counted. Omit or send null for no limit.
21447
+ */
21448
+ daily_session_cap?: number | null;
21449
+ /**
21450
+ * The most the usage events of this key may cost in one UTC day, for example five dollars as amount 5.00 with currency USD; 0.00 closes the key. Omit or send null for no spend cap.
21451
+ */
21452
+ daily_spend_cap?: EndBudgetAmount | null;
21453
+ };
21454
+ /**
21455
+ * A key that admits anonymous visitors to the products it names.
21456
+ */
21457
+ export type EndPublishableKey = {
21458
+ /**
21459
+ * Object type, always end_user_publishable_key.
21460
+ */
21461
+ type?: 'end_user_publishable_key';
21462
+ /**
21463
+ * Key id (pk_…) used by the key list and the delete call.
21464
+ */
21465
+ id?: string;
21466
+ /**
21467
+ * Label you gave the key, for example Storefront.
21468
+ */
21469
+ name?: string;
21470
+ /**
21471
+ * The resource scopes the key grants an anonymous visitor.
21472
+ */
21473
+ resources?: Array<EndResourceGrant>;
21474
+ /**
21475
+ * RFC 3339 time the key was created; the key list is ordered by it, newest first.
21476
+ */
21477
+ created_at?: string;
21478
+ /**
21479
+ * Most exchanges this key allows per UTC minute, counting every exchange (a returning visitor's too), or null for no per-key limit; the per-IP limit of the exchange applies either way.
21480
+ */
21481
+ anon_rate_per_min?: number | null;
21482
+ /**
21483
+ * Most new anonymous visitors this key admits per UTC day, or null for no limit; a returning visitor that continues with its continuation_token is not counted, and 0 admits no new visitor at all.
21484
+ */
21485
+ daily_session_cap?: number | null;
21486
+ /**
21487
+ * The most the usage events of this key may cost in one UTC day, or null for no spend cap; once reached, every visitor is refused until 00:00 UTC and a running product answers its admission check as refused.
21488
+ */
21489
+ daily_spend_cap?: EndBudgetAmount | null;
21490
+ /**
21491
+ * The plaintext key value, present only in the create response; every later read returns the key without it, because only its hash is stored.
21492
+ */
21493
+ key?: string;
21494
+ };
21495
+ /**
21496
+ * The fields of a publishable key to change; at least one, and a field left out keeps its value.
21497
+ */
21498
+ export type EndUpdatePublishableKeyInput = {
21499
+ /**
21500
+ * New label for the key, 1 to 64 characters.
21501
+ */
21502
+ name?: string;
21503
+ /**
21504
+ * Most exchanges of this key per UTC minute, from 1 to 100000; null removes the per-key limit.
21505
+ */
21506
+ anon_rate_per_min?: number | null;
21507
+ /**
21508
+ * Most new anonymous visitors this key admits per UTC day, from 0 to 10000000; null removes the limit.
21509
+ */
21510
+ daily_session_cap?: number | null;
21511
+ /**
21512
+ * The most the usage events of this key may cost in one UTC day, for example five dollars as amount 5.00 with currency USD; null removes the cap.
21513
+ */
21514
+ daily_spend_cap?: EndBudgetAmount | null;
21515
+ };
21516
+ /**
21517
+ * The result of deleting a publishable key.
21518
+ */
21519
+ export type EndPublishableKeyDeleted = {
21520
+ /**
21521
+ * Object type, always end_user_publishable_key_deleted.
21522
+ */
21523
+ type?: 'end_user_publishable_key_deleted';
21524
+ /**
21525
+ * The key id that was deleted.
21526
+ */
21527
+ id?: string;
21528
+ /**
21529
+ * Always true; the call would have failed otherwise.
21530
+ */
21531
+ deleted?: boolean;
21532
+ };
20878
21533
  /**
20879
21534
  * The tenant event types.
20880
21535
  */
@@ -24345,7 +25000,7 @@ export type SandboxNewSandboxV2 = {
24345
25000
  autoPauseMemory?: boolean;
24346
25001
  autoResume?: SandboxSandboxAutoResumeConfig;
24347
25002
  /**
24348
- * 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).
24349
25004
  */
24350
25005
  allow_internet_access?: boolean;
24351
25006
  network?: SandboxSandboxNetworkConfig;
@@ -24354,11 +25009,11 @@ export type SandboxNewSandboxV2 = {
24354
25009
  mcp?: SandboxMcp;
24355
25010
  iam?: SandboxSandboxIam;
24356
25011
  /**
24357
- * 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.
24358
25013
  */
24359
25014
  volumeMounts?: Array<SandboxSandboxVolumeMount>;
24360
25015
  /**
24361
- * 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.
24362
25017
  */
24363
25018
  ephemeral?: boolean;
24364
25019
  /**
@@ -24493,7 +25148,7 @@ export type SandboxListedSandbox = {
24493
25148
  state: SandboxSandboxState;
24494
25149
  envdVersion: SandboxEnvdVersion;
24495
25150
  /**
24496
- * Volumes mounted into the sandbox.
25151
+ * Volumes mounted into the sandbox. Not available yet: volumes are not implemented, so this is always empty.
24497
25152
  */
24498
25153
  volumeMounts?: Array<SandboxSandboxVolumeMount>;
24499
25154
  /**
@@ -24630,44 +25285,6 @@ export type SandboxTemplateRequestResponseV3 = {
24630
25285
  */
24631
25286
  aliases: Array<string>;
24632
25287
  };
24633
- export type SandboxNewVolume = {
24634
- /**
24635
- * Volume name, unique within your team. Use one or more ASCII letters, digits, underscores or hyphens.
24636
- */
24637
- name: string;
24638
- };
24639
- export type SandboxVolumeAndToken = {
24640
- /**
24641
- * ID of the volume
24642
- */
24643
- volumeID: string;
24644
- /**
24645
- * Name of the volume
24646
- */
24647
- name: string;
24648
- /**
24649
- * Auth token to use for interacting with volume content
24650
- */
24651
- token: string;
24652
- /**
24653
- * Domain to use as the destination for volume content requests,
24654
- * replacing the default `api.<E2B_DOMAIN>`. Only returned when the
24655
- * team is connected to a custom (BYOC) cluster; absent otherwise, in
24656
- * which case the default domain is used.
24657
- *
24658
- */
24659
- domain?: string;
24660
- };
24661
- export type SandboxVolume = {
24662
- /**
24663
- * ID of the volume
24664
- */
24665
- volumeID: string;
24666
- /**
24667
- * Name of the volume
24668
- */
24669
- name: string;
24670
- };
24671
25288
  export type SandboxSandboxForkRequest = {
24672
25289
  /**
24673
25290
  * Lifetime of each new forked sandbox in seconds. Defaults to 15 seconds; does not change the source sandbox's expiry.
@@ -24701,31 +25318,6 @@ export type SandboxSnapshotInfo = {
24701
25318
  */
24702
25319
  names: Array<string>;
24703
25320
  };
24704
- /**
24705
- * Network configuration update for a running sandbox. Replaces the current egress rules with the provided configuration. Omitting a field clears it.
24706
- */
24707
- export type SandboxSandboxNetworkUpdateConfig = {
24708
- /**
24709
- * 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.
24710
- */
24711
- allowOut?: Array<string>;
24712
- /**
24713
- * List of denied CIDR blocks or IP addresses for egress traffic. Domain names are not supported for deny rules.
24714
- */
24715
- denyOut?: Array<string>;
24716
- egressProxy?: SandboxSandboxEgressProxyConfig;
24717
- /**
24718
- * 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.
24719
- *
24720
- */
24721
- rules?: {
24722
- [key: string]: Array<SandboxSandboxNetworkRule>;
24723
- };
24724
- /**
24725
- * 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.
24726
- */
24727
- allow_internet_access?: boolean;
24728
- };
24729
25321
  /**
24730
25322
  * Direction of the logs that should be returned
24731
25323
  */
@@ -35337,11 +35929,11 @@ export type SandboxSandboxNetworkConfig = {
35337
35929
  */
35338
35930
  allowPublicTraffic?: boolean;
35339
35931
  /**
35340
- * 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.
35341
35933
  */
35342
35934
  allowOut?: Array<string>;
35343
35935
  /**
35344
- * 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.
35345
35937
  */
35346
35938
  denyOut?: Array<string>;
35347
35939
  egressProxy?: SandboxSandboxEgressProxyConfig;
@@ -37652,6 +38244,60 @@ export type CanvasLibraryVersion = {
37652
38244
  */
37653
38245
  removed: Array<CanvasComponentRef>;
37654
38246
  };
38247
+ /**
38248
+ * One canvas element resolved for a brief; which fields besides kind and node_id are present depends on kind.
38249
+ */
38250
+ export type CanvasProcessElement = {
38251
+ /**
38252
+ * What the element is; text carries content, image carries file_id, embed carries ref, other carries type, and html carries only its name because its source is large.
38253
+ */
38254
+ kind: 'text' | 'image' | 'html' | 'embed' | 'other';
38255
+ /**
38256
+ * Node id of the element on this canvas; use it with nodes.list to read the full node.
38257
+ */
38258
+ node_id: string;
38259
+ /**
38260
+ * The node's name, when it has one.
38261
+ */
38262
+ name?: string;
38263
+ /**
38264
+ * Text of a text node.
38265
+ */
38266
+ content?: string;
38267
+ /**
38268
+ * Platform file id of an image fill; read the picture through the file domain.
38269
+ */
38270
+ file_id?: string;
38271
+ /**
38272
+ * Reference of an embed node's platform object; read the object from its own domain, as the canvas stores no copy of it.
38273
+ */
38274
+ ref?: {
38275
+ /**
38276
+ * Object type such as media-asset or media-work.
38277
+ */
38278
+ object: string;
38279
+ /**
38280
+ * Object id inside its domain.
38281
+ */
38282
+ id: string;
38283
+ /**
38284
+ * Optional position inside the object, such as a timestamp or page.
38285
+ */
38286
+ anchor?: string;
38287
+ };
38288
+ /**
38289
+ * How an embed node is drawn on the canvas, one of card, embed or inline.
38290
+ */
38291
+ appearance?: string;
38292
+ /**
38293
+ * Node type of an element that is none of the other kinds.
38294
+ */
38295
+ type?: string;
38296
+ /**
38297
+ * For an output of an each step, which item it answers, such as a section name.
38298
+ */
38299
+ item?: string;
38300
+ };
37655
38301
  export type CanvasLibrarySummary = {
37656
38302
  /**
37657
38303
  * The library's canvas id; use it as canvas_id in library_versions and publish.
@@ -39518,7 +40164,7 @@ export type DevopsReleaseSchedule = {
39518
40164
  */
39519
40165
  export type DevopsGatePolicy = {
39520
40166
  /**
39521
- * How the merge gate's tests check reads on this project. evidence requires per-case test evidence: the check fails and names the command the author runs on the pushed head while a required case has no passing evidence. off does not gate tests: the check reports skipped, saying so, and no evidence is read. Absent means off, so a project that never wrote it keeps merging without test evidence until it is set to evidence.
40167
+ * How the merge gate's tests check reads on this project. evidence requires per-case test evidence: the check fails and names the command the author runs on the pushed head while a required case has no passing evidence. off does not gate tests: the check reports not_run with mode off, saying so, is not counted, and no evidence is read. Absent means off, so a project that never wrote it keeps merging without test evidence until it is set to evidence.
39522
40168
  */
39523
40169
  tests?: 'evidence' | 'off';
39524
40170
  /**
@@ -39534,7 +40180,7 @@ export type DevopsGatePolicy = {
39534
40180
  */
39535
40181
  mode: 'enforce' | 'evaluate' | 'off';
39536
40182
  /**
39537
- * What an unavailable check does: fail-closed blocks the gate, fail-open shows it without blocking.
40183
+ * What an unavailable check does: fail-closed blocks the gate, fail-open shows it without blocking. Every check defaults to fail-closed.
39538
40184
  */
39539
40185
  whenUnavailable: 'fail-closed' | 'fail-open';
39540
40186
  /**
@@ -39544,10 +40190,6 @@ export type DevopsGatePolicy = {
39544
40190
  [key: string]: unknown;
39545
40191
  };
39546
40192
  }>;
39547
- /**
39548
- * Subjects allowed to bypass the gate, as agent:<id> or human:<id>.
39549
- */
39550
- bypass?: Array<string>;
39551
40193
  };
39552
40194
  /**
39553
40195
  * One commit inside a release, so a reader can see what is about to ship without leaving this answer.
@@ -40360,7 +41002,7 @@ export type DevopsChangeCell = {
40360
41002
  */
40361
41003
  export type DevopsMergeGate = {
40362
41004
  /**
40363
- * The gate's verdict: failed as soon as one check failed, pending while one is still undecided, passed only when every check passed or was skipped.
41005
+ * The gate's verdict, fail-closed: failed as soon as one counted check failed, could not be evaluated (unavailable) or applies and produced no answer (not_run); pending while a counted check is still waiting; passed only when every counted check passed or does not apply (not_applicable). A check with no answer never passes; the one exception is a recorded override (overrideGate).
40364
41006
  */
40365
41007
  state: 'pending' | 'passed' | 'failed';
40366
41008
  /**
@@ -40376,9 +41018,38 @@ export type DevopsMergeGate = {
40376
41018
  */
40377
41019
  name: 'exposure-declared' | 'flag-registered' | 'flag-paired-scenarios' | 'removal-ticket' | 'tests' | 'lockfile' | 'exposure-judged' | 'owner-approved' | 'repo-lint';
40378
41020
  /**
40379
- * The check's verdict: skipped means the check does not apply to this exposure kind, and pending means its evidence has not arrived yet — which is never treated as passing.
41021
+ * The check's verdict; not_applicable means the check does not apply to this change and passes, while not_run means it applies and produced no answer, which never passes when counted.
41022
+ */
41023
+ result: 'passed' | 'failed' | 'not_applicable' | 'not_run' | 'pending' | 'unavailable';
41024
+ /**
41025
+ * How the project's gate policy counts this check; enforce when absent. off on a shown check means it is reported and not counted.
41026
+ */
41027
+ mode?: 'enforce' | 'evaluate' | 'off';
41028
+ /**
41029
+ * Whether this check moves the gate's state; false for evaluate and off checks and for a check a recorded override let through. Absent means counted.
41030
+ */
41031
+ counted?: boolean;
41032
+ /**
41033
+ * Why a check has no answer; infrastructure means the platform failed (the build machine did not come up, its records could not be read, no result within the bound), not the change, so the next step is rerunGate, not an edit.
41034
+ */
41035
+ cause?: 'infrastructure';
41036
+ /**
41037
+ * Present when a recorded override let this check through at this head: the check keeps its real result and stops counting.
40380
41038
  */
40381
- result: 'passed' | 'failed' | 'skipped' | 'pending';
41039
+ overriddenBy?: {
41040
+ /**
41041
+ * The override id (gov_…) overrideGate recorded.
41042
+ */
41043
+ override: string;
41044
+ /**
41045
+ * The holder of a listed position who authorized it, as agent:<id> or human:<id>.
41046
+ */
41047
+ authorizedBy: string;
41048
+ /**
41049
+ * The ticket the authorization is written on.
41050
+ */
41051
+ ticket: string;
41052
+ };
40382
41053
  /**
40383
41054
  * What to do about a failed or pending check, or the gatekeeper's reason for a judgement; absent when the check simply passed.
40384
41055
  */
@@ -40752,6 +41423,156 @@ export type DevopsCleanupEntry = {
40752
41423
  */
40753
41424
  error: string | null;
40754
41425
  };
41426
+ /**
41427
+ * One resource the sign-in may reach, as a scope string or an object carrying that scope and product params.
41428
+ */
41429
+ export type EndScopeInput = string | {
41430
+ /**
41431
+ * Scope in the form <type>:<id>:<action>, where <id> may be * for every object of that type.
41432
+ */
41433
+ scope: string;
41434
+ /**
41435
+ * Product-defined data for this grant, for example an agent version or a budget.
41436
+ */
41437
+ params?: {
41438
+ [key: string]: unknown;
41439
+ };
41440
+ };
41441
+ /**
41442
+ * One resource an end user may reach, as the sign-in carries it.
41443
+ */
41444
+ export type EndResourceGrant = {
41445
+ /**
41446
+ * Scope in the form <type>:<id>:<action> — agent:<id>:chat, content:<id>:play or application:<id>:visit — where <id> may be * for every object of that type.
41447
+ */
41448
+ scope?: string;
41449
+ /**
41450
+ * Product-defined data for this grant, for example an agent version or a budget; this service stores it and never interprets it.
41451
+ */
41452
+ params?: {
41453
+ [key: string]: unknown;
41454
+ };
41455
+ };
41456
+ /**
41457
+ * The refusal this face returns for a non-2xx status; the same envelope as the other own faces under /end user/v1.
41458
+ */
41459
+ export type EndErrorEnvelope = {
41460
+ /**
41461
+ * The refusal itself.
41462
+ */
41463
+ error?: {
41464
+ /**
41465
+ * Domain code of the refusal, for example END_USER_NOT_FOUND, GRANT_CODE_INVALID or INVALID_PARAMS.
41466
+ */
41467
+ code: string;
41468
+ /**
41469
+ * Human-readable reason, produced by the service or by this door, naming the condition that failed.
41470
+ */
41471
+ message: string;
41472
+ /**
41473
+ * Field at fault for an INVALID_PARAMS refusal, for example confirm or resources; null when the refusal is not about one field.
41474
+ */
41475
+ param?: string | null;
41476
+ };
41477
+ };
41478
+ /**
41479
+ * The block fact of an end user.
41480
+ */
41481
+ export type EndEndUserBlock = {
41482
+ /**
41483
+ * RFC 3339 time the end user was blocked; a repeated block keeps the first time.
41484
+ */
41485
+ time?: string;
41486
+ /**
41487
+ * Reason recorded with the block, or null when none was given.
41488
+ */
41489
+ reason?: string | null;
41490
+ /**
41491
+ * Actor that blocked the end user, either human:<user id> or agent:<api key id>.
41492
+ */
41493
+ by?: string;
41494
+ };
41495
+ /**
41496
+ * What one product has done with this end user.
41497
+ */
41498
+ export type EndEndUserProductUse = {
41499
+ /**
41500
+ * The product the end user used.
41501
+ */
41502
+ product?: {
41503
+ /**
41504
+ * Product type: agent, content or application.
41505
+ */
41506
+ type: string;
41507
+ /**
41508
+ * Product id, for example agent_123 or cnt_0123456789abcdef.
41509
+ */
41510
+ id: string;
41511
+ };
41512
+ /**
41513
+ * How many times this end user was admitted to that product.
41514
+ */
41515
+ count?: number;
41516
+ /**
41517
+ * RFC 3339 time this end user was last admitted to that product.
41518
+ */
41519
+ last_used_at?: string;
41520
+ };
41521
+ /**
41522
+ * One sign-in of an end user.
41523
+ */
41524
+ export type EndEndUserSignIn = {
41525
+ /**
41526
+ * Sign-in id (csi_…) that its tokens renew and that the sign-out act ends.
41527
+ */
41528
+ id?: string;
41529
+ /**
41530
+ * The resource scopes this sign-in may reach, recorded at issue time.
41531
+ */
41532
+ resources?: Array<EndResourceGrant>;
41533
+ /**
41534
+ * Page origin this sign-in is bound to, or null when it was not bound.
41535
+ */
41536
+ origin?: string | null;
41537
+ /**
41538
+ * RFC 3339 time this sign-in started.
41539
+ */
41540
+ created_at?: string;
41541
+ /**
41542
+ * RFC 3339 time this sign-in ends; a renewal of its tokens never extends it.
41543
+ */
41544
+ expires_at?: string;
41545
+ /**
41546
+ * RFC 3339 time this sign-in was revoked, or null while it is live.
41547
+ */
41548
+ revoked_at?: string | null;
41549
+ };
41550
+ /**
41551
+ * One money figure, as the platform recorded it.
41552
+ */
41553
+ export type EndMoney = {
41554
+ /**
41555
+ * Amount as a decimal string in the currency's smallest written form, for example 12.340000; never a float and never arithmetic on the client.
41556
+ */
41557
+ amount?: string;
41558
+ /**
41559
+ * Currency of the amount; platform usage is charged in USD.
41560
+ */
41561
+ currency?: string;
41562
+ };
41563
+ /**
41564
+ * A limit you set, as a money amount in the budget format.
41565
+ */
41566
+ export type EndBudgetAmount = {
41567
+ /**
41568
+ * Amount in major units of the currency as a decimal string with at most 2 decimals, for example 5.00 for five dollars; read back with exactly 2 decimals. Never a float, never cents.
41569
+ */
41570
+ amount: string;
41571
+ /**
41572
+ * Currency the amount is in, USD or CNY. The cap is compared with the usage the platform charged in this same currency; spend in another currency is not compared.
41573
+ */
41574
+ currency: 'USD' | 'CNY';
41575
+ };
40755
41576
  /**
40756
41577
  * One tenant event type at one schema version.
40757
41578
  */
@@ -42795,29 +43616,6 @@ export type SandboxMcp = {
42795
43616
  export type SandboxSandboxIam = {
42796
43617
  tokens?: SandboxSandboxIamTokens;
42797
43618
  };
42798
- /**
42799
- * 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).
42800
- */
42801
- export type SandboxSandboxEgressProxyConfig = {
42802
- /**
42803
- * SOCKS5 proxy address in host:port format (e.g. "proxy.example.com:1080").
42804
- */
42805
- address: string;
42806
- /**
42807
- * Optional SOCKS5 username (RFC 1929), max 255 bytes.
42808
- */
42809
- username?: string;
42810
- /**
42811
- * Optional SOCKS5 password (RFC 1929), max 255 bytes.
42812
- */
42813
- password?: string;
42814
- };
42815
- /**
42816
- * Transform rule applied to egress requests matching a domain pattern.
42817
- */
42818
- export type SandboxSandboxNetworkRule = {
42819
- transform?: SandboxSandboxNetworkTransform;
42820
- };
42821
43619
  export type SandboxSandboxLogEntry = {
42822
43620
  /**
42823
43621
  * Timestamp of the log entry
@@ -48005,6 +48803,29 @@ export type AnthropicServerToolUsage = {
48005
48803
  */
48006
48804
  web_search_requests: number;
48007
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
+ };
48008
48829
  /**
48009
48830
  * Action taken when the sandbox times out.
48010
48831
  */
@@ -49570,18 +50391,6 @@ export type SandboxSandboxAutoResumeEnabled = boolean;
49570
50391
  export type SandboxSandboxIamTokens = {
49571
50392
  [key: string]: SandboxSandboxIamToken;
49572
50393
  };
49573
- /**
49574
- * Transformations applied to matching egress requests before forwarding.
49575
- */
49576
- export type SandboxSandboxNetworkTransform = {
49577
- /**
49578
- * 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.
49579
- *
49580
- */
49581
- headers?: {
49582
- [key: string]: string;
49583
- };
49584
- };
49585
50394
  /**
49586
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.
49587
50396
  */
@@ -50416,6 +51225,18 @@ export type AnthropicToolReferenceBlock = {
50416
51225
  */
50417
51226
  type: 'tool_reference';
50418
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
+ };
50419
51240
  /**
50420
51241
  * Text and caption styling in output pixels.
50421
51242
  */
@@ -51731,7 +52552,7 @@ export type SandboxSandboxDetailWritable = {
51731
52552
  network?: SandboxSandboxNetworkConfigWritable;
51732
52553
  lifecycle?: SandboxSandboxLifecycle;
51733
52554
  /**
51734
- * Volumes mounted into the sandbox.
52555
+ * Volumes mounted into the sandbox. Not available yet: volumes are not implemented, so this is always empty.
51735
52556
  */
51736
52557
  volumeMounts?: Array<SandboxSandboxVolumeMount>;
51737
52558
  };
@@ -52336,7 +53157,7 @@ export type SandboxNewSandboxV2Writable = {
52336
53157
  autoPauseMemory?: boolean;
52337
53158
  autoResume?: SandboxSandboxAutoResumeConfig;
52338
53159
  /**
52339
- * 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).
52340
53161
  */
52341
53162
  allow_internet_access?: boolean;
52342
53163
  network?: SandboxSandboxNetworkConfigWritable;
@@ -52345,11 +53166,11 @@ export type SandboxNewSandboxV2Writable = {
52345
53166
  mcp?: SandboxMcp;
52346
53167
  iam?: SandboxSandboxIam;
52347
53168
  /**
52348
- * 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.
52349
53170
  */
52350
53171
  volumeMounts?: Array<SandboxSandboxVolumeMount>;
52351
53172
  /**
52352
- * 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.
52353
53174
  */
52354
53175
  ephemeral?: boolean;
52355
53176
  /**
@@ -52489,11 +53310,11 @@ export type SandboxSandboxNetworkConfigWritable = {
52489
53310
  */
52490
53311
  allowPublicTraffic?: boolean;
52491
53312
  /**
52492
- * 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.
52493
53314
  */
52494
53315
  allowOut?: Array<string>;
52495
53316
  /**
52496
- * 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.
52497
53318
  */
52498
53319
  denyOut?: Array<string>;
52499
53320
  egressProxy?: SandboxSandboxEgressProxyConfig;
@@ -53180,6 +54001,18 @@ export type DevopsWorkspaceStagePath = DevopsWorkspaceStage;
53180
54001
  * The unit identifier returned by the unit create answer or a unit list, such as wsu_…; not the id of the change it was opened for.
53181
54002
  */
53182
54003
  export type DevopsUnitIdPath = string;
54004
+ /**
54005
+ * Browser page origin the exchange is made from, for example https://school.example.com. Send it when the sign-in is bound to one; the service compares it with the binding and refuses a mismatch.
54006
+ */
54007
+ export type EndOriginHeader = string;
54008
+ /**
54009
+ * End-user id from users.list or users.get; an id of another organization answers END_USER_NOT_FOUND.
54010
+ */
54011
+ export type EndEndUserIdPath = string;
54012
+ /**
54013
+ * Publishable key id (pk_…) from publishable_keys.list, not the plaintext key value.
54014
+ */
54015
+ export type EndPublishableKeyIdPath = string;
53183
54016
  /**
53184
54017
  * Subscription id returned by subscriptions.create or subscriptions.list, in the form esub_ followed by letters and digits.
53185
54018
  */
@@ -53300,10 +54133,6 @@ export type SandboxPaginationNextToken = string;
53300
54133
  * Maximum number of items to return per page
53301
54134
  */
53302
54135
  export type SandboxPaginationLimit = number;
53303
- /**
53304
- * Id of the team volume, the `volumeID` returned by createVolume or listVolumes.
53305
- */
53306
- export type SandboxVolumeId = string;
53307
54136
  /**
53308
54137
  * Template identifier from templates.create or templates.list. Use your organization's templateID, not a provider handle.
53309
54138
  */
@@ -59054,7 +59883,7 @@ export type GetAgentEmbedPolicyErrors = {
59054
59883
  */
59055
59884
  404: unknown;
59056
59885
  /**
59057
- * 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.
59058
59887
  */
59059
59888
  409: unknown;
59060
59889
  /**
@@ -59196,7 +60025,7 @@ export type UpdateAgentEmbedPolicyErrors = {
59196
60025
  */
59197
60026
  404: unknown;
59198
60027
  /**
59199
- * 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.
59200
60029
  */
59201
60030
  409: unknown;
59202
60031
  /**
@@ -63635,13 +64464,13 @@ export type GetSessionPromptRevsErrors = {
63635
64464
  */
63636
64465
  403: AgentError;
63637
64466
  /**
63638
- * No record, or no such session. The body carries only `reason`: `unknown_run` or `unknown_session`.
64467
+ * No such session (`SESSION_NOT_FOUND` in the one /agent/v1 error body), or no record for that run (the body carries only `reason: unknown_run`).
63639
64468
  */
63640
- 404: {
64469
+ 404: AgentError | {
63641
64470
  /**
63642
- * unknown_run: no record was ever written for that run (or this session has recorded nothing yet). unknown_session: the session is absent or not readable by this caller.
64471
+ * unknown_run: no record was ever written for that run (or this session has recorded nothing yet). A session that is absent or not readable answers the /agent/v1 error body with error.code SESSION_NOT_FOUND instead.
63643
64472
  */
63644
- reason: 'unknown_run' | 'unknown_session';
64473
+ reason: 'unknown_run';
63645
64474
  };
63646
64475
  /**
63647
64476
  * Agent service failed
@@ -69973,15 +70802,15 @@ export type CreateAgentUploadContentUrlResponse = CreateAgentUploadContentUrlRes
69973
70802
  export type CreateAudioSpeechData = {
69974
70803
  body: unknown & {
69975
70804
  /**
69976
- * Speech model id, for example `melotts` or `aura-2-en`; list candidates with listModels?type=speech. Router support (supported): Verified to take effect.
70805
+ * Speech model id, for example `aura-2-en`; list candidates with listModels?type=speech. Router support (supported): Verified to take effect.
69977
70806
  */
69978
70807
  model: string;
69979
70808
  /**
69980
- * Text to synthesize, 1 to 4096 characters. `text` and `prompt` are aliases; when several are given, `input` wins. Router support (supported): melotts supports input, lang and response_format=wav; text/prompt aliases also work.
70809
+ * Text to synthesize, 1 to 4096 characters. `text` and `prompt` are aliases; when several are given, `input` wins. Router support (supported): input is supported; text/prompt aliases also work.
69981
70810
  */
69982
70811
  input?: string;
69983
70812
  /**
69984
- * Aura speaker name; custom voice objects are rejected by Aura. MeloTTS ignores voice with a warning unless provider.require_parameters is true, in which case it returns 400.
70813
+ * Aura speaker name; custom voice objects are rejected by Aura.
69985
70814
  */
69986
70815
  voice?: string | {
69987
70816
  /**
@@ -69994,7 +70823,7 @@ export type CreateAudioSpeechData = {
69994
70823
  */
69995
70824
  instructions?: string;
69996
70825
  /**
69997
- * MeloTTS supports only wav (default); all other explicit formats return 400. When omitted the actual upstream format is returned. Aura defaults to mp3; aac returns 400.
70826
+ * When omitted the actual upstream format is returned. Aura defaults to mp3; aac returns 400.
69998
70827
  */
69999
70828
  response_format?: 'mp3' | 'opus' | 'flac' | 'wav' | 'pcm';
70000
70829
  /**
@@ -70010,7 +70839,7 @@ export type CreateAudioSpeechData = {
70010
70839
  */
70011
70840
  text?: string;
70012
70841
  /**
70013
- * MeloTTS alias for input; input then text take precedence.
70842
+ * Alias for input; input then text take precedence.
70014
70843
  */
70015
70844
  prompt?: string;
70016
70845
  /**
@@ -70018,7 +70847,7 @@ export type CreateAudioSpeechData = {
70018
70847
  */
70019
70848
  speaker?: string;
70020
70849
  /**
70021
- * MeloTTS language; defaults to en. Use this field to select language; voice is not supported by MeloTTS.
70850
+ * Language code. No speech model currently offered reads it. Aura rejects lang with 400 input_not_representable so omit it.
70022
70851
  */
70023
70852
  lang?: 'en' | 'fr' | 'es' | 'zh' | 'ja' | 'ko';
70024
70853
  /**
@@ -70739,6 +71568,27 @@ export type BrowserRunPageActionData = {
70739
71568
  * 为 true 时截取整页,否则只截当前视口。
70740
71569
  */
70741
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
+ };
70742
71592
  /**
70743
71593
  * 标签页 ID,来自 tabs.list 或上一个动作的结果;省略时作用于当前标签页。
70744
71594
  */
@@ -80406,7 +81256,7 @@ export type CreateOrganizationNotificationLetterErrors = {
80406
81256
  */
80407
81257
  401: unknown;
80408
81258
  /**
80409
- * `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).
80410
81260
  */
80411
81261
  403: unknown;
80412
81262
  /**
@@ -93459,7 +94309,7 @@ export type SessionsEventsSendData = {
93459
94309
  };
93460
94310
  export type SessionsEventsSendErrors = {
93461
94311
  /**
93462
- * The event failed validation and the message names the problem: an unsupported event type or content block, more than one text block, a missing tool_use_id or custom_tool_use_id, an unknown call id, or a session that is archived.
94312
+ * The event failed validation and the message names the problem: an unsupported event type or content block, more than one text block, a missing tool_use_id or custom_tool_use_id, or an unknown call id.
93463
94313
  */
93464
94314
  400: AgentError;
93465
94315
  /**
@@ -93475,7 +94325,7 @@ export type SessionsEventsSendErrors = {
93475
94325
  */
93476
94326
  404: AgentError;
93477
94327
  /**
93478
- * SESSION_CONFLICT: a duplicate result, a call that is no longer waiting, or a user.steer on an input that is already processing or withdrawn. Read the events to see the current state before retrying.
94328
+ * SESSION_ARCHIVED: the session is archived and cannot receive new events; create a new session. SESSION_CONFLICT: a duplicate result, a call that is no longer waiting, or a user.steer on an input that is already processing or withdrawn. Read the events to see the current state before retrying.
93479
94329
  */
93480
94330
  409: AgentError;
93481
94331
  };
@@ -95513,7 +96363,7 @@ export type SessionsResourcesAddData = {
95513
96363
  };
95514
96364
  export type SessionsResourcesAddErrors = {
95515
96365
  /**
95516
- * Only file resources are supported; file_id or mount_path is invalid, or the session already holds 500 resources.
96366
+ * INVALID_PARAMS: only file resources are supported, file_id or mount_path is invalid, or the session already holds 500 resources.
95517
96367
  */
95518
96368
  400: AgentError;
95519
96369
  /**
@@ -95525,15 +96375,15 @@ export type SessionsResourcesAddErrors = {
95525
96375
  */
95526
96376
  403: AgentError;
95527
96377
  /**
95528
- * Session not found, or the file does not exist in your organization. Upload it first and pass its id.
96378
+ * SESSION_NOT_FOUND when the session does not exist, or FILE_NOT_FOUND when the file does not exist in your organization (error.retryable is false: retrying the same id never succeeds). Upload the file first and pass its id. A resource id that is not in this session answers SESSION_RESOURCE_NOT_FOUND on the retrieve and delete doors.
95529
96379
  */
95530
96380
  404: AgentError;
95531
96381
  /**
95532
- * The file is not ready yet, or another request is allocating the same mount path. Retry shortly.
96382
+ * FILE_NOT_READY: the file is still being assembled, or another request is allocating the same mount path. Retry shortly.
95533
96383
  */
95534
96384
  409: AgentError;
95535
96385
  /**
95536
- * File metadata could not be read. Retry later.
96386
+ * UPSTREAM_UNAVAILABLE: the file service could not answer (error.retryable is true). Retry later; this is never how a missing file is reported.
95537
96387
  */
95538
96388
  502: AgentError;
95539
96389
  };
@@ -95801,9 +96651,9 @@ export type DeploymentsListResponses = {
95801
96651
  */
95802
96652
  schedule: null | AgentManaged111;
95803
96653
  /**
95804
- * Lifecycle status of a deployment.
96654
+ * Lifecycle status of a deployment: active, paused, or archived once archived (#5348). An archived deployment keeps its record, never runs again, and its upcoming_runs_at is empty.
95805
96655
  */
95806
- status: 'active' | 'paused';
96656
+ status: 'active' | 'paused' | 'archived';
95807
96657
  /**
95808
96658
  * Always `deployment`. A frozen set of session parameters and an optional schedule.
95809
96659
  */
@@ -96083,9 +96933,9 @@ export type DeploymentsCreateResponses = {
96083
96933
  */
96084
96934
  schedule: null | AgentManaged111;
96085
96935
  /**
96086
- * Lifecycle status of a deployment.
96936
+ * Lifecycle status of a deployment: active, paused, or archived once archived (#5348). An archived deployment keeps its record, never runs again, and its upcoming_runs_at is empty.
96087
96937
  */
96088
- status: 'active' | 'paused';
96938
+ status: 'active' | 'paused' | 'archived';
96089
96939
  /**
96090
96940
  * Always `deployment`. A frozen set of session parameters and an optional schedule.
96091
96941
  */
@@ -96137,7 +96987,7 @@ export type DeploymentsRetrieveErrors = {
96137
96987
  */
96138
96988
  403: AgentError;
96139
96989
  /**
96140
- * Deployment not found. Take ids from deployments.create or deployments.list.
96990
+ * DEPLOYMENT_NOT_FOUND: the deployment does not exist, or belongs to another owner. Take ids from deployments.create or deployments.list.
96141
96991
  */
96142
96992
  404: AgentError;
96143
96993
  };
@@ -96260,9 +97110,9 @@ export type DeploymentsRetrieveResponses = {
96260
97110
  */
96261
97111
  schedule: null | AgentManaged111;
96262
97112
  /**
96263
- * Lifecycle status of a deployment.
97113
+ * Lifecycle status of a deployment: active, paused, or archived once archived (#5348). An archived deployment keeps its record, never runs again, and its upcoming_runs_at is empty.
96264
97114
  */
96265
- status: 'active' | 'paused';
97115
+ status: 'active' | 'paused' | 'archived';
96266
97116
  /**
96267
97117
  * Always `deployment`. A frozen set of session parameters and an optional schedule.
96268
97118
  */
@@ -96421,7 +97271,7 @@ export type DeploymentsUpdateErrors = {
96421
97271
  */
96422
97272
  403: AgentError;
96423
97273
  /**
96424
- * Deployment not found. Take ids from deployments.create or deployments.list.
97274
+ * DEPLOYMENT_NOT_FOUND: the deployment does not exist, or belongs to another owner. Take ids from deployments.create or deployments.list.
96425
97275
  */
96426
97276
  404: AgentError;
96427
97277
  /**
@@ -96548,9 +97398,9 @@ export type DeploymentsUpdateResponses = {
96548
97398
  */
96549
97399
  schedule: null | AgentManaged111;
96550
97400
  /**
96551
- * Lifecycle status of a deployment.
97401
+ * Lifecycle status of a deployment: active, paused, or archived once archived (#5348). An archived deployment keeps its record, never runs again, and its upcoming_runs_at is empty.
96552
97402
  */
96553
- status: 'active' | 'paused';
97403
+ status: 'active' | 'paused' | 'archived';
96554
97404
  /**
96555
97405
  * Always `deployment`. A frozen set of session parameters and an optional schedule.
96556
97406
  */
@@ -96602,7 +97452,7 @@ export type DeploymentsArchiveErrors = {
96602
97452
  */
96603
97453
  403: AgentError;
96604
97454
  /**
96605
- * Deployment not found. Take ids from deployments.create or deployments.list.
97455
+ * DEPLOYMENT_NOT_FOUND: the deployment does not exist, or belongs to another owner. Take ids from deployments.create or deployments.list.
96606
97456
  */
96607
97457
  404: AgentError;
96608
97458
  };
@@ -96725,9 +97575,9 @@ export type DeploymentsArchiveResponses = {
96725
97575
  */
96726
97576
  schedule: null | AgentManaged111;
96727
97577
  /**
96728
- * Lifecycle status of a deployment.
97578
+ * Lifecycle status of a deployment: active, paused, or archived once archived (#5348). An archived deployment keeps its record, never runs again, and its upcoming_runs_at is empty.
96729
97579
  */
96730
- status: 'active' | 'paused';
97580
+ status: 'active' | 'paused' | 'archived';
96731
97581
  /**
96732
97582
  * Always `deployment`. A frozen set of session parameters and an optional schedule.
96733
97583
  */
@@ -96779,7 +97629,7 @@ export type DeploymentsPauseErrors = {
96779
97629
  */
96780
97630
  403: AgentError;
96781
97631
  /**
96782
- * Deployment not found. Take ids from deployments.create or deployments.list.
97632
+ * DEPLOYMENT_NOT_FOUND: the deployment does not exist, or belongs to another owner. Take ids from deployments.create or deployments.list.
96783
97633
  */
96784
97634
  404: AgentError;
96785
97635
  /**
@@ -96906,9 +97756,9 @@ export type DeploymentsPauseResponses = {
96906
97756
  */
96907
97757
  schedule: null | AgentManaged111;
96908
97758
  /**
96909
- * Lifecycle status of a deployment.
97759
+ * Lifecycle status of a deployment: active, paused, or archived once archived (#5348). An archived deployment keeps its record, never runs again, and its upcoming_runs_at is empty.
96910
97760
  */
96911
- status: 'active' | 'paused';
97761
+ status: 'active' | 'paused' | 'archived';
96912
97762
  /**
96913
97763
  * Always `deployment`. A frozen set of session parameters and an optional schedule.
96914
97764
  */
@@ -96960,7 +97810,7 @@ export type DeploymentsUnpauseErrors = {
96960
97810
  */
96961
97811
  403: AgentError;
96962
97812
  /**
96963
- * Deployment not found. Take ids from deployments.create or deployments.list.
97813
+ * DEPLOYMENT_NOT_FOUND: the deployment does not exist, or belongs to another owner. Take ids from deployments.create or deployments.list.
96964
97814
  */
96965
97815
  404: AgentError;
96966
97816
  /**
@@ -97087,9 +97937,9 @@ export type DeploymentsUnpauseResponses = {
97087
97937
  */
97088
97938
  schedule: null | AgentManaged111;
97089
97939
  /**
97090
- * Lifecycle status of a deployment.
97940
+ * Lifecycle status of a deployment: active, paused, or archived once archived (#5348). An archived deployment keeps its record, never runs again, and its upcoming_runs_at is empty.
97091
97941
  */
97092
- status: 'active' | 'paused';
97942
+ status: 'active' | 'paused' | 'archived';
97093
97943
  /**
97094
97944
  * Always `deployment`. A frozen set of session parameters and an optional schedule.
97095
97945
  */
@@ -97248,7 +98098,7 @@ export type DeploymentsRunErrors = {
97248
98098
  */
97249
98099
  403: AgentError;
97250
98100
  /**
97251
- * Deployment not found. Take ids from deployments.create or deployments.list.
98101
+ * DEPLOYMENT_NOT_FOUND: the deployment does not exist, or belongs to another owner. Take ids from deployments.create or deployments.list.
97252
98102
  */
97253
98103
  404: AgentError;
97254
98104
  /**
@@ -98290,6 +99140,81 @@ export type ApplicationListEventsResponses = {
98290
99140
  200: ApplicationEventPage;
98291
99141
  };
98292
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];
98293
99218
  export type ApplicationCreateAssetUploadSessionData = {
98294
99219
  body: ApplicationAssetUploadSessionInput;
98295
99220
  path: {
@@ -103937,6 +104862,60 @@ export type CanvasListLibraryVersionsResponses = {
103937
104862
  200: CanvasLibraryVersionPage;
103938
104863
  };
103939
104864
  export type CanvasListLibraryVersionsResponse = CanvasListLibraryVersionsResponses[keyof CanvasListLibraryVersionsResponses];
104865
+ export type CanvasRetrieveProcessStepBriefData = {
104866
+ body?: never;
104867
+ path: {
104868
+ /**
104869
+ * Canvas id returned by create or list, in the form cvs_ followed by 16 lowercase letters or digits; a display name is not accepted.
104870
+ */
104871
+ canvas_id: string;
104872
+ /**
104873
+ * Node id of the process frame, or of the ref instance that is one production of a library process; the outputs of a production point at this id.
104874
+ */
104875
+ process_id: string;
104876
+ /**
104877
+ * Step key from the requirement block, such as 1 or 9a; not the node id of the step frame.
104878
+ */
104879
+ step_id: string;
104880
+ };
104881
+ query?: {
104882
+ /**
104883
+ * Decimal version from versions.list, or its earliest_restorable_version, for a read-only historical snapshot; omit to read current state. Unavailable versions return VERSION_NOT_FOUND.
104884
+ */
104885
+ version?: string;
104886
+ };
104887
+ url: '/canvas/v1/canvases/{canvas_id}/processes/{process_id}/steps/{step_id}/brief';
104888
+ };
104889
+ export type CanvasRetrieveProcessStepBriefErrors = {
104890
+ /**
104891
+ * INVALID_PARAMS means a field, query value or identifier violates the documented format or range; correct the indicated input before retrying.
104892
+ */
104893
+ 400: CanvasCanvasError;
104894
+ /**
104895
+ * The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
104896
+ */
104897
+ 401: CanvasCanvasError;
104898
+ /**
104899
+ * The API key lacks permission for this operation; use a key with the required canvas access in the owning organization.
104900
+ */
104901
+ 403: CanvasCanvasError;
104902
+ /**
104903
+ * CANVAS_NOT_FOUND means the canvas is missing or belongs to another organization. NODE_NOT_FOUND means process_id is not a process on this canvas or step is not one of its step keys; read the process with nodes.list to see its requirement blocks.
104904
+ */
104905
+ 404: CanvasCanvasError;
104906
+ /**
104907
+ * INTERNAL means the service could not complete the request; inspect the current canvas before retrying a write to avoid duplicating an already committed edit.
104908
+ */
104909
+ 500: CanvasCanvasError;
104910
+ };
104911
+ export type CanvasRetrieveProcessStepBriefError = CanvasRetrieveProcessStepBriefErrors[keyof CanvasRetrieveProcessStepBriefErrors];
104912
+ export type CanvasRetrieveProcessStepBriefResponses = {
104913
+ /**
104914
+ * The step brief at the requested canvas version.
104915
+ */
104916
+ 200: CanvasProcessStepBrief;
104917
+ };
104918
+ export type CanvasRetrieveProcessStepBriefResponse = CanvasRetrieveProcessStepBriefResponses[keyof CanvasRetrieveProcessStepBriefResponses];
103940
104919
  export type CanvasListLibrariesData = {
103941
104920
  body?: never;
103942
104921
  path?: never;
@@ -105984,6 +106963,68 @@ export type CrmSchemasCreateResponses = {
105984
106963
  201: CrmSchemasObjectSchema & CrmWriteResult;
105985
106964
  };
105986
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];
105987
107028
  export type CrmLeadsQualifyData = {
105988
107029
  /**
105989
107030
  * Contact, company and optional deal decisions, plus the qualified lead stage id.
@@ -114291,6 +115332,10 @@ export type DevopsPullRequestsRerunGateErrors = {
114291
115332
  * PULL_REQUEST_NOT_FOUND means no pull request with that id is visible to this organization — one of another organization is never readable; list the project's pull requests and use an id from that answer.
114292
115333
  */
114293
115334
  404: DevopsDevOpsError;
115335
+ /**
115336
+ * GATE_RERUN_LIMITED: this head's checks were already restarted 3 times in the last hour, or another rerun of this head is restarting them right now; the message says which.
115337
+ */
115338
+ 429: DevopsDevOpsError;
114294
115339
  /**
114295
115340
  * INTERNAL means the service could not complete the request; retry once, and if it repeats report the request id. A read is safe to repeat; a write that failed this way should be re-read before it is sent again.
114296
115341
  */
@@ -114304,6 +115349,51 @@ export type DevopsPullRequestsRerunGateResponses = {
114304
115349
  200: DevopsPullRequest;
114305
115350
  };
114306
115351
  export type DevopsPullRequestsRerunGateResponse = DevopsPullRequestsRerunGateResponses[keyof DevopsPullRequestsRerunGateResponses];
115352
+ export type DevopsPullRequestsOverrideGateData = {
115353
+ body: DevopsPullRequestOverrideGateRequest;
115354
+ path: {
115355
+ /**
115356
+ * The pull request's platform id (pr_…) from a pull request list, not GitHub's pull request number; the retrieve, rerunGate, merge and recordVerdict calls all address the pull request by it.
115357
+ */
115358
+ id: string;
115359
+ };
115360
+ query?: never;
115361
+ url: '/devops/v1/pull-requests/{id}:overrideGate';
115362
+ };
115363
+ export type DevopsPullRequestsOverrideGateErrors = {
115364
+ /**
115365
+ * INVALID_PARAMS or INVALID_ARGUMENT means a field, query value or identifier violates the documented format or range — an unknown enum value, a pageSize outside 1..100, an unsupported filter or orderBy field, or an id with the wrong prefix. Correct the named input; nothing was read or written.
115366
+ */
115367
+ 400: DevopsDevOpsError;
115368
+ /**
115369
+ * The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
115370
+ */
115371
+ 401: DevopsDevOpsError;
115372
+ /**
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.
115374
+ */
115375
+ 403: DevopsDevOpsError;
115376
+ /**
115377
+ * PULL_REQUEST_NOT_FOUND means no pull request with that id is visible to this organization — one of another organization is never readable; list the project's pull requests and use an id from that answer.
115378
+ */
115379
+ 404: DevopsDevOpsError;
115380
+ /**
115381
+ * HEAD_MOVED when headSha is not the pull request's current head, or PULL_REQUEST_NOT_OPEN when the pull request is merged or closed.
115382
+ */
115383
+ 409: DevopsDevOpsError;
115384
+ /**
115385
+ * INTERNAL means the service could not complete the request; retry once, and if it repeats report the request id. A read is safe to repeat; a write that failed this way should be re-read before it is sent again.
115386
+ */
115387
+ 500: DevopsDevOpsError;
115388
+ };
115389
+ export type DevopsPullRequestsOverrideGateError = DevopsPullRequestsOverrideGateErrors[keyof DevopsPullRequestsOverrideGateErrors];
115390
+ export type DevopsPullRequestsOverrideGateResponses = {
115391
+ /**
115392
+ * The pull request with the gate decided again under the override: the covered checks show their real result with counted false and overriddenBy.
115393
+ */
115394
+ 200: DevopsPullRequest;
115395
+ };
115396
+ export type DevopsPullRequestsOverrideGateResponse = DevopsPullRequestsOverrideGateResponses[keyof DevopsPullRequestsOverrideGateResponses];
114307
115397
  export type DevopsPullRequestsMergeData = {
114308
115398
  body?: DevopsPullRequestMergeRequest;
114309
115399
  path: {
@@ -115569,6 +116659,651 @@ export type DevopsUnitsTransitionsListResponses = {
115569
116659
  200: DevopsUnitTransitionPage;
115570
116660
  };
115571
116661
  export type DevopsUnitsTransitionsListResponse = DevopsUnitsTransitionsListResponses[keyof DevopsUnitsTransitionsListResponses];
116662
+ export type EndCreateGrantCodeData = {
116663
+ /**
116664
+ * The end user to sign in and the resources the sign-in may reach.
116665
+ */
116666
+ body: EndGrantCodeInput;
116667
+ path?: never;
116668
+ query?: never;
116669
+ url: '/end/v1/grant_codes';
116670
+ };
116671
+ export type EndCreateGrantCodeErrors = {
116672
+ /**
116673
+ * INVALID_PARAMS: the request is not shaped the way this face accepts — an unknown or misspelled field, a repeated query parameter, a resource scope not in the form <type>:<id>:<action>, an expand value that is not products, sign_ins or usage, or a confirm that does not repeat the path end user id. The error names the field at fault and what it accepts; correct that field and send the request again.
116674
+ */
116675
+ 400: EndErrorEnvelope;
116676
+ /**
116677
+ * The credential is missing, malformed or expired. Merchant routes answer UNAUTHENTICATED when the API key or session names no organization; the pre-auth doors answer GRANT_CODE_INVALID when a grant code is unknown, already used, expired or foreign, and ACCESS_TOKEN_EXPIRED when the end-user token cannot be verified (a sign-in that is over answers SIGN_IN_EXPIRED or SIGN_IN_REVOKED). Send a valid API key, request a fresh grant code, or sign the end user in again.
116678
+ */
116679
+ 401: EndErrorEnvelope;
116680
+ /**
116681
+ * The credential is valid but the call is refused: ORIGIN_NOT_ALLOWED when the request Origin does not satisfy the sign-in or grant binding, END_USER_BLOCKED when the directory has blocked that end user, RESOURCE_NOT_GRANTED when the resource asked for is outside what the sign-in carries. Fix the cause the message names — send the bound origin, unblock the end user, or grant the resource in the next grant code — then retry.
116682
+ */
116683
+ 403: EndErrorEnvelope;
116684
+ /**
116685
+ * UPSTREAM_UNAVAILABLE: the token issuer or another dependency refused the call, so nothing was issued or changed. Retry later, and if it persists report the time and the request path.
116686
+ */
116687
+ 502: EndErrorEnvelope;
116688
+ /**
116689
+ * UPSTREAM_UNAVAILABLE: this face is not usable in this environment — the end user service binding is unwired, or the anonymous rate limiter is unavailable or misconfigured so the door fails closed. Use an environment where the face is wired, or retry when the dependency is back.
116690
+ */
116691
+ 503: EndErrorEnvelope;
116692
+ };
116693
+ export type EndCreateGrantCodeError = EndCreateGrantCodeErrors[keyof EndCreateGrantCodeErrors];
116694
+ export type EndCreateGrantCodeResponses = {
116695
+ /**
116696
+ * The one-time grant code and the moment it stops being exchangeable.
116697
+ */
116698
+ 201: EndGrantCode;
116699
+ };
116700
+ export type EndCreateGrantCodeResponse = EndCreateGrantCodeResponses[keyof EndCreateGrantCodeResponses];
116701
+ export type EndCreateAccessTokenData = {
116702
+ /**
116703
+ * Exactly one credential to exchange: a grant code from grant_codes, or a publishable key for an anonymous visitor.
116704
+ */
116705
+ body: EndAccessTokenInput;
116706
+ headers?: {
116707
+ /**
116708
+ * Browser page origin the exchange is made from, for example https://school.example.com. Send it when the sign-in is bound to one; the service compares it with the binding and refuses a mismatch.
116709
+ */
116710
+ Origin?: string;
116711
+ };
116712
+ path?: never;
116713
+ query?: never;
116714
+ url: '/end/v1/access_tokens';
116715
+ };
116716
+ export type EndCreateAccessTokenErrors = {
116717
+ /**
116718
+ * INVALID_PARAMS: the request is not shaped the way this face accepts — an unknown or misspelled field, a repeated query parameter, a resource scope not in the form <type>:<id>:<action>, an expand value that is not products, sign_ins or usage, or a confirm that does not repeat the path end user id. The error names the field at fault and what it accepts; correct that field and send the request again.
116719
+ */
116720
+ 400: EndErrorEnvelope;
116721
+ /**
116722
+ * The credential is missing, malformed or expired. Merchant routes answer UNAUTHENTICATED when the API key or session names no organization; the pre-auth doors answer GRANT_CODE_INVALID when a grant code is unknown, already used, expired or foreign, and ACCESS_TOKEN_EXPIRED when the end-user token cannot be verified (a sign-in that is over answers SIGN_IN_EXPIRED or SIGN_IN_REVOKED). Send a valid API key, request a fresh grant code, or sign the end user in again.
116723
+ */
116724
+ 401: EndErrorEnvelope;
116725
+ /**
116726
+ * The credential is valid but the call is refused: ORIGIN_NOT_ALLOWED when the request Origin does not satisfy the sign-in or grant binding, END_USER_BLOCKED when the directory has blocked that end user, RESOURCE_NOT_GRANTED when the resource asked for is outside what the sign-in carries. Fix the cause the message names — send the bound origin, unblock the end user, or grant the resource in the next grant code — then retry.
116727
+ */
116728
+ 403: EndErrorEnvelope;
116729
+ /**
116730
+ * One of four limits on the exchange, each with a Retry-After header in seconds. RATE_LIMITED: the caller IP has spent this door per-minute anonymous budget. PUBLISHABLE_KEY_RATE_LIMITED: the publishable key has spent its anon_rate_per_min exchanges for this UTC minute, whoever sent them; Retry-After is the rest of the minute. PUBLISHABLE_KEY_DAILY_CAP_REACHED: the key has admitted daily_session_cap new anonymous visitors in this UTC day; a new visitor is refused until 00:00 UTC (Retry-After), while a returning visitor that sends its continuation_token is still admitted. PUBLISHABLE_KEY_DAILY_SPEND_CAP_REACHED: what the usage of this key has cost in this UTC day reached its daily_spend_cap; every visitor, a returning one included, is refused until 00:00 UTC (Retry-After). Wait before retrying, never retry immediately; raise or clear the key limit with praxis.end.publishableKeys.update if it is set too low.
116731
+ */
116732
+ 429: EndErrorEnvelope;
116733
+ /**
116734
+ * UPSTREAM_UNAVAILABLE: the token issuer or another dependency refused the call, so nothing was issued or changed. Retry later, and if it persists report the time and the request path.
116735
+ */
116736
+ 502: EndErrorEnvelope;
116737
+ /**
116738
+ * UPSTREAM_UNAVAILABLE: this face is not usable in this environment — the end user service binding is unwired, or the anonymous rate limiter is unavailable or misconfigured so the door fails closed. Use an environment where the face is wired, or retry when the dependency is back.
116739
+ */
116740
+ 503: EndErrorEnvelope;
116741
+ };
116742
+ export type EndCreateAccessTokenError = EndCreateAccessTokenErrors[keyof EndCreateAccessTokenErrors];
116743
+ export type EndCreateAccessTokenResponses = {
116744
+ /**
116745
+ * The new access token, the sign-in behind it and the end user it belongs to.
116746
+ */
116747
+ 201: EndAccessToken;
116748
+ };
116749
+ export type EndCreateAccessTokenResponse = EndCreateAccessTokenResponses[keyof EndCreateAccessTokenResponses];
116750
+ export type EndRenewAccessTokenData = {
116751
+ body?: never;
116752
+ path?: never;
116753
+ query?: never;
116754
+ url: '/end/v1/access_tokens/renew';
116755
+ };
116756
+ export type EndRenewAccessTokenErrors = {
116757
+ /**
116758
+ * INVALID_PARAMS: the request is not shaped the way this face accepts — an unknown or misspelled field, a repeated query parameter, a resource scope not in the form <type>:<id>:<action>, an expand value that is not products, sign_ins or usage, or a confirm that does not repeat the path end user id. The error names the field at fault and what it accepts; correct that field and send the request again.
116759
+ */
116760
+ 400: EndErrorEnvelope;
116761
+ /**
116762
+ * The credential is missing, malformed or expired. Merchant routes answer UNAUTHENTICATED when the API key or session names no organization; the pre-auth doors answer GRANT_CODE_INVALID when a grant code is unknown, already used, expired or foreign, and ACCESS_TOKEN_EXPIRED when the end-user token cannot be verified (a sign-in that is over answers SIGN_IN_EXPIRED or SIGN_IN_REVOKED). Send a valid API key, request a fresh grant code, or sign the end user in again.
116763
+ */
116764
+ 401: EndErrorEnvelope;
116765
+ /**
116766
+ * The credential is valid but the call is refused: ORIGIN_NOT_ALLOWED when the request Origin does not satisfy the sign-in or grant binding, END_USER_BLOCKED when the directory has blocked that end user, RESOURCE_NOT_GRANTED when the resource asked for is outside what the sign-in carries. Fix the cause the message names — send the bound origin, unblock the end user, or grant the resource in the next grant code — then retry.
116767
+ */
116768
+ 403: EndErrorEnvelope;
116769
+ /**
116770
+ * RATE_LIMITED: the caller IP has spent this door per-minute anonymous budget. Wait the seconds in the Retry-After response header and send the request again; do not retry immediately.
116771
+ */
116772
+ 429: EndErrorEnvelope;
116773
+ /**
116774
+ * UPSTREAM_UNAVAILABLE: the token issuer or another dependency refused the call, so nothing was issued or changed. Retry later, and if it persists report the time and the request path.
116775
+ */
116776
+ 502: EndErrorEnvelope;
116777
+ /**
116778
+ * UPSTREAM_UNAVAILABLE: this face is not usable in this environment — the end user service binding is unwired, or the anonymous rate limiter is unavailable or misconfigured so the door fails closed. Use an environment where the face is wired, or retry when the dependency is back.
116779
+ */
116780
+ 503: EndErrorEnvelope;
116781
+ };
116782
+ export type EndRenewAccessTokenError = EndRenewAccessTokenErrors[keyof EndRenewAccessTokenErrors];
116783
+ export type EndRenewAccessTokenResponses = {
116784
+ /**
116785
+ * A fresh access token for the same sign-in, with its new expiry.
116786
+ */
116787
+ 201: EndAccessToken;
116788
+ };
116789
+ export type EndRenewAccessTokenResponse = EndRenewAccessTokenResponses[keyof EndRenewAccessTokenResponses];
116790
+ export type EndRevokeCurrentTokensData = {
116791
+ body?: never;
116792
+ path?: never;
116793
+ query?: never;
116794
+ url: '/end/v1/access_tokens/current';
116795
+ };
116796
+ export type EndRevokeCurrentTokensErrors = {
116797
+ /**
116798
+ * INVALID_PARAMS: the request is not shaped the way this face accepts — an unknown or misspelled field, a repeated query parameter, a resource scope not in the form <type>:<id>:<action>, an expand value that is not products, sign_ins or usage, or a confirm that does not repeat the path end user id. The error names the field at fault and what it accepts; correct that field and send the request again.
116799
+ */
116800
+ 400: EndErrorEnvelope;
116801
+ /**
116802
+ * The credential is missing, malformed or expired. Merchant routes answer UNAUTHENTICATED when the API key or session names no organization; the pre-auth doors answer GRANT_CODE_INVALID when a grant code is unknown, already used, expired or foreign, and ACCESS_TOKEN_EXPIRED when the end-user token cannot be verified (a sign-in that is over answers SIGN_IN_EXPIRED or SIGN_IN_REVOKED). Send a valid API key, request a fresh grant code, or sign the end user in again.
116803
+ */
116804
+ 401: EndErrorEnvelope;
116805
+ /**
116806
+ * RATE_LIMITED: the caller IP has spent this door per-minute anonymous budget. Wait the seconds in the Retry-After response header and send the request again; do not retry immediately.
116807
+ */
116808
+ 429: EndErrorEnvelope;
116809
+ /**
116810
+ * UPSTREAM_UNAVAILABLE: the token issuer or another dependency refused the call, so nothing was issued or changed. Retry later, and if it persists report the time and the request path.
116811
+ */
116812
+ 502: EndErrorEnvelope;
116813
+ /**
116814
+ * UPSTREAM_UNAVAILABLE: this face is not usable in this environment — the end user service binding is unwired, or the anonymous rate limiter is unavailable or misconfigured so the door fails closed. Use an environment where the face is wired, or retry when the dependency is back.
116815
+ */
116816
+ 503: EndErrorEnvelope;
116817
+ };
116818
+ export type EndRevokeCurrentTokensError = EndRevokeCurrentTokensErrors[keyof EndRevokeCurrentTokensErrors];
116819
+ export type EndRevokeCurrentTokensResponses = {
116820
+ /**
116821
+ * The sign-in and its tokens are revoked; the response body is empty.
116822
+ */
116823
+ 200: unknown;
116824
+ };
116825
+ export type EndListUsersData = {
116826
+ body?: never;
116827
+ path?: never;
116828
+ query?: {
116829
+ /**
116830
+ * Maximum end users in one page, from 1 to 100; defaults to 50.
116831
+ */
116832
+ page_size?: number;
116833
+ /**
116834
+ * next_page from the preceding list response with the same filters; omit for the first page.
116835
+ */
116836
+ page_token?: string;
116837
+ /**
116838
+ * Only end users of this kind; identified for people who signed in through a grant code, anonymous for visitors admitted with a publishable key. Omit for both.
116839
+ */
116840
+ type?: 'identified' | 'anonymous';
116841
+ /**
116842
+ * true for blocked end users only, false for end users who are not blocked; omit for both.
116843
+ */
116844
+ blocked?: boolean;
116845
+ /**
116846
+ * Only end users of one product, as <type>:<id>, for example content:cnt_0123456789abcdef, agent:agent_123 or application:app_456.
116847
+ */
116848
+ resource?: string;
116849
+ /**
116850
+ * Only end users whose end user id starts with this prefix, for example cus_; omit for every id.
116851
+ */
116852
+ q?: string;
116853
+ };
116854
+ url: '/end/v1/users';
116855
+ };
116856
+ export type EndListUsersErrors = {
116857
+ /**
116858
+ * INVALID_PARAMS: the request is not shaped the way this face accepts — an unknown or misspelled field, a repeated query parameter, a resource scope not in the form <type>:<id>:<action>, an expand value that is not products, sign_ins or usage, or a confirm that does not repeat the path end user id. The error names the field at fault and what it accepts; correct that field and send the request again.
116859
+ */
116860
+ 400: EndErrorEnvelope;
116861
+ /**
116862
+ * The credential is missing, malformed or expired. Merchant routes answer UNAUTHENTICATED when the API key or session names no organization; the pre-auth doors answer GRANT_CODE_INVALID when a grant code is unknown, already used, expired or foreign, and ACCESS_TOKEN_EXPIRED when the end-user token cannot be verified (a sign-in that is over answers SIGN_IN_EXPIRED or SIGN_IN_REVOKED). Send a valid API key, request a fresh grant code, or sign the end user in again.
116863
+ */
116864
+ 401: EndErrorEnvelope;
116865
+ /**
116866
+ * UPSTREAM_UNAVAILABLE: the token issuer or another dependency refused the call, so nothing was issued or changed. Retry later, and if it persists report the time and the request path.
116867
+ */
116868
+ 502: EndErrorEnvelope;
116869
+ /**
116870
+ * UPSTREAM_UNAVAILABLE: this face is not usable in this environment — the end user service binding is unwired, or the anonymous rate limiter is unavailable or misconfigured so the door fails closed. Use an environment where the face is wired, or retry when the dependency is back.
116871
+ */
116872
+ 503: EndErrorEnvelope;
116873
+ };
116874
+ export type EndListUsersError = EndListUsersErrors[keyof EndListUsersErrors];
116875
+ export type EndListUsersResponses = {
116876
+ /**
116877
+ * One page of end users, most recently seen first, with each one's product use.
116878
+ */
116879
+ 200: EndEndUserPage;
116880
+ };
116881
+ export type EndListUsersResponse = EndListUsersResponses[keyof EndListUsersResponses];
116882
+ export type EndDeleteUserData = {
116883
+ body?: never;
116884
+ path: {
116885
+ /**
116886
+ * End-user id from users.list or users.get; an id of another organization answers END_USER_NOT_FOUND.
116887
+ */
116888
+ end_user_id: string;
116889
+ };
116890
+ query: {
116891
+ /**
116892
+ * The end_user_id being deleted, repeated exactly; the service compares it with the path and refuses a mismatch with 400.
116893
+ */
116894
+ confirm: string;
116895
+ };
116896
+ url: '/end/v1/users/{end_user_id}';
116897
+ };
116898
+ export type EndDeleteUserErrors = {
116899
+ /**
116900
+ * INVALID_PARAMS: the request is not shaped the way this face accepts — an unknown or misspelled field, a repeated query parameter, a resource scope not in the form <type>:<id>:<action>, an expand value that is not products, sign_ins or usage, or a confirm that does not repeat the path end user id. The error names the field at fault and what it accepts; correct that field and send the request again.
116901
+ */
116902
+ 400: EndErrorEnvelope;
116903
+ /**
116904
+ * The credential is missing, malformed or expired. Merchant routes answer UNAUTHENTICATED when the API key or session names no organization; the pre-auth doors answer GRANT_CODE_INVALID when a grant code is unknown, already used, expired or foreign, and ACCESS_TOKEN_EXPIRED when the end-user token cannot be verified (a sign-in that is over answers SIGN_IN_EXPIRED or SIGN_IN_REVOKED). Send a valid API key, request a fresh grant code, or sign the end user in again.
116905
+ */
116906
+ 401: EndErrorEnvelope;
116907
+ /**
116908
+ * END_USER_NOT_FOUND: no end user of this organization has that id, or the id belongs to another organization; a deleted key answers the same way. Read the current id from users.list (or publishable_keys.list for a key) and retry with that; never construct an id.
116909
+ */
116910
+ 404: EndErrorEnvelope;
116911
+ /**
116912
+ * UPSTREAM_UNAVAILABLE: the token issuer or another dependency refused the call, so nothing was issued or changed. Retry later, and if it persists report the time and the request path.
116913
+ */
116914
+ 502: EndErrorEnvelope;
116915
+ /**
116916
+ * UPSTREAM_UNAVAILABLE: this face is not usable in this environment — the end user service binding is unwired, or the anonymous rate limiter is unavailable or misconfigured so the door fails closed. Use an environment where the face is wired, or retry when the dependency is back.
116917
+ */
116918
+ 503: EndErrorEnvelope;
116919
+ };
116920
+ export type EndDeleteUserError = EndDeleteUserErrors[keyof EndDeleteUserErrors];
116921
+ export type EndDeleteUserResponses = {
116922
+ /**
116923
+ * The directory record is gone and the deletion has been announced to the products.
116924
+ */
116925
+ 200: EndEndUserDeleted;
116926
+ };
116927
+ export type EndDeleteUserResponse = EndDeleteUserResponses[keyof EndDeleteUserResponses];
116928
+ export type EndGetUserData = {
116929
+ body?: never;
116930
+ path: {
116931
+ /**
116932
+ * End-user id from users.list or users.get; an id of another organization answers END_USER_NOT_FOUND.
116933
+ */
116934
+ end_user_id: string;
116935
+ };
116936
+ query?: {
116937
+ /**
116938
+ * Comma-separated extras to include; products for the products this end user has used, sign_ins for its sign-ins, usage for its recorded usage. Omit to get only the directory record.
116939
+ */
116940
+ expand?: string;
116941
+ };
116942
+ url: '/end/v1/users/{end_user_id}';
116943
+ };
116944
+ export type EndGetUserErrors = {
116945
+ /**
116946
+ * INVALID_PARAMS: the request is not shaped the way this face accepts — an unknown or misspelled field, a repeated query parameter, a resource scope not in the form <type>:<id>:<action>, an expand value that is not products, sign_ins or usage, or a confirm that does not repeat the path end user id. The error names the field at fault and what it accepts; correct that field and send the request again.
116947
+ */
116948
+ 400: EndErrorEnvelope;
116949
+ /**
116950
+ * The credential is missing, malformed or expired. Merchant routes answer UNAUTHENTICATED when the API key or session names no organization; the pre-auth doors answer GRANT_CODE_INVALID when a grant code is unknown, already used, expired or foreign, and ACCESS_TOKEN_EXPIRED when the end-user token cannot be verified (a sign-in that is over answers SIGN_IN_EXPIRED or SIGN_IN_REVOKED). Send a valid API key, request a fresh grant code, or sign the end user in again.
116951
+ */
116952
+ 401: EndErrorEnvelope;
116953
+ /**
116954
+ * END_USER_NOT_FOUND: no end user of this organization has that id, or the id belongs to another organization; a deleted key answers the same way. Read the current id from users.list (or publishable_keys.list for a key) and retry with that; never construct an id.
116955
+ */
116956
+ 404: EndErrorEnvelope;
116957
+ /**
116958
+ * UPSTREAM_UNAVAILABLE: the token issuer or another dependency refused the call, so nothing was issued or changed. Retry later, and if it persists report the time and the request path.
116959
+ */
116960
+ 502: EndErrorEnvelope;
116961
+ /**
116962
+ * UPSTREAM_UNAVAILABLE: this face is not usable in this environment — the end user service binding is unwired, or the anonymous rate limiter is unavailable or misconfigured so the door fails closed. Use an environment where the face is wired, or retry when the dependency is back.
116963
+ */
116964
+ 503: EndErrorEnvelope;
116965
+ };
116966
+ export type EndGetUserError = EndGetUserErrors[keyof EndGetUserErrors];
116967
+ export type EndGetUserResponses = {
116968
+ /**
116969
+ * The end user, with the extras named by expand when it was sent.
116970
+ */
116971
+ 200: EndEndUser;
116972
+ };
116973
+ export type EndGetUserResponse = EndGetUserResponses[keyof EndGetUserResponses];
116974
+ export type EndGetUsageData = {
116975
+ body?: never;
116976
+ path: {
116977
+ /**
116978
+ * End-user id from users.list or users.get; an id of another organization answers END_USER_NOT_FOUND.
116979
+ */
116980
+ end_user_id: string;
116981
+ };
116982
+ query?: {
116983
+ /**
116984
+ * Start of the window as an RFC 3339 time, inclusive; omit for the beginning of the record.
116985
+ */
116986
+ from?: string;
116987
+ /**
116988
+ * End of the window as an RFC 3339 time, exclusive; omit for now.
116989
+ */
116990
+ to?: string;
116991
+ };
116992
+ url: '/end/v1/users/{end_user_id}/usage';
116993
+ };
116994
+ export type EndGetUsageErrors = {
116995
+ /**
116996
+ * INVALID_PARAMS: the request is not shaped the way this face accepts — an unknown or misspelled field, a repeated query parameter, a resource scope not in the form <type>:<id>:<action>, an expand value that is not products, sign_ins or usage, or a confirm that does not repeat the path end user id. The error names the field at fault and what it accepts; correct that field and send the request again.
116997
+ */
116998
+ 400: EndErrorEnvelope;
116999
+ /**
117000
+ * The credential is missing, malformed or expired. Merchant routes answer UNAUTHENTICATED when the API key or session names no organization; the pre-auth doors answer GRANT_CODE_INVALID when a grant code is unknown, already used, expired or foreign, and ACCESS_TOKEN_EXPIRED when the end-user token cannot be verified (a sign-in that is over answers SIGN_IN_EXPIRED or SIGN_IN_REVOKED). Send a valid API key, request a fresh grant code, or sign the end user in again.
117001
+ */
117002
+ 401: EndErrorEnvelope;
117003
+ /**
117004
+ * END_USER_NOT_FOUND: no end user of this organization has that id, or the id belongs to another organization; a deleted key answers the same way. Read the current id from users.list (or publishable_keys.list for a key) and retry with that; never construct an id.
117005
+ */
117006
+ 404: EndErrorEnvelope;
117007
+ /**
117008
+ * UPSTREAM_UNAVAILABLE: the token issuer or another dependency refused the call, so nothing was issued or changed. Retry later, and if it persists report the time and the request path.
117009
+ */
117010
+ 502: EndErrorEnvelope;
117011
+ /**
117012
+ * UPSTREAM_UNAVAILABLE: this face is not usable in this environment — the end user service binding is unwired, or the anonymous rate limiter is unavailable or misconfigured so the door fails closed. Use an environment where the face is wired, or retry when the dependency is back.
117013
+ */
117014
+ 503: EndErrorEnvelope;
117015
+ };
117016
+ export type EndGetUsageError = EndGetUsageErrors[keyof EndGetUsageErrors];
117017
+ export type EndGetUsageResponses = {
117018
+ /**
117019
+ * The end user's recorded cost with its per-product and per-day breakdowns.
117020
+ */
117021
+ 200: EndEndUserUsage;
117022
+ };
117023
+ export type EndGetUsageResponse = EndGetUsageResponses[keyof EndGetUsageResponses];
117024
+ export type EndBlockUserData = {
117025
+ /**
117026
+ * Optionally the reason for the block, recorded with the block fact.
117027
+ */
117028
+ body?: EndBlockInput;
117029
+ path: {
117030
+ /**
117031
+ * End-user id from users.list or users.get; an id of another organization answers END_USER_NOT_FOUND.
117032
+ */
117033
+ end_user_id: string;
117034
+ };
117035
+ query?: never;
117036
+ url: '/end/v1/users/{end_user_id}/block';
117037
+ };
117038
+ export type EndBlockUserErrors = {
117039
+ /**
117040
+ * INVALID_PARAMS: the request is not shaped the way this face accepts — an unknown or misspelled field, a repeated query parameter, a resource scope not in the form <type>:<id>:<action>, an expand value that is not products, sign_ins or usage, or a confirm that does not repeat the path end user id. The error names the field at fault and what it accepts; correct that field and send the request again.
117041
+ */
117042
+ 400: EndErrorEnvelope;
117043
+ /**
117044
+ * The credential is missing, malformed or expired. Merchant routes answer UNAUTHENTICATED when the API key or session names no organization; the pre-auth doors answer GRANT_CODE_INVALID when a grant code is unknown, already used, expired or foreign, and ACCESS_TOKEN_EXPIRED when the end-user token cannot be verified (a sign-in that is over answers SIGN_IN_EXPIRED or SIGN_IN_REVOKED). Send a valid API key, request a fresh grant code, or sign the end user in again.
117045
+ */
117046
+ 401: EndErrorEnvelope;
117047
+ /**
117048
+ * END_USER_NOT_FOUND: no end user of this organization has that id, or the id belongs to another organization; a deleted key answers the same way. Read the current id from users.list (or publishable_keys.list for a key) and retry with that; never construct an id.
117049
+ */
117050
+ 404: EndErrorEnvelope;
117051
+ /**
117052
+ * UPSTREAM_UNAVAILABLE: the token issuer or another dependency refused the call, so nothing was issued or changed. Retry later, and if it persists report the time and the request path.
117053
+ */
117054
+ 502: EndErrorEnvelope;
117055
+ /**
117056
+ * UPSTREAM_UNAVAILABLE: this face is not usable in this environment — the end user service binding is unwired, or the anonymous rate limiter is unavailable or misconfigured so the door fails closed. Use an environment where the face is wired, or retry when the dependency is back.
117057
+ */
117058
+ 503: EndErrorEnvelope;
117059
+ };
117060
+ export type EndBlockUserError = EndBlockUserErrors[keyof EndBlockUserErrors];
117061
+ export type EndBlockUserResponses = {
117062
+ /**
117063
+ * The end user with its block fact set.
117064
+ */
117065
+ 200: EndEndUser;
117066
+ };
117067
+ export type EndBlockUserResponse = EndBlockUserResponses[keyof EndBlockUserResponses];
117068
+ export type EndUnblockUserData = {
117069
+ body?: never;
117070
+ path: {
117071
+ /**
117072
+ * End-user id from users.list or users.get; an id of another organization answers END_USER_NOT_FOUND.
117073
+ */
117074
+ end_user_id: string;
117075
+ };
117076
+ query?: never;
117077
+ url: '/end/v1/users/{end_user_id}/unblock';
117078
+ };
117079
+ export type EndUnblockUserErrors = {
117080
+ /**
117081
+ * INVALID_PARAMS: the request is not shaped the way this face accepts — an unknown or misspelled field, a repeated query parameter, a resource scope not in the form <type>:<id>:<action>, an expand value that is not products, sign_ins or usage, or a confirm that does not repeat the path end user id. The error names the field at fault and what it accepts; correct that field and send the request again.
117082
+ */
117083
+ 400: EndErrorEnvelope;
117084
+ /**
117085
+ * The credential is missing, malformed or expired. Merchant routes answer UNAUTHENTICATED when the API key or session names no organization; the pre-auth doors answer GRANT_CODE_INVALID when a grant code is unknown, already used, expired or foreign, and ACCESS_TOKEN_EXPIRED when the end-user token cannot be verified (a sign-in that is over answers SIGN_IN_EXPIRED or SIGN_IN_REVOKED). Send a valid API key, request a fresh grant code, or sign the end user in again.
117086
+ */
117087
+ 401: EndErrorEnvelope;
117088
+ /**
117089
+ * END_USER_NOT_FOUND: no end user of this organization has that id, or the id belongs to another organization; a deleted key answers the same way. Read the current id from users.list (or publishable_keys.list for a key) and retry with that; never construct an id.
117090
+ */
117091
+ 404: EndErrorEnvelope;
117092
+ /**
117093
+ * UPSTREAM_UNAVAILABLE: the token issuer or another dependency refused the call, so nothing was issued or changed. Retry later, and if it persists report the time and the request path.
117094
+ */
117095
+ 502: EndErrorEnvelope;
117096
+ /**
117097
+ * UPSTREAM_UNAVAILABLE: this face is not usable in this environment — the end user service binding is unwired, or the anonymous rate limiter is unavailable or misconfigured so the door fails closed. Use an environment where the face is wired, or retry when the dependency is back.
117098
+ */
117099
+ 503: EndErrorEnvelope;
117100
+ };
117101
+ export type EndUnblockUserError = EndUnblockUserErrors[keyof EndUnblockUserErrors];
117102
+ export type EndUnblockUserResponses = {
117103
+ /**
117104
+ * The end user with no block fact.
117105
+ */
117106
+ 200: EndEndUser;
117107
+ };
117108
+ export type EndUnblockUserResponse = EndUnblockUserResponses[keyof EndUnblockUserResponses];
117109
+ export type EndRevokeTokensData = {
117110
+ body?: never;
117111
+ path: {
117112
+ /**
117113
+ * End-user id from users.list or users.get; an id of another organization answers END_USER_NOT_FOUND.
117114
+ */
117115
+ end_user_id: string;
117116
+ };
117117
+ query?: never;
117118
+ url: '/end/v1/users/{end_user_id}/revoke_tokens';
117119
+ };
117120
+ export type EndRevokeTokensErrors = {
117121
+ /**
117122
+ * INVALID_PARAMS: the request is not shaped the way this face accepts — an unknown or misspelled field, a repeated query parameter, a resource scope not in the form <type>:<id>:<action>, an expand value that is not products, sign_ins or usage, or a confirm that does not repeat the path end user id. The error names the field at fault and what it accepts; correct that field and send the request again.
117123
+ */
117124
+ 400: EndErrorEnvelope;
117125
+ /**
117126
+ * The credential is missing, malformed or expired. Merchant routes answer UNAUTHENTICATED when the API key or session names no organization; the pre-auth doors answer GRANT_CODE_INVALID when a grant code is unknown, already used, expired or foreign, and ACCESS_TOKEN_EXPIRED when the end-user token cannot be verified (a sign-in that is over answers SIGN_IN_EXPIRED or SIGN_IN_REVOKED). Send a valid API key, request a fresh grant code, or sign the end user in again.
117127
+ */
117128
+ 401: EndErrorEnvelope;
117129
+ /**
117130
+ * END_USER_NOT_FOUND: no end user of this organization has that id, or the id belongs to another organization; a deleted key answers the same way. Read the current id from users.list (or publishable_keys.list for a key) and retry with that; never construct an id.
117131
+ */
117132
+ 404: EndErrorEnvelope;
117133
+ /**
117134
+ * UPSTREAM_UNAVAILABLE: the token issuer or another dependency refused the call, so nothing was issued or changed. Retry later, and if it persists report the time and the request path.
117135
+ */
117136
+ 502: EndErrorEnvelope;
117137
+ /**
117138
+ * UPSTREAM_UNAVAILABLE: this face is not usable in this environment — the end user service binding is unwired, or the anonymous rate limiter is unavailable or misconfigured so the door fails closed. Use an environment where the face is wired, or retry when the dependency is back.
117139
+ */
117140
+ 503: EndErrorEnvelope;
117141
+ };
117142
+ export type EndRevokeTokensError = EndRevokeTokensErrors[keyof EndRevokeTokensErrors];
117143
+ export type EndRevokeTokensResponses = {
117144
+ /**
117145
+ * How many sign-ins were revoked; the end user stays in the directory.
117146
+ */
117147
+ 200: EndTokensRevoked;
117148
+ };
117149
+ export type EndRevokeTokensResponse = EndRevokeTokensResponses[keyof EndRevokeTokensResponses];
117150
+ export type EndListPublishableKeysData = {
117151
+ body?: never;
117152
+ path?: never;
117153
+ query?: {
117154
+ /**
117155
+ * Maximum keys in one page, from 1 to 100; defaults to 50.
117156
+ */
117157
+ page_size?: number;
117158
+ /**
117159
+ * next_page from the preceding key list response; omit for the first page.
117160
+ */
117161
+ page_token?: string;
117162
+ };
117163
+ url: '/end/v1/publishable_keys';
117164
+ };
117165
+ export type EndListPublishableKeysErrors = {
117166
+ /**
117167
+ * INVALID_PARAMS: the request is not shaped the way this face accepts — an unknown or misspelled field, a repeated query parameter, a resource scope not in the form <type>:<id>:<action>, an expand value that is not products, sign_ins or usage, or a confirm that does not repeat the path end user id. The error names the field at fault and what it accepts; correct that field and send the request again.
117168
+ */
117169
+ 400: EndErrorEnvelope;
117170
+ /**
117171
+ * The credential is missing, malformed or expired. Merchant routes answer UNAUTHENTICATED when the API key or session names no organization; the pre-auth doors answer GRANT_CODE_INVALID when a grant code is unknown, already used, expired or foreign, and ACCESS_TOKEN_EXPIRED when the end-user token cannot be verified (a sign-in that is over answers SIGN_IN_EXPIRED or SIGN_IN_REVOKED). Send a valid API key, request a fresh grant code, or sign the end user in again.
117172
+ */
117173
+ 401: EndErrorEnvelope;
117174
+ /**
117175
+ * UPSTREAM_UNAVAILABLE: the token issuer or another dependency refused the call, so nothing was issued or changed. Retry later, and if it persists report the time and the request path.
117176
+ */
117177
+ 502: EndErrorEnvelope;
117178
+ /**
117179
+ * UPSTREAM_UNAVAILABLE: this face is not usable in this environment — the end user service binding is unwired, or the anonymous rate limiter is unavailable or misconfigured so the door fails closed. Use an environment where the face is wired, or retry when the dependency is back.
117180
+ */
117181
+ 503: EndErrorEnvelope;
117182
+ };
117183
+ export type EndListPublishableKeysError = EndListPublishableKeysErrors[keyof EndListPublishableKeysErrors];
117184
+ export type EndListPublishableKeysResponses = {
117185
+ /**
117186
+ * One page of publishable keys, newest first, with the cursor for the next page.
117187
+ */
117188
+ 200: EndPublishableKeyPage;
117189
+ };
117190
+ export type EndListPublishableKeysResponse = EndListPublishableKeysResponses[keyof EndListPublishableKeysResponses];
117191
+ export type EndCreatePublishableKeyData = {
117192
+ /**
117193
+ * The name of the key and the resource scopes it grants anonymous visitors.
117194
+ */
117195
+ body: EndCreatePublishableKeyInput;
117196
+ path?: never;
117197
+ query?: never;
117198
+ url: '/end/v1/publishable_keys';
117199
+ };
117200
+ export type EndCreatePublishableKeyErrors = {
117201
+ /**
117202
+ * INVALID_PARAMS: the request is not shaped the way this face accepts — an unknown or misspelled field, a repeated query parameter, a resource scope not in the form <type>:<id>:<action>, an expand value that is not products, sign_ins or usage, or a confirm that does not repeat the path end user id. The error names the field at fault and what it accepts; correct that field and send the request again.
117203
+ */
117204
+ 400: EndErrorEnvelope;
117205
+ /**
117206
+ * The credential is missing, malformed or expired. Merchant routes answer UNAUTHENTICATED when the API key or session names no organization; the pre-auth doors answer GRANT_CODE_INVALID when a grant code is unknown, already used, expired or foreign, and ACCESS_TOKEN_EXPIRED when the end-user token cannot be verified (a sign-in that is over answers SIGN_IN_EXPIRED or SIGN_IN_REVOKED). Send a valid API key, request a fresh grant code, or sign the end user in again.
117207
+ */
117208
+ 401: EndErrorEnvelope;
117209
+ /**
117210
+ * UPSTREAM_UNAVAILABLE: the token issuer or another dependency refused the call, so nothing was issued or changed. Retry later, and if it persists report the time and the request path.
117211
+ */
117212
+ 502: EndErrorEnvelope;
117213
+ /**
117214
+ * UPSTREAM_UNAVAILABLE: this face is not usable in this environment — the end user service binding is unwired, or the anonymous rate limiter is unavailable or misconfigured so the door fails closed. Use an environment where the face is wired, or retry when the dependency is back.
117215
+ */
117216
+ 503: EndErrorEnvelope;
117217
+ };
117218
+ export type EndCreatePublishableKeyError = EndCreatePublishableKeyErrors[keyof EndCreatePublishableKeyErrors];
117219
+ export type EndCreatePublishableKeyResponses = {
117220
+ /**
117221
+ * The new key with its plaintext value, shown only in this response.
117222
+ */
117223
+ 201: EndPublishableKey;
117224
+ };
117225
+ export type EndCreatePublishableKeyResponse = EndCreatePublishableKeyResponses[keyof EndCreatePublishableKeyResponses];
117226
+ export type EndDeletePublishableKeyData = {
117227
+ body?: never;
117228
+ path: {
117229
+ /**
117230
+ * Publishable key id (pk_…) from publishable_keys.list, not the plaintext key value.
117231
+ */
117232
+ key_id: string;
117233
+ };
117234
+ query?: never;
117235
+ url: '/end/v1/publishable_keys/{key_id}';
117236
+ };
117237
+ export type EndDeletePublishableKeyErrors = {
117238
+ /**
117239
+ * INVALID_PARAMS: the request is not shaped the way this face accepts — an unknown or misspelled field, a repeated query parameter, a resource scope not in the form <type>:<id>:<action>, an expand value that is not products, sign_ins or usage, or a confirm that does not repeat the path end user id. The error names the field at fault and what it accepts; correct that field and send the request again.
117240
+ */
117241
+ 400: EndErrorEnvelope;
117242
+ /**
117243
+ * The credential is missing, malformed or expired. Merchant routes answer UNAUTHENTICATED when the API key or session names no organization; the pre-auth doors answer GRANT_CODE_INVALID when a grant code is unknown, already used, expired or foreign, and ACCESS_TOKEN_EXPIRED when the end-user token cannot be verified (a sign-in that is over answers SIGN_IN_EXPIRED or SIGN_IN_REVOKED). Send a valid API key, request a fresh grant code, or sign the end user in again.
117244
+ */
117245
+ 401: EndErrorEnvelope;
117246
+ /**
117247
+ * END_USER_NOT_FOUND: no end user of this organization has that id, or the id belongs to another organization; a deleted key answers the same way. Read the current id from users.list (or publishable_keys.list for a key) and retry with that; never construct an id.
117248
+ */
117249
+ 404: EndErrorEnvelope;
117250
+ /**
117251
+ * UPSTREAM_UNAVAILABLE: the token issuer or another dependency refused the call, so nothing was issued or changed. Retry later, and if it persists report the time and the request path.
117252
+ */
117253
+ 502: EndErrorEnvelope;
117254
+ /**
117255
+ * UPSTREAM_UNAVAILABLE: this face is not usable in this environment — the end user service binding is unwired, or the anonymous rate limiter is unavailable or misconfigured so the door fails closed. Use an environment where the face is wired, or retry when the dependency is back.
117256
+ */
117257
+ 503: EndErrorEnvelope;
117258
+ };
117259
+ export type EndDeletePublishableKeyError = EndDeletePublishableKeyErrors[keyof EndDeletePublishableKeyErrors];
117260
+ export type EndDeletePublishableKeyResponses = {
117261
+ /**
117262
+ * The key is gone; the response repeats its id with deleted true.
117263
+ */
117264
+ 200: EndPublishableKeyDeleted;
117265
+ };
117266
+ export type EndDeletePublishableKeyResponse = EndDeletePublishableKeyResponses[keyof EndDeletePublishableKeyResponses];
117267
+ export type EndUpdatePublishableKeyData = {
117268
+ /**
117269
+ * The fields to change; at least one.
117270
+ */
117271
+ body: EndUpdatePublishableKeyInput;
117272
+ path: {
117273
+ /**
117274
+ * Publishable key id (pk_…) from publishable_keys.list, not the plaintext key value.
117275
+ */
117276
+ key_id: string;
117277
+ };
117278
+ query?: never;
117279
+ url: '/end/v1/publishable_keys/{key_id}';
117280
+ };
117281
+ export type EndUpdatePublishableKeyErrors = {
117282
+ /**
117283
+ * INVALID_PARAMS: the request is not shaped the way this face accepts — an unknown or misspelled field, a repeated query parameter, a resource scope not in the form <type>:<id>:<action>, an expand value that is not products, sign_ins or usage, or a confirm that does not repeat the path end user id. The error names the field at fault and what it accepts; correct that field and send the request again.
117284
+ */
117285
+ 400: EndErrorEnvelope;
117286
+ /**
117287
+ * The credential is missing, malformed or expired. Merchant routes answer UNAUTHENTICATED when the API key or session names no organization; the pre-auth doors answer GRANT_CODE_INVALID when a grant code is unknown, already used, expired or foreign, and ACCESS_TOKEN_EXPIRED when the end-user token cannot be verified (a sign-in that is over answers SIGN_IN_EXPIRED or SIGN_IN_REVOKED). Send a valid API key, request a fresh grant code, or sign the end user in again.
117288
+ */
117289
+ 401: EndErrorEnvelope;
117290
+ /**
117291
+ * UPSTREAM_UNAVAILABLE: the token issuer or another dependency refused the call, so nothing was issued or changed. Retry later, and if it persists report the time and the request path.
117292
+ */
117293
+ 502: EndErrorEnvelope;
117294
+ /**
117295
+ * UPSTREAM_UNAVAILABLE: this face is not usable in this environment — the end user service binding is unwired, or the anonymous rate limiter is unavailable or misconfigured so the door fails closed. Use an environment where the face is wired, or retry when the dependency is back.
117296
+ */
117297
+ 503: EndErrorEnvelope;
117298
+ };
117299
+ export type EndUpdatePublishableKeyError = EndUpdatePublishableKeyErrors[keyof EndUpdatePublishableKeyErrors];
117300
+ export type EndUpdatePublishableKeyResponses = {
117301
+ /**
117302
+ * The key with its new name and limits, without its plaintext value.
117303
+ */
117304
+ 200: EndPublishableKey;
117305
+ };
117306
+ export type EndUpdatePublishableKeyResponse = EndUpdatePublishableKeyResponses[keyof EndUpdatePublishableKeyResponses];
115572
117307
  export type EventsListTypesData = {
115573
117308
  body?: never;
115574
117309
  path?: never;
@@ -124200,140 +125935,6 @@ export type RequestTemplateBuildResponses = {
124200
125935
  202: SandboxTemplateRequestResponseV3;
124201
125936
  };
124202
125937
  export type RequestTemplateBuildResponse = RequestTemplateBuildResponses[keyof RequestTemplateBuildResponses];
124203
- export type GetSandboxV1VolumesData = {
124204
- body?: never;
124205
- path?: never;
124206
- query?: never;
124207
- url: '/sandbox/v1/volumes';
124208
- };
124209
- export type GetSandboxV1VolumesErrors = {
124210
- /**
124211
- * Authentication error
124212
- */
124213
- 401: SandboxError;
124214
- /**
124215
- * Too many requests: the rate limit was exceeded. Wait, then retry with exponential backoff.
124216
- */
124217
- 429: SandboxError;
124218
- /**
124219
- * Server error
124220
- */
124221
- 500: SandboxError;
124222
- };
124223
- export type GetSandboxV1VolumesError = GetSandboxV1VolumesErrors[keyof GetSandboxV1VolumesErrors];
124224
- export type GetSandboxV1VolumesResponses = {
124225
- /**
124226
- * Successfully listed all team volumes
124227
- */
124228
- 200: Array<SandboxVolume>;
124229
- };
124230
- export type GetSandboxV1VolumesResponse = GetSandboxV1VolumesResponses[keyof GetSandboxV1VolumesResponses];
124231
- export type PostSandboxV1VolumesData = {
124232
- body: SandboxNewVolume;
124233
- path?: never;
124234
- query?: never;
124235
- url: '/sandbox/v1/volumes';
124236
- };
124237
- export type PostSandboxV1VolumesErrors = {
124238
- /**
124239
- * 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.
124240
- */
124241
- 400: SandboxError;
124242
- /**
124243
- * Authentication error
124244
- */
124245
- 401: SandboxError;
124246
- /**
124247
- * Too many requests: the rate limit was exceeded. Wait, then retry with exponential backoff.
124248
- */
124249
- 429: SandboxError;
124250
- /**
124251
- * Server error
124252
- */
124253
- 500: SandboxError;
124254
- };
124255
- export type PostSandboxV1VolumesError = PostSandboxV1VolumesErrors[keyof PostSandboxV1VolumesErrors];
124256
- export type PostSandboxV1VolumesResponses = {
124257
- /**
124258
- * Successfully created a new team volume
124259
- */
124260
- 201: SandboxVolumeAndToken;
124261
- };
124262
- export type PostSandboxV1VolumesResponse = PostSandboxV1VolumesResponses[keyof PostSandboxV1VolumesResponses];
124263
- export type DeleteSandboxV1VolumesByVolumeIdData = {
124264
- body?: never;
124265
- path: {
124266
- /**
124267
- * Id of the team volume, the `volumeID` returned by createVolume or listVolumes.
124268
- */
124269
- volumeID: string;
124270
- };
124271
- query?: never;
124272
- url: '/sandbox/v1/volumes/{volumeID}';
124273
- };
124274
- export type DeleteSandboxV1VolumesByVolumeIdErrors = {
124275
- /**
124276
- * Authentication error
124277
- */
124278
- 401: SandboxError;
124279
- /**
124280
- * 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.
124281
- */
124282
- 404: SandboxError;
124283
- /**
124284
- * Too many requests: the rate limit was exceeded. Wait, then retry with exponential backoff.
124285
- */
124286
- 429: SandboxError;
124287
- /**
124288
- * Server error
124289
- */
124290
- 500: SandboxError;
124291
- };
124292
- export type DeleteSandboxV1VolumesByVolumeIdError = DeleteSandboxV1VolumesByVolumeIdErrors[keyof DeleteSandboxV1VolumesByVolumeIdErrors];
124293
- export type DeleteSandboxV1VolumesByVolumeIdResponses = {
124294
- /**
124295
- * Successfully deleted a team volume
124296
- */
124297
- 204: void;
124298
- };
124299
- export type DeleteSandboxV1VolumesByVolumeIdResponse = DeleteSandboxV1VolumesByVolumeIdResponses[keyof DeleteSandboxV1VolumesByVolumeIdResponses];
124300
- export type GetSandboxV1VolumesByVolumeIdData = {
124301
- body?: never;
124302
- path: {
124303
- /**
124304
- * Id of the team volume, the `volumeID` returned by createVolume or listVolumes.
124305
- */
124306
- volumeID: string;
124307
- };
124308
- query?: never;
124309
- url: '/sandbox/v1/volumes/{volumeID}';
124310
- };
124311
- export type GetSandboxV1VolumesByVolumeIdErrors = {
124312
- /**
124313
- * Authentication error
124314
- */
124315
- 401: SandboxError;
124316
- /**
124317
- * 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.
124318
- */
124319
- 404: SandboxError;
124320
- /**
124321
- * Too many requests: the rate limit was exceeded. Wait, then retry with exponential backoff.
124322
- */
124323
- 429: SandboxError;
124324
- /**
124325
- * Server error
124326
- */
124327
- 500: SandboxError;
124328
- };
124329
- export type GetSandboxV1VolumesByVolumeIdError = GetSandboxV1VolumesByVolumeIdErrors[keyof GetSandboxV1VolumesByVolumeIdErrors];
124330
- export type GetSandboxV1VolumesByVolumeIdResponses = {
124331
- /**
124332
- * Successfully retrieved a team volume
124333
- */
124334
- 200: SandboxVolumeAndToken;
124335
- };
124336
- export type GetSandboxV1VolumesByVolumeIdResponse = GetSandboxV1VolumesByVolumeIdResponses[keyof GetSandboxV1VolumesByVolumeIdResponses];
124337
125938
  export type PostSandboxV1SandboxesBySandboxIdForkData = {
124338
125939
  body?: SandboxSandboxForkRequest;
124339
125940
  path: {
@@ -124498,47 +126099,6 @@ export type DeleteSandboxV1SnapshotsBySnapshotIdResponses = {
124498
126099
  204: void;
124499
126100
  };
124500
126101
  export type DeleteSandboxV1SnapshotsBySnapshotIdResponse = DeleteSandboxV1SnapshotsBySnapshotIdResponses[keyof DeleteSandboxV1SnapshotsBySnapshotIdResponses];
124501
- export type PutSandboxV1SandboxesBySandboxIdNetworkData = {
124502
- body: SandboxSandboxNetworkUpdateConfig;
124503
- path: {
124504
- /**
124505
- * 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.
124506
- */
124507
- sandboxID: string;
124508
- };
124509
- query?: never;
124510
- url: '/sandbox/v1/sandboxes/{sandboxID}/network';
124511
- };
124512
- export type PutSandboxV1SandboxesBySandboxIdNetworkErrors = {
124513
- /**
124514
- * Authentication error
124515
- */
124516
- 401: SandboxError;
124517
- /**
124518
- * 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.
124519
- */
124520
- 404: SandboxError;
124521
- /**
124522
- * 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.
124523
- */
124524
- 409: SandboxError;
124525
- /**
124526
- * Too many requests: the rate limit was exceeded. Wait, then retry with exponential backoff.
124527
- */
124528
- 429: SandboxError;
124529
- /**
124530
- * Server error
124531
- */
124532
- 500: SandboxError;
124533
- };
124534
- export type PutSandboxV1SandboxesBySandboxIdNetworkError = PutSandboxV1SandboxesBySandboxIdNetworkErrors[keyof PutSandboxV1SandboxesBySandboxIdNetworkErrors];
124535
- export type PutSandboxV1SandboxesBySandboxIdNetworkResponses = {
124536
- /**
124537
- * Successfully updated the sandbox network configuration
124538
- */
124539
- 204: void;
124540
- };
124541
- export type PutSandboxV1SandboxesBySandboxIdNetworkResponse = PutSandboxV1SandboxesBySandboxIdNetworkResponses[keyof PutSandboxV1SandboxesBySandboxIdNetworkResponses];
124542
126102
  export type GetSandboxV1SandboxesBySandboxIdLogsData = {
124543
126103
  body?: never;
124544
126104
  path: {