windmill-client 1.871.1 → 1.873.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.
@@ -1092,6 +1092,14 @@ export type AiAgent = {
1092
1092
  * Flowmodule and mcp tools only. Each call waits for a person to approve or reject it from the flow's run page or chat, without the agent holding a worker. Calls in the same turn that do not require approval run right away. A rejected call, or one nobody answers within 30 minutes, is reported to the AI as not run.
1093
1093
  */
1094
1094
  requires_approval?: boolean;
1095
+ /**
1096
+ * Flowmodule tools only. The agent is answered as soon as the tool's job starts and keeps working; the job's result reaches it in a later message. If the agent finishes its answer first, it stops without holding a worker until the job is done, then continues with the result.
1097
+ */
1098
+ background?: boolean;
1099
+ /**
1100
+ * Flowmodule tools only, with background unset. The agent waits up to this many seconds for the tool's job and gets its result as usual; a job still running then continues as a background one, its result reaching the agent in a later message.
1101
+ */
1102
+ background_after_secs?: number;
1095
1103
  /**
1096
1104
  * The implementation of a tool. Can be a flow module (script/flow) or an MCP tool reference
1097
1105
  */
@@ -1296,7 +1304,10 @@ export type FlowStatusModule = {
1296
1304
  } | {
1297
1305
  type: 'message';
1298
1306
  })>;
1299
- agent_actions_success?: Array<(boolean)>;
1307
+ /**
1308
+ * The outcome of each agent action, by position. null while a background tool call is still running.
1309
+ */
1310
+ agent_actions_success?: Array<(boolean | null)>;
1300
1311
  };
1301
1312
  /**
1302
1313
  * A sticky note attached to a flow for documentation and annotation
@@ -3620,6 +3631,13 @@ export type ListableResource = {
3620
3631
  *
3621
3632
  */
3622
3633
  draft_path?: string;
3634
+ /**
3635
+ * The grant of the linked OAuth account: `client_credentials`
3636
+ * connects as the app, `authorization_code` as the user who
3637
+ * connected it.
3638
+ *
3639
+ */
3640
+ grant_type?: string;
3623
3641
  };
