windmill-components 1.665.1 → 1.677.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/sharedUtils/assets/tokens/colorTokensConfig.d.ts +2 -0
- package/dist/sharedUtils/base.d.ts +1 -0
- package/dist/sharedUtils/cloud.d.ts +1 -0
- package/dist/sharedUtils/common.d.ts +111 -0
- package/dist/sharedUtils/components/apps/components/display/dbtable/queries/count.d.ts +5 -0
- package/dist/sharedUtils/components/apps/components/display/dbtable/queries/delete.d.ts +5 -0
- package/dist/sharedUtils/components/apps/components/display/dbtable/queries/insert.d.ts +5 -0
- package/dist/sharedUtils/components/apps/components/display/dbtable/queries/select.d.ts +13 -0
- package/dist/sharedUtils/components/apps/components/display/dbtable/queries/update.d.ts +11 -0
- package/dist/sharedUtils/components/apps/components/display/dbtable/utils.d.ts +95 -0
- package/dist/sharedUtils/components/apps/editor/appPolicy.d.ts +6 -0
- package/dist/sharedUtils/components/apps/editor/appUtilsCore.d.ts +7 -0
- package/dist/sharedUtils/components/apps/editor/appUtilsS3.d.ts +33 -0
- package/dist/sharedUtils/components/apps/editor/commonAppUtils.d.ts +10 -0
- package/dist/sharedUtils/components/apps/editor/component/components.d.ts +5371 -0
- package/dist/sharedUtils/components/apps/editor/component/default-codes.d.ts +3 -0
- package/dist/sharedUtils/components/apps/editor/component/index.d.ts +3 -0
- package/dist/sharedUtils/components/apps/editor/component/sets.d.ts +7 -0
- package/dist/sharedUtils/components/apps/editor/componentsPanel/componentDefaultProps.d.ts +3 -0
- package/dist/sharedUtils/components/apps/gridUtils.d.ts +14 -0
- package/dist/sharedUtils/components/apps/inputType.d.ts +178 -0
- package/dist/sharedUtils/components/apps/rx.d.ts +29 -0
- package/dist/sharedUtils/components/apps/sharedTypes.d.ts +21 -0
- package/dist/sharedUtils/components/apps/types.d.ts +274 -0
- package/dist/sharedUtils/components/assets/lib.d.ts +25 -0
- package/dist/sharedUtils/components/common/alert/model.d.ts +2 -0
- package/dist/sharedUtils/components/common/badge/model.d.ts +8 -0
- package/dist/sharedUtils/components/common/button/model.d.ts +45 -0
- package/dist/sharedUtils/components/common/fileInput/model.d.ts +1 -0
- package/dist/sharedUtils/components/common/index.d.ts +24 -0
- package/dist/sharedUtils/components/common/skeleton/model.d.ts +21 -0
- package/dist/sharedUtils/components/dbTypes.d.ts +14 -0
- package/dist/sharedUtils/components/diff_drawer.d.ts +26 -0
- package/dist/sharedUtils/components/ducklake.d.ts +1 -0
- package/dist/sharedUtils/components/flows/scheduleUtils.d.ts +7 -0
- package/dist/sharedUtils/components/icons/index.d.ts +101 -0
- package/dist/sharedUtils/components/random_positive_adjetive.d.ts +1 -0
- package/dist/sharedUtils/components/raw_apps/rawAppPolicy.d.ts +10 -0
- package/dist/sharedUtils/components/raw_apps/utils.d.ts +15 -0
- package/dist/sharedUtils/components/triggers/email/utils.d.ts +4 -0
- package/dist/sharedUtils/components/triggers/gcp/utils.d.ts +2 -0
- package/dist/sharedUtils/components/triggers/http/utils.d.ts +11 -0
- package/dist/sharedUtils/components/triggers/kafka/utils.d.ts +2 -0
- package/dist/sharedUtils/components/triggers/mqtt/utils.d.ts +2 -0
- package/dist/sharedUtils/components/triggers/nats/utils.d.ts +2 -0
- package/dist/sharedUtils/components/triggers/postgres/utils.d.ts +8 -0
- package/dist/sharedUtils/components/triggers/sqs/utils.d.ts +2 -0
- package/dist/sharedUtils/components/triggers/triggers.svelte.d.ts +32 -0
- package/dist/sharedUtils/components/triggers/utils.d.ts +80 -0
- package/dist/sharedUtils/components/triggers/websocket/utils.d.ts +2 -0
- package/dist/sharedUtils/components/triggers.d.ts +20 -0
- package/dist/sharedUtils/gen/core/ApiError.d.ts +10 -0
- package/dist/sharedUtils/gen/core/ApiRequestOptions.d.ts +13 -0
- package/dist/sharedUtils/gen/core/ApiResult.d.ts +7 -0
- package/dist/sharedUtils/gen/core/CancelablePromise.d.ts +26 -0
- package/dist/sharedUtils/gen/core/OpenAPI.d.ts +27 -0
- package/dist/sharedUtils/gen/core/request.d.ts +29 -0
- package/dist/sharedUtils/gen/index.d.ts +6 -0
- package/dist/sharedUtils/gen/schemas.gen.d.ts +7036 -0
- package/dist/sharedUtils/gen/services.gen.d.ts +6047 -0
- package/dist/sharedUtils/gen/types.gen.d.ts +21881 -0
- package/dist/sharedUtils/history.svelte.d.ts +9 -0
- package/dist/sharedUtils/hub.d.ts +49 -0
- package/dist/sharedUtils/jsr.json +6 -0
- package/dist/sharedUtils/lib.d.ts +5 -0
- package/dist/sharedUtils/lib.es.js +1588 -0
- package/dist/sharedUtils/package.json +12 -0
- package/dist/sharedUtils/schema.d.ts +3 -0
- package/dist/sharedUtils/stores.d.ts +97 -0
- package/dist/sharedUtils/svelte5Utils.svelte.d.ts +80 -0
- package/dist/sharedUtils/toast.d.ts +8 -0
- package/dist/sharedUtils/utils.d.ts +265 -0
- package/package/components/AddUser.svelte +67 -34
- package/package/components/AppConnectInner.svelte +9 -1
- package/package/components/ArgInfo.svelte +9 -1
- package/package/components/ArgInput.svelte +21 -1
- package/package/components/CompareWorkspaces.svelte +11 -2
- package/package/components/DedicatedWorkersSelector.svelte +262 -247
- package/package/components/DefaultTagsInner.svelte +40 -2
- package/package/components/DeployWorkspace.svelte +13 -0
- package/package/components/DiffEditor.svelte +44 -1
- package/package/components/EditableSchemaForm.svelte +5 -2
- package/package/components/EditableSchemaForm.svelte.d.ts +1 -0
- package/package/components/Editor.svelte +5 -1
- package/package/components/EditorBar.svelte +12 -3
- package/package/components/FilterSearchbar.svelte +26 -2
- package/package/components/FlowBuilder.svelte +6 -3
- package/package/components/FlowGraphDiffViewer.svelte +16 -17
- package/package/components/FlowGraphViewer.svelte +20 -6
- package/package/components/FlowGraphViewer.svelte.d.ts +2 -0
- package/package/components/FlowGraphViewerStep.svelte +14 -32
- package/package/components/FlowMetadata.svelte +4 -1
- package/package/components/FlowPreviewContent.svelte +2 -0
- package/package/components/FlowStatusWaitingForEvents.svelte +25 -4
- package/package/components/HighlightCode.svelte +3 -0
- package/package/components/InstanceSetting.svelte +9 -25
- package/package/components/InstanceSettings.svelte +16 -0
- package/package/components/LabelsInput.svelte +149 -0
- package/package/components/LabelsInput.svelte.d.ts +8 -0
- package/package/components/Login.svelte +6 -1
- package/package/components/ObjectStoreConfigSettings.svelte +273 -1
- package/package/components/OktaSetting.svelte +6 -5
- package/package/components/Password.svelte +74 -20
- package/package/components/Password.svelte.d.ts +1 -0
- package/package/components/PasswordArgInput.svelte +2 -2
- package/package/components/PasswordArgInput.svelte.d.ts +1 -0
- package/package/components/Path.svelte +8 -10
- package/package/components/PathNameAutocomplete.svelte +308 -0
- package/package/components/PathNameAutocomplete.svelte.d.ts +27 -0
- package/package/components/PowerShellCommonParams.svelte +84 -0
- package/package/components/PowerShellCommonParams.svelte.d.ts +6 -0
- package/package/components/Range.svelte +8 -3
- package/package/components/ResourceEditor.svelte +6 -2
- package/package/components/RunForm.svelte +71 -7
- package/package/components/RunForm.svelte.d.ts +2 -1
- package/package/components/ScriptBuilder.svelte +7 -3
- package/package/components/ScriptEditor.svelte +221 -187
- package/package/components/ScriptEditor.svelte.d.ts +1 -1
- package/package/components/ScriptSchema.svelte +1 -1
- package/package/components/StringTypeNarrowing.svelte +1 -1
- package/package/components/StringTypeNarrowing.svelte.d.ts +1 -1
- package/package/components/SummaryPathDisplay.svelte +32 -10
- package/package/components/SummaryPathDisplay.svelte.d.ts +2 -1
- package/package/components/VariableEditor.svelte +9 -2
- package/package/components/WorkerGroup.svelte +47 -2
- package/package/components/apps/editor/DeploymentHistory.svelte +112 -13
- package/package/components/apps/editor/inlineScriptsPanel/InlineScriptRunnableByPath.svelte +135 -35
- package/package/components/apps/editor/inlineScriptsPanel/InlineScriptRunnableByPath.svelte.d.ts +3 -1
- package/package/components/apps/editor/settingsPanel/mainInput/RunnableSelector.svelte +11 -35
- package/package/components/apps/editor/settingsPanel/mainInput/runnableSelectorUtils.d.ts +10 -0
- package/package/components/apps/editor/settingsPanel/mainInput/runnableSelectorUtils.js +14 -0
- package/package/components/apps/editor/settingsPanel/mainInput/runnableSelectorUtils.test.d.ts +1 -0
- package/package/components/apps/editor/settingsPanel/mainInput/runnableSelectorUtils.test.js +34 -0
- package/package/components/assets/AssetButtons.svelte +21 -25
- package/package/components/assets/AssetsUsageDrawer.svelte +7 -9
- package/package/components/common/fileUpload/FileUpload.svelte +6 -2
- package/package/components/common/languageIcons/LanguageIcon.svelte +3 -0
- package/package/components/common/table/AppRow.svelte +18 -0
- package/package/components/common/table/FlowRow.svelte +18 -0
- package/package/components/common/table/ScriptRow.svelte +18 -0
- package/package/components/copilot/chat/AIChatManager.svelte.js +3 -3
- package/package/components/copilot/chat/flow/openFlow.json +1 -1
- package/package/components/copilot/chat/flow/openFlowZod.js +3 -3
- package/package/components/custom_ui.d.ts +2 -0
- package/package/components/details/DetailPageHeader.svelte +2 -2
- package/package/components/details/DetailPageHeader.svelte.d.ts +2 -1
- package/package/components/flows/agentToolUtils.d.ts +5 -0
- package/package/components/flows/agentToolUtils.js +49 -0
- package/package/components/flows/agentToolUtils.test.d.ts +1 -0
- package/package/components/flows/agentToolUtils.test.js +55 -0
- package/package/components/flows/content/FlowInput.svelte +2 -0
- package/package/components/flows/content/FlowInputsQuick.svelte +1 -1
- package/package/components/flows/content/FlowLoop.svelte +5 -12
- package/package/components/flows/content/FlowModuleScript.svelte +5 -3
- package/package/components/flows/content/FlowPathViewer.svelte +2 -2
- package/package/components/flows/content/FlowPathViewer.svelte.d.ts +1 -0
- package/package/components/flows/content/FlowSettings.svelte +2 -0
- package/package/components/flows/content/FlowWhileLoop.svelte +5 -12
- package/package/components/flows/flowInfers.js +8 -3
- package/package/components/flows/map/FlowModuleSchemaMap.svelte +49 -9
- package/package/components/flows/pickers/PickHubScriptQuick.svelte +5 -3
- package/package/components/flows/pickers/PickHubScriptQuick.svelte.d.ts +1 -1
- package/package/components/flows/scheduleUtils.js +2 -1
- package/package/components/graph/FlowGraphV2.svelte +13 -1
- package/package/components/graph/WacDiagram.svelte +96 -0
- package/package/components/graph/WacDiagram.svelte.d.ts +7 -0
- package/package/components/graph/noteEditor.svelte.d.ts +1 -1
- package/package/components/graph/noteEditor.svelte.js +12 -1
- package/package/components/graph/noteUtils.svelte.d.ts +1 -1
- package/package/components/graph/noteUtils.svelte.js +9 -2
- package/package/components/graph/renderers/edges/WacEdge.svelte +41 -0
- package/package/components/graph/renderers/edges/WacEdge.svelte.d.ts +4 -0
- package/package/components/graph/renderers/nodes/WacControlNode.svelte +51 -0
- package/package/components/graph/renderers/nodes/WacControlNode.svelte.d.ts +9 -0
- package/package/components/graph/renderers/nodes/WacStepNode.svelte +35 -0
- package/package/components/graph/renderers/nodes/WacStepNode.svelte.d.ts +9 -0
- package/package/components/graph/wacDagLayout.d.ts +10 -0
- package/package/components/graph/wacDagLayout.js +120 -0
- package/package/components/graph/wacToFlow.js +1 -1
- package/package/components/home/ItemsList.svelte +28 -4
- package/package/components/icons/RIcon.svelte +32 -0
- package/package/components/icons/RIcon.svelte.d.ts +7 -0
- package/package/components/instanceSettings/DbHealth.svelte +723 -0
- package/package/components/instanceSettings/DbHealth.svelte.d.ts +3 -0
- package/package/components/instanceSettings/SecretBackendConfig.svelte +343 -304
- package/package/components/instanceSettings/SmtpSettings.svelte +8 -0
- package/package/components/instanceSettings.js +14 -5
- package/package/components/mcp/McpScopeSelector.svelte +82 -16
- package/package/components/moveRenameManager.d.ts +1 -0
- package/package/components/moveRenameManager.js +7 -4
- package/package/components/raw_apps/RawAppInlineScriptRunnable.svelte +14 -1
- package/package/components/raw_apps/rawAppPolicy.js +3 -2
- package/package/components/raw_apps/utils.test.d.ts +1 -0
- package/package/components/raw_apps/utils.test.js +38 -0
- package/package/components/resources/resourcesFilter.d.ts +15 -2
- package/package/components/resources/resourcesFilter.js +11 -2
- package/package/components/runs/JobDetailFieldConfig.js +5 -3
- package/package/components/runs/JobDetailHeader.svelte +5 -2
- package/package/components/runs/JobRunsPreview.svelte +1 -0
- package/package/components/runs/RunBadges.svelte +7 -4
- package/package/components/runs/RunRow.svelte +7 -7
- package/package/components/schedules/schedulesFilter.d.ts +15 -2
- package/package/components/schedules/schedulesFilter.js +11 -2
- package/package/components/schema/EditableSchemaWrapper.svelte +6 -8
- package/package/components/schema/PropertyEditor.svelte +22 -1
- package/package/components/schema/PropertyEditor.svelte.d.ts +1 -0
- package/package/components/schema/editable_schema_wrapper.d.ts +1 -0
- package/package/components/secretArgUtils.d.ts +7 -0
- package/package/components/secretArgUtils.js +45 -0
- package/package/components/settings/WorkspaceUserSettings.svelte +359 -286
- package/package/components/sidebar/OperatorMenu.svelte +215 -197
- package/package/components/triggers/CaptureWrapper.svelte +1 -1
- package/package/components/triggers/TriggerFilters.svelte +17 -5
- package/package/components/triggers/TriggerFilters.svelte.d.ts +2 -1
- package/package/components/triggers/kafka/KafkaCapture.svelte +6 -2
- package/package/components/triggers/kafka/KafkaCapture.svelte.d.ts +1 -1
- package/package/components/triggers/kafka/KafkaTriggerEditorInner.svelte +5 -1
- package/package/components/triggers/kafka/utils.js +1 -0
- package/package/components/triggers/schedules/ScheduleEditorInner.svelte +6 -0
- package/package/components/triggers/websocket/WebsocketTriggerEditorInner.svelte +87 -1
- package/package/components/triggers/websocket/utils.js +2 -0
- package/package/components/variables/variablesFilter.d.ts +15 -2
- package/package/components/variables/variablesFilter.js +11 -2
- package/package/components/worker_group.js +1 -0
- package/package/components/workspaceSettings/DucklakeSettings.svelte +33 -41
- package/package/consts.d.ts +1 -0
- package/package/consts.js +1 -0
- package/package/editorLangUtils.d.ts +1 -1
- package/package/editorLangUtils.js +2 -0
- package/package/gen/core/OpenAPI.js +1 -1
- package/package/gen/schemas.gen.d.ts +94 -294
- package/package/gen/schemas.gen.js +94 -294
- package/package/gen/services.gen.d.ts +5 -121
- package/package/gen/services.gen.js +5 -237
- package/package/gen/types.gen.d.ts +91 -715
- package/package/hubPaths.json +6 -3
- package/package/infer.d.ts +55 -0
- package/package/infer.js +131 -0
- package/package/infer.svelte.js +2 -0
- package/package/mcpEndpointTools.js +213 -22
- package/package/script_helpers.d.ts +3 -0
- package/package/script_helpers.js +26 -0
- package/package/scripts.d.ts +2 -1
- package/package/scripts.js +15 -3
- package/package/stores.d.ts +2 -0
- package/package/system_prompts/prompts.d.ts +6 -5
- package/package/system_prompts/prompts.js +188 -29
- package/package/user.js +5 -1
- package/package/utils.js +21 -0
- package/package/utils_deployable.d.ts +7 -0
- package/package/utils_workspace_deploy.js +36 -8
- package/package.json +6 -5
|
@@ -105,35 +105,6 @@ export type FlowValue = {
|
|
|
105
105
|
* Sticky notes attached to the flow
|
|
106
106
|
*/
|
|
107
107
|
notes?: Array<FlowNote>;
|
|
108
|
-
/**
|
|
109
|
-
* Semantic groups of modules for organizational purposes
|
|
110
|
-
*/
|
|
111
|
-
groups?: Array<{
|
|
112
|
-
/**
|
|
113
|
-
* Display name for this group
|
|
114
|
-
*/
|
|
115
|
-
summary?: string;
|
|
116
|
-
/**
|
|
117
|
-
* Markdown note shown below the group header
|
|
118
|
-
*/
|
|
119
|
-
note?: string;
|
|
120
|
-
/**
|
|
121
|
-
* If true, this group is collapsed by default in the flow editor. UI hint only.
|
|
122
|
-
*/
|
|
123
|
-
autocollapse?: boolean;
|
|
124
|
-
/**
|
|
125
|
-
* ID of the first flow module in this group (topological entry point)
|
|
126
|
-
*/
|
|
127
|
-
start_id: string;
|
|
128
|
-
/**
|
|
129
|
-
* ID of the last flow module in this group (topological exit point)
|
|
130
|
-
*/
|
|
131
|
-
end_id: string;
|
|
132
|
-
/**
|
|
133
|
-
* Color for the group in the flow editor
|
|
134
|
-
*/
|
|
135
|
-
color?: string;
|
|
136
|
-
}>;
|
|
137
108
|
};
|
|
138
109
|
/**
|
|
139
110
|
* Retry configuration for failed module executions
|
|
@@ -196,9 +167,9 @@ export type StopAfterIf = {
|
|
|
196
167
|
*/
|
|
197
168
|
expr: string;
|
|
198
169
|
/**
|
|
199
|
-
* Custom error message when stopping
|
|
170
|
+
* Custom error message shown when stopping
|
|
200
171
|
*/
|
|
201
|
-
error_message?: string
|
|
172
|
+
error_message?: string;
|
|
202
173
|
};
|
|
203
174
|
/**
|
|
204
175
|
* A single step in a flow. Can be a script, subflow, loop, or branch
|
|
@@ -316,31 +287,6 @@ export type FlowModule = {
|
|
|
316
287
|
* Retry configuration if this step fails
|
|
317
288
|
*/
|
|
318
289
|
retry?: Retry;
|
|
319
|
-
/**
|
|
320
|
-
* Debounce configuration for this step (EE only)
|
|
321
|
-
*/
|
|
322
|
-
debouncing?: {
|
|
323
|
-
/**
|
|
324
|
-
* Delay in seconds to debounce this step's executions across flow runs
|
|
325
|
-
*/
|
|
326
|
-
debounce_delay_s?: number;
|
|
327
|
-
/**
|
|
328
|
-
* Expression to group debounced executions. Supports $workspace and $args[name]. Default: $workspace/flow/<flow_path>-<step_id>
|
|
329
|
-
*/
|
|
330
|
-
debounce_key?: string;
|
|
331
|
-
/**
|
|
332
|
-
* Array-type arguments to accumulate across debounced executions
|
|
333
|
-
*/
|
|
334
|
-
debounce_args_to_accumulate?: Array<(string)>;
|
|
335
|
-
/**
|
|
336
|
-
* Maximum total time in seconds before forced execution
|
|
337
|
-
*/
|
|
338
|
-
max_total_debouncing_time?: number;
|
|
339
|
-
/**
|
|
340
|
-
* Maximum number of debounces before forced execution
|
|
341
|
-
*/
|
|
342
|
-
max_total_debounces_amount?: number;
|
|
343
|
-
};
|
|
344
290
|
};
|
|
345
291
|
/**
|
|
346
292
|
* Maps input parameters for a step. Can be a static value or a JavaScript expression that references previous results or flow inputs
|
|
@@ -1285,15 +1231,6 @@ export type AIConfig = {
|
|
|
1285
1231
|
[key: string]: (number);
|
|
1286
1232
|
};
|
|
1287
1233
|
};
|
|
1288
|
-
export type InstanceAIProviderSummary = {
|
|
1289
|
-
provider: AIProvider;
|
|
1290
|
-
models: Array<(string)>;
|
|
1291
|
-
};
|
|
1292
|
-
export type InstanceAISummary = {
|
|
1293
|
-
providers: Array<InstanceAIProviderSummary>;
|
|
1294
|
-
default_model?: AIProviderModel;
|
|
1295
|
-
code_completion_model?: AIProviderModel;
|
|
1296
|
-
};
|
|
1297
1234
|
export type Alert = {
|
|
1298
1235
|
name: string;
|
|
1299
1236
|
tags_to_monitor: Array<(string)>;
|
|
@@ -1369,16 +1306,10 @@ export type Script = {
|
|
|
1369
1306
|
timeout?: number;
|
|
1370
1307
|
delete_after_use?: boolean;
|
|
1371
1308
|
visible_to_runner_only?: boolean;
|
|
1372
|
-
|
|
1309
|
+
no_main_func: boolean;
|
|
1373
1310
|
codebase?: string;
|
|
1374
1311
|
has_preprocessor: boolean;
|
|
1375
1312
|
on_behalf_of_email?: string;
|
|
1376
|
-
/**
|
|
1377
|
-
* Additional script modules keyed by relative file path
|
|
1378
|
-
*/
|
|
1379
|
-
modules?: {
|
|
1380
|
-
[key: string]: ScriptModule;
|
|
1381
|
-
} | null;
|
|
1382
1313
|
};
|
|
1383
1314
|
export type NewScript = {
|
|
1384
1315
|
path: string;
|
|
@@ -1414,7 +1345,7 @@ export type NewScript = {
|
|
|
1414
1345
|
max_total_debouncing_time?: number;
|
|
1415
1346
|
max_total_debounces_amount?: number;
|
|
1416
1347
|
visible_to_runner_only?: boolean;
|
|
1417
|
-
|
|
1348
|
+
no_main_func?: boolean;
|
|
1418
1349
|
codebase?: string;
|
|
1419
1350
|
has_preprocessor?: boolean;
|
|
1420
1351
|
on_behalf_of_email?: string;
|
|
@@ -1428,12 +1359,6 @@ export type NewScript = {
|
|
|
1428
1359
|
access_type?: 'r' | 'w' | 'rw';
|
|
1429
1360
|
alt_access_type?: 'r' | 'w' | 'rw';
|
|
1430
1361
|
}>;
|
|
1431
|
-
/**
|
|
1432
|
-
* Additional script modules keyed by relative file path
|
|
1433
|
-
*/
|
|
1434
|
-
modules?: {
|
|
1435
|
-
[key: string]: ScriptModule;
|
|
1436
|
-
} | null;
|
|
1437
1362
|
};
|
|
1438
1363
|
export type NewScriptWithDraft = NewScript & {
|
|
1439
1364
|
draft?: NewScript;
|
|
@@ -1889,24 +1814,10 @@ export type MainArgSignature = {
|
|
|
1889
1814
|
has_default?: boolean;
|
|
1890
1815
|
default?: unknown;
|
|
1891
1816
|
}>;
|
|
1892
|
-
|
|
1817
|
+
no_main_func: boolean | null;
|
|
1893
1818
|
has_preprocessor: boolean | null;
|
|
1894
1819
|
};
|
|
1895
1820
|
export type ScriptLang = 'python3' | 'deno' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'oracledb' | 'graphql' | 'nativets' | 'bun' | 'php' | 'rust' | 'ansible' | 'csharp' | 'nu' | 'java' | 'ruby' | 'duckdb' | 'bunnative';
|
|
1896
|
-
/**
|
|
1897
|
-
* An additional module file associated with a script
|
|
1898
|
-
*/
|
|
1899
|
-
export type ScriptModule = {
|
|
1900
|
-
/**
|
|
1901
|
-
* The source code content of this module
|
|
1902
|
-
*/
|
|
1903
|
-
content: string;
|
|
1904
|
-
language: ScriptLang;
|
|
1905
|
-
/**
|
|
1906
|
-
* Lock file content for this module's dependencies
|
|
1907
|
-
*/
|
|
1908
|
-
lock?: string | null;
|
|
1909
|
-
};
|
|
1910
1821
|
export type Preview = {
|
|
1911
1822
|
/**
|
|
1912
1823
|
* The code to run
|
|
@@ -1927,12 +1838,6 @@ export type Preview = {
|
|
|
1927
1838
|
dedicated_worker?: boolean;
|
|
1928
1839
|
lock?: string;
|
|
1929
1840
|
flow_path?: string;
|
|
1930
|
-
/**
|
|
1931
|
-
* Additional script modules keyed by relative file path
|
|
1932
|
-
*/
|
|
1933
|
-
modules?: {
|
|
1934
|
-
[key: string]: ScriptModule;
|
|
1935
|
-
} | null;
|
|
1936
1841
|
};
|
|
1937
1842
|
export type PreviewInline = {
|
|
1938
1843
|
/**
|
|
@@ -2077,10 +1982,6 @@ export type Schedule = {
|
|
|
2077
1982
|
* Email of the user who owns this schedule, used for permissioned_as
|
|
2078
1983
|
*/
|
|
2079
1984
|
email: string;
|
|
2080
|
-
/**
|
|
2081
|
-
* The user or group this schedule runs as (e.g., 'u/admin' or 'g/mygroup')
|
|
2082
|
-
*/
|
|
2083
|
-
permissioned_as: string;
|
|
2084
1985
|
/**
|
|
2085
1986
|
* Last error message if the schedule failed to trigger
|
|
2086
1987
|
*/
|
|
@@ -2241,13 +2142,13 @@ export type NewSchedule = {
|
|
|
2241
2142
|
*/
|
|
2242
2143
|
dynamic_skip?: string | null;
|
|
2243
2144
|
/**
|
|
2244
|
-
*
|
|
2145
|
+
* Email of the user who the scheduled jobs run as. Used during deployment to preserve the original schedule owner.
|
|
2245
2146
|
*/
|
|
2246
|
-
|
|
2147
|
+
email?: string;
|
|
2247
2148
|
/**
|
|
2248
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
2149
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
2249
2150
|
*/
|
|
2250
|
-
|
|
2151
|
+
preserve_email?: boolean;
|
|
2251
2152
|
};
|
|
2252
2153
|
export type EditSchedule = {
|
|
2253
2154
|
/**
|
|
@@ -2320,13 +2221,13 @@ export type EditSchedule = {
|
|
|
2320
2221
|
*/
|
|
2321
2222
|
dynamic_skip?: string | null;
|
|
2322
2223
|
/**
|
|
2323
|
-
*
|
|
2224
|
+
* Email of the user who the scheduled jobs run as. Used during deployment to preserve the original schedule owner.
|
|
2324
2225
|
*/
|
|
2325
|
-
|
|
2226
|
+
email?: string;
|
|
2326
2227
|
/**
|
|
2327
|
-
*
|
|
2228
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
2328
2229
|
*/
|
|
2329
|
-
|
|
2230
|
+
preserve_email?: boolean;
|
|
2330
2231
|
};
|
|
2331
2232
|
/**
|
|
2332
2233
|
* job trigger kind (schedule, http, websocket...)
|
|
@@ -2346,9 +2247,9 @@ export type TriggerExtraProperty = {
|
|
|
2346
2247
|
*/
|
|
2347
2248
|
script_path: string;
|
|
2348
2249
|
/**
|
|
2349
|
-
*
|
|
2250
|
+
* Email of the user who owns this trigger, used for permissioned_as
|
|
2350
2251
|
*/
|
|
2351
|
-
|
|
2252
|
+
email: string;
|
|
2352
2253
|
/**
|
|
2353
2254
|
* Additional permissions for this trigger
|
|
2354
2255
|
*/
|
|
@@ -2582,13 +2483,13 @@ export type NewHttpTrigger = {
|
|
|
2582
2483
|
*/
|
|
2583
2484
|
retry?: Retry;
|
|
2584
2485
|
/**
|
|
2585
|
-
*
|
|
2486
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
2586
2487
|
*/
|
|
2587
|
-
|
|
2488
|
+
email?: string;
|
|
2588
2489
|
/**
|
|
2589
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
2490
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
2590
2491
|
*/
|
|
2591
|
-
|
|
2492
|
+
preserve_email?: boolean;
|
|
2592
2493
|
};
|
|
2593
2494
|
export type EditHttpTrigger = {
|
|
2594
2495
|
/**
|
|
@@ -2681,13 +2582,13 @@ export type EditHttpTrigger = {
|
|
|
2681
2582
|
*/
|
|
2682
2583
|
retry?: Retry;
|
|
2683
2584
|
/**
|
|
2684
|
-
*
|
|
2585
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
2685
2586
|
*/
|
|
2686
|
-
|
|
2587
|
+
email?: string;
|
|
2687
2588
|
/**
|
|
2688
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
2589
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
2689
2590
|
*/
|
|
2690
|
-
|
|
2591
|
+
preserve_email?: boolean;
|
|
2691
2592
|
};
|
|
2692
2593
|
export type TriggersCount = {
|
|
2693
2594
|
primary_schedule?: {
|
|
@@ -2815,13 +2716,13 @@ export type NewWebsocketTrigger = {
|
|
|
2815
2716
|
*/
|
|
2816
2717
|
retry?: Retry;
|
|
2817
2718
|
/**
|
|
2818
|
-
*
|
|
2719
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
2819
2720
|
*/
|
|
2820
|
-
|
|
2721
|
+
email?: string;
|
|
2821
2722
|
/**
|
|
2822
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
2723
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
2823
2724
|
*/
|
|
2824
|
-
|
|
2725
|
+
preserve_email?: boolean;
|
|
2825
2726
|
};
|
|
2826
2727
|
export type EditWebsocketTrigger = {
|
|
2827
2728
|
/**
|
|
@@ -2876,13 +2777,13 @@ export type EditWebsocketTrigger = {
|
|
|
2876
2777
|
*/
|
|
2877
2778
|
retry?: Retry;
|
|
2878
2779
|
/**
|
|
2879
|
-
*
|
|
2780
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
2880
2781
|
*/
|
|
2881
|
-
|
|
2782
|
+
email?: string;
|
|
2882
2783
|
/**
|
|
2883
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
2784
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
2884
2785
|
*/
|
|
2885
|
-
|
|
2786
|
+
preserve_email?: boolean;
|
|
2886
2787
|
};
|
|
2887
2788
|
export type WebsocketTriggerInitialMessage = {
|
|
2888
2789
|
raw_message: string;
|
|
@@ -3008,13 +2909,13 @@ export type NewMqttTrigger = {
|
|
|
3008
2909
|
*/
|
|
3009
2910
|
retry?: Retry;
|
|
3010
2911
|
/**
|
|
3011
|
-
*
|
|
2912
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3012
2913
|
*/
|
|
3013
|
-
|
|
2914
|
+
email?: string;
|
|
3014
2915
|
/**
|
|
3015
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
2916
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3016
2917
|
*/
|
|
3017
|
-
|
|
2918
|
+
preserve_email?: boolean;
|
|
3018
2919
|
};
|
|
3019
2920
|
export type EditMqttTrigger = {
|
|
3020
2921
|
/**
|
|
@@ -3067,13 +2968,13 @@ export type EditMqttTrigger = {
|
|
|
3067
2968
|
*/
|
|
3068
2969
|
retry?: Retry;
|
|
3069
2970
|
/**
|
|
3070
|
-
*
|
|
2971
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3071
2972
|
*/
|
|
3072
|
-
|
|
2973
|
+
email?: string;
|
|
3073
2974
|
/**
|
|
3074
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
2975
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3075
2976
|
*/
|
|
3076
|
-
|
|
2977
|
+
preserve_email?: boolean;
|
|
3077
2978
|
};
|
|
3078
2979
|
/**
|
|
3079
2980
|
* Delivery mode for messages. 'push' for HTTP push delivery where messages are sent to a webhook endpoint, 'pull' for polling where the trigger actively fetches messages.
|
|
@@ -3197,13 +3098,13 @@ export type GcpTriggerData = {
|
|
|
3197
3098
|
*/
|
|
3198
3099
|
retry?: Retry;
|
|
3199
3100
|
/**
|
|
3200
|
-
*
|
|
3101
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3201
3102
|
*/
|
|
3202
|
-
|
|
3103
|
+
email?: string;
|
|
3203
3104
|
/**
|
|
3204
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
3105
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3205
3106
|
*/
|
|
3206
|
-
|
|
3107
|
+
preserve_email?: boolean;
|
|
3207
3108
|
};
|
|
3208
3109
|
export type GetAllTopicSubscription = {
|
|
3209
3110
|
topic_id: string;
|
|
@@ -3319,13 +3220,13 @@ export type NewSqsTrigger = {
|
|
|
3319
3220
|
*/
|
|
3320
3221
|
retry?: Retry;
|
|
3321
3222
|
/**
|
|
3322
|
-
*
|
|
3223
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3323
3224
|
*/
|
|
3324
|
-
|
|
3225
|
+
email?: string;
|
|
3325
3226
|
/**
|
|
3326
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
3227
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3327
3228
|
*/
|
|
3328
|
-
|
|
3229
|
+
preserve_email?: boolean;
|
|
3329
3230
|
};
|
|
3330
3231
|
export type EditSqsTrigger = {
|
|
3331
3232
|
/**
|
|
@@ -3370,13 +3271,13 @@ export type EditSqsTrigger = {
|
|
|
3370
3271
|
*/
|
|
3371
3272
|
retry?: Retry;
|
|
3372
3273
|
/**
|
|
3373
|
-
*
|
|
3274
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3374
3275
|
*/
|
|
3375
|
-
|
|
3276
|
+
email?: string;
|
|
3376
3277
|
/**
|
|
3377
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
3278
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3378
3279
|
*/
|
|
3379
|
-
|
|
3280
|
+
preserve_email?: boolean;
|
|
3380
3281
|
};
|
|
3381
3282
|
export type Slot = {
|
|
3382
3283
|
name?: string;
|
|
@@ -3485,13 +3386,13 @@ export type NewPostgresTrigger = {
|
|
|
3485
3386
|
*/
|
|
3486
3387
|
retry?: Retry;
|
|
3487
3388
|
/**
|
|
3488
|
-
*
|
|
3389
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3489
3390
|
*/
|
|
3490
|
-
|
|
3391
|
+
email?: string;
|
|
3491
3392
|
/**
|
|
3492
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
3393
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3493
3394
|
*/
|
|
3494
|
-
|
|
3395
|
+
preserve_email?: boolean;
|
|
3495
3396
|
};
|
|
3496
3397
|
export type EditPostgresTrigger = {
|
|
3497
3398
|
/**
|
|
@@ -3536,13 +3437,13 @@ export type EditPostgresTrigger = {
|
|
|
3536
3437
|
*/
|
|
3537
3438
|
retry?: Retry;
|
|
3538
3439
|
/**
|
|
3539
|
-
*
|
|
3440
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3540
3441
|
*/
|
|
3541
|
-
|
|
3442
|
+
email?: string;
|
|
3542
3443
|
/**
|
|
3543
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
3444
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3544
3445
|
*/
|
|
3545
|
-
|
|
3446
|
+
preserve_email?: boolean;
|
|
3546
3447
|
};
|
|
3547
3448
|
export type KafkaTrigger = TriggerExtraProperty & {
|
|
3548
3449
|
/**
|
|
@@ -3645,13 +3546,13 @@ export type NewKafkaTrigger = {
|
|
|
3645
3546
|
*/
|
|
3646
3547
|
retry?: Retry;
|
|
3647
3548
|
/**
|
|
3648
|
-
*
|
|
3549
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3649
3550
|
*/
|
|
3650
|
-
|
|
3551
|
+
email?: string;
|
|
3651
3552
|
/**
|
|
3652
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
3553
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3653
3554
|
*/
|
|
3654
|
-
|
|
3555
|
+
preserve_email?: boolean;
|
|
3655
3556
|
};
|
|
3656
3557
|
export type EditKafkaTrigger = {
|
|
3657
3558
|
/**
|
|
@@ -3703,13 +3604,13 @@ export type EditKafkaTrigger = {
|
|
|
3703
3604
|
*/
|
|
3704
3605
|
retry?: Retry;
|
|
3705
3606
|
/**
|
|
3706
|
-
*
|
|
3607
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3707
3608
|
*/
|
|
3708
|
-
|
|
3609
|
+
email?: string;
|
|
3709
3610
|
/**
|
|
3710
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
3611
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3711
3612
|
*/
|
|
3712
|
-
|
|
3613
|
+
preserve_email?: boolean;
|
|
3713
3614
|
};
|
|
3714
3615
|
export type NatsTrigger = TriggerExtraProperty & {
|
|
3715
3616
|
/**
|
|
@@ -3804,13 +3705,13 @@ export type NewNatsTrigger = {
|
|
|
3804
3705
|
*/
|
|
3805
3706
|
retry?: Retry;
|
|
3806
3707
|
/**
|
|
3807
|
-
*
|
|
3708
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3808
3709
|
*/
|
|
3809
|
-
|
|
3710
|
+
email?: string;
|
|
3810
3711
|
/**
|
|
3811
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
3712
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3812
3713
|
*/
|
|
3813
|
-
|
|
3714
|
+
preserve_email?: boolean;
|
|
3814
3715
|
};
|
|
3815
3716
|
export type EditNatsTrigger = {
|
|
3816
3717
|
/**
|
|
@@ -3858,13 +3759,13 @@ export type EditNatsTrigger = {
|
|
|
3858
3759
|
*/
|
|
3859
3760
|
retry?: Retry;
|
|
3860
3761
|
/**
|
|
3861
|
-
*
|
|
3762
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3862
3763
|
*/
|
|
3863
|
-
|
|
3764
|
+
email?: string;
|
|
3864
3765
|
/**
|
|
3865
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
3766
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3866
3767
|
*/
|
|
3867
|
-
|
|
3768
|
+
preserve_email?: boolean;
|
|
3868
3769
|
};
|
|
3869
3770
|
export type EmailTrigger = TriggerExtraProperty & {
|
|
3870
3771
|
local_part: string;
|
|
@@ -3884,13 +3785,13 @@ export type NewEmailTrigger = {
|
|
|
3884
3785
|
retry?: Retry;
|
|
3885
3786
|
mode?: TriggerMode;
|
|
3886
3787
|
/**
|
|
3887
|
-
*
|
|
3788
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3888
3789
|
*/
|
|
3889
|
-
|
|
3790
|
+
email?: string;
|
|
3890
3791
|
/**
|
|
3891
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
3792
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3892
3793
|
*/
|
|
3893
|
-
|
|
3794
|
+
preserve_email?: boolean;
|
|
3894
3795
|
};
|
|
3895
3796
|
export type EditEmailTrigger = {
|
|
3896
3797
|
path: string;
|
|
@@ -3902,13 +3803,13 @@ export type EditEmailTrigger = {
|
|
|
3902
3803
|
error_handler_args?: ScriptArgs;
|
|
3903
3804
|
retry?: Retry;
|
|
3904
3805
|
/**
|
|
3905
|
-
*
|
|
3806
|
+
* Email of the user who triggered jobs run as. Used during deployment to preserve the original trigger owner.
|
|
3906
3807
|
*/
|
|
3907
|
-
|
|
3808
|
+
email?: string;
|
|
3908
3809
|
/**
|
|
3909
|
-
* When true and the caller is a member of the 'wm_deployers' group, preserves the original
|
|
3810
|
+
* When true and the caller is a member of the 'wm_deployers' group, preserves the original email value instead of overwriting it.
|
|
3910
3811
|
*/
|
|
3911
|
-
|
|
3812
|
+
preserve_email?: boolean;
|
|
3912
3813
|
};
|
|
3913
3814
|
export type Group = {
|
|
3914
3815
|
name: string;
|
|
@@ -3922,13 +3823,11 @@ export type InstanceGroup = {
|
|
|
3922
3823
|
name: string;
|
|
3923
3824
|
summary?: string;
|
|
3924
3825
|
emails?: Array<(string)>;
|
|
3925
|
-
instance_role?: 'superadmin' | 'devops' | null;
|
|
3926
3826
|
};
|
|
3927
3827
|
export type InstanceGroupWithWorkspaces = {
|
|
3928
3828
|
name: string;
|
|
3929
3829
|
summary?: string;
|
|
3930
3830
|
emails?: Array<(string)>;
|
|
3931
|
-
instance_role?: 'superadmin' | 'devops' | null;
|
|
3932
3831
|
workspaces?: Array<WorkspaceInfo>;
|
|
3933
3832
|
};
|
|
3934
3833
|
export type WorkspaceInfo = {
|
|
@@ -4035,8 +3934,6 @@ export type GlobalUserInfo = {
|
|
|
4035
3934
|
username?: string;
|
|
4036
3935
|
operator_only?: boolean;
|
|
4037
3936
|
first_time_user: boolean;
|
|
4038
|
-
role_source: 'manual' | 'instance_group';
|
|
4039
|
-
disabled: boolean;
|
|
4040
3937
|
};
|
|
4041
3938
|
export type Flow = OpenFlow & FlowMetadata & {
|
|
4042
3939
|
lock_error_logs?: string;
|
|
@@ -4416,7 +4313,6 @@ export type ExportedInstanceGroup = {
|
|
|
4416
4313
|
id?: string;
|
|
4417
4314
|
scim_display_name?: string;
|
|
4418
4315
|
external_id?: string;
|
|
4419
|
-
instance_role?: 'superadmin' | 'devops' | null;
|
|
4420
4316
|
};
|
|
4421
4317
|
export type JobSearchHit = {
|
|
4422
4318
|
dancer?: string;
|
|
@@ -4540,7 +4436,7 @@ export type WorkspaceItemDiff = {
|
|
|
4540
4436
|
/**
|
|
4541
4437
|
* Type of the item
|
|
4542
4438
|
*/
|
|
4543
|
-
kind: 'script' | 'flow' | 'app' | '
|
|
4439
|
+
kind: 'script' | 'flow' | 'app' | 'resource' | 'variable' | 'resource_type';
|
|
4544
4440
|
/**
|
|
4545
4441
|
* Path of the item in the workspace
|
|
4546
4442
|
*/
|
|
@@ -4738,11 +4634,6 @@ export type RuleBypasserGroups = Array<(string)>;
|
|
|
4738
4634
|
* Users that can bypass this ruleset
|
|
4739
4635
|
*/
|
|
4740
4636
|
export type RuleBypasserUsers = Array<(string)>;
|
|
4741
|
-
export type QuotaInfo = {
|
|
4742
|
-
used: number;
|
|
4743
|
-
limit: number;
|
|
4744
|
-
prunable: number;
|
|
4745
|
-
};
|
|
4746
4637
|
export type NativeServiceName = 'nextcloud' | 'google';
|
|
4747
4638
|
/**
|
|
4748
4639
|
* A native trigger stored in Windmill
|
|
@@ -4775,10 +4666,6 @@ export type NativeTrigger = {
|
|
|
4775
4666
|
* Error message if the trigger is in an error state
|
|
4776
4667
|
*/
|
|
4777
4668
|
error?: string | null;
|
|
4778
|
-
/**
|
|
4779
|
-
* Short summary to be displayed when listed
|
|
4780
|
-
*/
|
|
4781
|
-
summary?: string | null;
|
|
4782
4669
|
};
|
|
4783
4670
|
/**
|
|
4784
4671
|
* Full trigger response containing both Windmill data and external service data
|
|
@@ -4811,10 +4698,6 @@ export type NativeTriggerWithExternal = {
|
|
|
4811
4698
|
* Error message if the trigger is in an error state
|
|
4812
4699
|
*/
|
|
4813
4700
|
error?: string | null;
|
|
4814
|
-
/**
|
|
4815
|
-
* Short summary to be displayed when listed
|
|
4816
|
-
*/
|
|
4817
|
-
summary?: string | null;
|
|
4818
4701
|
/**
|
|
4819
4702
|
* Configuration data from the external service
|
|
4820
4703
|
*/
|
|
@@ -4877,10 +4760,6 @@ export type NativeTriggerData = {
|
|
|
4877
4760
|
service_config: {
|
|
4878
4761
|
[key: string]: unknown;
|
|
4879
4762
|
};
|
|
4880
|
-
/**
|
|
4881
|
-
* Short summary to be displayed when listed
|
|
4882
|
-
*/
|
|
4883
|
-
summary?: string | null;
|
|
4884
4763
|
};
|
|
4885
4764
|
/**
|
|
4886
4765
|
* Response returned when a native trigger is created
|
|
@@ -5307,7 +5186,6 @@ export type GlobalUserUpdateData = {
|
|
|
5307
5186
|
is_super_admin?: boolean;
|
|
5308
5187
|
is_devops?: boolean;
|
|
5309
5188
|
name?: string;
|
|
5310
|
-
disabled?: boolean;
|
|
5311
5189
|
};
|
|
5312
5190
|
};
|
|
5313
5191
|
export type GlobalUserUpdateResponse = string;
|
|
@@ -5539,21 +5417,6 @@ export type ImportInstallationData = {
|
|
|
5539
5417
|
workspace: string;
|
|
5540
5418
|
};
|
|
5541
5419
|
export type ImportInstallationResponse = unknown;
|
|
5542
|
-
export type GhesInstallationCallbackData = {
|
|
5543
|
-
requestBody: {
|
|
5544
|
-
/**
|
|
5545
|
-
* The GitHub App installation ID from GHES
|
|
5546
|
-
*/
|
|
5547
|
-
installation_id: number;
|
|
5548
|
-
};
|
|
5549
|
-
workspace: string;
|
|
5550
|
-
};
|
|
5551
|
-
export type GhesInstallationCallbackResponse = unknown;
|
|
5552
|
-
export type GetGhesConfigResponse = {
|
|
5553
|
-
base_url: string;
|
|
5554
|
-
app_slug: string;
|
|
5555
|
-
client_id: string;
|
|
5556
|
-
};
|
|
5557
5420
|
export type ListWorkspacesResponse = Array<Workspace>;
|
|
5558
5421
|
export type IsDomainAllowedResponse = boolean;
|
|
5559
5422
|
export type ListUserWorkspacesResponse = UserWorkspaceList;
|
|
@@ -6008,20 +5871,7 @@ export type EditCopilotConfigData = {
|
|
|
6008
5871
|
requestBody: AIConfig;
|
|
6009
5872
|
workspace: string;
|
|
6010
5873
|
};
|
|
6011
|
-
export type EditCopilotConfigResponse =
|
|
6012
|
-
effective_ai_config: AIConfig;
|
|
6013
|
-
has_instance_ai_config: boolean;
|
|
6014
|
-
uses_instance_ai_config: boolean;
|
|
6015
|
-
instance_ai_summary?: InstanceAISummary;
|
|
6016
|
-
};
|
|
6017
|
-
export type GetCopilotSettingsStateData = {
|
|
6018
|
-
workspace: string;
|
|
6019
|
-
};
|
|
6020
|
-
export type GetCopilotSettingsStateResponse = {
|
|
6021
|
-
has_instance_ai_config: boolean;
|
|
6022
|
-
uses_instance_ai_config: boolean;
|
|
6023
|
-
instance_ai_summary?: InstanceAISummary;
|
|
6024
|
-
};
|
|
5874
|
+
export type EditCopilotConfigResponse = string;
|
|
6025
5875
|
export type GetCopilotInfoData = {
|
|
6026
5876
|
workspace: string;
|
|
6027
5877
|
};
|
|
@@ -6084,16 +5934,6 @@ export type EditDataTableConfigData = {
|
|
|
6084
5934
|
workspace: string;
|
|
6085
5935
|
};
|
|
6086
5936
|
export type EditDataTableConfigResponse = unknown;
|
|
6087
|
-
export type GetGitSyncEnabledData = {
|
|
6088
|
-
workspace: string;
|
|
6089
|
-
};
|
|
6090
|
-
export type GetGitSyncEnabledResponse = {
|
|
6091
|
-
enabled?: boolean;
|
|
6092
|
-
reason?: string | null;
|
|
6093
|
-
max_repos?: number | null;
|
|
6094
|
-
user_count?: number | null;
|
|
6095
|
-
max_users?: number | null;
|
|
6096
|
-
};
|
|
6097
5937
|
export type EditWorkspaceGitSyncConfigData = {
|
|
6098
5938
|
/**
|
|
6099
5939
|
* Workspace Git sync settings
|
|
@@ -6196,7 +6036,6 @@ export type GetWorkspaceDefaultAppData = {
|
|
|
6196
6036
|
};
|
|
6197
6037
|
export type GetWorkspaceDefaultAppResponse = {
|
|
6198
6038
|
default_app_path?: string;
|
|
6199
|
-
default_app_raw?: boolean;
|
|
6200
6039
|
};
|
|
6201
6040
|
export type GetWorkspaceUsageData = {
|
|
6202
6041
|
workspace: string;
|
|
@@ -6262,35 +6101,6 @@ export type DeleteProtectionRuleData = {
|
|
|
6262
6101
|
workspace: string;
|
|
6263
6102
|
};
|
|
6264
6103
|
export type DeleteProtectionRuleResponse = string;
|
|
6265
|
-
export type LogAiChatData = {
|
|
6266
|
-
requestBody: {
|
|
6267
|
-
session_id: string;
|
|
6268
|
-
provider: string;
|
|
6269
|
-
model: string;
|
|
6270
|
-
mode: string;
|
|
6271
|
-
};
|
|
6272
|
-
workspace: string;
|
|
6273
|
-
};
|
|
6274
|
-
export type LogAiChatResponse = void;
|
|
6275
|
-
export type GetCloudQuotasData = {
|
|
6276
|
-
workspace: string;
|
|
6277
|
-
};
|
|
6278
|
-
export type GetCloudQuotasResponse = {
|
|
6279
|
-
scripts: QuotaInfo;
|
|
6280
|
-
flows: QuotaInfo;
|
|
6281
|
-
apps: QuotaInfo;
|
|
6282
|
-
variables: QuotaInfo;
|
|
6283
|
-
resources: QuotaInfo;
|
|
6284
|
-
};
|
|
6285
|
-
export type PruneVersionsData = {
|
|
6286
|
-
requestBody: {
|
|
6287
|
-
resource_type: 'scripts' | 'flows' | 'apps';
|
|
6288
|
-
};
|
|
6289
|
-
workspace: string;
|
|
6290
|
-
};
|
|
6291
|
-
export type PruneVersionsResponse = {
|
|
6292
|
-
pruned: number;
|
|
6293
|
-
};
|
|
6294
6104
|
export type RefreshCustomInstanceUserPwdResponse = {
|
|
6295
6105
|
[key: string]: unknown;
|
|
6296
6106
|
};
|
|
@@ -6393,10 +6203,7 @@ export type TestObjectStorageConfigData = {
|
|
|
6393
6203
|
};
|
|
6394
6204
|
export type TestObjectStorageConfigResponse = string;
|
|
6395
6205
|
export type SendStatsResponse = string;
|
|
6396
|
-
export type GetStatsResponse =
|
|
6397
|
-
signature?: string;
|
|
6398
|
-
data?: string;
|
|
6399
|
-
};
|
|
6206
|
+
export type GetStatsResponse = string;
|
|
6400
6207
|
export type GetLatestKeyRenewalAttemptResponse = {
|
|
6401
6208
|
result: string;
|
|
6402
6209
|
attempted_at: string;
|
|
@@ -6702,10 +6509,6 @@ export type CreateAccountData = {
|
|
|
6702
6509
|
* MCP server URL for MCP OAuth token refresh
|
|
6703
6510
|
*/
|
|
6704
6511
|
mcp_server_url?: string;
|
|
6705
|
-
/**
|
|
6706
|
-
* OAuth scopes to use for token refresh. Overrides instance-level scopes.
|
|
6707
|
-
*/
|
|
6708
|
-
scopes?: Array<(string)>;
|
|
6709
6512
|
};
|
|
6710
6513
|
workspace: string;
|
|
6711
6514
|
};
|
|
@@ -7940,14 +7743,6 @@ export type UpdateScriptHistoryData = {
|
|
|
7940
7743
|
workspace: string;
|
|
7941
7744
|
};
|
|
7942
7745
|
export type UpdateScriptHistoryResponse = string;
|
|
7943
|
-
export type ListDedicatedWithDepsData = {
|
|
7944
|
-
workspace: string;
|
|
7945
|
-
};
|
|
7946
|
-
export type ListDedicatedWithDepsResponse = Array<{
|
|
7947
|
-
path: string;
|
|
7948
|
-
language: 'python3' | 'deno' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'graphql' | 'nativets' | 'bun' | 'bunnative' | 'php' | 'rust' | 'ansible' | 'csharp' | 'oracledb' | 'duckdb' | 'java' | 'ruby';
|
|
7949
|
-
workspace_dep_names: Array<(string)>;
|
|
7950
|
-
}>;
|
|
7951
7746
|
export type RawScriptByPathData = {
|
|
7952
7747
|
path: string;
|
|
7953
7748
|
workspace: string;
|
|
@@ -7985,47 +7780,6 @@ export type GetScriptDeploymentStatusResponse = {
|
|
|
7985
7780
|
lock_error_logs?: string;
|
|
7986
7781
|
job_id?: string;
|
|
7987
7782
|
};
|
|
7988
|
-
export type StoreRawScriptTempData = {
|
|
7989
|
-
/**
|
|
7990
|
-
* script content to store
|
|
7991
|
-
*/
|
|
7992
|
-
requestBody: string;
|
|
7993
|
-
workspace: string;
|
|
7994
|
-
};
|
|
7995
|
-
export type StoreRawScriptTempResponse = string;
|
|
7996
|
-
export type DiffRawScriptsWithDeployedData = {
|
|
7997
|
-
/**
|
|
7998
|
-
* scripts and workspace deps to diff against deployed versions
|
|
7999
|
-
*/
|
|
8000
|
-
requestBody: {
|
|
8001
|
-
/**
|
|
8002
|
-
* map of script path to SHA256 content hash
|
|
8003
|
-
*/
|
|
8004
|
-
scripts: {
|
|
8005
|
-
[key: string]: (string);
|
|
8006
|
-
};
|
|
8007
|
-
/**
|
|
8008
|
-
* workspace dependencies to diff
|
|
8009
|
-
*/
|
|
8010
|
-
workspace_deps?: Array<{
|
|
8011
|
-
/**
|
|
8012
|
-
* CLI path (e.g. dependencies/package.json)
|
|
8013
|
-
*/
|
|
8014
|
-
path: string;
|
|
8015
|
-
language: ScriptLang;
|
|
8016
|
-
/**
|
|
8017
|
-
* named workspace dependency (null for default)
|
|
8018
|
-
*/
|
|
8019
|
-
name?: string;
|
|
8020
|
-
/**
|
|
8021
|
-
* SHA256 content hash
|
|
8022
|
-
*/
|
|
8023
|
-
hash: string;
|
|
8024
|
-
}>;
|
|
8025
|
-
};
|
|
8026
|
-
workspace: string;
|
|
8027
|
-
};
|
|
8028
|
-
export type DiffRawScriptsWithDeployedResponse = Array<(string)>;
|
|
8029
7783
|
export type CreateDraftData = {
|
|
8030
7784
|
requestBody: {
|
|
8031
7785
|
path: string;
|
|
@@ -9769,7 +9523,6 @@ export type GetJobUpdatesResponse = {
|
|
|
9769
9523
|
workflow_as_code_status?: WorkflowStatus;
|
|
9770
9524
|
};
|
|
9771
9525
|
export type GetJobUpdatesSseData = {
|
|
9772
|
-
fast?: boolean;
|
|
9773
9526
|
getProgress?: boolean;
|
|
9774
9527
|
id: string;
|
|
9775
9528
|
logOffset?: number;
|
|
@@ -9927,65 +9680,6 @@ export type GetTeamsApprovalPayloadData = {
|
|
|
9927
9680
|
workspace: string;
|
|
9928
9681
|
};
|
|
9929
9682
|
export type GetTeamsApprovalPayloadResponse = unknown;
|
|
9930
|
-
export type ResumeSuspendedData = {
|
|
9931
|
-
jobId: string;
|
|
9932
|
-
requestBody: {
|
|
9933
|
-
/**
|
|
9934
|
-
* payload to send to the resumed job
|
|
9935
|
-
*/
|
|
9936
|
-
payload?: unknown;
|
|
9937
|
-
/**
|
|
9938
|
-
* approval token for unauthenticated access
|
|
9939
|
-
*/
|
|
9940
|
-
approval_token?: string;
|
|
9941
|
-
/**
|
|
9942
|
-
* whether to approve (true) or cancel (false) the job
|
|
9943
|
-
*/
|
|
9944
|
-
approved?: boolean;
|
|
9945
|
-
};
|
|
9946
|
-
workspace: string;
|
|
9947
|
-
};
|
|
9948
|
-
export type ResumeSuspendedResponse = string;
|
|
9949
|
-
export type GetApprovalInfoData = {
|
|
9950
|
-
jobId: string;
|
|
9951
|
-
/**
|
|
9952
|
-
* approval token for unauthenticated access
|
|
9953
|
-
*/
|
|
9954
|
-
token?: string;
|
|
9955
|
-
workspace: string;
|
|
9956
|
-
};
|
|
9957
|
-
export type GetApprovalInfoResponse = {
|
|
9958
|
-
flow_id: string;
|
|
9959
|
-
/**
|
|
9960
|
-
* form schema for the approval step
|
|
9961
|
-
*/
|
|
9962
|
-
form_schema?: unknown;
|
|
9963
|
-
/**
|
|
9964
|
-
* description of the approval step
|
|
9965
|
-
*/
|
|
9966
|
-
description?: unknown;
|
|
9967
|
-
approval_conditions?: {
|
|
9968
|
-
user_auth_required: boolean;
|
|
9969
|
-
user_groups_required: Array<(string)>;
|
|
9970
|
-
self_approval_disabled: boolean;
|
|
9971
|
-
};
|
|
9972
|
-
/**
|
|
9973
|
-
* whether the current user/token holder can approve
|
|
9974
|
-
*/
|
|
9975
|
-
can_approve: boolean;
|
|
9976
|
-
/**
|
|
9977
|
-
* whether user authentication is required to approve
|
|
9978
|
-
*/
|
|
9979
|
-
user_auth_required: boolean;
|
|
9980
|
-
/**
|
|
9981
|
-
* whether to hide the cancel button in the UI
|
|
9982
|
-
*/
|
|
9983
|
-
hide_cancel?: boolean;
|
|
9984
|
-
approvers: Array<{
|
|
9985
|
-
resume_id: number;
|
|
9986
|
-
approver: string;
|
|
9987
|
-
}>;
|
|
9988
|
-
};
|
|
9989
9683
|
export type ResumeSuspendedJobGetData = {
|
|
9990
9684
|
approver?: string;
|
|
9991
9685
|
id: string;
|
|
@@ -11435,7 +11129,7 @@ export type ListInstanceGroupsWithWorkspacesResponse = Array<InstanceGroupWithWo
|
|
|
11435
11129
|
export type GetInstanceGroupData = {
|
|
11436
11130
|
name: string;
|
|
11437
11131
|
};
|
|
11438
|
-
export type GetInstanceGroupResponse =
|
|
11132
|
+
export type GetInstanceGroupResponse = InstanceGroup;
|
|
11439
11133
|
export type CreateInstanceGroupData = {
|
|
11440
11134
|
/**
|
|
11441
11135
|
* create instance group
|
|
@@ -11453,10 +11147,6 @@ export type UpdateInstanceGroupData = {
|
|
|
11453
11147
|
*/
|
|
11454
11148
|
requestBody: {
|
|
11455
11149
|
new_summary: string;
|
|
11456
|
-
/**
|
|
11457
|
-
* Instance-level role for group members. 'superadmin', 'devops', 'user' or empty to clear.
|
|
11458
|
-
*/
|
|
11459
|
-
instance_role?: string | null;
|
|
11460
11150
|
};
|
|
11461
11151
|
};
|
|
11462
11152
|
export type UpdateInstanceGroupResponse = string;
|
|
@@ -12374,10 +12064,6 @@ export type CountSearchLogsIndexResponse = {
|
|
|
12374
12064
|
[key: string]: unknown;
|
|
12375
12065
|
};
|
|
12376
12066
|
};
|
|
12377
|
-
export type GetIndexDiskStorageSizesResponse = {
|
|
12378
|
-
job_index_disk_size_bytes?: number | null;
|
|
12379
|
-
log_index_disk_size_bytes?: number | null;
|
|
12380
|
-
};
|
|
12381
12067
|
export type ClearIndexData = {
|
|
12382
12068
|
idxName: 'JobIndex' | 'ServiceLogIndex';
|
|
12383
12069
|
};
|
|
@@ -12981,7 +12667,6 @@ export type $OpenApiTs = {
|
|
|
12981
12667
|
is_super_admin?: boolean;
|
|
12982
12668
|
is_devops?: boolean;
|
|
12983
12669
|
name?: string;
|
|
12984
|
-
disabled?: boolean;
|
|
12985
12670
|
};
|
|
12986
12671
|
};
|
|
12987
12672
|
res: {
|
|
@@ -13552,39 +13237,6 @@ export type $OpenApiTs = {
|
|
|
13552
13237
|
};
|
|
13553
13238
|
};
|
|
13554
13239
|
};
|
|
13555
|
-
'/w/{workspace}/github_app/ghes_installation_callback': {
|
|
13556
|
-
post: {
|
|
13557
|
-
req: {
|
|
13558
|
-
requestBody: {
|
|
13559
|
-
/**
|
|
13560
|
-
* The GitHub App installation ID from GHES
|
|
13561
|
-
*/
|
|
13562
|
-
installation_id: number;
|
|
13563
|
-
};
|
|
13564
|
-
workspace: string;
|
|
13565
|
-
};
|
|
13566
|
-
res: {
|
|
13567
|
-
/**
|
|
13568
|
-
* GHES installation registered successfully
|
|
13569
|
-
*/
|
|
13570
|
-
200: unknown;
|
|
13571
|
-
};
|
|
13572
|
-
};
|
|
13573
|
-
};
|
|
13574
|
-
'/github_app/ghes_config': {
|
|
13575
|
-
get: {
|
|
13576
|
-
res: {
|
|
13577
|
-
/**
|
|
13578
|
-
* GHES app configuration
|
|
13579
|
-
*/
|
|
13580
|
-
200: {
|
|
13581
|
-
base_url: string;
|
|
13582
|
-
app_slug: string;
|
|
13583
|
-
client_id: string;
|
|
13584
|
-
};
|
|
13585
|
-
};
|
|
13586
|
-
};
|
|
13587
|
-
};
|
|
13588
13240
|
'/workspaces/list': {
|
|
13589
13241
|
get: {
|
|
13590
13242
|
res: {
|
|
@@ -14489,29 +14141,7 @@ export type $OpenApiTs = {
|
|
|
14489
14141
|
/**
|
|
14490
14142
|
* status
|
|
14491
14143
|
*/
|
|
14492
|
-
200:
|
|
14493
|
-
effective_ai_config: AIConfig;
|
|
14494
|
-
has_instance_ai_config: boolean;
|
|
14495
|
-
uses_instance_ai_config: boolean;
|
|
14496
|
-
instance_ai_summary?: InstanceAISummary;
|
|
14497
|
-
};
|
|
14498
|
-
};
|
|
14499
|
-
};
|
|
14500
|
-
};
|
|
14501
|
-
'/w/{workspace}/workspaces/get_copilot_settings_state': {
|
|
14502
|
-
get: {
|
|
14503
|
-
req: {
|
|
14504
|
-
workspace: string;
|
|
14505
|
-
};
|
|
14506
|
-
res: {
|
|
14507
|
-
/**
|
|
14508
|
-
* status
|
|
14509
|
-
*/
|
|
14510
|
-
200: {
|
|
14511
|
-
has_instance_ai_config: boolean;
|
|
14512
|
-
uses_instance_ai_config: boolean;
|
|
14513
|
-
instance_ai_summary?: InstanceAISummary;
|
|
14514
|
-
};
|
|
14144
|
+
200: string;
|
|
14515
14145
|
};
|
|
14516
14146
|
};
|
|
14517
14147
|
};
|
|
@@ -14658,25 +14288,6 @@ export type $OpenApiTs = {
|
|
|
14658
14288
|
};
|
|
14659
14289
|
};
|
|
14660
14290
|
};
|
|
14661
|
-
'/w/{workspace}/workspaces/git_sync_enabled': {
|
|
14662
|
-
get: {
|
|
14663
|
-
req: {
|
|
14664
|
-
workspace: string;
|
|
14665
|
-
};
|
|
14666
|
-
res: {
|
|
14667
|
-
/**
|
|
14668
|
-
* Git sync availability status
|
|
14669
|
-
*/
|
|
14670
|
-
200: {
|
|
14671
|
-
enabled?: boolean;
|
|
14672
|
-
reason?: string | null;
|
|
14673
|
-
max_repos?: number | null;
|
|
14674
|
-
user_count?: number | null;
|
|
14675
|
-
max_users?: number | null;
|
|
14676
|
-
};
|
|
14677
|
-
};
|
|
14678
|
-
};
|
|
14679
|
-
};
|
|
14680
14291
|
'/w/{workspace}/workspaces/edit_git_sync_config': {
|
|
14681
14292
|
post: {
|
|
14682
14293
|
req: {
|
|
@@ -14871,7 +14482,6 @@ export type $OpenApiTs = {
|
|
|
14871
14482
|
*/
|
|
14872
14483
|
200: {
|
|
14873
14484
|
default_app_path?: string;
|
|
14874
|
-
default_app_raw?: boolean;
|
|
14875
14485
|
};
|
|
14876
14486
|
};
|
|
14877
14487
|
};
|
|
@@ -15002,62 +14612,6 @@ export type $OpenApiTs = {
|
|
|
15002
14612
|
};
|
|
15003
14613
|
};
|
|
15004
14614
|
};
|
|
15005
|
-
'/w/{workspace}/workspaces/log_chat': {
|
|
15006
|
-
post: {
|
|
15007
|
-
req: {
|
|
15008
|
-
requestBody: {
|
|
15009
|
-
session_id: string;
|
|
15010
|
-
provider: string;
|
|
15011
|
-
model: string;
|
|
15012
|
-
mode: string;
|
|
15013
|
-
};
|
|
15014
|
-
workspace: string;
|
|
15015
|
-
};
|
|
15016
|
-
res: {
|
|
15017
|
-
/**
|
|
15018
|
-
* logged
|
|
15019
|
-
*/
|
|
15020
|
-
204: void;
|
|
15021
|
-
};
|
|
15022
|
-
};
|
|
15023
|
-
};
|
|
15024
|
-
'/w/{workspace}/workspaces/cloud_quotas': {
|
|
15025
|
-
get: {
|
|
15026
|
-
req: {
|
|
15027
|
-
workspace: string;
|
|
15028
|
-
};
|
|
15029
|
-
res: {
|
|
15030
|
-
/**
|
|
15031
|
-
* cloud quota usage and limits
|
|
15032
|
-
*/
|
|
15033
|
-
200: {
|
|
15034
|
-
scripts: QuotaInfo;
|
|
15035
|
-
flows: QuotaInfo;
|
|
15036
|
-
apps: QuotaInfo;
|
|
15037
|
-
variables: QuotaInfo;
|
|
15038
|
-
resources: QuotaInfo;
|
|
15039
|
-
};
|
|
15040
|
-
};
|
|
15041
|
-
};
|
|
15042
|
-
};
|
|
15043
|
-
'/w/{workspace}/workspaces/prune_versions': {
|
|
15044
|
-
post: {
|
|
15045
|
-
req: {
|
|
15046
|
-
requestBody: {
|
|
15047
|
-
resource_type: 'scripts' | 'flows' | 'apps';
|
|
15048
|
-
};
|
|
15049
|
-
workspace: string;
|
|
15050
|
-
};
|
|
15051
|
-
res: {
|
|
15052
|
-
/**
|
|
15053
|
-
* number of pruned versions
|
|
15054
|
-
*/
|
|
15055
|
-
200: {
|
|
15056
|
-
pruned: number;
|
|
15057
|
-
};
|
|
15058
|
-
};
|
|
15059
|
-
};
|
|
15060
|
-
};
|
|
15061
14615
|
'/settings/refresh_custom_instance_user_pwd': {
|
|
15062
14616
|
post: {
|
|
15063
14617
|
res: {
|
|
@@ -15288,12 +14842,9 @@ export type $OpenApiTs = {
|
|
|
15288
14842
|
get: {
|
|
15289
14843
|
res: {
|
|
15290
14844
|
/**
|
|
15291
|
-
*
|
|
14845
|
+
* base64-encoded encrypted telemetry blob
|
|
15292
14846
|
*/
|
|
15293
|
-
200:
|
|
15294
|
-
signature?: string;
|
|
15295
|
-
data?: string;
|
|
15296
|
-
};
|
|
14847
|
+
200: string;
|
|
15297
14848
|
};
|
|
15298
14849
|
};
|
|
15299
14850
|
};
|
|
@@ -15899,10 +15450,6 @@ export type $OpenApiTs = {
|
|
|
15899
15450
|
* MCP server URL for MCP OAuth token refresh
|
|
15900
15451
|
*/
|
|
15901
15452
|
mcp_server_url?: string;
|
|
15902
|
-
/**
|
|
15903
|
-
* OAuth scopes to use for token refresh. Overrides instance-level scopes.
|
|
15904
|
-
*/
|
|
15905
|
-
scopes?: Array<(string)>;
|
|
15906
15453
|
};
|
|
15907
15454
|
workspace: string;
|
|
15908
15455
|
};
|
|
@@ -18143,23 +17690,6 @@ export type $OpenApiTs = {
|
|
|
18143
17690
|
};
|
|
18144
17691
|
};
|
|
18145
17692
|
};
|
|
18146
|
-
'/w/{workspace}/scripts/list_dedicated_with_deps': {
|
|
18147
|
-
get: {
|
|
18148
|
-
req: {
|
|
18149
|
-
workspace: string;
|
|
18150
|
-
};
|
|
18151
|
-
res: {
|
|
18152
|
-
/**
|
|
18153
|
-
* list of dedicated scripts with their workspace dependency names
|
|
18154
|
-
*/
|
|
18155
|
-
200: Array<{
|
|
18156
|
-
path: string;
|
|
18157
|
-
language: 'python3' | 'deno' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'graphql' | 'nativets' | 'bun' | 'bunnative' | 'php' | 'rust' | 'ansible' | 'csharp' | 'oracledb' | 'duckdb' | 'java' | 'ruby';
|
|
18158
|
-
workspace_dep_names: Array<(string)>;
|
|
18159
|
-
}>;
|
|
18160
|
-
};
|
|
18161
|
-
};
|
|
18162
|
-
};
|
|
18163
17693
|
'/w/{workspace}/scripts/raw/p/{path}': {
|
|
18164
17694
|
get: {
|
|
18165
17695
|
req: {
|
|
@@ -18251,65 +17781,6 @@ export type $OpenApiTs = {
|
|
|
18251
17781
|
};
|
|
18252
17782
|
};
|
|
18253
17783
|
};
|
|
18254
|
-
'/w/{workspace}/scripts/raw_temp/store': {
|
|
18255
|
-
post: {
|
|
18256
|
-
req: {
|
|
18257
|
-
/**
|
|
18258
|
-
* script content to store
|
|
18259
|
-
*/
|
|
18260
|
-
requestBody: string;
|
|
18261
|
-
workspace: string;
|
|
18262
|
-
};
|
|
18263
|
-
res: {
|
|
18264
|
-
/**
|
|
18265
|
-
* hash of stored content
|
|
18266
|
-
*/
|
|
18267
|
-
200: string;
|
|
18268
|
-
};
|
|
18269
|
-
};
|
|
18270
|
-
};
|
|
18271
|
-
'/w/{workspace}/scripts/raw_temp/diff': {
|
|
18272
|
-
post: {
|
|
18273
|
-
req: {
|
|
18274
|
-
/**
|
|
18275
|
-
* scripts and workspace deps to diff against deployed versions
|
|
18276
|
-
*/
|
|
18277
|
-
requestBody: {
|
|
18278
|
-
/**
|
|
18279
|
-
* map of script path to SHA256 content hash
|
|
18280
|
-
*/
|
|
18281
|
-
scripts: {
|
|
18282
|
-
[key: string]: (string);
|
|
18283
|
-
};
|
|
18284
|
-
/**
|
|
18285
|
-
* workspace dependencies to diff
|
|
18286
|
-
*/
|
|
18287
|
-
workspace_deps?: Array<{
|
|
18288
|
-
/**
|
|
18289
|
-
* CLI path (e.g. dependencies/package.json)
|
|
18290
|
-
*/
|
|
18291
|
-
path: string;
|
|
18292
|
-
language: ScriptLang;
|
|
18293
|
-
/**
|
|
18294
|
-
* named workspace dependency (null for default)
|
|
18295
|
-
*/
|
|
18296
|
-
name?: string;
|
|
18297
|
-
/**
|
|
18298
|
-
* SHA256 content hash
|
|
18299
|
-
*/
|
|
18300
|
-
hash: string;
|
|
18301
|
-
}>;
|
|
18302
|
-
};
|
|
18303
|
-
workspace: string;
|
|
18304
|
-
};
|
|
18305
|
-
res: {
|
|
18306
|
-
/**
|
|
18307
|
-
* list of paths that differ from deployed versions
|
|
18308
|
-
*/
|
|
18309
|
-
200: Array<(string)>;
|
|
18310
|
-
};
|
|
18311
|
-
};
|
|
18312
|
-
};
|
|
18313
17784
|
'/w/{workspace}/drafts/create': {
|
|
18314
17785
|
post: {
|
|
18315
17786
|
req: {
|
|
@@ -20682,7 +20153,6 @@ export type $OpenApiTs = {
|
|
|
20682
20153
|
'/w/{workspace}/jobs_u/getupdate_sse/{id}': {
|
|
20683
20154
|
get: {
|
|
20684
20155
|
req: {
|
|
20685
|
-
fast?: boolean;
|
|
20686
20156
|
getProgress?: boolean;
|
|
20687
20157
|
id: string;
|
|
20688
20158
|
logOffset?: number;
|
|
@@ -20991,83 +20461,6 @@ export type $OpenApiTs = {
|
|
|
20991
20461
|
};
|
|
20992
20462
|
};
|
|
20993
20463
|
};
|
|
20994
|
-
'/w/{workspace}/jobs_u/flow/resume_suspended/{job_id}': {
|
|
20995
|
-
post: {
|
|
20996
|
-
req: {
|
|
20997
|
-
jobId: string;
|
|
20998
|
-
requestBody: {
|
|
20999
|
-
/**
|
|
21000
|
-
* payload to send to the resumed job
|
|
21001
|
-
*/
|
|
21002
|
-
payload?: unknown;
|
|
21003
|
-
/**
|
|
21004
|
-
* approval token for unauthenticated access
|
|
21005
|
-
*/
|
|
21006
|
-
approval_token?: string;
|
|
21007
|
-
/**
|
|
21008
|
-
* whether to approve (true) or cancel (false) the job
|
|
21009
|
-
*/
|
|
21010
|
-
approved?: boolean;
|
|
21011
|
-
};
|
|
21012
|
-
workspace: string;
|
|
21013
|
-
};
|
|
21014
|
-
res: {
|
|
21015
|
-
/**
|
|
21016
|
-
* job resumed
|
|
21017
|
-
*/
|
|
21018
|
-
201: string;
|
|
21019
|
-
};
|
|
21020
|
-
};
|
|
21021
|
-
};
|
|
21022
|
-
'/w/{workspace}/jobs_u/flow/approval_info/{job_id}': {
|
|
21023
|
-
get: {
|
|
21024
|
-
req: {
|
|
21025
|
-
jobId: string;
|
|
21026
|
-
/**
|
|
21027
|
-
* approval token for unauthenticated access
|
|
21028
|
-
*/
|
|
21029
|
-
token?: string;
|
|
21030
|
-
workspace: string;
|
|
21031
|
-
};
|
|
21032
|
-
res: {
|
|
21033
|
-
/**
|
|
21034
|
-
* approval info
|
|
21035
|
-
*/
|
|
21036
|
-
200: {
|
|
21037
|
-
flow_id: string;
|
|
21038
|
-
/**
|
|
21039
|
-
* form schema for the approval step
|
|
21040
|
-
*/
|
|
21041
|
-
form_schema?: unknown;
|
|
21042
|
-
/**
|
|
21043
|
-
* description of the approval step
|
|
21044
|
-
*/
|
|
21045
|
-
description?: unknown;
|
|
21046
|
-
approval_conditions?: {
|
|
21047
|
-
user_auth_required: boolean;
|
|
21048
|
-
user_groups_required: Array<(string)>;
|
|
21049
|
-
self_approval_disabled: boolean;
|
|
21050
|
-
};
|
|
21051
|
-
/**
|
|
21052
|
-
* whether the current user/token holder can approve
|
|
21053
|
-
*/
|
|
21054
|
-
can_approve: boolean;
|
|
21055
|
-
/**
|
|
21056
|
-
* whether user authentication is required to approve
|
|
21057
|
-
*/
|
|
21058
|
-
user_auth_required: boolean;
|
|
21059
|
-
/**
|
|
21060
|
-
* whether to hide the cancel button in the UI
|
|
21061
|
-
*/
|
|
21062
|
-
hide_cancel?: boolean;
|
|
21063
|
-
approvers: Array<{
|
|
21064
|
-
resume_id: number;
|
|
21065
|
-
approver: string;
|
|
21066
|
-
}>;
|
|
21067
|
-
};
|
|
21068
|
-
};
|
|
21069
|
-
};
|
|
21070
|
-
};
|
|
21071
20464
|
'/w/{workspace}/jobs_u/resume/{id}/{resume_id}/{signature}': {
|
|
21072
20465
|
get: {
|
|
21073
20466
|
req: {
|
|
@@ -23768,7 +23161,7 @@ export type $OpenApiTs = {
|
|
|
23768
23161
|
/**
|
|
23769
23162
|
* instance group
|
|
23770
23163
|
*/
|
|
23771
|
-
200:
|
|
23164
|
+
200: InstanceGroup;
|
|
23772
23165
|
};
|
|
23773
23166
|
};
|
|
23774
23167
|
};
|
|
@@ -23800,10 +23193,6 @@ export type $OpenApiTs = {
|
|
|
23800
23193
|
*/
|
|
23801
23194
|
requestBody: {
|
|
23802
23195
|
new_summary: string;
|
|
23803
|
-
/**
|
|
23804
|
-
* Instance-level role for group members. 'superadmin', 'devops', 'user' or empty to clear.
|
|
23805
|
-
*/
|
|
23806
|
-
instance_role?: string | null;
|
|
23807
23196
|
};
|
|
23808
23197
|
};
|
|
23809
23198
|
res: {
|
|
@@ -25529,19 +24918,6 @@ export type $OpenApiTs = {
|
|
|
25529
24918
|
};
|
|
25530
24919
|
};
|
|
25531
24920
|
};
|
|
25532
|
-
'/srch/index/storage/disk': {
|
|
25533
|
-
get: {
|
|
25534
|
-
res: {
|
|
25535
|
-
/**
|
|
25536
|
-
* disk storage sizes for each index
|
|
25537
|
-
*/
|
|
25538
|
-
200: {
|
|
25539
|
-
job_index_disk_size_bytes?: number | null;
|
|
25540
|
-
log_index_disk_size_bytes?: number | null;
|
|
25541
|
-
};
|
|
25542
|
-
};
|
|
25543
|
-
};
|
|
25544
|
-
};
|
|
25545
24921
|
'/indexer/delete/{idx_name}': {
|
|
25546
24922
|
delete: {
|
|
25547
24923
|
req: {
|