windmill-client 1.717.0 → 1.718.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.mjs +1 -1
- package/dist/index.js +11 -1
- package/dist/services.gen.d.ts +5 -0
- package/dist/services.gen.mjs +10 -0
- package/dist/types.gen.d.ts +36 -0
- package/package.json +1 -1
package/dist/core/OpenAPI.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -126,7 +126,7 @@ const OpenAPI = {
|
|
|
126
126
|
PASSWORD: void 0,
|
|
127
127
|
TOKEN: getEnv$1("WM_TOKEN"),
|
|
128
128
|
USERNAME: void 0,
|
|
129
|
-
VERSION: "1.
|
|
129
|
+
VERSION: "1.718.0",
|
|
130
130
|
WITH_CREDENTIALS: true,
|
|
131
131
|
interceptors: {
|
|
132
132
|
request: new Interceptors(),
|
|
@@ -8175,6 +8175,7 @@ var JobService = class {
|
|
|
8175
8175
|
* @param data.isFlowStep is the job a flow step
|
|
8176
8176
|
* @param data.hasNullParent has null parent
|
|
8177
8177
|
* @param data.success filter on successful jobs
|
|
8178
|
+
* @param data.status filter on the exact completed job status. Unlike `success=true` (which also matches `skipped`), `status=success` matches only `success`.
|
|
8178
8179
|
* @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace)
|
|
8179
8180
|
* @param data.isNotSchedule is not a scheduled job
|
|
8180
8181
|
* @returns string uuids of jobs
|
|
@@ -8215,6 +8216,7 @@ var JobService = class {
|
|
|
8215
8216
|
is_flow_step: data.isFlowStep,
|
|
8216
8217
|
has_null_parent: data.hasNullParent,
|
|
8217
8218
|
success: data.success,
|
|
8219
|
+
status: data.status,
|
|
8218
8220
|
all_workspaces: data.allWorkspaces,
|
|
8219
8221
|
is_not_schedule: data.isNotSchedule
|
|
8220
8222
|
}
|
|
@@ -8339,6 +8341,7 @@ var JobService = class {
|
|
|
8339
8341
|
* @param data.startedBefore filter on started before (inclusive) timestamp
|
|
8340
8342
|
* @param data.startedAfter filter on started after (exclusive) timestamp
|
|
8341
8343
|
* @param data.success filter on successful jobs
|
|
8344
|
+
* @param data.status filter on the exact completed job status. Unlike `success=true` (which also matches `skipped`), `status=success` matches only `success`.
|
|
8342
8345
|
* @param data.jobKinds filter by job kind. Supports comma-separated list of values ('preview', 'script', 'dependencies', 'flow') and negation by prefixing all values with '!' (e.g. '!preview,!dependencies')
|
|
8343
8346
|
* @param data.args filter on jobs containing those args as a json subset (@> in postgres)
|
|
8344
8347
|
* @param data.result filter on jobs containing those result as a json subset (@> in postgres)
|
|
@@ -8371,6 +8374,7 @@ var JobService = class {
|
|
|
8371
8374
|
started_before: data.startedBefore,
|
|
8372
8375
|
started_after: data.startedAfter,
|
|
8373
8376
|
success: data.success,
|
|
8377
|
+
status: data.status,
|
|
8374
8378
|
job_kinds: data.jobKinds,
|
|
8375
8379
|
args: data.args,
|
|
8376
8380
|
result: data.result,
|
|
@@ -8510,6 +8514,7 @@ var JobService = class {
|
|
|
8510
8514
|
* @param data.isFlowStep is the job a flow step
|
|
8511
8515
|
* @param data.hasNullParent has null parent
|
|
8512
8516
|
* @param data.success filter on successful jobs
|
|
8517
|
+
* @param data.status filter on the exact completed job status. Unlike `success=true` (which also matches `skipped`), `status=success` matches only `success`.
|
|
8513
8518
|
* @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace)
|
|
8514
8519
|
* @param data.isNotSchedule is not a scheduled job
|
|
8515
8520
|
* @param data.excludesEntrypointOverride exclude jobs that were started with a `_ENTRYPOINT_OVERRIDE` arg (e.g. dynamic-select helper runs and preprocessor previews)
|
|
@@ -8553,6 +8558,7 @@ var JobService = class {
|
|
|
8553
8558
|
is_flow_step: data.isFlowStep,
|
|
8554
8559
|
has_null_parent: data.hasNullParent,
|
|
8555
8560
|
success: data.success,
|
|
8561
|
+
status: data.status,
|
|
8556
8562
|
all_workspaces: data.allWorkspaces,
|
|
8557
8563
|
is_not_schedule: data.isNotSchedule,
|
|
8558
8564
|
excludes_entrypoint_override: data.excludesEntrypointOverride,
|
|
@@ -9423,6 +9429,7 @@ var JobService = class {
|
|
|
9423
9429
|
* @param data.isFlowStep is the job a flow step
|
|
9424
9430
|
* @param data.hasNullParent has null parent
|
|
9425
9431
|
* @param data.success filter on successful jobs
|
|
9432
|
+
* @param data.status filter on the exact completed job status. Unlike `success=true` (which also matches `skipped`), `status=success` matches only `success`.
|
|
9426
9433
|
* @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace)
|
|
9427
9434
|
* @param data.isNotSchedule is not a scheduled job
|
|
9428
9435
|
* @returns ExtendedJobs time
|
|
@@ -9463,6 +9470,7 @@ var JobService = class {
|
|
|
9463
9470
|
is_flow_step: data.isFlowStep,
|
|
9464
9471
|
has_null_parent: data.hasNullParent,
|
|
9465
9472
|
success: data.success,
|
|
9473
|
+
status: data.status,
|
|
9466
9474
|
all_workspaces: data.allWorkspaces,
|
|
9467
9475
|
is_not_schedule: data.isNotSchedule
|
|
9468
9476
|
}
|
|
@@ -14188,6 +14196,7 @@ var ConcurrencyGroupsService = class {
|
|
|
14188
14196
|
* @param data.isFlowStep is the job a flow step
|
|
14189
14197
|
* @param data.hasNullParent has null parent
|
|
14190
14198
|
* @param data.success filter on successful jobs
|
|
14199
|
+
* @param data.status filter on the exact completed job status. Unlike `success=true` (which also matches `skipped`), `status=success` matches only `success`.
|
|
14191
14200
|
* @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace)
|
|
14192
14201
|
* @param data.isNotSchedule is not a scheduled job
|
|
14193
14202
|
* @returns ExtendedJobs time
|
|
@@ -14228,6 +14237,7 @@ var ConcurrencyGroupsService = class {
|
|
|
14228
14237
|
is_flow_step: data.isFlowStep,
|
|
14229
14238
|
has_null_parent: data.hasNullParent,
|
|
14230
14239
|
success: data.success,
|
|
14240
|
+
status: data.status,
|
|
14231
14241
|
all_workspaces: data.allWorkspaces,
|
|
14232
14242
|
is_not_schedule: data.isNotSchedule
|
|
14233
14243
|
}
|
package/dist/services.gen.d.ts
CHANGED
|
@@ -4159,6 +4159,7 @@ export declare class JobService {
|
|
|
4159
4159
|
* @param data.isFlowStep is the job a flow step
|
|
4160
4160
|
* @param data.hasNullParent has null parent
|
|
4161
4161
|
* @param data.success filter on successful jobs
|
|
4162
|
+
* @param data.status filter on the exact completed job status. Unlike `success=true` (which also matches `skipped`), `status=success` matches only `success`.
|
|
4162
4163
|
* @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace)
|
|
4163
4164
|
* @param data.isNotSchedule is not a scheduled job
|
|
4164
4165
|
* @returns string uuids of jobs
|
|
@@ -4232,6 +4233,7 @@ export declare class JobService {
|
|
|
4232
4233
|
* @param data.startedBefore filter on started before (inclusive) timestamp
|
|
4233
4234
|
* @param data.startedAfter filter on started after (exclusive) timestamp
|
|
4234
4235
|
* @param data.success filter on successful jobs
|
|
4236
|
+
* @param data.status filter on the exact completed job status. Unlike `success=true` (which also matches `skipped`), `status=success` matches only `success`.
|
|
4235
4237
|
* @param data.jobKinds filter by job kind. Supports comma-separated list of values ('preview', 'script', 'dependencies', 'flow') and negation by prefixing all values with '!' (e.g. '!preview,!dependencies')
|
|
4236
4238
|
* @param data.args filter on jobs containing those args as a json subset (@> in postgres)
|
|
4237
4239
|
* @param data.result filter on jobs containing those result as a json subset (@> in postgres)
|
|
@@ -4328,6 +4330,7 @@ export declare class JobService {
|
|
|
4328
4330
|
* @param data.isFlowStep is the job a flow step
|
|
4329
4331
|
* @param data.hasNullParent has null parent
|
|
4330
4332
|
* @param data.success filter on successful jobs
|
|
4333
|
+
* @param data.status filter on the exact completed job status. Unlike `success=true` (which also matches `skipped`), `status=success` matches only `success`.
|
|
4331
4334
|
* @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace)
|
|
4332
4335
|
* @param data.isNotSchedule is not a scheduled job
|
|
4333
4336
|
* @param data.excludesEntrypointOverride exclude jobs that were started with a `_ENTRYPOINT_OVERRIDE` arg (e.g. dynamic-select helper runs and preprocessor previews)
|
|
@@ -4776,6 +4779,7 @@ export declare class JobService {
|
|
|
4776
4779
|
* @param data.isFlowStep is the job a flow step
|
|
4777
4780
|
* @param data.hasNullParent has null parent
|
|
4778
4781
|
* @param data.success filter on successful jobs
|
|
4782
|
+
* @param data.status filter on the exact completed job status. Unlike `success=true` (which also matches `skipped`), `status=success` matches only `success`.
|
|
4779
4783
|
* @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace)
|
|
4780
4784
|
* @param data.isNotSchedule is not a scheduled job
|
|
4781
4785
|
* @returns ExtendedJobs time
|
|
@@ -7211,6 +7215,7 @@ export declare class ConcurrencyGroupsService {
|
|
|
7211
7215
|
* @param data.isFlowStep is the job a flow step
|
|
7212
7216
|
* @param data.hasNullParent has null parent
|
|
7213
7217
|
* @param data.success filter on successful jobs
|
|
7218
|
+
* @param data.status filter on the exact completed job status. Unlike `success=true` (which also matches `skipped`), `status=success` matches only `success`.
|
|
7214
7219
|
* @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace)
|
|
7215
7220
|
* @param data.isNotSchedule is not a scheduled job
|
|
7216
7221
|
* @returns ExtendedJobs time
|
package/dist/services.gen.mjs
CHANGED
|
@@ -7807,6 +7807,7 @@ var JobService = class {
|
|
|
7807
7807
|
* @param data.isFlowStep is the job a flow step
|
|
7808
7808
|
* @param data.hasNullParent has null parent
|
|
7809
7809
|
* @param data.success filter on successful jobs
|
|
7810
|
+
* @param data.status filter on the exact completed job status. Unlike `success=true` (which also matches `skipped`), `status=success` matches only `success`.
|
|
7810
7811
|
* @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace)
|
|
7811
7812
|
* @param data.isNotSchedule is not a scheduled job
|
|
7812
7813
|
* @returns string uuids of jobs
|
|
@@ -7847,6 +7848,7 @@ var JobService = class {
|
|
|
7847
7848
|
is_flow_step: data.isFlowStep,
|
|
7848
7849
|
has_null_parent: data.hasNullParent,
|
|
7849
7850
|
success: data.success,
|
|
7851
|
+
status: data.status,
|
|
7850
7852
|
all_workspaces: data.allWorkspaces,
|
|
7851
7853
|
is_not_schedule: data.isNotSchedule
|
|
7852
7854
|
}
|
|
@@ -7971,6 +7973,7 @@ var JobService = class {
|
|
|
7971
7973
|
* @param data.startedBefore filter on started before (inclusive) timestamp
|
|
7972
7974
|
* @param data.startedAfter filter on started after (exclusive) timestamp
|
|
7973
7975
|
* @param data.success filter on successful jobs
|
|
7976
|
+
* @param data.status filter on the exact completed job status. Unlike `success=true` (which also matches `skipped`), `status=success` matches only `success`.
|
|
7974
7977
|
* @param data.jobKinds filter by job kind. Supports comma-separated list of values ('preview', 'script', 'dependencies', 'flow') and negation by prefixing all values with '!' (e.g. '!preview,!dependencies')
|
|
7975
7978
|
* @param data.args filter on jobs containing those args as a json subset (@> in postgres)
|
|
7976
7979
|
* @param data.result filter on jobs containing those result as a json subset (@> in postgres)
|
|
@@ -8003,6 +8006,7 @@ var JobService = class {
|
|
|
8003
8006
|
started_before: data.startedBefore,
|
|
8004
8007
|
started_after: data.startedAfter,
|
|
8005
8008
|
success: data.success,
|
|
8009
|
+
status: data.status,
|
|
8006
8010
|
job_kinds: data.jobKinds,
|
|
8007
8011
|
args: data.args,
|
|
8008
8012
|
result: data.result,
|
|
@@ -8142,6 +8146,7 @@ var JobService = class {
|
|
|
8142
8146
|
* @param data.isFlowStep is the job a flow step
|
|
8143
8147
|
* @param data.hasNullParent has null parent
|
|
8144
8148
|
* @param data.success filter on successful jobs
|
|
8149
|
+
* @param data.status filter on the exact completed job status. Unlike `success=true` (which also matches `skipped`), `status=success` matches only `success`.
|
|
8145
8150
|
* @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace)
|
|
8146
8151
|
* @param data.isNotSchedule is not a scheduled job
|
|
8147
8152
|
* @param data.excludesEntrypointOverride exclude jobs that were started with a `_ENTRYPOINT_OVERRIDE` arg (e.g. dynamic-select helper runs and preprocessor previews)
|
|
@@ -8185,6 +8190,7 @@ var JobService = class {
|
|
|
8185
8190
|
is_flow_step: data.isFlowStep,
|
|
8186
8191
|
has_null_parent: data.hasNullParent,
|
|
8187
8192
|
success: data.success,
|
|
8193
|
+
status: data.status,
|
|
8188
8194
|
all_workspaces: data.allWorkspaces,
|
|
8189
8195
|
is_not_schedule: data.isNotSchedule,
|
|
8190
8196
|
excludes_entrypoint_override: data.excludesEntrypointOverride,
|
|
@@ -9055,6 +9061,7 @@ var JobService = class {
|
|
|
9055
9061
|
* @param data.isFlowStep is the job a flow step
|
|
9056
9062
|
* @param data.hasNullParent has null parent
|
|
9057
9063
|
* @param data.success filter on successful jobs
|
|
9064
|
+
* @param data.status filter on the exact completed job status. Unlike `success=true` (which also matches `skipped`), `status=success` matches only `success`.
|
|
9058
9065
|
* @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace)
|
|
9059
9066
|
* @param data.isNotSchedule is not a scheduled job
|
|
9060
9067
|
* @returns ExtendedJobs time
|
|
@@ -9095,6 +9102,7 @@ var JobService = class {
|
|
|
9095
9102
|
is_flow_step: data.isFlowStep,
|
|
9096
9103
|
has_null_parent: data.hasNullParent,
|
|
9097
9104
|
success: data.success,
|
|
9105
|
+
status: data.status,
|
|
9098
9106
|
all_workspaces: data.allWorkspaces,
|
|
9099
9107
|
is_not_schedule: data.isNotSchedule
|
|
9100
9108
|
}
|
|
@@ -13820,6 +13828,7 @@ var ConcurrencyGroupsService = class {
|
|
|
13820
13828
|
* @param data.isFlowStep is the job a flow step
|
|
13821
13829
|
* @param data.hasNullParent has null parent
|
|
13822
13830
|
* @param data.success filter on successful jobs
|
|
13831
|
+
* @param data.status filter on the exact completed job status. Unlike `success=true` (which also matches `skipped`), `status=success` matches only `success`.
|
|
13823
13832
|
* @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace)
|
|
13824
13833
|
* @param data.isNotSchedule is not a scheduled job
|
|
13825
13834
|
* @returns ExtendedJobs time
|
|
@@ -13860,6 +13869,7 @@ var ConcurrencyGroupsService = class {
|
|
|
13860
13869
|
is_flow_step: data.isFlowStep,
|
|
13861
13870
|
has_null_parent: data.hasNullParent,
|
|
13862
13871
|
success: data.success,
|
|
13872
|
+
status: data.status,
|
|
13863
13873
|
all_workspaces: data.allWorkspaces,
|
|
13864
13874
|
is_not_schedule: data.isNotSchedule
|
|
13865
13875
|
}
|
package/dist/types.gen.d.ts
CHANGED
|
@@ -207,6 +207,10 @@ export type StopAfterIf = {
|
|
|
207
207
|
* Custom error message when stopping with an error. Mutually exclusive with skip_if_stopped. If set to a non-empty string, the flow stops with this error. If empty string, a default error message is used. If null or omitted, no error is raised.
|
|
208
208
|
*/
|
|
209
209
|
error_message?: string | null;
|
|
210
|
+
/**
|
|
211
|
+
* When stopping with an error (error_message set), embed the stopping step's own result inside the raised error object (as error.result) instead of discarding it. The top-level result stays { error }. Defaults to false.
|
|
212
|
+
*/
|
|
213
|
+
error_include_result?: boolean;
|
|
210
214
|
};
|
|
211
215
|
/**
|
|
212
216
|
* A single step in a flow. Can be a script, subflow, loop, or branch
|
|
@@ -10431,6 +10435,10 @@ export type ListFilteredJobsUuidsData = {
|
|
|
10431
10435
|
* filter on started before (inclusive) timestamp
|
|
10432
10436
|
*/
|
|
10433
10437
|
startedBefore?: string;
|
|
10438
|
+
/**
|
|
10439
|
+
* filter on the exact completed job status. Unlike `success=true` (which also matches `skipped`), `status=success` matches only `success`.
|
|
10440
|
+
*/
|
|
10441
|
+
status?: 'success' | 'failure' | 'canceled' | 'skipped';
|
|
10434
10442
|
/**
|
|
10435
10443
|
* filter on successful jobs
|
|
10436
10444
|
*/
|
|
@@ -10641,6 +10649,10 @@ export type ListCompletedJobsData = {
|
|
|
10641
10649
|
* filter on started before (inclusive) timestamp
|
|
10642
10650
|
*/
|
|
10643
10651
|
startedBefore?: string;
|
|
10652
|
+
/**
|
|
10653
|
+
* filter on the exact completed job status. Unlike `success=true` (which also matches `skipped`), `status=success` matches only `success`.
|
|
10654
|
+
*/
|
|
10655
|
+
status?: 'success' | 'failure' | 'canceled' | 'skipped';
|
|
10644
10656
|
/**
|
|
10645
10657
|
* filter on successful jobs
|
|
10646
10658
|
*/
|
|
@@ -10812,6 +10824,10 @@ export type ListJobsData = {
|
|
|
10812
10824
|
* filter on started before (inclusive) timestamp
|
|
10813
10825
|
*/
|
|
10814
10826
|
startedBefore?: string;
|
|
10827
|
+
/**
|
|
10828
|
+
* filter on the exact completed job status. Unlike `success=true` (which also matches `skipped`), `status=success` matches only `success`.
|
|
10829
|
+
*/
|
|
10830
|
+
status?: 'success' | 'failure' | 'canceled' | 'skipped';
|
|
10815
10831
|
/**
|
|
10816
10832
|
* filter on successful jobs
|
|
10817
10833
|
*/
|
|
@@ -11323,6 +11339,10 @@ export type ListExtendedJobsData = {
|
|
|
11323
11339
|
* filter on started before (inclusive) timestamp
|
|
11324
11340
|
*/
|
|
11325
11341
|
startedBefore?: string;
|
|
11342
|
+
/**
|
|
11343
|
+
* filter on the exact completed job status. Unlike `success=true` (which also matches `skipped`), `status=success` matches only `success`.
|
|
11344
|
+
*/
|
|
11345
|
+
status?: 'success' | 'failure' | 'canceled' | 'skipped';
|
|
11326
11346
|
/**
|
|
11327
11347
|
* filter on successful jobs
|
|
11328
11348
|
*/
|
|
@@ -22526,6 +22546,10 @@ export type $OpenApiTs = {
|
|
|
22526
22546
|
* filter on started before (inclusive) timestamp
|
|
22527
22547
|
*/
|
|
22528
22548
|
startedBefore?: string;
|
|
22549
|
+
/**
|
|
22550
|
+
* filter on the exact completed job status. Unlike `success=true` (which also matches `skipped`), `status=success` matches only `success`.
|
|
22551
|
+
*/
|
|
22552
|
+
status?: 'success' | 'failure' | 'canceled' | 'skipped';
|
|
22529
22553
|
/**
|
|
22530
22554
|
* filter on successful jobs
|
|
22531
22555
|
*/
|
|
@@ -22772,6 +22796,10 @@ export type $OpenApiTs = {
|
|
|
22772
22796
|
* filter on started before (inclusive) timestamp
|
|
22773
22797
|
*/
|
|
22774
22798
|
startedBefore?: string;
|
|
22799
|
+
/**
|
|
22800
|
+
* filter on the exact completed job status. Unlike `success=true` (which also matches `skipped`), `status=success` matches only `success`.
|
|
22801
|
+
*/
|
|
22802
|
+
status?: 'success' | 'failure' | 'canceled' | 'skipped';
|
|
22775
22803
|
/**
|
|
22776
22804
|
* filter on successful jobs
|
|
22777
22805
|
*/
|
|
@@ -22997,6 +23025,10 @@ export type $OpenApiTs = {
|
|
|
22997
23025
|
* filter on started before (inclusive) timestamp
|
|
22998
23026
|
*/
|
|
22999
23027
|
startedBefore?: string;
|
|
23028
|
+
/**
|
|
23029
|
+
* filter on the exact completed job status. Unlike `success=true` (which also matches `skipped`), `status=success` matches only `success`.
|
|
23030
|
+
*/
|
|
23031
|
+
status?: 'success' | 'failure' | 'canceled' | 'skipped';
|
|
23000
23032
|
/**
|
|
23001
23033
|
* filter on successful jobs
|
|
23002
23034
|
*/
|
|
@@ -23844,6 +23876,10 @@ export type $OpenApiTs = {
|
|
|
23844
23876
|
* filter on started before (inclusive) timestamp
|
|
23845
23877
|
*/
|
|
23846
23878
|
startedBefore?: string;
|
|
23879
|
+
/**
|
|
23880
|
+
* filter on the exact completed job status. Unlike `success=true` (which also matches `skipped`), `status=success` matches only `success`.
|
|
23881
|
+
*/
|
|
23882
|
+
status?: 'success' | 'failure' | 'canceled' | 'skipped';
|
|
23847
23883
|
/**
|
|
23848
23884
|
* filter on successful jobs
|
|
23849
23885
|
*/
|