3624
3642
  export type ResourceType = {
3625
3643
  workspace_id?: string;
@@ -11659,6 +11677,9 @@ export type ListOauthLoginsResponse = {
11659
11677
  export type ListOauthConnectsResponse = Array<{
11660
11678
  name: string;
11661
11679
  supports_client_credentials: boolean;
11680
+ /**
11681
+ * The instance entry holds a client id and secret users can connect with, for sign-in or as a shared service account. Whether client credentials are shared is get_connect's client_credentials_configured.
11682
+ */
11662
11683
  has_shared_credentials: boolean;
11663
11684
  }>;
11664
11685
  export type GetOauthConnectData = {
@@ -11678,6 +11699,21 @@ export type GetOauthConnectResponse = {
11678
11699
  */
11679
11700
  client_credentials_configured?: boolean;
11680
11701
  };
11702
+ export type TestOauthClientCredentialsData = {
11703
+ requestBody: {
11704
+ /**
11705
+ * client name, the key of the entry in the instance OAuth setting
11706
+ */
11707
+ name: string;
11708
+ /**
11709
+ * the entry as stored in the instance OAuth setting
11710
+ */
11711
+ entry: {
11712
+ [key: string]: unknown;
11713
+ };
11714
+ };
11715
+ };
11716
+ export type TestOauthClientCredentialsResponse = string;
11681
11717
  export type SendMessageToConversationData = {
11682
11718
  requestBody: {
11683
11719
  /**
@@ -14232,6 +14268,10 @@ export type RunWaitResultFlowByPathData = {
14232
14268
  * skip the preprocessor
14233
14269
  */
14234
14270
  skipPreprocessor?: boolean;
14271
+ /**
14272
+ * Stop the run that holds `memory_id`, if any, and run this one instead of being refused with a 409. Only who started that run, or an admin, can stop it; a restricted token also needs an unconfined `jobs:cancel` scope.
14273
+ */
14274
+ takeOver?: boolean;
14235
14275
  workspace: string;
14236
14276
  };
14237
14277
  export type RunWaitResultFlowByPathResponse = unknown;
@@ -14263,6 +14303,10 @@ export type RunWaitResultFlowByVersionData = {
14263
14303
  * skip the preprocessor
14264
14304
  */
14265
14305
  skipPreprocessor?: boolean;
14306
+ /**
14307
+ * Stop the run that holds `memory_id`, if any, and run this one instead of being refused with a 409. Only who started that run, or an admin, can stop it; a restricted token also needs an unconfined `jobs:cancel` scope.
14308
+ */
14309
+ takeOver?: boolean;
14266
14310
  /**
14267
14311
  * flow version ID
14268
14312
  */
@@ -14300,6 +14344,10 @@ export type RunWaitResultFlowByVersionGetData = {
14300
14344
  * skip the preprocessor
14301
14345
  */
14302
14346
  skipPreprocessor?: boolean;
14347
+ /**
14348
+ * Stop the run that holds `memory_id`, if any, and run this one instead of being refused with a 409. Only who started that run, or an admin, can stop it; a restricted token also needs an unconfined `jobs:cancel` scope.
14349
+ */
14350
+ takeOver?: boolean;
14303
14351
  /**
14304
14352
  * flow version ID
14305
14353
  */
@@ -14340,6 +14388,10 @@ export type RunAndStreamFlowByPathData = {
14340
14388
  * skip the preprocessor
14341
14389
  */
14342
14390
  skipPreprocessor?: boolean;
14391
+ /**
14392
+ * Stop the run that holds `memory_id`, if any, and run this one instead of being refused with a 409. Only who started that run, or an admin, can stop it; a restricted token also needs an unconfined `jobs:cancel` scope.
14393
+ */
14394
+ takeOver?: boolean;
14343
14395
  workspace: string;
14344
14396
  };
14345
14397
  export type RunAndStreamFlowByPathResponse = string;
@@ -14378,6 +14430,10 @@ export type RunAndStreamFlowByPathGetData = {
14378
14430
  * skip the preprocessor
14379
14431
  */
14380
14432
  skipPreprocessor?: boolean;
14433
+ /**
14434
+ * Stop the run that holds `memory_id`, if any, and run this one instead of being refused with a 409. Only who started that run, or an admin, can stop it; a restricted token also needs an unconfined `jobs:cancel` scope.
14435
+ */
14436
+ takeOver?: boolean;
14381
14437
  workspace: string;
14382
14438
  };
14383
14439
  export type RunAndStreamFlowByPathGetResponse = string;
@@ -14413,6 +14469,10 @@ export type RunAndStreamFlowByVersionData = {
14413
14469
  * skip the preprocessor
14414
14470
  */
14415
14471
  skipPreprocessor?: boolean;
14472
+ /**
14473
+ * Stop the run that holds `memory_id`, if any, and run this one instead of being refused with a 409. Only who started that run, or an admin, can stop it; a restricted token also needs an unconfined `jobs:cancel` scope.
14474
+ */
14475
+ takeOver?: boolean;
14416
14476
  /**
14417
14477
  * flow version ID
14418
14478
  */
@@ -14454,6 +14514,10 @@ export type RunAndStreamFlowByVersionGetData = {
14454
14514
  * skip the preprocessor
14455
14515
  */
14456
14516
  skipPreprocessor?: boolean;
14517
+ /**
14518
+ * Stop the run that holds `memory_id`, if any, and run this one instead of being refused with a 409. Only who started that run, or an admin, can stop it; a restricted token also needs an unconfined `jobs:cancel` scope.
14519
+ */
14520
+ takeOver?: boolean;
14457
14521
  /**
14458
14522
  * flow version ID
14459
14523
  */
@@ -14701,6 +14765,10 @@ export type RunFlowByPathData = {
14701
14765
  * Override the tag to use
14702
14766
  */
14703
14767
  tag?: string;
14768
+ /**
14769
+ * Stop the run that holds `memory_id`, if any, and run this one instead of being refused with a 409. Only who started that run, or an admin, can stop it; a restricted token also needs an unconfined `jobs:cancel` scope.
14770
+ */
14771
+ takeOver?: boolean;
14704
14772
  workspace: string;
14705
14773
  };
14706
14774
  export type RunFlowByPathResponse = string;
@@ -14747,6 +14815,10 @@ export type RunFlowByVersionData = {
14747
14815
  * Override the tag to use
14748
14816
  */
14749
14817
  tag?: string;
14818
+ /**
14819
+ * Stop the run that holds `memory_id`, if any, and run this one instead of being refused with a 409. Only who started that run, or an admin, can stop it; a restricted token also needs an unconfined `jobs:cancel` scope.
14820
+ */
14821
+ takeOver?: boolean;
14750
14822
  /**
14751
14823
  * flow version ID
14752
14824
  */
@@ -15026,6 +15098,10 @@ export type RunFlowPreviewData = {
15026
15098
  * preview
15027
15099
  */
15028
15100
  requestBody: FlowPreview;
15101
+ /**
15102
+ * Stop the run that holds `memory_id`, if any, and run this one instead of being refused with a 409. Only who started that run, or an admin, can stop it; a restricted token also needs an unconfined `jobs:cancel` scope.
15103
+ */
15104
+ takeOver?: boolean;
15029
15105
  workspace: string;
15030
15106
  };
15031
15107
  export type RunFlowPreviewResponse = string;
@@ -15048,6 +15124,10 @@ export type RunAgentData = {
15048
15124
  */
15049
15125
  previous_messages?: Array<unknown>;
15050
15126
  };
15127
+ /**
15128
+ * Stop the run that holds `memory_id`, if any, and run this one instead of being refused with a 409. Only who started that run, or an admin, can stop it; a restricted token also needs an unconfined `jobs:cancel` scope.
15129
+ */
15130
+ takeOver?: boolean;
15051
15131
  workspace: string;
15052
15132
  };
15053
15133
  export type RunAgentResponse = string;
@@ -15060,6 +15140,10 @@ export type RunFlowPreviewAndWaitResultData = {
15060
15140
  * preview
15061
15141
  */
15062
15142
  requestBody: FlowPreview;
15143
+ /**
15144
+ * Stop the run that holds `memory_id`, if any, and run this one instead of being refused with a 409. Only who started that run, or an admin, can stop it; a restricted token also needs an unconfined `jobs:cancel` scope.
15145
+ */
15146
+ takeOver?: boolean;
15063
15147
  workspace: string;
15064
15148
  };
15065
15149
  export type RunFlowPreviewAndWaitResultResponse = unknown;
@@ -26769,6 +26853,9 @@ export type $OpenApiTs = {
26769
26853
  200: Array<{
26770
26854
  name: string;
26771
26855
  supports_client_credentials: boolean;
26856
+ /**
26857
+ * The instance entry holds a client id and secret users can connect with, for sign-in or as a shared service account. Whether client credentials are shared is get_connect's client_credentials_configured.
26858
+ */
26772
26859
  has_shared_credentials: boolean;
26773
26860
  }>;
26774
26861
  };
@@ -26800,6 +26887,30 @@ export type $OpenApiTs = {
26800
26887
  };
26801
26888
  };
26802
26889
  };
26890
+ '/oauth/test_client_credentials': {
26891
+ post: {
26892
+ req: {
26893
+ requestBody: {
26894
+ /**
26895
+ * client name, the key of the entry in the instance OAuth setting
26896
+ */
26897
+ name: string;
26898
+ /**
26899
+ * the entry as stored in the instance OAuth setting
26900
+ */
26901
+ entry: {
26902
+ [key: string]: unknown;
26903
+ };
26904
+ };
26905
+ };
26906
+ res: {
26907
+ /**
26908
+ * the exchange returned a token
26909
+ */
26910
+ 200: string;
26911
+ };
26912
+ };
26913
+ };
26803
26914
  '/teams/activities': {
26804
26915
  post: {
26805
26916
  req: {
@@ -30923,6 +31034,10 @@ export type $OpenApiTs = {
30923
31034
  * skip the preprocessor
30924
31035
  */
30925
31036
  skipPreprocessor?: boolean;
31037
+ /**
31038
+ * Stop the run that holds `memory_id`, if any, and run this one instead of being refused with a 409. Only who started that run, or an admin, can stop it; a restricted token also needs an unconfined `jobs:cancel` scope.
31039
+ */
31040
+ takeOver?: boolean;
30926
31041
  workspace: string;
30927
31042
  };
30928
31043
  res: {
@@ -30931,7 +31046,7 @@ export type $OpenApiTs = {
30931
31046
  */
30932
31047
  200: unknown;
30933
31048
  /**
30934
- * Chat-enabled flow only: the conversation named by `memory_id` is still answering a message. The body is JSON: `{ "error": string, "running_turn": { "job_id", "user_seq" } }`.
31049
+ * Another run with this `memory_id` is still running (for a chat-enabled flow, the conversation is still answering a message). The body is JSON: `{ "error": string, "running_turn": { "job_id", "user_seq"? } }`, `user_seq` for a chat conversation. Pass `take_over=true` to stop it instead.
30935
31050
  */
30936
31051
  409: unknown;
30937
31052
  };
@@ -30967,6 +31082,10 @@ export type $OpenApiTs = {
30967
31082
  * skip the preprocessor
30968
31083
  */
30969
31084
  skipPreprocessor?: boolean;
31085
+ /**
31086
+ * Stop the run that holds `memory_id`, if any, and run this one instead of being refused with a 409. Only who started that run, or an admin, can stop it; a restricted token also needs an unconfined `jobs:cancel` scope.
31087
+ */
31088
+ takeOver?: boolean;
30970
31089
  /**
30971
31090
  * flow version ID
30972
31091
  */
@@ -30979,7 +31098,7 @@ export type $OpenApiTs = {
30979
31098
  */
30980
31099
  200: unknown;
30981
31100
  /**
30982
- * Chat-enabled flow only: the conversation named by `memory_id` is still answering a message. The body is JSON: `{ "error": string, "running_turn": { "job_id", "user_seq" } }`.
31101
+ * Another run with this `memory_id` is still running (for a chat-enabled flow, the conversation is still answering a message). The body is JSON: `{ "error": string, "running_turn": { "job_id", "user_seq"? } }`, `user_seq` for a chat conversation. Pass `take_over=true` to stop it instead.
30983
31102
  */
30984
31103
  409: unknown;
30985
31104
  };
@@ -31015,6 +31134,10 @@ export type $OpenApiTs = {
31015
31134
  * skip the preprocessor
31016
31135
  */
31017
31136
  skipPreprocessor?: boolean;
31137
+ /**
31138
+ * Stop the run that holds `memory_id`, if any, and run this one instead of being refused with a 409. Only who started that run, or an admin, can stop it; a restricted token also needs an unconfined `jobs:cancel` scope.
31139
+ */
31140
+ takeOver?: boolean;
31018
31141
  /**
31019
31142
  * flow version ID
31020
31143
  */
@@ -31027,7 +31150,7 @@ export type $OpenApiTs = {
31027
31150
  */
31028
31151
  200: unknown;
31029
31152
  /**
31030
- * Chat-enabled flow only: the conversation named by `memory_id` is still answering a message. The body is JSON: `{ "error": string, "running_turn": { "job_id", "user_seq" } }`.
31153
+ * Another run with this `memory_id` is still running (for a chat-enabled flow, the conversation is still answering a message). The body is JSON: `{ "error": string, "running_turn": { "job_id", "user_seq"? } }`, `user_seq` for a chat conversation. Pass `take_over=true` to stop it instead.
31031
31154
  */
31032
31155
  409: unknown;
31033
31156
  };
@@ -31068,6 +31191,10 @@ export type $OpenApiTs = {
31068
31191
  * skip the preprocessor
31069
31192
  */
31070
31193
  skipPreprocessor?: boolean;
31194
+ /**
31195
+ * Stop the run that holds `memory_id`, if any, and run this one instead of being refused with a 409. Only who started that run, or an admin, can stop it; a restricted token also needs an unconfined `jobs:cancel` scope.
31196
+ */
31197
+ takeOver?: boolean;
31071
31198
  workspace: string;
31072
31199
  };
31073
31200
  res: {
@@ -31076,7 +31203,7 @@ export type $OpenApiTs = {
31076
31203
  */
31077
31204
  200: string;
31078
31205
  /**
31079
- * Chat-enabled flow only: the conversation named by `memory_id` is still answering a message. The body is JSON: `{ "error": string, "running_turn": { "job_id", "user_seq" } }`.
31206
+ * Another run with this `memory_id` is still running (for a chat-enabled flow, the conversation is still answering a message). The body is JSON: `{ "error": string, "running_turn": { "job_id", "user_seq"? } }`, `user_seq` for a chat conversation. Pass `take_over=true` to stop it instead.
31080
31207
  */
31081
31208
  409: unknown;
31082
31209
  };
@@ -31117,6 +31244,10 @@ export type $OpenApiTs = {
31117
31244
  * skip the preprocessor
31118
31245
  */
31119
31246
  skipPreprocessor?: boolean;
31247
+ /**
31248
+ * Stop the run that holds `memory_id`, if any, and run this one instead of being refused with a 409. Only who started that run, or an admin, can stop it; a restricted token also needs an unconfined `jobs:cancel` scope.
31249
+ */
31250
+ takeOver?: boolean;
31120
31251
  workspace: string;
31121
31252
  };
31122
31253
  res: {
@@ -31125,7 +31256,7 @@ export type $OpenApiTs = {
31125
31256
  */
31126
31257
  200: string;
31127
31258
  /**
31128
- * Chat-enabled flow only: the conversation named by `memory_id` is still answering a message. The body is JSON: `{ "error": string, "running_turn": { "job_id", "user_seq" } }`.
31259
+ * Another run with this `memory_id` is still running (for a chat-enabled flow, the conversation is still answering a message). The body is JSON: `{ "error": string, "running_turn": { "job_id", "user_seq"? } }`, `user_seq` for a chat conversation. Pass `take_over=true` to stop it instead.
31129
31260
  */
31130
31261
  409: unknown;
31131
31262
  };
@@ -31165,6 +31296,10 @@ export type $OpenApiTs = {
31165
31296
  * skip the preprocessor
31166
31297
  */
31167
31298
  skipPreprocessor?: boolean;
31299
+ /**
31300
+ * Stop the run that holds `memory_id`, if any, and run this one instead of being refused with a 409. Only who started that run, or an admin, can stop it; a restricted token also needs an unconfined `jobs:cancel` scope.
31301
+ */
31302
+ takeOver?: boolean;
31168
31303
  /**
31169
31304
  * flow version ID
31170
31305
  */
@@ -31177,7 +31312,7 @@ export type $OpenApiTs = {
31177
31312
  */
31178
31313
  200: string;
31179
31314
  /**
31180
- * Chat-enabled flow only: the conversation named by `memory_id` is still answering a message. The body is JSON: `{ "error": string, "running_turn": { "job_id", "user_seq" } }`.
31315
+ * Another run with this `memory_id` is still running (for a chat-enabled flow, the conversation is still answering a message). The body is JSON: `{ "error": string, "running_turn": { "job_id", "user_seq"? } }`, `user_seq` for a chat conversation. Pass `take_over=true` to stop it instead.
31181
31316
  */
31182
31317
  409: unknown;
31183
31318
  };
@@ -31217,6 +31352,10 @@ export type $OpenApiTs = {
31217
31352
  * skip the preprocessor
31218
31353
  */
31219
31354
  skipPreprocessor?: boolean;
31355
+ /**
31356
+ * Stop the run that holds `memory_id`, if any, and run this one instead of being refused with a 409. Only who started that run, or an admin, can stop it; a restricted token also needs an unconfined `jobs:cancel` scope.
31357
+ */
31358
+ takeOver?: boolean;
31220
31359
  /**
31221
31360
  * flow version ID
31222
31361
  */
@@ -31229,7 +31368,7 @@ export type $OpenApiTs = {
31229
31368
  */
31230
31369
  200: string;
31231
31370
  /**
31232
- * Chat-enabled flow only: the conversation named by `memory_id` is still answering a message. The body is JSON: `{ "error": string, "running_turn": { "job_id", "user_seq" } }`.
31371
+ * Another run with this `memory_id` is still running (for a chat-enabled flow, the conversation is still answering a message). The body is JSON: `{ "error": string, "running_turn": { "job_id", "user_seq"? } }`, `user_seq` for a chat conversation. Pass `take_over=true` to stop it instead.
31233
31372
  */
31234
31373
  409: unknown;
31235
31374
  };
@@ -31536,6 +31675,10 @@ export type $OpenApiTs = {
31536
31675
  * Override the tag to use
31537
31676
  */
31538
31677
  tag?: string;
31678
+ /**
31679
+ * Stop the run that holds `memory_id`, if any, and run this one instead of being refused with a 409. Only who started that run, or an admin, can stop it; a restricted token also needs an unconfined `jobs:cancel` scope.
31680
+ */
31681
+ takeOver?: boolean;
31539
31682
  workspace: string;
31540
31683
  };
31541
31684
  res: {
@@ -31544,7 +31687,7 @@ export type $OpenApiTs = {
31544
31687
  */
31545
31688
  201: string;
31546
31689
  /**
31547
- * Chat-enabled flow only: the conversation named by `memory_id` is still answering a message. The body is JSON: `{ "error": string, "running_turn": { "job_id", "user_seq" } }`.
31690
+ * Another run with this `memory_id` is still running (for a chat-enabled flow, the conversation is still answering a message). The body is JSON: `{ "error": string, "running_turn": { "job_id", "user_seq"? } }`, `user_seq` for a chat conversation. Pass `take_over=true` to stop it instead.
31548
31691
  */
31549
31692
  409: unknown;
31550
31693
  };
@@ -31595,6 +31738,10 @@ export type $OpenApiTs = {
31595
31738
  * Override the tag to use
31596
31739
  */
31597
31740
  tag?: string;
31741
+ /**
31742
+ * Stop the run that holds `memory_id`, if any, and run this one instead of being refused with a 409. Only who started that run, or an admin, can stop it; a restricted token also needs an unconfined `jobs:cancel` scope.
31743
+ */
31744
+ takeOver?: boolean;
31598
31745
  /**
31599
31746
  * flow version ID
31600
31747
  */
@@ -31607,7 +31754,7 @@ export type $OpenApiTs = {
31607
31754
  */
31608
31755
  201: string;
31609
31756
  /**
31610
- * Chat-enabled flow only: the conversation named by `memory_id` is still answering a message. The body is JSON: `{ "error": string, "running_turn": { "job_id", "user_seq" } }`.
31757
+ * Another run with this `memory_id` is still running (for a chat-enabled flow, the conversation is still answering a message). The body is JSON: `{ "error": string, "running_turn": { "job_id", "user_seq"? } }`, `user_seq` for a chat conversation. Pass `take_over=true` to stop it instead.
31611
31758
  */
31612
31759
  409: unknown;
31613
31760
  };
@@ -31995,6 +32142,10 @@ export type $OpenApiTs = {
31995
32142
  * preview
31996
32143
  */
31997
32144
  requestBody: FlowPreview;
32145
+ /**
32146
+ * Stop the run that holds `memory_id`, if any, and run this one instead of being refused with a 409. Only who started that run, or an admin, can stop it; a restricted token also needs an unconfined `jobs:cancel` scope.
32147
+ */
32148
+ takeOver?: boolean;
31998
32149
  workspace: string;
31999
32150
  };
32000
32151
  res: {
@@ -32003,7 +32154,7 @@ export type $OpenApiTs = {
32003
32154
  */
32004
32155
  201: string;
32005
32156
  /**
32006
- * Chat-enabled flow only: the conversation named by `memory_id` is still answering a message. The body is JSON: `{ "error": string, "running_turn": { "job_id", "user_seq" } }`.
32157
+ * Another run with this `memory_id` is still running (for a chat-enabled flow, the conversation is still answering a message). The body is JSON: `{ "error": string, "running_turn": { "job_id", "user_seq"? } }`, `user_seq` for a chat conversation. Pass `take_over=true` to stop it instead.
32007
32158
  */
32008
32159
  409: unknown;
32009
32160
  };
@@ -32030,6 +32181,10 @@ export type $OpenApiTs = {
32030
32181
  */
32031
32182
  previous_messages?: Array<unknown>;
32032
32183
  };
32184
+ /**
32185
+ * Stop the run that holds `memory_id`, if any, and run this one instead of being refused with a 409. Only who started that run, or an admin, can stop it; a restricted token also needs an unconfined `jobs:cancel` scope.
32186
+ */
32187
+ takeOver?: boolean;
32033
32188
  workspace: string;
32034
32189
  };
32035
32190
  res: {
@@ -32051,6 +32206,10 @@ export type $OpenApiTs = {
32051
32206
  * preview
32052
32207
  */
32053
32208
  requestBody: FlowPreview;
32209
+ /**
32210
+ * Stop the run that holds `memory_id`, if any, and run this one instead of being refused with a 409. Only who started that run, or an admin, can stop it; a restricted token also needs an unconfined `jobs:cancel` scope.
32211
+ */
32212
+ takeOver?: boolean;
32054
32213
  workspace: string;
32055
32214
  };
32056
32215
  res: {
@@ -32059,7 +32218,7 @@ export type $OpenApiTs = {
32059
32218
  */
32060
32219
  200: unknown;
32061
32220
  /**
32062
- * Chat-enabled flow only: the conversation named by `memory_id` is still answering a message. The body is JSON: `{ "error": string, "running_turn": { "job_id", "user_seq" } }`.
32221
+ * Another run with this `memory_id` is still running (for a chat-enabled flow, the conversation is still answering a message). The body is JSON: `{ "error": string, "running_turn": { "job_id", "user_seq"? } }`, `user_seq` for a chat conversation. Pass `take_over=true` to stop it instead.
32063
32222
  */
32064
32223
  409: unknown;
32065
32224
  };
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.871.1",
4
+ "version": "1.873.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",