windmill-client 1.330.0 → 1.331.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.
@@ -36,7 +36,7 @@ exports.OpenAPI = {
36
36
  PASSWORD: undefined,
37
37
  TOKEN: getEnv("WM_TOKEN"),
38
38
  USERNAME: undefined,
39
- VERSION: '1.330.0',
39
+ VERSION: '1.331.0',
40
40
  WITH_CREDENTIALS: true,
41
41
  interceptors: {
42
42
  request: new Interceptors(),
@@ -1,5 +1,5 @@
1
1
  import type { CancelablePromise } from './core/CancelablePromise';
2
- import type { BackendVersionResponse, BackendUptodateResponse, GetLicenseIdResponse, GetOpenApiYamlResponse, GetAuditLogData, GetAuditLogResponse, ListAuditLogsData, ListAuditLogsResponse, LoginData, LoginResponse, LogoutResponse, GetUserData, GetUserResponse, UpdateUserData, UpdateUserResponse, IsOwnerOfPathData, IsOwnerOfPathResponse, SetPasswordData, SetPasswordResponse, CreateUserGloballyData, CreateUserGloballyResponse, GlobalUserUpdateData, GlobalUserUpdateResponse, GlobalUsernameInfoData, GlobalUsernameInfoResponse, GlobalUserRenameData, GlobalUserRenameResponse, GlobalUserDeleteData, GlobalUserDeleteResponse, DeleteUserData, DeleteUserResponse, GetCurrentEmailResponse, RefreshUserTokenResponse, GetTutorialProgressResponse, UpdateTutorialProgressData, UpdateTutorialProgressResponse, LeaveInstanceResponse, GetUsageResponse, GetRunnableResponse, GlobalWhoamiResponse, ListWorkspaceInvitesResponse, WhoamiData, WhoamiResponse, AcceptInviteData, AcceptInviteResponse, DeclineInviteData, DeclineInviteResponse, WhoisData, WhoisResponse, ExistsEmailData, ExistsEmailResponse, ListUsersAsSuperAdminData, ListUsersAsSuperAdminResponse, ListUsersData, ListUsersResponse, ListUsersUsageData, ListUsersUsageResponse, ListUsernamesData, ListUsernamesResponse, CreateTokenData, CreateTokenResponse, CreateTokenImpersonateData, CreateTokenImpersonateResponse, DeleteTokenData, DeleteTokenResponse, ListTokensData, ListTokensResponse, LoginWithOauthData, LoginWithOauthResponse, ListWorkspacesResponse, IsDomainAllowedResponse, ListUserWorkspacesResponse, ListWorkspacesAsSuperAdminData, ListWorkspacesAsSuperAdminResponse, CreateWorkspaceData, CreateWorkspaceResponse, ExistsWorkspaceData, ExistsWorkspaceResponse, ExistsUsernameData, ExistsUsernameResponse, InviteUserData, InviteUserResponse, AddUserData, AddUserResponse, DeleteInviteData, DeleteInviteResponse, ArchiveWorkspaceData, ArchiveWorkspaceResponse, UnarchiveWorkspaceData, UnarchiveWorkspaceResponse, DeleteWorkspaceData, DeleteWorkspaceResponse, LeaveWorkspaceData, LeaveWorkspaceResponse, GetWorkspaceNameData, GetWorkspaceNameResponse, ChangeWorkspaceNameData, ChangeWorkspaceNameResponse, ChangeWorkspaceIdData, ChangeWorkspaceIdResponse, ListPendingInvitesData, ListPendingInvitesResponse, GetSettingsData, GetSettingsResponse, GetDeployToData, GetDeployToResponse, GetIsPremiumData, GetIsPremiumResponse, GetPremiumInfoData, GetPremiumInfoResponse, SetAutomaticBillingData, SetAutomaticBillingResponse, EditSlackCommandData, EditSlackCommandResponse, RunSlackMessageTestJobData, RunSlackMessageTestJobResponse, EditDeployToData, EditDeployToResponse, EditAutoInviteData, EditAutoInviteResponse, EditWebhookData, EditWebhookResponse, EditCopilotConfigData, EditCopilotConfigResponse, GetCopilotInfoData, GetCopilotInfoResponse, EditErrorHandlerData, EditErrorHandlerResponse, EditLargeFileStorageConfigData, EditLargeFileStorageConfigResponse, EditWorkspaceGitSyncConfigData, EditWorkspaceGitSyncConfigResponse, EditWorkspaceDefaultAppData, EditWorkspaceDefaultAppResponse, EditDefaultScriptsData, EditDefaultScriptsResponse, GetDefaultScriptsData, GetDefaultScriptsResponse, SetEnvironmentVariableData, SetEnvironmentVariableResponse, GetWorkspaceEncryptionKeyData, GetWorkspaceEncryptionKeyResponse, SetWorkspaceEncryptionKeyData, SetWorkspaceEncryptionKeyResponse, GetWorkspaceDefaultAppData, GetWorkspaceDefaultAppResponse, GetLargeFileStorageConfigData, GetLargeFileStorageConfigResponse, GetWorkspaceUsageData, GetWorkspaceUsageResponse, GetGlobalData, GetGlobalResponse, SetGlobalData, SetGlobalResponse, GetLocalResponse, TestSmtpData, TestSmtpResponse, TestLicenseKeyData, TestLicenseKeyResponse, TestObjectStorageConfigData, TestObjectStorageConfigResponse, SendStatsResponse, TestMetadataData, TestMetadataResponse, GetOidcTokenData, GetOidcTokenResponse, CreateVariableData, CreateVariableResponse, EncryptValueData, EncryptValueResponse, DeleteVariableData, DeleteVariableResponse, UpdateVariableData, UpdateVariableResponse, GetVariableData, GetVariableResponse, GetVariableValueData, GetVariableValueResponse, ExistsVariableData, ExistsVariableResponse, ListVariableData, ListVariableResponse, ListContextualVariablesData, ListContextualVariablesResponse, ConnectSlackCallbackData, ConnectSlackCallbackResponse, ConnectCallbackData, ConnectCallbackResponse, CreateAccountData, CreateAccountResponse, RefreshTokenData, RefreshTokenResponse, DisconnectAccountData, DisconnectAccountResponse, DisconnectSlackData, DisconnectSlackResponse, ListOauthLoginsResponse, ListOauthConnectsResponse, CreateResourceData, CreateResourceResponse, DeleteResourceData, DeleteResourceResponse, UpdateResourceData, UpdateResourceResponse, UpdateResourceValueData, UpdateResourceValueResponse, GetResourceData, GetResourceResponse, GetResourceValueInterpolatedData, GetResourceValueInterpolatedResponse, GetResourceValueData, GetResourceValueResponse, ExistsResourceData, ExistsResourceResponse, ListResourceData, ListResourceResponse, ListSearchResourceData, ListSearchResourceResponse, ListResourceNamesData, ListResourceNamesResponse, CreateResourceTypeData, CreateResourceTypeResponse, DeleteResourceTypeData, DeleteResourceTypeResponse, UpdateResourceTypeData, UpdateResourceTypeResponse, GetResourceTypeData, GetResourceTypeResponse, ExistsResourceTypeData, ExistsResourceTypeResponse, ListResourceTypeData, ListResourceTypeResponse, ListResourceTypeNamesData, ListResourceTypeNamesResponse, QueryResourceTypesData, QueryResourceTypesResponse, ListHubIntegrationsData, ListHubIntegrationsResponse, ListHubFlowsResponse, GetHubFlowByIdData, GetHubFlowByIdResponse, ListFlowPathsData, ListFlowPathsResponse, ListSearchFlowData, ListSearchFlowResponse, ListFlowsData, ListFlowsResponse, GetFlowByPathData, GetFlowByPathResponse, ToggleWorkspaceErrorHandlerForFlowData, ToggleWorkspaceErrorHandlerForFlowResponse, GetFlowByPathWithDraftData, GetFlowByPathWithDraftResponse, ExistsFlowByPathData, ExistsFlowByPathResponse, CreateFlowData, CreateFlowResponse, UpdateFlowData, UpdateFlowResponse, ArchiveFlowByPathData, ArchiveFlowByPathResponse, DeleteFlowByPathData, DeleteFlowByPathResponse, GetFlowInputHistoryByPathData, GetFlowInputHistoryByPathResponse, ListHubAppsResponse, GetHubAppByIdData, GetHubAppByIdResponse, ListSearchAppData, ListSearchAppResponse, ListAppsData, ListAppsResponse, CreateAppData, CreateAppResponse, ExistsAppData, ExistsAppResponse, GetAppByPathData, GetAppByPathResponse, GetAppByPathWithDraftData, GetAppByPathWithDraftResponse, GetAppHistoryByPathData, GetAppHistoryByPathResponse, UpdateAppHistoryData, UpdateAppHistoryResponse, GetPublicAppBySecretData, GetPublicAppBySecretResponse, GetPublicResourceData, GetPublicResourceResponse, GetPublicSecretOfAppData, GetPublicSecretOfAppResponse, GetAppByVersionData, GetAppByVersionResponse, DeleteAppData, DeleteAppResponse, UpdateAppData, UpdateAppResponse, ExecuteComponentData, ExecuteComponentResponse, GetHubScriptContentByPathData, GetHubScriptContentByPathResponse, GetHubScriptByPathData, GetHubScriptByPathResponse, GetTopHubScriptsData, GetTopHubScriptsResponse, QueryHubScriptsData, QueryHubScriptsResponse, ListSearchScriptData, ListSearchScriptResponse, ListScriptsData, ListScriptsResponse, ListScriptPathsData, ListScriptPathsResponse, CreateScriptData, CreateScriptResponse, ToggleWorkspaceErrorHandlerForScriptData, ToggleWorkspaceErrorHandlerForScriptResponse, ArchiveScriptByPathData, ArchiveScriptByPathResponse, ArchiveScriptByHashData, ArchiveScriptByHashResponse, DeleteScriptByHashData, DeleteScriptByHashResponse, DeleteScriptByPathData, DeleteScriptByPathResponse, GetScriptByPathData, GetScriptByPathResponse, GetScriptByPathWithDraftData, GetScriptByPathWithDraftResponse, GetScriptHistoryByPathData, GetScriptHistoryByPathResponse, UpdateScriptHistoryData, UpdateScriptHistoryResponse, RawScriptByPathData, RawScriptByPathResponse, RawScriptByPathTokenedData, RawScriptByPathTokenedResponse, ExistsScriptByPathData, ExistsScriptByPathResponse, GetScriptByHashData, GetScriptByHashResponse, RawScriptByHashData, RawScriptByHashResponse, GetScriptDeploymentStatusData, GetScriptDeploymentStatusResponse, CreateDraftData, CreateDraftResponse, DeleteDraftData, DeleteDraftResponse, GetCustomTagsResponse, GeDefaultTagsResponse, IsDefaultTagsPerWorkspaceResponse, ListWorkersData, ListWorkersResponse, ExistsWorkerWithTagData, ExistsWorkerWithTagResponse, GetQueueMetricsResponse, RunScriptByPathData, RunScriptByPathResponse, OpenaiSyncScriptByPathData, OpenaiSyncScriptByPathResponse, RunWaitResultScriptByPathData, RunWaitResultScriptByPathResponse, RunWaitResultScriptByPathGetData, RunWaitResultScriptByPathGetResponse, OpenaiSyncFlowByPathData, OpenaiSyncFlowByPathResponse, RunWaitResultFlowByPathData, RunWaitResultFlowByPathResponse, ResultByIdData, ResultByIdResponse, RunFlowByPathData, RunFlowByPathResponse, RestartFlowAtStepData, RestartFlowAtStepResponse, RunScriptByHashData, RunScriptByHashResponse, RunScriptPreviewData, RunScriptPreviewResponse, RunCodeWorkflowTaskData, RunCodeWorkflowTaskResponse, RunRawScriptDependenciesData, RunRawScriptDependenciesResponse, RunFlowPreviewData, RunFlowPreviewResponse, ListQueueData, ListQueueResponse, GetQueueCountData, GetQueueCountResponse, GetCompletedCountData, GetCompletedCountResponse, CancelAllData, CancelAllResponse, ListCompletedJobsData, ListCompletedJobsResponse, ListJobsData, ListJobsResponse, GetDbClockResponse, GetJobData, GetJobResponse, GetRootJobIdData, GetRootJobIdResponse, GetJobLogsData, GetJobLogsResponse, GetJobUpdatesData, GetJobUpdatesResponse, GetLogFileFromStoreData, GetLogFileFromStoreResponse, GetFlowDebugInfoData, GetFlowDebugInfoResponse, GetCompletedJobData, GetCompletedJobResponse, GetCompletedJobResultData, GetCompletedJobResultResponse, GetCompletedJobResultMaybeData, GetCompletedJobResultMaybeResponse, DeleteCompletedJobData, DeleteCompletedJobResponse, CancelQueuedJobData, CancelQueuedJobResponse, CancelPersistentQueuedJobsData, CancelPersistentQueuedJobsResponse, ForceCancelQueuedJobData, ForceCancelQueuedJobResponse, CreateJobSignatureData, CreateJobSignatureResponse, GetResumeUrlsData, GetResumeUrlsResponse, ResumeSuspendedJobGetData, ResumeSuspendedJobGetResponse, ResumeSuspendedJobPostData, ResumeSuspendedJobPostResponse, SetFlowUserStateData, SetFlowUserStateResponse, GetFlowUserStateData, GetFlowUserStateResponse, ResumeSuspendedFlowAsOwnerData, ResumeSuspendedFlowAsOwnerResponse, CancelSuspendedJobGetData, CancelSuspendedJobGetResponse, CancelSuspendedJobPostData, CancelSuspendedJobPostResponse, GetSuspendedJobFlowData, GetSuspendedJobFlowResponse, ListRawAppsData, ListRawAppsResponse, ExistsRawAppData, ExistsRawAppResponse, GetRawAppDataData, GetRawAppDataResponse, CreateRawAppData, CreateRawAppResponse, UpdateRawAppData, UpdateRawAppResponse, DeleteRawAppData, DeleteRawAppResponse, PreviewScheduleData, PreviewScheduleResponse, CreateScheduleData, CreateScheduleResponse, UpdateScheduleData, UpdateScheduleResponse, SetScheduleEnabledData, SetScheduleEnabledResponse, DeleteScheduleData, DeleteScheduleResponse, GetScheduleData, GetScheduleResponse, ExistsScheduleData, ExistsScheduleResponse, ListSchedulesData, ListSchedulesResponse, ListSchedulesWithJobsData, ListSchedulesWithJobsResponse, SetDefaultErrorOrRecoveryHandlerData, SetDefaultErrorOrRecoveryHandlerResponse, ListInstanceGroupsResponse, GetInstanceGroupData, GetInstanceGroupResponse, CreateInstanceGroupData, CreateInstanceGroupResponse, UpdateInstanceGroupData, UpdateInstanceGroupResponse, DeleteInstanceGroupData, DeleteInstanceGroupResponse, AddUserToInstanceGroupData, AddUserToInstanceGroupResponse, RemoveUserFromInstanceGroupData, RemoveUserFromInstanceGroupResponse, ListGroupsData, ListGroupsResponse, ListGroupNamesData, ListGroupNamesResponse, CreateGroupData, CreateGroupResponse, UpdateGroupData, UpdateGroupResponse, DeleteGroupData, DeleteGroupResponse, GetGroupData, GetGroupResponse, AddUserToGroupData, AddUserToGroupResponse, RemoveUserToGroupData, RemoveUserToGroupResponse, ListFoldersData, ListFoldersResponse, ListFolderNamesData, ListFolderNamesResponse, CreateFolderData, CreateFolderResponse, UpdateFolderData, UpdateFolderResponse, DeleteFolderData, DeleteFolderResponse, GetFolderData, GetFolderResponse, GetFolderUsageData, GetFolderUsageResponse, AddOwnerToFolderData, AddOwnerToFolderResponse, RemoveOwnerToFolderData, RemoveOwnerToFolderResponse, ListWorkerGroupsResponse, GetConfigData, GetConfigResponse, UpdateConfigData, UpdateConfigResponse, DeleteConfigData, DeleteConfigResponse, GetGranularAclsData, GetGranularAclsResponse, AddGranularAclsData, AddGranularAclsResponse, RemoveGranularAclsData, RemoveGranularAclsResponse, UpdateCaptureData, UpdateCaptureResponse, CreateCaptureData, CreateCaptureResponse, GetCaptureData, GetCaptureResponse, StarData, StarResponse, UnstarData, UnstarResponse, GetInputHistoryData, GetInputHistoryResponse, GetArgsFromHistoryOrSavedInputData, GetArgsFromHistoryOrSavedInputResponse, ListInputsData, ListInputsResponse, CreateInputData, CreateInputResponse, UpdateInputData, UpdateInputResponse, DeleteInputData, DeleteInputResponse, DuckdbConnectionSettingsData, DuckdbConnectionSettingsResponse, DuckdbConnectionSettingsV2Data, DuckdbConnectionSettingsV2Response, PolarsConnectionSettingsData, PolarsConnectionSettingsResponse, PolarsConnectionSettingsV2Data, PolarsConnectionSettingsV2Response, S3ResourceInfoData, S3ResourceInfoResponse, DatasetStorageTestConnectionData, DatasetStorageTestConnectionResponse, ListStoredFilesData, ListStoredFilesResponse, LoadFileMetadataData, LoadFileMetadataResponse, LoadFilePreviewData, LoadFilePreviewResponse, LoadParquetPreviewData, LoadParquetPreviewResponse, DeleteS3FileData, DeleteS3FileResponse, MoveS3FileData, MoveS3FileResponse, FileUploadData, FileUploadResponse, FileDownloadData, FileDownloadResponse, GetJobMetricsData, GetJobMetricsResponse, ListConcurrencyGroupsResponse, DeleteConcurrencyGroupData, DeleteConcurrencyGroupResponse } from './types.gen';
2
+ import type { BackendVersionResponse, BackendUptodateResponse, GetLicenseIdResponse, GetOpenApiYamlResponse, GetAuditLogData, GetAuditLogResponse, ListAuditLogsData, ListAuditLogsResponse, LoginData, LoginResponse, LogoutResponse, GetUserData, GetUserResponse, UpdateUserData, UpdateUserResponse, IsOwnerOfPathData, IsOwnerOfPathResponse, SetPasswordData, SetPasswordResponse, CreateUserGloballyData, CreateUserGloballyResponse, GlobalUserUpdateData, GlobalUserUpdateResponse, GlobalUsernameInfoData, GlobalUsernameInfoResponse, GlobalUserRenameData, GlobalUserRenameResponse, GlobalUserDeleteData, GlobalUserDeleteResponse, DeleteUserData, DeleteUserResponse, GetCurrentEmailResponse, RefreshUserTokenResponse, GetTutorialProgressResponse, UpdateTutorialProgressData, UpdateTutorialProgressResponse, LeaveInstanceResponse, GetUsageResponse, GetRunnableResponse, GlobalWhoamiResponse, ListWorkspaceInvitesResponse, WhoamiData, WhoamiResponse, AcceptInviteData, AcceptInviteResponse, DeclineInviteData, DeclineInviteResponse, WhoisData, WhoisResponse, ExistsEmailData, ExistsEmailResponse, ListUsersAsSuperAdminData, ListUsersAsSuperAdminResponse, ListUsersData, ListUsersResponse, ListUsersUsageData, ListUsersUsageResponse, ListUsernamesData, ListUsernamesResponse, CreateTokenData, CreateTokenResponse, CreateTokenImpersonateData, CreateTokenImpersonateResponse, DeleteTokenData, DeleteTokenResponse, ListTokensData, ListTokensResponse, LoginWithOauthData, LoginWithOauthResponse, ListWorkspacesResponse, IsDomainAllowedResponse, ListUserWorkspacesResponse, ListWorkspacesAsSuperAdminData, ListWorkspacesAsSuperAdminResponse, CreateWorkspaceData, CreateWorkspaceResponse, ExistsWorkspaceData, ExistsWorkspaceResponse, ExistsUsernameData, ExistsUsernameResponse, InviteUserData, InviteUserResponse, AddUserData, AddUserResponse, DeleteInviteData, DeleteInviteResponse, ArchiveWorkspaceData, ArchiveWorkspaceResponse, UnarchiveWorkspaceData, UnarchiveWorkspaceResponse, DeleteWorkspaceData, DeleteWorkspaceResponse, LeaveWorkspaceData, LeaveWorkspaceResponse, GetWorkspaceNameData, GetWorkspaceNameResponse, ChangeWorkspaceNameData, ChangeWorkspaceNameResponse, ChangeWorkspaceIdData, ChangeWorkspaceIdResponse, ListPendingInvitesData, ListPendingInvitesResponse, GetSettingsData, GetSettingsResponse, GetDeployToData, GetDeployToResponse, GetIsPremiumData, GetIsPremiumResponse, GetPremiumInfoData, GetPremiumInfoResponse, SetAutomaticBillingData, SetAutomaticBillingResponse, EditSlackCommandData, EditSlackCommandResponse, RunSlackMessageTestJobData, RunSlackMessageTestJobResponse, EditDeployToData, EditDeployToResponse, EditAutoInviteData, EditAutoInviteResponse, EditWebhookData, EditWebhookResponse, EditCopilotConfigData, EditCopilotConfigResponse, GetCopilotInfoData, GetCopilotInfoResponse, EditErrorHandlerData, EditErrorHandlerResponse, EditLargeFileStorageConfigData, EditLargeFileStorageConfigResponse, EditWorkspaceGitSyncConfigData, EditWorkspaceGitSyncConfigResponse, EditWorkspaceDefaultAppData, EditWorkspaceDefaultAppResponse, EditDefaultScriptsData, EditDefaultScriptsResponse, GetDefaultScriptsData, GetDefaultScriptsResponse, SetEnvironmentVariableData, SetEnvironmentVariableResponse, GetWorkspaceEncryptionKeyData, GetWorkspaceEncryptionKeyResponse, SetWorkspaceEncryptionKeyData, SetWorkspaceEncryptionKeyResponse, GetWorkspaceDefaultAppData, GetWorkspaceDefaultAppResponse, GetLargeFileStorageConfigData, GetLargeFileStorageConfigResponse, GetWorkspaceUsageData, GetWorkspaceUsageResponse, GetGlobalData, GetGlobalResponse, SetGlobalData, SetGlobalResponse, GetLocalResponse, TestSmtpData, TestSmtpResponse, TestLicenseKeyData, TestLicenseKeyResponse, TestObjectStorageConfigData, TestObjectStorageConfigResponse, SendStatsResponse, TestMetadataData, TestMetadataResponse, GetOidcTokenData, GetOidcTokenResponse, CreateVariableData, CreateVariableResponse, EncryptValueData, EncryptValueResponse, DeleteVariableData, DeleteVariableResponse, UpdateVariableData, UpdateVariableResponse, GetVariableData, GetVariableResponse, GetVariableValueData, GetVariableValueResponse, ExistsVariableData, ExistsVariableResponse, ListVariableData, ListVariableResponse, ListContextualVariablesData, ListContextualVariablesResponse, ConnectSlackCallbackData, ConnectSlackCallbackResponse, ConnectCallbackData, ConnectCallbackResponse, CreateAccountData, CreateAccountResponse, RefreshTokenData, RefreshTokenResponse, DisconnectAccountData, DisconnectAccountResponse, DisconnectSlackData, DisconnectSlackResponse, ListOauthLoginsResponse, ListOauthConnectsResponse, CreateResourceData, CreateResourceResponse, DeleteResourceData, DeleteResourceResponse, UpdateResourceData, UpdateResourceResponse, UpdateResourceValueData, UpdateResourceValueResponse, GetResourceData, GetResourceResponse, GetResourceValueInterpolatedData, GetResourceValueInterpolatedResponse, GetResourceValueData, GetResourceValueResponse, ExistsResourceData, ExistsResourceResponse, ListResourceData, ListResourceResponse, ListSearchResourceData, ListSearchResourceResponse, ListResourceNamesData, ListResourceNamesResponse, CreateResourceTypeData, CreateResourceTypeResponse, DeleteResourceTypeData, DeleteResourceTypeResponse, UpdateResourceTypeData, UpdateResourceTypeResponse, GetResourceTypeData, GetResourceTypeResponse, ExistsResourceTypeData, ExistsResourceTypeResponse, ListResourceTypeData, ListResourceTypeResponse, ListResourceTypeNamesData, ListResourceTypeNamesResponse, QueryResourceTypesData, QueryResourceTypesResponse, ListHubIntegrationsData, ListHubIntegrationsResponse, ListHubFlowsResponse, GetHubFlowByIdData, GetHubFlowByIdResponse, ListFlowPathsData, ListFlowPathsResponse, ListSearchFlowData, ListSearchFlowResponse, ListFlowsData, ListFlowsResponse, GetFlowByPathData, GetFlowByPathResponse, ToggleWorkspaceErrorHandlerForFlowData, ToggleWorkspaceErrorHandlerForFlowResponse, GetFlowByPathWithDraftData, GetFlowByPathWithDraftResponse, ExistsFlowByPathData, ExistsFlowByPathResponse, CreateFlowData, CreateFlowResponse, UpdateFlowData, UpdateFlowResponse, ArchiveFlowByPathData, ArchiveFlowByPathResponse, DeleteFlowByPathData, DeleteFlowByPathResponse, GetFlowInputHistoryByPathData, GetFlowInputHistoryByPathResponse, ListHubAppsResponse, GetHubAppByIdData, GetHubAppByIdResponse, ListSearchAppData, ListSearchAppResponse, ListAppsData, ListAppsResponse, CreateAppData, CreateAppResponse, ExistsAppData, ExistsAppResponse, GetAppByPathData, GetAppByPathResponse, GetAppByPathWithDraftData, GetAppByPathWithDraftResponse, GetAppHistoryByPathData, GetAppHistoryByPathResponse, UpdateAppHistoryData, UpdateAppHistoryResponse, GetPublicAppBySecretData, GetPublicAppBySecretResponse, GetPublicResourceData, GetPublicResourceResponse, GetPublicSecretOfAppData, GetPublicSecretOfAppResponse, GetAppByVersionData, GetAppByVersionResponse, DeleteAppData, DeleteAppResponse, UpdateAppData, UpdateAppResponse, ExecuteComponentData, ExecuteComponentResponse, GetHubScriptContentByPathData, GetHubScriptContentByPathResponse, GetHubScriptByPathData, GetHubScriptByPathResponse, GetTopHubScriptsData, GetTopHubScriptsResponse, QueryHubScriptsData, QueryHubScriptsResponse, ListSearchScriptData, ListSearchScriptResponse, ListScriptsData, ListScriptsResponse, ListScriptPathsData, ListScriptPathsResponse, CreateScriptData, CreateScriptResponse, ToggleWorkspaceErrorHandlerForScriptData, ToggleWorkspaceErrorHandlerForScriptResponse, ArchiveScriptByPathData, ArchiveScriptByPathResponse, ArchiveScriptByHashData, ArchiveScriptByHashResponse, DeleteScriptByHashData, DeleteScriptByHashResponse, DeleteScriptByPathData, DeleteScriptByPathResponse, GetScriptByPathData, GetScriptByPathResponse, GetScriptByPathWithDraftData, GetScriptByPathWithDraftResponse, GetScriptHistoryByPathData, GetScriptHistoryByPathResponse, UpdateScriptHistoryData, UpdateScriptHistoryResponse, RawScriptByPathData, RawScriptByPathResponse, RawScriptByPathTokenedData, RawScriptByPathTokenedResponse, ExistsScriptByPathData, ExistsScriptByPathResponse, GetScriptByHashData, GetScriptByHashResponse, RawScriptByHashData, RawScriptByHashResponse, GetScriptDeploymentStatusData, GetScriptDeploymentStatusResponse, CreateDraftData, CreateDraftResponse, DeleteDraftData, DeleteDraftResponse, GetCustomTagsResponse, GeDefaultTagsResponse, IsDefaultTagsPerWorkspaceResponse, ListWorkersData, ListWorkersResponse, ExistsWorkerWithTagData, ExistsWorkerWithTagResponse, GetQueueMetricsResponse, RunScriptByPathData, RunScriptByPathResponse, OpenaiSyncScriptByPathData, OpenaiSyncScriptByPathResponse, RunWaitResultScriptByPathData, RunWaitResultScriptByPathResponse, RunWaitResultScriptByPathGetData, RunWaitResultScriptByPathGetResponse, OpenaiSyncFlowByPathData, OpenaiSyncFlowByPathResponse, RunWaitResultFlowByPathData, RunWaitResultFlowByPathResponse, ResultByIdData, ResultByIdResponse, RunFlowByPathData, RunFlowByPathResponse, RestartFlowAtStepData, RestartFlowAtStepResponse, RunScriptByHashData, RunScriptByHashResponse, RunScriptPreviewData, RunScriptPreviewResponse, RunCodeWorkflowTaskData, RunCodeWorkflowTaskResponse, RunRawScriptDependenciesData, RunRawScriptDependenciesResponse, RunFlowPreviewData, RunFlowPreviewResponse, ListQueueData, ListQueueResponse, GetQueueCountData, GetQueueCountResponse, GetCompletedCountData, GetCompletedCountResponse, CancelAllData, CancelAllResponse, ListCompletedJobsData, ListCompletedJobsResponse, ListJobsData, ListJobsResponse, GetDbClockResponse, GetJobData, GetJobResponse, GetRootJobIdData, GetRootJobIdResponse, GetJobLogsData, GetJobLogsResponse, GetJobUpdatesData, GetJobUpdatesResponse, GetLogFileFromStoreData, GetLogFileFromStoreResponse, GetFlowDebugInfoData, GetFlowDebugInfoResponse, GetCompletedJobData, GetCompletedJobResponse, GetCompletedJobResultData, GetCompletedJobResultResponse, GetCompletedJobResultMaybeData, GetCompletedJobResultMaybeResponse, DeleteCompletedJobData, DeleteCompletedJobResponse, CancelQueuedJobData, CancelQueuedJobResponse, CancelPersistentQueuedJobsData, CancelPersistentQueuedJobsResponse, ForceCancelQueuedJobData, ForceCancelQueuedJobResponse, CreateJobSignatureData, CreateJobSignatureResponse, GetResumeUrlsData, GetResumeUrlsResponse, ResumeSuspendedJobGetData, ResumeSuspendedJobGetResponse, ResumeSuspendedJobPostData, ResumeSuspendedJobPostResponse, SetFlowUserStateData, SetFlowUserStateResponse, GetFlowUserStateData, GetFlowUserStateResponse, ResumeSuspendedFlowAsOwnerData, ResumeSuspendedFlowAsOwnerResponse, CancelSuspendedJobGetData, CancelSuspendedJobGetResponse, CancelSuspendedJobPostData, CancelSuspendedJobPostResponse, GetSuspendedJobFlowData, GetSuspendedJobFlowResponse, ListRawAppsData, ListRawAppsResponse, ExistsRawAppData, ExistsRawAppResponse, GetRawAppDataData, GetRawAppDataResponse, CreateRawAppData, CreateRawAppResponse, UpdateRawAppData, UpdateRawAppResponse, DeleteRawAppData, DeleteRawAppResponse, PreviewScheduleData, PreviewScheduleResponse, CreateScheduleData, CreateScheduleResponse, UpdateScheduleData, UpdateScheduleResponse, SetScheduleEnabledData, SetScheduleEnabledResponse, DeleteScheduleData, DeleteScheduleResponse, GetScheduleData, GetScheduleResponse, ExistsScheduleData, ExistsScheduleResponse, ListSchedulesData, ListSchedulesResponse, ListSchedulesWithJobsData, ListSchedulesWithJobsResponse, SetDefaultErrorOrRecoveryHandlerData, SetDefaultErrorOrRecoveryHandlerResponse, ListInstanceGroupsResponse, GetInstanceGroupData, GetInstanceGroupResponse, CreateInstanceGroupData, CreateInstanceGroupResponse, UpdateInstanceGroupData, UpdateInstanceGroupResponse, DeleteInstanceGroupData, DeleteInstanceGroupResponse, AddUserToInstanceGroupData, AddUserToInstanceGroupResponse, RemoveUserFromInstanceGroupData, RemoveUserFromInstanceGroupResponse, ListGroupsData, ListGroupsResponse, ListGroupNamesData, ListGroupNamesResponse, CreateGroupData, CreateGroupResponse, UpdateGroupData, UpdateGroupResponse, DeleteGroupData, DeleteGroupResponse, GetGroupData, GetGroupResponse, AddUserToGroupData, AddUserToGroupResponse, RemoveUserToGroupData, RemoveUserToGroupResponse, ListFoldersData, ListFoldersResponse, ListFolderNamesData, ListFolderNamesResponse, CreateFolderData, CreateFolderResponse, UpdateFolderData, UpdateFolderResponse, DeleteFolderData, DeleteFolderResponse, GetFolderData, GetFolderResponse, GetFolderUsageData, GetFolderUsageResponse, AddOwnerToFolderData, AddOwnerToFolderResponse, RemoveOwnerToFolderData, RemoveOwnerToFolderResponse, ListWorkerGroupsResponse, GetConfigData, GetConfigResponse, UpdateConfigData, UpdateConfigResponse, DeleteConfigData, DeleteConfigResponse, GetGranularAclsData, GetGranularAclsResponse, AddGranularAclsData, AddGranularAclsResponse, RemoveGranularAclsData, RemoveGranularAclsResponse, UpdateCaptureData, UpdateCaptureResponse, CreateCaptureData, CreateCaptureResponse, GetCaptureData, GetCaptureResponse, StarData, StarResponse, UnstarData, UnstarResponse, GetInputHistoryData, GetInputHistoryResponse, GetArgsFromHistoryOrSavedInputData, GetArgsFromHistoryOrSavedInputResponse, ListInputsData, ListInputsResponse, CreateInputData, CreateInputResponse, UpdateInputData, UpdateInputResponse, DeleteInputData, DeleteInputResponse, DuckdbConnectionSettingsData, DuckdbConnectionSettingsResponse, DuckdbConnectionSettingsV2Data, DuckdbConnectionSettingsV2Response, PolarsConnectionSettingsData, PolarsConnectionSettingsResponse, PolarsConnectionSettingsV2Data, PolarsConnectionSettingsV2Response, S3ResourceInfoData, S3ResourceInfoResponse, DatasetStorageTestConnectionData, DatasetStorageTestConnectionResponse, ListStoredFilesData, ListStoredFilesResponse, LoadFileMetadataData, LoadFileMetadataResponse, LoadFilePreviewData, LoadFilePreviewResponse, LoadParquetPreviewData, LoadParquetPreviewResponse, DeleteS3FileData, DeleteS3FileResponse, MoveS3FileData, MoveS3FileResponse, FileUploadData, FileUploadResponse, FileDownloadData, FileDownloadResponse, GetJobMetricsData, GetJobMetricsResponse, ListConcurrencyGroupsResponse, DeleteConcurrencyGroupData, DeleteConcurrencyGroupResponse, GetConcurrencyKeyData, GetConcurrencyKeyResponse, GetConcurrencyIntervalsData, GetConcurrencyIntervalsResponse } from './types.gen';
3
3
  export declare class SettingsService {
4
4
  /**
5
5
  * get backend version
@@ -3077,4 +3077,47 @@ export declare class ConcurrencyGroupsService {
3077
3077
  * @throws ApiError
3078
3078
  */
3079
3079
  static deleteConcurrencyGroup(data: DeleteConcurrencyGroupData): CancelablePromise<DeleteConcurrencyGroupResponse>;
3080
+ /**
3081
+ * Get the concurrency key for a job that has concurrency limits enabled
3082
+ * @param data The data for the request.
3083
+ * @param data.id
3084
+ * @returns string concurrency key for given job
3085
+ * @throws ApiError
3086
+ */
3087
+ static getConcurrencyKey(data: GetConcurrencyKeyData): CancelablePromise<GetConcurrencyKeyResponse>;
3088
+ /**
3089
+ * Get intervals of job runtime concurrency
3090
+ * @param data The data for the request.
3091
+ * @param data.workspace
3092
+ * @param data.concurrencyKey
3093
+ * @param data.rowLimit
3094
+ * @param data.createdBy mask to filter exact matching user creator
3095
+ * @param data.label mask to filter exact matching job's label (job labels are completed jobs with as a result an object containing a string in the array at key 'wm_labels')
3096
+ * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
3097
+ * @param data.scriptPathExact mask to filter exact matching path
3098
+ * @param data.scriptPathStart mask to filter matching starting path
3099
+ * @param data.schedulePath mask to filter by schedule path
3100
+ * @param data.scriptHash mask to filter exact matching path
3101
+ * @param data.startedBefore filter on started before (inclusive) timestamp
3102
+ * @param data.startedAfter filter on started after (exclusive) timestamp
3103
+ * @param data.createdOrStartedBefore filter on created_at for non non started job and started_at otherwise before (inclusive) timestamp
3104
+ * @param data.running filter on running jobs
3105
+ * @param data.scheduledForBeforeNow filter on jobs scheduled_for before now (hence waitinf for a worker)
3106
+ * @param data.createdOrStartedAfter filter on created_at for non non started job and started_at otherwise after (exclusive) timestamp
3107
+ * @param data.jobKinds filter on job kind (values 'preview', 'script', 'dependencies', 'flow') separated by,
3108
+ * @param data.args filter on jobs containing those args as a json subset (@> in postgres)
3109
+ * @param data.tag filter on jobs with a given tag/worker group
3110
+ * @param data.result filter on jobs containing those result as a json subset (@> in postgres)
3111
+ * @param data.page which page to return (start at 1, default 1)
3112
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
3113
+ * @param data.isSkipped is the job skipped
3114
+ * @param data.isFlowStep is the job a flow step
3115
+ * @param data.hasNullParent has null parent
3116
+ * @param data.success filter on successful jobs
3117
+ * @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace)
3118
+ * @param data.isNotSchedule is not a scheduled job
3119
+ * @returns ConcurrencyIntervals time
3120
+ * @throws ApiError
3121
+ */
3122
+ static getConcurrencyIntervals(data: GetConcurrencyIntervalsData): CancelablePromise<GetConcurrencyIntervalsResponse>;
3080
3123
  }
@@ -6221,11 +6221,99 @@ class ConcurrencyGroupsService {
6221
6221
  static deleteConcurrencyGroup(data) {
6222
6222
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
6223
6223
  method: 'DELETE',
6224
- url: '/concurrency_groups/{concurrency_id}',
6224
+ url: '/concurrency_groups/prune/{concurrency_id}',
6225
6225
  path: {
6226
6226
  concurrency_id: data.concurrencyId
6227
6227
  }
6228
6228
  });
6229
6229
  }
6230
+ /**
6231
+ * Get the concurrency key for a job that has concurrency limits enabled
6232
+ * @param data The data for the request.
6233
+ * @param data.id
6234
+ * @returns string concurrency key for given job
6235
+ * @throws ApiError
6236
+ */
6237
+ static getConcurrencyKey(data) {
6238
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
6239
+ method: 'GET',
6240
+ url: '/concurrency_groups/{id}/key',
6241
+ path: {
6242
+ id: data.id
6243
+ }
6244
+ });
6245
+ }
6246
+ /**
6247
+ * Get intervals of job runtime concurrency
6248
+ * @param data The data for the request.
6249
+ * @param data.workspace
6250
+ * @param data.concurrencyKey
6251
+ * @param data.rowLimit
6252
+ * @param data.createdBy mask to filter exact matching user creator
6253
+ * @param data.label mask to filter exact matching job's label (job labels are completed jobs with as a result an object containing a string in the array at key 'wm_labels')
6254
+ * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
6255
+ * @param data.scriptPathExact mask to filter exact matching path
6256
+ * @param data.scriptPathStart mask to filter matching starting path
6257
+ * @param data.schedulePath mask to filter by schedule path
6258
+ * @param data.scriptHash mask to filter exact matching path
6259
+ * @param data.startedBefore filter on started before (inclusive) timestamp
6260
+ * @param data.startedAfter filter on started after (exclusive) timestamp
6261
+ * @param data.createdOrStartedBefore filter on created_at for non non started job and started_at otherwise before (inclusive) timestamp
6262
+ * @param data.running filter on running jobs
6263
+ * @param data.scheduledForBeforeNow filter on jobs scheduled_for before now (hence waitinf for a worker)
6264
+ * @param data.createdOrStartedAfter filter on created_at for non non started job and started_at otherwise after (exclusive) timestamp
6265
+ * @param data.jobKinds filter on job kind (values 'preview', 'script', 'dependencies', 'flow') separated by,
6266
+ * @param data.args filter on jobs containing those args as a json subset (@> in postgres)
6267
+ * @param data.tag filter on jobs with a given tag/worker group
6268
+ * @param data.result filter on jobs containing those result as a json subset (@> in postgres)
6269
+ * @param data.page which page to return (start at 1, default 1)
6270
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
6271
+ * @param data.isSkipped is the job skipped
6272
+ * @param data.isFlowStep is the job a flow step
6273
+ * @param data.hasNullParent has null parent
6274
+ * @param data.success filter on successful jobs
6275
+ * @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace)
6276
+ * @param data.isNotSchedule is not a scheduled job
6277
+ * @returns ConcurrencyIntervals time
6278
+ * @throws ApiError
6279
+ */
6280
+ static getConcurrencyIntervals(data) {
6281
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
6282
+ method: 'GET',
6283
+ url: '/w/{workspace}/concurrency_groups/intervals',
6284
+ path: {
6285
+ workspace: data.workspace
6286
+ },
6287
+ query: {
6288
+ concurrency_key: data.concurrencyKey,
6289
+ row_limit: data.rowLimit,
6290
+ created_by: data.createdBy,
6291
+ label: data.label,
6292
+ parent_job: data.parentJob,
6293
+ script_path_exact: data.scriptPathExact,
6294
+ script_path_start: data.scriptPathStart,
6295
+ schedule_path: data.schedulePath,
6296
+ script_hash: data.scriptHash,
6297
+ started_before: data.startedBefore,
6298
+ started_after: data.startedAfter,
6299
+ created_or_started_before: data.createdOrStartedBefore,
6300
+ running: data.running,
6301
+ scheduled_for_before_now: data.scheduledForBeforeNow,
6302
+ created_or_started_after: data.createdOrStartedAfter,
6303
+ job_kinds: data.jobKinds,
6304
+ args: data.args,
6305
+ tag: data.tag,
6306
+ result: data.result,
6307
+ page: data.page,
6308
+ per_page: data.perPage,
6309
+ is_skipped: data.isSkipped,
6310
+ is_flow_step: data.isFlowStep,
6311
+ has_null_parent: data.hasNullParent,
6312
+ success: data.success,
6313
+ all_workspaces: data.allWorkspaces,
6314
+ is_not_schedule: data.isNotSchedule
6315
+ }
6316
+ });
6317
+ }
6230
6318
  }
