windmill-client 1.775.2 → 1.776.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +5 -2
- package/dist/client.mjs +5 -2
- package/dist/core/OpenAPI.mjs +1 -1
- package/dist/index.js +207 -23
- package/dist/index.mjs +2 -2
- package/dist/services.gen.d.ts +110 -12
- package/dist/services.gen.mjs +201 -21
- package/dist/types.gen.d.ts +493 -174
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -1,3 +1,143 @@
|
|
|
1
|
+
export type AssetGraph = {
|
|
2
|
+
assets: Array<{
|
|
3
|
+
kind: AssetKind;
|
|
4
|
+
path: string;
|
|
5
|
+
/**
|
|
6
|
+
* Fork workspaces only — 'fork' when this ducklake asset was materialized in the fork itself, 'deferred' when reads fall back to the parent workspace's current table via a defer view. Omitted otherwise.
|
|
7
|
+
*/
|
|
8
|
+
fork_materialization?: 'fork' | 'deferred';
|
|
9
|
+
dbt?: DbtAssetProvenance;
|
|
10
|
+
}>;
|
|
11
|
+
runnables: Array<{
|
|
12
|
+
path: string;
|
|
13
|
+
usage_kind: AssetUsageKind;
|
|
14
|
+
/**
|
|
15
|
+
* True iff the script is a pipeline member (deployed with `// pipeline`). Omitted when false.
|
|
16
|
+
*/
|
|
17
|
+
in_pipeline?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Macros this script provides to the workspace registry (deployed `// macros` library). Omitted when empty.
|
|
20
|
+
*/
|
|
21
|
+
macros?: Array<{
|
|
22
|
+
name: string;
|
|
23
|
+
/**
|
|
24
|
+
* verbatim parameter list
|
|
25
|
+
*/
|
|
26
|
+
params: string;
|
|
27
|
+
is_table: boolean;
|
|
28
|
+
}>;
|
|
29
|
+
/**
|
|
30
|
+
* Set on a `dbt` script, which owns a whole project rather than a single output. Omitted otherwise.
|
|
31
|
+
*/
|
|
32
|
+
dbt?: {
|
|
33
|
+
model_count: number;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
edges: Array<{
|
|
37
|
+
runnable_path: string;
|
|
38
|
+
runnable_kind: AssetUsageKind;
|
|
39
|
+
asset_kind: AssetKind;
|
|
40
|
+
asset_path: string;
|
|
41
|
+
access_type?: AssetUsageAccessType;
|
|
42
|
+
}>;
|
|
43
|
+
triggers: Array<({
|
|
44
|
+
trigger_kind: 'asset';
|
|
45
|
+
asset_kind: AssetKind;
|
|
46
|
+
asset_path: string;
|
|
47
|
+
runnable_kind: AssetUsageKind;
|
|
48
|
+
runnable_path: string;
|
|
49
|
+
} | {
|
|
50
|
+
trigger_kind: 'schedule' | 'email' | 'kafka' | 'mqtt' | 'nats' | 'postgres' | 'sqs' | 'gcp';
|
|
51
|
+
path: string;
|
|
52
|
+
runnable_kind: AssetUsageKind;
|
|
53
|
+
runnable_path: string;
|
|
54
|
+
})>;
|
|
55
|
+
/**
|
|
56
|
+
* Macro-library → consumer edges (deploy-recorded call detection plus `// use`). Omitted when empty.
|
|
57
|
+
*/
|
|
58
|
+
macro_edges?: Array<{
|
|
59
|
+
lib_path: string;
|
|
60
|
+
consumer_path: string;
|
|
61
|
+
macro_names: Array<(string)>;
|
|
62
|
+
via_use: boolean;
|
|
63
|
+
}>;
|
|
64
|
+
/**
|
|
65
|
+
* Ordering-only "must-run-after" edges — a `// data_test relationships` (or custom test reading a pipeline asset) requires the referenced asset's producer to run before the tested script. Not a data-consumption edge; fed into the cascade topo-sort so cold runs order correctly. Omitted when empty.
|
|
66
|
+
*/
|
|
67
|
+
test_edges?: Array<{
|
|
68
|
+
producer_kind: AssetUsageKind;
|
|
69
|
+
producer_path: string;
|
|
70
|
+
runnable_kind: AssetUsageKind;
|
|
71
|
+
runnable_path: string;
|
|
72
|
+
asset_kind: AssetKind;
|
|
73
|
+
asset_path: string;
|
|
74
|
+
}>;
|
|
75
|
+
/**
|
|
76
|
+
* `ref()` lineage BETWEEN two dbt models, in the terms the canvas draws — the relations, not dbt's node ids. Without it every model hangs off the one dbt runnable and the project reads as a flat fan-out. Omitted when empty.
|
|
77
|
+
*/
|
|
78
|
+
dbt_edges?: Array<{
|
|
79
|
+
from_asset_path: string;
|
|
80
|
+
to_asset_path: string;
|
|
81
|
+
}>;
|
|
82
|
+
/**
|
|
83
|
+
* The job whose own snapshot the dbt half was resolved from, when one was asked for and found. A run page polls the graph while its job runs, because a dynamic descriptor's snapshot is written mid-run, and this is what tells it to stop. Omitted when the answer came from the version's deployed graph.
|
|
84
|
+
*/
|
|
85
|
+
dbt_snapshot_job?: string;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* What dbt says about the model, snapshot, seed or source that produces (or, for a source, is read at) this relation. A dbt project is one runnable node with many model assets, so per-model metadata belongs here rather than on the script.
|
|
89
|
+
*/
|
|
90
|
+
export type DbtAssetProvenance = {
|
|
91
|
+
/**
|
|
92
|
+
* dbt's own node id, e.g. `model.jaffle_shop.customers`.
|
|
93
|
+
*/
|
|
94
|
+
unique_id: string;
|
|
95
|
+
resource_type: 'model' | 'snapshot' | 'seed' | 'source';
|
|
96
|
+
/**
|
|
97
|
+
* dbt's own word (`table`, `view`, `incremental`, `snapshot`).
|
|
98
|
+
*/
|
|
99
|
+
materialized?: string;
|
|
100
|
+
/**
|
|
101
|
+
* The Windmill write strategy it maps to, absent for `view` and `ephemeral`, which have none.
|
|
102
|
+
*/
|
|
103
|
+
materialize_strategy?: string;
|
|
104
|
+
tags?: Array<(string)>;
|
|
105
|
+
description?: string;
|
|
106
|
+
data_tests?: Array<{
|
|
107
|
+
/**
|
|
108
|
+
* One of the four generic tests, or a package test's namespaced name (`dbt_utils.accepted_range`).
|
|
109
|
+
*/
|
|
110
|
+
kind: string;
|
|
111
|
+
column?: string;
|
|
112
|
+
args?: {
|
|
113
|
+
[key: string]: unknown;
|
|
114
|
+
};
|
|
115
|
+
/**
|
|
116
|
+
* Lowercased. dbt's severity decides whether a failure fails the run.
|
|
117
|
+
*/
|
|
118
|
+
severity?: string;
|
|
119
|
+
}>;
|
|
120
|
+
/**
|
|
121
|
+
* Declared column metadata (name -> description). NOT column lineage — `manifest.json` carries none.
|
|
122
|
+
*/
|
|
123
|
+
columns?: {
|
|
124
|
+
[key: string]: unknown;
|
|
125
|
+
};
|
|
126
|
+
/**
|
|
127
|
+
* A source's declared freshness policy, for the staleness chip.
|
|
128
|
+
*/
|
|
129
|
+
freshness?: {
|
|
130
|
+
[key: string]: unknown;
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* The model's SQL as written, at the deploy this graph belongs to. Omitted when the caller cannot read the script.
|
|
134
|
+
*/
|
|
135
|
+
raw_code?: string;
|
|
136
|
+
/**
|
|
137
|
+
* Its path inside the dbt project, e.g. `models/staging/stg_orders.sql`.
|
|
138
|
+
*/
|
|
139
|
+
original_file_path?: string;
|
|
140
|
+
};
|
|
1
141
|
/**
|
|
2
142
|
* Overlay fields added to every "get by path" response that accepts
|
|
3
143
|
* the `get_draft` query parameter. The deployed payload is sent
|
|
@@ -70,9 +210,13 @@ export type OpenFlow = {
|
|
|
70
210
|
[key: string]: unknown;
|
|
71
211
|
};
|
|
72
212
|
/**
|
|
73
|
-
*
|
|
213
|
+
* Address of the account the flow runs on behalf of. Derived from on_behalf_of on read; accepted on write, where it is resolved to the account it names.
|
|
74
214
|
*/
|
|
75
215
|
on_behalf_of_email?: string;
|
|
216
|
+
/**
|
|
217
|
+
* The flow runs with the permissions of this identity: u/{username}, g/{group}, or a bare email when the username is itself email-shaped. The only stored half of the identity; on_behalf_of_email is derived from it. Omit it when writing and it is resolved from that address instead.
|
|
218
|
+
*/
|
|
219
|
+
on_behalf_of?: string;
|
|
76
220
|
};
|
|
77
221
|
/**
|
|
78
222
|
* The flow structure containing modules and optional preprocessor/failure handlers
|
|
@@ -541,7 +685,7 @@ export type RawScript = {
|
|
|
541
685
|
/**
|
|
542
686
|
* Type of asset
|
|
543
687
|
*/
|
|
544
|
-
kind: 's3object' | 'resource' | 'ducklake' | 'datatable' | 'volume';
|
|
688
|
+
kind: 's3object' | 'resource' | 'ducklake' | 'datatable' | 'volume' | 'dbt';
|
|
545
689
|
/**
|
|
546
690
|
* Access level for this asset
|
|
547
691
|
*/
|
|
@@ -1440,7 +1584,7 @@ export type EndpointTool = {
|
|
|
1440
1584
|
} | null;
|
|
1441
1585
|
};
|
|
1442
1586
|
export type AIProvider = 'openai' | 'azure_openai' | 'azure_foundry' | 'anthropic' | 'mistral' | 'deepseek' | 'googleai' | 'groq' | 'openrouter' | 'togetherai' | 'aws_bedrock' | 'customai';
|
|
1443
|
-
export type GitSyncObjectType = 'script' | 'flow' | 'app' | 'folder' | 'resource' | 'variable' | 'secret' | 'resourcetype' | 'schedule' | 'user' | 'group' | 'trigger' | 'settings' | 'key' | 'workspacedependencies';
|
|
1587
|
+
export type GitSyncObjectType = 'script' | 'flow' | 'app' | 'folder' | 'resource' | 'variable' | 'secret' | 'resourcetype' | 'schedule' | 'user' | 'group' | 'trigger' | 'settings' | 'key' | 'workspacedependencies' | 'datatablemigration';
|
|
1444
1588
|
export type AIProviderModel = {
|
|
1445
1589
|
model: string;
|
|
1446
1590
|
provider: AIProvider;
|
|
@@ -1597,6 +1741,10 @@ export type Script = {
|
|
|
1597
1741
|
codebase?: string;
|
|
1598
1742
|
has_preprocessor: boolean;
|
|
1599
1743
|
on_behalf_of_email?: string;
|
|
1744
|
+
/**
|
|
1745
|
+
* Authorization identity the runnable runs as: u/{username}, g/{group}, or a bare email when the username is itself email-shaped. The only stored half of the identity; on_behalf_of_email is derived from it.
|
|
1746
|
+
*/
|
|
1747
|
+
on_behalf_of?: string;
|
|
1600
1748
|
/**
|
|
1601
1749
|
* Additional script modules keyed by relative file path
|
|
1602
1750
|
*/
|
|
@@ -1655,7 +1803,11 @@ export type NewScript = {
|
|
|
1655
1803
|
has_preprocessor?: boolean;
|
|
1656
1804
|
on_behalf_of_email?: string;
|
|
1657
1805
|
/**
|
|
1658
|
-
*
|
|
1806
|
+
* Authorization identity to run as: u/{username}, g/{group}, or a bare email when the username is itself email-shaped. Supply this or on_behalf_of_email; when only the address is given it is resolved to the account it names, and an address naming nobody is rejected. A pair that disagrees is rejected.
|
|
1807
|
+
*/
|
|
1808
|
+
on_behalf_of?: string;
|
|
1809
|
+
/**
|
|
1810
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of_email / on_behalf_of pair instead of overwriting it with the caller's own identity.
|
|
1659
1811
|
*/
|
|
1660
1812
|
preserve_on_behalf_of?: boolean;
|
|
1661
1813
|
assets?: Array<{
|
|
@@ -1747,6 +1899,7 @@ export type QueuedJob = {
|
|
|
1747
1899
|
suspend?: number;
|
|
1748
1900
|
preprocessed?: boolean;
|
|
1749
1901
|
is_retry?: boolean;
|
|
1902
|
+
trigger_kind?: JobTriggerKind;
|
|
1750
1903
|
worker?: string;
|
|
1751
1904
|
};
|
|
1752
1905
|
export type CompletedJob = {
|
|
@@ -1807,6 +1960,7 @@ export type CompletedJob = {
|
|
|
1807
1960
|
* true when a succeeding retry resolved this rather than a person. Explicit rather than inferred from an absent resolved_by, which is also absent for a manual resolution outside enterprise
|
|
1808
1961
|
*/
|
|
1809
1962
|
resolved_automatically?: boolean;
|
|
1963
|
+
trigger_kind?: JobTriggerKind;
|
|
1810
1964
|
worker?: string;
|
|
1811
1965
|
};
|
|
1812
1966
|
/**
|
|
@@ -2300,7 +2454,7 @@ export type MainArgSignature = {
|
|
|
2300
2454
|
auto_kind: string | null;
|
|
2301
2455
|
has_preprocessor: boolean | null;
|
|
2302
2456
|
};
|
|
2303
|
-
export type ScriptLang = 'python3' | 'deno' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'oracledb' | 'graphql' | 'nativets' | 'bun' | 'php' | 'rust' | 'ansible' | 'csharp' | 'nu' | 'java' | 'ruby' | 'rlang' | 'duckdb' | 'bunnative';
|
|
2457
|
+
export type ScriptLang = 'python3' | 'deno' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'oracledb' | 'graphql' | 'nativets' | 'bun' | 'php' | 'rust' | 'ansible' | 'csharp' | 'nu' | 'java' | 'ruby' | 'rlang' | 'duckdb' | 'bunnative' | 'dbt';
|
|
2304
2458
|
/**
|
|
2305
2459
|
* An additional module file associated with a script
|
|
2306
2460
|
*/
|
|
@@ -2797,7 +2951,7 @@ export type EditSchedule = {
|
|
|
2797
2951
|
/**
|
|
2798
2952
|
* job trigger kind (schedule, http, websocket...)
|
|
2799
2953
|
*/
|
|
2800
|
-
export type JobTriggerKind = 'webhook' | 'default_email' | 'email' | 'schedule' | 'http' | 'websocket' | 'postgres' | 'kafka' | 'nats' | 'mqtt' | 'amqp' | 'sqs' | 'gcp' | 'azure' | 'google' | 'github' | 'asset' | 'freshness' | 'app';
|
|
2954
|
+
export type JobTriggerKind = 'webhook' | 'default_email' | 'email' | 'schedule' | 'http' | 'websocket' | 'postgres' | 'kafka' | 'nats' | 'mqtt' | 'amqp' | 'sqs' | 'gcp' | 'azure' | 'google' | 'github' | 'asset' | 'freshness' | 'app' | 'ui';
|
|
2801
2955
|
/**
|
|
2802
2956
|
* job trigger mode
|
|
2803
2957
|
*/
|
|
@@ -4935,6 +5089,10 @@ export type FlowMetadata = {
|
|
|
4935
5089
|
timeout?: number;
|
|
4936
5090
|
visible_to_runner_only?: boolean;
|
|
4937
5091
|
on_behalf_of_email?: string;
|
|
5092
|
+
/**
|
|
5093
|
+
* Authorization identity the runnable runs as: u/{username}, g/{group}, or a bare email when the username is itself email-shaped. The only stored half of the identity; on_behalf_of_email is derived from it.
|
|
5094
|
+
*/
|
|
5095
|
+
on_behalf_of?: string;
|
|
4938
5096
|
labels?: Array<(string)>;
|
|
4939
5097
|
/**
|
|
4940
5098
|
* Labels inherited from the parent folder, computed at read time. Read-only — edit them on the folder.
|
|
@@ -4952,7 +5110,11 @@ export type OpenFlowWPath = OpenFlow & {
|
|
|
4952
5110
|
visible_to_runner_only?: boolean;
|
|
4953
5111
|
on_behalf_of_email?: string;
|
|
4954
5112
|
/**
|
|
4955
|
-
*
|
|
5113
|
+
* Authorization identity to run as: u/{username}, g/{group}, or a bare email when the username is itself email-shaped. Supply this or on_behalf_of_email; when only the address is given it is resolved to the account it names, and an address naming nobody is rejected. A pair that disagrees is rejected.
|
|
5114
|
+
*/
|
|
5115
|
+
on_behalf_of?: string;
|
|
5116
|
+
/**
|
|
5117
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of_email / on_behalf_of pair instead of overwriting it with the caller's own identity.
|
|
4956
5118
|
*/
|
|
4957
5119
|
preserve_on_behalf_of?: boolean;
|
|
4958
5120
|
labels?: Array<(string)>;
|
|
@@ -4967,7 +5129,11 @@ export type EditFlow = OpenFlow & {
|
|
|
4967
5129
|
visible_to_runner_only?: boolean;
|
|
4968
5130
|
on_behalf_of_email?: string;
|
|
4969
5131
|
/**
|
|
4970
|
-
*
|
|
5132
|
+
* Authorization identity to run as: u/{username}, g/{group}, or a bare email when the username is itself email-shaped. Supply this or on_behalf_of_email; when only the address is given it is resolved to the account it names, and an address naming nobody is rejected. A pair that disagrees is rejected.
|
|
5133
|
+
*/
|
|
5134
|
+
on_behalf_of?: string;
|
|
5135
|
+
/**
|
|
5136
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original on_behalf_of_email / on_behalf_of pair instead of overwriting it with the caller's own identity.
|
|
4971
5137
|
*/
|
|
4972
5138
|
preserve_on_behalf_of?: boolean;
|
|
4973
5139
|
labels?: Array<(string)>;
|
|
@@ -5179,6 +5345,22 @@ export type HubScriptKind = 'script' | 'failure' | 'trigger' | 'approval';
|
|
|
5179
5345
|
export type PolarsClientKwargs = {
|
|
5180
5346
|
region_name: string;
|
|
5181
5347
|
};
|
|
5348
|
+
/**
|
|
5349
|
+
* Warehouses a dbt project may run against, by name. `main` is the one a project gets when its descriptor names none. Each entry points at a resource; it never holds credentials.
|
|
5350
|
+
*/
|
|
5351
|
+
export type DbtWarehouses = {
|
|
5352
|
+
[key: string]: {
|
|
5353
|
+
resource_path: string;
|
|
5354
|
+
target?: string;
|
|
5355
|
+
};
|
|
5356
|
+
};
|
|
5357
|
+
export type DbtWarehouseConnection = {
|
|
5358
|
+
/**
|
|
5359
|
+
* the resolved resource, rendered into profiles.yml
|
|
5360
|
+
*/
|
|
5361
|
+
value: unknown;
|
|
5362
|
+
target?: string;
|
|
5363
|
+
};
|
|
5182
5364
|
export type LargeFileStorage = {
|
|
5183
5365
|
type?: 'S3Storage' | 'AzureBlobStorage' | 'AzureWorkloadIdentity' | 'S3AwsOidc' | 'GoogleCloudStorage';
|
|
5184
5366
|
s3_resource_path?: string;
|
|
@@ -5414,6 +5596,7 @@ export type AutoPullSettings = {
|
|
|
5414
5596
|
sync_forks?: boolean;
|
|
5415
5597
|
webhook_id?: number;
|
|
5416
5598
|
webhook_secret?: string;
|
|
5599
|
+
webhook_url?: string;
|
|
5417
5600
|
webhook_error?: string;
|
|
5418
5601
|
last_synced_sha?: {
|
|
5419
5602
|
[key: string]: (string);
|
|
@@ -5628,6 +5811,10 @@ export type WorkspaceComparison = {
|
|
|
5628
5811
|
* Behind items excluded from `diffs` because they are not visible to the caller
|
|
5629
5812
|
*/
|
|
5630
5813
|
hidden_behind: HiddenItemsSummary;
|
|
5814
|
+
/**
|
|
5815
|
+
* For a pair outside the fork lineage, when its candidate set was last seeded by an explicit full scan. Absent when the pair has never been scanned (an empty `diffs` then says nothing about whether the workspaces agree) or when the pair is a lineage pair, which the tally keeps current.
|
|
5816
|
+
*/
|
|
5817
|
+
full_scan_at?: string;
|
|
5631
5818
|
};
|
|
5632
5819
|
export type HiddenItemsSummary = {
|
|
5633
5820
|
/**
|
|
@@ -5834,7 +6021,14 @@ export type TeamsChannel = {
|
|
|
5834
6021
|
};
|
|
5835
6022
|
export type AssetUsageKind = 'script' | 'flow' | 'job';
|
|
5836
6023
|
export type AssetUsageAccessType = 'r' | 'w' | 'rw';
|
|
5837
|
-
export type AssetKind = 's3object' | 'resource' | 'ducklake' | 'datatable' | 'volume';
|
|
6024
|
+
export type AssetKind = 's3object' | 'resource' | 'ducklake' | 'datatable' | 'volume' | 'dbt';
|
|
6025
|
+
export type AssetProgress = {
|
|
6026
|
+
asset_kind: AssetKind;
|
|
6027
|
+
asset_path: string;
|
|
6028
|
+
status: 'running' | 'materialized' | 'failed';
|
|
6029
|
+
row_count?: number | null;
|
|
6030
|
+
error?: string | null;
|
|
6031
|
+
};
|
|
5838
6032
|
export type MaterializedPartition = {
|
|
5839
6033
|
asset_kind: AssetKind;
|
|
5840
6034
|
asset_path: string;
|
|
@@ -7296,6 +7490,20 @@ export type CompareWorkspacesData = {
|
|
|
7296
7490
|
workspace: string;
|
|
7297
7491
|
};
|
|
7298
7492
|
export type CompareWorkspacesResponse = WorkspaceComparison;
|
|
7493
|
+
export type SeedFullDiffScanData = {
|
|
7494
|
+
/**
|
|
7495
|
+
* The ID of the workspace to compare with
|
|
7496
|
+
*/
|
|
7497
|
+
targetWorkspaceId: string;
|
|
7498
|
+
workspace: string;
|
|
7499
|
+
};
|
|
7500
|
+
export type SeedFullDiffScanResponse = {
|
|
7501
|
+
/**
|
|
7502
|
+
* Number of candidate items the comparison will evaluate
|
|
7503
|
+
*/
|
|
7504
|
+
candidates: number;
|
|
7505
|
+
scanned_at: string;
|
|
7506
|
+
};
|
|
7299
7507
|
export type ResetDiffTallyData = {
|
|
7300
7508
|
/**
|
|
7301
7509
|
* The ID of the workspace to compare with
|
|
@@ -7341,12 +7549,12 @@ export type GetSettingsResponse = {
|
|
|
7341
7549
|
plan?: string;
|
|
7342
7550
|
customer_id?: string;
|
|
7343
7551
|
webhook?: string;
|
|
7344
|
-
deploy_to?: string;
|
|
7345
7552
|
ai_config?: AIConfig;
|
|
7346
7553
|
error_handler?: ErrorHandlerConfig;
|
|
7347
7554
|
success_handler?: SuccessHandlerConfig;
|
|
7348
7555
|
large_file_storage?: LargeFileStorage;
|
|
7349
7556
|
ducklake?: DucklakeSettings;
|
|
7557
|
+
dbt_warehouses?: DbtWarehouses;
|
|
7350
7558
|
datatable?: DataTableSettings;
|
|
7351
7559
|
git_sync?: WorkspaceGitSyncSettings;
|
|
7352
7560
|
deploy_ui?: WorkspaceDeployUISettings;
|
|
@@ -7580,13 +7788,6 @@ export type RunTeamsMessageTestJobData = {
|
|
|
7580
7788
|
export type RunTeamsMessageTestJobResponse = {
|
|
7581
7789
|
job_uuid?: string;
|
|
7582
7790
|
};
|
|
7583
|
-
export type EditDeployToData = {
|
|
7584
|
-
requestBody: {
|
|
7585
|
-
deploy_to?: string;
|
|
7586
|
-
};
|
|
7587
|
-
workspace: string;
|
|
7588
|
-
};
|
|
7589
|
-
export type EditDeployToResponse = string;
|
|
7590
7791
|
export type EditAutoInviteData = {
|
|
7591
7792
|
/**
|
|
7592
7793
|
* WorkspaceInvite
|
|
@@ -7673,6 +7874,16 @@ export type EditLargeFileStorageConfigData = {
|
|
|
7673
7874
|
workspace: string;
|
|
7674
7875
|
};
|
|
7675
7876
|
export type EditLargeFileStorageConfigResponse = unknown;
|
|
7877
|
+
export type EditDbtWarehousesData = {
|
|
7878
|
+
/**
|
|
7879
|
+
* dbt warehouses, by name
|
|
7880
|
+
*/
|
|
7881
|
+
requestBody: {
|
|
7882
|
+
dbt_warehouses?: DbtWarehouses;
|
|
7883
|
+
};
|
|
7884
|
+
workspace: string;
|
|
7885
|
+
};
|
|
7886
|
+
export type EditDbtWarehousesResponse = unknown;
|
|
7676
7887
|
export type ListDucklakesData = {
|
|
7677
7888
|
workspace: string;
|
|
7678
7889
|
};
|
|
@@ -8516,6 +8727,11 @@ export type TestMetadataData = {
|
|
|
8516
8727
|
};
|
|
8517
8728
|
export type TestMetadataResponse = string;
|
|
8518
8729
|
export type ListGlobalSettingsResponse = Array<GlobalSetting>;
|
|
8730
|
+
export type GithubAppStaleWebhooksResponse = Array<{
|
|
8731
|
+
workspace_id: string;
|
|
8732
|
+
git_repo_resource_path: string;
|
|
8733
|
+
registered_url?: string | null;
|
|
8734
|
+
}>;
|
|
8519
8735
|
export type GetInstanceConfigResponse = InstanceConfig;
|
|
8520
8736
|
export type SetInstanceConfigData = {
|
|
8521
8737
|
/**
|
|
@@ -8652,6 +8868,26 @@ export type SetPublicAppRateLimitData = {
|
|
|
8652
8868
|
workspace: string;
|
|
8653
8869
|
};
|
|
8654
8870
|
export type SetPublicAppRateLimitResponse = string;
|
|
8871
|
+
export type RecordDbtRunProgressData = {
|
|
8872
|
+
requestBody: Array<{
|
|
8873
|
+
asset_path: string;
|
|
8874
|
+
status: string;
|
|
8875
|
+
row_count?: number;
|
|
8876
|
+
error?: string;
|
|
8877
|
+
}>;
|
|
8878
|
+
workspace: string;
|
|
8879
|
+
};
|
|
8880
|
+
export type RecordDbtRunProgressResponse = unknown;
|
|
8881
|
+
export type GetDbtWarehouseData = {
|
|
8882
|
+
name: string;
|
|
8883
|
+
workspace: string;
|
|
8884
|
+
};
|
|
8885
|
+
export type GetDbtWarehouseResponse = DbtWarehouseConnection;
|
|
8886
|
+
export type DbtWarehouseExistsData = {
|
|
8887
|
+
name: string;
|
|
8888
|
+
workspace: string;
|
|
8889
|
+
};
|
|
8890
|
+
export type DbtWarehouseExistsResponse = unknown;
|
|
8655
8891
|
export type ListDataMetricsData = {
|
|
8656
8892
|
cursorKind?: string;
|
|
8657
8893
|
cursorName?: string;
|
|
@@ -12701,7 +12937,7 @@ export type ListDispatchEventsData = {
|
|
|
12701
12937
|
};
|
|
12702
12938
|
export type ListDispatchEventsResponse = Array<{
|
|
12703
12939
|
subscriber_path: string;
|
|
12704
|
-
asset_kind: 's3object' | 'resource' | 'variable' | 'ducklake' | 'datatable' | 'volume';
|
|
12940
|
+
asset_kind: 's3object' | 'resource' | 'variable' | 'ducklake' | 'datatable' | 'volume' | 'dbt';
|
|
12705
12941
|
asset_path: string;
|
|
12706
12942
|
outcome: 'dispatched' | 'join_pending' | 'skipped';
|
|
12707
12943
|
child_job_id?: string;
|
|
@@ -12731,7 +12967,7 @@ export type ListAssetDispatchEdgesResponse = Array<{
|
|
|
12731
12967
|
child_job_id?: string;
|
|
12732
12968
|
subscriber_path: string;
|
|
12733
12969
|
outcome: 'dispatched' | 'join_pending';
|
|
12734
|
-
asset_kind: 's3object' | 'resource' | 'variable' | 'ducklake' | 'datatable' | 'volume';
|
|
12970
|
+
asset_kind: 's3object' | 'resource' | 'variable' | 'ducklake' | 'datatable' | 'volume' | 'dbt';
|
|
12735
12971
|
asset_path: string;
|
|
12736
12972
|
created_at: string;
|
|
12737
12973
|
}>;
|
|
@@ -13153,6 +13389,48 @@ export type ListExtendedJobsData = {
|
|
|
13153
13389
|
workspace: string;
|
|
13154
13390
|
};
|
|
13155
13391
|
export type ListExtendedJobsResponse = ExtendedJobs;
|
|
13392
|
+
export type GetDbtResumableData = {
|
|
13393
|
+
/**
|
|
13394
|
+
* The job whose script and principal decide the saved failure
|
|
13395
|
+
*/
|
|
13396
|
+
id: string;
|
|
13397
|
+
workspace: string;
|
|
13398
|
+
};
|
|
13399
|
+
export type GetDbtResumableResponse = string | null;
|
|
13400
|
+
export type GetDbtResumableForScriptData = {
|
|
13401
|
+
path: string;
|
|
13402
|
+
workspace: string;
|
|
13403
|
+
};
|
|
13404
|
+
export type GetDbtResumableForScriptResponse = string | null;
|
|
13405
|
+
export type GetDbtRunGraphData = {
|
|
13406
|
+
/**
|
|
13407
|
+
* Filter by asset kinds (comma-separated list)
|
|
13408
|
+
*/
|
|
13409
|
+
assetKinds?: string;
|
|
13410
|
+
/**
|
|
13411
|
+
* Fallback only, for a job that names no deployed script — a preview or a flow. For a script job the version comes from the job row itself, so this is ignored: which deploy's models, SQL and `ref()` lineage are shown is not the caller's to choose.
|
|
13412
|
+
*
|
|
13413
|
+
*/
|
|
13414
|
+
dbtScriptHash?: string;
|
|
13415
|
+
/**
|
|
13416
|
+
* Scope the graph to runnables in a single folder
|
|
13417
|
+
*/
|
|
13418
|
+
folder?: string;
|
|
13419
|
+
/**
|
|
13420
|
+
* The job whose graph to render
|
|
13421
|
+
*/
|
|
13422
|
+
id: string;
|
|
13423
|
+
workspace: string;
|
|
13424
|
+
};
|
|
13425
|
+
export type GetDbtRunGraphResponse = AssetGraph;
|
|
13426
|
+
export type GetRunProgressData = {
|
|
13427
|
+
/**
|
|
13428
|
+
* The job whose per-relation progress to read
|
|
13429
|
+
*/
|
|
13430
|
+
id: string;
|
|
13431
|
+
workspace: string;
|
|
13432
|
+
};
|
|
13433
|
+
export type GetRunProgressResponse = Array<AssetProgress>;
|
|
13156
13434
|
export type ListFlowConversationsData = {
|
|
13157
13435
|
/**
|
|
13158
13436
|
* filter conversations by flow path
|
|
@@ -16033,80 +16311,18 @@ export type GetAssetsGraphData = {
|
|
|
16033
16311
|
* Filter by asset kinds (comma-separated list)
|
|
16034
16312
|
*/
|
|
16035
16313
|
assetKinds?: string;
|
|
16314
|
+
/**
|
|
16315
|
+
* Render the dbt half of the graph as one version of a dbt script had it, rather than as the currently deployed one. Given this, `folder` no longer scopes the dbt nodes: the pinned version's own models and lineage are the answer, including models a later deploy removed.
|
|
16316
|
+
*
|
|
16317
|
+
*/
|
|
16318
|
+
dbtScriptHash?: string;
|
|
16036
16319
|
/**
|
|
16037
16320
|
* Scope the graph to runnables in a single folder
|
|
16038
16321
|
*/
|
|
16039
16322
|
folder?: string;
|
|
16040
16323
|
workspace: string;
|
|
16041
16324
|
};
|
|
16042
|
-
export type GetAssetsGraphResponse =
|
|
16043
|
-
assets: Array<{
|
|
16044
|
-
kind: AssetKind;
|
|
16045
|
-
path: string;
|
|
16046
|
-
/**
|
|
16047
|
-
* Fork workspaces only — 'fork' when this ducklake asset was materialized in the fork itself, 'deferred' when reads fall back to the parent workspace's current table via a defer view. Omitted otherwise.
|
|
16048
|
-
*/
|
|
16049
|
-
fork_materialization?: 'fork' | 'deferred';
|
|
16050
|
-
}>;
|
|
16051
|
-
runnables: Array<{
|
|
16052
|
-
path: string;
|
|
16053
|
-
usage_kind: AssetUsageKind;
|
|
16054
|
-
/**
|
|
16055
|
-
* True iff the script is a pipeline member (deployed with `// pipeline`). Omitted when false.
|
|
16056
|
-
*/
|
|
16057
|
-
in_pipeline?: boolean;
|
|
16058
|
-
/**
|
|
16059
|
-
* Macros this script provides to the workspace registry (deployed `// macros` library). Omitted when empty.
|
|
16060
|
-
*/
|
|
16061
|
-
macros?: Array<{
|
|
16062
|
-
name: string;
|
|
16063
|
-
/**
|
|
16064
|
-
* verbatim parameter list
|
|
16065
|
-
*/
|
|
16066
|
-
params: string;
|
|
16067
|
-
is_table: boolean;
|
|
16068
|
-
}>;
|
|
16069
|
-
}>;
|
|
16070
|
-
edges: Array<{
|
|
16071
|
-
runnable_path: string;
|
|
16072
|
-
runnable_kind: AssetUsageKind;
|
|
16073
|
-
asset_kind: AssetKind;
|
|
16074
|
-
asset_path: string;
|
|
16075
|
-
access_type?: AssetUsageAccessType;
|
|
16076
|
-
}>;
|
|
16077
|
-
triggers: Array<({
|
|
16078
|
-
trigger_kind: 'asset';
|
|
16079
|
-
asset_kind: AssetKind;
|
|
16080
|
-
asset_path: string;
|
|
16081
|
-
runnable_kind: AssetUsageKind;
|
|
16082
|
-
runnable_path: string;
|
|
16083
|
-
} | {
|
|
16084
|
-
trigger_kind: 'schedule' | 'email' | 'kafka' | 'mqtt' | 'nats' | 'postgres' | 'sqs' | 'gcp';
|
|
16085
|
-
path: string;
|
|
16086
|
-
runnable_kind: AssetUsageKind;
|
|
16087
|
-
runnable_path: string;
|
|
16088
|
-
})>;
|
|
16089
|
-
/**
|
|
16090
|
-
* Macro-library → consumer edges (deploy-recorded call detection plus `// use`). Omitted when empty.
|
|
16091
|
-
*/
|
|
16092
|
-
macro_edges?: Array<{
|
|
16093
|
-
lib_path: string;
|
|
16094
|
-
consumer_path: string;
|
|
16095
|
-
macro_names: Array<(string)>;
|
|
16096
|
-
via_use: boolean;
|
|
16097
|
-
}>;
|
|
16098
|
-
/**
|
|
16099
|
-
* Ordering-only "must-run-after" edges — a `// data_test relationships` (or custom test reading a pipeline asset) requires the referenced asset's producer to run before the tested script. Not a data-consumption edge; fed into the cascade topo-sort so cold runs order correctly. Omitted when empty.
|
|
16100
|
-
*/
|
|
16101
|
-
test_edges?: Array<{
|
|
16102
|
-
producer_kind: AssetUsageKind;
|
|
16103
|
-
producer_path: string;
|
|
16104
|
-
runnable_kind: AssetUsageKind;
|
|
16105
|
-
runnable_path: string;
|
|
16106
|
-
asset_kind: AssetKind;
|
|
16107
|
-
asset_path: string;
|
|
16108
|
-
}>;
|
|
16109
|
-
};
|
|
16325
|
+
export type GetAssetsGraphResponse = AssetGraph;
|
|
16110
16326
|
export type ListWorkspaceMacrosData = {
|
|
16111
16327
|
workspace: string;
|
|
16112
16328
|
};
|
|
@@ -18181,6 +18397,29 @@ export type $OpenApiTs = {
|
|
|
18181
18397
|
};
|
|
18182
18398
|
};
|
|
18183
18399
|
};
|
|
18400
|
+
'/w/{workspace}/workspaces/seed_full_diff/{target_workspace_id}': {
|
|
18401
|
+
post: {
|
|
18402
|
+
req: {
|
|
18403
|
+
/**
|
|
18404
|
+
* The ID of the workspace to compare with
|
|
18405
|
+
*/
|
|
18406
|
+
targetWorkspaceId: string;
|
|
18407
|
+
workspace: string;
|
|
18408
|
+
};
|
|
18409
|
+
res: {
|
|
18410
|
+
/**
|
|
18411
|
+
* Scan seeded
|
|
18412
|
+
*/
|
|
18413
|
+
200: {
|
|
18414
|
+
/**
|
|
18415
|
+
* Number of candidate items the comparison will evaluate
|
|
18416
|
+
*/
|
|
18417
|
+
candidates: number;
|
|
18418
|
+
scanned_at: string;
|
|
18419
|
+
};
|
|
18420
|
+
};
|
|
18421
|
+
};
|
|
18422
|
+
};
|
|
18184
18423
|
'/w/{workspace}/workspaces/reset_diff_tally/{fork_workspace_id}': {
|
|
18185
18424
|
post: {
|
|
18186
18425
|
req: {
|
|
@@ -18259,12 +18498,12 @@ export type $OpenApiTs = {
|
|
|
18259
18498
|
plan?: string;
|
|
18260
18499
|
customer_id?: string;
|
|
18261
18500
|
webhook?: string;
|
|
18262
|
-
deploy_to?: string;
|
|
18263
18501
|
ai_config?: AIConfig;
|
|
18264
18502
|
error_handler?: ErrorHandlerConfig;
|
|
18265
18503
|
success_handler?: SuccessHandlerConfig;
|
|
18266
18504
|
large_file_storage?: LargeFileStorage;
|
|
18267
18505
|
ducklake?: DucklakeSettings;
|
|
18506
|
+
dbt_warehouses?: DbtWarehouses;
|
|
18268
18507
|
datatable?: DataTableSettings;
|
|
18269
18508
|
git_sync?: WorkspaceGitSyncSettings;
|
|
18270
18509
|
deploy_ui?: WorkspaceDeployUISettings;
|
|
@@ -18684,22 +18923,6 @@ export type $OpenApiTs = {
|
|
|
18684
18923
|
};
|
|
18685
18924
|
};
|
|
18686
18925
|
};
|
|
18687
|
-
'/w/{workspace}/workspaces/edit_deploy_to': {
|
|
18688
|
-
post: {
|
|
18689
|
-
req: {
|
|
18690
|
-
requestBody: {
|
|
18691
|
-
deploy_to?: string;
|
|
18692
|
-
};
|
|
18693
|
-
workspace: string;
|
|
18694
|
-
};
|
|
18695
|
-
res: {
|
|
18696
|
-
/**
|
|
18697
|
-
* status
|
|
18698
|
-
*/
|
|
18699
|
-
200: string;
|
|
18700
|
-
};
|
|
18701
|
-
};
|
|
18702
|
-
};
|
|
18703
18926
|
'/w/{workspace}/workspaces/edit_auto_invite': {
|
|
18704
18927
|
post: {
|
|
18705
18928
|
req: {
|
|
@@ -18867,6 +19090,25 @@ export type $OpenApiTs = {
|
|
|
18867
19090
|
};
|
|
18868
19091
|
};
|
|
18869
19092
|
};
|
|
19093
|
+
'/w/{workspace}/workspaces/edit_dbt_warehouses': {
|
|
19094
|
+
post: {
|
|
19095
|
+
req: {
|
|
19096
|
+
/**
|
|
19097
|
+
* dbt warehouses, by name
|
|
19098
|
+
*/
|
|
19099
|
+
requestBody: {
|
|
19100
|
+
dbt_warehouses?: DbtWarehouses;
|
|
19101
|
+
};
|
|
19102
|
+
workspace: string;
|
|
19103
|
+
};
|
|
19104
|
+
res: {
|
|
19105
|
+
/**
|
|
19106
|
+
* status
|
|
19107
|
+
*/
|
|
19108
|
+
200: unknown;
|
|
19109
|
+
};
|
|
19110
|
+
};
|
|
19111
|
+
};
|
|
18870
19112
|
'/w/{workspace}/workspaces/list_ducklakes': {
|
|
18871
19113
|
get: {
|
|
18872
19114
|
req: {
|
|
@@ -20577,6 +20819,20 @@ export type $OpenApiTs = {
|
|
|
20577
20819
|
};
|
|
20578
20820
|
};
|
|
20579
20821
|
};
|
|
20822
|
+
'/settings/github_app_stale_webhooks': {
|
|
20823
|
+
get: {
|
|
20824
|
+
res: {
|
|
20825
|
+
/**
|
|
20826
|
+
* repositories needing their git sync settings re-saved
|
|
20827
|
+
*/
|
|
20828
|
+
200: Array<{
|
|
20829
|
+
workspace_id: string;
|
|
20830
|
+
git_repo_resource_path: string;
|
|
20831
|
+
registered_url?: string | null;
|
|
20832
|
+
}>;
|
|
20833
|
+
};
|
|
20834
|
+
};
|
|
20835
|
+
};
|
|
20580
20836
|
'/settings/instance_config': {
|
|
20581
20837
|
get: {
|
|
20582
20838
|
res: {
|
|
@@ -20882,6 +21138,53 @@ export type $OpenApiTs = {
|
|
|
20882
21138
|
};
|
|
20883
21139
|
};
|
|
20884
21140
|
};
|
|
21141
|
+
'/w/{workspace}/dbt/run_progress': {
|
|
21142
|
+
post: {
|
|
21143
|
+
req: {
|
|
21144
|
+
requestBody: Array<{
|
|
21145
|
+
asset_path: string;
|
|
21146
|
+
status: string;
|
|
21147
|
+
row_count?: number;
|
|
21148
|
+
error?: string;
|
|
21149
|
+
}>;
|
|
21150
|
+
workspace: string;
|
|
21151
|
+
};
|
|
21152
|
+
res: {
|
|
21153
|
+
/**
|
|
21154
|
+
* recorded
|
|
21155
|
+
*/
|
|
21156
|
+
200: unknown;
|
|
21157
|
+
};
|
|
21158
|
+
};
|
|
21159
|
+
};
|
|
21160
|
+
'/w/{workspace}/dbt/warehouse/{name}': {
|
|
21161
|
+
get: {
|
|
21162
|
+
req: {
|
|
21163
|
+
name: string;
|
|
21164
|
+
workspace: string;
|
|
21165
|
+
};
|
|
21166
|
+
res: {
|
|
21167
|
+
/**
|
|
21168
|
+
* the connection the warehouse names
|
|
21169
|
+
*/
|
|
21170
|
+
200: DbtWarehouseConnection;
|
|
21171
|
+
};
|
|
21172
|
+
};
|
|
21173
|
+
};
|
|
21174
|
+
'/w/{workspace}/dbt/warehouse_exists/{name}': {
|
|
21175
|
+
get: {
|
|
21176
|
+
req: {
|
|
21177
|
+
name: string;
|
|
21178
|
+
workspace: string;
|
|
21179
|
+
};
|
|
21180
|
+
res: {
|
|
21181
|
+
/**
|
|
21182
|
+
* the warehouse is configured
|
|
21183
|
+
*/
|
|
21184
|
+
200: unknown;
|
|
21185
|
+
};
|
|
21186
|
+
};
|
|
21187
|
+
};
|
|
20885
21188
|
'/w/{workspace}/data_metrics/list': {
|
|
20886
21189
|
get: {
|
|
20887
21190
|
req: {
|
|
@@ -27062,7 +27365,7 @@ export type $OpenApiTs = {
|
|
|
27062
27365
|
*/
|
|
27063
27366
|
200: Array<{
|
|
27064
27367
|
subscriber_path: string;
|
|
27065
|
-
asset_kind: 's3object' | 'resource' | 'variable' | 'ducklake' | 'datatable' | 'volume';
|
|
27368
|
+
asset_kind: 's3object' | 'resource' | 'variable' | 'ducklake' | 'datatable' | 'volume' | 'dbt';
|
|
27066
27369
|
asset_path: string;
|
|
27067
27370
|
outcome: 'dispatched' | 'join_pending' | 'skipped';
|
|
27068
27371
|
child_job_id?: string;
|
|
@@ -27101,7 +27404,7 @@ export type $OpenApiTs = {
|
|
|
27101
27404
|
child_job_id?: string;
|
|
27102
27405
|
subscriber_path: string;
|
|
27103
27406
|
outcome: 'dispatched' | 'join_pending';
|
|
27104
|
-
asset_kind: 's3object' | 'resource' | 'variable' | 'ducklake' | 'datatable' | 'volume';
|
|
27407
|
+
asset_kind: 's3object' | 'resource' | 'variable' | 'ducklake' | 'datatable' | 'volume' | 'dbt';
|
|
27105
27408
|
asset_path: string;
|
|
27106
27409
|
created_at: string;
|
|
27107
27410
|
}>;
|
|
@@ -27736,6 +28039,84 @@ export type $OpenApiTs = {
|
|
|
27736
28039
|
};
|
|
27737
28040
|
};
|
|
27738
28041
|
};
|
|
28042
|
+
'/w/{workspace}/jobs/dbt_resumable/{id}': {
|
|
28043
|
+
get: {
|
|
28044
|
+
req: {
|
|
28045
|
+
/**
|
|
28046
|
+
* The job whose script and principal decide the saved failure
|
|
28047
|
+
*/
|
|
28048
|
+
id: string;
|
|
28049
|
+
workspace: string;
|
|
28050
|
+
};
|
|
28051
|
+
res: {
|
|
28052
|
+
/**
|
|
28053
|
+
* this job's id when a retry would resume it, or null
|
|
28054
|
+
*/
|
|
28055
|
+
200: string | null;
|
|
28056
|
+
};
|
|
28057
|
+
};
|
|
28058
|
+
};
|
|
28059
|
+
'/w/{workspace}/jobs/dbt_resumable_script/p/{path}': {
|
|
28060
|
+
get: {
|
|
28061
|
+
req: {
|
|
28062
|
+
path: string;
|
|
28063
|
+
workspace: string;
|
|
28064
|
+
};
|
|
28065
|
+
res: {
|
|
28066
|
+
/**
|
|
28067
|
+
* the job id a retry would resume, or null
|
|
28068
|
+
*/
|
|
28069
|
+
200: string | null;
|
|
28070
|
+
};
|
|
28071
|
+
};
|
|
28072
|
+
};
|
|
28073
|
+
'/w/{workspace}/jobs/dbt_graph/{id}': {
|
|
28074
|
+
get: {
|
|
28075
|
+
req: {
|
|
28076
|
+
/**
|
|
28077
|
+
* Filter by asset kinds (comma-separated list)
|
|
28078
|
+
*/
|
|
28079
|
+
assetKinds?: string;
|
|
28080
|
+
/**
|
|
28081
|
+
* Fallback only, for a job that names no deployed script — a preview or a flow. For a script job the version comes from the job row itself, so this is ignored: which deploy's models, SQL and `ref()` lineage are shown is not the caller's to choose.
|
|
28082
|
+
*
|
|
28083
|
+
*/
|
|
28084
|
+
dbtScriptHash?: string;
|
|
28085
|
+
/**
|
|
28086
|
+
* Scope the graph to runnables in a single folder
|
|
28087
|
+
*/
|
|
28088
|
+
folder?: string;
|
|
28089
|
+
/**
|
|
28090
|
+
* The job whose graph to render
|
|
28091
|
+
*/
|
|
28092
|
+
id: string;
|
|
28093
|
+
workspace: string;
|
|
28094
|
+
};
|
|
28095
|
+
res: {
|
|
28096
|
+
/**
|
|
28097
|
+
* asset graph nodes, lineage edges and trigger edges
|
|
28098
|
+
*/
|
|
28099
|
+
200: AssetGraph;
|
|
28100
|
+
};
|
|
28101
|
+
};
|
|
28102
|
+
};
|
|
28103
|
+
'/w/{workspace}/jobs/run_progress/{id}': {
|
|
28104
|
+
get: {
|
|
28105
|
+
req: {
|
|
28106
|
+
/**
|
|
28107
|
+
* The job whose per-relation progress to read
|
|
28108
|
+
*/
|
|
28109
|
+
id: string;
|
|
28110
|
+
workspace: string;
|
|
28111
|
+
};
|
|
28112
|
+
res: {
|
|
28113
|
+
/**
|
|
28114
|
+
* per-relation status for this run
|
|
28115
|
+
*/
|
|
28116
|
+
200: Array<AssetProgress>;
|
|
28117
|
+
};
|
|
28118
|
+
};
|
|
28119
|
+
};
|
|
27739
28120
|
'/w/{workspace}/flow_conversations/list': {
|
|
27740
28121
|
get: {
|
|
27741
28122
|
req: {
|
|
@@ -32913,6 +33294,11 @@ export type $OpenApiTs = {
|
|
|
32913
33294
|
* Filter by asset kinds (comma-separated list)
|
|
32914
33295
|
*/
|
|
32915
33296
|
assetKinds?: string;
|
|
33297
|
+
/**
|
|
33298
|
+
* Render the dbt half of the graph as one version of a dbt script had it, rather than as the currently deployed one. Given this, `folder` no longer scopes the dbt nodes: the pinned version's own models and lineage are the answer, including models a later deploy removed.
|
|
33299
|
+
*
|
|
33300
|
+
*/
|
|
33301
|
+
dbtScriptHash?: string;
|
|
32916
33302
|
/**
|
|
32917
33303
|
* Scope the graph to runnables in a single folder
|
|
32918
33304
|
*/
|
|
@@ -32923,74 +33309,7 @@ export type $OpenApiTs = {
|
|
|
32923
33309
|
/**
|
|
32924
33310
|
* asset graph nodes, lineage edges and trigger edges
|
|
32925
33311
|
*/
|
|
32926
|
-
200:
|
|
32927
|
-
assets: Array<{
|
|
32928
|
-
kind: AssetKind;
|
|
32929
|
-
path: string;
|
|
32930
|
-
/**
|
|
32931
|
-
* Fork workspaces only — 'fork' when this ducklake asset was materialized in the fork itself, 'deferred' when reads fall back to the parent workspace's current table via a defer view. Omitted otherwise.
|
|
32932
|
-
*/
|
|
32933
|
-
fork_materialization?: 'fork' | 'deferred';
|
|
32934
|
-
}>;
|
|
32935
|
-
runnables: Array<{
|
|
32936
|
-
path: string;
|
|
32937
|
-
usage_kind: AssetUsageKind;
|
|
32938
|
-
/**
|
|
32939
|
-
* True iff the script is a pipeline member (deployed with `// pipeline`). Omitted when false.
|
|
32940
|
-
*/
|
|
32941
|
-
in_pipeline?: boolean;
|
|
32942
|
-
/**
|
|
32943
|
-
* Macros this script provides to the workspace registry (deployed `// macros` library). Omitted when empty.
|
|
32944
|
-
*/
|
|
32945
|
-
macros?: Array<{
|
|
32946
|
-
name: string;
|
|
32947
|
-
/**
|
|
32948
|
-
* verbatim parameter list
|
|
32949
|
-
*/
|
|
32950
|
-
params: string;
|
|
32951
|
-
is_table: boolean;
|
|
32952
|
-
}>;
|
|
32953
|
-
}>;
|
|
32954
|
-
edges: Array<{
|
|
32955
|
-
runnable_path: string;
|
|
32956
|
-
runnable_kind: AssetUsageKind;
|
|
32957
|
-
asset_kind: AssetKind;
|
|
32958
|
-
asset_path: string;
|
|
32959
|
-
access_type?: AssetUsageAccessType;
|
|
32960
|
-
}>;
|
|
32961
|
-
triggers: Array<({
|
|
32962
|
-
trigger_kind: 'asset';
|
|
32963
|
-
asset_kind: AssetKind;
|
|
32964
|
-
asset_path: string;
|
|
32965
|
-
runnable_kind: AssetUsageKind;
|
|
32966
|
-
runnable_path: string;
|
|
32967
|
-
} | {
|
|
32968
|
-
trigger_kind: 'schedule' | 'email' | 'kafka' | 'mqtt' | 'nats' | 'postgres' | 'sqs' | 'gcp';
|
|
32969
|
-
path: string;
|
|
32970
|
-
runnable_kind: AssetUsageKind;
|
|
32971
|
-
runnable_path: string;
|
|
32972
|
-
})>;
|
|
32973
|
-
/**
|
|
32974
|
-
* Macro-library → consumer edges (deploy-recorded call detection plus `// use`). Omitted when empty.
|
|
32975
|
-
*/
|
|
32976
|
-
macro_edges?: Array<{
|
|
32977
|
-
lib_path: string;
|
|
32978
|
-
consumer_path: string;
|
|
32979
|
-
macro_names: Array<(string)>;
|
|
32980
|
-
via_use: boolean;
|
|
32981
|
-
}>;
|
|
32982
|
-
/**
|
|
32983
|
-
* Ordering-only "must-run-after" edges — a `// data_test relationships` (or custom test reading a pipeline asset) requires the referenced asset's producer to run before the tested script. Not a data-consumption edge; fed into the cascade topo-sort so cold runs order correctly. Omitted when empty.
|
|
32984
|
-
*/
|
|
32985
|
-
test_edges?: Array<{
|
|
32986
|
-
producer_kind: AssetUsageKind;
|
|
32987
|
-
producer_path: string;
|
|
32988
|
-
runnable_kind: AssetUsageKind;
|
|
32989
|
-
runnable_path: string;
|
|
32990
|
-
asset_kind: AssetKind;
|
|
32991
|
-
asset_path: string;
|
|
32992
|
-
}>;
|
|
32993
|
-
};
|
|
33312
|
+
200: AssetGraph;
|
|
32994
33313
|
};
|
|
32995
33314
|
};
|
|
32996
33315
|
};
|