windmill-client 1.493.4 → 1.494.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/core/OpenAPI.js +1 -1
- package/dist/services.gen.d.ts +1 -1
- package/dist/services.gen.js +1 -1
- package/dist/types.gen.d.ts +196 -196
- package/package.json +1 -1
package/dist/core/OpenAPI.js
CHANGED
package/dist/services.gen.d.ts
CHANGED
|
@@ -2844,7 +2844,7 @@ export declare class JobService {
|
|
|
2844
2844
|
* @param data The data for the request.
|
|
2845
2845
|
* @param data.workspace
|
|
2846
2846
|
* @param data.path
|
|
2847
|
-
* @returns
|
|
2847
|
+
* @returns string job log
|
|
2848
2848
|
* @throws ApiError
|
|
2849
2849
|
*/
|
|
2850
2850
|
static getLogFileFromStore(data: GetLogFileFromStoreData): CancelablePromise<GetLogFileFromStoreResponse>;
|
package/dist/services.gen.js
CHANGED
|
@@ -5700,7 +5700,7 @@ class JobService {
|
|
|
5700
5700
|
* @param data The data for the request.
|
|
5701
5701
|
* @param data.workspace
|
|
5702
5702
|
* @param data.path
|
|
5703
|
-
* @returns
|
|
5703
|
+
* @returns string job log
|
|
5704
5704
|
* @throws ApiError
|
|
5705
5705
|
*/
|
|
5706
5706
|
static getLogFileFromStore(data) {
|
package/dist/types.gen.d.ts
CHANGED
|
@@ -1,3 +1,196 @@
|
|
|
1
|
+
export type OpenFlow = {
|
|
2
|
+
summary: string;
|
|
3
|
+
description?: string;
|
|
4
|
+
value: FlowValue;
|
|
5
|
+
schema?: {
|
|
6
|
+
[key: string]: unknown;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export type FlowValue = {
|
|
10
|
+
modules: Array<FlowModule>;
|
|
11
|
+
failure_module?: FlowModule;
|
|
12
|
+
preprocessor_module?: FlowModule;
|
|
13
|
+
same_worker?: boolean;
|
|
14
|
+
concurrent_limit?: number;
|
|
15
|
+
concurrency_key?: string;
|
|
16
|
+
concurrency_time_window_s?: number;
|
|
17
|
+
skip_expr?: string;
|
|
18
|
+
cache_ttl?: number;
|
|
19
|
+
priority?: number;
|
|
20
|
+
early_return?: string;
|
|
21
|
+
};
|
|
22
|
+
export type Retry = {
|
|
23
|
+
constant?: {
|
|
24
|
+
attempts?: number;
|
|
25
|
+
seconds?: number;
|
|
26
|
+
};
|
|
27
|
+
exponential?: {
|
|
28
|
+
attempts?: number;
|
|
29
|
+
multiplier?: number;
|
|
30
|
+
seconds?: number;
|
|
31
|
+
random_factor?: number;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export type StopAfterIf = {
|
|
35
|
+
skip_if_stopped?: boolean;
|
|
36
|
+
expr: string;
|
|
37
|
+
error_message?: string;
|
|
38
|
+
};
|
|
39
|
+
export type FlowModule = {
|
|
40
|
+
id: string;
|
|
41
|
+
value: FlowModuleValue;
|
|
42
|
+
stop_after_if?: StopAfterIf;
|
|
43
|
+
stop_after_all_iters_if?: StopAfterIf;
|
|
44
|
+
skip_if?: {
|
|
45
|
+
expr: string;
|
|
46
|
+
};
|
|
47
|
+
sleep?: InputTransform;
|
|
48
|
+
cache_ttl?: number;
|
|
49
|
+
timeout?: number;
|
|
50
|
+
delete_after_use?: boolean;
|
|
51
|
+
summary?: string;
|
|
52
|
+
mock?: {
|
|
53
|
+
enabled?: boolean;
|
|
54
|
+
return_value?: unknown;
|
|
55
|
+
};
|
|
56
|
+
suspend?: {
|
|
57
|
+
required_events?: number;
|
|
58
|
+
timeout?: number;
|
|
59
|
+
resume_form?: {
|
|
60
|
+
schema?: {
|
|
61
|
+
[key: string]: unknown;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
user_auth_required?: boolean;
|
|
65
|
+
user_groups_required?: InputTransform;
|
|
66
|
+
self_approval_disabled?: boolean;
|
|
67
|
+
hide_cancel?: boolean;
|
|
68
|
+
continue_on_disapprove_timeout?: boolean;
|
|
69
|
+
};
|
|
70
|
+
priority?: number;
|
|
71
|
+
continue_on_error?: boolean;
|
|
72
|
+
retry?: Retry;
|
|
73
|
+
};
|
|
74
|
+
export type InputTransform = StaticTransform | JavascriptTransform;
|
|
75
|
+
export type StaticTransform = {
|
|
76
|
+
value?: unknown;
|
|
77
|
+
type: 'static';
|
|
78
|
+
};
|
|
79
|
+
export type JavascriptTransform = {
|
|
80
|
+
expr: string;
|
|
81
|
+
type: 'javascript';
|
|
82
|
+
};
|
|
83
|
+
export type FlowModuleValue = RawScript | PathScript | PathFlow | ForloopFlow | WhileloopFlow | BranchOne | BranchAll | Identity;
|
|
84
|
+
export type RawScript = {
|
|
85
|
+
input_transforms: {
|
|
86
|
+
[key: string]: InputTransform;
|
|
87
|
+
};
|
|
88
|
+
content: string;
|
|
89
|
+
language: 'deno' | 'bun' | 'python3' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'oracledb' | 'graphql' | 'nativets' | 'php';
|
|
90
|
+
path?: string;
|
|
91
|
+
lock?: string;
|
|
92
|
+
type: 'rawscript';
|
|
93
|
+
tag?: string;
|
|
94
|
+
concurrent_limit?: number;
|
|
95
|
+
concurrency_time_window_s?: number;
|
|
96
|
+
custom_concurrency_key?: string;
|
|
97
|
+
is_trigger?: boolean;
|
|
98
|
+
};
|
|
99
|
+
export type PathScript = {
|
|
100
|
+
input_transforms: {
|
|
101
|
+
[key: string]: InputTransform;
|
|
102
|
+
};
|
|
103
|
+
path: string;
|
|
104
|
+
hash?: string;
|
|
105
|
+
type: 'script';
|
|
106
|
+
tag_override?: string;
|
|
107
|
+
is_trigger?: boolean;
|
|
108
|
+
};
|
|
109
|
+
export type PathFlow = {
|
|
110
|
+
input_transforms: {
|
|
111
|
+
[key: string]: InputTransform;
|
|
112
|
+
};
|
|
113
|
+
path: string;
|
|
114
|
+
type: 'flow';
|
|
115
|
+
};
|
|
116
|
+
export type ForloopFlow = {
|
|
117
|
+
modules: Array<FlowModule>;
|
|
118
|
+
iterator: InputTransform;
|
|
119
|
+
skip_failures: boolean;
|
|
120
|
+
type: 'forloopflow';
|
|
121
|
+
parallel?: boolean;
|
|
122
|
+
parallelism?: number;
|
|
123
|
+
};
|
|
124
|
+
export type WhileloopFlow = {
|
|
125
|
+
modules: Array<FlowModule>;
|
|
126
|
+
skip_failures: boolean;
|
|
127
|
+
type: 'whileloopflow';
|
|
128
|
+
parallel?: boolean;
|
|
129
|
+
parallelism?: number;
|
|
130
|
+
};
|
|
131
|
+
export type BranchOne = {
|
|
132
|
+
branches: Array<{
|
|
133
|
+
summary?: string;
|
|
134
|
+
expr: string;
|
|
135
|
+
modules: Array<FlowModule>;
|
|
136
|
+
}>;
|
|
137
|
+
default: Array<FlowModule>;
|
|
138
|
+
type: 'branchone';
|
|
139
|
+
};
|
|
140
|
+
export type BranchAll = {
|
|
141
|
+
branches: Array<{
|
|
142
|
+
summary?: string;
|
|
143
|
+
skip_failure?: boolean;
|
|
144
|
+
modules: Array<FlowModule>;
|
|
145
|
+
}>;
|
|
146
|
+
type: 'branchall';
|
|
147
|
+
parallel?: boolean;
|
|
148
|
+
};
|
|
149
|
+
export type Identity = {
|
|
150
|
+
type: 'identity';
|
|
151
|
+
flow?: boolean;
|
|
152
|
+
};
|
|
153
|
+
export type FlowStatus = {
|
|
154
|
+
step: number;
|
|
155
|
+
modules: Array<FlowStatusModule>;
|
|
156
|
+
user_states?: unknown;
|
|
157
|
+
preprocessor_module?: FlowStatusModule;
|
|
158
|
+
failure_module: FlowStatusModule & {
|
|
159
|
+
parent_module?: string;
|
|
160
|
+
};
|
|
161
|
+
retry?: {
|
|
162
|
+
fail_count?: number;
|
|
163
|
+
failed_jobs?: Array<(string)>;
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
export type FlowStatusModule = {
|
|
167
|
+
type: 'WaitingForPriorSteps' | 'WaitingForEvents' | 'WaitingForExecutor' | 'InProgress' | 'Success' | 'Failure';
|
|
168
|
+
id?: string;
|
|
169
|
+
job?: string;
|
|
170
|
+
count?: number;
|
|
171
|
+
progress?: number;
|
|
172
|
+
iterator?: {
|
|
173
|
+
index?: number;
|
|
174
|
+
itered?: Array<unknown>;
|
|
175
|
+
args?: unknown;
|
|
176
|
+
};
|
|
177
|
+
flow_jobs?: Array<(string)>;
|
|
178
|
+
flow_jobs_success?: Array<(boolean)>;
|
|
179
|
+
branch_chosen?: {
|
|
180
|
+
type: 'branch' | 'default';
|
|
181
|
+
branch?: number;
|
|
182
|
+
};
|
|
183
|
+
branchall?: {
|
|
184
|
+
branch: number;
|
|
185
|
+
len: number;
|
|
186
|
+
};
|
|
187
|
+
approvers?: Array<{
|
|
188
|
+
resume_id: number;
|
|
189
|
+
approver: string;
|
|
190
|
+
}>;
|
|
191
|
+
failed_retries?: Array<(string)>;
|
|
192
|
+
skipped?: boolean;
|
|
193
|
+
};
|
|
1
194
|
export type AIProvider = 'openai' | 'azure_openai' | 'anthropic' | 'mistral' | 'deepseek' | 'googleai' | 'groq' | 'openrouter' | 'togetherai' | 'customai';
|
|
2
195
|
export type AIProviderModel = {
|
|
3
196
|
model: string;
|
|
@@ -1110,7 +1303,7 @@ export type TokenResponse = {
|
|
|
1110
1303
|
refresh_token?: string;
|
|
1111
1304
|
scope?: Array<(string)>;
|
|
1112
1305
|
};
|
|
1113
|
-
export type HubScriptKind =
|
|
1306
|
+
export type HubScriptKind = 'script' | 'failure' | 'trigger' | 'approval';
|
|
1114
1307
|
export type PolarsClientKwargs = {
|
|
1115
1308
|
region_name: string;
|
|
1116
1309
|
};
|
|
@@ -1401,199 +1594,6 @@ export type TeamsChannel = {
|
|
|
1401
1594
|
*/
|
|
1402
1595
|
channel_name: string;
|
|
1403
1596
|
};
|
|
1404
|
-
export type OpenFlow = {
|
|
1405
|
-
summary: string;
|
|
1406
|
-
description?: string;
|
|
1407
|
-
value: FlowValue;
|
|
1408
|
-
schema?: {
|
|
1409
|
-
[key: string]: unknown;
|
|
1410
|
-
};
|
|
1411
|
-
};
|
|
1412
|
-
export type FlowValue = {
|
|
1413
|
-
modules: Array<FlowModule>;
|
|
1414
|
-
failure_module?: FlowModule;
|
|
1415
|
-
preprocessor_module?: FlowModule;
|
|
1416
|
-
same_worker?: boolean;
|
|
1417
|
-
concurrent_limit?: number;
|
|
1418
|
-
concurrency_key?: string;
|
|
1419
|
-
concurrency_time_window_s?: number;
|
|
1420
|
-
skip_expr?: string;
|
|
1421
|
-
cache_ttl?: number;
|
|
1422
|
-
priority?: number;
|
|
1423
|
-
early_return?: string;
|
|
1424
|
-
};
|
|
1425
|
-
export type Retry = {
|
|
1426
|
-
constant?: {
|
|
1427
|
-
attempts?: number;
|
|
1428
|
-
seconds?: number;
|
|
1429
|
-
};
|
|
1430
|
-
exponential?: {
|
|
1431
|
-
attempts?: number;
|
|
1432
|
-
multiplier?: number;
|
|
1433
|
-
seconds?: number;
|
|
1434
|
-
random_factor?: number;
|
|
1435
|
-
};
|
|
1436
|
-
};
|
|
1437
|
-
export type StopAfterIf = {
|
|
1438
|
-
skip_if_stopped?: boolean;
|
|
1439
|
-
expr: string;
|
|
1440
|
-
error_message?: string;
|
|
1441
|
-
};
|
|
1442
|
-
export type FlowModule = {
|
|
1443
|
-
id: string;
|
|
1444
|
-
value: FlowModuleValue;
|
|
1445
|
-
stop_after_if?: StopAfterIf;
|
|
1446
|
-
stop_after_all_iters_if?: StopAfterIf;
|
|
1447
|
-
skip_if?: {
|
|
1448
|
-
expr: string;
|
|
1449
|
-
};
|
|
1450
|
-
sleep?: InputTransform;
|
|
1451
|
-
cache_ttl?: number;
|
|
1452
|
-
timeout?: number;
|
|
1453
|
-
delete_after_use?: boolean;
|
|
1454
|
-
summary?: string;
|
|
1455
|
-
mock?: {
|
|
1456
|
-
enabled?: boolean;
|
|
1457
|
-
return_value?: unknown;
|
|
1458
|
-
};
|
|
1459
|
-
suspend?: {
|
|
1460
|
-
required_events?: number;
|
|
1461
|
-
timeout?: number;
|
|
1462
|
-
resume_form?: {
|
|
1463
|
-
schema?: {
|
|
1464
|
-
[key: string]: unknown;
|
|
1465
|
-
};
|
|
1466
|
-
};
|
|
1467
|
-
user_auth_required?: boolean;
|
|
1468
|
-
user_groups_required?: InputTransform;
|
|
1469
|
-
self_approval_disabled?: boolean;
|
|
1470
|
-
hide_cancel?: boolean;
|
|
1471
|
-
continue_on_disapprove_timeout?: boolean;
|
|
1472
|
-
};
|
|
1473
|
-
priority?: number;
|
|
1474
|
-
continue_on_error?: boolean;
|
|
1475
|
-
retry?: Retry;
|
|
1476
|
-
};
|
|
1477
|
-
export type InputTransform = StaticTransform | JavascriptTransform;
|
|
1478
|
-
export type StaticTransform = {
|
|
1479
|
-
value?: unknown;
|
|
1480
|
-
type: 'static';
|
|
1481
|
-
};
|
|
1482
|
-
export type JavascriptTransform = {
|
|
1483
|
-
expr: string;
|
|
1484
|
-
type: 'javascript';
|
|
1485
|
-
};
|
|
1486
|
-
export type FlowModuleValue = RawScript | PathScript | PathFlow | ForloopFlow | WhileloopFlow | BranchOne | BranchAll | Identity;
|
|
1487
|
-
export type RawScript = {
|
|
1488
|
-
input_transforms: {
|
|
1489
|
-
[key: string]: InputTransform;
|
|
1490
|
-
};
|
|
1491
|
-
content: string;
|
|
1492
|
-
language: 'deno' | 'bun' | 'python3' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'oracledb' | 'graphql' | 'nativets' | 'php';
|
|
1493
|
-
path?: string;
|
|
1494
|
-
lock?: string;
|
|
1495
|
-
type: 'rawscript';
|
|
1496
|
-
tag?: string;
|
|
1497
|
-
concurrent_limit?: number;
|
|
1498
|
-
concurrency_time_window_s?: number;
|
|
1499
|
-
custom_concurrency_key?: string;
|
|
1500
|
-
is_trigger?: boolean;
|
|
1501
|
-
};
|
|
1502
|
-
export type PathScript = {
|
|
1503
|
-
input_transforms: {
|
|
1504
|
-
[key: string]: InputTransform;
|
|
1505
|
-
};
|
|
1506
|
-
path: string;
|
|
1507
|
-
hash?: string;
|
|
1508
|
-
type: 'script';
|
|
1509
|
-
tag_override?: string;
|
|
1510
|
-
is_trigger?: boolean;
|
|
1511
|
-
};
|
|
1512
|
-
export type PathFlow = {
|
|
1513
|
-
input_transforms: {
|
|
1514
|
-
[key: string]: InputTransform;
|
|
1515
|
-
};
|
|
1516
|
-
path: string;
|
|
1517
|
-
type: 'flow';
|
|
1518
|
-
};
|
|
1519
|
-
export type ForloopFlow = {
|
|
1520
|
-
modules: Array<FlowModule>;
|
|
1521
|
-
iterator: InputTransform;
|
|
1522
|
-
skip_failures: boolean;
|
|
1523
|
-
type: 'forloopflow';
|
|
1524
|
-
parallel?: boolean;
|
|
1525
|
-
parallelism?: number;
|
|
1526
|
-
};
|
|
1527
|
-
export type WhileloopFlow = {
|
|
1528
|
-
modules: Array<FlowModule>;
|
|
1529
|
-
skip_failures: boolean;
|
|
1530
|
-
type: 'whileloopflow';
|
|
1531
|
-
parallel?: boolean;
|
|
1532
|
-
parallelism?: number;
|
|
1533
|
-
};
|
|
1534
|
-
export type BranchOne = {
|
|
1535
|
-
branches: Array<{
|
|
1536
|
-
summary?: string;
|
|
1537
|
-
expr: string;
|
|
1538
|
-
modules: Array<FlowModule>;
|
|
1539
|
-
}>;
|
|
1540
|
-
default: Array<FlowModule>;
|
|
1541
|
-
type: 'branchone';
|
|
1542
|
-
};
|
|
1543
|
-
export type BranchAll = {
|
|
1544
|
-
branches: Array<{
|
|
1545
|
-
summary?: string;
|
|
1546
|
-
skip_failure?: boolean;
|
|
1547
|
-
modules: Array<FlowModule>;
|
|
1548
|
-
}>;
|
|
1549
|
-
type: 'branchall';
|
|
1550
|
-
parallel?: boolean;
|
|
1551
|
-
};
|
|
1552
|
-
export type Identity = {
|
|
1553
|
-
type: 'identity';
|
|
1554
|
-
flow?: boolean;
|
|
1555
|
-
};
|
|
1556
|
-
export type FlowStatus = {
|
|
1557
|
-
step: number;
|
|
1558
|
-
modules: Array<FlowStatusModule>;
|
|
1559
|
-
user_states?: unknown;
|
|
1560
|
-
preprocessor_module?: FlowStatusModule;
|
|
1561
|
-
failure_module: FlowStatusModule & {
|
|
1562
|
-
parent_module?: string;
|
|
1563
|
-
};
|
|
1564
|
-
retry?: {
|
|
1565
|
-
fail_count?: number;
|
|
1566
|
-
failed_jobs?: Array<(string)>;
|
|
1567
|
-
};
|
|
1568
|
-
};
|
|
1569
|
-
export type FlowStatusModule = {
|
|
1570
|
-
type: 'WaitingForPriorSteps' | 'WaitingForEvents' | 'WaitingForExecutor' | 'InProgress' | 'Success' | 'Failure';
|
|
1571
|
-
id?: string;
|
|
1572
|
-
job?: string;
|
|
1573
|
-
count?: number;
|
|
1574
|
-
progress?: number;
|
|
1575
|
-
iterator?: {
|
|
1576
|
-
index?: number;
|
|
1577
|
-
itered?: Array<unknown>;
|
|
1578
|
-
args?: unknown;
|
|
1579
|
-
};
|
|
1580
|
-
flow_jobs?: Array<(string)>;
|
|
1581
|
-
flow_jobs_success?: Array<(boolean)>;
|
|
1582
|
-
branch_chosen?: {
|
|
1583
|
-
type: 'branch' | 'default';
|
|
1584
|
-
branch?: number;
|
|
1585
|
-
};
|
|
1586
|
-
branchall?: {
|
|
1587
|
-
branch: number;
|
|
1588
|
-
len: number;
|
|
1589
|
-
};
|
|
1590
|
-
approvers?: Array<{
|
|
1591
|
-
resume_id: number;
|
|
1592
|
-
approver: string;
|
|
1593
|
-
}>;
|
|
1594
|
-
failed_retries?: Array<(string)>;
|
|
1595
|
-
skipped?: boolean;
|
|
1596
|
-
};
|
|
1597
1597
|
export type ParameterId = string;
|
|
1598
1598
|
export type ParameterKey = string;
|
|
1599
1599
|
export type ParameterWorkspaceId = string;
|
|
@@ -4994,7 +4994,7 @@ export type GetLogFileFromStoreData = {
|
|
|
4994
4994
|
path: string;
|
|
4995
4995
|
workspace: string;
|
|
4996
4996
|
};
|
|
4997
|
-
export type GetLogFileFromStoreResponse =
|
|
4997
|
+
export type GetLogFileFromStoreResponse = string;
|
|
4998
4998
|
export type GetFlowDebugInfoData = {
|
|
4999
4999
|
id: string;
|
|
5000
5000
|
workspace: string;
|
|
@@ -12700,7 +12700,7 @@ export type $OpenApiTs = {
|
|
|
12700
12700
|
/**
|
|
12701
12701
|
* job log
|
|
12702
12702
|
*/
|
|
12703
|
-
200:
|
|
12703
|
+
200: string;
|
|
12704
12704
|
};
|
|
12705
12705
|
};
|
|
12706
12706
|
};
|