windmill-client 1.769.0 → 1.771.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 +42 -6
- package/dist/client.mjs +66 -12
- package/dist/core/OpenAPI.mjs +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.js +261 -19
- package/dist/index.mjs +3 -2
- package/dist/services.gen.d.ts +101 -1
- package/dist/services.gen.mjs +193 -7
- package/dist/types.gen.d.ts +436 -0
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -1480,6 +1480,48 @@ export type NewWorkspaceDependencies = {
|
|
|
1480
1480
|
description?: string;
|
|
1481
1481
|
content: string;
|
|
1482
1482
|
};
|
|
1483
|
+
/**
|
|
1484
|
+
* A row in the merged runnables listing. `type` is the discriminator;
|
|
1485
|
+
* kind-specific fields (hash/language/kind for scripts, execution_mode/
|
|
1486
|
+
* version for apps) are present only for that kind. `edited_at` is the
|
|
1487
|
+
* unified last-updated time (a script's created_at, a flow/app's edit
|
|
1488
|
+
* time).
|
|
1489
|
+
*
|
|
1490
|
+
*/
|
|
1491
|
+
export type RunnableItem = {
|
|
1492
|
+
type: 'script' | 'flow' | 'app';
|
|
1493
|
+
path: string;
|
|
1494
|
+
summary?: string;
|
|
1495
|
+
workspace_id?: string;
|
|
1496
|
+
extra_perms?: {
|
|
1497
|
+
[key: string]: (boolean);
|
|
1498
|
+
};
|
|
1499
|
+
starred?: boolean;
|
|
1500
|
+
archived?: boolean;
|
|
1501
|
+
is_draft?: boolean;
|
|
1502
|
+
draft_only?: boolean | null;
|
|
1503
|
+
draft_path?: string;
|
|
1504
|
+
draft_users?: Array<{
|
|
1505
|
+
[key: string]: unknown;
|
|
1506
|
+
}>;
|
|
1507
|
+
labels?: Array<(string)>;
|
|
1508
|
+
inherited_labels?: Array<(string)>;
|
|
1509
|
+
ws_error_handler_muted?: boolean;
|
|
1510
|
+
edited_at?: string;
|
|
1511
|
+
/**
|
|
1512
|
+
* script version hash as a 16-char hex string
|
|
1513
|
+
*/
|
|
1514
|
+
hash?: string;
|
|
1515
|
+
language?: string;
|
|
1516
|
+
kind?: string;
|
|
1517
|
+
auto_kind?: string;
|
|
1518
|
+
use_codebase?: boolean;
|
|
1519
|
+
has_deploy_errors?: boolean;
|
|
1520
|
+
raw_app?: boolean;
|
|
1521
|
+
execution_mode?: string;
|
|
1522
|
+
id?: number;
|
|
1523
|
+
version?: number;
|
|
1524
|
+
};
|
|
1483
1525
|
export type Script = {
|
|
1484
1526
|
workspace_id?: string;
|
|
1485
1527
|
hash: string;
|
|
@@ -1730,6 +1772,20 @@ export type CompletedJob = {
|
|
|
1730
1772
|
aggregate_wait_time_ms?: number;
|
|
1731
1773
|
preprocessed?: boolean;
|
|
1732
1774
|
is_retry?: boolean;
|
|
1775
|
+
/**
|
|
1776
|
+
* whether this failure has been marked as handled
|
|
1777
|
+
*/
|
|
1778
|
+
resolved?: boolean;
|
|
1779
|
+
/**
|
|
1780
|
+
* who resolved the failure. Enterprise-only, so also absent for a manual resolution outside enterprise; use resolved_automatically to tell the two apart
|
|
1781
|
+
*/
|
|
1782
|
+
resolved_by?: string;
|
|
1783
|
+
resolved_at?: string;
|
|
1784
|
+
resolution_note?: string;
|
|
1785
|
+
/**
|
|
1786
|
+
* 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
|
|
1787
|
+
*/
|
|
1788
|
+
resolved_automatically?: boolean;
|
|
1733
1789
|
worker?: string;
|
|
1734
1790
|
};
|
|
1735
1791
|
/**
|
|
@@ -6173,6 +6229,18 @@ export type PipelineRecordingBody = {
|
|
|
6173
6229
|
[key: string]: unknown;
|
|
6174
6230
|
};
|
|
6175
6231
|
};
|
|
6232
|
+
export type ProjectLogoBody = {
|
|
6233
|
+
/**
|
|
6234
|
+
* the logo to set, or null to clear the project's current logo
|
|
6235
|
+
*/
|
|
6236
|
+
logo: {
|
|
6237
|
+
/**
|
|
6238
|
+
* base64-encoded image bytes (decoded size max 512KB)
|
|
6239
|
+
*/
|
|
6240
|
+
b64: string;
|
|
6241
|
+
mime: 'image/png' | 'image/svg+xml';
|
|
6242
|
+
} | null;
|
|
6243
|
+
};
|
|
6176
6244
|
export type PublishResourceTypeBody = {
|
|
6177
6245
|
name: string;
|
|
6178
6246
|
schema?: {
|
|
@@ -10418,6 +10486,47 @@ export type DiffRawScriptsWithDeployedData = {
|
|
|
10418
10486
|
workspace: string;
|
|
10419
10487
|
};
|
|
10420
10488
|
export type DiffRawScriptsWithDeployedResponse = Array<(string)>;
|
|
10489
|
+
export type ListRunnablesData = {
|
|
10490
|
+
/**
|
|
10491
|
+
* opaque keyset cursor from a previous page's next_cursor
|
|
10492
|
+
*/
|
|
10493
|
+
cursor?: string;
|
|
10494
|
+
/**
|
|
10495
|
+
* include library scripts (no runnable main)
|
|
10496
|
+
*/
|
|
10497
|
+
includeWithoutMain?: boolean;
|
|
10498
|
+
/**
|
|
10499
|
+
* comma-separated subset of script,flow,app (default all)
|
|
10500
|
+
*/
|
|
10501
|
+
kinds?: string;
|
|
10502
|
+
label?: string;
|
|
10503
|
+
/**
|
|
10504
|
+
* sort key: 'updated' (default) or 'name'
|
|
10505
|
+
*/
|
|
10506
|
+
orderBy?: 'updated' | 'name';
|
|
10507
|
+
/**
|
|
10508
|
+
* order by desc order (default true)
|
|
10509
|
+
*/
|
|
10510
|
+
orderDesc?: boolean;
|
|
10511
|
+
/**
|
|
10512
|
+
* restrict to paths under this prefix
|
|
10513
|
+
*/
|
|
10514
|
+
pathStart?: string;
|
|
10515
|
+
/**
|
|
10516
|
+
* number of items to return for a given page (default 30, max 100)
|
|
10517
|
+
*/
|
|
10518
|
+
perPage?: number;
|
|
10519
|
+
/**
|
|
10520
|
+
* case-insensitive substring match on summary or path
|
|
10521
|
+
*/
|
|
10522
|
+
search?: string;
|
|
10523
|
+
showArchived?: boolean;
|
|
10524
|
+
workspace: string;
|
|
10525
|
+
};
|
|
10526
|
+
export type ListRunnablesResponse = {
|
|
10527
|
+
items: Array<RunnableItem>;
|
|
10528
|
+
next_cursor?: string;
|
|
10529
|
+
};
|
|
10421
10530
|
export type ListDraftsData = {
|
|
10422
10531
|
/**
|
|
10423
10532
|
* List every draft in the workspace (all users), not just the current user's own + legacy rows. Other users' rows come back with `mine=false` (view-only).
|
|
@@ -11808,6 +11917,10 @@ export type ListFilteredJobsUuidsData = {
|
|
|
11808
11917
|
* number of items to return for a given page (default 30, max 100)
|
|
11809
11918
|
*/
|
|
11810
11919
|
perPage?: number;
|
|
11920
|
+
/**
|
|
11921
|
+
* filter on whether a failure has been marked as handled. true keeps only resolved failures, false hides them
|
|
11922
|
+
*/
|
|
11923
|
+
resolved?: boolean;
|
|
11811
11924
|
/**
|
|
11812
11925
|
* filter on jobs containing those result as a json subset (@> in postgres)
|
|
11813
11926
|
*/
|
|
@@ -12030,6 +12143,10 @@ export type ListCompletedJobsData = {
|
|
|
12030
12143
|
* number of items to return for a given page (default 30, max 100)
|
|
12031
12144
|
*/
|
|
12032
12145
|
perPage?: number;
|
|
12146
|
+
/**
|
|
12147
|
+
* filter on whether a failure has been marked as handled. true keeps only resolved failures, false hides them
|
|
12148
|
+
*/
|
|
12149
|
+
resolved?: boolean;
|
|
12033
12150
|
/**
|
|
12034
12151
|
* filter on jobs containing those result as a json subset (@> in postgres)
|
|
12035
12152
|
*/
|
|
@@ -12197,6 +12314,10 @@ export type ListJobsData = {
|
|
|
12197
12314
|
* number of items to return for a given page (default 30, max 100)
|
|
12198
12315
|
*/
|
|
12199
12316
|
perPage?: number;
|
|
12317
|
+
/**
|
|
12318
|
+
* filter on whether a failure has been marked as handled. true keeps only resolved failures, false hides them
|
|
12319
|
+
*/
|
|
12320
|
+
resolved?: boolean;
|
|
12200
12321
|
/**
|
|
12201
12322
|
* filter on jobs containing those result as a json subset (@> in postgres)
|
|
12202
12323
|
*/
|
|
@@ -12479,6 +12600,28 @@ export type DeleteCompletedJobData = {
|
|
|
12479
12600
|
workspace: string;
|
|
12480
12601
|
};
|
|
12481
12602
|
export type DeleteCompletedJobResponse = CompletedJob;
|
|
12603
|
+
export type ResolveCompletedJobsData = {
|
|
12604
|
+
requestBody: {
|
|
12605
|
+
job_ids: Array<(string)>;
|
|
12606
|
+
/**
|
|
12607
|
+
* a person's explanation of why the failure is considered handled. Enterprise-only: ignored outside enterprise
|
|
12608
|
+
*/
|
|
12609
|
+
note?: string;
|
|
12610
|
+
/**
|
|
12611
|
+
* id of a later successful run of the same runnable that supersedes the failure. Verified server-side, and the resulting note is the server's own wording, so it is recorded regardless of licence. A claim that cannot be verified resolves nothing
|
|
12612
|
+
*/
|
|
12613
|
+
superseded_by?: string;
|
|
12614
|
+
};
|
|
12615
|
+
workspace: string;
|
|
12616
|
+
};
|
|
12617
|
+
export type ResolveCompletedJobsResponse = Array<(string)>;
|
|
12618
|
+
export type UnresolveCompletedJobsData = {
|
|
12619
|
+
requestBody: {
|
|
12620
|
+
job_ids: Array<(string)>;
|
|
12621
|
+
};
|
|
12622
|
+
workspace: string;
|
|
12623
|
+
};
|
|
12624
|
+
export type UnresolveCompletedJobsResponse = Array<(string)>;
|
|
12482
12625
|
export type CancelQueuedJobData = {
|
|
12483
12626
|
id: string;
|
|
12484
12627
|
/**
|
|
@@ -12549,6 +12692,20 @@ export type GetResumeUrlsResponse = {
|
|
|
12549
12692
|
resume: string;
|
|
12550
12693
|
cancel: string;
|
|
12551
12694
|
};
|
|
12695
|
+
export type GetWacApprovalUrlsData = {
|
|
12696
|
+
approver?: string;
|
|
12697
|
+
id: string;
|
|
12698
|
+
/**
|
|
12699
|
+
* checkpoint key of the wait_for_approval step, as passed to `wait_for_approval(key=...)`
|
|
12700
|
+
*/
|
|
12701
|
+
stepKey: string;
|
|
12702
|
+
workspace: string;
|
|
12703
|
+
};
|
|
12704
|
+
export type GetWacApprovalUrlsResponse = {
|
|
12705
|
+
approvalPage: string;
|
|
12706
|
+
resume: string;
|
|
12707
|
+
cancel: string;
|
|
12708
|
+
};
|
|
12552
12709
|
export type GetSlackApprovalPayloadData = {
|
|
12553
12710
|
approver?: string;
|
|
12554
12711
|
cancelButtonText?: string;
|
|
@@ -12796,6 +12953,10 @@ export type ListExtendedJobsData = {
|
|
|
12796
12953
|
* number of items to return for a given page (default 30, max 100)
|
|
12797
12954
|
*/
|
|
12798
12955
|
perPage?: number;
|
|
12956
|
+
/**
|
|
12957
|
+
* filter on whether a failure has been marked as handled. true keeps only resolved failures, false hides them
|
|
12958
|
+
*/
|
|
12959
|
+
resolved?: boolean;
|
|
12799
12960
|
/**
|
|
12800
12961
|
* filter on jobs containing those result as a json subset (@> in postgres)
|
|
12801
12962
|
*/
|
|
@@ -14727,6 +14888,14 @@ export type ListFolderNamesData = {
|
|
|
14727
14888
|
* only list the folders the user is member of (default false)
|
|
14728
14889
|
*/
|
|
14729
14890
|
onlyMemberOf?: boolean;
|
|
14891
|
+
/**
|
|
14892
|
+
* which page to return (start at 1, default 1)
|
|
14893
|
+
*/
|
|
14894
|
+
page?: number;
|
|
14895
|
+
/**
|
|
14896
|
+
* number of items to return for a given page (default 30, max 100)
|
|
14897
|
+
*/
|
|
14898
|
+
perPage?: number;
|
|
14730
14899
|
workspace: string;
|
|
14731
14900
|
};
|
|
14732
14901
|
export type ListFolderNamesResponse = Array<(string)>;
|
|
@@ -15197,6 +15366,10 @@ export type S3ResourceInfoData = {
|
|
|
15197
15366
|
};
|
|
15198
15367
|
export type S3ResourceInfoResponse = S3Resource;
|
|
15199
15368
|
export type DatasetStorageTestConnectionData = {
|
|
15369
|
+
/**
|
|
15370
|
+
* When set, test the connection of this object storage resource instead of the workspace storage
|
|
15371
|
+
*/
|
|
15372
|
+
s3ResourcePath?: string;
|
|
15200
15373
|
storage?: string;
|
|
15201
15374
|
workspace: string;
|
|
15202
15375
|
};
|
|
@@ -15224,6 +15397,10 @@ export type ListStoredFilesData = {
|
|
|
15224
15397
|
marker?: string;
|
|
15225
15398
|
maxKeys: number;
|
|
15226
15399
|
prefix?: string;
|
|
15400
|
+
/**
|
|
15401
|
+
* When set, list the files of this object storage resource instead of the workspace storage
|
|
15402
|
+
*/
|
|
15403
|
+
s3ResourcePath?: string;
|
|
15227
15404
|
storage?: string;
|
|
15228
15405
|
workspace: string;
|
|
15229
15406
|
};
|
|
@@ -15234,6 +15411,10 @@ export type ListStoredFilesResponse = {
|
|
|
15234
15411
|
};
|
|
15235
15412
|
export type LoadFileMetadataData = {
|
|
15236
15413
|
fileKey: string;
|
|
15414
|
+
/**
|
|
15415
|
+
* When set, load the file metadata from this object storage resource instead of the workspace storage
|
|
15416
|
+
*/
|
|
15417
|
+
s3ResourcePath?: string;
|
|
15237
15418
|
storage?: string;
|
|
15238
15419
|
workspace: string;
|
|
15239
15420
|
};
|
|
@@ -15246,6 +15427,10 @@ export type LoadFilePreviewData = {
|
|
|
15246
15427
|
fileSizeInBytes?: number;
|
|
15247
15428
|
readBytesFrom?: number;
|
|
15248
15429
|
readBytesLength?: number;
|
|
15430
|
+
/**
|
|
15431
|
+
* When set, load the file preview from this object storage resource instead of the workspace storage
|
|
15432
|
+
*/
|
|
15433
|
+
s3ResourcePath?: string;
|
|
15249
15434
|
storage?: string;
|
|
15250
15435
|
workspace: string;
|
|
15251
15436
|
};
|
|
@@ -15341,12 +15526,20 @@ export type LoadCsvPreviewData = {
|
|
|
15341
15526
|
export type LoadCsvPreviewResponse = unknown;
|
|
15342
15527
|
export type DeleteS3FileData = {
|
|
15343
15528
|
fileKey: string;
|
|
15529
|
+
/**
|
|
15530
|
+
* When set, delete the file from this object storage resource instead of the workspace storage
|
|
15531
|
+
*/
|
|
15532
|
+
s3ResourcePath?: string;
|
|
15344
15533
|
storage?: string;
|
|
15345
15534
|
workspace: string;
|
|
15346
15535
|
};
|
|
15347
15536
|
export type DeleteS3FileResponse = unknown;
|
|
15348
15537
|
export type MoveS3FileData = {
|
|
15349
15538
|
destFileKey: string;
|
|
15539
|
+
/**
|
|
15540
|
+
* When set, move the file within this object storage resource instead of the workspace storage
|
|
15541
|
+
*/
|
|
15542
|
+
s3ResourcePath?: string;
|
|
15350
15543
|
srcFileKey: string;
|
|
15351
15544
|
storage?: string;
|
|
15352
15545
|
workspace: string;
|
|
@@ -15974,6 +16167,22 @@ export type PublishHubRawAppEmbedData = {
|
|
|
15974
16167
|
workspace: string;
|
|
15975
16168
|
};
|
|
15976
16169
|
export type PublishHubRawAppEmbedResponse = string;
|
|
16170
|
+
export type PublishHubRawAppRecordingData = {
|
|
16171
|
+
/**
|
|
16172
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
16173
|
+
* one Hub project per folder and the Hub-side source key is
|
|
16174
|
+
* `{workspace}:{folder}`
|
|
16175
|
+
*
|
|
16176
|
+
*/
|
|
16177
|
+
folder: string;
|
|
16178
|
+
/**
|
|
16179
|
+
* hub id of the raw app
|
|
16180
|
+
*/
|
|
16181
|
+
id: number;
|
|
16182
|
+
requestBody: RecordingBody;
|
|
16183
|
+
workspace: string;
|
|
16184
|
+
};
|
|
16185
|
+
export type PublishHubRawAppRecordingResponse = string;
|
|
15977
16186
|
export type PublishHubScriptRecordingData = {
|
|
15978
16187
|
/**
|
|
15979
16188
|
* hub ask id of the script
|
|
@@ -16082,6 +16291,22 @@ export type GetHubProjectExportData = {
|
|
|
16082
16291
|
workspace: string;
|
|
16083
16292
|
};
|
|
16084
16293
|
export type GetHubProjectExportResponse = string;
|
|
16294
|
+
export type PublishHubProjectLogoData = {
|
|
16295
|
+
/**
|
|
16296
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
16297
|
+
* one Hub project per folder and the Hub-side source key is
|
|
16298
|
+
* `{workspace}:{folder}`
|
|
16299
|
+
*
|
|
16300
|
+
*/
|
|
16301
|
+
folder: string;
|
|
16302
|
+
requestBody: ProjectLogoBody;
|
|
16303
|
+
/**
|
|
16304
|
+
* hub project slug
|
|
16305
|
+
*/
|
|
16306
|
+
slug: HubProjectSlug;
|
|
16307
|
+
workspace: string;
|
|
16308
|
+
};
|
|
16309
|
+
export type PublishHubProjectLogoResponse = string;
|
|
16085
16310
|
export type SubmitHubProjectData = {
|
|
16086
16311
|
/**
|
|
16087
16312
|
* workspace folder scoping the Hub publication: a workspace can publish
|
|
@@ -23688,6 +23913,56 @@ export type $OpenApiTs = {
|
|
|
23688
23913
|
};
|
|
23689
23914
|
};
|
|
23690
23915
|
};
|
|
23916
|
+
'/w/{workspace}/runnables/list': {
|
|
23917
|
+
get: {
|
|
23918
|
+
req: {
|
|
23919
|
+
/**
|
|
23920
|
+
* opaque keyset cursor from a previous page's next_cursor
|
|
23921
|
+
*/
|
|
23922
|
+
cursor?: string;
|
|
23923
|
+
/**
|
|
23924
|
+
* include library scripts (no runnable main)
|
|
23925
|
+
*/
|
|
23926
|
+
includeWithoutMain?: boolean;
|
|
23927
|
+
/**
|
|
23928
|
+
* comma-separated subset of script,flow,app (default all)
|
|
23929
|
+
*/
|
|
23930
|
+
kinds?: string;
|
|
23931
|
+
label?: string;
|
|
23932
|
+
/**
|
|
23933
|
+
* sort key: 'updated' (default) or 'name'
|
|
23934
|
+
*/
|
|
23935
|
+
orderBy?: 'updated' | 'name';
|
|
23936
|
+
/**
|
|
23937
|
+
* order by desc order (default true)
|
|
23938
|
+
*/
|
|
23939
|
+
orderDesc?: boolean;
|
|
23940
|
+
/**
|
|
23941
|
+
* restrict to paths under this prefix
|
|
23942
|
+
*/
|
|
23943
|
+
pathStart?: string;
|
|
23944
|
+
/**
|
|
23945
|
+
* number of items to return for a given page (default 30, max 100)
|
|
23946
|
+
*/
|
|
23947
|
+
perPage?: number;
|
|
23948
|
+
/**
|
|
23949
|
+
* case-insensitive substring match on summary or path
|
|
23950
|
+
*/
|
|
23951
|
+
search?: string;
|
|
23952
|
+
showArchived?: boolean;
|
|
23953
|
+
workspace: string;
|
|
23954
|
+
};
|
|
23955
|
+
res: {
|
|
23956
|
+
/**
|
|
23957
|
+
* a page of merged, ordered runnables
|
|
23958
|
+
*/
|
|
23959
|
+
200: {
|
|
23960
|
+
items: Array<RunnableItem>;
|
|
23961
|
+
next_cursor?: string;
|
|
23962
|
+
};
|
|
23963
|
+
};
|
|
23964
|
+
};
|
|
23965
|
+
};
|
|
23691
23966
|
'/w/{workspace}/drafts/list': {
|
|
23692
23967
|
get: {
|
|
23693
23968
|
req: {
|
|
@@ -25594,6 +25869,10 @@ export type $OpenApiTs = {
|
|
|
25594
25869
|
* number of items to return for a given page (default 30, max 100)
|
|
25595
25870
|
*/
|
|
25596
25871
|
perPage?: number;
|
|
25872
|
+
/**
|
|
25873
|
+
* filter on whether a failure has been marked as handled. true keeps only resolved failures, false hides them
|
|
25874
|
+
*/
|
|
25875
|
+
resolved?: boolean;
|
|
25597
25876
|
/**
|
|
25598
25877
|
* filter on jobs containing those result as a json subset (@> in postgres)
|
|
25599
25878
|
*/
|
|
@@ -25852,6 +26131,10 @@ export type $OpenApiTs = {
|
|
|
25852
26131
|
* number of items to return for a given page (default 30, max 100)
|
|
25853
26132
|
*/
|
|
25854
26133
|
perPage?: number;
|
|
26134
|
+
/**
|
|
26135
|
+
* filter on whether a failure has been marked as handled. true keeps only resolved failures, false hides them
|
|
26136
|
+
*/
|
|
26137
|
+
resolved?: boolean;
|
|
25855
26138
|
/**
|
|
25856
26139
|
* filter on jobs containing those result as a json subset (@> in postgres)
|
|
25857
26140
|
*/
|
|
@@ -26073,6 +26356,10 @@ export type $OpenApiTs = {
|
|
|
26073
26356
|
* number of items to return for a given page (default 30, max 100)
|
|
26074
26357
|
*/
|
|
26075
26358
|
perPage?: number;
|
|
26359
|
+
/**
|
|
26360
|
+
* filter on whether a failure has been marked as handled. true keeps only resolved failures, false hides them
|
|
26361
|
+
*/
|
|
26362
|
+
resolved?: boolean;
|
|
26076
26363
|
/**
|
|
26077
26364
|
* filter on jobs containing those result as a json subset (@> in postgres)
|
|
26078
26365
|
*/
|
|
@@ -26551,6 +26838,46 @@ export type $OpenApiTs = {
|
|
|
26551
26838
|
};
|
|
26552
26839
|
};
|
|
26553
26840
|
};
|
|
26841
|
+
'/w/{workspace}/jobs/completed/resolve': {
|
|
26842
|
+
post: {
|
|
26843
|
+
req: {
|
|
26844
|
+
requestBody: {
|
|
26845
|
+
job_ids: Array<(string)>;
|
|
26846
|
+
/**
|
|
26847
|
+
* a person's explanation of why the failure is considered handled. Enterprise-only: ignored outside enterprise
|
|
26848
|
+
*/
|
|
26849
|
+
note?: string;
|
|
26850
|
+
/**
|
|
26851
|
+
* id of a later successful run of the same runnable that supersedes the failure. Verified server-side, and the resulting note is the server's own wording, so it is recorded regardless of licence. A claim that cannot be verified resolves nothing
|
|
26852
|
+
*/
|
|
26853
|
+
superseded_by?: string;
|
|
26854
|
+
};
|
|
26855
|
+
workspace: string;
|
|
26856
|
+
};
|
|
26857
|
+
res: {
|
|
26858
|
+
/**
|
|
26859
|
+
* ids of the jobs that were resolved
|
|
26860
|
+
*/
|
|
26861
|
+
200: Array<(string)>;
|
|
26862
|
+
};
|
|
26863
|
+
};
|
|
26864
|
+
};
|
|
26865
|
+
'/w/{workspace}/jobs/completed/unresolve': {
|
|
26866
|
+
post: {
|
|
26867
|
+
req: {
|
|
26868
|
+
requestBody: {
|
|
26869
|
+
job_ids: Array<(string)>;
|
|
26870
|
+
};
|
|
26871
|
+
workspace: string;
|
|
26872
|
+
};
|
|
26873
|
+
res: {
|
|
26874
|
+
/**
|
|
26875
|
+
* ids of the jobs that were unresolved
|
|
26876
|
+
*/
|
|
26877
|
+
200: Array<(string)>;
|
|
26878
|
+
};
|
|
26879
|
+
};
|
|
26880
|
+
};
|
|
26554
26881
|
'/w/{workspace}/jobs_u/queue/cancel/{id}': {
|
|
26555
26882
|
post: {
|
|
26556
26883
|
req: {
|
|
@@ -26684,6 +27011,29 @@ export type $OpenApiTs = {
|
|
|
26684
27011
|
};
|
|
26685
27012
|
};
|
|
26686
27013
|
};
|
|
27014
|
+
'/w/{workspace}/jobs/wac_approval_urls/{id}/{step_key}': {
|
|
27015
|
+
get: {
|
|
27016
|
+
req: {
|
|
27017
|
+
approver?: string;
|
|
27018
|
+
id: string;
|
|
27019
|
+
/**
|
|
27020
|
+
* checkpoint key of the wait_for_approval step, as passed to `wait_for_approval(key=...)`
|
|
27021
|
+
*/
|
|
27022
|
+
stepKey: string;
|
|
27023
|
+
workspace: string;
|
|
27024
|
+
};
|
|
27025
|
+
res: {
|
|
27026
|
+
/**
|
|
27027
|
+
* url endpoints
|
|
27028
|
+
*/
|
|
27029
|
+
200: {
|
|
27030
|
+
approvalPage: string;
|
|
27031
|
+
resume: string;
|
|
27032
|
+
cancel: string;
|
|
27033
|
+
};
|
|
27034
|
+
};
|
|
27035
|
+
};
|
|
27036
|
+
};
|
|
26687
27037
|
'/w/{workspace}/jobs/slack_approval/{id}': {
|
|
26688
27038
|
get: {
|
|
26689
27039
|
req: {
|
|
@@ -27035,6 +27385,10 @@ export type $OpenApiTs = {
|
|
|
27035
27385
|
* number of items to return for a given page (default 30, max 100)
|
|
27036
27386
|
*/
|
|
27037
27387
|
perPage?: number;
|
|
27388
|
+
/**
|
|
27389
|
+
* filter on whether a failure has been marked as handled. true keeps only resolved failures, false hides them
|
|
27390
|
+
*/
|
|
27391
|
+
resolved?: boolean;
|
|
27038
27392
|
/**
|
|
27039
27393
|
* filter on jobs containing those result as a json subset (@> in postgres)
|
|
27040
27394
|
*/
|
|
@@ -30514,6 +30868,14 @@ export type $OpenApiTs = {
|
|
|
30514
30868
|
* only list the folders the user is member of (default false)
|
|
30515
30869
|
*/
|
|
30516
30870
|
onlyMemberOf?: boolean;
|
|
30871
|
+
/**
|
|
30872
|
+
* which page to return (start at 1, default 1)
|
|
30873
|
+
*/
|
|
30874
|
+
page?: number;
|
|
30875
|
+
/**
|
|
30876
|
+
* number of items to return for a given page (default 30, max 100)
|
|
30877
|
+
*/
|
|
30878
|
+
perPage?: number;
|
|
30517
30879
|
workspace: string;
|
|
30518
30880
|
};
|
|
30519
30881
|
res: {
|
|
@@ -31416,6 +31778,10 @@ export type $OpenApiTs = {
|
|
|
31416
31778
|
'/w/{workspace}/job_helpers/test_connection': {
|
|
31417
31779
|
get: {
|
|
31418
31780
|
req: {
|
|
31781
|
+
/**
|
|
31782
|
+
* When set, test the connection of this object storage resource instead of the workspace storage
|
|
31783
|
+
*/
|
|
31784
|
+
s3ResourcePath?: string;
|
|
31419
31785
|
storage?: string;
|
|
31420
31786
|
workspace: string;
|
|
31421
31787
|
};
|
|
@@ -31461,6 +31827,10 @@ export type $OpenApiTs = {
|
|
|
31461
31827
|
marker?: string;
|
|
31462
31828
|
maxKeys: number;
|
|
31463
31829
|
prefix?: string;
|
|
31830
|
+
/**
|
|
31831
|
+
* When set, list the files of this object storage resource instead of the workspace storage
|
|
31832
|
+
*/
|
|
31833
|
+
s3ResourcePath?: string;
|
|
31464
31834
|
storage?: string;
|
|
31465
31835
|
workspace: string;
|
|
31466
31836
|
};
|
|
@@ -31480,6 +31850,10 @@ export type $OpenApiTs = {
|
|
|
31480
31850
|
get: {
|
|
31481
31851
|
req: {
|
|
31482
31852
|
fileKey: string;
|
|
31853
|
+
/**
|
|
31854
|
+
* When set, load the file metadata from this object storage resource instead of the workspace storage
|
|
31855
|
+
*/
|
|
31856
|
+
s3ResourcePath?: string;
|
|
31483
31857
|
storage?: string;
|
|
31484
31858
|
workspace: string;
|
|
31485
31859
|
};
|
|
@@ -31501,6 +31875,10 @@ export type $OpenApiTs = {
|
|
|
31501
31875
|
fileSizeInBytes?: number;
|
|
31502
31876
|
readBytesFrom?: number;
|
|
31503
31877
|
readBytesLength?: number;
|
|
31878
|
+
/**
|
|
31879
|
+
* When set, load the file preview from this object storage resource instead of the workspace storage
|
|
31880
|
+
*/
|
|
31881
|
+
s3ResourcePath?: string;
|
|
31504
31882
|
storage?: string;
|
|
31505
31883
|
workspace: string;
|
|
31506
31884
|
};
|
|
@@ -31668,6 +32046,10 @@ export type $OpenApiTs = {
|
|
|
31668
32046
|
delete: {
|
|
31669
32047
|
req: {
|
|
31670
32048
|
fileKey: string;
|
|
32049
|
+
/**
|
|
32050
|
+
* When set, delete the file from this object storage resource instead of the workspace storage
|
|
32051
|
+
*/
|
|
32052
|
+
s3ResourcePath?: string;
|
|
31671
32053
|
storage?: string;
|
|
31672
32054
|
workspace: string;
|
|
31673
32055
|
};
|
|
@@ -31683,6 +32065,10 @@ export type $OpenApiTs = {
|
|
|
31683
32065
|
get: {
|
|
31684
32066
|
req: {
|
|
31685
32067
|
destFileKey: string;
|
|
32068
|
+
/**
|
|
32069
|
+
* When set, move the file within this object storage resource instead of the workspace storage
|
|
32070
|
+
*/
|
|
32071
|
+
s3ResourcePath?: string;
|
|
31686
32072
|
srcFileKey: string;
|
|
31687
32073
|
storage?: string;
|
|
31688
32074
|
workspace: string;
|
|
@@ -32696,6 +33082,31 @@ export type $OpenApiTs = {
|
|
|
32696
33082
|
};
|
|
32697
33083
|
};
|
|
32698
33084
|
};
|
|
33085
|
+
'/w/{workspace}/hub/raw_apps/{id}/recording': {
|
|
33086
|
+
post: {
|
|
33087
|
+
req: {
|
|
33088
|
+
/**
|
|
33089
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
33090
|
+
* one Hub project per folder and the Hub-side source key is
|
|
33091
|
+
* `{workspace}:{folder}`
|
|
33092
|
+
*
|
|
33093
|
+
*/
|
|
33094
|
+
folder: string;
|
|
33095
|
+
/**
|
|
33096
|
+
* hub id of the raw app
|
|
33097
|
+
*/
|
|
33098
|
+
id: number;
|
|
33099
|
+
requestBody: RecordingBody;
|
|
33100
|
+
workspace: string;
|
|
33101
|
+
};
|
|
33102
|
+
res: {
|
|
33103
|
+
/**
|
|
33104
|
+
* raw Hub response body (status code is passed through from the Hub)
|
|
33105
|
+
*/
|
|
33106
|
+
200: string;
|
|
33107
|
+
};
|
|
33108
|
+
};
|
|
33109
|
+
};
|
|
32699
33110
|
'/w/{workspace}/hub/scripts/{ask_id}/recording': {
|
|
32700
33111
|
post: {
|
|
32701
33112
|
req: {
|
|
@@ -32876,6 +33287,31 @@ export type $OpenApiTs = {
|
|
|
32876
33287
|
};
|
|
32877
33288
|
};
|
|
32878
33289
|
};
|
|
33290
|
+
'/w/{workspace}/hub/projects/{slug}/logo': {
|
|
33291
|
+
post: {
|
|
33292
|
+
req: {
|
|
33293
|
+
/**
|
|
33294
|
+
* workspace folder scoping the Hub publication: a workspace can publish
|
|
33295
|
+
* one Hub project per folder and the Hub-side source key is
|
|
33296
|
+
* `{workspace}:{folder}`
|
|
33297
|
+
*
|
|
33298
|
+
*/
|
|
33299
|
+
folder: string;
|
|
33300
|
+
requestBody: ProjectLogoBody;
|
|
33301
|
+
/**
|
|
33302
|
+
* hub project slug
|
|
33303
|
+
*/
|
|
33304
|
+
slug: HubProjectSlug;
|
|
33305
|
+
workspace: string;
|
|
33306
|
+
};
|
|
33307
|
+
res: {
|
|
33308
|
+
/**
|
|
33309
|
+
* raw Hub response body (status code is passed through from the Hub)
|
|
33310
|
+
*/
|
|
33311
|
+
200: string;
|
|
33312
|
+
};
|
|
33313
|
+
};
|
|
33314
|
+
};
|
|
32879
33315
|
'/w/{workspace}/hub/projects/{slug}/submit': {
|
|
32880
33316
|
post: {
|
|
32881
33317
|
req: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "windmill-client",
|
|
3
3
|
"description": "Windmill SDK client for browsers and Node.js",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.771.0",
|
|
5
5
|
"author": "Ruben Fiszel",
|
|
6
6
|
"license": "Apache 2.0",
|
|
7
7
|
"homepage": "https://github.com/windmill-labs/windmill/tree/main/typescript-client#readme",
|