windmill-components 1.542.4 → 1.550.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/package/common.d.ts +4 -1
- package/package/components/AIAgentLogViewer.svelte +1 -1
- package/package/components/ArgEnum.svelte +14 -5
- package/package/components/ArgInput.svelte +23 -15
- package/package/components/ArgInput.svelte.d.ts +1 -1
- package/package/components/ChannelSelector.svelte +92 -18
- package/package/components/ChannelSelector.svelte.d.ts +2 -0
- package/package/components/ConnectionSection.svelte +12 -1
- package/package/components/Dev.svelte +18 -5
- package/package/components/Dev.svelte.d.ts +23 -1
- package/package/components/DisplayResult.svelte +36 -23
- package/package/components/DropdownV2.svelte +8 -2
- package/package/components/DropdownV2.svelte.d.ts +1 -0
- package/package/components/DynamicInput.svelte +10 -10
- package/package/components/EditableSchemaForm.svelte +21 -7
- package/package/components/EditorSettings.svelte +11 -9
- package/package/components/ErrorOrRecoveryHandler.svelte +14 -20
- package/package/components/FlowHistoryJobPicker.svelte +3 -0
- package/package/components/FlowHistoryJobPicker.svelte.d.ts +1 -0
- package/package/components/FlowJobResult.svelte +5 -5
- package/package/components/FlowLogRow.svelte +2 -2
- package/package/components/FlowLogViewer.svelte +228 -57
- package/package/components/FlowLogViewer.svelte.d.ts +16 -5
- package/package/components/FlowLogViewerWrapper.svelte +56 -3
- package/package/components/FlowLogViewerWrapper.svelte.d.ts +4 -3
- package/package/components/FlowLoopIterationPreview.svelte +4 -4
- package/package/components/FlowMetadata.svelte +3 -4
- package/package/components/FlowMetadata.svelte.d.ts +4 -18
- package/package/components/FlowPreviewContent.svelte +9 -3
- package/package/components/FlowPreviewContent.svelte.d.ts +1 -1
- package/package/components/FlowStatusViewer.svelte +62 -59
- package/package/components/FlowStatusViewer.svelte.d.ts +2 -2
- package/package/components/FlowStatusViewerInner.svelte +186 -94
- package/package/components/FlowStatusViewerInner.svelte.d.ts +10 -3
- package/package/components/FlowTimeline.svelte +110 -131
- package/package/components/FlowTimeline.svelte.d.ts +13 -4
- package/package/components/FlowTimelineBar.svelte +227 -0
- package/package/components/FlowTimelineBar.svelte.d.ts +24 -0
- package/package/components/InputTransformForm.svelte +119 -3
- package/package/components/InputTransformForm.svelte.d.ts +3 -0
- package/package/components/InputTransformSchemaForm.svelte +5 -1
- package/package/components/InputTransformSchemaForm.svelte.d.ts +2 -0
- package/package/components/InstanceSetting.svelte +17 -42
- package/package/components/InstanceSettings.svelte +12 -21
- package/package/components/JobArgs.svelte +15 -16
- package/package/components/JobArgs.svelte.d.ts +4 -18
- package/package/components/JobLoader.svelte +23 -42
- package/package/components/JobLoader.svelte.d.ts +2 -0
- package/package/components/JobStatus.svelte +1 -1
- package/package/components/JobStatus.svelte.d.ts +4 -18
- package/package/components/ModulePreviewResultViewer.svelte +1 -7
- package/package/components/NextcloudSetting.svelte +6 -1
- package/package/components/Password.svelte +7 -11
- package/package/components/Password.svelte.d.ts +5 -20
- package/package/components/PasswordArgInput.svelte +35 -15
- package/package/components/PasswordArgInput.svelte.d.ts +4 -18
- package/package/components/QueuePosition.svelte +6 -2
- package/package/components/RunForm.svelte +5 -14
- package/package/components/S3ArrayHelperButton.svelte +12 -0
- package/package/components/S3ArrayHelperButton.svelte.d.ts +8 -0
- package/package/components/ScriptEditor.svelte +5 -6
- package/package/components/StringTypeNarrowing.svelte +39 -24
- package/package/components/StringTypeNarrowing.svelte.d.ts +1 -1
- package/package/components/TeamSelector.svelte +83 -37
- package/package/components/TeamSelector.svelte.d.ts +0 -1
- package/package/components/apps/components/buttons/AppButton.svelte +11 -1
- package/package/components/apps/components/display/table/AppAggridInfiniteTable.svelte +13 -4
- package/package/components/apps/components/display/table/SyncColumnDefs.svelte +2 -2
- package/package/components/apps/components/display/table/utils.js +1 -1
- package/package/components/apps/components/helpers/RefreshButton.svelte +5 -1
- package/package/components/apps/components/helpers/RunnableComponent.svelte +0 -2
- package/package/components/apps/components/helpers/RunnableWrapper.svelte.d.ts +1 -0
- package/package/components/apps/components/layout/AppTabs.svelte +116 -71
- package/package/components/apps/components/layout/AppTabs.svelte.d.ts +1 -0
- package/package/components/apps/editor/component/ComponentInner.svelte +1 -0
- package/package/components/apps/editor/component/components.d.ts +16 -1
- package/package/components/apps/editor/component/components.js +22 -2
- package/package/components/apps/editor/settingsPanel/ComponentPanel.svelte +2 -0
- package/package/components/apps/editor/settingsPanel/GridTab.svelte +19 -1
- package/package/components/apps/editor/settingsPanel/GridTab.svelte.d.ts +3 -1
- package/package/components/apps/editor/settingsPanel/GridTabHidden.svelte +52 -0
- package/package/components/apps/editor/settingsPanel/GridTabHidden.svelte.d.ts +9 -0
- package/package/components/auditLogs/AuditLogsFilters.svelte +6 -0
- package/package/components/auditLogs/AuditLogsTable.svelte +17 -7
- package/package/components/auditLogs/AuditLogsTable.svelte.d.ts +1 -0
- package/package/components/common/CloseButton.svelte +2 -2
- package/package/components/common/CloseButton.svelte.d.ts +1 -0
- package/package/components/common/layout/List.svelte +3 -7
- package/package/components/common/layout/List.svelte.d.ts +7 -29
- package/package/components/common/popup/PopupV2.svelte +8 -25
- package/package/components/common/popup/PopupV2.svelte.d.ts +4 -2
- package/package/components/common/table/ScriptRow.svelte +22 -2
- package/package/components/copilot/FlowCopilotInputsModal.svelte +26 -23
- package/package/components/copilot/chat/AIChatManager.svelte.js +3 -2
- package/package/components/copilot/chat/ProviderModelSelector.svelte +1 -1
- package/package/components/copilot/chat/flow/FlowAIChat.svelte +4 -2
- package/package/components/copilot/chat/script/core.d.ts +4 -4
- package/package/components/copilot/chat/script/core.js +93 -34
- package/package/components/copilot/lib.d.ts +1 -0
- package/package/components/copilot/lib.js +6 -3
- package/package/components/custom_ui.d.ts +2 -0
- package/package/components/flows/FlowProgressBar.svelte +16 -16
- package/package/components/flows/FlowProgressBar.svelte.d.ts +7 -22
- package/package/components/flows/content/FlowInputsQuick.svelte +3 -2
- package/package/components/flows/content/FlowInputsQuick.svelte.d.ts +1 -0
- package/package/components/flows/content/FlowModuleComponent.svelte +24 -1
- package/package/components/flows/flowInfers.js +34 -8
- package/package/components/flows/flowStore.d.ts +4 -1
- package/package/components/flows/map/FlowJobsMenu.svelte +3 -3
- package/package/components/flows/map/FlowJobsMenu.svelte.d.ts +1 -1
- package/package/components/flows/map/InsertModuleButton.svelte +4 -14
- package/package/components/flows/map/InsertModuleButton.svelte.d.ts +0 -1
- package/package/components/flows/map/InsertModuleInner.svelte +17 -20
- package/package/components/flows/map/MapItem.svelte +1 -1
- package/package/components/flows/pickers/PickHubScriptQuick.svelte +38 -52
- package/package/components/flows/pickers/PickHubScriptQuick.svelte.d.ts +1 -0
- package/package/components/flows/pickers/WorkspaceScriptPickerQuick.svelte +27 -15
- package/package/components/flows/pickers/WorkspaceScriptPickerQuick.svelte.d.ts +1 -0
- package/package/components/flows/propPicker/OutputPicker.svelte +2 -0
- package/package/components/git_sync/DetectionFlow.svelte +33 -44
- package/package/components/git_sync/DetectionFlow.svelte.d.ts +1 -0
- package/package/components/git_sync/GitSyncContext.svelte.d.ts +22 -0
- package/package/components/git_sync/GitSyncContext.svelte.js +145 -5
- package/package/components/git_sync/GitSyncModeDisplay.svelte +14 -0
- package/package/components/git_sync/GitSyncModeDisplay.svelte.d.ts +9 -0
- package/package/components/git_sync/GitSyncRepositoryCard.svelte +365 -253
- package/package/components/git_sync/GitSyncRepositoryCard.svelte.d.ts +10 -1
- package/package/components/git_sync/GitSyncSection.svelte +134 -14
- package/package/components/git_sync/PullWorkspaceModal.svelte +24 -32
- package/package/components/git_sync/PushWorkspaceModal.svelte +24 -32
- package/package/components/graph/model.d.ts +5 -5
- package/package/components/graph/renderers/edges/EmptyEdge.svelte +3 -10
- package/package/components/graph/renderers/edges/EmptyEdge.svelte.d.ts +4 -18
- package/package/components/graph/renderers/nodes/AIToolNode.svelte +2 -2
- package/package/components/graph/renderers/nodes/NewAIToolNode.svelte +5 -10
- package/package/components/home/ItemsList.svelte +1 -1
- package/package/components/jobs/JobProgressBar.svelte +27 -21
- package/package/components/jobs/JobProgressBar.svelte.d.ts +9 -24
- package/package/components/meltComponents/MenuSingleItem.svelte +3 -8
- package/package/components/meltComponents/MenuSingleItem.svelte.d.ts +0 -3
- package/package/components/meltComponents/Popover.svelte +3 -2
- package/package/components/meltComponents/Popover.svelte.d.ts +1 -0
- package/package/components/meltComponents/Tooltip.svelte +1 -1
- package/package/components/progressBar/ProgressBar.svelte +39 -53
- package/package/components/progressBar/ProgressBar.svelte.d.ts +11 -26
- package/package/components/runs/JobsLoader.svelte +1 -1
- package/package/components/runs/NoWorkerWithTagWarning.svelte +3 -3
- package/package/components/runs/NoWorkerWithTagWarning.svelte.d.ts +1 -1
- package/package/components/schema/AddPropertyV2.svelte +7 -4
- package/package/components/schema/PropertyEditor.svelte.d.ts +1 -1
- package/package/components/select/MultiSelect.svelte +2 -2
- package/package/components/select/MultiSelect.svelte.d.ts +1 -0
- package/package/components/settings/WorkspaceUserSettings.svelte +92 -1
- package/package/components/sidebar/MenuLink.svelte +2 -1
- package/package/components/sidebar/MenuLink.svelte.d.ts +1 -0
- package/package/components/sidebar/SidebarContent.svelte +27 -27
- package/package/components/table/Cell.svelte +7 -14
- package/package/components/table/Cell.svelte.d.ts +13 -35
- package/package/components/triggers/AddTriggersButton.svelte +1 -0
- package/package/components/triggers/gcp/GcpTriggerEditorConfigSection.svelte +1 -1
- package/package/components/triggers/gcp/GcpTriggerEditorConfigSection.svelte.d.ts +2 -1
- package/package/components/triggers/gcp/GcpTriggerEditorInner.svelte +28 -5
- package/package/components/triggers/gcp/utils.js +1 -0
- package/package/components/triggers/schedules/ScheduleEditorInner.svelte +1 -0
- package/package/components/triggers/webhook/WebhooksConfigSection.svelte +143 -63
- package/package/components/triggers/websocket/WebsocketTriggerEditorInner.svelte +22 -0
- package/package/components/triggers/websocket/utils.js +1 -0
- package/package/components/workspaceSettings/AISettings.svelte +8 -2
- package/package/components/workspaceSettings/AISettings.svelte.d.ts +2 -1
- package/package/components/workspaceSettings/ModelTokenLimits.svelte +165 -0
- package/package/components/workspaceSettings/ModelTokenLimits.svelte.d.ts +8 -0
- package/package/components/workspaceSettings/StorageSettings.svelte +123 -51
- package/package/gen/core/OpenAPI.js +1 -1
- package/package/gen/schemas.gen.d.ts +141 -16
- package/package/gen/schemas.gen.js +144 -16
- package/package/gen/services.gen.d.ts +62 -42
- package/package/gen/services.gen.js +131 -82
- package/package/gen/types.gen.d.ts +218 -144
- package/package/hubPaths.json +2 -1
- package/package/services/JobManager.js +10 -7
- package/package/stores.d.ts +1 -0
- package/package/stores.js +6 -3
- package/package/timelineCompute.svelte.d.ts +21 -0
- package/package/timelineCompute.svelte.js +113 -0
- package/package/utils.d.ts +15 -8
- package/package/utils.js +62 -12
- package/package/workspace_settings.d.ts +13 -8
- package/package/workspace_settings.js +46 -11
- package/package.json +2 -2
|
@@ -374,6 +374,24 @@ export class UserService {
|
|
|
374
374
|
}
|
|
375
375
|
});
|
|
376
376
|
}
|
|
377
|
+
/**
|
|
378
|
+
* convert manual user to group user (require admin privilege)
|
|
379
|
+
* @param data The data for the request.
|
|
380
|
+
* @param data.workspace
|
|
381
|
+
* @param data.username
|
|
382
|
+
* @returns string convert user to group user
|
|
383
|
+
* @throws ApiError
|
|
384
|
+
*/
|
|
385
|
+
static convertUserToGroup(data) {
|
|
386
|
+
return __request(OpenAPI, {
|
|
387
|
+
method: 'POST',
|
|
388
|
+
url: '/w/{workspace}/users/convert_to_group/{username}',
|
|
389
|
+
path: {
|
|
390
|
+
workspace: data.workspace,
|
|
391
|
+
username: data.username
|
|
392
|
+
}
|
|
393
|
+
});
|
|
394
|
+
}
|
|
377
395
|
/**
|
|
378
396
|
* get current user email (if logged in)
|
|
379
397
|
* @returns string user email
|
|
@@ -793,6 +811,24 @@ export class AdminService {
|
|
|
793
811
|
}
|
|
794
812
|
});
|
|
795
813
|
}
|
|
814
|
+
/**
|
|
815
|
+
* convert manual user to group user (require admin privilege)
|
|
816
|
+
* @param data The data for the request.
|
|
817
|
+
* @param data.workspace
|
|
818
|
+
* @param data.username
|
|
819
|
+
* @returns string convert user to group user
|
|
820
|
+
* @throws ApiError
|
|
821
|
+
*/
|
|
822
|
+
static convertUserToGroup(data) {
|
|
823
|
+
return __request(OpenAPI, {
|
|
824
|
+
method: 'POST',
|
|
825
|
+
url: '/w/{workspace}/users/convert_to_group/{username}',
|
|
826
|
+
path: {
|
|
827
|
+
workspace: data.workspace,
|
|
828
|
+
username: data.username
|
|
829
|
+
}
|
|
830
|
+
});
|
|
831
|
+
}
|
|
796
832
|
}
|
|
797
833
|
export class GitSyncService {
|
|
798
834
|
/**
|
|
@@ -1348,6 +1384,38 @@ export class WorkspaceService {
|
|
|
1348
1384
|
mediaType: 'application/json'
|
|
1349
1385
|
});
|
|
1350
1386
|
}
|
|
1387
|
+
/**
|
|
1388
|
+
* rebuild dependency map
|
|
1389
|
+
* @param data The data for the request.
|
|
1390
|
+
* @param data.workspace
|
|
1391
|
+
* @returns string status
|
|
1392
|
+
* @throws ApiError
|
|
1393
|
+
*/
|
|
1394
|
+
static rebuildDependencyMap(data) {
|
|
1395
|
+
return __request(OpenAPI, {
|
|
1396
|
+
method: 'POST',
|
|
1397
|
+
url: '/w/{workspace}/workspaces/rebuild_dependency_map',
|
|
1398
|
+
path: {
|
|
1399
|
+
workspace: data.workspace
|
|
1400
|
+
}
|
|
1401
|
+
});
|
|
1402
|
+
}
|
|
1403
|
+
/**
|
|
1404
|
+
* get dependency map
|
|
1405
|
+
* @param data The data for the request.
|
|
1406
|
+
* @param data.workspace
|
|
1407
|
+
* @returns DependencyMap dmap
|
|
1408
|
+
* @throws ApiError
|
|
1409
|
+
*/
|
|
1410
|
+
static getDependencyMap(data) {
|
|
1411
|
+
return __request(OpenAPI, {
|
|
1412
|
+
method: 'GET',
|
|
1413
|
+
url: '/w/{workspace}/workspaces/get_dependency_map',
|
|
1414
|
+
path: {
|
|
1415
|
+
workspace: data.workspace
|
|
1416
|
+
}
|
|
1417
|
+
});
|
|
1418
|
+
}
|
|
1351
1419
|
/**
|
|
1352
1420
|
* edit slack command
|
|
1353
1421
|
* @param data The data for the request.
|
|
@@ -1390,6 +1458,7 @@ export class WorkspaceService {
|
|
|
1390
1458
|
* list available teams ids
|
|
1391
1459
|
* @param data The data for the request.
|
|
1392
1460
|
* @param data.workspace
|
|
1461
|
+
* @param data.search Search teams by name
|
|
1393
1462
|
* @returns unknown status
|
|
1394
1463
|
* @throws ApiError
|
|
1395
1464
|
*/
|
|
@@ -1399,14 +1468,19 @@ export class WorkspaceService {
|
|
|
1399
1468
|
url: '/w/{workspace}/workspaces/available_teams_ids',
|
|
1400
1469
|
path: {
|
|
1401
1470
|
workspace: data.workspace
|
|
1471
|
+
},
|
|
1472
|
+
query: {
|
|
1473
|
+
search: data.search
|
|
1402
1474
|
}
|
|
1403
1475
|
});
|
|
1404
1476
|
}
|
|
1405
1477
|
/**
|
|
1406
|
-
* list available
|
|
1478
|
+
* list available channels for a specific team
|
|
1407
1479
|
* @param data The data for the request.
|
|
1408
1480
|
* @param data.workspace
|
|
1409
|
-
* @
|
|
1481
|
+
* @param data.teamId Microsoft Teams team ID
|
|
1482
|
+
* @param data.search Search channels by name
|
|
1483
|
+
* @returns unknown List of channels for the specified team
|
|
1410
1484
|
* @throws ApiError
|
|
1411
1485
|
*/
|
|
1412
1486
|
static listAvailableTeamsChannels(data) {
|
|
@@ -1415,6 +1489,10 @@ export class WorkspaceService {
|
|
|
1415
1489
|
url: '/w/{workspace}/workspaces/available_teams_channels',
|
|
1416
1490
|
path: {
|
|
1417
1491
|
workspace: data.workspace
|
|
1492
|
+
},
|
|
1493
|
+
query: {
|
|
1494
|
+
team_id: data.teamId,
|
|
1495
|
+
search: data.search
|
|
1418
1496
|
}
|
|
1419
1497
|
});
|
|
1420
1498
|
}
|
|
@@ -2717,17 +2795,6 @@ export class OauthService {
|
|
|
2717
2795
|
}
|
|
2718
2796
|
}
|
|
2719
2797
|
export class TeamsService {
|
|
2720
|
-
/**
|
|
2721
|
-
* synchronize Microsoft Teams information (teams/channels)
|
|
2722
|
-
* @returns TeamInfo Teams information successfully synchronized
|
|
2723
|
-
* @throws ApiError
|
|
2724
|
-
*/
|
|
2725
|
-
static syncTeams() {
|
|
2726
|
-
return __request(OpenAPI, {
|
|
2727
|
-
method: 'POST',
|
|
2728
|
-
url: '/teams/sync'
|
|
2729
|
-
});
|
|
2730
|
-
}
|
|
2731
2798
|
/**
|
|
2732
2799
|
* send update to Microsoft Teams activity
|
|
2733
2800
|
* Respond to a Microsoft Teams activity after a workspace command is run
|
|
@@ -4946,40 +5013,6 @@ export class JobService {
|
|
|
4946
5013
|
mediaType: 'application/json'
|
|
4947
5014
|
});
|
|
4948
5015
|
}
|
|
4949
|
-
/**
|
|
4950
|
-
* run script by path in openai format
|
|
4951
|
-
* @param data The data for the request.
|
|
4952
|
-
* @param data.workspace
|
|
4953
|
-
* @param data.path
|
|
4954
|
-
* @param data.requestBody script args
|
|
4955
|
-
* @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
|
|
4956
|
-
* @param data.jobId The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
|
|
4957
|
-
* @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args
|
|
4958
|
-
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
4959
|
-
*
|
|
4960
|
-
* @param data.queueLimit The maximum size of the queue for which the request would get rejected if that job would push it above that limit
|
|
4961
|
-
*
|
|
4962
|
-
* @returns unknown job result
|
|
4963
|
-
* @throws ApiError
|
|
4964
|
-
*/
|
|
4965
|
-
static openaiSyncScriptByPath(data) {
|
|
4966
|
-
return __request(OpenAPI, {
|
|
4967
|
-
method: 'POST',
|
|
4968
|
-
url: '/w/{workspace}/jobs/openai_sync/p/{path}',
|
|
4969
|
-
path: {
|
|
4970
|
-
workspace: data.workspace,
|
|
4971
|
-
path: data.path
|
|
4972
|
-
},
|
|
4973
|
-
query: {
|
|
4974
|
-
parent_job: data.parentJob,
|
|
4975
|
-
job_id: data.jobId,
|
|
4976
|
-
include_header: data.includeHeader,
|
|
4977
|
-
queue_limit: data.queueLimit
|
|
4978
|
-
},
|
|
4979
|
-
body: data.requestBody,
|
|
4980
|
-
mediaType: 'application/json'
|
|
4981
|
-
});
|
|
4982
|
-
}
|
|
4983
5016
|
/**
|
|
4984
5017
|
* run script by path
|
|
4985
5018
|
* @param data The data for the request.
|
|
@@ -4995,6 +5028,7 @@ export class JobService {
|
|
|
4995
5028
|
*
|
|
4996
5029
|
* @param data.queueLimit The maximum size of the queue for which the request would get rejected if that job would push it above that limit
|
|
4997
5030
|
*
|
|
5031
|
+
* @param data.skipPreprocessor skip the preprocessor
|
|
4998
5032
|
* @returns unknown job result
|
|
4999
5033
|
* @throws ApiError
|
|
5000
5034
|
*/
|
|
@@ -5012,7 +5046,8 @@ export class JobService {
|
|
|
5012
5046
|
cache_ttl: data.cacheTtl,
|
|
5013
5047
|
job_id: data.jobId,
|
|
5014
5048
|
include_header: data.includeHeader,
|
|
5015
|
-
queue_limit: data.queueLimit
|
|
5049
|
+
queue_limit: data.queueLimit,
|
|
5050
|
+
skip_preprocessor: data.skipPreprocessor
|
|
5016
5051
|
},
|
|
5017
5052
|
body: data.requestBody,
|
|
5018
5053
|
mediaType: 'application/json'
|
|
@@ -5035,6 +5070,7 @@ export class JobService {
|
|
|
5035
5070
|
* @param data.payload The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent
|
|
5036
5071
|
* `encodeURIComponent(btoa(JSON.stringify({a: 2})))`
|
|
5037
5072
|
*
|
|
5073
|
+
* @param data.skipPreprocessor skip the preprocessor
|
|
5038
5074
|
* @returns unknown job result
|
|
5039
5075
|
* @throws ApiError
|
|
5040
5076
|
*/
|
|
@@ -5053,42 +5089,11 @@ export class JobService {
|
|
|
5053
5089
|
job_id: data.jobId,
|
|
5054
5090
|
include_header: data.includeHeader,
|
|
5055
5091
|
queue_limit: data.queueLimit,
|
|
5056
|
-
payload: data.payload
|
|
5092
|
+
payload: data.payload,
|
|
5093
|
+
skip_preprocessor: data.skipPreprocessor
|
|
5057
5094
|
}
|
|
5058
5095
|
});
|
|
5059
5096
|
}
|
|
5060
|
-
/**
|
|
5061
|
-
* run flow by path and wait until completion in openai format
|
|
5062
|
-
* @param data The data for the request.
|
|
5063
|
-
* @param data.workspace
|
|
5064
|
-
* @param data.path
|
|
5065
|
-
* @param data.requestBody script args
|
|
5066
|
-
* @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args
|
|
5067
|
-
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
5068
|
-
*
|
|
5069
|
-
* @param data.queueLimit The maximum size of the queue for which the request would get rejected if that job would push it above that limit
|
|
5070
|
-
*
|
|
5071
|
-
* @param data.jobId The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
|
|
5072
|
-
* @returns unknown job result
|
|
5073
|
-
* @throws ApiError
|
|
5074
|
-
*/
|
|
5075
|
-
static openaiSyncFlowByPath(data) {
|
|
5076
|
-
return __request(OpenAPI, {
|
|
5077
|
-
method: 'POST',
|
|
5078
|
-
url: '/w/{workspace}/jobs/openai_sync/f/{path}',
|
|
5079
|
-
path: {
|
|
5080
|
-
workspace: data.workspace,
|
|
5081
|
-
path: data.path
|
|
5082
|
-
},
|
|
5083
|
-
query: {
|
|
5084
|
-
include_header: data.includeHeader,
|
|
5085
|
-
queue_limit: data.queueLimit,
|
|
5086
|
-
job_id: data.jobId
|
|
5087
|
-
},
|
|
5088
|
-
body: data.requestBody,
|
|
5089
|
-
mediaType: 'application/json'
|
|
5090
|
-
});
|
|
5091
|
-
}
|
|
5092
5097
|
/**
|
|
5093
5098
|
* run flow by path and wait until completion
|
|
5094
5099
|
* @param data The data for the request.
|
|
@@ -5101,6 +5106,7 @@ export class JobService {
|
|
|
5101
5106
|
* @param data.queueLimit The maximum size of the queue for which the request would get rejected if that job would push it above that limit
|
|
5102
5107
|
*
|
|
5103
5108
|
* @param data.jobId The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
|
|
5109
|
+
* @param data.skipPreprocessor skip the preprocessor
|
|
5104
5110
|
* @returns unknown job result
|
|
5105
5111
|
* @throws ApiError
|
|
5106
5112
|
*/
|
|
@@ -5115,7 +5121,8 @@ export class JobService {
|
|
|
5115
5121
|
query: {
|
|
5116
5122
|
include_header: data.includeHeader,
|
|
5117
5123
|
queue_limit: data.queueLimit,
|
|
5118
|
-
job_id: data.jobId
|
|
5124
|
+
job_id: data.jobId,
|
|
5125
|
+
skip_preprocessor: data.skipPreprocessor
|
|
5119
5126
|
},
|
|
5120
5127
|
body: data.requestBody,
|
|
5121
5128
|
mediaType: 'application/json'
|
|
@@ -5425,6 +5432,25 @@ export class JobService {
|
|
|
5425
5432
|
mediaType: 'application/json'
|
|
5426
5433
|
});
|
|
5427
5434
|
}
|
|
5435
|
+
/**
|
|
5436
|
+
* run dynamic select helper function
|
|
5437
|
+
* @param data The data for the request.
|
|
5438
|
+
* @param data.workspace
|
|
5439
|
+
* @param data.requestBody dynamic select request
|
|
5440
|
+
* @returns string dynamic select job created
|
|
5441
|
+
* @throws ApiError
|
|
5442
|
+
*/
|
|
5443
|
+
static runDynamicSelect(data) {
|
|
5444
|
+
return __request(OpenAPI, {
|
|
5445
|
+
method: 'POST',
|
|
5446
|
+
url: '/w/{workspace}/jobs/run/dynamic_select',
|
|
5447
|
+
path: {
|
|
5448
|
+
workspace: data.workspace
|
|
5449
|
+
},
|
|
5450
|
+
body: data.requestBody,
|
|
5451
|
+
mediaType: 'application/json'
|
|
5452
|
+
});
|
|
5453
|
+
}
|
|
5428
5454
|
/**
|
|
5429
5455
|
* list all queued jobs
|
|
5430
5456
|
* @param data The data for the request.
|
|
@@ -5698,6 +5724,7 @@ export class JobService {
|
|
|
5698
5724
|
* @param data The data for the request.
|
|
5699
5725
|
* @param data.workspace
|
|
5700
5726
|
* @param data.requestBody uuids of the jobs to cancel
|
|
5727
|
+
* @param data.forceCancel
|
|
5701
5728
|
* @returns string uuids of canceled jobs
|
|
5702
5729
|
* @throws ApiError
|
|
5703
5730
|
*/
|
|
@@ -5708,6 +5735,9 @@ export class JobService {
|
|
|
5708
5735
|
path: {
|
|
5709
5736
|
workspace: data.workspace
|
|
5710
5737
|
},
|
|
5738
|
+
query: {
|
|
5739
|
+
force_cancel: data.forceCancel
|
|
5740
|
+
},
|
|
5711
5741
|
body: data.requestBody,
|
|
5712
5742
|
mediaType: 'application/json'
|
|
5713
5743
|
});
|
|
@@ -5985,6 +6015,25 @@ export class JobService {
|
|
|
5985
6015
|
}
|
|
5986
6016
|
});
|
|
5987
6017
|
}
|
|
6018
|
+
/**
|
|
6019
|
+
* get started at by ids
|
|
6020
|
+
* @param data The data for the request.
|
|
6021
|
+
* @param data.workspace
|
|
6022
|
+
* @param data.requestBody ids
|
|
6023
|
+
* @returns string started at by ids
|
|
6024
|
+
* @throws ApiError
|
|
6025
|
+
*/
|
|
6026
|
+
static getStartedAtByIds(data) {
|
|
6027
|
+
return __request(OpenAPI, {
|
|
6028
|
+
method: 'POST',
|
|
6029
|
+
url: '/w/{workspace}/jobs_u/queue/get_started_at_by_ids',
|
|
6030
|
+
path: {
|
|
6031
|
+
workspace: data.workspace
|
|
6032
|
+
},
|
|
6033
|
+
body: data.requestBody,
|
|
6034
|
+
mediaType: 'application/json'
|
|
6035
|
+
});
|
|
6036
|
+
}
|
|
5988
6037
|
/**
|
|
5989
6038
|
* get job updates
|
|
5990
6039
|
* @param data The data for the request.
|