6231
6319
  exports.ConcurrencyGroupsService = ConcurrencyGroupsService;
@@ -712,8 +712,22 @@ export type RawScriptForDependencies = {
712
712
  language: 'python3' | 'deno' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'graphql' | 'nativets' | 'bun' | 'php';
713
713
  };
714
714
  export type ConcurrencyGroup = {
715
- concurrency_id: string;
716
- job_uuids: Array<(string)>;
715
+ concurrency_key: string;
716
+ total_running: number;
717
+ };
718
+ export type ConcurrencyIntervals = {
719
+ concurrency_key: string;
720
+ running_jobs: Array<{
721
+ job_id?: string;
722
+ concurrency_key?: string;
723
+ started_at?: string;
724
+ }>;
725
+ completed_jobs: Array<{
726
+ job_id?: string;
727
+ concurrency_key?: string;
728
+ started_at?: string;
729
+ ended_at?: string;
730
+ }>;
717
731
  };
718
732
  export type OpenFlow = {
719
733
  summary: string;
@@ -795,7 +809,7 @@ export type RawScript = {
795
809
  [key: string]: InputTransform;
796
810
  };
797
811
  content: string;
798
- language: 'deno' | 'bun' | 'python3' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'graphql' | 'nativets';
812
+ language: 'deno' | 'bun' | 'python3' | 'go' | 'bash' | 'powershell' | 'postgresql' | 'mysql' | 'bigquery' | 'snowflake' | 'mssql' | 'graphql' | 'nativets' | 'php';
799
813
  path?: string;
800
814
  lock?: string;
801
815
  type: 'rawscript';
@@ -4202,6 +4216,116 @@ export type DeleteConcurrencyGroupData = {
4202
4216
  concurrencyId: string;
4203
4217
  };
4204
4218
  export type DeleteConcurrencyGroupResponse = unknown;
4219
+ export type GetConcurrencyKeyData = {
4220
+ id: string;
4221
+ };
4222
+ export type GetConcurrencyKeyResponse = string;
4223
+ export type GetConcurrencyIntervalsData = {
4224
+ /**
4225
+ * get jobs from all workspaces (only valid if request come from the `admins` workspace)
4226
+ */
4227
+ allWorkspaces?: boolean;
4228
+ /**
4229
+ * filter on jobs containing those args as a json subset (@> in postgres)
4230
+ */
4231
+ args?: string;
4232
+ concurrencyKey?: string;
4233
+ /**
4234
+ * mask to filter exact matching user creator
4235
+ */
4236
+ createdBy?: string;
4237
+ /**
4238
+ * filter on created_at for non non started job and started_at otherwise after (exclusive) timestamp
4239
+ */
4240
+ createdOrStartedAfter?: string;
4241
+ /**
4242
+ * filter on created_at for non non started job and started_at otherwise before (inclusive) timestamp
4243
+ */
4244
+ createdOrStartedBefore?: string;
4245
+ /**
4246
+ * has null parent
4247
+ */
4248
+ hasNullParent?: boolean;
4249
+ /**
4250
+ * is the job a flow step
4251
+ */
4252
+ isFlowStep?: boolean;
4253
+ /**
4254
+ * is not a scheduled job
4255
+ */
4256
+ isNotSchedule?: boolean;
4257
+ /**
4258
+ * is the job skipped
4259
+ */
4260
+ isSkipped?: boolean;
4261
+ /**
4262
+ * filter on job kind (values 'preview', 'script', 'dependencies', 'flow') separated by,
4263
+ */
4264
+ jobKinds?: string;
4265
+ /**
4266
+ * mask to filter exact matching job's label (job labels are completed jobs with as a result an object containing a string in the array at key 'wm_labels')
4267
+ */
4268
+ label?: string;
4269
+ /**
4270
+ * which page to return (start at 1, default 1)
4271
+ */
4272
+ page?: number;
4273
+ /**
4274
+ * The parent job that is at the origin and responsible for the execution of this script if any
4275
+ */
4276
+ parentJob?: string;
4277
+ /**
4278
+ * number of items to return for a given page (default 30, max 100)
4279
+ */
4280
+ perPage?: number;
4281
+ /**
4282
+ * filter on jobs containing those result as a json subset (@> in postgres)
4283
+ */
4284
+ result?: string;
4285
+ rowLimit?: number;
4286
+ /**
4287
+ * filter on running jobs
4288
+ */
4289
+ running?: boolean;
4290
+ /**
4291
+ * filter on jobs scheduled_for before now (hence waitinf for a worker)
4292
+ */
4293
+ scheduledForBeforeNow?: boolean;
4294
+ /**
4295
+ * mask to filter by schedule path
4296
+ */
4297
+ schedulePath?: string;
4298
+ /**
4299
+ * mask to filter exact matching path
4300
+ */
4301
+ scriptHash?: string;
4302
+ /**
4303
+ * mask to filter exact matching path
4304
+ */
4305
+ scriptPathExact?: string;
4306
+ /**
4307
+ * mask to filter matching starting path
4308
+ */
4309
+ scriptPathStart?: string;
4310
+ /**
4311
+ * filter on started after (exclusive) timestamp
4312
+ */
4313
+ startedAfter?: string;
4314
+ /**
4315
+ * filter on started before (inclusive) timestamp
4316
+ */
4317
+ startedBefore?: string;
4318
+ /**
4319
+ * filter on successful jobs
4320
+ */
4321
+ success?: boolean;
4322
+ /**
4323
+ * filter on jobs with a given tag/worker group
4324
+ */
4325
+ tag?: string;
4326
+ workspace: string;
4327
+ };
4328
+ export type GetConcurrencyIntervalsResponse = ConcurrencyIntervals;
4205
4329
  export type $OpenApiTs = {
4206
4330
  '/version': {
4207
4331
  get: {
@@ -10118,7 +10242,7 @@ export type $OpenApiTs = {
10118
10242
  };
10119
10243
  };
10120
10244
  };
10121
- '/concurrency_groups/{concurrency_id}': {
10245
+ '/concurrency_groups/prune/{concurrency_id}': {
10122
10246
  delete: {
10123
10247
  req: {
10124
10248
  concurrencyId: string;
@@ -10131,4 +10255,132 @@ export type $OpenApiTs = {
10131
10255
  };
10132
10256
  };
10133
10257
  };
10258
+ '/concurrency_groups/{id}/key': {
10259
+ get: {
10260
+ req: {
10261
+ id: string;
10262
+ };
10263
+ res: {
10264
+ /**
10265
+ * concurrency key for given job
10266
+ */
10267
+ 200: string;
10268
+ };
10269
+ };
10270
+ };
10271
+ '/w/{workspace}/concurrency_groups/intervals': {
10272
+ get: {
10273
+ req: {
10274
+ /**
10275
+ * get jobs from all workspaces (only valid if request come from the `admins` workspace)
10276
+ */
10277
+ allWorkspaces?: boolean;
10278
+ /**
10279
+ * filter on jobs containing those args as a json subset (@> in postgres)
10280
+ */
10281
+ args?: string;
10282
+ concurrencyKey?: string;
10283
+ /**
10284
+ * mask to filter exact matching user creator
10285
+ */
10286
+ createdBy?: string;
10287
+ /**
10288
+ * filter on created_at for non non started job and started_at otherwise after (exclusive) timestamp
10289
+ */
10290
+ createdOrStartedAfter?: string;
10291
+ /**
10292
+ * filter on created_at for non non started job and started_at otherwise before (inclusive) timestamp
10293
+ */
10294
+ createdOrStartedBefore?: string;
10295
+ /**
10296
+ * has null parent
10297
+ */
10298
+ hasNullParent?: boolean;
10299
+ /**
10300
+ * is the job a flow step
10301
+ */
10302
+ isFlowStep?: boolean;
10303
+ /**
10304
+ * is not a scheduled job
10305
+ */
10306
+ isNotSchedule?: boolean;
10307
+ /**
10308
+ * is the job skipped
10309
+ */
10310
+ isSkipped?: boolean;
10311
+ /**
10312
+ * filter on job kind (values 'preview', 'script', 'dependencies', 'flow') separated by,
10313
+ */
10314
+ jobKinds?: string;
10315
+ /**
10316
+ * mask to filter exact matching job's label (job labels are completed jobs with as a result an object containing a string in the array at key 'wm_labels')
10317
+ */
10318
+ label?: string;
10319
+ /**
10320
+ * which page to return (start at 1, default 1)
10321
+ */
10322
+ page?: number;
10323
+ /**
10324
+ * The parent job that is at the origin and responsible for the execution of this script if any
10325
+ */
10326
+ parentJob?: string;
10327
+ /**
10328
+ * number of items to return for a given page (default 30, max 100)
10329
+ */
10330
+ perPage?: number;
10331
+ /**
10332
+ * filter on jobs containing those result as a json subset (@> in postgres)
10333
+ */
10334
+ result?: string;
10335
+ rowLimit?: number;
10336
+ /**
10337
+ * filter on running jobs
10338
+ */
10339
+ running?: boolean;
10340
+ /**
10341
+ * filter on jobs scheduled_for before now (hence waitinf for a worker)
10342
+ */
10343
+ scheduledForBeforeNow?: boolean;
10344
+ /**
10345
+ * mask to filter by schedule path
10346
+ */
10347
+ schedulePath?: string;
10348
+ /**
10349
+ * mask to filter exact matching path
10350
+ */
10351
+ scriptHash?: string;
10352
+ /**
10353
+ * mask to filter exact matching path
10354
+ */
10355
+ scriptPathExact?: string;
10356
+ /**
10357
+ * mask to filter matching starting path
10358
+ */
10359
+ scriptPathStart?: string;
10360
+ /**
10361
+ * filter on started after (exclusive) timestamp
10362
+ */
10363
+ startedAfter?: string;
10364
+ /**
10365
+ * filter on started before (inclusive) timestamp
10366
+ */
10367
+ startedBefore?: string;
10368
+ /**
10369
+ * filter on successful jobs
10370
+ */
10371
+ success?: boolean;
10372
+ /**
10373
+ * filter on jobs with a given tag/worker group
10374
+ */
10375
+ tag?: string;
10376
+ workspace: string;
10377
+ };
10378
+ res: {
10379
+ /**
10380
+ * time
10381
+ */
10382
+ 200: ConcurrencyIntervals;
10383
+ };
10384
+ };
10385
+ };
10134
10386
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "windmill-client",
3
3
  "description": "Windmill SDK client for browsers and Node.js",
4
- "version": "1.330.0",
4
+ "version": "1.331.0",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "devDependencies": {