import type { CancelablePromise } from './core/CancelablePromise'; import type { BackendVersionResponse, BackendUptodateResponse, GetLicenseIdResponse, GetOpenApiYamlResponse, GetHealthStatusData, GetHealthStatusResponse, GetHealthDetailedResponse, SearchDocsData, SearchDocsResponse, ReadDocsPageData, ReadDocsPageResponse, GetAuditLogData, GetAuditLogResponse, ListAuditLogsData, ListAuditLogsResponse, ListTrashData, ListTrashResponse, GetTrashItemData, GetTrashItemResponse, RestoreTrashItemData, RestoreTrashItemResponse, PermanentlyDeleteTrashItemData, PermanentlyDeleteTrashItemResponse, EmptyTrashData, EmptyTrashResponse, LoginData, LoginResponse, LogoutResponse, IsSmtpConfiguredResponse, IsPasswordLoginDisabledResponse, RequestPasswordResetData, RequestPasswordResetResponse, ConsumeLoginLinkData, ResetPasswordData, ResetPasswordResponse, GetUserData, GetUserResponse, UpdateUserData, UpdateUserResponse, IsOwnerOfPathData, IsOwnerOfPathResponse, SetPasswordData, SetPasswordResponse, SetPasswordForUserData, SetPasswordForUserResponse, SetLoginTypeForUserData, SetLoginTypeForUserResponse, CreateUserGloballyData, CreateUserGloballyResponse, GlobalUserUpdateData, GlobalUserUpdateResponse, GlobalUsernameInfoData, GlobalUsernameInfoResponse, GlobalUserRenameData, GlobalUserRenameResponse, GlobalUserChangeEmailData, GlobalUserChangeEmailResponse, GlobalUserDeleteData, GlobalUserDeleteResponse, GlobalUsersOverwriteData, GlobalUsersOverwriteResponse, GlobalUsersExportResponse, ListExtJwtTokensData, ListExtJwtTokensResponse, ListGuestsData, ListGuestsResponse, SubmitOnboardingDataData, SubmitOnboardingDataResponse, DeleteUserData, DeleteUserResponse, OffboardPreviewData, OffboardPreviewResponse, OffboardWorkspaceUserData, OffboardWorkspaceUserResponse, GlobalOffboardPreviewData, GlobalOffboardPreviewResponse, OffboardGlobalUserData, OffboardGlobalUserResponse, ConvertUserToGroupData, ConvertUserToGroupResponse, GetCurrentEmailResponse, RefreshUserTokenData, RefreshUserTokenResponse, GetTutorialProgressResponse, UpdateTutorialProgressData, UpdateTutorialProgressResponse, LeaveInstanceResponse, GetUsageResponse, GetRunnableResponse, GlobalWhoamiResponse, ListWorkspaceInvitesResponse, WhoamiData, WhoamiResponse, AcceptInviteData, AcceptInviteResponse, DeclineInviteData, DeclineInviteResponse, ImpersonateServiceAccountData, ImpersonateServiceAccountResponse, ExitImpersonationData, ExitImpersonationResponse, WhoisData, WhoisResponse, ExistsEmailData, ExistsEmailResponse, ListUsersAsSuperAdminData, ListUsersAsSuperAdminResponse, ListUsersData, ListUsersResponse, ListAddableInstanceUsersData, ListAddableInstanceUsersResponse, ListUsersUsageData, ListUsersUsageResponse, ListUsernamesData, ListUsernamesResponse, UsernameToEmailData, UsernameToEmailResponse, CreateTokenData, CreateTokenResponse, CreateTokenImpersonateData, CreateTokenImpersonateResponse, CreateLoginLinkData, CreateLoginLinkResponse, SetCloudTrialOfferData, SetCloudTrialOfferResponse, GetCloudTrialOfferResponse, GoCloudTrialOfferResponse, SetOnboardingProfileData, SetOnboardingProfileResponse, GetOnboardingProfileResponse, DeleteTokenData, DeleteTokenResponse, UpdateTokenScopesData, UpdateTokenScopesResponse, UpdateTokenLabelData, UpdateTokenLabelResponse, ListTokensData, ListTokensResponse, LoginWithOauthData, LoginWithOauthResponse, GetGlobalConnectedRepositoriesData, GetGlobalConnectedRepositoriesResponse, InstallFromWorkspaceData, InstallFromWorkspaceResponse, DeleteFromWorkspaceData, DeleteFromWorkspaceResponse, ExportInstallationData, ExportInstallationResponse, ImportInstallationData, ImportInstallationResponse, ListGitlabProjectsData, ListGitlabProjectsResponse, GetCredentialOriginData, GetCredentialOriginResponse, SetGitCredentialData, SetGitCredentialResponse, GhesInstallationCallbackData, GhesInstallationCallbackResponse, GetGhesConfigResponse, DiscoverGhesInstallationsResponse, AssignGhesInstallationData, AssignGhesInstallationResponse, UnassignGhesInstallationData, UnassignGhesInstallationResponse, ListWorkspacesResponse, IsDomainAllowedResponse, ListUserWorkspacesResponse, GetSessionWorkspaceStatusData, GetSessionWorkspaceStatusResponse, GetSessionWorkspaceRetentionData, GetSessionWorkspaceRetentionResponse, GetWorkspaceAsSuperAdminData, GetWorkspaceAsSuperAdminResponse, ListWorkspacesAsSuperAdminData, ListWorkspacesAsSuperAdminResponse, CreateWorkspaceData, CreateWorkspaceResponse, CreateWorkspaceForkGitBranchData, CreateWorkspaceForkGitBranchResponse, CreateWorkspaceForkData, CreateWorkspaceForkResponse, AttachDevWorkspaceData, AttachDevWorkspaceResponse, DetachDevWorkspaceData, DetachDevWorkspaceResponse, GetDevWorkspaceData, GetDevWorkspaceResponse, ExistsWorkspaceData, ExistsWorkspaceResponse, ExistsUsernameData, ExistsUsernameResponse, GetGithubAppTokenData, GetGithubAppTokenResponse, GetGithubAppRepoArchiveData, GetGithubAppRepoArchiveResponse, InviteUserData, InviteUserResponse, AddUserData, AddUserResponse, CreateServiceAccountData, CreateServiceAccountResponse, DeleteInviteData, DeleteInviteResponse, ArchiveWorkspaceData, ArchiveWorkspaceResponse, UnarchiveWorkspaceData, UnarchiveWorkspaceResponse, DeleteWorkspaceData, DeleteWorkspaceResponse, LeaveWorkspaceData, LeaveWorkspaceResponse, GetWorkspaceNameData, GetWorkspaceNameResponse, ChangeWorkspaceNameData, ChangeWorkspaceNameResponse, ChangeWorkspaceIdData, ChangeWorkspaceIdResponse, ChangeWorkspaceColorData, ChangeWorkspaceColorResponse, UpdateOperatorSettingsData, UpdateOperatorSettingsResponse, CompareWorkspacesData, CompareWorkspacesResponse, SeedFullDiffScanData, SeedFullDiffScanResponse, ResetDiffTallyData, ResetDiffTallyResponse, ListPendingInvitesData, ListPendingInvitesResponse, GetPublicSettingsData, GetPublicSettingsResponse, GetSettingsData, GetSettingsResponse, GetDeployToData, GetDeployToResponse, GetRemoteDeployTargetData, GetRemoteDeployTargetResponse, SetRemoteDeployTargetData, SetRemoteDeployTargetResponse, ConnectRemoteDeployData, ConnectRemoteDeployResponse, DisconnectRemoteDeployData, DisconnectRemoteDeployResponse, GetIsPremiumData, GetIsPremiumResponse, GetBillableSeatsData, GetBillableSeatsResponse, GetPremiumInfoData, GetPremiumInfoResponse, GetThresholdAlertData, GetThresholdAlertResponse, SetThresholdAlertData, SetThresholdAlertResponse, RebuildDependencyMapData, RebuildDependencyMapResponse, GetDependentsData, GetDependentsResponse, GetImportsData, GetImportsResponse, GetDependentsAmountsData, GetDependentsAmountsResponse, GetDependencyMapData, GetDependencyMapResponse, EditSlackCommandData, EditSlackCommandResponse, GetWorkspaceSlackOauthConfigData, GetWorkspaceSlackOauthConfigResponse, SetWorkspaceSlackOauthConfigData, SetWorkspaceSlackOauthConfigResponse, DeleteWorkspaceSlackOauthConfigData, DeleteWorkspaceSlackOauthConfigResponse, EditTeamsCommandData, EditTeamsCommandResponse, ListAvailableTeamsIdsData, ListAvailableTeamsIdsResponse, ListAvailableTeamsChannelsData, ListAvailableTeamsChannelsResponse, ConnectTeamsData, ConnectTeamsResponse, ConnectSlackData, ConnectSlackResponse, RunSlackMessageTestJobData, RunSlackMessageTestJobResponse, RunTeamsMessageTestJobData, RunTeamsMessageTestJobResponse, EditAutoInviteData, EditAutoInviteResponse, EditInstanceGroupsData, EditInstanceGroupsResponse, EditWebhookData, EditWebhookResponse, EditCopilotConfigData, EditCopilotConfigResponse, GetCopilotSettingsStateData, GetCopilotSettingsStateResponse, GetCopilotInfoData, GetCopilotInfoResponse, EditErrorHandlerData, EditErrorHandlerResponse, EditSuccessHandlerData, EditSuccessHandlerResponse, EditLargeFileStorageConfigData, EditLargeFileStorageConfigResponse, EditDbtWarehousesData, EditDbtWarehousesResponse, ListDucklakesData, ListDucklakesResponse, ListDataTablesData, ListDataTablesResponse, GetDatatablePermissionsData, GetDatatablePermissionsResponse, SetDatatablePermissionsData, SetDatatablePermissionsResponse, GetDatatableAclData, GetDatatableAclResponse, PlanDatatableAclData, PlanDatatableAclResponse, ApplyDatatableAclData, ApplyDatatableAclResponse, ListUsableDatatableRolesData, ListUsableDatatableRolesResponse, ListDataTableSchemasData, ListDataTableSchemasResponse, TestDataTableConnectionData, TestDataTableConnectionResponse, ListDataTableTablesData, ListDataTableTablesResponse, GetDataTableTableSchemaData, GetDataTableTableSchemaResponse, EditDucklakeConfigData, EditDucklakeConfigResponse, EditDataTableConfigData, EditDataTableConfigResponse, RunDatatableMigrationsData, RunDatatableMigrationsResponse, RollbackDatatableMigrationsData, RollbackDatatableMigrationsResponse, ListDatatableMigrationsData, ListDatatableMigrationsResponse, GetDatatableMigrationsStatusData, GetDatatableMigrationsStatusResponse, EnableDatatableMigrationsData, EnableDatatableMigrationsResponse, DisableDatatableMigrationsData, DisableDatatableMigrationsResponse, CreateDatatableMigrationData, CreateDatatableMigrationResponse, DeleteDatatableMigrationData, DeleteDatatableMigrationResponse, UpsertDatatableMigrationData, UpsertDatatableMigrationResponse, GenerateInitialDatatableMigrationData, GenerateInitialDatatableMigrationResponse, CreatePgDatabaseData, CreatePgDatabaseResponse, DropForkedDatatableDatabasesData, DropForkedDatatableDatabasesResponse, DropForkedDucklakeNamespacesData, DropForkedDucklakeNamespacesResponse, ImportPgDatabaseData, ImportPgDatabaseResponse, ExportPgSchemaData, ExportPgSchemaResponse, GetDatatableFullSchemaData, GetDatatableFullSchemaResponse, GetGitSyncEnabledData, GetGitSyncEnabledResponse, GetGitSyncDeployModeData, GetGitSyncDeployModeResponse, EditWorkspaceGitSyncConfigData, EditWorkspaceGitSyncConfigResponse, EditGitSyncRepositoryData, EditGitSyncRepositoryResponse, DeleteGitSyncRepositoryData, DeleteGitSyncRepositoryResponse, EditWorkspaceDeployUiSettingsData, EditWorkspaceDeployUiSettingsResponse, EditWorkspaceDefaultAppData, EditWorkspaceDefaultAppResponse, EditGuestAccessData, EditGuestAccessResponse, EditAddAdminsAndDevelopersToForksData, EditAddAdminsAndDevelopersToForksResponse, EditGuestJwtKeyData, EditGuestJwtKeyResponse, GetGuestUsageData, GetGuestUsageResponse, EditDefaultScriptsData, EditDefaultScriptsResponse, GetDefaultScriptsData, GetDefaultScriptsResponse, SetEnvironmentVariableData, SetEnvironmentVariableResponse, GetWorkspaceEncryptionKeyData, GetWorkspaceEncryptionKeyResponse, SetWorkspaceEncryptionKeyData, SetWorkspaceEncryptionKeyResponse, GetWorkspaceDefaultAppData, GetWorkspaceDefaultAppResponse, GetWorkspaceUsageData, GetWorkspaceUsageResponse, GetUsedTriggersData, GetUsedTriggersResponse, ListProtectionRulesData, ListProtectionRulesResponse, CreateProtectionRuleData, CreateProtectionRuleResponse, UpdateProtectionRuleData, UpdateProtectionRuleResponse, DeleteProtectionRuleData, DeleteProtectionRuleResponse, ListDeploymentRequestEligibleDeployersData, ListDeploymentRequestEligibleDeployersResponse, GetOpenDeploymentRequestData, GetOpenDeploymentRequestResponse, CreateDeploymentRequestData, CreateDeploymentRequestResponse, CancelDeploymentRequestData, CancelDeploymentRequestResponse, CloseDeploymentRequestMergedData, CloseDeploymentRequestMergedResponse, CreateDeploymentRequestCommentData, CreateDeploymentRequestCommentResponse, LogFeatureUsageData, LogFeatureUsageResponse, GetCloudQuotasData, GetCloudQuotasResponse, PruneVersionsData, PruneVersionsResponse, ListWsSpecificData, ListWsSpecificResponse, ListWsSpecificVersionsData, ListWsSpecificVersionsResponse, SetWsSpecificData, SetWsSpecificResponse, GetSharedUiData, GetSharedUiResponse, ListSharedUiData, ListSharedUiResponse, GetSharedUiVersionData, GetSharedUiVersionResponse, UpdateSharedUiData, UpdateSharedUiResponse, RefreshCustomInstanceUserPwdResponse, ListCustomInstanceDbsResponse, ListInstanceDatatableRolesResponse, CreateInstanceDatatableRoleData, CreateInstanceDatatableRoleResponse, UpdateInstanceDatatableRoleData, UpdateInstanceDatatableRoleResponse, DeleteInstanceDatatableRoleData, DeleteInstanceDatatableRoleResponse, SetupCustomInstanceDbData, SetupCustomInstanceDbResponse, DropCustomInstanceDbData, DropCustomInstanceDbResponse, GetGlobalData, GetGlobalResponse, SetGlobalData, SetGlobalResponse, GetInstanceUiResponse, GetRuffConfigResponse, GetLocalResponse, TestSmtpData, TestSmtpResponse, TestCriticalChannelsData, TestCriticalChannelsResponse, GetCriticalAlertsData, GetCriticalAlertsResponse, AcknowledgeCriticalAlertData, AcknowledgeCriticalAlertResponse, AcknowledgeAllCriticalAlertsResponse, TestLicenseKeyData, TestLicenseKeyResponse, TestObjectStorageConfigData, TestObjectStorageConfigResponse, GetObjectStorageUsageResponse, ComputeObjectStorageUsageResponse, RunLogCleanupResponse, GetLogCleanupStatusResponse, GetAuditLogsS3StatusResponse, RunAuditLogsS3BackfillData, RunAuditLogsS3BackfillResponse, GetAuditLogsS3BackfillStatusResponse, SendStatsResponse, RestartWorkerGroupData, RestartWorkerGroupResponse, GetStatsResponse, GetLatestKeyRenewalAttemptResponse, RenewLicenseKeyData, RenewLicenseKeyResponse, GetOfflineLicenseStatusResponse, GetInstanceHashResponse, CreateCustomerPortalSessionData, CreateCustomerPortalSessionResponse, TestMetadataData, TestMetadataResponse, ListGlobalSettingsResponse, GithubAppStaleWebhooksResponse, GetInstanceConfigResponse, SetInstanceConfigData, SetInstanceConfigResponse, GetMinKeepAliveVersionResponse, GetJwksResponse, TestSecretBackendData, TestSecretBackendResponse, MigrateSecretsToVaultData, MigrateSecretsToVaultResponse, MigrateSecretsToDatabaseData, MigrateSecretsToDatabaseResponse, TestAzureKvBackendData, TestAzureKvBackendResponse, MigrateSecretsToAzureKvData, MigrateSecretsToAzureKvResponse, MigrateSecretsFromAzureKvData, MigrateSecretsFromAzureKvResponse, TestAwsSmBackendData, TestAwsSmBackendResponse, MigrateSecretsToAwsSmData, MigrateSecretsToAwsSmResponse, MigrateSecretsFromAwsSmData, MigrateSecretsFromAwsSmResponse, GetSecondaryStorageNamesData, GetSecondaryStorageNamesResponse, WorkspaceGetCriticalAlertsData, WorkspaceGetCriticalAlertsResponse, WorkspaceAcknowledgeCriticalAlertData, WorkspaceAcknowledgeCriticalAlertResponse, WorkspaceAcknowledgeAllCriticalAlertsData, WorkspaceAcknowledgeAllCriticalAlertsResponse, WorkspaceMuteCriticalAlertsUiData, WorkspaceMuteCriticalAlertsUiResponse, SetPublicAppRateLimitData, SetPublicAppRateLimitResponse, RecordDbtRunProgressData, RecordDbtRunProgressResponse, GetDbtWarehouseData, GetDbtWarehouseResponse, DbtWarehouseExistsData, DbtWarehouseExistsResponse, ListDataMetricsData, ListDataMetricsResponse, ListAvailableScopesResponse, GetOidcTokenData, GetOidcTokenResponse, CreateVariableData, CreateVariableResponse, EncryptValueData, EncryptValueResponse, DeleteVariableData, DeleteVariableResponse, DeleteVariablesBulkData, DeleteVariablesBulkResponse, UpdateVariableData, UpdateVariableResponse, GetVariableData, GetVariableResponse, GetVariableValueData, GetVariableValueResponse, ExistsVariableData, ExistsVariableResponse, ListVariableData, ListVariableResponse, ListContextualVariablesData, ListContextualVariablesResponse, ConnectSlackCallbackData, ConnectSlackCallbackResponse, ConnectSlackCallbackInstanceData, ConnectSlackCallbackInstanceResponse, ConnectSlackInstanceData, ConnectSlackInstanceResponse, ConnectCallbackData, ConnectCallbackResponse, CreateAccountData, CreateAccountResponse, ConnectClientCredentialsData, ConnectClientCredentialsResponse, RefreshTokenData, RefreshTokenResponse, DisconnectAccountData, DisconnectAccountResponse, DisconnectSlackData, DisconnectSlackResponse, DisconnectTeamsData, DisconnectTeamsResponse, ListOauthLoginsResponse, ListOauthConnectsResponse, GetOauthConnectData, GetOauthConnectResponse, SendMessageToConversationData, SendMessageToConversationResponse, CreateResourceData, CreateResourceResponse, DeleteResourceData, DeleteResourceResponse, DeleteResourcesBulkData, DeleteResourcesBulkResponse, UpdateResourceData, UpdateResourceResponse, UpdateResourceValueData, UpdateResourceValueResponse, GetResourceHistoryData, GetResourceHistoryResponse, ClearResourceHistoryData, ClearResourceHistoryResponse, GetResourceVersionData, GetResourceVersionResponse, RestoreResourceVersionData, RestoreResourceVersionResponse, GetResourceData, GetResourceResponse, GetResourceValueInterpolatedData, GetResourceValueInterpolatedResponse, GetResourceValueData, GetResourceValueResponse, GetGitCommitHashData, GetGitCommitHashResponse, ExistsResourceData, ExistsResourceResponse, ListResourceData, ListResourceResponse, ListSearchResourceData, ListSearchResourceResponse, GetMcpToolsData, GetMcpToolsResponse, CallMcpToolData, CallMcpToolResponse, ListResourceNamesData, ListResourceNamesResponse, CreateResourceTypeData, CreateResourceTypeResponse, FileResourceTypeToFileExtMapData, FileResourceTypeToFileExtMapResponse, DeleteResourceTypeData, DeleteResourceTypeResponse, UpdateResourceTypeData, UpdateResourceTypeResponse, GetResourceTypeData, GetResourceTypeResponse, ExistsResourceTypeData, ExistsResourceTypeResponse, ListResourceTypeData, ListResourceTypeResponse, ListResourceTypeNamesData, ListResourceTypeNamesResponse, ListResourceCountsByTypeData, ListResourceCountsByTypeResponse, ListHubResourceTypeInfoData, ListHubResourceTypeInfoResponse, PickHubResourceTypeData, PickHubResourceTypeResponse, QueryResourceTypesData, QueryResourceTypesResponse, GetNpmProxyConfigData, GetNpmProxyConfigResponse, GetNpmPackageMetadataData, GetNpmPackageMetadataResponse, ResolveNpmPackageVersionData, ResolveNpmPackageVersionResponse, GetNpmPackageFiletreeData, GetNpmPackageFiletreeResponse, GetNpmPackageFileData, GetNpmPackageFileResponse, GetNpmPackageTarballData, GetNpmPackageTarballResponse, ListHubIntegrationsData, ListHubIntegrationsResponse, ListHubFlowsResponse, GetHubFlowByIdData, GetHubFlowByIdResponse, ListFlowPathsData, ListFlowPathsResponse, ListSearchFlowData, ListSearchFlowResponse, ListFlowsData, ListFlowsResponse, GetFlowHistoryData, GetFlowHistoryResponse, GetFlowLatestVersionData, GetFlowLatestVersionResponse, ListFlowPathsFromWorkspaceRunnableData, ListFlowPathsFromWorkspaceRunnableResponse, ListFlowPathsLinkingAgentData, ListFlowPathsLinkingAgentResponse, GetFlowVersionData, GetFlowVersionResponse, UpdateFlowHistoryData, UpdateFlowHistoryResponse, GetFlowByPathData, GetFlowByPathResponse, GetFlowDeploymentStatusData, GetFlowDeploymentStatusResponse, GetTriggersCountOfFlowData, GetTriggersCountOfFlowResponse, ListTokensOfFlowData, ListTokensOfFlowResponse, ToggleWorkspaceErrorHandlerForFlowData, ToggleWorkspaceErrorHandlerForFlowResponse, ExistsFlowByPathData, ExistsFlowByPathResponse, CreateFlowData, CreateFlowResponse, UpdateFlowData, UpdateFlowResponse, ArchiveFlowByPathData, ArchiveFlowByPathResponse, DeleteFlowByPathData, DeleteFlowByPathResponse, ListHubAppsResponse, GetHubAppByIdData, GetHubAppByIdResponse, GetHubRawAppByIdData, GetHubRawAppByIdResponse, GetGuestEntryByCustomPathData, GetGuestEntryByCustomPathResponse, GetPublicAppByCustomPathData, GetPublicAppByCustomPathResponse, GetAppEmbedTokenByCustomPathData, GetAppEmbedTokenByCustomPathResponse, GetRawAppDataData, GetRawAppDataResponse, ListSearchAppData, ListSearchAppResponse, ListAppsData, ListAppsResponse, CreateAppData, CreateAppResponse, CreateAppRawData, CreateAppRawResponse, ExistsAppData, ExistsAppResponse, GetAppByPathData, GetAppByPathResponse, MintPreviewSdkTokenData, MintPreviewSdkTokenResponse, GetAppEmbedTokenByPathData, GetAppEmbedTokenByPathResponse, GetAppLiteByPathData, GetAppLiteByPathResponse, GetAppHistoryByPathData, GetAppHistoryByPathResponse, GetAppLatestVersionData, GetAppLatestVersionResponse, ListAppPathsFromWorkspaceRunnableData, ListAppPathsFromWorkspaceRunnableResponse, UpdateAppHistoryData, UpdateAppHistoryResponse, GetGuestEntryData, GetGuestEntryResponse, GetPublicAppBySecretData, GetPublicAppBySecretResponse, GetAppEmbedTokenBySecretData, GetAppEmbedTokenBySecretResponse, GetPublicResourceData, GetPublicResourceResponse, GetPublicSecretOfAppData, GetPublicSecretOfAppResponse, GetPublicSecretOfLatestVersionOfAppData, GetPublicSecretOfLatestVersionOfAppResponse, GetAppByVersionData, GetAppByVersionResponse, DeleteAppData, DeleteAppResponse, UpdateAppData, UpdateAppResponse, CreateAppRawSourceData, CreateAppRawSourceResponse, UpdateAppRawSourceData, UpdateAppRawSourceResponse, UpdateAppRawData, UpdateAppRawResponse, CustomPathExistsData, CustomPathExistsResponse, SignS3ObjectsData, SignS3ObjectsResponse, ExecuteComponentData, ExecuteComponentResponse, UploadS3FileFromAppData, UploadS3FileFromAppResponse, DeleteS3FileFromAppData, DeleteS3FileFromAppResponse, AppLoadFileMetadataData, AppLoadFileMetadataResponse, AppLoadFilePreviewData, AppLoadFilePreviewResponse, AppLoadParquetPreviewData, AppLoadParquetPreviewResponse, AppLoadCsvPreviewData, AppLoadCsvPreviewResponse, AppLoadTableCountData, AppLoadTableCountResponse, AppDownloadS3ParquetFileAsCsvData, AppDownloadS3ParquetFileAsCsvResponse, GetHubScriptContentByPathData, GetHubScriptContentByPathResponse, GetHubScriptByPathData, GetHubScriptByPathResponse, PickHubScriptByPathData, PickHubScriptByPathResponse, GetTopHubScriptsData, GetTopHubScriptsResponse, QueryHubScriptsData, QueryHubScriptsResponse, ListSearchScriptData, ListSearchScriptResponse, ListScriptsData, ListScriptsResponse, ListScriptPathsData, ListScriptPathsResponse, CreateScriptData, CreateScriptResponse, UpdateScriptData, UpdateScriptResponse, ToggleWorkspaceErrorHandlerForScriptData, ToggleWorkspaceErrorHandlerForScriptResponse, ArchiveScriptByPathData, ArchiveScriptByPathResponse, ArchiveScriptByHashData, ArchiveScriptByHashResponse, DeleteScriptByHashData, DeleteScriptByHashResponse, DeleteScriptByPathData, DeleteScriptByPathResponse, DeleteScriptsBulkData, DeleteScriptsBulkResponse, GetScriptByPathData, GetScriptByPathResponse, GetTriggersCountOfScriptData, GetTriggersCountOfScriptResponse, ListTokensOfScriptData, ListTokensOfScriptResponse, GetScriptHistoryByPathData, GetScriptHistoryByPathResponse, ListScriptPathsFromWorkspaceRunnableData, ListScriptPathsFromWorkspaceRunnableResponse, GetScriptLatestVersionData, GetScriptLatestVersionResponse, UpdateScriptHistoryData, UpdateScriptHistoryResponse, ListDedicatedWithDepsData, ListDedicatedWithDepsResponse, RawScriptByPathData, RawScriptByPathResponse, RawScriptByPathTokenedData, RawScriptByPathTokenedResponse, ExistsScriptByPathData, ExistsScriptByPathResponse, GetScriptByHashData, GetScriptByHashResponse, RawScriptByHashData, RawScriptByHashResponse, GetScriptDeploymentStatusData, GetScriptDeploymentStatusResponse, GetCiTestResultsData, GetCiTestResultsResponse, GetCiTestResultsBatchData, GetCiTestResultsBatchResponse, CheckSchemaContractsData, CheckSchemaContractsResponse, StoreRawScriptTempData, StoreRawScriptTempResponse, DiffRawScriptsWithDeployedData, DiffRawScriptsWithDeployedResponse, ListRunnablesData, ListRunnablesResponse, CountRunnablesByOwnerData, CountRunnablesByOwnerResponse, ListDraftsData, ListDraftsResponse, GetDraftForUserData, GetDraftForUserResponse, GetOwnDraftData, GetOwnDraftResponse, UpdateDraftData, UpdateDraftResponse, MoveDraftData, MoveDraftResponse, MigrateLegacyDraftData, MigrateLegacyDraftResponse, GetCustomTagsData, GetCustomTagsResponse, GetCustomTagsForWorkspaceData, GetCustomTagsForWorkspaceResponse, GeDefaultTagsResponse, IsDefaultTagsPerWorkspaceResponse, ListWorkersData, ListWorkersResponse, ExistsWorkersWithTagsData, ExistsWorkersWithTagsResponse, GetQueueMetricsResponse, GetQueueMetricsSeriesData, GetQueueMetricsSeriesResponse, GetQueueStatusResponse, GetCountsOfJobsWaitingPerTagResponse, GetCountsOfRunningJobsPerTagResponse, GetWorkspaceFairnessEventsResponse, CreateWorkspaceDependenciesData, CreateWorkspaceDependenciesResponse, ArchiveWorkspaceDependenciesData, ArchiveWorkspaceDependenciesResponse, DeleteWorkspaceDependenciesData, DeleteWorkspaceDependenciesResponse, ListWorkspaceDependenciesData, ListWorkspaceDependenciesResponse, GetLatestWorkspaceDependenciesData, GetLatestWorkspaceDependenciesResponse, ListSelectedJobGroupsData, ListSelectedJobGroupsResponse, RunScriptByPathData, RunScriptByPathResponse, RunWaitResultScriptByPathData, RunWaitResultScriptByPathResponse, RunWaitResultScriptByPathGetData, RunWaitResultScriptByPathGetResponse, RunWaitResultFlowByPathData, RunWaitResultFlowByPathResponse, RunWaitResultFlowByVersionData, RunWaitResultFlowByVersionResponse, RunWaitResultFlowByVersionGetData, RunWaitResultFlowByVersionGetResponse, RunAndStreamFlowByPathData, RunAndStreamFlowByPathResponse, RunAndStreamFlowByPathGetData, RunAndStreamFlowByPathGetResponse, RunAndStreamFlowByVersionData, RunAndStreamFlowByVersionResponse, RunAndStreamFlowByVersionGetData, RunAndStreamFlowByVersionGetResponse, RunAndStreamScriptByPathData, RunAndStreamScriptByPathResponse, RunAndStreamScriptByPathGetData, RunAndStreamScriptByPathGetResponse, RunAndStreamScriptByHashData, RunAndStreamScriptByHashResponse, RunAndStreamScriptByHashGetData, RunAndStreamScriptByHashGetResponse, ResultByIdData, ResultByIdResponse, GetJobViewTokenData, GetJobViewTokenResponse, GetJobPublicViewTokenData, GetJobPublicViewTokenResponse, RunFlowByPathData, RunFlowByPathResponse, RunFlowByVersionData, RunFlowByVersionResponse, BatchReRunJobsData, BatchReRunJobsResponse, RestartFlowAtStepData, RestartFlowAtStepResponse, RunScriptByHashData, RunScriptByHashResponse, RunScriptPreviewData, RunScriptPreviewResponse, RunScriptPreviewInlineData, RunScriptPreviewInlineResponse, RunScriptByPathInlineData, RunScriptByPathInlineResponse, RunScriptByHashInlineData, RunScriptByHashInlineResponse, RunScriptPreviewAndWaitResultData, RunScriptPreviewAndWaitResultResponse, RunCodeWorkflowTaskData, RunCodeWorkflowTaskResponse, RunRawScriptDependenciesData, RunRawScriptDependenciesResponse, RunRawScriptDependenciesAsyncData, RunRawScriptDependenciesAsyncResponse, RunFlowDependenciesAsyncData, RunFlowDependenciesAsyncResponse, RunFlowPreviewData, RunFlowPreviewResponse, RunFlowPreviewAndWaitResultData, RunFlowPreviewAndWaitResultResponse, RunDynamicSelectData, RunDynamicSelectResponse, ListQueueData, ListQueueResponse, GetQueueCountData, GetQueueCountResponse, GetCompletedCountData, GetCompletedCountResponse, CountCompletedJobsData, CountCompletedJobsResponse, ListFilteredJobsUuidsData, ListFilteredJobsUuidsResponse, ListFilteredQueueUuidsData, ListFilteredQueueUuidsResponse, RunQueuedJobNowData, RunQueuedJobNowResponse, CancelSelectionData, CancelSelectionResponse, GetJobOtelTracesData, GetJobOtelTracesResponse, ListCompletedJobsData, ListCompletedJobsResponse, ExportCompletedJobsData, ExportCompletedJobsResponse, ImportCompletedJobsData, ImportCompletedJobsResponse, ExportQueuedJobsData, ExportQueuedJobsResponse, ImportQueuedJobsData, ImportQueuedJobsResponse, DeleteJobsData, DeleteJobsResponse, ListJobsData, ListJobsResponse, GetDbClockResponse, CountJobsByTagData, CountJobsByTagResponse, GetJobData, GetJobResponse, GetRootJobIdData, GetRootJobIdResponse, GetJobLogsData, GetJobLogsResponse, GetFlowAllLogsData, GetFlowAllLogsResponse, GetFlowAllLogsStructuredData, GetFlowAllLogsStructuredResponse, GetFlowAllResultsData, GetFlowAllResultsResponse, GetCompletedJobLogsTailData, GetCompletedJobLogsTailResponse, GetJobArgsData, GetJobArgsResponse, GetStartedAtByIdsData, GetStartedAtByIdsResponse, GetJobUpdatesData, GetJobUpdatesResponse, GetJobUpdatesSseData, GetJobUpdatesSseResponse, GetLogFileFromStoreData, GetLogFileFromStoreResponse, GetFlowDebugInfoData, GetFlowDebugInfoResponse, GetCompletedJobData, GetCompletedJobResponse, GetCompletedJobResultData, GetCompletedJobResultResponse, GetCompletedJobResultMaybeData, GetCompletedJobResultMaybeResponse, GetCompletedJobTimingData, GetCompletedJobTimingResponse, ListDispatchEventsData, ListDispatchEventsResponse, ListAssetDispatchEdgesData, ListAssetDispatchEdgesResponse, DeleteCompletedJobData, DeleteCompletedJobResponse, ResolveCompletedJobsData, ResolveCompletedJobsResponse, UnresolveCompletedJobsData, UnresolveCompletedJobsResponse, CancelQueuedJobData, CancelQueuedJobResponse, CancelPersistentQueuedJobsData, CancelPersistentQueuedJobsResponse, ForceCancelQueuedJobData, ForceCancelQueuedJobResponse, GetQueuePositionData, GetQueuePositionResponse, GetScheduledForData, GetScheduledForResponse, CreateJobSignatureData, CreateJobSignatureResponse, GetResumeUrlsData, GetResumeUrlsResponse, GetWacApprovalUrlsData, GetWacApprovalUrlsResponse, GetSlackApprovalPayloadData, GetSlackApprovalPayloadResponse, GetTeamsApprovalPayloadData, GetTeamsApprovalPayloadResponse, ResumeSuspendedData, ResumeSuspendedResponse, GetApprovalInfoData, GetApprovalInfoResponse, ResumeSuspendedJobGetData, ResumeSuspendedJobGetResponse, ResumeSuspendedJobPostData, ResumeSuspendedJobPostResponse, SetFlowUserStateData, SetFlowUserStateResponse, GetFlowUserStateData, GetFlowUserStateResponse, ResumeSuspendedFlowAsOwnerData, ResumeSuspendedFlowAsOwnerResponse, CancelSuspendedJobGetData, CancelSuspendedJobGetResponse, CancelSuspendedJobPostData, CancelSuspendedJobPostResponse, GetSuspendedJobFlowData, GetSuspendedJobFlowResponse, ListExtendedJobsData, ListExtendedJobsResponse, GetDbtResumableData, GetDbtResumableResponse, GetDbtResumableForScriptData, GetDbtResumableForScriptResponse, GetDbtRunGraphData, GetDbtRunGraphResponse, GetDbtRunColumnLineageData, GetDbtRunColumnLineageResponse, GetRunProgressData, GetRunProgressResponse, ListRunAssetsData, ListRunAssetsResponse, ListFlowConversationsData, ListFlowConversationsResponse, UpdateFlowConversationData, UpdateFlowConversationResponse, DeleteFlowConversationData, DeleteFlowConversationResponse, ListConversationMessagesData, ListConversationMessagesResponse, ListEvalDatasetsData, ListEvalDatasetsResponse, CreateEvalDatasetData, CreateEvalDatasetResponse, GetEvalDatasetData, GetEvalDatasetResponse, UpdateEvalDatasetData, UpdateEvalDatasetResponse, DeleteEvalDatasetData, DeleteEvalDatasetResponse, ListEvalCasesData, ListEvalCasesResponse, EvalSubjectStateData, EvalSubjectStateResponse, EvalRunPayloadData, EvalRunPayloadResponse, ScorerDefaultsData, ScorerDefaultsResponse, RecentScorersData, RecentScorersResponse, RunExperimentData, RunExperimentResponse, CollectExperimentData, CollectExperimentResponse, ListAllExperimentsData, ListAllExperimentsResponse, ExperimentResultsData, ExperimentResultsResponse, ListPathAutocompletePathsData, ListPathAutocompletePathsResponse, ListRawAppsData, ListRawAppsResponse, RecordAiUsageData, RecordAiUsageResponse, ListAiUsageData, ListAiUsageResponse, ListAiSessionBackupsData, ListAiSessionBackupsResponse, PullAiSessionBackupsData, PullAiSessionBackupsResponse, PushAiSessionBackupsData, PushAiSessionBackupsResponse, ShareAiArtifactData, ShareAiArtifactResponse, GetAiArtifactShareStatusData, GetAiArtifactShareStatusResponse, GetSharedAiArtifactData, GetSharedAiArtifactResponse, UnshareAiArtifactData, UnshareAiArtifactResponse, ResumeSuspendedTriggerJobsData, ResumeSuspendedTriggerJobsResponse, CancelSuspendedTriggerJobsData, CancelSuspendedTriggerJobsResponse, ListTriggerHistoryData, ListTriggerHistoryResponse, PreviewScheduleData, PreviewScheduleResponse, CreateScheduleData, CreateScheduleResponse, UpdateScheduleData, UpdateScheduleResponse, SetScheduleEnabledData, SetScheduleEnabledResponse, DeleteScheduleData, DeleteScheduleResponse, GetScheduleData, GetScheduleResponse, ExistsScheduleData, ExistsScheduleResponse, ListSchedulesData, ListSchedulesResponse, ListSchedulesWithJobsData, ListSchedulesWithJobsResponse, SetDefaultErrorOrRecoveryHandlerData, SetDefaultErrorOrRecoveryHandlerResponse, GenerateOpenapiSpecData, GenerateOpenapiSpecResponse, DownloadOpenapiSpecData, DownloadOpenapiSpecResponse, CreateHttpTriggersData, CreateHttpTriggersResponse, CreateHttpTriggerData, CreateHttpTriggerResponse, UpdateHttpTriggerData, UpdateHttpTriggerResponse, DeleteHttpTriggerData, DeleteHttpTriggerResponse, GetHttpTriggerData, GetHttpTriggerResponse, ListHttpTriggersData, ListHttpTriggersResponse, ExistsHttpTriggerData, ExistsHttpTriggerResponse, ExistsRouteData, ExistsRouteResponse, SetHttpTriggerModeData, SetHttpTriggerModeResponse, CreateWebsocketTriggerData, CreateWebsocketTriggerResponse, UpdateWebsocketTriggerData, UpdateWebsocketTriggerResponse, DeleteWebsocketTriggerData, DeleteWebsocketTriggerResponse, GetWebsocketTriggerData, GetWebsocketTriggerResponse, ListWebsocketTriggersData, ListWebsocketTriggersResponse, ExistsWebsocketTriggerData, ExistsWebsocketTriggerResponse, SetWebsocketTriggerModeData, SetWebsocketTriggerModeResponse, TestWebsocketConnectionData, TestWebsocketConnectionResponse, CreateKafkaTriggerData, CreateKafkaTriggerResponse, UpdateKafkaTriggerData, UpdateKafkaTriggerResponse, DeleteKafkaTriggerData, DeleteKafkaTriggerResponse, GetKafkaTriggerData, GetKafkaTriggerResponse, ListKafkaTriggersData, ListKafkaTriggersResponse, ExistsKafkaTriggerData, ExistsKafkaTriggerResponse, SetKafkaTriggerModeData, SetKafkaTriggerModeResponse, TestKafkaConnectionData, TestKafkaConnectionResponse, ResetKafkaOffsetsData, ResetKafkaOffsetsResponse, CommitKafkaOffsetsData, CommitKafkaOffsetsResponse, CreateNatsTriggerData, CreateNatsTriggerResponse, UpdateNatsTriggerData, UpdateNatsTriggerResponse, DeleteNatsTriggerData, DeleteNatsTriggerResponse, GetNatsTriggerData, GetNatsTriggerResponse, ListNatsTriggersData, ListNatsTriggersResponse, ExistsNatsTriggerData, ExistsNatsTriggerResponse, SetNatsTriggerModeData, SetNatsTriggerModeResponse, TestNatsConnectionData, TestNatsConnectionResponse, CreateSqsTriggerData, CreateSqsTriggerResponse, UpdateSqsTriggerData, UpdateSqsTriggerResponse, DeleteSqsTriggerData, DeleteSqsTriggerResponse, GetSqsTriggerData, GetSqsTriggerResponse, ListSqsTriggersData, ListSqsTriggersResponse, ExistsSqsTriggerData, ExistsSqsTriggerResponse, SetSqsTriggerModeData, SetSqsTriggerModeResponse, TestSqsConnectionData, TestSqsConnectionResponse, ListNativeTriggerServicesData, ListNativeTriggerServicesResponse, CheckIfNativeTriggersServiceExistsData, CheckIfNativeTriggersServiceExistsResponse, CreateNativeTriggerServiceData, CreateNativeTriggerServiceResponse, GenerateNativeTriggerServiceConnectUrlData, GenerateNativeTriggerServiceConnectUrlResponse, CheckInstanceSharingAvailableData, CheckInstanceSharingAvailableResponse, GenerateInstanceConnectUrlData, GenerateInstanceConnectUrlResponse, DeleteNativeTriggerServiceData, DeleteNativeTriggerServiceResponse, NativeTriggerServiceCallbackData, NativeTriggerServiceCallbackResponse, CreateNativeTriggerData, CreateNativeTriggerResponse, UpdateNativeTriggerData, UpdateNativeTriggerResponse, GetNativeTriggerData, GetNativeTriggerResponse, DeleteNativeTriggerData, DeleteNativeTriggerResponse, SetNativeTriggerEnabledData, SetNativeTriggerEnabledResponse, ListNativeTriggersData, ListNativeTriggersResponse, ExistsNativeTriggerData, ExistsNativeTriggerResponse, SyncNativeTriggersData, SyncNativeTriggersResponse, ListNextCloudEventsData, ListNextCloudEventsResponse, ListGoogleCalendarsData, ListGoogleCalendarsResponse, ListGoogleDriveFilesData, ListGoogleDriveFilesResponse, ListGoogleSharedDrivesData, ListGoogleSharedDrivesResponse, ListGithubReposData, ListGithubReposResponse, NativeTriggerWebhookData, NativeTriggerWebhookResponse, CreateMqttTriggerData, CreateMqttTriggerResponse, UpdateMqttTriggerData, UpdateMqttTriggerResponse, DeleteMqttTriggerData, DeleteMqttTriggerResponse, GetMqttTriggerData, GetMqttTriggerResponse, ListMqttTriggersData, ListMqttTriggersResponse, ExistsMqttTriggerData, ExistsMqttTriggerResponse, SetMqttTriggerModeData, SetMqttTriggerModeResponse, TestMqttConnectionData, TestMqttConnectionResponse, CreateAmqpTriggerData, CreateAmqpTriggerResponse, UpdateAmqpTriggerData, UpdateAmqpTriggerResponse, DeleteAmqpTriggerData, DeleteAmqpTriggerResponse, GetAmqpTriggerData, GetAmqpTriggerResponse, ListAmqpTriggersData, ListAmqpTriggersResponse, ExistsAmqpTriggerData, ExistsAmqpTriggerResponse, SetAmqpTriggerModeData, SetAmqpTriggerModeResponse, TestAmqpConnectionData, TestAmqpConnectionResponse, CreateGcpTriggerData, CreateGcpTriggerResponse, UpdateGcpTriggerData, UpdateGcpTriggerResponse, DeleteGcpTriggerData, DeleteGcpTriggerResponse, GetGcpTriggerData, GetGcpTriggerResponse, ListGcpTriggersData, ListGcpTriggersResponse, ExistsGcpTriggerData, ExistsGcpTriggerResponse, SetGcpTriggerModeData, SetGcpTriggerModeResponse, TestGcpConnectionData, TestGcpConnectionResponse, DeleteGcpSubscriptionData, DeleteGcpSubscriptionResponse, DeleteGcpSubscriptionWithDefaultCredentialsData, DeleteGcpSubscriptionWithDefaultCredentialsResponse, ListGoogleTopicsData, ListGoogleTopicsResponse, ListGoogleTopicsWithDefaultCredentialsData, ListGoogleTopicsWithDefaultCredentialsResponse, ListAllTgoogleTopicSubscriptionsData, ListAllTgoogleTopicSubscriptionsResponse, ListAllTgoogleTopicSubscriptionsWithDefaultCredentialsData, ListAllTgoogleTopicSubscriptionsWithDefaultCredentialsResponse, CreateAzureTriggerData, CreateAzureTriggerResponse, UpdateAzureTriggerData, UpdateAzureTriggerResponse, DeleteAzureTriggerData, DeleteAzureTriggerResponse, GetAzureTriggerData, GetAzureTriggerResponse, ListAzureTriggersData, ListAzureTriggersResponse, ExistsAzureTriggerData, ExistsAzureTriggerResponse, SetAzureTriggerModeData, SetAzureTriggerModeResponse, TestAzureConnectionData, TestAzureConnectionResponse, ListAzureNamespaceTopicsData, ListAzureNamespaceTopicsResponse, ListAzureNamespaceSubscriptionsData, ListAzureNamespaceSubscriptionsResponse, DeleteAzureSubscriptionData, DeleteAzureSubscriptionResponse, ListAzureNamespacesData, ListAzureNamespacesResponse, ListAzureBasicTopicsData, ListAzureBasicTopicsResponse, GetPostgresVersionData, GetPostgresVersionResponse, IsValidPostgresConfigurationData, IsValidPostgresConfigurationResponse, CreateTemplateScriptData, CreateTemplateScriptResponse, GetTemplateScriptData, GetTemplateScriptResponse, ListPostgresReplicationSlotData, ListPostgresReplicationSlotResponse, CreatePostgresReplicationSlotData, CreatePostgresReplicationSlotResponse, DeletePostgresReplicationSlotData, DeletePostgresReplicationSlotResponse, ListPostgresPublicationData, ListPostgresPublicationResponse, GetPostgresPublicationData, GetPostgresPublicationResponse, CreatePostgresPublicationData, CreatePostgresPublicationResponse, UpdatePostgresPublicationData, UpdatePostgresPublicationResponse, DeletePostgresPublicationData, DeletePostgresPublicationResponse, CreatePostgresTriggerData, CreatePostgresTriggerResponse, UpdatePostgresTriggerData, UpdatePostgresTriggerResponse, DeletePostgresTriggerData, DeletePostgresTriggerResponse, GetPostgresTriggerData, GetPostgresTriggerResponse, ListPostgresTriggersData, ListPostgresTriggersResponse, ExistsPostgresTriggerData, ExistsPostgresTriggerResponse, SetPostgresTriggerModeData, SetPostgresTriggerModeResponse, TestPostgresConnectionData, TestPostgresConnectionResponse, CreateEmailTriggerData, CreateEmailTriggerResponse, UpdateEmailTriggerData, UpdateEmailTriggerResponse, DeleteEmailTriggerData, DeleteEmailTriggerResponse, GetEmailTriggerData, GetEmailTriggerResponse, ListEmailTriggersData, ListEmailTriggersResponse, ExistsEmailTriggerData, ExistsEmailTriggerResponse, ExistsEmailLocalPartData, ExistsEmailLocalPartResponse, SetEmailTriggerModeData, SetEmailTriggerModeResponse, ListInstanceGroupsResponse, ListInstanceGroupsWithWorkspacesResponse, GetInstanceGroupData, GetInstanceGroupResponse, CreateInstanceGroupData, CreateInstanceGroupResponse, UpdateInstanceGroupData, UpdateInstanceGroupResponse, DeleteInstanceGroupData, DeleteInstanceGroupResponse, AddUserToInstanceGroupData, AddUserToInstanceGroupResponse, RemoveUserFromInstanceGroupData, RemoveUserFromInstanceGroupResponse, ExportInstanceGroupsResponse, OverwriteInstanceGroupsData, OverwriteInstanceGroupsResponse, ListGroupsData, ListGroupsResponse, ListGroupNamesData, ListGroupNamesResponse, CreateGroupData, CreateGroupResponse, UpdateGroupData, UpdateGroupResponse, DeleteGroupData, DeleteGroupResponse, GetGroupData, GetGroupResponse, AddUserToGroupData, AddUserToGroupResponse, RemoveUserToGroupData, RemoveUserToGroupResponse, GetGroupPermissionHistoryData, GetGroupPermissionHistoryResponse, ListFoldersData, ListFoldersResponse, ListFolderNamesData, ListFolderNamesResponse, CreateFolderData, CreateFolderResponse, UpdateFolderData, UpdateFolderResponse, DeleteFolderData, DeleteFolderResponse, GetFolderData, GetFolderResponse, ExistsFolderData, ExistsFolderResponse, GetFolderUsageData, GetFolderUsageResponse, AddOwnerToFolderData, AddOwnerToFolderResponse, RemoveOwnerToFolderData, RemoveOwnerToFolderResponse, GetFolderPermissionHistoryData, GetFolderPermissionHistoryResponse, ListWorkerGroupsResponse, GetConfigData, GetConfigResponse, UpdateConfigData, UpdateConfigResponse, DeleteConfigData, DeleteConfigResponse, ListConfigsResponse, ListAutoscalingEventsData, ListAutoscalingEventsResponse, NativeKubernetesAutoscalingHealthcheckResponse, ListAvailablePythonVersionsResponse, ListAllWorkspaceDependenciesResponse, ListAllDedicatedWithDepsResponse, CreateAgentTokenData, CreateAgentTokenResponse, BlacklistAgentTokenData, BlacklistAgentTokenResponse, RemoveBlacklistAgentTokenData, RemoveBlacklistAgentTokenResponse, ListBlacklistedAgentTokensData, ListBlacklistedAgentTokensResponse, GetMinVersionResponse, GetGranularAclsData, GetGranularAclsResponse, AddGranularAclsData, AddGranularAclsResponse, RemoveGranularAclsData, RemoveGranularAclsResponse, SetCaptureConfigData, SetCaptureConfigResponse, PingCaptureConfigData, PingCaptureConfigResponse, GetCaptureConfigsData, GetCaptureConfigsResponse, ListCapturesData, ListCapturesResponse, MoveCapturesAndConfigsData, MoveCapturesAndConfigsResponse, GetCaptureData, GetCaptureResponse, DeleteCaptureData, DeleteCaptureResponse, 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, GetStorageUsageData, GetStorageUsageResponse, ListStoredFilesData, ListStoredFilesResponse, ListStoredFilesPagedData, ListStoredFilesPagedResponse, LoadFileMetadataData, LoadFileMetadataResponse, LoadFilePreviewData, LoadFilePreviewResponse, ListGitRepoFilesData, ListGitRepoFilesResponse, LoadGitRepoFilePreviewData, LoadGitRepoFilePreviewResponse, LoadGitRepoFileMetadataData, LoadGitRepoFileMetadataResponse, CheckS3FolderExistsData, CheckS3FolderExistsResponse, LoadParquetPreviewData, LoadParquetPreviewResponse, LoadTableRowCountData, LoadTableRowCountResponse, LoadCsvPreviewData, LoadCsvPreviewResponse, DeleteS3FileData, DeleteS3FileResponse, MoveS3FileData, MoveS3FileResponse, FileUploadData, FileUploadResponse, GitRepoViewerFileUploadData, GitRepoViewerFileUploadResponse, FileDownloadData, FileDownloadResponse, FileDownloadParquetAsCsvData, FileDownloadParquetAsCsvResponse, GetJobMetricsData, GetJobMetricsResponse, SetJobProgressData, SetJobProgressResponse, GetJobProgressData, GetJobProgressResponse, ListLogFilesData, ListLogFilesResponse, GetLogFileData, GetLogFileResponse, ListConcurrencyGroupsResponse, DeleteConcurrencyGroupData, DeleteConcurrencyGroupResponse, GetConcurrencyKeyData, GetConcurrencyKeyResponse, SearchJobsIndexData, SearchJobsIndexResponse, SearchLogsIndexData, SearchLogsIndexResponse, CountSearchLogsIndexData, CountSearchLogsIndexResponse, GetIndexDiskStorageSizesResponse, ClearIndexData, ClearIndexResponse, GetIndexStorageSizesResponse, GetIndexerStatusResponse, ListAssetsData, ListAssetsResponse, ListAssetsByUsageData, ListAssetsByUsageResponse, ListFavoriteAssetsData, ListFavoriteAssetsResponse, GetAssetsGraphData, GetAssetsGraphResponse, GetDbtColumnLineageData, GetDbtColumnLineageResponse, ListWorkspaceMacrosData, ListWorkspaceMacrosResponse, ListPipelineFoldersData, ListPipelineFoldersResponse, ListAssetPartitionsData, ListAssetPartitionsResponse, ListAssetPartitionsInRangeData, ListAssetPartitionsInRangeResponse, ListAssetSchemasData, ListAssetSchemasResponse, ListVolumesData, ListVolumesResponse, GetVolumeStorageData, GetVolumeStorageResponse, CreateVolumeData, CreateVolumeResponse, DeleteVolumeData, DeleteVolumeResponse, ListMcpToolsData, ListMcpToolsResponse, DiscoverMcpOauthData, DiscoverMcpOauthResponse, StartMcpOauthPopupData, McpOauthCallbackData, McpOauthCallbackResponse, PublishHubDraftData, PublishHubDraftResponse, PublishHubScriptData, PublishHubScriptResponse, PublishHubFlowData, PublishHubFlowResponse, PublishHubAppData, PublishHubAppResponse, PublishHubRawAppData, PublishHubRawAppResponse, PublishHubRawAppRecordingData, PublishHubRawAppRecordingResponse, PublishHubScriptRecordingData, PublishHubScriptRecordingResponse, PublishHubFlowRecordingData, PublishHubFlowRecordingResponse, PublishHubPipelineRecordingData, PublishHubPipelineRecordingResponse, PublishHubResourceTypeData, PublishHubResourceTypeResponse, PublishHubResourcesData, PublishHubResourcesResponse, PublishHubTriggersData, PublishHubTriggersResponse, PublishHubMigrationsData, PublishHubMigrationsResponse, GetHubProjectExportData, GetHubProjectExportResponse, PublishHubProjectLogoData, PublishHubProjectLogoResponse, SubmitHubProjectData, SubmitHubProjectResponse, WithdrawHubProjectData, WithdrawHubProjectResponse, DiscardHubProjectUpdateData, DiscardHubProjectUpdateResponse, ListHubProjectsData, ListHubProjectsResponse, GetHubProjectBySourceData, GetHubProjectBySourceResponse } from './types.gen'; export declare class SettingsService { /** * get backend version * @returns string git version of backend * @throws ApiError */ static backendVersion(): CancelablePromise; /** * is backend up to date * @returns string is backend up to date * @throws ApiError */ static backendUptodate(): CancelablePromise; /** * get license id * @returns string get license id (empty if not ee) * @throws ApiError */ static getLicenseId(): CancelablePromise; /** * get openapi yaml spec * @returns string openapi yaml file content * @throws ApiError */ static getOpenApiYaml(): CancelablePromise; } export declare class HealthService { /** * health status * Health status endpoint. Returns cached health status (database connectivity, worker count). * Cache TTL is fixed at 5 seconds. Use force=true query parameter to bypass cache. * Note: This endpoint is intentionally different from Kubernetes probes to avoid confusion. * For k8s liveness/readiness probes, use /version endpoint. * * @param data The data for the request. * @param data.force Force a fresh check, bypassing the cache * @returns HealthStatusResponse server is healthy or degraded * @throws ApiError */ static getHealthStatus(data?: GetHealthStatusData): CancelablePromise; /** * detailed health status * Returns detailed health information including database pool stats, worker details, and queue status. * Requires authentication. Use for monitoring dashboards and debugging. * This endpoint always returns fresh data (no caching). * * @returns DetailedHealthResponse server is healthy or degraded * @throws ApiError */ static getHealthDetailed(): CancelablePromise; } export declare class DocumentationService { /** * Full-text search across the entire Windmill documentation. Provide one or more keywords; returns the most relevant docs pages, each with its Source URL and short matching snippets. Use this FIRST to find relevant pages by their content (a flag, function, error message, config key or concept). If the snippets answer the question, answer directly; otherwise call readDocsPage with a returned Source URL to read more. * @param data The data for the request. * @param data.query Keywords to search for in the documentation body, e.g. "chromium worker tag" or "retry exponential backoff". Fewer, more distinctive words match better. * @returns unknown matching documentation pages * @throws ApiError */ static searchDocs(data: SearchDocsData): CancelablePromise; /** * Fetch the markdown of a single Windmill documentation page. Provide the `url` of a page found via searchDocs (its Source URL). If the page is large, this returns its list of section headings instead of the full content; call again with the `section` argument set to one of those headings to read that section. * @param data The data for the request. * @param data.url The docs page to read, as a Source URL returned by searchDocs (e.g. https://www.windmill.dev/docs/core_concepts/jobs). A bare path (e.g. /docs/core_concepts/jobs) is also accepted. * @param data.section Optional. A heading title from the page outline to read just that section instead of the full page. * @returns unknown documentation page content * @throws ApiError */ static readDocsPage(data: ReadDocsPageData): CancelablePromise; } export declare class AuditService { /** * get audit log (requires admin privilege) * @param data The data for the request. * @param data.workspace * @param data.id * @returns AuditLog an audit log * @throws ApiError */ static getAuditLog(data: GetAuditLogData): CancelablePromise; /** * list audit logs (requires admin privilege) * @param data The data for the request. * @param data.workspace * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.before filter on started before (inclusive) timestamp * @param data.after filter on created after (exclusive) timestamp * @param data.username filter on exact username of user * @param data.operation filter on exact or prefix name of operation * @param data.operations comma separated list of exact operations to include * @param data.excludeOperations comma separated list of operations to exclude * @param data.resource filter on exact or prefix name of resource * @param data.actionKind filter on type of operation * @param data.beforeId only return logs with an id strictly lower than this one. Logs are ordered by descending id, so this is a keyset cursor to stream a page in several batches without paying a growing offset. * * @param data.allWorkspaces get audit logs for all workspaces * @returns AuditLog a list of audit logs * @throws ApiError */ static listAuditLogs(data: ListAuditLogsData): CancelablePromise; } export declare class TrashService { /** * list the workspace trashbin (requires admin privilege) * @param data The data for the request. * @param data.workspace * @param data.itemKind only return items of this kind: script, flow, app, schedule, variable, resource, or a trigger kind such as http_trigger * * @param data.page which page to return (starts at 0, default 0) * @param data.perPage number of items to return for a given page (default 100, max 1000) * @returns TrashItem the trashed items, most recently deleted first * @throws ApiError */ static listTrash(data: ListTrashData): CancelablePromise; /** * get a trashed item with the data it was deleted with (requires admin privilege) * @param data The data for the request. * @param data.workspace * @param data.id * @returns TrashItemWithData the trashed item * @throws ApiError */ static getTrashItem(data: GetTrashItemData): CancelablePromise; /** * restore a trashed item to its path (requires admin privilege) * @param data The data for the request. * @param data.workspace * @param data.id * @returns string item restored * @throws ApiError */ static restoreTrashItem(data: RestoreTrashItemData): CancelablePromise; /** * permanently delete a trashed item (requires admin privilege) * @param data The data for the request. * @param data.workspace * @param data.id * @returns string item permanently deleted * @throws ApiError */ static permanentlyDeleteTrashItem(data: PermanentlyDeleteTrashItemData): CancelablePromise; /** * permanently delete every item in the workspace trashbin (requires admin privilege) * @param data The data for the request. * @param data.workspace * @returns string trashbin emptied * @throws ApiError */ static emptyTrash(data: EmptyTrashData): CancelablePromise; } export declare class UserService { /** * login with password * @param data The data for the request. * @param data.requestBody credentials * @returns string Successfully authenticated. The session ID is returned in a cookie named `token` and as plaintext response. Preferred method of authorization is through the bearer token. The cookie is only for browser convenience. * * @throws ApiError */ static login(data: LoginData): CancelablePromise; /** * logout * @returns string clear cookies and clear token (if applicable) * @throws ApiError */ static logout(): CancelablePromise; /** * check if SMTP is configured for password reset * @returns boolean returns true if SMTP is configured * @throws ApiError */ static isSmtpConfigured(): CancelablePromise; /** * check if password login is disabled instance-wide * @returns boolean returns true if password login is disabled * @throws ApiError */ static isPasswordLoginDisabled(): CancelablePromise; /** * request password reset email * @param data The data for the request. * @param data.requestBody email to send password reset link to * @returns PasswordResetResponse password reset email sent (if user exists) * @throws ApiError */ static requestPasswordReset(data: RequestPasswordResetData): CancelablePromise; /** * consume a single-use login link, set the session cookie and redirect * @param data The data for the request. * @param data.token * @param data.rd * @throws ApiError */ static consumeLoginLink(data: ConsumeLoginLinkData): CancelablePromise; /** * reset password using token * @param data The data for the request. * @param data.requestBody token and new password * @returns PasswordResetResponse password reset successfully * @throws ApiError */ static resetPassword(data: ResetPasswordData): CancelablePromise; /** * get user (require admin privilege) * @param data The data for the request. * @param data.workspace * @param data.username * @returns User user created * @throws ApiError */ static getUser(data: GetUserData): CancelablePromise; /** * update user (require admin privilege) * @param data The data for the request. * @param data.workspace * @param data.username * @param data.requestBody new user * @returns string edited user * @throws ApiError */ static updateUser(data: UpdateUserData): CancelablePromise; /** * is owner of path * @param data The data for the request. * @param data.workspace * @param data.path * @returns boolean is owner * @throws ApiError */ static isOwnerOfPath(data: IsOwnerOfPathData): CancelablePromise; /** * set password * @param data The data for the request. * @param data.requestBody set password * @returns string password set * @throws ApiError */ static setPassword(data: SetPasswordData): CancelablePromise; /** * set password for a specific user (require super admin) * @param data The data for the request. * @param data.user * @param data.requestBody set password * @returns string password set * @throws ApiError */ static setPasswordForUser(data: SetPasswordForUserData): CancelablePromise; /** * set login type for a specific user (require super admin) * @param data The data for the request. * @param data.user * @param data.requestBody set login type * @returns string login type set * @throws ApiError */ static setLoginTypeForUser(data: SetLoginTypeForUserData): CancelablePromise; /** * create user * @param data The data for the request. * @param data.requestBody user info * @returns string user created * @throws ApiError */ static createUserGlobally(data: CreateUserGloballyData): CancelablePromise; /** * global update user (require super admin) * @param data The data for the request. * @param data.email * @param data.requestBody new user info * @returns string user updated * @throws ApiError */ static globalUserUpdate(data: GlobalUserUpdateData): CancelablePromise; /** * global username info (require super admin) * @param data The data for the request. * @param data.email * @returns unknown user renamed * @throws ApiError */ static globalUsernameInfo(data: GlobalUsernameInfoData): CancelablePromise; /** * global rename user (require super admin) * @param data The data for the request. * @param data.email * @param data.requestBody new username * @returns string user renamed * @throws ApiError */ static globalUserRename(data: GlobalUserRenameData): CancelablePromise; /** * global change user email (require super admin) * @param data The data for the request. * @param data.email * @param data.requestBody new email * @returns string user email changed * @throws ApiError */ static globalUserChangeEmail(data: GlobalUserChangeEmailData): CancelablePromise; /** * global delete user (require super admin) * @param data The data for the request. * @param data.email * @returns string user deleted * @throws ApiError */ static globalUserDelete(data: GlobalUserDeleteData): CancelablePromise; /** * global overwrite users (require super admin and EE) * @param data The data for the request. * @param data.requestBody List of users * @returns string Success message * @throws ApiError */ static globalUsersOverwrite(data: GlobalUsersOverwriteData): CancelablePromise; /** * global export users (require super admin and EE) * @returns ExportedUser exported users * @throws ApiError */ static globalUsersExport(): CancelablePromise; /** * list external JWT tokens (ee only) * @param data The data for the request. * @param data.page * @param data.perPage * @param data.activeOnly only tokens used in the last 30 days * @returns ExternalJwtToken list of external JWT tokens * @throws ApiError */ static listExtJwtTokens(data?: ListExtJwtTokensData): CancelablePromise; /** * list the distinct guests of the trailing window (superadmin only) * The set the guest allowance is counted on: every distinct email that held a guest session in the last `window_days`, with the workspaces it opened and the days it was first and last seen, most recently seen first. `usage` is the instance's standing against the allowance and the meter. * @param data The data for the request. * @param data.page * @param data.perPage * @returns GuestList the guests of the window and the allowance they count against * @throws ApiError */ static listGuests(data?: ListGuestsData): CancelablePromise; /** * Submit user onboarding data * @param data The data for the request. * @param data.requestBody * @returns string Onboarding data submitted successfully * @throws ApiError */ static submitOnboardingData(data: SubmitOnboardingDataData): CancelablePromise; /** * delete user (require admin privilege, except for the creator of a fork removing a non-admin member of the fork) * @param data The data for the request. * @param data.workspace * @param data.username * @returns string delete user * @throws ApiError */ static deleteUser(data: DeleteUserData): CancelablePromise; /** * preview offboarding for a workspace user (require admin privilege) * @param data The data for the request. * @param data.workspace * @param data.username * @returns OffboardPreview offboard preview with object counts * @throws ApiError */ static offboardPreview(data: OffboardPreviewData): CancelablePromise; /** * offboard a workspace user (reassign objects, optionally delete user) * @param data The data for the request. * @param data.workspace * @param data.username * @param data.requestBody * @returns OffboardResponse offboard response with conflicts or summary * @throws ApiError */ static offboardWorkspaceUser(data: OffboardWorkspaceUserData): CancelablePromise; /** * preview global offboarding for a user across all workspaces (require super admin) * @param data The data for the request. * @param data.email * @returns GlobalOffboardPreview per-workspace offboard previews * @throws ApiError */ static globalOffboardPreview(data: GlobalOffboardPreviewData): CancelablePromise; /** * offboard a user globally (reassign objects across workspaces, optionally delete) * @param data The data for the request. * @param data.email * @param data.requestBody * @returns OffboardResponse offboard result * @throws ApiError */ static offboardGlobalUser(data: OffboardGlobalUserData): CancelablePromise; /** * convert manual user to group user (require admin privilege) * @param data The data for the request. * @param data.workspace * @param data.username * @returns string convert user to group user * @throws ApiError */ static convertUserToGroup(data: ConvertUserToGroupData): CancelablePromise; /** * get current user email (if logged in) * @returns string user email * @throws ApiError */ static getCurrentEmail(): CancelablePromise; /** * refresh the current token * @param data The data for the request. * @param data.ifExpiringInLessThanS * @returns string new token * @throws ApiError */ static refreshUserToken(data?: RefreshUserTokenData): CancelablePromise; /** * get tutorial progress * @returns unknown tutorial progress * @throws ApiError */ static getTutorialProgress(): CancelablePromise; /** * update tutorial progress * @param data The data for the request. * @param data.requestBody progress update * @returns string tutorial progress * @throws ApiError */ static updateTutorialProgress(data: UpdateTutorialProgressData): CancelablePromise; /** * leave instance * @returns string status * @throws ApiError */ static leaveInstance(): CancelablePromise; /** * get current usage outside of premium workspaces * @returns number free usage * @throws ApiError */ static getUsage(): CancelablePromise; /** * get all runnables in every workspace * @returns unknown free all runnables * @throws ApiError */ static getRunnable(): CancelablePromise; /** * get current global whoami (if logged in) * @returns GlobalUserInfo user email * @throws ApiError */ static globalWhoami(): CancelablePromise; /** * list all workspace invites * @returns WorkspaceInvite list all workspace invites * @throws ApiError */ static listWorkspaceInvites(): CancelablePromise; /** * whoami * @param data The data for the request. * @param data.workspace * @returns User user * @throws ApiError */ static whoami(data: WhoamiData): CancelablePromise; /** * accept invite to workspace * @param data The data for the request. * @param data.requestBody accept invite * @returns string status * @throws ApiError */ static acceptInvite(data: AcceptInviteData): CancelablePromise; /** * decline invite to workspace * @param data The data for the request. * @param data.requestBody decline invite * @returns string status * @throws ApiError */ static declineInvite(data: DeclineInviteData): CancelablePromise; /** * impersonate a service account * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns string impersonation token * @throws ApiError */ static impersonateServiceAccount(data: ImpersonateServiceAccountData): CancelablePromise; /** * exit service account impersonation * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns string exited impersonation * @throws ApiError */ static exitImpersonation(data: ExitImpersonationData): CancelablePromise; /** * whois * @param data The data for the request. * @param data.workspace * @param data.username * @returns User user * @throws ApiError */ static whois(data: WhoisData): CancelablePromise; /** * exists email * @param data The data for the request. * @param data.email * @returns boolean user * @throws ApiError */ static existsEmail(data: ExistsEmailData): CancelablePromise; /** * list all users as super admin (require to be super amdin) * @param data The data for the request. * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.activeOnly filter only active users * @returns GlobalUserInfo user * @throws ApiError */ static listUsersAsSuperAdmin(data?: ListUsersAsSuperAdminData): CancelablePromise; /** * list users * @param data The data for the request. * @param data.workspace * @returns User user * @throws ApiError */ static listUsers(data: ListUsersData): CancelablePromise; /** * list instance users that can still be added to this workspace (require to be super admin) * @param data The data for the request. * @param data.workspace * @param data.search filter users whose email or username contains this string * @param data.perPage number of users to return (default 10, max 100) * @returns unknown addable instance users * @throws ApiError */ static listAddableInstanceUsers(data: ListAddableInstanceUsersData): CancelablePromise; /** * list users usage * @param data The data for the request. * @param data.workspace * @returns UserUsage user * @throws ApiError */ static listUsersUsage(data: ListUsersUsageData): CancelablePromise; /** * list usernames * @param data The data for the request. * @param data.workspace * @returns string user * @throws ApiError */ static listUsernames(data: ListUsernamesData): CancelablePromise; /** * get email from username * @param data The data for the request. * @param data.workspace * @param data.username * @returns string email * @throws ApiError */ static usernameToEmail(data: UsernameToEmailData): CancelablePromise; /** * create token * @param data The data for the request. * @param data.requestBody new token * @returns string token created * @throws ApiError */ static createToken(data: CreateTokenData): CancelablePromise; /** * create token to impersonate a user (require superadmin) * @param data The data for the request. * @param data.requestBody new token * @returns string token created * @throws ApiError */ static createTokenImpersonate(data: CreateTokenImpersonateData): CancelablePromise; /** * mint a single-use login link for an account (require superadmin) * @param data The data for the request. * @param data.requestBody target account and link options * @returns unknown login link minted * @throws ApiError */ static createLoginLink(data: CreateLoginLinkData): CancelablePromise; /** * record or consume a pre-approved self-hosted trial offer for a cloud account (require superadmin, cloud only) * @param data The data for the request. * @param data.requestBody * @returns string offer recorded or consumed * @throws ApiError */ static setCloudTrialOffer(data: SetCloudTrialOfferData): CancelablePromise; /** * whether the signed-in account holds an unconsumed pre-approved self-hosted trial offer (cloud only) * @returns unknown offer state * @throws ApiError */ static getCloudTrialOffer(): CancelablePromise; /** * start the signed-in account's pre-approved self-hosted trial on the customer portal (cloud only). A POST answered as JSON rather than a redirecting GET, so a cross-site navigation cannot start it; the browser navigates to `location` itself * @returns unknown where to go — the customer portal signed in with the trial being started, or the portal home with the reason the offer could not be used * @throws ApiError */ static goCloudTrialOffer(): CancelablePromise; /** * record the invite context an account's onboarding tailors itself from (require superadmin, cloud only) * @param data The data for the request. * @param data.requestBody * @returns string profile recorded * @throws ApiError */ static setOnboardingProfile(data: SetOnboardingProfileData): CancelablePromise; /** * the invite context recorded for the signed-in account, if any (cloud only) * @returns unknown the profile, or null when none was recorded * @throws ApiError */ static getOnboardingProfile(): CancelablePromise; /** * delete token * @param data The data for the request. * @param data.tokenPrefix * @returns string delete token * @throws ApiError */ static deleteToken(data: DeleteTokenData): CancelablePromise; /** * update scopes of an existing token (owner only) * @param data The data for the request. * @param data.tokenPrefix * @param data.requestBody new scopes (null or omitted = full access) * @returns string scopes updated * @throws ApiError */ static updateTokenScopes(data: UpdateTokenScopesData): CancelablePromise; /** * update label of an existing token (owner only) * @param data The data for the request. * @param data.tokenPrefix * @param data.requestBody new label (null or omitted = no label) * @returns string label updated * @throws ApiError */ static updateTokenLabel(data: UpdateTokenLabelData): CancelablePromise; /** * list token * @param data The data for the request. * @param data.excludeEphemeral * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @returns TruncatedToken truncated token * @throws ApiError */ static listTokens(data?: ListTokensData): CancelablePromise; /** * login with oauth authorization flow * @param data The data for the request. * @param data.clientName * @param data.requestBody Partially filled script * @returns string Successfully authenticated. The session ID is returned in a cookie named `token` and as plaintext response. Preferred method of authorization is through the bearer token. The cookie is only for browser convenience. * * @throws ApiError */ static loginWithOauth(data: LoginWithOauthData): CancelablePromise; } export declare class AdminService { /** * get user (require admin privilege) * @param data The data for the request. * @param data.workspace * @param data.username * @returns User user created * @throws ApiError */ static getUser(data: GetUserData): CancelablePromise; /** * update user (require admin privilege) * @param data The data for the request. * @param data.workspace * @param data.username * @param data.requestBody new user * @returns string edited user * @throws ApiError */ static updateUser(data: UpdateUserData): CancelablePromise; /** * delete user (require admin privilege, except for the creator of a fork removing a non-admin member of the fork) * @param data The data for the request. * @param data.workspace * @param data.username * @returns string delete user * @throws ApiError */ static deleteUser(data: DeleteUserData): CancelablePromise; /** * preview offboarding for a workspace user (require admin privilege) * @param data The data for the request. * @param data.workspace * @param data.username * @returns OffboardPreview offboard preview with object counts * @throws ApiError */ static offboardPreview(data: OffboardPreviewData): CancelablePromise; /** * offboard a workspace user (reassign objects, optionally delete user) * @param data The data for the request. * @param data.workspace * @param data.username * @param data.requestBody * @returns OffboardResponse offboard response with conflicts or summary * @throws ApiError */ static offboardWorkspaceUser(data: OffboardWorkspaceUserData): CancelablePromise; /** * convert manual user to group user (require admin privilege) * @param data The data for the request. * @param data.workspace * @param data.username * @returns string convert user to group user * @throws ApiError */ static convertUserToGroup(data: ConvertUserToGroupData): CancelablePromise; } export declare class GitSyncService { /** * get connected repositories * @param data The data for the request. * @param data.page Page number for pagination (default 1) * @returns GithubInstallations connected repositories * @throws ApiError */ static getGlobalConnectedRepositories(data?: GetGlobalConnectedRepositoriesData): CancelablePromise; /** * Install a GitHub installation from another workspace * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns unknown Installation successfully copied * @throws ApiError */ static installFromWorkspace(data: InstallFromWorkspaceData): CancelablePromise; /** * Delete a GitHub installation from a workspace * Removes a GitHub installation from the specified workspace. Requires admin privileges. * @param data The data for the request. * @param data.workspace * @param data.installationId The ID of the GitHub installation to delete * @returns unknown Installation successfully deleted * @throws ApiError */ static deleteFromWorkspace(data: DeleteFromWorkspaceData): CancelablePromise; /** * Export GitHub installation JWT token * Exports the JWT token for a specific GitHub installation in the workspace * @param data The data for the request. * @param data.workspace * @param data.installationId * @returns unknown Successfully exported the JWT token * @throws ApiError */ static exportInstallation(data: ExportInstallationData): CancelablePromise; /** * Import GitHub installation from JWT token * Imports a GitHub installation from a JWT token exported from another instance * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns unknown Successfully imported the installation * @throws ApiError */ static importInstallation(data: ImportInstallationData): CancelablePromise; /** * List the GitLab projects a token can sync * Lists the projects the supplied GitLab token can push to, so a git repository resource can be filled in without hand-writing a project path. The token is used for this call only and is never stored. Requires workspace admin. * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns GitlabProject the projects the token can sync * @throws ApiError */ static listGitlabProjects(data: ListGitlabProjectsData): CancelablePromise; /** * Where a repository's credential comes from * Whether Windmill holds this repository's access token, and which host it talks to. `held` means this workspace stores it, `borrowed` means an ancestor does and it is not this workspace's to replace. Both absent means the repository authenticates with whatever its URL carries. Returns no secret. Requires workspace admin. * @param data The data for the request. * @param data.workspace * @param data.path Path of the git repository resource, with or without the `$res:` prefix. A path rather than a URL, because a resource URL may carry a token and a URL in a query string lands in logs. * @returns unknown where the credential comes from * @throws ApiError */ static getCredentialOrigin(data: GetCredentialOriginData): CancelablePromise; /** * Store the credential for a git repository * Stores the access token a git repository authenticates with, so it does not have to be written into the repository URL or a workspace variable. The token is write-only: it is served only to a git-sync job that presents its own job token, and a fork of this workspace reads this copy instead of holding one of its own. Requires workspace admin. * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns string the credential was stored * @throws ApiError */ static setGitCredential(data: SetGitCredentialData): CancelablePromise; /** * GHES installation callback * Register a self-managed GitHub App installation from GitHub Enterprise Server * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns unknown GHES installation registered successfully * @throws ApiError */ static ghesInstallationCallback(data: GhesInstallationCallbackData): CancelablePromise; /** * Get GHES app config * Returns the GitHub Enterprise Server app configuration (without private key) for constructing the installation URL * @returns unknown GHES app configuration * @throws ApiError */ static getGhesConfig(): CancelablePromise; /** * Discover GHES App installations * Lists every installation the configured self-managed GitHub App can see, * annotated with the workspaces in this Windmill instance the * installation is currently assigned to. Super-admin only. * * @returns unknown Discovered installations * @throws ApiError */ static discoverGhesInstallations(): CancelablePromise; /** * Assign GHES installation to a workspace * Assigns a discovered GHES App installation to a workspace. The resulting * installation is marked as admin-provisioned, so workspace admins cannot * remove it. Super-admin only. * * @param data The data for the request. * @param data.requestBody * @returns unknown Installation assigned * @throws ApiError */ static assignGhesInstallation(data: AssignGhesInstallationData): CancelablePromise; /** * Unassign GHES installation from a workspace * Removes an installation (admin-provisioned or otherwise) from a * workspace. Super-admin only. Does not affect the installation on the * GitHub side. * * @param data The data for the request. * @param data.workspaceId * @param data.installationId * @returns unknown Installation unassigned * @throws ApiError */ static unassignGhesInstallation(data: UnassignGhesInstallationData): CancelablePromise; } export declare class WorkspaceService { /** * list all workspaces visible to me * @returns Workspace all workspaces * @throws ApiError */ static listWorkspaces(): CancelablePromise; /** * is domain allowed for auto invi * @returns boolean domain allowed or not * @throws ApiError */ static isDomainAllowed(): CancelablePromise; /** * list all workspaces visible to me with user info * @returns UserWorkspaceList workspace with associated username * @throws ApiError */ static listUserWorkspaces(): CancelablePromise; /** * get the lifecycle status of workspaces referenced by client-side sessions * @param data The data for the request. * @param data.requestBody * @returns string map of workspace id to status (active, archived, or deleted) * @throws ApiError */ static getSessionWorkspaceStatus(data: GetSessionWorkspaceStatusData): CancelablePromise; /** * get the AI session retention of workspaces referenced by client-side sessions * @param data The data for the request. * @param data.requestBody * @returns number map of workspace id to its `ai_config.sessions_retention_days`; a workspace without a retention, or one the caller cannot be authenticated into, is absent * @throws ApiError */ static getSessionWorkspaceRetention(data: GetSessionWorkspaceRetentionData): CancelablePromise; /** * get workspace as super admin (require to be super admin) * @param data The data for the request. * @param data.workspace * @returns Workspace workspace * @throws ApiError */ static getWorkspaceAsSuperAdmin(data: GetWorkspaceAsSuperAdminData): CancelablePromise; /** * list all workspaces as super admin (require to be super admin) * @param data The data for the request. * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @returns Workspace workspaces * @throws ApiError */ static listWorkspacesAsSuperAdmin(data?: ListWorkspacesAsSuperAdminData): CancelablePromise; /** * create workspace * @param data The data for the request. * @param data.requestBody new token * @returns string token created * @throws ApiError */ static createWorkspace(data: CreateWorkspaceData): CancelablePromise; /** * create forked workspace branch with git sync * @param data The data for the request. * @param data.workspace * @param data.requestBody new forked workspace * @returns string forked workspace branch created * @throws ApiError */ static createWorkspaceForkGitBranch(data: CreateWorkspaceForkGitBranchData): CancelablePromise; /** * create forked workspace * @param data The data for the request. * @param data.workspace * @param data.requestBody new forked workspace * @returns string forked workspace created * @throws ApiError */ static createWorkspaceFork(data: CreateWorkspaceForkData): CancelablePromise; /** * attach an existing workspace as the dev workspace of this (prod) workspace * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns string dev workspace attached * @throws ApiError */ static attachDevWorkspace(data: AttachDevWorkspaceData): CancelablePromise; /** * detach the dev workspace from this (prod) workspace * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns string dev workspace detached * @throws ApiError */ static detachDevWorkspace(data: DetachDevWorkspaceData): CancelablePromise; /** * this workspace's active canonical dev workspace, if any * @param data The data for the request. * @param data.workspace * @returns unknown the dev workspace, or null if none * @throws ApiError */ static getDevWorkspace(data: GetDevWorkspaceData): CancelablePromise; /** * exists workspace * @param data The data for the request. * @param data.requestBody id of workspace * @returns boolean status * @throws ApiError */ static existsWorkspace(data: ExistsWorkspaceData): CancelablePromise; /** * exists username * @param data The data for the request. * @param data.requestBody * @returns boolean status * @throws ApiError */ static existsUsername(data: ExistsUsernameData): CancelablePromise; /** * get the git credential for a git-sync job (GitHub App token, or the credential stored for the repository) * @param data The data for the request. * @param data.workspace * @param data.requestBody jwt job token * @returns unknown git credential * @throws ApiError */ static getGithubAppToken(data: GetGithubAppTokenData): CancelablePromise; /** * download a gzipped tarball of a GitHub App repository * @param data The data for the request. * @param data.workspace * @param data.path * @param data.ref branch, tag or commit sha; defaults to the resource's branch * @returns binary gzipped tarball of the repository at the resolved commit * @throws ApiError */ static getGithubAppRepoArchive(data: GetGithubAppRepoArchiveData): CancelablePromise; /** * invite user to workspace * @param data The data for the request. * @param data.workspace * @param data.requestBody WorkspaceInvite * @returns string status * @throws ApiError */ static inviteUser(data: InviteUserData): CancelablePromise; /** * add user to workspace (require admin privilege, except for the creator of a fork adding a developer/admin of its parent workspace as a developer of the fork) * @param data The data for the request. * @param data.workspace * @param data.requestBody WorkspaceInvite * @returns string status * @throws ApiError */ static addUser(data: AddUserData): CancelablePromise; /** * create a service account * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns string service account created * @throws ApiError */ static createServiceAccount(data: CreateServiceAccountData): CancelablePromise; /** * delete user invite * @param data The data for the request. * @param data.workspace * @param data.requestBody WorkspaceInvite * @returns string status * @throws ApiError */ static deleteInvite(data: DeleteInviteData): CancelablePromise; /** * archive workspace * @param data The data for the request. * @param data.workspace * @returns string status * @throws ApiError */ static archiveWorkspace(data: ArchiveWorkspaceData): CancelablePromise; /** * unarchive workspace * @param data The data for the request. * @param data.workspace * @returns string status * @throws ApiError */ static unarchiveWorkspace(data: UnarchiveWorkspaceData): CancelablePromise; /** * delete workspace (require super admin) * @param data The data for the request. * @param data.workspace * @param data.onlyDeleteForks * @returns string status * @throws ApiError */ static deleteWorkspace(data: DeleteWorkspaceData): CancelablePromise; /** * leave workspace * @param data The data for the request. * @param data.workspace * @returns string status * @throws ApiError */ static leaveWorkspace(data: LeaveWorkspaceData): CancelablePromise; /** * get workspace name * @param data The data for the request. * @param data.workspace * @returns string status * @throws ApiError */ static getWorkspaceName(data: GetWorkspaceNameData): CancelablePromise; /** * change workspace name * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns string status * @throws ApiError */ static changeWorkspaceName(data: ChangeWorkspaceNameData): CancelablePromise; /** * change workspace id * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns string status * @throws ApiError */ static changeWorkspaceId(data: ChangeWorkspaceIdData): CancelablePromise; /** * change workspace id * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns string status * @throws ApiError */ static changeWorkspaceColor(data: ChangeWorkspaceColorData): CancelablePromise; /** * Update operator settings for a workspace * Updates the operator settings for a specific workspace. Requires workspace admin privileges. * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns string Operator settings updated successfully * @throws ApiError */ static updateOperatorSettings(data: UpdateOperatorSettingsData): CancelablePromise; /** * Compare two workspaces * Compares the current workspace with a target workspace to find differences in scripts, flows, apps, resources, and variables. Returns information about items that are ahead, behind, or in conflict. * @param data The data for the request. * @param data.workspace * @param data.targetWorkspaceId The ID of the workspace to compare with * @returns WorkspaceComparison Workspace comparison results * @throws ApiError */ static compareWorkspaces(data: CompareWorkspacesData): CancelablePromise; /** * Seed the diff candidate set against an arbitrary workspace * Enumerates every item of both workspaces as an undecided diff candidate so `compareWorkspaces` can compare a pair the fork lineage does not track. Requires being an admin of both workspaces, and is rejected for a pair already linked by the lineage (whose diff is tallied continuously). The comparison itself is what compares the candidates, and is the expensive step. * @param data The data for the request. * @param data.workspace * @param data.targetWorkspaceId The ID of the workspace to compare with * @returns unknown Scan seeded * @throws ApiError */ static seedFullDiffScan(data: SeedFullDiffScanData): CancelablePromise; /** * Resets the ahead and behind deployement counter after a deployement * This endpoint should be called after a fork deployement * @param data The data for the request. * @param data.workspace * @param data.forkWorkspaceId The ID of the workspace to compare with * @returns unknown status * @throws ApiError */ static resetDiffTally(data: ResetDiffTallyData): CancelablePromise; /** * list pending invites for a workspace * @param data The data for the request. * @param data.workspace * @returns WorkspaceInvite user * @throws ApiError */ static listPendingInvites(data: ListPendingInvitesData): CancelablePromise; /** * get public settings * Returns the subset of workspace settings safe to expose to any workspace member. The full settings struct is admin-only via `getSettings`. * @param data The data for the request. * @param data.workspace * @returns unknown status * @throws ApiError */ static getPublicSettings(data: GetPublicSettingsData): CancelablePromise; /** * get settings (admin only) * Returns the full workspace settings including admin-managed integration credentials. Admin-only — non-admin callers should use `getPublicSettings`. * @param data The data for the request. * @param data.workspace * @returns unknown status * @throws ApiError */ static getSettings(data: GetSettingsData): CancelablePromise; /** * get the workspace this one deploys into (its fork parent) * @param data The data for the request. * @param data.workspace * @returns unknown status * @throws ApiError */ static getDeployTo(data: GetDeployToData): CancelablePromise; /** * get the workspace's deploy target on another instance, and the caller's connection to it * Once connected, deploy calls aimed at the target go through * `/w/{workspace}/remote_deploy/proxy/{proxy_key}/{route}`, which forwards any method to * `{base_url}/api/w/{target workspace}/{route}` with the caller's stored token. * * @param data The data for the request. * @param data.workspace * @returns RemoteDeployStatus remote deploy target and the caller's connection to it * @throws ApiError */ static getRemoteDeployTarget(data: GetRemoteDeployTargetData): CancelablePromise; /** * set or clear the workspace's deploy target on another instance * Changing the target drops every token stored for the previous one. * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns string status * @throws ApiError */ static setRemoteDeployTarget(data: SetRemoteDeployTargetData): CancelablePromise; /** * store the caller's own token for the remote deploy target * The token is checked against the target's whoami before it is stored. `target` names the * target the token was obtained for, and the request is refused if the workspace now points * elsewhere, so a token is never sent to an instance it was not meant for. * * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns RemoteDeployConnection the stored connection * @throws ApiError */ static connectRemoteDeploy(data: ConnectRemoteDeployData): CancelablePromise; /** * forget the caller's token for the remote deploy target * @param data The data for the request. * @param data.workspace * @returns string status * @throws ApiError */ static disconnectRemoteDeploy(data: DisconnectRemoteDeployData): CancelablePromise; /** * get if workspace is premium * @param data The data for the request. * @param data.workspace * @returns boolean status * @throws ApiError */ static getIsPremium(data: GetIsPremiumData): CancelablePromise; /** * get the billable seats of the workspace the plan is billed on * @param data The data for the request. * @param data.workspace * @returns unknown billable seats * @throws ApiError */ static getBillableSeats(data: GetBillableSeatsData): CancelablePromise; /** * get premium info * @param data The data for the request. * @param data.workspace * @param data.skipSubscriptionFetch skip fetching subscription status from stripe * @returns unknown status * @throws ApiError */ static getPremiumInfo(data: GetPremiumInfoData): CancelablePromise; /** * get threshold alert info * @param data The data for the request. * @param data.workspace * @returns unknown status * @throws ApiError */ static getThresholdAlert(data: GetThresholdAlertData): CancelablePromise; /** * set threshold alert info * @param data The data for the request. * @param data.workspace * @param data.requestBody threshold alert info * @returns string status * @throws ApiError */ static setThresholdAlert(data: SetThresholdAlertData): CancelablePromise; /** * rebuild dependency map * @param data The data for the request. * @param data.workspace * @returns string status * @throws ApiError */ static rebuildDependencyMap(data: RebuildDependencyMapData): CancelablePromise; /** * get dependents of an imported path * @param data The data for the request. * @param data.workspace * @param data.importedPath The imported path to get dependents for * @returns DependencyDependent list of dependents * @throws ApiError */ static getDependents(data: GetDependentsData): CancelablePromise; /** * get script imports for an importer path * @param data The data for the request. * @param data.workspace * @param data.importerPath The script path to get imports for * @returns string list of imported script paths * @throws ApiError */ static getImports(data: GetImportsData): CancelablePromise; /** * get dependents amounts for multiple imported paths * @param data The data for the request. * @param data.workspace * @param data.requestBody List of imported paths to get dependents counts for * @returns DependentsAmount list of dependents amounts * @throws ApiError */ static getDependentsAmounts(data: GetDependentsAmountsData): CancelablePromise; /** * get dependency map * @param data The data for the request. * @param data.workspace * @returns DependencyMap dmap * @throws ApiError */ static getDependencyMap(data: GetDependencyMapData): CancelablePromise; /** * edit slack command * @param data The data for the request. * @param data.workspace * @param data.requestBody WorkspaceInvite * @returns string status * @throws ApiError */ static editSlackCommand(data: EditSlackCommandData): CancelablePromise; /** * get workspace slack oauth config * @param data The data for the request. * @param data.workspace * @returns unknown slack oauth config * @throws ApiError */ static getWorkspaceSlackOauthConfig(data: GetWorkspaceSlackOauthConfigData): CancelablePromise; /** * set workspace slack oauth config * @param data The data for the request. * @param data.workspace * @param data.requestBody Slack OAuth Configuration * @returns string status * @throws ApiError */ static setWorkspaceSlackOauthConfig(data: SetWorkspaceSlackOauthConfigData): CancelablePromise; /** * delete workspace slack oauth config * @param data The data for the request. * @param data.workspace * @returns string status * @throws ApiError */ static deleteWorkspaceSlackOauthConfig(data: DeleteWorkspaceSlackOauthConfigData): CancelablePromise; /** * edit teams command * @param data The data for the request. * @param data.workspace * @param data.requestBody WorkspaceInvite * @returns string status * @throws ApiError */ static editTeamsCommand(data: EditTeamsCommandData): CancelablePromise; /** * list available teams ids * @param data The data for the request. * @param data.workspace * @param data.search Search teams by name. If omitted, returns first page of all teams. * @param data.nextLink Pagination cursor URL from previous response. Pass this to fetch the next page of results. * @returns unknown status * @throws ApiError */ static listAvailableTeamsIds(data: ListAvailableTeamsIdsData): CancelablePromise; /** * list available channels for a specific team * @param data The data for the request. * @param data.workspace * @param data.teamId Microsoft Teams team ID * @returns unknown List of channels for the specified team * @throws ApiError */ static listAvailableTeamsChannels(data: ListAvailableTeamsChannelsData): CancelablePromise; /** * connect teams * @param data The data for the request. * @param data.workspace * @param data.requestBody connect teams * @returns string status * @throws ApiError */ static connectTeams(data: ConnectTeamsData): CancelablePromise; /** * connect slack (non-interactive; pre-minted bot token) * @param data The data for the request. * @param data.workspace * @param data.requestBody connect slack with a pre-minted bot token * @returns unknown status * @throws ApiError */ static connectSlack(data: ConnectSlackData): CancelablePromise; /** * run a job that sends a message to Slack * @param data The data for the request. * @param data.workspace * @param data.requestBody path to hub script to run and its corresponding args * @returns unknown status * @throws ApiError */ static runSlackMessageTestJob(data: RunSlackMessageTestJobData): CancelablePromise; /** * run a job that sends a message to Teams * @param data The data for the request. * @param data.workspace * @param data.requestBody path to hub script to run and its corresponding args * @returns unknown status * @throws ApiError */ static runTeamsMessageTestJob(data: RunTeamsMessageTestJobData): CancelablePromise; /** * edit auto invite * @param data The data for the request. * @param data.workspace * @param data.requestBody WorkspaceInvite * @returns string status * @throws ApiError */ static editAutoInvite(data: EditAutoInviteData): CancelablePromise; /** * edit instance groups * @param data The data for the request. * @param data.workspace * @param data.requestBody Instance Groups Configuration * @returns string status * @throws ApiError */ static editInstanceGroups(data: EditInstanceGroupsData): CancelablePromise; /** * edit webhook * @param data The data for the request. * @param data.workspace * @param data.requestBody WorkspaceWebhook * @returns string status * @throws ApiError */ static editWebhook(data: EditWebhookData): CancelablePromise; /** * edit copilot config * @param data The data for the request. * @param data.workspace * @param data.requestBody WorkspaceCopilotConfig * @returns unknown status * @throws ApiError */ static editCopilotConfig(data: EditCopilotConfigData): CancelablePromise; /** * get copilot settings state * @param data The data for the request. * @param data.workspace * @returns unknown status * @throws ApiError */ static getCopilotSettingsState(data: GetCopilotSettingsStateData): CancelablePromise; /** * get copilot info * @param data The data for the request. * @param data.workspace * @returns AIConfig status * @throws ApiError */ static getCopilotInfo(data: GetCopilotInfoData): CancelablePromise; /** * edit error handler * @param data The data for the request. * @param data.workspace * @param data.requestBody WorkspaceErrorHandler * @returns string status * @throws ApiError */ static editErrorHandler(data: EditErrorHandlerData): CancelablePromise; /** * edit success handler * @param data The data for the request. * @param data.workspace * @param data.requestBody WorkspaceSuccessHandler * @returns string status * @throws ApiError */ static editSuccessHandler(data: EditSuccessHandlerData): CancelablePromise; /** * edit large file storage settings * @param data The data for the request. * @param data.workspace * @param data.requestBody LargeFileStorage info * @returns unknown status * @throws ApiError */ static editLargeFileStorageConfig(data: EditLargeFileStorageConfigData): CancelablePromise; /** * edit the workspace's dbt warehouses * @param data The data for the request. * @param data.workspace * @param data.requestBody dbt warehouses, by name * @returns unknown status * @throws ApiError */ static editDbtWarehouses(data: EditDbtWarehousesData): CancelablePromise; /** * list ducklakes * @param data The data for the request. * @param data.workspace * @returns string status * @throws ApiError */ static listDucklakes(data: ListDucklakesData): CancelablePromise; /** * list Datatables * @param data The data for the request. * @param data.workspace * @returns unknown status * @throws ApiError */ static listDataTables(data: ListDataTablesData): CancelablePromise; /** * get who may connect to a data table as which role * @param data The data for the request. * @param data.workspace * @param data.datatableName * @returns DatatablePermissions the data table's roles and their tenants * @throws ApiError */ static getDatatablePermissions(data: GetDatatablePermissionsData): CancelablePromise; /** * set who may connect to a data table as which role * @param data The data for the request. * @param data.workspace * @param data.datatableName * @param data.requestBody * @returns string status * @throws ApiError */ static setDatatablePermissions(data: SetDatatablePermissionsData): CancelablePromise; /** * read the owner and grants of an instance data table's database, schema or table * @param data The data for the request. * @param data.workspace * @param data.datatableName * @param data.kind * @param data.schema * @param data.table * @returns DatatableAclInfo owner and grants * @throws ApiError */ static getDatatableAcl(data: GetDatatableAclData): CancelablePromise; /** * preview the SQL an ownership or grant change would run (data table administrators only) * @param data The data for the request. * @param data.workspace * @param data.datatableName * @param data.requestBody * @returns AclPlan statements that would run, in a single transaction * @throws ApiError */ static planDatatableAcl(data: PlanDatatableAclData): CancelablePromise; /** * run an ownership or grant change exactly as planned (data table administrators only) * @param data The data for the request. * @param data.workspace * @param data.datatableName * @param data.requestBody * @returns string change applied * @throws ApiError */ static applyDatatableAcl(data: ApplyDatatableAclData): CancelablePromise; /** * list the data table roles the caller may connect as * @param data The data for the request. * @param data.workspace * @param data.datatableName * @returns unknown usable roles * @throws ApiError */ static listUsableDatatableRoles(data: ListUsableDatatableRolesData): CancelablePromise; /** * list schemas of all connected Datatables * @param data The data for the request. * @param data.workspace * @returns DataTableSchema schemas of all datatables * @throws ApiError */ static listDataTableSchemas(data: ListDataTableSchemasData): CancelablePromise; /** * check what the data table's database lets its role do * @param data The data for the request. * @param data.workspace * @param data.datatableName * @returns unknown connection and privilege report * @throws ApiError */ static testDataTableConnection(data: TestDataTableConnectionData): CancelablePromise; /** * list tables of all connected Datatables * @param data The data for the request. * @param data.workspace * @param data.datatableName list only this data table; each listed data table opens a connection to its database * @param data.roleFor the data table `role` applies to; every other one is listed as its default role * @param data.role the role to list `role_for` as; refused, in that entry's `error`, if the caller may not use it * @returns DataTableTables table metadata of all datatables * @throws ApiError */ static listDataTableTables(data: ListDataTableTablesData): CancelablePromise; /** * get one Datatable table schema * @param data The data for the request. * @param data.workspace * @param data.datatableName * @param data.schemaName * @param data.tableName * @param data.role the data table role to read the table as; defaults to the data table's default role * @returns DataTableTableSchema schema of one datatable table * @throws ApiError */ static getDataTableTableSchema(data: GetDataTableTableSchemaData): CancelablePromise; /** * edit ducklake settings * @param data The data for the request. * @param data.workspace * @param data.requestBody Ducklake settings * @returns unknown status * @throws ApiError */ static editDucklakeConfig(data: EditDucklakeConfigData): CancelablePromise; /** * edit datatable settings * @param data The data for the request. * @param data.workspace * @param data.requestBody DataTable settings * @returns unknown status * @throws ApiError */ static editDataTableConfig(data: EditDataTableConfigData): CancelablePromise; /** * run pending datatable migrations against a datatable * @param data The data for the request. * @param data.workspace * @param data.datatableName * @param data.upTo only apply pending migrations up to and including this version * @param data.only apply only this specific migration version, ignoring others * @returns unknown applied migrations * @throws ApiError */ static runDatatableMigrations(data: RunDatatableMigrationsData): CancelablePromise; /** * roll back the most recently applied migration on a datatable * @param data The data for the request. * @param data.workspace * @param data.datatableName * @param data.only roll back this specific applied migration version instead of the latest * @returns unknown rolled back migrations * @throws ApiError */ static rollbackDatatableMigrations(data: RollbackDatatableMigrationsData): CancelablePromise; /** * list datatable migrations for a workspace * @param data The data for the request. * @param data.workspace * @returns DatatableMigration datatable migrations * @throws ApiError */ static listDatatableMigrations(data: ListDatatableMigrationsData): CancelablePromise; /** * list a datatable's migrations with their applied status * @param data The data for the request. * @param data.workspace * @param data.datatableName * @returns unknown migrations with status * @throws ApiError */ static getDatatableMigrationsStatus(data: GetDatatableMigrationsStatusData): CancelablePromise; /** * opt a datatable in to migrations (admins / super admins only) * @param data The data for the request. * @param data.workspace * @param data.datatableName * @returns string status * @throws ApiError */ static enableDatatableMigrations(data: EnableDatatableMigrationsData): CancelablePromise; /** * opt a datatable out of migrations, deleting all of them (admins / super admins only) * @param data The data for the request. * @param data.workspace * @param data.datatableName * @returns string status * @throws ApiError */ static disableDatatableMigrations(data: DisableDatatableMigrationsData): CancelablePromise; /** * create a single datatable migration (version generated server-side) * @param data The data for the request. * @param data.workspace * @param data.datatableName * @param data.requestBody * @returns DatatableMigration created migration * @throws ApiError */ static createDatatableMigration(data: CreateDatatableMigrationData): CancelablePromise; /** * delete a single datatable migration definition * @param data The data for the request. * @param data.workspace * @param data.datatableName * @param data.timestamp * @returns string status * @throws ApiError */ static deleteDatatableMigration(data: DeleteDatatableMigrationData): CancelablePromise; /** * insert or update a single datatable migration at an explicit version * @param data The data for the request. * @param data.workspace * @param data.datatableName * @param data.requestBody * @returns string status * @throws ApiError */ static upsertDatatableMigration(data: UpsertDatatableMigrationData): CancelablePromise; /** * snapshot the current schema as an already-installed initial migration * @param data The data for the request. * @param data.workspace * @param data.datatableName * @returns DatatableMigration created migration * @throws ApiError */ static generateInitialDatatableMigration(data: GenerateInitialDatatableMigrationData): CancelablePromise; /** * create a new PostgreSQL database for a datatable * @param data The data for the request. * @param data.workspace * @param data.requestBody Create pg database request * @returns string status * @throws ApiError */ static createPgDatabase(data: CreatePgDatabaseData): CancelablePromise; /** * drop forked datatable databases * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns string list of errors (empty if all succeeded) * @throws ApiError */ static dropForkedDatatableDatabases(data: DropForkedDatatableDatabasesData): CancelablePromise; /** * drop this fork workspace's ducklake namespaces (catalog metadata schemas + data files) * @param data The data for the request. * @param data.workspace * @returns string list of errors (empty if all succeeded) * @throws ApiError */ static dropForkedDucklakeNamespaces(data: DropForkedDucklakeNamespacesData): CancelablePromise; /** * import a PostgreSQL database from source to target via pg_dump * @param data The data for the request. * @param data.workspace * @param data.requestBody Import pg database request * @returns string status * @throws ApiError */ static importPgDatabase(data: ImportPgDatabaseData): CancelablePromise; /** * export the schema of a PostgreSQL database * @param data The data for the request. * @param data.workspace * @param data.requestBody Export pg schema request * @returns string schema dump * @throws ApiError */ static exportPgSchema(data: ExportPgSchemaData): CancelablePromise; /** * get the full schema of a datatable database as TableEditorValues * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns unknown Schema as { schema_name: { table_name: TableEditorValues } } * @throws ApiError */ static getDatatableFullSchema(data: GetDatatableFullSchemaData): CancelablePromise; /** * Check if git sync is available for this workspace * @param data The data for the request. * @param data.workspace * @returns unknown Git sync availability status * @throws ApiError */ static getGitSyncEnabled(data: GetGitSyncEnabledData): CancelablePromise; /** * Get how local changes deploy to this workspace via git sync * @param data The data for the request. * @param data.workspace * @param data.branch The branch the caller would push. * @returns unknown Git sync deploy mode * @throws ApiError */ static getGitSyncDeployMode(data: GetGitSyncDeployModeData): CancelablePromise; /** * edit workspace git sync settings * @param data The data for the request. * @param data.workspace * @param data.requestBody Workspace Git sync settings * @returns unknown status * @throws ApiError */ static editWorkspaceGitSyncConfig(data: EditWorkspaceGitSyncConfigData): CancelablePromise; /** * add or update individual git sync repository * @param data The data for the request. * @param data.workspace * @param data.requestBody Git sync repository settings to add or update * @returns unknown status * @throws ApiError */ static editGitSyncRepository(data: EditGitSyncRepositoryData): CancelablePromise; /** * delete individual git sync repository * @param data The data for the request. * @param data.workspace * @param data.requestBody Git sync repository to delete * @returns unknown status * @throws ApiError */ static deleteGitSyncRepository(data: DeleteGitSyncRepositoryData): CancelablePromise; /** * edit workspace deploy ui settings * @param data The data for the request. * @param data.workspace * @param data.requestBody Workspace deploy UI settings * @returns unknown status * @throws ApiError */ static editWorkspaceDeployUiSettings(data: EditWorkspaceDeployUiSettingsData): CancelablePromise; /** * edit default app for workspace * @param data The data for the request. * @param data.workspace * @param data.requestBody Workspace default app * @returns string status * @throws ApiError */ static editWorkspaceDefaultApp(data: EditWorkspaceDefaultAppData): CancelablePromise; /** * enable or disable guest sessions for this workspace * Guests are people the identity provider authenticates who have no Windmill account; the `guest` app execution mode admits them. Off by default. Re-read where a guest session is minted and at the auth door on every guest request, so turning it off takes effect immediately, for sessions already issued and for apps whose policy already says `guest`. Turning it *on* is refused with a 400 where guests are unavailable (the shared cloud); turning it off always works. * @param data The data for the request. * @param data.workspace * @param data.requestBody Whether guest sessions are admitted * @returns string status * @throws ApiError */ static editGuestAccess(data: EditGuestAccessData): CancelablePromise; /** * choose whether new forks of this workspace start with its admins and developers * When on, every fork created from this workspace gets the workspace's admins and developers as members, with the role they hold here; operators, disabled users and service accounts are left out. The setting is copied into each fork, so forks of a fork follow it too. Off by default. Workspace-admin gated. * @param data The data for the request. * @param data.workspace * @param data.requestBody Whether new forks start with this workspace's admins and developers * @returns string status * @throws ApiError */ static editAddAdminsAndDevelopersToForks(data: EditAddAdminsAndDevelopersToForksData): CancelablePromise; /** * set the key guest JWTs are verified against for this workspace * A guest JWT (`jwt_guest_`) is minted by the embedding customer's own backend and verified against this key: a PEM public key (RS/ES family, HS* refused) or a JWKS URL, at most one. Both empty clears the workspace key; off cloud, verification then falls back to the instance issuer (`JWT_EXT_JWKS_URL`) if one is set, else no guest JWT is accepted (`guest_access_enabled` is the on/off switch). Workspace-admin gated. The key is validated before it is stored. Setting a key is refused with a 400 where guests are unavailable (the shared cloud); clearing one always works. * @param data The data for the request. * @param data.workspace * @param data.requestBody The guest JWT verification key * @returns string status * @throws ApiError */ static editGuestJwtKey(data: EditGuestJwtKeyData): CancelablePromise; /** * the instance's standing against the guest allowance * Instance-wide, since a licence is per instance and one email is one guest however many workspaces it opens. Read by workspace admins and app publishers to see how close the cap (Community and Pro) or the meter (Enterprise) is. * @param data The data for the request. * @param data.workspace * @returns GuestUsage guest usage * @throws ApiError */ static getGuestUsage(data: GetGuestUsageData): CancelablePromise; /** * edit default scripts for workspace * @param data The data for the request. * @param data.workspace * @param data.requestBody Workspace default app * @returns string status * @throws ApiError */ static editDefaultScripts(data: EditDefaultScriptsData): CancelablePromise; /** * get default scripts for workspace * @param data The data for the request. * @param data.workspace * @returns WorkspaceDefaultScripts status * @throws ApiError */ static getDefaultScripts(data: GetDefaultScriptsData): CancelablePromise; /** * set environment variable * @param data The data for the request. * @param data.workspace * @param data.requestBody Workspace default app * @returns string status * @throws ApiError */ static setEnvironmentVariable(data: SetEnvironmentVariableData): CancelablePromise; /** * retrieves the encryption key for this workspace * @param data The data for the request. * @param data.workspace * @returns unknown status * @throws ApiError */ static getWorkspaceEncryptionKey(data: GetWorkspaceEncryptionKeyData): CancelablePromise; /** * update the encryption key for this workspace * @param data The data for the request. * @param data.workspace * @param data.requestBody New encryption key * @returns string status * @throws ApiError */ static setWorkspaceEncryptionKey(data: SetWorkspaceEncryptionKeyData): CancelablePromise; /** * get default app for workspace * @param data The data for the request. * @param data.workspace * @returns unknown status * @throws ApiError */ static getWorkspaceDefaultApp(data: GetWorkspaceDefaultAppData): CancelablePromise; /** * get usage * @param data The data for the request. * @param data.workspace * @returns number usage * @throws ApiError */ static getWorkspaceUsage(data: GetWorkspaceUsageData): CancelablePromise; /** * get used triggers * @param data The data for the request. * @param data.workspace * @returns unknown status * @throws ApiError */ static getUsedTriggers(data: GetUsedTriggersData): CancelablePromise; /** * list all protection rules for a workspace * @param data The data for the request. * @param data.workspace * @returns ProtectionRuleset list of protection rules * @throws ApiError */ static listProtectionRules(data: ListProtectionRulesData): CancelablePromise; /** * create a new protection rule * @param data The data for the request. * @param data.workspace * @param data.requestBody New protection rule configuration * @returns string protection rule created successfully * @throws ApiError */ static createProtectionRule(data: CreateProtectionRuleData): CancelablePromise; /** * update an existing protection rule * @param data The data for the request. * @param data.workspace * @param data.ruleName Name of the protection rule to update * @param data.requestBody Updated protection rule configuration * @returns string protection rule updated successfully * @throws ApiError */ static updateProtectionRule(data: UpdateProtectionRuleData): CancelablePromise; /** * delete a protection rule * @param data The data for the request. * @param data.workspace * @param data.ruleName Name of the protection rule to delete * @returns string protection rule deleted successfully * @throws ApiError */ static deleteProtectionRule(data: DeleteProtectionRuleData): CancelablePromise; /** * list users eligible to be deployment request assignees * Returns admins and members of wm_deployers in the parent workspace of the fork at `{workspace}`. * @param data The data for the request. * @param data.workspace * @returns DeploymentRequestEligibleDeployer list of eligible deployers * @throws ApiError */ static listDeploymentRequestEligibleDeployers(data: ListDeploymentRequestEligibleDeployersData): CancelablePromise; /** * get the currently open deployment request for this fork * @param data The data for the request. * @param data.workspace * @returns unknown the open request or null if none exists * @throws ApiError */ static getOpenDeploymentRequest(data: GetOpenDeploymentRequestData): CancelablePromise; /** * create a new deployment request * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns DeploymentRequest request created * @throws ApiError */ static createDeploymentRequest(data: CreateDeploymentRequestData): CancelablePromise; /** * cancel an open deployment request * @param data The data for the request. * @param data.workspace * @param data.id * @returns string cancelled * @throws ApiError */ static cancelDeploymentRequest(data: CancelDeploymentRequestData): CancelablePromise; /** * close a deployment request after a successful merge * Called by the UI after the deploy loop completes. Closes the request and marks every comment obsolete. Idempotent. * @param data The data for the request. * @param data.workspace * @param data.id * @returns string closed * @throws ApiError */ static closeDeploymentRequestMerged(data: CloseDeploymentRequestMergedData): CancelablePromise; /** * append a comment to an open deployment request * @param data The data for the request. * @param data.workspace * @param data.id * @param data.requestBody * @returns DeploymentRequestComment comment created * @throws ApiError */ static createDeploymentRequestComment(data: CreateDeploymentRequestCommentData): CancelablePromise; /** * log anonymous feature usage telemetry events * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns void logged * @throws ApiError */ static logFeatureUsage(data: LogFeatureUsageData): CancelablePromise; /** * get cloud quota usage and limits for workspace * @param data The data for the request. * @param data.workspace * @returns unknown cloud quota usage and limits * @throws ApiError */ static getCloudQuotas(data: GetCloudQuotasData): CancelablePromise; /** * prune old versions of scripts, flows, apps, or resources * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns unknown number of pruned versions * @throws ApiError */ static pruneVersions(data: PruneVersionsData): CancelablePromise; /** * list all workspace-specific items * @param data The data for the request. * @param data.workspace * @returns unknown list of workspace-specific items * @throws ApiError */ static listWsSpecific(data: ListWsSpecificData): CancelablePromise; /** * list workspace ids that have a version of the given item * @param data The data for the request. * @param data.workspace * @param data.kind * @param data.path * @returns string list of workspace ids that have a version of the item * @throws ApiError */ static listWsSpecificVersions(data: ListWsSpecificVersionsData): CancelablePromise; /** * mark or unmark an item as workspace-specific * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns string workspace-specific flag updated * @throws ApiError */ static setWsSpecific(data: SetWsSpecificData): CancelablePromise; /** * get the workspace shared UI folder (full content) * @param data The data for the request. * @param data.workspace * @returns unknown shared UI content * @throws ApiError */ static getSharedUi(data: GetSharedUiData): CancelablePromise; /** * list paths/sizes of the workspace shared UI folder * @param data The data for the request. * @param data.workspace * @returns unknown shared UI listing * @throws ApiError */ static listSharedUi(data: ListSharedUiData): CancelablePromise; /** * get the current version of the workspace shared UI folder * @param data The data for the request. * @param data.workspace * @returns unknown shared UI version * @throws ApiError */ static getSharedUiVersion(data: GetSharedUiVersionData): CancelablePromise; /** * replace the workspace shared UI folder (admin only) * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns string updated * @throws ApiError */ static updateSharedUi(data: UpdateSharedUiData): CancelablePromise; } export declare class SettingService { /** * Refreshes the passwords for the custom_instance_user and the custom_instance_replication_user (used by postgres triggers) * @returns unknown Success * @throws ApiError */ static refreshCustomInstanceUserPwd(): CancelablePromise; /** * Returns the set-up statuses of custom instance pg databases * @returns CustomInstanceDb Statuses of all custom instance dbs * @throws ApiError */ static listCustomInstanceDbs(): CancelablePromise; /** * list the instance's data table roles * @returns InstanceDatatableRole the instance role catalog * @throws ApiError */ static listInstanceDatatableRoles(): CancelablePromise; /** * create a data table role on the instance's Postgres cluster * @param data The data for the request. * @param data.requestBody * @returns InstanceDatatableRole the created role * @throws ApiError */ static createInstanceDatatableRole(data: CreateInstanceDatatableRoleData): CancelablePromise; /** * rename a data table role or turn its login on and off * @param data The data for the request. * @param data.id * @param data.requestBody * @returns InstanceDatatableRole the updated role * @throws ApiError */ static updateInstanceDatatableRole(data: UpdateInstanceDatatableRoleData): CancelablePromise; /** * drop a data table role from the cluster and from every workspace that named it * @param data The data for the request. * @param data.id * @returns unknown deleted * @throws ApiError */ static deleteInstanceDatatableRole(data: DeleteInstanceDatatableRoleData): CancelablePromise; /** * Runs CREATE DATABASE on the Windmill Postgres and grants access to the custom_instance_user * @param data The data for the request. * @param data.name The name of the database to create * @param data.requestBody * @returns CustomInstanceDb status * @throws ApiError */ static setupCustomInstanceDb(data: SetupCustomInstanceDbData): CancelablePromise; /** * Drops a custom instance database (superadmin only, irreversible) * @param data The data for the request. * @param data.name The name of the database to drop * @returns string status * @throws ApiError */ static dropCustomInstanceDb(data: DropCustomInstanceDbData): CancelablePromise; /** * get global settings * @param data The data for the request. * @param data.key * @returns unknown status * @throws ApiError */ static getGlobal(data: GetGlobalData): CancelablePromise; /** * post global settings * @param data The data for the request. * @param data.key * @param data.requestBody value set * @returns string status * @throws ApiError */ static setGlobal(data: SetGlobalData): CancelablePromise; /** * get the instance-wide announcement banner and accent color * Readable by any authenticated user; every page load reads it. Each value * is the raw stored setting, or null when unset. * * @returns unknown the instance_banner and accent_color settings * @throws ApiError */ static getInstanceUi(): CancelablePromise; /** * get instance ruff config (unauthenticated) * Returns the instance-level ruff.toml content as plain text. * Intentionally unauthenticated so the LSP extra container can poll it * across any deployment topology. Responds with an empty body when the * instance config is unset. Ruff configuration is lint/format policy, * not a credential. * * @returns string ruff.toml content (may be empty) * @throws ApiError */ static getRuffConfig(): CancelablePromise; /** * get local settings * @returns unknown status * @throws ApiError */ static getLocal(): CancelablePromise; /** * test smtp * @param data The data for the request. * @param data.requestBody test smtp payload * @returns string status * @throws ApiError */ static testSmtp(data: TestSmtpData): CancelablePromise; /** * test critical channels * @param data The data for the request. * @param data.requestBody test critical channel payload * @returns string status * @throws ApiError */ static testCriticalChannels(data: TestCriticalChannelsData): CancelablePromise; /** * Get all critical alerts * @param data The data for the request. * @param data.page * @param data.pageSize * @param data.acknowledged * @returns unknown Successfully retrieved all critical alerts * @throws ApiError */ static getCriticalAlerts(data?: GetCriticalAlertsData): CancelablePromise; /** * Acknowledge a critical alert * @param data The data for the request. * @param data.id The ID of the critical alert to acknowledge * @returns string Successfully acknowledged the critical alert * @throws ApiError */ static acknowledgeCriticalAlert(data: AcknowledgeCriticalAlertData): CancelablePromise; /** * Acknowledge all unacknowledged critical alerts * @returns string Successfully acknowledged all unacknowledged critical alerts. * @throws ApiError */ static acknowledgeAllCriticalAlerts(): CancelablePromise; /** * test license key * @param data The data for the request. * @param data.requestBody test license key * @returns string status * @throws ApiError */ static testLicenseKey(data: TestLicenseKeyData): CancelablePromise; /** * test object storage config * @param data The data for the request. * @param data.requestBody test object storage config * @returns string status * @throws ApiError */ static testObjectStorageConfig(data: TestObjectStorageConfigData): CancelablePromise; /** * get current or last object storage usage computation (null if never run) * @returns unknown current or last storage-usage computation state * @throws ApiError */ static getObjectStorageUsage(): CancelablePromise; /** * start a background computation of object storage usage by top-level folder * @returns string computation started * @throws ApiError */ static computeObjectStorageUsage(): CancelablePromise; /** * start a manual cleanup of expired logs from object storage * @returns string cleanup started * @throws ApiError */ static runLogCleanup(): CancelablePromise; /** * get status of the manual log cleanup task * @returns unknown current or last log cleanup status (null if never run) * @throws ApiError */ static getLogCleanupStatus(): CancelablePromise; /** * get status of the audit-log object-store export cursor * @returns unknown current export status (null if the feature was never enabled) * @throws ApiError */ static getAuditLogsS3Status(): CancelablePromise; /** * start an opt-in historical backfill of audit logs to object storage * @param data The data for the request. * @param data.requestBody * @returns unknown backfill started * @throws ApiError */ static runAuditLogsS3Backfill(data: RunAuditLogsS3BackfillData): CancelablePromise; /** * get status of the audit-log object-store historical backfill * @returns unknown current backfill status (null if never run) * @throws ApiError */ static getAuditLogsS3BackfillStatus(): CancelablePromise; /** * send stats * @returns string status * @throws ApiError */ static sendStats(): CancelablePromise; /** * restart worker group * Send a restart signal to all workers in the specified worker group. Workers will gracefully shut down and are expected to be restarted by their supervisor. Requires devops role. * @param data The data for the request. * @param data.workerGroup the name of the worker group to restart * @returns string restart signal sent * @throws ApiError */ static restartWorkerGroup(data: RestartWorkerGroupData): CancelablePromise; /** * get telemetry stats with HMAC signature (EE only) * @returns unknown telemetry stats JSON with signature * @throws ApiError */ static getStats(): CancelablePromise; /** * get latest key renewal attempt * @returns unknown status * @throws ApiError */ static getLatestKeyRenewalAttempt(): CancelablePromise; /** * renew license key * @param data The data for the request. * @param data.licenseKey * @returns string status * @throws ApiError */ static renewLicenseKey(data?: RenewLicenseKeyData): CancelablePromise; /** * get cap-usage status for the currently-loaded offline license * Returns the live cap status (seats used vs cap, current CU vs cap) for * the offline license key currently in use. Returns `null` if no offline * license is loaded. Super-admin only. * * @returns unknown cap status (or null when no offline license) * @throws ApiError */ static getOfflineLicenseStatus(): CancelablePromise; /** * per-instance binding hash for offline license issuance * Returns the hash a superadmin shares with Windmill support when * requesting an offline license. Super-admin only. * * @returns unknown instance hash * @throws ApiError */ static getInstanceHash(): CancelablePromise; /** * create customer portal session * @param data The data for the request. * @param data.licenseKey * @returns string url to portal * @throws ApiError */ static createCustomerPortalSession(data?: CreateCustomerPortalSessionData): CancelablePromise; /** * test metadata * @param data The data for the request. * @param data.requestBody test metadata * @returns string status * @throws ApiError */ static testMetadata(data: TestMetadataData): CancelablePromise; /** * list global settings * @returns GlobalSetting list of settings * @throws ApiError */ static listGlobalSettings(): CancelablePromise; /** * list git-sync repositories whose webhook still points at a previous receiver * @returns unknown repositories needing their git sync settings re-saved * @throws ApiError */ static githubAppStaleWebhooks(): CancelablePromise; /** * get full instance config (global settings + worker configs) * @returns InstanceConfig full instance configuration * @throws ApiError */ static getInstanceConfig(): CancelablePromise; /** * update instance config (bulk upsert, no deletes). Empty or missing global_settings/worker_configs are skipped. * @param data The data for the request. * @param data.requestBody full instance configuration to apply * @returns string instance config updated * @throws ApiError */ static setInstanceConfig(data: SetInstanceConfigData): CancelablePromise; /** * get minimum worker versions required to stay alive * @returns unknown minimum keep-alive versions for workers and agents * @throws ApiError */ static getMinKeepAliveVersion(): CancelablePromise; /** * get JWKS for Vault JWT authentication * @returns JwksResponse JSON Web Key Set * @throws ApiError */ static getJwks(): CancelablePromise; /** * test secret backend connection (HashiCorp Vault) * @param data The data for the request. * @param data.requestBody Vault settings to test * @returns string connection successful * @throws ApiError */ static testSecretBackend(data: TestSecretBackendData): CancelablePromise; /** * migrate secrets from database to HashiCorp Vault * @param data The data for the request. * @param data.requestBody Vault settings for migration target * @returns SecretMigrationReport migration report * @throws ApiError */ static migrateSecretsToVault(data: MigrateSecretsToVaultData): CancelablePromise; /** * migrate secrets from HashiCorp Vault to database * @param data The data for the request. * @param data.requestBody Vault settings for migration source * @returns SecretMigrationReport migration report * @throws ApiError */ static migrateSecretsToDatabase(data: MigrateSecretsToDatabaseData): CancelablePromise; /** * test Azure Key Vault connection * @param data The data for the request. * @param data.requestBody Azure Key Vault settings to test * @returns string connection successful * @throws ApiError */ static testAzureKvBackend(data: TestAzureKvBackendData): CancelablePromise; /** * migrate secrets from database to Azure Key Vault * @param data The data for the request. * @param data.requestBody Azure Key Vault settings for migration target * @returns SecretMigrationReport migration report * @throws ApiError */ static migrateSecretsToAzureKv(data: MigrateSecretsToAzureKvData): CancelablePromise; /** * migrate secrets from Azure Key Vault to database * @param data The data for the request. * @param data.requestBody Azure Key Vault settings for migration source * @returns SecretMigrationReport migration report * @throws ApiError */ static migrateSecretsFromAzureKv(data: MigrateSecretsFromAzureKvData): CancelablePromise; /** * test connection to AWS Secrets Manager * @param data The data for the request. * @param data.requestBody * @returns string connection test result * @throws ApiError */ static testAwsSmBackend(data: TestAwsSmBackendData): CancelablePromise; /** * migrate secrets from database to AWS Secrets Manager * @param data The data for the request. * @param data.requestBody * @returns SecretMigrationReport migration report * @throws ApiError */ static migrateSecretsToAwsSm(data: MigrateSecretsToAwsSmData): CancelablePromise; /** * migrate secrets from AWS Secrets Manager to database * @param data The data for the request. * @param data.requestBody * @returns SecretMigrationReport migration report * @throws ApiError */ static migrateSecretsFromAwsSm(data: MigrateSecretsFromAwsSmData): CancelablePromise; /** * get secondary storage names * @param data The data for the request. * @param data.workspace * @param data.includeDefault If true, include "_default_" in the list if primary workspace storage is set * @returns string status * @throws ApiError */ static getSecondaryStorageNames(data: GetSecondaryStorageNamesData): CancelablePromise; /** * Get all critical alerts for this workspace * @param data The data for the request. * @param data.workspace * @param data.page * @param data.pageSize * @param data.acknowledged * @returns unknown Successfully retrieved all critical alerts * @throws ApiError */ static workspaceGetCriticalAlerts(data: WorkspaceGetCriticalAlertsData): CancelablePromise; /** * Acknowledge a critical alert for this workspace * @param data The data for the request. * @param data.workspace * @param data.id The ID of the critical alert to acknowledge * @returns string Successfully acknowledged the critical alert * @throws ApiError */ static workspaceAcknowledgeCriticalAlert(data: WorkspaceAcknowledgeCriticalAlertData): CancelablePromise; /** * Acknowledge all unacknowledged critical alerts for this workspace * @param data The data for the request. * @param data.workspace * @returns string Successfully acknowledged all unacknowledged critical alerts. * @throws ApiError */ static workspaceAcknowledgeAllCriticalAlerts(data: WorkspaceAcknowledgeAllCriticalAlertsData): CancelablePromise; /** * Mute critical alert UI for this workspace * @param data The data for the request. * @param data.workspace * @param data.requestBody Boolean flag to mute critical alerts. * @returns string Successfully updated mute critical alert settings. * @throws ApiError */ static workspaceMuteCriticalAlertsUi(data: WorkspaceMuteCriticalAlertsUiData): CancelablePromise; /** * Set public app rate limit for this workspace * @param data The data for the request. * @param data.workspace * @param data.requestBody Public app rate limit configuration * @returns string Successfully updated public app rate limit settings. * @throws ApiError */ static setPublicAppRateLimit(data: SetPublicAppRateLimitData): CancelablePromise; } export declare class DbtService { /** * record the running job's settled dbt nodes * Job-scoped: needs a job token, and the job is taken from the token rather than the body. For workers with no database access. * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns unknown recorded * @throws ApiError */ static recordDbtRunProgress(data: RecordDbtRunProgressData): CancelablePromise; /** * resolve a dbt warehouse to the connection it names * Job-scoped: needs a job token, because the response carries the warehouse's credentials. dbt is unpermissioned by design, so a running job reaches any warehouse the workspace configures. * @param data The data for the request. * @param data.workspace * @param data.name * @returns DbtWarehouseConnection the connection the warehouse names * @throws ApiError */ static getDbtWarehouse(data: GetDbtWarehouseData): CancelablePromise; /** * check that a dbt warehouse is configured, without resolving it * Job-scoped: needs a job token. For a project bringing its own `profiles.yml`, which names a warehouse only to say where its assets belong and never opens the connection. * @param data The data for the request. * @param data.workspace * @param data.name * @returns unknown the warehouse is configured * @throws ApiError */ static dbtWarehouseExists(data: DbtWarehouseExistsData): CancelablePromise; } export declare class DataMetricService { /** * list declared measures and dimensions on DuckLake tables * Call this before writing any aggregate query over a DuckLake table. A declared measure is the canonical definition of that number, and reproducing it yourself will silently disagree with it (a `revenue` measure typically excludes refunds or test rows). Filter by `table` for one table's declarations, or by `path_prefix` (e.g. `f/analytics`) for everything declared under a folder; omit both to browse the whole catalog. Results are keyset-paged: a full page may mean more remain, so continue with the `cursor_*` params rather than assuming a measure does not exist. Use each returned `expr` verbatim, and when a measure has a `filter` write it as `expr FILTER (WHERE filter)` so measures with different predicates can share one GROUP BY. If a number you need has no declared measure, write your own aggregate as usual. Results are limited to declarations whose producing script the caller can read. * * @param data The data for the request. * @param data.workspace * @param data.table DuckLake table path, with or without the `ducklake://` scheme * @param data.pathPrefix Producing script path prefix, e.g. `f/analytics` * @param data.perPage Results per page, capped at 1000 (default 1000) * @param data.cursorTable Keyset cursor. To page, pass the previous response's `next_cursor` fields back as `cursor_*`; all four move together, and are omitted for the first page. Continue whenever `next_cursor` is present. Every returned row is one the caller may read, so the cursor never names a hidden row. * * @param data.cursorKind * @param data.cursorName * @param data.cursorScript * @returns unknown declared measures and dimensions * @throws ApiError */ static listDataMetrics(data: ListDataMetricsData): CancelablePromise; } export declare class TokenService { /** * list of available scopes * @returns ScopeDomain list of available scopes * @throws ApiError */ static listAvailableScopes(): CancelablePromise; } export declare class OidcService { /** * get OIDC token (ee only) * @param data The data for the request. * @param data.workspace * @param data.audience * @param data.expiresIn * @returns string new oidc token * @throws ApiError */ static getOidcToken(data: GetOidcTokenData): CancelablePromise; } export declare class VariableService { /** * create variable * @param data The data for the request. * @param data.workspace * @param data.requestBody new variable * @param data.alreadyEncrypted whether the variable is already encrypted (default false) * @returns string variable created * @throws ApiError */ static createVariable(data: CreateVariableData): CancelablePromise; /** * encrypt value * @param data The data for the request. * @param data.workspace * @param data.requestBody new variable * @returns string encrypted value * @throws ApiError */ static encryptValue(data: EncryptValueData): CancelablePromise; /** * delete variable * @param data The data for the request. * @param data.workspace * @param data.path * @returns string variable deleted * @throws ApiError */ static deleteVariable(data: DeleteVariableData): CancelablePromise; /** * delete variables in bulk * @param data The data for the request. * @param data.workspace * @param data.requestBody paths to delete * @returns string deleted paths * @throws ApiError */ static deleteVariablesBulk(data: DeleteVariablesBulkData): CancelablePromise; /** * update variable * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody updated variable * @param data.alreadyEncrypted whether the variable is already encrypted (default false) * @returns string variable updated * @throws ApiError */ static updateVariable(data: UpdateVariableData): CancelablePromise; /** * get variable * @param data The data for the request. * @param data.workspace * @param data.path * @param data.decryptSecret ask to decrypt secret if this variable is secret * (if not secret no effect, default: true) * * @param data.includeEncrypted ask to include the encrypted value if secret and decrypt secret is not true (default: false) * * @param data.getDraft When true, overlay the authed user's draft (if any) onto the deployed payload. * @returns unknown variable * @throws ApiError */ static getVariable(data: GetVariableData): CancelablePromise; /** * get variable value * @param data The data for the request. * @param data.workspace * @param data.path * @param data.allowCache allow getting a cached value for improved performance * * @returns string variable * @throws ApiError */ static getVariableValue(data: GetVariableValueData): CancelablePromise; /** * does variable exists at path * @param data The data for the request. * @param data.workspace * @param data.path * @returns boolean variable * @throws ApiError */ static existsVariable(data: ExistsVariableData): CancelablePromise; /** * list variables * @param data The data for the request. * @param data.workspace * @param data.pathStart filter variables by path prefix * @param data.path exact path match filter * @param data.description pattern match filter for description field (case-insensitive) * @param data.value pattern match filter for non-secret variable values (case-insensitive) * @param data.broadFilter broad search across multiple fields (case-insensitive substring match) * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.label Filter by label * @param data.includeDraftOnly When true, append per-user draft variables whose path has no * deployed variable. Synthesized rows carry `draft_only: true` * so the home page can render a "Draft" badge. * * @returns ListableVariable variable list * @throws ApiError */ static listVariable(data: ListVariableData): CancelablePromise; /** * list contextual variables * @param data The data for the request. * @param data.workspace * @returns ContextualVariable contextual variable list * @throws ApiError */ static listContextualVariables(data: ListContextualVariablesData): CancelablePromise; } export declare class OauthService { /** * connect slack callback * @param data The data for the request. * @param data.workspace * @param data.requestBody code endpoint * @returns string slack token * @throws ApiError */ static connectSlackCallback(data: ConnectSlackCallbackData): CancelablePromise; /** * connect slack callback instance * @param data The data for the request. * @param data.requestBody code endpoint * @returns string success message * @throws ApiError */ static connectSlackCallbackInstance(data: ConnectSlackCallbackInstanceData): CancelablePromise; /** * connect slack instance (non-interactive; pre-minted bot token) * @param data The data for the request. * @param data.requestBody connect slack at the instance level with a pre-minted bot token * @returns unknown status * @throws ApiError */ static connectSlackInstance(data: ConnectSlackInstanceData): CancelablePromise; /** * connect callback * @param data The data for the request. * @param data.clientName * @param data.requestBody code endpoint * @returns TokenResponse oauth token * @throws ApiError */ static connectCallback(data: ConnectCallbackData): CancelablePromise; /** * create OAuth account * @param data The data for the request. * @param data.workspace * @param data.requestBody code endpoint * @returns string account set * @throws ApiError */ static createAccount(data: CreateAccountData): CancelablePromise; /** * connect OAuth using client credentials * @param data The data for the request. * @param data.workspace * @param data.client OAuth client name * @param data.requestBody client credentials flow parameters * @returns TokenResponse OAuth token response * @throws ApiError */ static connectClientCredentials(data: ConnectClientCredentialsData): CancelablePromise; /** * refresh token * @param data The data for the request. * @param data.workspace * @param data.id * @param data.requestBody variable path * @returns string token refreshed * @throws ApiError */ static refreshToken(data: RefreshTokenData): CancelablePromise; /** * disconnect account * @param data The data for the request. * @param data.workspace * @param data.id * @returns string disconnected client * @throws ApiError */ static disconnectAccount(data: DisconnectAccountData): CancelablePromise; /** * disconnect slack * @param data The data for the request. * @param data.workspace * @returns string disconnected slack * @throws ApiError */ static disconnectSlack(data: DisconnectSlackData): CancelablePromise; /** * disconnect teams * @param data The data for the request. * @param data.workspace * @returns string disconnected teams * @throws ApiError */ static disconnectTeams(data: DisconnectTeamsData): CancelablePromise; /** * list oauth logins * @returns unknown list of oauth and saml login clients * @throws ApiError */ static listOauthLogins(): CancelablePromise; /** * list oauth connects * @returns unknown list of oauth connects clients * @throws ApiError */ static listOauthConnects(): CancelablePromise; /** * get oauth connect * @param data The data for the request. * @param data.client client name * @returns unknown get * @throws ApiError */ static getOauthConnect(data: GetOauthConnectData): CancelablePromise; } export declare class TeamsService { /** * send update to Microsoft Teams activity * Respond to a Microsoft Teams activity after a workspace command is run * @param data The data for the request. * @param data.requestBody * @returns unknown Activity processed successfully * @throws ApiError */ static sendMessageToConversation(data: SendMessageToConversationData): CancelablePromise; } export declare class ResourceService { /** * create resource * @param data The data for the request. * @param data.workspace * @param data.requestBody new resource * @param data.updateIfExists update the resource if it already exists (default false) * @returns string resource created * @throws ApiError */ static createResource(data: CreateResourceData): CancelablePromise; /** * delete resource * @param data The data for the request. * @param data.workspace * @param data.path * @returns string resource deleted * @throws ApiError */ static deleteResource(data: DeleteResourceData): CancelablePromise; /** * delete resources in bulk * @param data The data for the request. * @param data.workspace * @param data.requestBody paths to delete * @returns string deleted paths * @throws ApiError */ static deleteResourcesBulk(data: DeleteResourcesBulkData): CancelablePromise; /** * update resource * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody updated resource * @returns string resource updated * @throws ApiError */ static updateResource(data: UpdateResourceData): CancelablePromise; /** * update resource value * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody updated resource * @returns string resource value updated * @throws ApiError */ static updateResourceValue(data: UpdateResourceValueData): CancelablePromise; /** * get resource version history * @param data The data for the request. * @param data.workspace * @param data.path * @returns unknown resource version history * @throws ApiError */ static getResourceHistory(data: GetResourceHistoryData): CancelablePromise; /** * clear a resource's past versions, keeping only the current value * @param data The data for the request. * @param data.workspace * @param data.path * @returns string history cleared * @throws ApiError */ static clearResourceHistory(data: ClearResourceHistoryData): CancelablePromise; /** * get a single resource version, with its value * @param data The data for the request. * @param data.workspace * @param data.id The version's id, not its number. * @returns unknown resource version * @throws ApiError */ static getResourceVersion(data: GetResourceVersionData): CancelablePromise; /** * restore a resource to a previous version * @param data The data for the request. * @param data.workspace * @param data.id The version's id, not its number. * @returns string resource restored * @throws ApiError */ static restoreResourceVersion(data: RestoreResourceVersionData): CancelablePromise; /** * get resource * @param data The data for the request. * @param data.workspace * @param data.path * @param data.getDraft When true, overlay the authed user's draft (if any) onto the deployed payload. * @returns unknown resource * @throws ApiError */ static getResource(data: GetResourceData): CancelablePromise; /** * get resource interpolated (variables and resources are fully unrolled) * @param data The data for the request. * @param data.workspace * @param data.path * @param data.jobId job id * @param data.allowCache allow getting a cached value for improved performance * @returns unknown resource value * @throws ApiError */ static getResourceValueInterpolated(data: GetResourceValueInterpolatedData): CancelablePromise; /** * get resource value * @param data The data for the request. * @param data.workspace * @param data.path * @returns unknown resource value * @throws ApiError */ static getResourceValue(data: GetResourceValueData): CancelablePromise; /** * get git repository latest commit hash * @param data The data for the request. * @param data.workspace * @param data.path * @param data.gitSshIdentity * @returns unknown git commit hash * @throws ApiError */ static getGitCommitHash(data: GetGitCommitHashData): CancelablePromise; /** * does resource exists * @param data The data for the request. * @param data.workspace * @param data.path * @returns boolean does resource exists * @throws ApiError */ static existsResource(data: ExistsResourceData): CancelablePromise; /** * list resources * @param data The data for the request. * @param data.workspace * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.resourceType resource_types to list from, separated by ',', * @param data.resourceTypeExclude resource_types to not list from, separated by ',', * @param data.pathStart filter resources by path prefix * @param data.path exact path match filter * @param data.description pattern match filter for description field (case-insensitive) * @param data.value JSONB subset match filter using base64 encoded JSON * @param data.broadFilter broad search across multiple fields (case-insensitive substring match) * @param data.label Filter by label * @param data.includeDraftOnly When true, append per-user draft resources whose path has * no deployed resource. Synthesized rows carry * `draft_only: true`. * * @returns ListableResource resource list * @throws ApiError */ static listResource(data: ListResourceData): CancelablePromise; /** * list resources for search * @param data The data for the request. * @param data.workspace * @returns unknown resource list * @throws ApiError */ static listSearchResource(data: ListSearchResourceData): CancelablePromise; /** * get MCP tools from resource * @param data The data for the request. * @param data.workspace * @param data.path * @returns unknown list of MCP tools * @throws ApiError */ static getMcpTools(data: GetMcpToolsData): CancelablePromise; /** * call a tool on the MCP server described by the resource * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody tool name and arguments * @returns unknown the MCP tool result, forwarded verbatim. A tool that ran but failed * returns 200 with isError true. * * @throws ApiError */ static callMcpTool(data: CallMcpToolData): CancelablePromise; /** * list resource names * @param data The data for the request. * @param data.workspace * @param data.name * @returns unknown resource list names * @throws ApiError */ static listResourceNames(data: ListResourceNamesData): CancelablePromise; /** * create resource_type * @param data The data for the request. * @param data.workspace * @param data.requestBody new resource_type * @returns string resource_type created * @throws ApiError */ static createResourceType(data: CreateResourceTypeData): CancelablePromise; /** * get map from resource type to format extension * @param data The data for the request. * @param data.workspace * @returns unknown map from resource type to file resource info * @throws ApiError */ static fileResourceTypeToFileExtMap(data: FileResourceTypeToFileExtMapData): CancelablePromise; /** * delete resource_type * @param data The data for the request. * @param data.workspace * @param data.path * @returns string resource_type deleted * @throws ApiError */ static deleteResourceType(data: DeleteResourceTypeData): CancelablePromise; /** * update resource_type * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody updated resource_type * @returns string resource_type updated * @throws ApiError */ static updateResourceType(data: UpdateResourceTypeData): CancelablePromise; /** * get resource_type * @param data The data for the request. * @param data.workspace * @param data.path * @returns ResourceType resource_type deleted * @throws ApiError */ static getResourceType(data: GetResourceTypeData): CancelablePromise; /** * does resource_type exists * @param data The data for the request. * @param data.workspace * @param data.path * @returns boolean does resource_type exist * @throws ApiError */ static existsResourceType(data: ExistsResourceTypeData): CancelablePromise; /** * list resource_types * @param data The data for the request. * @param data.workspace * @returns ResourceType resource_type list * @throws ApiError */ static listResourceType(data: ListResourceTypeData): CancelablePromise; /** * list resource_types names * @param data The data for the request. * @param data.workspace * @returns string resource_type list * @throws ApiError */ static listResourceTypeNames(data: ListResourceTypeNamesData): CancelablePromise; /** * count the workspace's resources per resource type * @param data The data for the request. * @param data.workspace * @returns unknown resource count per resource_type * @throws ApiError */ static listResourceCountsByType(data: ListResourceCountsByTypeData): CancelablePromise; /** * list what the hub knows about its resource types * @param data The data for the request. * @param data.workspace * @returns unknown each hub resource type with its integration and pick count, empty if the hub answers neither read * @throws ApiError */ static listHubResourceTypeInfo(data: ListHubResourceTypeInfoData): CancelablePromise; /** * record a hub resource type pick * @param data The data for the request. * @param data.workspace * @param data.name * @returns unknown whether the hub recorded the pick * @throws ApiError */ static pickHubResourceType(data: PickHubResourceTypeData): CancelablePromise; /** * query resource types by similarity * @param data The data for the request. * @param data.workspace * @param data.text query text * @param data.limit query limit * @returns unknown resource type details * @throws ApiError */ static queryResourceTypes(data: QueryResourceTypesData): CancelablePromise; } export declare class NpmProxyService { /** * get npm proxy configuration * @param data The data for the request. * @param data.workspace * @returns unknown npm proxy configuration * @throws ApiError */ static getNpmProxyConfig(data: GetNpmProxyConfigData): CancelablePromise; /** * get npm package metadata from private registry * @param data The data for the request. * @param data.workspace * @param data._package npm package name * @returns unknown package metadata * @throws ApiError */ static getNpmPackageMetadata(data: GetNpmPackageMetadataData): CancelablePromise; /** * resolve npm package version from private registry * @param data The data for the request. * @param data.workspace * @param data._package npm package name * @param data.tag version tag or reference * @returns unknown resolved version * @throws ApiError */ static resolveNpmPackageVersion(data: ResolveNpmPackageVersionData): CancelablePromise; /** * get npm package file tree from private registry * @param data The data for the request. * @param data.workspace * @param data._package npm package name * @param data.version package version * @returns unknown package file tree * @throws ApiError */ static getNpmPackageFiletree(data: GetNpmPackageFiletreeData): CancelablePromise; /** * get specific file from npm package in private registry * @param data The data for the request. * @param data.workspace * @param data._package npm package name * @param data.version package version * @param data.filepath file path within package * @returns string file content * @throws ApiError */ static getNpmPackageFile(data: GetNpmPackageFileData): CancelablePromise; /** * get npm package tarball from private registry * @param data The data for the request. * @param data.workspace * @param data._package npm package name * @param data.version package version * @returns binary package tarball * @throws ApiError */ static getNpmPackageTarball(data: GetNpmPackageTarballData): CancelablePromise; } export declare class IntegrationService { /** * list hub integrations * @param data The data for the request. * @param data.kind query integrations kind * @returns unknown integrations details * @throws ApiError */ static listHubIntegrations(data?: ListHubIntegrationsData): CancelablePromise; } export declare class FlowService { /** * list all hub flows * @returns unknown hub flows list * @throws ApiError */ static listHubFlows(): CancelablePromise; /** * get hub flow by id * @param data The data for the request. * @param data.id * @returns unknown flow * @throws ApiError */ static getHubFlowById(data: GetHubFlowByIdData): CancelablePromise; /** * list all flow paths * @param data The data for the request. * @param data.workspace * @returns string list of flow paths * @throws ApiError */ static listFlowPaths(data: ListFlowPathsData): CancelablePromise; /** * list flows for search * @param data The data for the request. * @param data.workspace * @returns unknown flow list * @throws ApiError */ static listSearchFlow(data: ListSearchFlowData): CancelablePromise; /** * list all flows * @param data The data for the request. * @param data.workspace * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.orderDesc order by desc order (default true) * @param data.createdBy filter by exact matching user creator. Supports comma-separated list (e.g. 'alice,bob') and negation by prefixing all values with '!' (e.g. '!alice,!bob') * @param data.pathStart mask to filter matching starting path * @param data.pathExact mask to filter exact matching path * @param data.showArchived (default false) * show only the archived files. * when multiple archived hash share the same path, only the ones with the latest create_at * are displayed. * * @param data.starredOnly (default false) * show only the starred items * * @param data.includeDraftOnly (default false) * include items that have no deployed version * * @param data.withDeploymentMsg (default false) * include deployment message * * @param data.withoutDescription (default false) * If true, the description field will be omitted from the response. * * @param data.dedicatedWorker (default regardless) * If true, show only flows with dedicated_worker enabled. * If false, show only flows with dedicated_worker disabled. * * @param data.label Filter by label * @returns unknown All flow * @throws ApiError */ static listFlows(data: ListFlowsData): CancelablePromise; /** * get flow history by path * @param data The data for the request. * @param data.workspace * @param data.path * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @returns FlowVersion Flow history * @throws ApiError */ static getFlowHistory(data: GetFlowHistoryData): CancelablePromise; /** * get flow's latest version * @param data The data for the request. * @param data.workspace * @param data.path * @returns FlowVersion Flow version * @throws ApiError */ static getFlowLatestVersion(data: GetFlowLatestVersionData): CancelablePromise; /** * list flow paths from workspace runnable * @param data The data for the request. * @param data.workspace * @param data.runnableKind * @param data.path * @param data.matchPathStart * @returns string list of flow paths * @throws ApiError */ static listFlowPathsFromWorkspaceRunnable(data: ListFlowPathsFromWorkspaceRunnableData): CancelablePromise; /** * list flow paths with a step linked to a saved agent * @param data The data for the request. * @param data.workspace * @param data.path * @returns string paths of the flows linking the `ai_agent` resource, as of their last deploy * @throws ApiError */ static listFlowPathsLinkingAgent(data: ListFlowPathsLinkingAgentData): CancelablePromise; /** * get flow version * @param data The data for the request. * @param data.workspace * @param data.version * @returns Flow flow details * @throws ApiError */ static getFlowVersion(data: GetFlowVersionData): CancelablePromise; /** * update flow history * @param data The data for the request. * @param data.workspace * @param data.version * @param data.requestBody Flow deployment message * @returns string success * @throws ApiError */ static updateFlowHistory(data: UpdateFlowHistoryData): CancelablePromise; /** * get flow by path * @param data The data for the request. * @param data.workspace * @param data.path * @param data.withStarredInfo * @param data.getDraft When true, overlay the authed user's draft (if any) onto the deployed payload. * @returns unknown flow details * @throws ApiError */ static getFlowByPath(data: GetFlowByPathData): CancelablePromise; /** * get flow deployment status * @param data The data for the request. * @param data.workspace * @param data.path * @returns unknown flow status * @throws ApiError */ static getFlowDeploymentStatus(data: GetFlowDeploymentStatusData): CancelablePromise; /** * get triggers count of flow * @param data The data for the request. * @param data.workspace * @param data.path * @returns TriggersCount triggers count * @throws ApiError */ static getTriggersCountOfFlow(data: GetTriggersCountOfFlowData): CancelablePromise; /** * get tokens with flow scope * @param data The data for the request. * @param data.workspace * @param data.path * @returns TruncatedToken tokens list * @throws ApiError */ static listTokensOfFlow(data: ListTokensOfFlowData): CancelablePromise; /** * Toggle ON and OFF the workspace error handler for a given flow * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody Workspace error handler enabled * @returns string error handler toggled * @throws ApiError */ static toggleWorkspaceErrorHandlerForFlow(data: ToggleWorkspaceErrorHandlerForFlowData): CancelablePromise; /** * exists flow by path * @param data The data for the request. * @param data.workspace * @param data.path * @returns boolean flow details * @throws ApiError */ static existsFlowByPath(data: ExistsFlowByPathData): CancelablePromise; /** * create flow * @param data The data for the request. * @param data.workspace * @param data.requestBody Partially filled flow * @returns string flow created * @throws ApiError */ static createFlow(data: CreateFlowData): CancelablePromise; /** * update flow * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody Partially filled flow * @returns string flow updated * @throws ApiError */ static updateFlow(data: UpdateFlowData): CancelablePromise; /** * archive flow by path * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody archiveFlow * @returns string flow archived * @throws ApiError */ static archiveFlowByPath(data: ArchiveFlowByPathData): CancelablePromise; /** * delete flow by path * @param data The data for the request. * @param data.workspace * @param data.path * @param data.keepCaptures keep captures * @returns string flow delete * @throws ApiError */ static deleteFlowByPath(data: DeleteFlowByPathData): CancelablePromise; } export declare class AppService { /** * list all hub apps * @returns unknown hub apps list * @throws ApiError */ static listHubApps(): CancelablePromise; /** * get hub app by id * @param data The data for the request. * @param data.id * @returns unknown app * @throws ApiError */ static getHubAppById(data: GetHubAppByIdData): CancelablePromise; /** * get hub raw app by id * @param data The data for the request. * @param data.id * @returns unknown raw app * @throws ApiError */ static getHubRawAppById(data: GetHubRawAppByIdData): CancelablePromise; /** * whether the app behind a custom path admits guests * The custom-path counterpart of `getGuestEntry`. Unauthenticated; 404 unless the app's execution mode is `guest` AND its workspace has `guest_access_enabled` AND the instance has not set `guest_access_disabled`, and never on a deployment where guests are unavailable (the shared cloud). Returns the workspace too, since a custom URL may not carry it. * @param data The data for the request. * @param data.customPath * @returns GuestEntry the app is open to guests * @throws ApiError */ static getGuestEntryByCustomPath(data: GetGuestEntryByCustomPathData): CancelablePromise; /** * get public app by custom path * @param data The data for the request. * @param data.customPath * @returns unknown app details * @throws ApiError */ static getPublicAppByCustomPath(data: GetPublicAppByCustomPathData): CancelablePromise; /** * get app embed token by custom path * @param data The data for the request. * @param data.customPath * @param data.sdkConsent Raw apps: the viewer confirmed the frontend-SDK permissions consent banner, so the viewer-scoped SDK token may actually be minted. Without it the response only advertises the declared sdk_scopes. * * @returns EmbedTokenResponse embed token * @throws ApiError */ static getAppEmbedTokenByCustomPath(data: GetAppEmbedTokenByCustomPathData): CancelablePromise; /** * get raw app data by * @param data The data for the request. * @param data.workspace * @param data.secretWithExtension App version secret suffixed with the requested file type extension. Supported extensions are `.js` (JavaScript bundle), `.css` (stylesheet), and `.html` (sandboxed wrapper document). * @returns string app details * @throws ApiError */ static getRawAppData(data: GetRawAppDataData): CancelablePromise; /** * list apps for search * @param data The data for the request. * @param data.workspace * @returns unknown app list * @throws ApiError */ static listSearchApp(data: ListSearchAppData): CancelablePromise; /** * list all apps * @param data The data for the request. * @param data.workspace * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.orderDesc order by desc order (default true) * @param data.createdBy filter by exact matching user creator. Supports comma-separated list (e.g. 'alice,bob') and negation by prefixing all values with '!' (e.g. '!alice,!bob') * @param data.pathStart mask to filter matching starting path * @param data.pathExact mask to filter exact matching path * @param data.starredOnly (default false) * show only the starred items * * @param data.includeDraftOnly (default false) * include items that have no deployed version * * @param data.withDeploymentMsg (default false) * include deployment message * * @param data.label Filter by label * @returns ListableApp All apps * @throws ApiError */ static listApps(data: ListAppsData): CancelablePromise; /** * create app * @param data The data for the request. * @param data.workspace * @param data.requestBody new app * @returns string app created * @throws ApiError */ static createApp(data: CreateAppData): CancelablePromise; /** * create app raw * @param data The data for the request. * @param data.workspace * @param data.formData new app * @returns string app created * @throws ApiError */ static createAppRaw(data: CreateAppRawData): CancelablePromise; /** * does an app exisst at path * @param data The data for the request. * @param data.workspace * @param data.path * @returns boolean app exists * @throws ApiError */ static existsApp(data: ExistsAppData): CancelablePromise; /** * get app by path * @param data The data for the request. * @param data.workspace * @param data.path * @param data.withStarredInfo * @param data.getDraft When true, overlay the authed user's draft (if any) onto the deployed payload. * @param data.rawApp When no deployed app exists at this path and `get_draft` is set, * disambiguates which draft kind (`raw_app` or `app`) to look up. * Ignored when a deployed row exists. * * @returns unknown app details * @throws ApiError */ static getAppByPath(data: GetAppByPathData): CancelablePromise; /** * mint a frontend SDK token for the raw app editor's preview * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns string the token * @throws ApiError */ static mintPreviewSdkToken(data: MintPreviewSdkTokenData): CancelablePromise; /** * get app embed token by path * @param data The data for the request. * @param data.workspace * @param data.path * @param data.sdkConsent Raw apps: the viewer confirmed the frontend-SDK permissions consent banner, so the viewer-scoped SDK token may actually be minted. Without it the response only advertises the declared sdk_scopes. * * @returns EmbedTokenResponse embed token * @throws ApiError */ static getAppEmbedTokenByPath(data: GetAppEmbedTokenByPathData): CancelablePromise; /** * get app lite by path * @param data The data for the request. * @param data.workspace * @param data.path * @returns AppWithLastVersion app lite details * @throws ApiError */ static getAppLiteByPath(data: GetAppLiteByPathData): CancelablePromise; /** * get app history by path * @param data The data for the request. * @param data.workspace * @param data.path * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @returns AppHistory app history * @throws ApiError */ static getAppHistoryByPath(data: GetAppHistoryByPathData): CancelablePromise; /** * get apps's latest version * @param data The data for the request. * @param data.workspace * @param data.path * @returns AppHistory App version * @throws ApiError */ static getAppLatestVersion(data: GetAppLatestVersionData): CancelablePromise; /** * list app paths from workspace runnable * @param data The data for the request. * @param data.workspace * @param data.runnableKind * @param data.path * @returns string list of app paths * @throws ApiError */ static listAppPathsFromWorkspaceRunnable(data: ListAppPathsFromWorkspaceRunnableData): CancelablePromise; /** * update app history * @param data The data for the request. * @param data.workspace * @param data.id * @param data.version * @param data.requestBody App deployment message * @returns string success * @throws ApiError */ static updateAppHistory(data: UpdateAppHistoryData): CancelablePromise; /** * whether the app behind a share secret admits guests * Unauthenticated: what a signed-out visitor reads to learn that signing in would let them in. 404 unless the app's execution mode is `guest` AND the workspace has `guest_access_enabled` AND the instance has not set the `guest_access_disabled` global setting, and never on a deployment where guests are unavailable (the shared cloud), so it says nothing about apps that are not open to guests. Discloses only the app path, to a caller already holding the share secret. * @param data The data for the request. * @param data.workspace * @param data.path * @returns GuestEntry the app is open to guests * @throws ApiError */ static getGuestEntry(data: GetGuestEntryData): CancelablePromise; /** * get public app by secret * @param data The data for the request. * @param data.workspace * @param data.path * @returns AppWithLastVersion app details * @throws ApiError */ static getPublicAppBySecret(data: GetPublicAppBySecretData): CancelablePromise; /** * get app embed token by secret * @param data The data for the request. * @param data.workspace * @param data.secret * @param data.sdkConsent Raw apps: the viewer confirmed the frontend-SDK permissions consent banner, so the viewer-scoped SDK token may actually be minted. Without it the response only advertises the declared sdk_scopes. * * @returns EmbedTokenResponse embed token * @throws ApiError */ static getAppEmbedTokenBySecret(data: GetAppEmbedTokenBySecretData): CancelablePromise; /** * get public resource * @param data The data for the request. * @param data.workspace * @param data.path * @returns unknown resource value * @throws ApiError */ static getPublicResource(data: GetPublicResourceData): CancelablePromise; /** * get public secret of app * @param data The data for the request. * @param data.workspace * @param data.path * @returns string app secret * @throws ApiError */ static getPublicSecretOfApp(data: GetPublicSecretOfAppData): CancelablePromise; /** * get public secret of latest version of an app bundle * @param data The data for the request. * @param data.workspace * @param data.path * @returns string app secret * @throws ApiError */ static getPublicSecretOfLatestVersionOfApp(data: GetPublicSecretOfLatestVersionOfAppData): CancelablePromise; /** * get app by version * @param data The data for the request. * @param data.workspace * @param data.id * @returns AppWithLastVersion app details * @throws ApiError */ static getAppByVersion(data: GetAppByVersionData): CancelablePromise; /** * delete app * @param data The data for the request. * @param data.workspace * @param data.path * @returns string app deleted * @throws ApiError */ static deleteApp(data: DeleteAppData): CancelablePromise; /** * update app * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody update app * @returns AppDeployed app updated * @throws ApiError */ static updateApp(data: UpdateAppData): CancelablePromise; /** * create a raw app from its sources, compiling them on a worker (which runs the app's own dependencies to do so) * @param data The data for the request. * @param data.workspace * @param data.requestBody raw app sources to bundle and deploy * @returns string app created * @throws ApiError */ static createAppRawSource(data: CreateAppRawSourceData): CancelablePromise; /** * update a raw app from its sources, compiling them on a worker (which runs the app's own dependencies to do so) * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody raw app sources to bundle and deploy * @returns AppDeployed app updated * @throws ApiError */ static updateAppRawSource(data: UpdateAppRawSourceData): CancelablePromise; /** * update app * @param data The data for the request. * @param data.workspace * @param data.path * @param data.formData update app * @returns AppDeployed app updated * @throws ApiError */ static updateAppRaw(data: UpdateAppRawData): CancelablePromise; /** * check if custom path exists * @param data The data for the request. * @param data.workspace * @param data.customPath * @returns boolean custom path exists * @throws ApiError */ static customPathExists(data: CustomPathExistsData): CancelablePromise; /** * sign s3 objects (caller must have S3 read permission on each key); the signed URLs can then be used by anonymous users in public apps * @param data The data for the request. * @param data.workspace * @param data.requestBody s3 objects to sign * @returns S3Object signed s3 objects * @throws ApiError */ static signS3Objects(data: SignS3ObjectsData): CancelablePromise; /** * executeComponent * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody update app * @returns string job uuid * @throws ApiError */ static executeComponent(data: ExecuteComponentData): CancelablePromise; /** * upload s3 file from app * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody File content * @param data.fileKey * @param data.fileExtension * @param data.s3ResourcePath * @param data.resourceType * @param data.storage * @param data.contentType * @param data.contentDisposition * @returns unknown file uploaded * @throws ApiError */ static uploadS3FileFromApp(data: UploadS3FileFromAppData): CancelablePromise; /** * delete s3 file from app * @param data The data for the request. * @param data.workspace * @param data.deleteToken * @returns string file deleted * @throws ApiError */ static deleteS3FileFromApp(data: DeleteS3FileFromAppData): CancelablePromise; /** * Load metadata of an s3 file on-behalf of the app author (deployed app) * @param data The data for the request. * @param data.workspace * @param data.path * @param data.fileKey * @param data.storage * @param data.sig HMAC signature of a presigned S3 object (bypasses the app provenance gate) * @param data.exp Expiry timestamp of a presigned S3 object signature * @returns WindmillFileMetadata FileMetadata * @throws ApiError */ static appLoadFileMetadata(data: AppLoadFileMetadataData): CancelablePromise; /** * Load a preview of an s3 file on-behalf of the app author (deployed app) * @param data The data for the request. * @param data.workspace * @param data.path * @param data.fileKey * @param data.readBytesFrom * @param data.readBytesLength * @param data.fileSizeInBytes * @param data.fileMimeType * @param data.csvSeparator * @param data.csvHasHeader * @param data.storage * @param data.sig HMAC signature of a presigned S3 object (bypasses the app provenance gate) * @param data.exp Expiry timestamp of a presigned S3 object signature * @returns WindmillFilePreview FilePreview * @throws ApiError */ static appLoadFilePreview(data: AppLoadFilePreviewData): CancelablePromise; /** * Load a preview of a parquet file on-behalf of the app author (deployed app) * @param data The data for the request. * @param data.workspace * @param data.path * @param data.fileKey * @param data.offset * @param data.limit * @param data.sortCol * @param data.sortDesc * @param data.searchCol * @param data.searchTerm * @param data.storage * @param data.sig HMAC signature of a presigned S3 object (bypasses the app provenance gate) * @param data.exp Expiry timestamp of a presigned S3 object signature * @returns unknown Parquet Preview * @throws ApiError */ static appLoadParquetPreview(data: AppLoadParquetPreviewData): CancelablePromise; /** * Load a preview of a csv file on-behalf of the app author (deployed app) * @param data The data for the request. * @param data.workspace * @param data.path * @param data.fileKey * @param data.offset * @param data.limit * @param data.sortCol * @param data.sortDesc * @param data.searchCol * @param data.searchTerm * @param data.storage * @param data.csvSeparator * @param data.sig HMAC signature of a presigned S3 object (bypasses the app provenance gate) * @param data.exp Expiry timestamp of a presigned S3 object signature * @returns unknown Csv Preview * @throws ApiError */ static appLoadCsvPreview(data: AppLoadCsvPreviewData): CancelablePromise; /** * Load the table row count on-behalf of the app author (deployed app) * @param data The data for the request. * @param data.workspace * @param data.path * @param data.fileKey * @param data.searchCol * @param data.searchTerm * @param data.storage * @param data.sig HMAC signature of a presigned S3 object (bypasses the app provenance gate) * @param data.exp Expiry timestamp of a presigned S3 object signature * @returns unknown Table count * @throws ApiError */ static appLoadTableCount(data: AppLoadTableCountData): CancelablePromise; /** * Download a parquet s3 file as csv on-behalf of the app author (deployed app) * @param data The data for the request. * @param data.workspace * @param data.path * @param data.fileKey * @param data.storage * @param data.sig HMAC signature of a presigned S3 object (bypasses the app provenance gate) * @param data.exp Expiry timestamp of a presigned S3 object signature * @returns string The downloaded file * @throws ApiError */ static appDownloadS3ParquetFileAsCsv(data: AppDownloadS3ParquetFileAsCsvData): CancelablePromise; } export declare class ScriptService { /** * get hub script content by path * @param data The data for the request. * @param data.path * @returns string script details * @throws ApiError */ static getHubScriptContentByPath(data: GetHubScriptContentByPathData): CancelablePromise; /** * get full hub script by path * @param data The data for the request. * @param data.path * @returns unknown script details * @throws ApiError */ static getHubScriptByPath(data: GetHubScriptByPathData): CancelablePromise; /** * record hub script pick * @param data The data for the request. * @param data.path * @returns unknown script pick recorded * @throws ApiError */ static pickHubScriptByPath(data: PickHubScriptByPathData): CancelablePromise; /** * get top hub scripts * @param data The data for the request. * @param data.limit query limit * @param data.app query scripts app * @param data.kind query scripts kind * @returns unknown hub scripts list * @throws ApiError */ static getTopHubScripts(data?: GetTopHubScriptsData): CancelablePromise; /** * query hub scripts by similarity * @param data The data for the request. * @param data.text query text * @param data.kind query scripts kind * @param data.limit query limit * @param data.app query scripts app * @returns unknown script details * @throws ApiError */ static queryHubScripts(data: QueryHubScriptsData): CancelablePromise; /** * list scripts for search * @param data The data for the request. * @param data.workspace * @returns unknown script list * @throws ApiError */ static listSearchScript(data: ListSearchScriptData): CancelablePromise; /** * list all scripts * @param data The data for the request. * @param data.workspace * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.orderDesc order by desc order (default true) * @param data.createdBy filter by exact matching user creator. Supports comma-separated list (e.g. 'alice,bob') and negation by prefixing all values with '!' (e.g. '!alice,!bob') * @param data.pathStart mask to filter matching starting path * @param data.pathExact mask to filter exact matching path * @param data.firstParentHash mask to filter scripts whom first direct parent has exact hash * @param data.lastParentHash mask to filter scripts whom last parent in the chain has exact hash. * Beware that each script stores only a limited number of parents. Hence * the last parent hash for a script is not necessarily its top-most parent. * To find the top-most parent you will have to jump from last to last hash * until finding the parent * * @param data.parentHash is the hash present in the array of stored parent hashes for this script. * The same warning applies than for last_parent_hash. A script only store a * limited number of direct parent * * @param data.showArchived (default false) * show only the archived files. * when multiple archived hash share the same path, only the ones with the latest create_at * are * ed. * * @param data.includeWithoutMain (default false) * include scripts without an exported main function * * @param data.includeDraftOnly (default false) * include scripts that have no deployed version * * @param data.isTemplate (default regardless) * if true show only the templates * if false show only the non templates * if not defined, show all regardless of if the script is a template * * @param data.kinds (default regardless) * script kinds to filter, split by comma * * @param data.starredOnly (default false) * show only the starred items * * @param data.withDeploymentMsg (default false) * include deployment message * * @param data.languages Filter to only include scripts written in the given languages. * Accepts multiple values as a comma-separated list. * * @param data.withoutDescription (default false) * If true, the description field will be omitted from the response. * * @param data.dedicatedWorker (default regardless) * If true, show only scripts with dedicated_worker enabled. * If false, show only scripts with dedicated_worker disabled. * * @param data.label Filter by label * @returns unknown All scripts * @throws ApiError */ static listScripts(data: ListScriptsData): CancelablePromise; /** * list all scripts paths * @param data The data for the request. * @param data.workspace * @returns string list of script paths * @throws ApiError */ static listScriptPaths(data: ListScriptPathsData): CancelablePromise; /** * create script * Creates a new script at a path that does not already hold one. * Supplying `parent_hash` instead deploys a new version of the script that hash names, and a `path` differing from that version's moves the script there. `POST /w/{workspace}/scripts/update/{path}` does the same, naming the superseded version in its URL. * * @param data The data for the request. * @param data.workspace * @param data.requestBody Partially filled script * @returns string script created * @throws ApiError */ static createScript(data: CreateScriptData): CancelablePromise; /** * update script * Deploys a new version of the script at `path`, which must already hold one. * The body's `path` is the destination: the same path leaves the script where it * is, a different one moves it there and archives the old path. * * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody The new version of the script, whose `path` is where it should end up. * @returns string new script version created * @throws ApiError */ static updateScript(data: UpdateScriptData): CancelablePromise; /** * Toggle ON and OFF the workspace error handler for a given script * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody Workspace error handler enabled * @returns string error handler toggled * @throws ApiError */ static toggleWorkspaceErrorHandlerForScript(data: ToggleWorkspaceErrorHandlerForScriptData): CancelablePromise; /** * archive script by path * @param data The data for the request. * @param data.workspace * @param data.path * @returns string script archived * @throws ApiError */ static archiveScriptByPath(data: ArchiveScriptByPathData): CancelablePromise; /** * archive script by hash * @param data The data for the request. * @param data.workspace * @param data.hash * @returns Script script details * @throws ApiError */ static archiveScriptByHash(data: ArchiveScriptByHashData): CancelablePromise; /** * delete script by hash (erase content but keep hash, require admin) * @param data The data for the request. * @param data.workspace * @param data.hash * @returns Script script details * @throws ApiError */ static deleteScriptByHash(data: DeleteScriptByHashData): CancelablePromise; /** * delete script at a given path (require admin) * @param data The data for the request. * @param data.workspace * @param data.path * @param data.keepCaptures keep captures * @returns string script path * @throws ApiError */ static deleteScriptByPath(data: DeleteScriptByPathData): CancelablePromise; /** * delete scripts in bulk * @param data The data for the request. * @param data.workspace * @param data.requestBody paths to delete * @returns string deleted paths * @throws ApiError */ static deleteScriptsBulk(data: DeleteScriptsBulkData): CancelablePromise; /** * get script by path * @param data The data for the request. * @param data.workspace * @param data.path * @param data.withStarredInfo * @param data.getDraft When true, overlay the authed user's draft (if any) onto the deployed payload. * @returns unknown script details * @throws ApiError */ static getScriptByPath(data: GetScriptByPathData): CancelablePromise; /** * get triggers count of script * @param data The data for the request. * @param data.workspace * @param data.path * @returns TriggersCount triggers count * @throws ApiError */ static getTriggersCountOfScript(data: GetTriggersCountOfScriptData): CancelablePromise; /** * get tokens with script scope * @param data The data for the request. * @param data.workspace * @param data.path * @returns TruncatedToken tokens list * @throws ApiError */ static listTokensOfScript(data: ListTokensOfScriptData): CancelablePromise; /** * get history of a script by path * @param data The data for the request. * @param data.workspace * @param data.path * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @returns ScriptHistory script history * @throws ApiError */ static getScriptHistoryByPath(data: GetScriptHistoryByPathData): CancelablePromise; /** * list script paths using provided script as a relative import * @param data The data for the request. * @param data.workspace * @param data.path * @returns string list of script paths * @throws ApiError */ static listScriptPathsFromWorkspaceRunnable(data: ListScriptPathsFromWorkspaceRunnableData): CancelablePromise; /** * get scripts's latest version (hash) * @param data The data for the request. * @param data.workspace * @param data.path * @returns ScriptHistory Script version/hash * @throws ApiError */ static getScriptLatestVersion(data: GetScriptLatestVersionData): CancelablePromise; /** * update history of a script * @param data The data for the request. * @param data.workspace * @param data.hash * @param data.path * @param data.requestBody Script deployment message * @returns string success * @throws ApiError */ static updateScriptHistory(data: UpdateScriptHistoryData): CancelablePromise; /** * list dedicated worker scripts with workspace dependency annotations * @param data The data for the request. * @param data.workspace * @returns unknown list of dedicated scripts with their workspace dependency names * @throws ApiError */ static listDedicatedWithDeps(data: ListDedicatedWithDepsData): CancelablePromise; /** * raw script by path * @param data The data for the request. * @param data.workspace * @param data.path * @returns string script content * @throws ApiError */ static rawScriptByPath(data: RawScriptByPathData): CancelablePromise; /** * raw script by path with a token (mostly used by lsp to be used with import maps to resolve scripts) * @param data The data for the request. * @param data.workspace * @param data.token * @param data.path * @returns string script content * @throws ApiError */ static rawScriptByPathTokened(data: RawScriptByPathTokenedData): CancelablePromise; /** * exists script by path * @param data The data for the request. * @param data.workspace * @param data.path * @returns boolean does it exists * @throws ApiError */ static existsScriptByPath(data: ExistsScriptByPathData): CancelablePromise; /** * get script by hash * @param data The data for the request. * @param data.workspace * @param data.hash * @param data.withStarredInfo * @param data.authed * @returns Script script details * @throws ApiError */ static getScriptByHash(data: GetScriptByHashData): CancelablePromise; /** * raw script by hash * @param data The data for the request. * @param data.workspace * @param data.path * @returns string script content * @throws ApiError */ static rawScriptByHash(data: RawScriptByHashData): CancelablePromise; /** * get script deployment status * @param data The data for the request. * @param data.workspace * @param data.hash * @returns unknown script details * @throws ApiError */ static getScriptDeploymentStatus(data: GetScriptDeploymentStatusData): CancelablePromise; /** * get CI test results for a script, flow, or resource * @param data The data for the request. * @param data.workspace * @param data.kind * @param data.path * @returns CiTestResult CI test results * @throws ApiError */ static getCiTestResults(data: GetCiTestResultsData): CancelablePromise; /** * get CI test results for multiple items * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns CiTestResult CI test results by item key * @throws ApiError */ static getCiTestResultsBatch(data: GetCiTestResultsBatchData): CancelablePromise; /** * check a script's asset references against captured producer schemas * Save-time schema-contract check for data pipelines: validates the given * script content's asset references (body column reads, `// column` lineage, * `// data_test relationships`) against the latest captured producer schemas * and returns warnings. Warnings never block a save/deploy; an asset whose * producer declares `on_schema_change=ignore` is suppressed to a single * informational entry. * * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns unknown contract warnings (empty when all references match) * @throws ApiError */ static checkSchemaContracts(data: CheckSchemaContractsData): CancelablePromise; /** * store raw script content temporarily for CLI lock generation * @param data The data for the request. * @param data.workspace * @param data.requestBody script content to store * @returns string hash of stored content * @throws ApiError */ static storeRawScriptTemp(data: StoreRawScriptTempData): CancelablePromise; /** * diff local script hashes against deployed versions * @param data The data for the request. * @param data.workspace * @param data.requestBody scripts and workspace deps to diff against deployed versions * @returns string list of paths that differ from deployed versions * @throws ApiError */ static diffRawScriptsWithDeployed(data: DiffRawScriptsWithDeployedData): CancelablePromise; /** * list runnables (scripts, flows, apps) merged, ordered and keyset-paginated * @param data The data for the request. * @param data.workspace * @param data.orderBy sort key: 'updated' (default) or 'name' * @param data.orderDesc order by desc order (default true) * @param data.kinds comma-separated subset of script,flow,app (default all) * @param data.showArchived * @param data.includeWithoutMain include library scripts (no runnable main) * @param data.pathStart restrict to paths under this prefix * @param data.label * @param data.search case-insensitive fuzzy match on "summary (path)": the query is split into terms on runs of anything but ASCII letters, digits and apostrophes, and each of the first 8 must appear whole and in order, with anything in between. Terms past the 8th are ignored, so an over-long query matches more rows rather than fewer. Omitted or empty filters nothing; a query holding no ASCII-alphanumeric character at all (a lone space, "_", or text in a non-Latin script) yields no terms and matches nothing, mirroring the homepage, whose matcher discards those queries too. * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.cursor opaque keyset cursor from a previous page's next_cursor * @param data.includeDraftOnly also list the caller's drafts at paths with no deployed row, sorted and paginated with the deployed ones. Ignored for operators, in the archived view, and under a label filter (a draft carries no labels). * @returns unknown a page of merged, ordered runnables * @throws ApiError */ static listRunnables(data: ListRunnablesData): CancelablePromise; /** * count runnables per owner (folder or user space) * @param data The data for the request. * @param data.workspace * @param data.kinds comma-separated subset of script,flow,app (default all) * @param data.includeWithoutMain include library scripts (no runnable main) * @param data.includeDraftOnly also count the caller's drafts at paths with no deployed row, matching the same flag on /runnables/list * @returns unknown number of runnables per owner prefix, empty owners omitted. Excludes data-pipeline member scripts, which are listed as their folder's single pipeline entry rather than as runnables. * @throws ApiError */ static countRunnablesByOwner(data: CountRunnablesByOwnerData): CancelablePromise; } export declare class DraftService { /** * list every draft the current user has in this workspace, across all kinds * @param data The data for the request. * @param data.workspace * @param data.allUsers List every draft in the workspace (all users), not just the current user's own + legacy rows. Other users' rows come back with `mine=false` (view-only). * @param data.compareToWorkspace A fork passes its parent workspace id here to have each row flagged with `unchanged_from_parent`. Ignored unless it is exactly this workspace's parent. * @returns unknown the user's drafts * @throws ApiError */ static listDrafts(data: ListDraftsData): CancelablePromise; /** * fetch a single draft's content by workspace username (or the legacy workspace-level row) * @param data The data for the request. * @param data.workspace * @param data.kind * @param data.path * @param data.username Workspace username of the draft owner. Omit to fetch the legacy workspace-level (NULL email) row. * @returns unknown draft content * @throws ApiError */ static getDraftForUser(data: GetDraftForUserData): CancelablePromise; /** * fetch the current user's own draft content at a path (any kind) * @param data The data for the request. * @param data.workspace * @param data.kind * @param data.path * @returns unknown the user's draft content, or null when none exists * @throws ApiError */ static getOwnDraft(data: GetOwnDraftData): CancelablePromise; /** * upsert (or clear) the current user's draft at a path * @param data The data for the request. * @param data.workspace * @param data.kind * @param data.path * @param data.requestBody * @returns unknown save result * @throws ApiError */ static updateDraft(data: UpdateDraftData): CancelablePromise; /** * move the current user's draft-only item to another path * Relocates the authed user's own draft row, along with both path keys inside its value (the typed path and the mirror the editors keep beside it). Only for draft-only items — a deployed item must be moved through its own deploy endpoint, which carries every draft with it. Restricted to script, flow, app and raw_app; any other kind is rejected with 400, because only these keep their deploy target where this endpoint rewrites it. * @param data The data for the request. * @param data.workspace * @param data.kind script, flow, app or raw_app only. * @param data.path * @param data.requestBody * @returns string move result * @throws ApiError */ static moveDraft(data: MoveDraftData): CancelablePromise; /** * resolve a legacy (workspace-level) draft (admin only) * Delete a legacy draft (email NULL) or assign it to the authed admin as a per-user draft. Workspace admins / superadmins only. * @param data The data for the request. * @param data.workspace * @param data.kind * @param data.path * @param data.requestBody * @returns string migration result * @throws ApiError */ static migrateLegacyDraft(data: MigrateLegacyDraftData): CancelablePromise; } export declare class WorkerService { /** * get all instance custom tags (tags are used to dispatch jobs to different worker groups) * @param data The data for the request. * @param data.showWorkspaceRestriction * @returns string list of custom tags * @throws ApiError */ static getCustomTags(data?: GetCustomTagsData): CancelablePromise; /** * get custom tags available for this workspace * @param data The data for the request. * @param data.workspace * @returns string list of custom tags for workspace * @throws ApiError */ static getCustomTagsForWorkspace(data: GetCustomTagsForWorkspaceData): CancelablePromise; /** * get all instance default tags * @returns string list of default tags * @throws ApiError */ static geDefaultTags(): CancelablePromise; /** * is default tags per workspace * @returns boolean is the default tags per workspace * @throws ApiError */ static isDefaultTagsPerWorkspace(): CancelablePromise; /** * list workers * @param data The data for the request. * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.pingSince number of seconds the worker must have had a last ping more recent of (default to 300) * @returns WorkerPing a list of workers * @throws ApiError */ static listWorkers(data?: ListWorkersData): CancelablePromise; /** * exists workers with tags * @param data The data for the request. * @param data.tags comma separated list of tags * @param data.workspace workspace to filter tags visibility (required when TAGS_ARE_SENSITIVE is enabled for non-superadmins) * @returns boolean map of tags to whether at least one worker with the tag exists * @throws ApiError */ static existsWorkersWithTags(data: ExistsWorkersWithTagsData): CancelablePromise; /** * get queue metrics * @returns unknown metrics * @throws ApiError */ static getQueueMetrics(): CancelablePromise; /** * get the queue metrics of a time window, as a bounded line per tag * @param data The data for the request. * @param data.windowSecs how far back to read, in seconds (defaults to one day, capped at the 14-day retention) * @returns unknown jobs waiting and queue delay per tag, as the vertices of lines joined by straight segments * @throws ApiError */ static getQueueMetricsSeries(data?: GetQueueMetricsSeriesData): CancelablePromise; /** * get the live queue status of every tag with jobs waiting or running * @returns unknown queue status per tag * @throws ApiError */ static getQueueStatus(): CancelablePromise; /** * get counts of jobs waiting for an executor per tag * @returns number queue counts * @throws ApiError */ static getCountsOfJobsWaitingPerTag(): CancelablePromise; /** * get counts of currently running jobs per tag * @returns number queue running counts * @throws ApiError */ static getCountsOfRunningJobsPerTag(): CancelablePromise; /** * list last 100 workspace-fairness cap/uncap events (cloud-only) * @returns unknown workspace fairness events (empty on non-cloud) * @throws ApiError */ static getWorkspaceFairnessEvents(): CancelablePromise; } export declare class WorkspaceDependenciesService { /** * create workspace dependencies * @param data The data for the request. * @param data.workspace * @param data.requestBody New workspace dependencies * @returns string workspace dependencies created * @throws ApiError */ static createWorkspaceDependencies(data: CreateWorkspaceDependenciesData): CancelablePromise; /** * archive workspace dependencies (require admin) * @param data The data for the request. * @param data.workspace * @param data.language * @param data.name * @returns unknown result * @throws ApiError */ static archiveWorkspaceDependencies(data: ArchiveWorkspaceDependenciesData): CancelablePromise; /** * delete workspace dependencies (require admin) * @param data The data for the request. * @param data.workspace * @param data.language * @param data.name * @returns unknown result * @throws ApiError */ static deleteWorkspaceDependencies(data: DeleteWorkspaceDependenciesData): CancelablePromise; /** * list all workspace dependencies * @param data The data for the request. * @param data.workspace * @returns WorkspaceDependencies All workspace dependencies * @throws ApiError */ static listWorkspaceDependencies(data: ListWorkspaceDependenciesData): CancelablePromise; /** * get latest workspace dependencies by language and name * @param data The data for the request. * @param data.workspace * @param data.language * @param data.name * @returns WorkspaceDependencies Latest workspace dependencies * @throws ApiError */ static getLatestWorkspaceDependencies(data: GetLatestWorkspaceDependenciesData): CancelablePromise; } export declare class JobService { /** * list selected jobs script/flow schemas grouped by (kind, path) * @param data The data for the request. * @param data.workspace * @param data.requestBody script args * @returns unknown result * @throws ApiError */ static listSelectedJobGroups(data: ListSelectedJobGroupsData): CancelablePromise; /** * run script by path * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody script args * @param data.scheduledFor when to schedule this job (leave empty for immediate run) * @param data.scheduledInSecs schedule the script to execute in the number of seconds starting now * @param data.skipPreprocessor skip the preprocessor * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any * @param data.tag Override the tag to use * @param data.cacheTtl Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl * @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) * @param data.invisibleToOwner make the run invisible to the the script owner (default false) * @returns string job created * @throws ApiError */ static runScriptByPath(data: RunScriptByPathData): CancelablePromise; /** * run script by path * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody script args * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any * @param data.tag Override the tag to use * @param data.cacheTtl Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl * @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) * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key * * @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 * * @param data.skipPreprocessor skip the preprocessor * @returns unknown job result * @throws ApiError */ static runWaitResultScriptByPath(data: RunWaitResultScriptByPathData): CancelablePromise; /** * run script by path with get * @param data The data for the request. * @param data.workspace * @param data.path * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any * @param data.tag Override the tag to use * @param data.cacheTtl Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl * @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) * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key * * @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 * * @param data.payload The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent * `encodeURIComponent(btoa(JSON.stringify({a: 2})))` * * @param data.skipPreprocessor skip the preprocessor * @returns unknown job result * @throws ApiError */ static runWaitResultScriptByPathGet(data: RunWaitResultScriptByPathGetData): CancelablePromise; /** * run flow by path and wait until completion * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody script args * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key * * @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 * * @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) * @param data.skipPreprocessor skip the preprocessor * @param data.memoryId Memory id for the flow's AI agent steps. A uuid is used as is; any other string is hashed within the workspace and flow, so the same string always names the same memory of that flow. * @returns unknown job result * @throws ApiError */ static runWaitResultFlowByPath(data: RunWaitResultFlowByPathData): CancelablePromise; /** * run flow by version and wait until completion * @param data The data for the request. * @param data.workspace * @param data.version flow version ID * @param data.requestBody script args * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key * * @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 * * @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) * @param data.skipPreprocessor skip the preprocessor * @param data.memoryId Memory id for the flow's AI agent steps. A uuid is used as is; any other string is hashed within the workspace and flow, so the same string always names the same memory of that flow. * @returns unknown job result * @throws ApiError */ static runWaitResultFlowByVersion(data: RunWaitResultFlowByVersionData): CancelablePromise; /** * run flow by version with GET and wait until completion * @param data The data for the request. * @param data.workspace * @param data.version flow version ID * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key * * @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 * * @param data.payload The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent * `encodeURIComponent(btoa(JSON.stringify({a: 2})))` * * @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) * @param data.skipPreprocessor skip the preprocessor * @param data.memoryId Memory id for the flow's AI agent steps. A uuid is used as is; any other string is hashed within the workspace and flow, so the same string always names the same memory of that flow. * @returns unknown job result * @throws ApiError */ static runWaitResultFlowByVersionGet(data: RunWaitResultFlowByVersionGetData): CancelablePromise; /** * run flow by path and stream updates via SSE * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody flow args * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key * * @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 * * @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) * @param data.skipPreprocessor skip the preprocessor * @param data.memoryId Memory id for the flow's AI agent steps. A uuid is used as is; any other string is hashed within the workspace and flow, so the same string always names the same memory of that flow. * @param data.pollDelayMs delay between polling for job updates in milliseconds * @returns string server-sent events stream of job updates * @throws ApiError */ static runAndStreamFlowByPath(data: RunAndStreamFlowByPathData): CancelablePromise; /** * run flow by path with GET and stream updates via SSE * @param data The data for the request. * @param data.workspace * @param data.path * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key * * @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 * * @param data.payload The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent * `encodeURIComponent(btoa(JSON.stringify({a: 2})))` * * @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) * @param data.skipPreprocessor skip the preprocessor * @param data.memoryId Memory id for the flow's AI agent steps. A uuid is used as is; any other string is hashed within the workspace and flow, so the same string always names the same memory of that flow. * @param data.pollDelayMs delay between polling for job updates in milliseconds * @returns string server-sent events stream of job updates * @throws ApiError */ static runAndStreamFlowByPathGet(data: RunAndStreamFlowByPathGetData): CancelablePromise; /** * run flow by version and stream updates via SSE * @param data The data for the request. * @param data.workspace * @param data.version flow version ID * @param data.requestBody flow args * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key * * @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 * * @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) * @param data.skipPreprocessor skip the preprocessor * @param data.memoryId Memory id for the flow's AI agent steps. A uuid is used as is; any other string is hashed within the workspace and flow, so the same string always names the same memory of that flow. * @param data.pollDelayMs delay between polling for job updates in milliseconds * @returns string server-sent events stream of job updates * @throws ApiError */ static runAndStreamFlowByVersion(data: RunAndStreamFlowByVersionData): CancelablePromise; /** * run flow by version with GET and stream updates via SSE * @param data The data for the request. * @param data.workspace * @param data.version flow version ID * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key * * @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 * * @param data.payload The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent * `encodeURIComponent(btoa(JSON.stringify({a: 2})))` * * @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) * @param data.skipPreprocessor skip the preprocessor * @param data.memoryId Memory id for the flow's AI agent steps. A uuid is used as is; any other string is hashed within the workspace and flow, so the same string always names the same memory of that flow. * @param data.pollDelayMs delay between polling for job updates in milliseconds * @returns string server-sent events stream of job updates * @throws ApiError */ static runAndStreamFlowByVersionGet(data: RunAndStreamFlowByVersionGetData): CancelablePromise; /** * run script by path and stream updates via SSE * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody script args * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any * @param data.tag Override the tag to use * @param data.cacheTtl Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl * @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) * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key * * @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 * * @param data.skipPreprocessor skip the preprocessor * @param data.pollDelayMs delay between polling for job updates in milliseconds * @returns string server-sent events stream of job updates * @throws ApiError */ static runAndStreamScriptByPath(data: RunAndStreamScriptByPathData): CancelablePromise; /** * run script by path with GET and stream updates via SSE * @param data The data for the request. * @param data.workspace * @param data.path * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any * @param data.tag Override the tag to use * @param data.cacheTtl Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl * @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) * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key * * @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 * * @param data.payload The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent * `encodeURIComponent(btoa(JSON.stringify({a: 2})))` * * @param data.skipPreprocessor skip the preprocessor * @param data.pollDelayMs delay between polling for job updates in milliseconds * @returns string server-sent events stream of job updates * @throws ApiError */ static runAndStreamScriptByPathGet(data: RunAndStreamScriptByPathGetData): CancelablePromise; /** * run script by hash and stream updates via SSE * @param data The data for the request. * @param data.workspace * @param data.hash * @param data.requestBody script args * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any * @param data.tag Override the tag to use * @param data.cacheTtl Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl * @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) * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key * * @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 * * @param data.skipPreprocessor skip the preprocessor * @param data.pollDelayMs delay between polling for job updates in milliseconds * @returns string server-sent events stream of job updates * @throws ApiError */ static runAndStreamScriptByHash(data: RunAndStreamScriptByHashData): CancelablePromise; /** * run script by hash with GET and stream updates via SSE * @param data The data for the request. * @param data.workspace * @param data.hash * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any * @param data.tag Override the tag to use * @param data.cacheTtl Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl * @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) * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key * * @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 * * @param data.payload The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent * `encodeURIComponent(btoa(JSON.stringify({a: 2})))` * * @param data.skipPreprocessor skip the preprocessor * @param data.pollDelayMs delay between polling for job updates in milliseconds * @returns string server-sent events stream of job updates * @throws ApiError */ static runAndStreamScriptByHashGet(data: RunAndStreamScriptByHashGetData): CancelablePromise; /** * get job result by id * @param data The data for the request. * @param data.workspace * @param data.flowJobId * @param data.nodeId * @returns unknown job result * @throws ApiError */ static resultById(data: ResultByIdData): CancelablePromise; /** * mint a read-only share token for a job * Returns a stateless `{job_id}.{hmac}` token that grants an authenticated workspace member read access to this job (and its flow subtree) via a `view_token` query param or `X-View-Token` header. Only callable by a user who can already read the job. * * @param data The data for the request. * @param data.workspace * @param data.id * @returns string the share read token * @throws ApiError */ static getJobViewToken(data: GetJobViewTokenData): CancelablePromise; /** * mint a public read-only share token for a job * Returns a stateless `{job_id}.{hmac}` token that grants anyone holding it — including logged-out visitors, who land on the minimal public run page — read access to this job (and its flow subtree) via a `view_token` query param or `X-View-Token` header. Only callable by a user who can already read the job. * * @param data The data for the request. * @param data.workspace * @param data.id * @returns string the public share read token * @throws ApiError */ static getJobPublicViewToken(data: GetJobPublicViewTokenData): CancelablePromise; /** * run flow by path * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody flow args * @param data.scheduledFor when to schedule this job (leave empty for immediate run) * @param data.scheduledInSecs schedule the script to execute in the number of seconds starting now * @param data.skipPreprocessor skip the preprocessor * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any * @param data.tag Override the tag to use * @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) * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key * * @param data.invisibleToOwner make the run invisible to the the flow owner (default false) * @param data.memoryId Memory id for the flow's AI agent steps. A uuid is used as is; any other string is hashed within the workspace and flow, so the same string always names the same memory of that flow. * @returns string job created * @throws ApiError */ static runFlowByPath(data: RunFlowByPathData): CancelablePromise; /** * run flow by version * @param data The data for the request. * @param data.workspace * @param data.version flow version ID * @param data.requestBody flow args * @param data.scheduledFor when to schedule this job (leave empty for immediate run) * @param data.scheduledInSecs schedule the script to execute in the number of seconds starting now * @param data.skipPreprocessor skip the preprocessor * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any * @param data.tag Override the tag to use * @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) * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key * * @param data.invisibleToOwner make the run invisible to the the flow owner (default false) * @param data.memoryId Memory id for the flow's AI agent steps. A uuid is used as is; any other string is hashed within the workspace and flow, so the same string always names the same memory of that flow. * @returns string job created * @throws ApiError */ static runFlowByVersion(data: RunFlowByVersionData): CancelablePromise; /** * re-run multiple jobs * @param data The data for the request. * @param data.workspace * @param data.requestBody list of job ids to re run and arg tranforms * @returns string stream of created job uuids separated by \n. Lines may start with 'Error:' * @throws ApiError */ static batchReRunJobs(data: BatchReRunJobsData): CancelablePromise; /** * restart a completed flow at a given step * @param data The data for the request. * @param data.workspace * @param data.id * @param data.requestBody restart flow parameters * @param data.scheduledFor when to schedule this job (leave empty for immediate run) * @param data.scheduledInSecs schedule the script to execute in the number of seconds starting now * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any * @param data.tag Override the tag to use * @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) * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key * * @param data.invisibleToOwner make the run invisible to the the flow owner (default false) * @returns string job created * @throws ApiError */ static restartFlowAtStep(data: RestartFlowAtStepData): CancelablePromise; /** * run script by hash * @param data The data for the request. * @param data.workspace * @param data.hash * @param data.requestBody Partially filled args * @param data.scheduledFor when to schedule this job (leave empty for immediate run) * @param data.scheduledInSecs schedule the script to execute in the number of seconds starting now * @param data.skipPreprocessor skip the preprocessor * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any * @param data.tag Override the tag to use * @param data.cacheTtl Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl * @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) * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key * * @param data.invisibleToOwner make the run invisible to the the script owner (default false) * @returns string job created * @throws ApiError */ static runScriptByHash(data: RunScriptByHashData): CancelablePromise; /** * run script preview * @param data The data for the request. * @param data.workspace * @param data.requestBody preview * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key * * @param data.invisibleToOwner make the run invisible to the the script owner (default false) * @param data.timeout custom timeout in seconds for this preview run * @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) * @returns string job created * @throws ApiError */ static runScriptPreview(data: RunScriptPreviewData): CancelablePromise; /** * run script preview without starting a new job * @param data The data for the request. * @param data.workspace * @param data.requestBody preview * @returns unknown script result * @throws ApiError */ static runScriptPreviewInline(data: RunScriptPreviewInlineData): CancelablePromise; /** * run script by path without starting a new job * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody script args * @returns unknown script result * @throws ApiError */ static runScriptByPathInline(data: RunScriptByPathInlineData): CancelablePromise; /** * run script by hash without starting a new job * @param data The data for the request. * @param data.workspace * @param data.hash * @param data.requestBody script args * @returns unknown script result * @throws ApiError */ static runScriptByHashInline(data: RunScriptByHashInlineData): CancelablePromise; /** * run script preview and wait for result * @param data The data for the request. * @param data.workspace * @param data.requestBody preview * @returns unknown job result * @throws ApiError */ static runScriptPreviewAndWaitResult(data: RunScriptPreviewAndWaitResultData): CancelablePromise; /** * run code-workflow task * @param data The data for the request. * @param data.workspace * @param data.jobId * @param data.entrypoint * @param data.requestBody preview * @returns string job created * @throws ApiError */ static runCodeWorkflowTask(data: RunCodeWorkflowTaskData): CancelablePromise; /** * run a one-off dependencies job * @param data The data for the request. * @param data.workspace * @param data.requestBody raw script content * @returns unknown dependency job result * @throws ApiError */ static runRawScriptDependencies(data: RunRawScriptDependenciesData): CancelablePromise; /** * queue a one-off dependencies job and return the job uuid * @param data The data for the request. * @param data.workspace * @param data.requestBody raw script content * @returns string dependency job created * @throws ApiError */ static runRawScriptDependenciesAsync(data: RunRawScriptDependenciesAsyncData): CancelablePromise; /** * queue a one-off flow dependencies job and return the job uuid * @param data The data for the request. * @param data.workspace * @param data.requestBody flow value and path * @returns string flow dependencies job created * @throws ApiError */ static runFlowDependenciesAsync(data: RunFlowDependenciesAsyncData): CancelablePromise; /** * run flow preview * @param data The data for the request. * @param data.workspace * @param data.requestBody preview * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key * * @param data.invisibleToOwner make the run invisible to the the script owner (default false) * @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) * @param data.memoryId Memory id for the flow's AI agent steps. A uuid is used as is; any other string is hashed within the workspace and flow, so the same string always names the same memory of that flow. * @returns string job created * @throws ApiError */ static runFlowPreview(data: RunFlowPreviewData): CancelablePromise; /** * run flow preview and wait for result * @param data The data for the request. * @param data.workspace * @param data.requestBody preview * @param data.memoryId Memory id for the flow's AI agent steps. A uuid is used as is; any other string is hashed within the workspace and flow, so the same string always names the same memory of that flow. * @returns unknown job result * @throws ApiError */ static runFlowPreviewAndWaitResult(data: RunFlowPreviewAndWaitResultData): CancelablePromise; /** * run dynamic select helper function * @param data The data for the request. * @param data.workspace * @param data.requestBody dynamic select request * @returns string dynamic select job created * @throws ApiError */ static runDynamicSelect(data: RunDynamicSelectData): CancelablePromise; /** * list all queued jobs * @param data The data for the request. * @param data.workspace * @param data.orderDesc order by desc order (default true) * @param data.createdBy filter by exact matching user creator. Supports comma-separated list (e.g. 'alice,bob') and negation by prefixing all values with '!' (e.g. '!alice,!bob') * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any * @param data.worker filter by worker this job ran on. Supports comma-separated list (e.g. 'worker-1,worker-2') and negation by prefixing all values with '!' (e.g. '!worker-1,!worker-2') * @param data.scriptPathExact filter by exact matching script path. Supports comma-separated list (e.g. 'f/script1,f/script2') and negation by prefixing all values with '!' (e.g. '!f/script1,!f/script2') * @param data.scriptPathStart filter by script path prefix. Supports comma-separated list (e.g. 'f/folder1,f/folder2') and negation by prefixing all values with '!' (e.g. '!f/folder1,!f/folder2') * @param data.schedulePath mask to filter by schedule path * @param data.triggerPath filter by trigger path. Supports comma-separated list (e.g. 'f/trigger1,f/trigger2') and negation by prefixing all values with '!' (e.g. '!f/trigger1,!f/trigger2') * @param data.triggerKind filter by trigger kind. Supports comma-separated list (e.g. 'schedule,webhook') and negation by prefixing all values with '!' (e.g. '!schedule,!webhook') * @param data.scriptHash mask to filter exact matching path * @param data.startedBefore filter on started before (inclusive) timestamp * @param data.startedAfter filter on started after (exclusive) timestamp * @param data.success filter on successful jobs * @param data.scheduledForBeforeNow filter on jobs scheduled_for before now (hence waitinf for a worker) * @param data.jobKinds filter by job kind. Supports comma-separated list of values ('preview', 'script', 'dependencies', 'flow') and negation by prefixing all values with '!' (e.g. '!preview,!dependencies') * @param data.suspended filter on suspended jobs * @param data.running filter on running jobs * @param data.args filter on jobs containing those args as a json subset (@> in postgres) * @param data.result filter on jobs containing those result as a json subset (@> in postgres) * @param data.allowWildcards allow wildcards (*) in the filter of label, tag, worker * @param data.tag filter by tag/worker group. Supports comma-separated list (e.g. 'gpu,highmem') and negation by prefixing all values with '!' (e.g. '!gpu,!highmem') * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace) * @param data.isNotSchedule is not a scheduled job * @returns QueuedJob All queued jobs * @throws ApiError */ static listQueue(data: ListQueueData): CancelablePromise; /** * get queue count * @param data The data for the request. * @param data.workspace * @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace) * @returns unknown queue count * @throws ApiError */ static getQueueCount(data: GetQueueCountData): CancelablePromise; /** * get completed count * @param data The data for the request. * @param data.workspace * @returns unknown completed count * @throws ApiError */ static getCompletedCount(data: GetCompletedCountData): CancelablePromise; /** * count number of completed jobs with filter * @param data The data for the request. * @param data.workspace * @param data.completedAfterSAgo * @param data.success * @param data.tags * @param data.allWorkspaces * @returns number Count of completed jobs * @throws ApiError */ static countCompletedJobs(data: CountCompletedJobsData): CancelablePromise; /** * get the ids of all jobs matching the given filters * @param data The data for the request. * @param data.workspace * @param data.createdBy filter by exact matching user creator. Supports comma-separated list (e.g. 'alice,bob') and negation by prefixing all values with '!' (e.g. '!alice,!bob') * @param data.label filter by exact matching job label. Supports comma-separated list (e.g. 'deploy,release') and negation by prefixing all values with '!' (e.g. '!deploy,!release') * @param data.worker filter by worker this job ran on. Supports comma-separated list (e.g. 'worker-1,worker-2') and negation by prefixing all values with '!' (e.g. '!worker-1,!worker-2') * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any * @param data.scriptPathExact filter by exact matching script path. Supports comma-separated list (e.g. 'f/script1,f/script2') and negation by prefixing all values with '!' (e.g. '!f/script1,!f/script2') * @param data.scriptPathStart filter by script path prefix. Supports comma-separated list (e.g. 'f/folder1,f/folder2') and negation by prefixing all values with '!' (e.g. '!f/folder1,!f/folder2') * @param data.schedulePath mask to filter by schedule path * @param data.scriptHash mask to filter exact matching path * @param data.startedBefore filter on started before (inclusive) timestamp * @param data.startedAfter filter on started after (exclusive) timestamp * @param data.createdBefore filter on created before (inclusive) timestamp * @param data.createdAfter filter on created after (exclusive) timestamp * @param data.completedBefore filter on started before (inclusive) timestamp * @param data.completedAfter filter on started after (exclusive) timestamp * @param data.createdBeforeQueue filter on jobs created before X for jobs in the queue only * @param data.createdAfterQueue filter on jobs created after X for jobs in the queue only * @param data.running filter on running jobs * @param data.scheduledForBeforeNow filter on jobs scheduled_for before now (hence waitinf for a worker) * @param data.jobKinds filter by job kind. Supports comma-separated list of values ('preview', 'script', 'dependencies', 'flow') and negation by prefixing all values with '!' (e.g. '!preview,!dependencies') * @param data.suspended filter on suspended jobs * @param data.args filter on jobs containing those args as a json subset (@> in postgres) * @param data.tag filter by tag/worker group. Supports comma-separated list (e.g. 'gpu,highmem') and negation by prefixing all values with '!' (e.g. '!gpu,!highmem') * @param data.result filter on jobs containing those result as a json subset (@> in postgres) * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.isSkipped is the job skipped * @param data.resolved filter on whether a failure has been marked as handled. true keeps only resolved failures, false hides them * @param data.isFlowStep is the job a flow step * @param data.hasNullParent has null parent * @param data.success filter on successful jobs * @param data.status filter on the exact completed job status. Unlike `success=true` (which also matches `skipped`), `status=success` matches only `success`. * @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace) * @param data.isNotSchedule is not a scheduled job * @returns string uuids of jobs * @throws ApiError */ static listFilteredJobsUuids(data: ListFilteredJobsUuidsData): CancelablePromise; /** * get the ids of all queued jobs matching the given filters * @param data The data for the request. * @param data.workspace * @param data.orderDesc order by desc order (default true) * @param data.createdBy filter by exact matching user creator. Supports comma-separated list (e.g. 'alice,bob') and negation by prefixing all values with '!' (e.g. '!alice,!bob') * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any * @param data.scriptPathExact filter by exact matching script path. Supports comma-separated list (e.g. 'f/script1,f/script2') and negation by prefixing all values with '!' (e.g. '!f/script1,!f/script2') * @param data.scriptPathStart filter by script path prefix. Supports comma-separated list (e.g. 'f/folder1,f/folder2') and negation by prefixing all values with '!' (e.g. '!f/folder1,!f/folder2') * @param data.schedulePath mask to filter by schedule path * @param data.scriptHash mask to filter exact matching path * @param data.startedBefore filter on started before (inclusive) timestamp * @param data.startedAfter filter on started after (exclusive) timestamp * @param data.success filter on successful jobs * @param data.scheduledForBeforeNow filter on jobs scheduled_for before now (hence waitinf for a worker) * @param data.jobKinds filter by job kind. Supports comma-separated list of values ('preview', 'script', 'dependencies', 'flow') and negation by prefixing all values with '!' (e.g. '!preview,!dependencies') * @param data.suspended filter on suspended jobs * @param data.running filter on running jobs * @param data.args filter on jobs containing those args as a json subset (@> in postgres) * @param data.result filter on jobs containing those result as a json subset (@> in postgres) * @param data.allowWildcards allow wildcards (*) in the filter of label, tag, worker * @param data.tag filter by tag/worker group. Supports comma-separated list (e.g. 'gpu,highmem') and negation by prefixing all values with '!' (e.g. '!gpu,!highmem') * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.concurrencyKey * @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace) * @param data.isNotSchedule is not a scheduled job * @returns string uuids of jobs * @throws ApiError */ static listFilteredQueueUuids(data: ListFilteredQueueUuidsData): CancelablePromise; /** * start a queued job scheduled for later now * Moves the start of a queued job that is waiting for a future time (scheduled, debounced, * re-scheduled by a concurrency limit, or a flow step waiting on a sleep or a retry delay) * to now, keeping the same job id. A job with a * concurrency limit is still checked against its limit when it is pulled. A schedule's * upcoming tick is refused, since the schedule would queue that tick again. * * @param data The data for the request. * @param data.workspace * @param data.id * @returns string job id * @throws ApiError */ static runQueuedJobNow(data: RunQueuedJobNowData): CancelablePromise; /** * cancel jobs based on the given uuids * @param data The data for the request. * @param data.workspace * @param data.requestBody uuids of the jobs to cancel * @param data.forceCancel * @param data.allWorkspaces * @returns string uuids of canceled jobs * @throws ApiError */ static cancelSelection(data: CancelSelectionData): CancelablePromise; /** * get OpenTelemetry traces for a job * @param data The data for the request. * @param data.workspace * @param data.id * @returns unknown list of OTEL Span objects (compatible with OpenTelemetry Span proto) * @throws ApiError */ static getJobOtelTraces(data: GetJobOtelTracesData): CancelablePromise; /** * list all completed jobs * @param data The data for the request. * @param data.workspace * @param data.orderDesc order by desc order (default true) * @param data.createdBy filter by exact matching user creator. Supports comma-separated list (e.g. 'alice,bob') and negation by prefixing all values with '!' (e.g. '!alice,!bob') * @param data.label filter by exact matching job label. Supports comma-separated list (e.g. 'deploy,release') and negation by prefixing all values with '!' (e.g. '!deploy,!release') * @param data.worker filter by worker this job ran on. Supports comma-separated list (e.g. 'worker-1,worker-2') and negation by prefixing all values with '!' (e.g. '!worker-1,!worker-2') * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any * @param data.scriptPathExact filter by exact matching script path. Supports comma-separated list (e.g. 'f/script1,f/script2') and negation by prefixing all values with '!' (e.g. '!f/script1,!f/script2') * @param data.scriptPathStart filter by script path prefix. Supports comma-separated list (e.g. 'f/folder1,f/folder2') and negation by prefixing all values with '!' (e.g. '!f/folder1,!f/folder2') * @param data.schedulePath mask to filter by schedule path * @param data.scriptHash mask to filter exact matching path * @param data.startedBefore filter on started before (inclusive) timestamp * @param data.startedAfter filter on started after (exclusive) timestamp * @param data.success filter on successful jobs * @param data.status filter on the exact completed job status. Unlike `success=true` (which also matches `skipped`), `status=success` matches only `success`. * @param data.jobKinds filter by job kind. Supports comma-separated list of values ('preview', 'script', 'dependencies', 'flow') and negation by prefixing all values with '!' (e.g. '!preview,!dependencies') * @param data.args filter on jobs containing those args as a json subset (@> in postgres) * @param data.result filter on jobs containing those result as a json subset (@> in postgres) * @param data.allowWildcards allow wildcards (*) in the filter of label, tag, worker * @param data.tag filter by tag/worker group. Supports comma-separated list (e.g. 'gpu,highmem') and negation by prefixing all values with '!' (e.g. '!gpu,!highmem') * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.isSkipped is the job skipped * @param data.resolved filter on whether a failure has been marked as handled. true keeps only resolved failures, false hides them * @param data.isFlowStep is the job a flow step * @param data.hasNullParent has null parent * @param data.isNotSchedule is not a scheduled job * @returns CompletedJob All completed jobs * @throws ApiError */ static listCompletedJobs(data: ListCompletedJobsData): CancelablePromise; /** * export all completed jobs for backup/migration * @param data The data for the request. * @param data.workspace * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @returns ExportableCompletedJob All completed jobs exported * @throws ApiError */ static exportCompletedJobs(data: ExportCompletedJobsData): CancelablePromise; /** * import completed jobs from backup/migration * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns string Successfully imported completed jobs * @throws ApiError */ static importCompletedJobs(data: ImportCompletedJobsData): CancelablePromise; /** * export all queued jobs for backup/migration * @param data The data for the request. * @param data.workspace * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @returns ExportableQueuedJob All queued jobs exported * @throws ApiError */ static exportQueuedJobs(data: ExportQueuedJobsData): CancelablePromise; /** * import queued jobs from backup/migration * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns string Successfully imported queued jobs * @throws ApiError */ static importQueuedJobs(data: ImportQueuedJobsData): CancelablePromise; /** * delete jobs by IDs from all related tables * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns string Successfully deleted jobs * @throws ApiError */ static deleteJobs(data: DeleteJobsData): CancelablePromise; /** * list all jobs * @param data The data for the request. * @param data.workspace * @param data.createdBy filter by exact matching user creator. Supports comma-separated list (e.g. 'alice,bob') and negation by prefixing all values with '!' (e.g. '!alice,!bob') * @param data.label filter by exact matching job label. Supports comma-separated list (e.g. 'deploy,release') and negation by prefixing all values with '!' (e.g. '!deploy,!release') * @param data.worker filter by worker this job ran on. Supports comma-separated list (e.g. 'worker-1,worker-2') and negation by prefixing all values with '!' (e.g. '!worker-1,!worker-2') * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any * @param data.scriptPathExact filter by exact matching script path. Supports comma-separated list (e.g. 'f/script1,f/script2') and negation by prefixing all values with '!' (e.g. '!f/script1,!f/script2') * @param data.scriptPathStart filter by script path prefix. Supports comma-separated list (e.g. 'f/folder1,f/folder2') and negation by prefixing all values with '!' (e.g. '!f/folder1,!f/folder2') * @param data.schedulePath mask to filter by schedule path * @param data.scriptHash mask to filter exact matching path * @param data.startedBefore filter on started before (inclusive) timestamp * @param data.startedAfter filter on started after (exclusive) timestamp * @param data.createdBefore filter on created before (inclusive) timestamp * @param data.createdAfter filter on created after (exclusive) timestamp * @param data.completedBefore filter on started before (inclusive) timestamp * @param data.completedAfter filter on started after (exclusive) timestamp * @param data.createdBeforeQueue filter on jobs created before X for jobs in the queue only * @param data.createdAfterQueue filter on jobs created after X for jobs in the queue only * @param data.running filter on running jobs * @param data.scheduledForBeforeNow filter on jobs scheduled_for before now (hence waitinf for a worker) * @param data.jobKinds filter by job kind. Supports comma-separated list of values ('preview', 'script', 'dependencies', 'flow') and negation by prefixing all values with '!' (e.g. '!preview,!dependencies') * @param data.suspended filter on suspended jobs * @param data.args filter on jobs containing those args as a json subset (@> in postgres) * @param data.tag filter by tag/worker group. Supports comma-separated list (e.g. 'gpu,highmem') and negation by prefixing all values with '!' (e.g. '!gpu,!highmem') * @param data.result filter on jobs containing those result as a json subset (@> in postgres) * @param data.allowWildcards allow wildcards (*) in the filter of label, tag, worker * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.triggerKind filter by trigger kind. Supports comma-separated list (e.g. 'schedule,webhook') and negation by prefixing all values with '!' (e.g. '!schedule,!webhook') * @param data.isSkipped is the job skipped * @param data.resolved filter on whether a failure has been marked as handled. true keeps only resolved failures, false hides them * @param data.isFlowStep is the job a flow step * @param data.hasNullParent has null parent * @param data.success filter on successful jobs * @param data.status filter on the exact completed job status. Unlike `success=true` (which also matches `skipped`), `status=success` matches only `success`. * @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace) * @param data.isNotSchedule is not a scheduled job * @param data.excludesEntrypointOverride exclude jobs that were started with a `_ENTRYPOINT_OVERRIDE` arg (e.g. dynamic-select helper runs and preprocessor previews) * @param data.broadFilter broad search across multiple fields (case-insensitive substring match on path, tag, schedule path, trigger kind, label) * @returns Job All jobs * @throws ApiError */ static listJobs(data: ListJobsData): CancelablePromise; /** * get db clock * @returns number the timestamp of the db that can be used to compute the drift * @throws ApiError */ static getDbClock(): CancelablePromise; /** * Count jobs by tag * @param data The data for the request. * @param data.horizonSecs Past Time horizon in seconds (when to start the count = now - horizon) (default is 3600) * @param data.workspaceId Specific workspace ID to filter results (optional) * @returns unknown Job counts by tag * @throws ApiError */ static countJobsByTag(data?: CountJobsByTagData): CancelablePromise; /** * get job * @param data The data for the request. * @param data.workspace * @param data.id * @param data.noLogs * @param data.noCode * @param data.approvalToken Approval token granting read access to the job when not logged in. The token must be the one issued for this job's flow (i.e. the flow id used when generating the approval URL). * @returns Job job details * @throws ApiError */ static getJob(data: GetJobData): CancelablePromise; /** * get root job id * @param data The data for the request. * @param data.workspace * @param data.id * @returns string get root job id * @throws ApiError */ static getRootJobId(data: GetRootJobIdData): CancelablePromise; /** * get job logs * @param data The data for the request. * @param data.workspace * @param data.id * @param data.removeAnsiWarnings * @returns string job details * @throws ApiError */ static getJobLogs(data: GetJobLogsData): CancelablePromise; /** * get all logs for a flow job * @param data The data for the request. * @param data.workspace * @param data.id * @returns string concatenated logs of all flow steps * @throws ApiError */ static getFlowAllLogs(data: GetFlowAllLogsData): CancelablePromise; /** * get all logs for a flow job in a structured format * @param data The data for the request. * @param data.workspace * @param data.id * @returns unknown structured logs of all flow steps, one entry per job * @throws ApiError */ static getFlowAllLogsStructured(data: GetFlowAllLogsStructuredData): CancelablePromise; /** * get statuses and truncated results for all jobs of a flow job's execution tree * @param data The data for the request. * @param data.workspace * @param data.id * @param data.maxResultLen per-entry cap (in characters of JSON text) on result_prefix (default 2000, max 30000) * @param data.step step address to resolve to a single job instead of enumerating the tree: "b", "b/c", "b[12]" (1-based iteration/branch), composable as "b[12]/c" * @returns unknown per-job statuses and truncated results of the flow's execution tree, or the single resolved entry when step is provided * @throws ApiError */ static getFlowAllResults(data: GetFlowAllResultsData): CancelablePromise; /** * get completed job logs tail * @param data The data for the request. * @param data.workspace * @param data.id * @returns string completed job logs tail * @throws ApiError */ static getCompletedJobLogsTail(data: GetCompletedJobLogsTailData): CancelablePromise; /** * get job args * @param data The data for the request. * @param data.workspace * @param data.id * @returns unknown job args * @throws ApiError */ static getJobArgs(data: GetJobArgsData): CancelablePromise; /** * get started at by ids * @param data The data for the request. * @param data.workspace * @param data.requestBody ids * @returns string started at by ids * @throws ApiError */ static getStartedAtByIds(data: GetStartedAtByIdsData): CancelablePromise; /** * get job updates * @param data The data for the request. * @param data.workspace * @param data.id * @param data.running * @param data.logOffset * @param data.streamOffset * @param data.getProgress * @param data.noLogs * @returns unknown job details * @throws ApiError */ static getJobUpdates(data: GetJobUpdatesData): CancelablePromise; /** * get job updates via server-sent events * @param data The data for the request. * @param data.workspace * @param data.id * @param data.running * @param data.logOffset * @param data.streamOffset * @param data.getProgress * @param data.onlyResult * @param data.noLogs * @param data.fast * @returns string server-sent events stream of job updates * @throws ApiError */ static getJobUpdatesSse(data: GetJobUpdatesSseData): CancelablePromise; /** * get log file from object store * @param data The data for the request. * @param data.workspace * @param data.path * @returns string job log * @throws ApiError */ static getLogFileFromStore(data: GetLogFileFromStoreData): CancelablePromise; /** * get flow debug info * @param data The data for the request. * @param data.workspace * @param data.id * @returns unknown flow debug info details * @throws ApiError */ static getFlowDebugInfo(data: GetFlowDebugInfoData): CancelablePromise; /** * get completed job * @param data The data for the request. * @param data.workspace * @param data.id * @returns CompletedJob job details * @throws ApiError */ static getCompletedJob(data: GetCompletedJobData): CancelablePromise; /** * get completed job result * @param data The data for the request. * @param data.workspace * @param data.id * @param data.suspendedJob * @param data.resumeId * @param data.secret * @param data.approver * @returns unknown result * @throws ApiError */ static getCompletedJobResult(data: GetCompletedJobResultData): CancelablePromise; /** * get completed job result if job is completed * @param data The data for the request. * @param data.workspace * @param data.id * @param data.getStarted * @returns unknown result * @throws ApiError */ static getCompletedJobResultMaybe(data: GetCompletedJobResultMaybeData): CancelablePromise; /** * get completed job timing * @param data The data for the request. * @param data.workspace * @param data.id * @returns unknown job timing details * @throws ApiError */ static getCompletedJobTiming(data: GetCompletedJobTimingData): CancelablePromise; /** * list asset-trigger dispatch events for a producer job * Returns the chronological log of decisions the asset-trigger dispatcher made after this producer job completed. Each row is one (subscriber, asset write) decision: `dispatched` (with `child_job_id`), `join_pending` (with `received_inputs` / `required_inputs` / `partition`), or `skipped` (with `reason`). Rows are reaped automatically when the producer's `v2_job` row is deleted by the retention sweep. * * @param data The data for the request. * @param data.workspace * @param data.id * @returns unknown dispatch events for this producer job * @throws ApiError */ static listDispatchEvents(data: ListDispatchEventsData): CancelablePromise; /** * list asset-cascade producer→child job edges for a folder * Returns the `dispatched` asset-trigger edges (producer job → child job) whose subscriber lives under `path_start`. Lets a pipeline view reconstruct the cascade tree of a folder by job id and group connected runs. Visibility follows the producer job's RLS. * * @param data The data for the request. * @param data.workspace * @param data.pathStart Folder path prefix the children live under, e.g. `f/orders/`. * @param data.createdAfter Only edges dispatched at/after this instant. * @returns unknown asset-cascade edges for the folder * @throws ApiError */ static listAssetDispatchEdges(data: ListAssetDispatchEdgesData): CancelablePromise; /** * delete completed job (erase content but keep run id) * @param data The data for the request. * @param data.workspace * @param data.id * @returns CompletedJob job details * @throws ApiError */ static deleteCompletedJob(data: DeleteCompletedJobData): CancelablePromise; /** * mark failed jobs as resolved * Marks failed jobs as handled so triage surfaces stop showing them as failures. The job status itself is unchanged. Returns the ids actually resolved: ids that are not visible to the caller or did not fail are silently skipped. * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns string ids of the jobs that were resolved * @throws ApiError */ static resolveCompletedJobs(data: ResolveCompletedJobsData): CancelablePromise; /** * remove the resolution of failed jobs * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns string ids of the jobs that were unresolved * @throws ApiError */ static unresolveCompletedJobs(data: UnresolveCompletedJobsData): CancelablePromise; /** * cancel queued or running job * @param data The data for the request. * @param data.workspace * @param data.id * @param data.requestBody reason * @returns string job canceled * @throws ApiError */ static cancelQueuedJob(data: CancelQueuedJobData): CancelablePromise; /** * cancel all queued jobs for persistent script * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody reason * @returns string persistent job scaled down to zero * @throws ApiError */ static cancelPersistentQueuedJobs(data: CancelPersistentQueuedJobsData): CancelablePromise; /** * force cancel queued job * @param data The data for the request. * @param data.workspace * @param data.id * @param data.requestBody reason * @returns string job canceled * @throws ApiError */ static forceCancelQueuedJob(data: ForceCancelQueuedJobData): CancelablePromise; /** * get queue position for a job * @param data The data for the request. * @param data.workspace * @param data.scheduledFor * @returns unknown queue position information * @throws ApiError */ static getQueuePosition(data: GetQueuePositionData): CancelablePromise; /** * get scheduled for timestamp for a job * @param data The data for the request. * @param data.workspace * @param data.id * @returns number scheduled for timestamp * @throws ApiError */ static getScheduledFor(data: GetScheduledForData): CancelablePromise; /** * create an HMac signature given a job id and a resume id * @param data The data for the request. * @param data.workspace * @param data.id * @param data.resumeId * @param data.approver * @returns string job signature * @throws ApiError */ static createJobSignature(data: CreateJobSignatureData): CancelablePromise; /** * get resume urls given a job_id, resume_id and a nonce to resume a flow * @param data The data for the request. * @param data.workspace * @param data.id * @param data.resumeId * @param data.approver * @param data.flowLevel If true, generate resume URLs for the parent flow instead of the specific step. This allows pre-approvals that can be consumed by any later suspend step in the same flow. * @returns unknown url endpoints * @throws ApiError */ static getResumeUrls(data: GetResumeUrlsData): CancelablePromise; /** * get the resume urls bound to a specific wait_for_approval step of a workflow-as-code job * @param data The data for the request. * @param data.workspace * @param data.id * @param data.stepKey checkpoint key of the wait_for_approval step, as passed to `wait_for_approval(key=...)` * @param data.approver * @returns unknown url endpoints * @throws ApiError */ static getWacApprovalUrls(data: GetWacApprovalUrlsData): CancelablePromise; /** * generate interactive slack approval for suspended job * @param data The data for the request. * @param data.workspace * @param data.id * @param data.slackResourcePath * @param data.channelId * @param data.flowStepId * @param data.approver * @param data.message * @param data.defaultArgsJson * @param data.dynamicEnumsJson * @param data.resumeButtonText * @param data.cancelButtonText * @returns unknown Interactive slack approval message sent successfully * @throws ApiError */ static getSlackApprovalPayload(data: GetSlackApprovalPayloadData): CancelablePromise; /** * generate interactive teams approval for suspended job * @param data The data for the request. * @param data.workspace * @param data.id * @param data.teamName * @param data.channelName * @param data.flowStepId * @param data.approver * @param data.message * @param data.defaultArgsJson * @param data.dynamicEnumsJson * @param data.resumeButtonText * @param data.cancelButtonText * @returns unknown Interactive slack approval message sent successfully * @throws ApiError */ static getTeamsApprovalPayload(data: GetTeamsApprovalPayloadData): CancelablePromise; /** * resume or cancel a suspended flow/WAC job * Resume or cancel a suspended flow/WAC job. Uses approval rules to determine authorization. Either a valid approval_token or an authenticated session is required. * * @param data The data for the request. * @param data.workspace * @param data.jobId * @param data.requestBody * @returns string job resumed * @throws ApiError */ static resumeSuspended(data: ResumeSuspendedData): CancelablePromise; /** * get approval info for a suspended flow/WAC job * Get approval info for a suspended flow/WAC job. Returns form schema, approval rules, and whether the current user can approve. Either a valid token query parameter or an authenticated session is required. * * @param data The data for the request. * @param data.workspace * @param data.jobId * @param data.token approval token for unauthenticated access * @returns unknown approval info * @throws ApiError */ static getApprovalInfo(data: GetApprovalInfoData): CancelablePromise; /** * resume a job for a suspended flow * @param data The data for the request. * @param data.workspace * @param data.id * @param data.resumeId * @param data.signature * @param data.payload The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent * `encodeURIComponent(btoa(JSON.stringify({a: 2})))` * * @param data.approver * @returns string job resumed * @throws ApiError */ static resumeSuspendedJobGet(data: ResumeSuspendedJobGetData): CancelablePromise; /** * resume a job for a suspended flow * @param data The data for the request. * @param data.workspace * @param data.id * @param data.resumeId * @param data.signature * @param data.requestBody * @param data.approver * @returns string job resumed * @throws ApiError */ static resumeSuspendedJobPost(data: ResumeSuspendedJobPostData): CancelablePromise; /** * set flow user state at a given key * @param data The data for the request. * @param data.workspace * @param data.id * @param data.key * @param data.requestBody new value * @returns string flow user state updated * @throws ApiError */ static setFlowUserState(data: SetFlowUserStateData): CancelablePromise; /** * get flow user state at a given key * @param data The data for the request. * @param data.workspace * @param data.id * @param data.key * @returns unknown flow user state updated * @throws ApiError */ static getFlowUserState(data: GetFlowUserStateData): CancelablePromise; /** * resume a job for a suspended flow as an owner * @param data The data for the request. * @param data.workspace * @param data.id * @param data.requestBody * @returns string job resumed * @throws ApiError */ static resumeSuspendedFlowAsOwner(data: ResumeSuspendedFlowAsOwnerData): CancelablePromise; /** * cancel a job for a suspended flow * @param data The data for the request. * @param data.workspace * @param data.id * @param data.resumeId * @param data.signature * @param data.approver * @returns string job canceled * @throws ApiError */ static cancelSuspendedJobGet(data: CancelSuspendedJobGetData): CancelablePromise; /** * cancel a job for a suspended flow * @param data The data for the request. * @param data.workspace * @param data.id * @param data.resumeId * @param data.signature * @param data.requestBody * @param data.approver * @returns string job canceled * @throws ApiError */ static cancelSuspendedJobPost(data: CancelSuspendedJobPostData): CancelablePromise; /** * get parent flow job of suspended job * @param data The data for the request. * @param data.workspace * @param data.id * @param data.resumeId * @param data.signature * @param data.approver * @returns unknown parent flow details * @throws ApiError */ static getSuspendedJobFlow(data: GetSuspendedJobFlowData): CancelablePromise; /** * Get intervals of job runtime concurrency * @param data The data for the request. * @param data.workspace * @param data.concurrencyKey * @param data.rowLimit * @param data.createdBy filter by exact matching user creator. Supports comma-separated list (e.g. 'alice,bob') and negation by prefixing all values with '!' (e.g. '!alice,!bob') * @param data.label filter by exact matching job label. Supports comma-separated list (e.g. 'deploy,release') and negation by prefixing all values with '!' (e.g. '!deploy,!release') * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any * @param data.scriptPathExact filter by exact matching script path. Supports comma-separated list (e.g. 'f/script1,f/script2') and negation by prefixing all values with '!' (e.g. '!f/script1,!f/script2') * @param data.scriptPathStart filter by script path prefix. Supports comma-separated list (e.g. 'f/folder1,f/folder2') and negation by prefixing all values with '!' (e.g. '!f/folder1,!f/folder2') * @param data.schedulePath mask to filter by schedule path * @param data.scriptHash mask to filter exact matching path * @param data.startedBefore filter on started before (inclusive) timestamp * @param data.startedAfter filter on started after (exclusive) timestamp * @param data.running filter on running jobs * @param data.scheduledForBeforeNow filter on jobs scheduled_for before now (hence waitinf for a worker) * @param data.completedBefore filter on started before (inclusive) timestamp * @param data.completedAfter filter on started after (exclusive) timestamp * @param data.createdBeforeQueue filter on jobs created before X for jobs in the queue only * @param data.createdAfterQueue filter on jobs created after X for jobs in the queue only * @param data.jobKinds filter by job kind. Supports comma-separated list of values ('preview', 'script', 'dependencies', 'flow') and negation by prefixing all values with '!' (e.g. '!preview,!dependencies') * @param data.args filter on jobs containing those args as a json subset (@> in postgres) * @param data.tag filter by tag/worker group. Supports comma-separated list (e.g. 'gpu,highmem') and negation by prefixing all values with '!' (e.g. '!gpu,!highmem') * @param data.result filter on jobs containing those result as a json subset (@> in postgres) * @param data.allowWildcards allow wildcards (*) in the filter of label, tag, worker * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.triggerKind filter by trigger kind. Supports comma-separated list (e.g. 'schedule,webhook') and negation by prefixing all values with '!' (e.g. '!schedule,!webhook') * @param data.isSkipped is the job skipped * @param data.resolved filter on whether a failure has been marked as handled. true keeps only resolved failures, false hides them * @param data.isFlowStep is the job a flow step * @param data.hasNullParent has null parent * @param data.success filter on successful jobs * @param data.status filter on the exact completed job status. Unlike `success=true` (which also matches `skipped`), `status=success` matches only `success`. * @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace) * @param data.isNotSchedule is not a scheduled job * @returns ExtendedJobs time * @throws ApiError */ static listExtendedJobs(data: ListExtendedJobsData): CancelablePromise; /** * Whether a dbt retry by this caller would resume this run * One failed run is saved per script per execution principal, so a `retry` resumes that one — not necessarily the run being looked at. Answers about THIS run alone: its own id when a retry submitted by this caller would resume it, null otherwise (a later run holds the state, the run left nothing to rebuild, or the caller's runs execute as another principal). Authorized through the job, like `run_progress`. * * @param data The data for the request. * @param data.workspace * @param data.id The job whose script and principal decide the saved failure * @returns string this job's id when a retry would resume it, or null * @throws ApiError */ static getDbtResumable(data: GetDbtResumableData): CancelablePromise; /** * Which run a dbt retry of this script would resume for the caller * A `retry` requires `dbt_retry_job`, and the run form has no job id to hand. Returns the one the caller's own retry would land on — the saved failure for the principal the run would execute as, which is the script's author for an `on_behalf_of` script and the caller otherwise — and only when that run is one the caller may read. Null when there is nothing to resume, or nothing this caller may be told about. * * @param data The data for the request. * @param data.workspace * @param data.path * @returns string the job id a retry would resume, or null * @throws ApiError */ static getDbtResumableForScript(data: GetDbtResumableForScriptData): CancelablePromise; /** * Get the asset graph as one run saw it * The workspace asset graph with its dbt half pinned to what a single run built. Only a dynamic descriptor (a `{{ }}` placeholder in `vars`) leaves a per-run snapshot; without one for this job the pinned version's own graph answers, so a run page may use this route unconditionally. Authorized through the job, the same gate as `run_progress` — pinning to a run is job-scoped, which is why `assets/graph` cannot do it. * * @param data The data for the request. * @param data.workspace * @param data.id The job whose graph to render * @param data.assetKinds Filter by asset kinds (comma-separated list) * @param data.folder Scope the graph to runnables in a single folder * @param data.dbtScriptHash Fallback only, for a job that names no deployed script — a preview or a flow. For a script job the version comes from the job row itself, so this is ignored: which deploy's models, SQL and `ref()` lineage are shown is not the caller's to choose. * * @returns AssetGraph asset graph nodes, lineage edges and trigger edges * @throws ApiError */ static getDbtRunGraph(data: GetDbtRunGraphData): CancelablePromise; /** * Get relations' project column lineage as one run saw it * The same answer as `assets/column_lineage`, for the project version a single job ran — including the dbt editor's parse of its own buffer, whose graph belongs to that job and is reachable no other way. One project answers here, the one the run is of, since the graph this annotates is that project's too. Authorized through the job, the same gate as `dbt_graph`. Reaching the run is not on its own enough to read the project: a caller with no access to the script gets its relations and `ref()` edges from `dbt_graph` and an empty answer here, exactly as that endpoint redacts the model's SQL. * * @param data The data for the request. * @param data.workspace * @param data.id The job whose graph the lineage is read from * @param data.assetPath The `dbt://` relations whose lineage to return. Repeated, once per relation, and answered as one union. At least one, and at most 1000 — a request naming none, or more than that, is refused rather than answered with an empty component. * * @returns DbtColumnLineage the relations' column-level lineage * @throws ApiError */ static getDbtRunColumnLineage(data: GetDbtRunColumnLineageData): CancelablePromise; /** * List the per-relation progress one job has recorded so far * Live materialization state for the relations a single job writes, keyed by relation. Polled while a run is in flight so a graph can move a node as its model completes. Authorized through the job, so a caller who may not read it is refused rather than told the run has no progress. An empty list means the job exists and has recorded nothing yet, or is unknown to this workspace. * * @param data The data for the request. * @param data.workspace * @param data.id The job whose per-relation progress to read * @returns AssetProgress per-relation status for this run * @throws ApiError */ static getRunProgress(data: GetRunProgressData): CancelablePromise; /** * List the assets a run touched at runtime * Assets detected while the run executed (SDK S3 calls, resources passed as arguments), aggregated over the job and all of its child jobs so a flow or workflow-as-code run reports what its steps and tasks touched. Authorized through the job, the same gate as `run_progress`. Recording is asynchronous, so an asset can take a few minutes after the run to appear, and only the most recent runs that touched an asset keep that record. A run that fans out can touch more assets than one response should carry, so the list is capped and `truncated` says when it was cut. * * @param data The data for the request. * @param data.workspace * @param data.id The job whose runtime assets to read * @returns unknown assets this run and its child jobs touched * @throws ApiError */ static listRunAssets(data: ListRunAssetsData): CancelablePromise; } export declare class FlowConversationsService { /** * list flow conversations * @param data The data for the request. * @param data.workspace * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.flowPath filter conversations by flow path * @param data.kind which conversations to list - the flow editor's test chats, the deployed flow's own (the default), or both * @returns FlowConversation flow conversations list * @throws ApiError */ static listFlowConversations(data: ListFlowConversationsData): CancelablePromise; /** * rename flow conversation * @param data The data for the request. * @param data.workspace * @param data.conversationId conversation id * @param data.requestBody * @returns string flow conversation updated * @throws ApiError */ static updateFlowConversation(data: UpdateFlowConversationData): CancelablePromise; /** * delete flow conversation * @param data The data for the request. * @param data.workspace * @param data.conversationId conversation id * @returns string flow conversation deleted * @throws ApiError */ static deleteFlowConversation(data: DeleteFlowConversationData): CancelablePromise; /** * list conversation messages * @param data The data for the request. * @param data.workspace * @param data.conversationId conversation id * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.afterSeq Message sequence cursor to fetch only the messages after that cursor * @returns FlowConversationMessage conversation messages * @throws ApiError */ static listConversationMessages(data: ListConversationMessagesData): CancelablePromise; } export declare class AiEvalsService { /** * list eval datasets * @param data The data for the request. * @param data.workspace * @returns EvalDataset eval datasets list * @throws ApiError */ static listEvalDatasets(data: ListEvalDatasetsData): CancelablePromise; /** * create an eval dataset * @param data The data for the request. * @param data.workspace * @param data.requestBody new eval dataset * @returns string eval dataset created * @throws ApiError */ static createEvalDataset(data: CreateEvalDatasetData): CancelablePromise; /** * get an eval dataset * @param data The data for the request. * @param data.workspace * @param data.path * @returns EvalDataset eval dataset * @throws ApiError */ static getEvalDataset(data: GetEvalDatasetData): CancelablePromise; /** * update an eval dataset * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody updated eval dataset * @returns string eval dataset updated * @throws ApiError */ static updateEvalDataset(data: UpdateEvalDatasetData): CancelablePromise; /** * delete an eval dataset and all its cases * The cases, the runs and their recorded case sets go with it through the foreign keys; the jobs those runs produced are left alone. * * @param data The data for the request. * @param data.workspace * @param data.path * @returns string eval dataset deleted * @throws ApiError */ static deleteEvalDataset(data: DeleteEvalDatasetData): CancelablePromise; /** * list the cases of an eval dataset * @param data The data for the request. * @param data.workspace * @param data.path * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @returns unknown eval cases * @throws ApiError */ static listEvalCases(data: ListEvalCasesData): CancelablePromise; /** * what the agent under test is right now * The version it is deployed at. Small on purpose: the results endpoint reports the same thing but harvests scores and reads every job to do it, so it is not something to ask for on its own. * * @param data The data for the request. * @param data.workspace * @param data.path * @returns unknown the subject as it is now * @throws ApiError */ static evalSubjectState(data: EvalSubjectStateData): CancelablePromise; /** * the run one iteration of an eval run answered, as its scorers read it * Called by the step a run's flow places between the agent and its scorers. Every tool call is enriched with the arguments, result, status and duration of the job that ran it, and with the schema of the script version it ran, none of which the flow itself can read. * * @param data The data for the request. * @param data.workspace * @param data.jobId The flow job that answered the case. * @returns unknown the run and its rendering * @throws ApiError */ static evalRunPayload(data: EvalRunPayloadData): CancelablePromise; /** * what a new judge agent and a new script scorer are created from * @param data The data for the request. * @param data.workspace * @returns unknown scorer defaults * @throws ApiError */ static scorerDefaults(data: ScorerDefaultsData): CancelablePromise; /** * list the scorers already in use in this workspace, most recent first * Filtered twice, both times by what the caller can read: the datasets they come from, and the runnables themselves. A scorer they could not run does not appear. * * @param data The data for the request. * @param data.workspace * @param data.kind only scorers of this kind * @returns unknown recently used scorers * @throws ApiError */ static recentScorers(data: RecentScorersData): CancelablePromise; /** * run every case of a dataset as one immutable experiment * @param data The data for the request. * @param data.workspace * @param data.requestBody what to run * @returns string id of the created experiment * @throws ApiError */ static runExperiment(data: RunExperimentData): CancelablePromise; /** * record what a run produced, so it outlives the jobs that produced it * Called by a run's own flow as its last step. The answers and scores a run produced live in its jobs, which have their own retention; this copies them onto the run's rows. Reading a run does the same, so this is what covers a run nobody opened. * * @param data The data for the request. * @param data.workspace * @param data.id * @returns number how many of the run's cases are recorded * @throws ApiError */ static collectExperiment(data: CollectExperimentData): CancelablePromise; /** * list every experiment, across datasets * @param data The data for the request. * @param data.workspace * @param data.subjectPath Restrict to one agent's runs, which is what makes the list a history rather than a log. Runs of what is deployed, of a past version, and of the edits waiting on top are all that agent's, so this does not discriminate by kind. * * @returns EvalExperiment The 100 newest experiments, each naming the dataset it is of. Restricted to datasets the caller can read. * * @throws ApiError */ static listAllExperiments(data: ListAllExperimentsData): CancelablePromise; /** * read an experiment's results, one row per case * @param data The data for the request. * @param data.workspace * @param data.path * @param data.id the experiment to read * @param data.baseline The experiment every column is compared against. A delta is only computed between two scores of the same scorer id, and a column the baseline was never scored with reports it rather than showing a difference. * * @returns unknown experiment results * @throws ApiError */ static experimentResults(data: ExperimentResultsData): CancelablePromise; } export declare class PathAutocompleteService { /** * list all paths in a workspace for client-side autocomplete * Returns the flat list of all item paths visible to the caller across * scripts, flows, apps, raw apps, variables, and resources. Intended to * feed an entirely client-side path autocomplete UI: the frontend fetches * once (server caches per workspace for 60s) and performs all prefix/segment * computation locally. Capped at 20,000 paths (5,000 per table). * * @param data The data for the request. * @param data.workspace * @param data.force bypass the server-side cache and re-query the DB, refreshing the * cache. Used right after a deploy so the new path appears immediately. * * @returns unknown deduplicated path list, sorted lexicographically * @throws ApiError */ static listPathAutocompletePaths(data: ListPathAutocompletePathsData): CancelablePromise; } export declare class RawAppService { /** * list all raw apps * @param data The data for the request. * @param data.workspace * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.orderDesc order by desc order (default true) * @param data.createdBy filter by exact matching user creator. Supports comma-separated list (e.g. 'alice,bob') and negation by prefixing all values with '!' (e.g. '!alice,!bob') * @param data.pathStart mask to filter matching starting path * @param data.pathExact mask to filter exact matching path * @param data.starredOnly (default false) * show only the starred items * * @param data.label Filter by label * @param data.includeDraftOnly When true, append per-user draft rows whose path has no * deployed counterpart. Synthesized rows carry `draft_only: true` * so the home page can render a "Draft" badge. Gated to * non-operators + page 0 + no narrowing filters on the backend so * picker callers stay deployed-only and pagination stays clean. * * @returns ListableRawApp All raw apps * @throws ApiError */ static listRawApps(data: ListRawAppsData): CancelablePromise; } export declare class AiService { /** * record AI token usage for the calling user * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns void usage recorded * @throws ApiError */ static recordAiUsage(data: RecordAiUsageData): CancelablePromise; /** * list aggregated AI token usage * @param data The data for the request. * @param data.workspace * @param data.days * @param data.groupBy * @param data.scope workspace-wide usage (admin only) or the calling user's own * @returns unknown usage buckets * @throws ApiError */ static listAiUsage(data: ListAiUsageData): CancelablePromise; /** * list the calling user's AI session backups in the workspace object storage * @param data The data for the request. * @param data.workspace * @returns unknown backups, newest first; `enabled` is false when the workspace has no storage for them * @throws ApiError */ static listAiSessionBackups(data: ListAiSessionBackupsData): CancelablePromise; /** * fetch whole AI session backups * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns unknown the backups found; `deferred` lists ids that did not fit the response budget * @throws ApiError */ static pullAiSessionBackups(data: PullAiSessionBackupsData): CancelablePromise; /** * write changed pieces of AI sessions to their backups, and remove deleted ones * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns unknown one result per session written or removed, in request order * @throws ApiError */ static pushAiSessionBackups(data: PushAiSessionBackupsData): CancelablePromise; /** * share an AI session artifact with the workspace * Stores a read-only copy that any member of the workspace can open by id. Sharing the same artifact again updates that copy, keeps its id, and restarts its retention window. * * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns SharedAiArtifactInfo the shared copy * @throws ApiError */ static shareAiArtifact(data: ShareAiArtifactData): CancelablePromise; /** * get the calling user's share of one of their AI session artifacts * @param data The data for the request. * @param data.workspace * @param data.artifactId * @returns unknown the live share, if any, and how long shares last * @throws ApiError */ static getAiArtifactShareStatus(data: GetAiArtifactShareStatusData): CancelablePromise; /** * get a shared AI session artifact * @param data The data for the request. * @param data.workspace * @param data.id * @returns unknown the shared artifact * @throws ApiError */ static getSharedAiArtifact(data: GetSharedAiArtifactData): CancelablePromise; /** * stop sharing an AI session artifact * @param data The data for the request. * @param data.workspace * @param data.id * @returns string share deleted * @throws ApiError */ static unshareAiArtifact(data: UnshareAiArtifactData): CancelablePromise; } export declare class TriggerService { /** * resume all suspended jobs for a specific trigger * @param data The data for the request. * @param data.workspace * @param data.triggerKind The kind of trigger * @param data.triggerPath The path of the trigger (can contain forward slashes) * @param data.requestBody Optional list of job IDs to reassign * @returns string confirmation message * @throws ApiError */ static resumeSuspendedTriggerJobs(data: ResumeSuspendedTriggerJobsData): CancelablePromise; /** * cancel all suspended jobs for a specific trigger * @param data The data for the request. * @param data.workspace * @param data.triggerKind The kind of trigger * @param data.triggerPath The path of the trigger (can contain forward slashes) * @param data.requestBody Optional list of job IDs to cancel * @returns string confirmation message * @throws ApiError */ static cancelSuspendedTriggerJobs(data: CancelSuspendedTriggerJobsData): CancelablePromise; /** * list the history of schedule and trigger modifications * @param data The data for the request. * @param data.workspace * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.triggerKind 'schedule' or a trigger type (http, kafka, ...) * @param data.path only return the history of the trigger at this path * @returns TriggerHistoryEntry trigger history * @throws ApiError */ static listTriggerHistory(data: ListTriggerHistoryData): CancelablePromise; } export declare class ScheduleService { /** * preview schedule * @param data The data for the request. * @param data.requestBody schedule * @returns string List of 5 estimated upcoming execution events (in UTC) * @throws ApiError */ static previewSchedule(data: PreviewScheduleData): CancelablePromise; /** * create schedule * @param data The data for the request. * @param data.workspace * @param data.requestBody new schedule * @returns string schedule created * @throws ApiError */ static createSchedule(data: CreateScheduleData): CancelablePromise; /** * update schedule * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody updated schedule * @returns string schedule updated * @throws ApiError */ static updateSchedule(data: UpdateScheduleData): CancelablePromise; /** * set enabled schedule * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody updated schedule enable * @returns string schedule enabled set * @throws ApiError */ static setScheduleEnabled(data: SetScheduleEnabledData): CancelablePromise; /** * delete schedule * @param data The data for the request. * @param data.workspace * @param data.path * @returns string schedule deleted * @throws ApiError */ static deleteSchedule(data: DeleteScheduleData): CancelablePromise; /** * get schedule * @param data The data for the request. * @param data.workspace * @param data.path * @param data.getDraft When true, overlay the authed user's draft (if any) onto the deployed payload. * @returns unknown schedule deleted * @throws ApiError */ static getSchedule(data: GetScheduleData): CancelablePromise; /** * does schedule exists * @param data The data for the request. * @param data.workspace * @param data.path * @returns boolean schedule exists * @throws ApiError */ static existsSchedule(data: ExistsScheduleData): CancelablePromise; /** * list schedules * @param data The data for the request. * @param data.workspace * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.args filter on jobs containing those args as a json subset (@> in postgres) * @param data.path filter by path (script path) * @param data.isFlow filter schedules by whether they target a flow * @param data.pathStart filter schedules by path prefix * @param data.schedulePath exact match on the schedule's path * @param data.description pattern match filter for description field (case-insensitive) * @param data.summary pattern match filter for summary field (case-insensitive) * @param data.broadFilter broad search across multiple fields (case-insensitive substring match) * @param data.label Filter by label * @param data.includeDraftOnly When true, append per-user draft schedules whose path has * no deployed schedule. Synthesized rows carry * `draft_only: true`. * * @returns Schedule schedule list * @throws ApiError */ static listSchedules(data: ListSchedulesData): CancelablePromise; /** * list schedules with last 20 jobs * @param data The data for the request. * @param data.workspace * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @returns ScheduleWJobs schedule list * @throws ApiError */ static listSchedulesWithJobs(data: ListSchedulesWithJobsData): CancelablePromise; /** * Set default error or recoevery handler * @param data The data for the request. * @param data.workspace * @param data.requestBody Handler description * @returns unknown default error handler set * @throws ApiError */ static setDefaultErrorOrRecoveryHandler(data: SetDefaultErrorOrRecoveryHandlerData): CancelablePromise; } export declare class OpenapiService { /** * generate openapi spec from http routes/webhook * @param data The data for the request. * @param data.workspace * @param data.requestBody openapi spec info and url * @returns string openapi spec * @throws ApiError */ static generateOpenapiSpec(data: GenerateOpenapiSpecData): CancelablePromise; /** * Download the OpenAPI v3.1 spec as a file * @param data The data for the request. * @param data.workspace * @param data.requestBody openapi spec info and url * @returns binary Downloaded OpenAPI spec * @throws ApiError */ static downloadOpenapiSpec(data: DownloadOpenapiSpecData): CancelablePromise; } export declare class HttpTriggerService { /** * create many HTTP triggers * @param data The data for the request. * @param data.workspace * @param data.requestBody new http trigger * @returns string http trigger created * @throws ApiError */ static createHttpTriggers(data: CreateHttpTriggersData): CancelablePromise; /** * create http trigger * @param data The data for the request. * @param data.workspace * @param data.requestBody new http trigger * @returns string http trigger created * @throws ApiError */ static createHttpTrigger(data: CreateHttpTriggerData): CancelablePromise; /** * update http trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody updated trigger * @returns string http trigger updated * @throws ApiError */ static updateHttpTrigger(data: UpdateHttpTriggerData): CancelablePromise; /** * delete http trigger * @param data The data for the request. * @param data.workspace * @param data.path * @returns string http trigger deleted * @throws ApiError */ static deleteHttpTrigger(data: DeleteHttpTriggerData): CancelablePromise; /** * get http trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.getDraft When true, overlay the authed user's draft (if any) onto the deployed payload. * @returns unknown http trigger deleted * @throws ApiError */ static getHttpTrigger(data: GetHttpTriggerData): CancelablePromise; /** * list http triggers * @param data The data for the request. * @param data.workspace * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.path filter by path * @param data.isFlow * @param data.pathStart * @param data.label Filter by label * @param data.includeDraftOnly When true, append per-user draft rows whose path has no * deployed counterpart. Synthesized rows carry `draft_only: true` * so the home page can render a "Draft" badge. Gated to * non-operators + page 0 + no narrowing filters on the backend so * picker callers stay deployed-only and pagination stays clean. * * @returns HttpTrigger http trigger list * @throws ApiError */ static listHttpTriggers(data: ListHttpTriggersData): CancelablePromise; /** * does http trigger exists * @param data The data for the request. * @param data.workspace * @param data.path * @returns boolean http trigger exists * @throws ApiError */ static existsHttpTrigger(data: ExistsHttpTriggerData): CancelablePromise; /** * does route exists * @param data The data for the request. * @param data.workspace * @param data.requestBody route exists request * @returns boolean route exists * @throws ApiError */ static existsRoute(data: ExistsRouteData): CancelablePromise; /** * enable/disable http trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody * @returns string http trigger enable/disable * @throws ApiError */ static setHttpTriggerMode(data: SetHttpTriggerModeData): CancelablePromise; } export declare class WebsocketTriggerService { /** * create websocket trigger * @param data The data for the request. * @param data.workspace * @param data.requestBody new websocket trigger * @returns string websocket trigger created * @throws ApiError */ static createWebsocketTrigger(data: CreateWebsocketTriggerData): CancelablePromise; /** * update websocket trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody updated trigger * @returns string websocket trigger updated * @throws ApiError */ static updateWebsocketTrigger(data: UpdateWebsocketTriggerData): CancelablePromise; /** * delete websocket trigger * @param data The data for the request. * @param data.workspace * @param data.path * @returns string websocket trigger deleted * @throws ApiError */ static deleteWebsocketTrigger(data: DeleteWebsocketTriggerData): CancelablePromise; /** * get websocket trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.getDraft When true, overlay the authed user's draft (if any) onto the deployed payload. * @returns unknown websocket trigger deleted * @throws ApiError */ static getWebsocketTrigger(data: GetWebsocketTriggerData): CancelablePromise; /** * list websocket triggers * @param data The data for the request. * @param data.workspace * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.path filter by path * @param data.isFlow * @param data.pathStart * @param data.label Filter by label * @param data.includeDraftOnly When true, append per-user draft rows whose path has no * deployed counterpart. Synthesized rows carry `draft_only: true` * so the home page can render a "Draft" badge. Gated to * non-operators + page 0 + no narrowing filters on the backend so * picker callers stay deployed-only and pagination stays clean. * * @returns WebsocketTrigger websocket trigger list * @throws ApiError */ static listWebsocketTriggers(data: ListWebsocketTriggersData): CancelablePromise; /** * does websocket trigger exists * @param data The data for the request. * @param data.workspace * @param data.path * @returns boolean websocket trigger exists * @throws ApiError */ static existsWebsocketTrigger(data: ExistsWebsocketTriggerData): CancelablePromise; /** * set enabled websocket trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody updated websocket trigger enable * @returns string websocket trigger enabled set * @throws ApiError */ static setWebsocketTriggerMode(data: SetWebsocketTriggerModeData): CancelablePromise; /** * test websocket connection * @param data The data for the request. * @param data.workspace * @param data.requestBody test websocket connection * @returns string successfuly connected to websocket * @throws ApiError */ static testWebsocketConnection(data: TestWebsocketConnectionData): CancelablePromise; } export declare class KafkaTriggerService { /** * create kafka trigger * @param data The data for the request. * @param data.workspace * @param data.requestBody new kafka trigger * @returns string kafka trigger created * @throws ApiError */ static createKafkaTrigger(data: CreateKafkaTriggerData): CancelablePromise; /** * update kafka trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody updated trigger * @returns string kafka trigger updated * @throws ApiError */ static updateKafkaTrigger(data: UpdateKafkaTriggerData): CancelablePromise; /** * delete kafka trigger * @param data The data for the request. * @param data.workspace * @param data.path * @returns string kafka trigger deleted * @throws ApiError */ static deleteKafkaTrigger(data: DeleteKafkaTriggerData): CancelablePromise; /** * get kafka trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.getDraft When true, overlay the authed user's draft (if any) onto the deployed payload. * @returns unknown kafka trigger deleted * @throws ApiError */ static getKafkaTrigger(data: GetKafkaTriggerData): CancelablePromise; /** * list kafka triggers * @param data The data for the request. * @param data.workspace * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.path filter by path * @param data.isFlow * @param data.pathStart * @param data.label Filter by label * @param data.includeDraftOnly When true, append per-user draft rows whose path has no * deployed counterpart. Synthesized rows carry `draft_only: true` * so the home page can render a "Draft" badge. Gated to * non-operators + page 0 + no narrowing filters on the backend so * picker callers stay deployed-only and pagination stays clean. * * @returns KafkaTrigger kafka trigger list * @throws ApiError */ static listKafkaTriggers(data: ListKafkaTriggersData): CancelablePromise; /** * does kafka trigger exists * @param data The data for the request. * @param data.workspace * @param data.path * @returns boolean kafka trigger exists * @throws ApiError */ static existsKafkaTrigger(data: ExistsKafkaTriggerData): CancelablePromise; /** * set enabled kafka trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody updated kafka trigger enable * @returns string kafka trigger enabled set * @throws ApiError */ static setKafkaTriggerMode(data: SetKafkaTriggerModeData): CancelablePromise; /** * test kafka connection * @param data The data for the request. * @param data.workspace * @param data.requestBody test kafka connection * @returns string successfuly connected to kafka brokers * @throws ApiError */ static testKafkaConnection(data: TestKafkaConnectionData): CancelablePromise; /** * reset kafka trigger offsets to earliest * @param data The data for the request. * @param data.workspace * @param data.path * @returns unknown kafka trigger offsets reset successfully * @throws ApiError */ static resetKafkaOffsets(data: ResetKafkaOffsetsData): CancelablePromise; /** * commit kafka offsets for a specific trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody offsets to commit * @returns unknown kafka offsets committed successfully * @throws ApiError */ static commitKafkaOffsets(data: CommitKafkaOffsetsData): CancelablePromise; } export declare class NatsTriggerService { /** * create nats trigger * @param data The data for the request. * @param data.workspace * @param data.requestBody new nats trigger * @returns string nats trigger created * @throws ApiError */ static createNatsTrigger(data: CreateNatsTriggerData): CancelablePromise; /** * update nats trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody updated trigger * @returns string nats trigger updated * @throws ApiError */ static updateNatsTrigger(data: UpdateNatsTriggerData): CancelablePromise; /** * delete nats trigger * @param data The data for the request. * @param data.workspace * @param data.path * @returns string nats trigger deleted * @throws ApiError */ static deleteNatsTrigger(data: DeleteNatsTriggerData): CancelablePromise; /** * get nats trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.getDraft When true, overlay the authed user's draft (if any) onto the deployed payload. * @returns unknown nats trigger deleted * @throws ApiError */ static getNatsTrigger(data: GetNatsTriggerData): CancelablePromise; /** * list nats triggers * @param data The data for the request. * @param data.workspace * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.path filter by path * @param data.isFlow * @param data.pathStart * @param data.label Filter by label * @param data.includeDraftOnly When true, append per-user draft rows whose path has no * deployed counterpart. Synthesized rows carry `draft_only: true` * so the home page can render a "Draft" badge. Gated to * non-operators + page 0 + no narrowing filters on the backend so * picker callers stay deployed-only and pagination stays clean. * * @returns NatsTrigger nats trigger list * @throws ApiError */ static listNatsTriggers(data: ListNatsTriggersData): CancelablePromise; /** * does nats trigger exists * @param data The data for the request. * @param data.workspace * @param data.path * @returns boolean nats trigger exists * @throws ApiError */ static existsNatsTrigger(data: ExistsNatsTriggerData): CancelablePromise; /** * set enabled nats trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody updated nats trigger enable * @returns string nats trigger enabled set * @throws ApiError */ static setNatsTriggerMode(data: SetNatsTriggerModeData): CancelablePromise; /** * test NATS connection * @param data The data for the request. * @param data.workspace * @param data.requestBody test nats connection * @returns string successfuly connected to NATS servers * @throws ApiError */ static testNatsConnection(data: TestNatsConnectionData): CancelablePromise; } export declare class SqsTriggerService { /** * create sqs trigger * @param data The data for the request. * @param data.workspace * @param data.requestBody new sqs trigger * @returns string sqs trigger created * @throws ApiError */ static createSqsTrigger(data: CreateSqsTriggerData): CancelablePromise; /** * update sqs trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody updated trigger * @returns string sqs trigger updated * @throws ApiError */ static updateSqsTrigger(data: UpdateSqsTriggerData): CancelablePromise; /** * delete sqs trigger * @param data The data for the request. * @param data.workspace * @param data.path * @returns string sqs trigger deleted * @throws ApiError */ static deleteSqsTrigger(data: DeleteSqsTriggerData): CancelablePromise; /** * get sqs trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.getDraft When true, overlay the authed user's draft (if any) onto the deployed payload. * @returns unknown sqs trigger deleted * @throws ApiError */ static getSqsTrigger(data: GetSqsTriggerData): CancelablePromise; /** * list sqs triggers * @param data The data for the request. * @param data.workspace * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.path filter by path * @param data.isFlow * @param data.pathStart * @param data.label Filter by label * @param data.includeDraftOnly When true, append per-user draft rows whose path has no * deployed counterpart. Synthesized rows carry `draft_only: true` * so the home page can render a "Draft" badge. Gated to * non-operators + page 0 + no narrowing filters on the backend so * picker callers stay deployed-only and pagination stays clean. * * @returns SqsTrigger sqs trigger list * @throws ApiError */ static listSqsTriggers(data: ListSqsTriggersData): CancelablePromise; /** * does sqs trigger exists * @param data The data for the request. * @param data.workspace * @param data.path * @returns boolean sqs trigger exists * @throws ApiError */ static existsSqsTrigger(data: ExistsSqsTriggerData): CancelablePromise; /** * set enabled sqs trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody updated sqs trigger enable * @returns string sqs trigger enabled set * @throws ApiError */ static setSqsTriggerMode(data: SetSqsTriggerModeData): CancelablePromise; /** * test sqs connection * @param data The data for the request. * @param data.workspace * @param data.requestBody test sqs connection * @returns string successfuly connected to sqs * @throws ApiError */ static testSqsConnection(data: TestSqsConnectionData): CancelablePromise; } export declare class WorkspaceIntegrationService { /** * list available native trigger services * @param data The data for the request. * @param data.workspace * @returns WorkspaceIntegrations native trigger services list * @throws ApiError */ static listNativeTriggerServices(data: ListNativeTriggerServicesData): CancelablePromise; /** * check if integrations for a particular service exists * @param data The data for the request. * @param data.workspace * @param data.serviceName * @returns boolean integration exists * @throws ApiError */ static checkIfNativeTriggersServiceExists(data: CheckIfNativeTriggersServiceExistsData): CancelablePromise; /** * create native trigger service * @param data The data for the request. * @param data.workspace * @param data.serviceName * @param data.requestBody new native trigger service * @returns string native trigger service created * @throws ApiError */ static createNativeTriggerService(data: CreateNativeTriggerServiceData): CancelablePromise; /** * generate connect url for native trigger service * @param data The data for the request. * @param data.workspace * @param data.serviceName * @param data.requestBody redirect_uri * @returns string native trigger service connect url * @throws ApiError */ static generateNativeTriggerServiceConnectUrl(data: GenerateNativeTriggerServiceConnectUrlData): CancelablePromise; /** * check if instance-level credential sharing is available for a service * @param data The data for the request. * @param data.workspace * @param data.serviceName * @returns boolean whether instance sharing is available * @throws ApiError */ static checkInstanceSharingAvailable(data: CheckInstanceSharingAvailableData): CancelablePromise; /** * generate connect url using instance-level credentials * @param data The data for the request. * @param data.workspace * @param data.serviceName * @param data.requestBody redirect_uri * @returns string authorization URL using instance credentials * @throws ApiError */ static generateInstanceConnectUrl(data: GenerateInstanceConnectUrlData): CancelablePromise; /** * delete native trigger service * @param data The data for the request. * @param data.workspace * @param data.serviceName * @returns string native trigger service deleted * @throws ApiError */ static deleteNativeTriggerService(data: DeleteNativeTriggerServiceData): CancelablePromise; /** * native trigger service oauth callback * @param data The data for the request. * @param data.workspace * @param data.serviceName * @param data.requestBody OAuth callback data * @returns string native trigger service oauth completed * @throws ApiError */ static nativeTriggerServiceCallback(data: NativeTriggerServiceCallbackData): CancelablePromise; } export declare class NativeTriggerService { /** * create native trigger * Creates a new native trigger for the specified service. * Requires write access to the script or flow that the trigger will be associated with. * * @param data The data for the request. * @param data.workspace * @param data.serviceName * @param data.requestBody new native trigger configuration * @returns CreateTriggerResponse native trigger created * @throws ApiError */ static createNativeTrigger(data: CreateNativeTriggerData): CancelablePromise; /** * update native trigger * Updates an existing native trigger. * Requires write access to the script or flow that the trigger is associated with. * * @param data The data for the request. * @param data.workspace * @param data.serviceName * @param data.externalId The external ID of the trigger from the external service * @param data.requestBody updated native trigger configuration * @returns string native trigger updated * @throws ApiError */ static updateNativeTrigger(data: UpdateNativeTriggerData): CancelablePromise; /** * get native trigger * Retrieves a native trigger by its external ID. * Requires write access to the script or flow that the trigger is associated with. * * @param data The data for the request. * @param data.workspace * @param data.serviceName * @param data.externalId The external ID of the trigger from the external service * @returns NativeTriggerWithExternal native trigger with external configuration * @throws ApiError */ static getNativeTrigger(data: GetNativeTriggerData): CancelablePromise; /** * delete native trigger * Deletes a native trigger by its external ID. * Requires write access to the script or flow that the trigger is associated with. * * @param data The data for the request. * @param data.workspace * @param data.serviceName * @param data.externalId The external ID of the trigger from the external service * @returns string native trigger deleted * @throws ApiError */ static deleteNativeTrigger(data: DeleteNativeTriggerData): CancelablePromise; /** * set enabled state of native trigger * Enables or disables a native trigger. A disabled trigger stays registered on the * external service but starts no job when it fires. * Requires write access to the script or flow that the trigger is associated with. * * @param data The data for the request. * @param data.workspace * @param data.serviceName * @param data.externalId The external ID of the trigger from the external service * @param data.requestBody updated enabled state * @returns string native trigger enabled state updated * @throws ApiError */ static setNativeTriggerEnabled(data: SetNativeTriggerEnabledData): CancelablePromise; /** * list native triggers * Lists all native triggers for the specified service in the workspace. * @param data The data for the request. * @param data.workspace * @param data.serviceName * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.path filter by script path * @param data.isFlow filter by is_flow * @param data.label Filter by label * @param data.includeDraftOnly When true, append per-user draft rows whose path has no * deployed counterpart. Synthesized rows carry `draft_only: true` * so the home page can render a "Draft" badge. Gated to * non-operators + page 0 + no narrowing filters on the backend so * picker callers stay deployed-only and pagination stays clean. * * @returns NativeTrigger native triggers list * @throws ApiError */ static listNativeTriggers(data: ListNativeTriggersData): CancelablePromise; /** * check if native trigger exists * Checks if a native trigger with the given external ID exists. * @param data The data for the request. * @param data.workspace * @param data.serviceName * @param data.externalId The external ID of the trigger from the external service * @returns boolean whether the native trigger exists * @throws ApiError */ static existsNativeTrigger(data: ExistsNativeTriggerData): CancelablePromise; /** * sync native triggers with external service * @param data The data for the request. * @param data.workspace * @param data.serviceName * @returns unknown sync completed successfully * @throws ApiError */ static syncNativeTriggers(data: SyncNativeTriggersData): CancelablePromise; /** * list available NextCloud events * @param data The data for the request. * @param data.workspace * @returns NextCloudEventType list of available NextCloud events * @throws ApiError */ static listNextCloudEvents(data: ListNextCloudEventsData): CancelablePromise; /** * list Google Calendars for the authenticated user * @param data The data for the request. * @param data.workspace * @returns GoogleCalendarEntry list of Google Calendars * @throws ApiError */ static listGoogleCalendars(data: ListGoogleCalendarsData): CancelablePromise; /** * list or search Google Drive files * @param data The data for the request. * @param data.workspace * @param data.q search query to filter files by name * @param data.parentId folder ID to list children of * @param data.pageToken token for next page of results * @param data.sharedWithMe if true, list files shared with the user * @returns GoogleDriveFilesResponse list of Google Drive files * @throws ApiError */ static listGoogleDriveFiles(data: ListGoogleDriveFilesData): CancelablePromise; /** * list shared drives accessible to the user * @param data The data for the request. * @param data.workspace * @returns SharedDriveEntry list of shared drives * @throws ApiError */ static listGoogleSharedDrives(data: ListGoogleSharedDrivesData): CancelablePromise; /** * list GitHub repositories accessible to the user * @param data The data for the request. * @param data.workspace * @returns GithubRepoEntry list of GitHub repositories * @throws ApiError */ static listGithubRepos(data: ListGithubReposData): CancelablePromise; /** * receive webhook from external native trigger service * @param data The data for the request. * @param data.serviceName * @param data.workspaceId * @param data.internalId The internal database ID of the trigger * @param data.requestBody webhook payload from external service * @returns string webhook received successfully * @throws ApiError */ static nativeTriggerWebhook(data: NativeTriggerWebhookData): CancelablePromise; } export declare class MqttTriggerService { /** * create mqtt trigger * @param data The data for the request. * @param data.workspace * @param data.requestBody new mqtt trigger * @returns string mqtt trigger created * @throws ApiError */ static createMqttTrigger(data: CreateMqttTriggerData): CancelablePromise; /** * update mqtt trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody updated trigger * @returns string mqtt trigger updated * @throws ApiError */ static updateMqttTrigger(data: UpdateMqttTriggerData): CancelablePromise; /** * delete mqtt trigger * @param data The data for the request. * @param data.workspace * @param data.path * @returns string mqtt trigger deleted * @throws ApiError */ static deleteMqttTrigger(data: DeleteMqttTriggerData): CancelablePromise; /** * get mqtt trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.getDraft When true, overlay the authed user's draft (if any) onto the deployed payload. * @returns unknown mqtt trigger deleted * @throws ApiError */ static getMqttTrigger(data: GetMqttTriggerData): CancelablePromise; /** * list mqtt triggers * @param data The data for the request. * @param data.workspace * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.path filter by path * @param data.isFlow * @param data.pathStart * @param data.label Filter by label * @param data.includeDraftOnly When true, append per-user draft rows whose path has no * deployed counterpart. Synthesized rows carry `draft_only: true` * so the home page can render a "Draft" badge. Gated to * non-operators + page 0 + no narrowing filters on the backend so * picker callers stay deployed-only and pagination stays clean. * * @returns MqttTrigger mqtt trigger list * @throws ApiError */ static listMqttTriggers(data: ListMqttTriggersData): CancelablePromise; /** * does mqtt trigger exists * @param data The data for the request. * @param data.workspace * @param data.path * @returns boolean mqtt trigger exists * @throws ApiError */ static existsMqttTrigger(data: ExistsMqttTriggerData): CancelablePromise; /** * set enabled mqtt trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody updated mqtt trigger enable * @returns string mqtt trigger enabled set * @throws ApiError */ static setMqttTriggerMode(data: SetMqttTriggerModeData): CancelablePromise; /** * test mqtt connection * @param data The data for the request. * @param data.workspace * @param data.requestBody test mqtt connection * @returns string successfully connected to mqtt * @throws ApiError */ static testMqttConnection(data: TestMqttConnectionData): CancelablePromise; } export declare class AmqpTriggerService { /** * create amqp trigger * @param data The data for the request. * @param data.workspace * @param data.requestBody new amqp trigger * @returns string amqp trigger created * @throws ApiError */ static createAmqpTrigger(data: CreateAmqpTriggerData): CancelablePromise; /** * update amqp trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody updated trigger * @returns string amqp trigger updated * @throws ApiError */ static updateAmqpTrigger(data: UpdateAmqpTriggerData): CancelablePromise; /** * delete amqp trigger * @param data The data for the request. * @param data.workspace * @param data.path * @returns string amqp trigger deleted * @throws ApiError */ static deleteAmqpTrigger(data: DeleteAmqpTriggerData): CancelablePromise; /** * get amqp trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.getDraft When true, overlay the authed user's draft (if any) onto the deployed payload. * @returns unknown amqp trigger retrieved * @throws ApiError */ static getAmqpTrigger(data: GetAmqpTriggerData): CancelablePromise; /** * list amqp triggers * @param data The data for the request. * @param data.workspace * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.path filter by path * @param data.isFlow * @param data.pathStart * @param data.label Filter by label * @param data.includeDraftOnly When true, append per-user draft rows whose path has no * deployed counterpart. Synthesized rows carry `draft_only: true` * so the home page can render a "Draft" badge. Gated to * non-operators + page 0 + no narrowing filters on the backend so * picker callers stay deployed-only and pagination stays clean. * * @returns AmqpTrigger amqp trigger list * @throws ApiError */ static listAmqpTriggers(data: ListAmqpTriggersData): CancelablePromise; /** * does amqp trigger exists * @param data The data for the request. * @param data.workspace * @param data.path * @returns boolean amqp trigger exists * @throws ApiError */ static existsAmqpTrigger(data: ExistsAmqpTriggerData): CancelablePromise; /** * set enabled amqp trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody updated amqp trigger enable * @returns string amqp trigger enabled set * @throws ApiError */ static setAmqpTriggerMode(data: SetAmqpTriggerModeData): CancelablePromise; /** * test amqp connection * @param data The data for the request. * @param data.workspace * @param data.requestBody test amqp connection * @returns string successfully connected to amqp * @throws ApiError */ static testAmqpConnection(data: TestAmqpConnectionData): CancelablePromise; } export declare class GcpTriggerService { /** * create gcp trigger * @param data The data for the request. * @param data.workspace * @param data.requestBody new gcp trigger * @returns string gcp trigger created * @throws ApiError */ static createGcpTrigger(data: CreateGcpTriggerData): CancelablePromise; /** * update gcp trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody updated trigger * @returns string gcp trigger updated * @throws ApiError */ static updateGcpTrigger(data: UpdateGcpTriggerData): CancelablePromise; /** * delete gcp trigger * @param data The data for the request. * @param data.workspace * @param data.path * @returns string gcp trigger deleted * @throws ApiError */ static deleteGcpTrigger(data: DeleteGcpTriggerData): CancelablePromise; /** * get gcp trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.getDraft When true, overlay the authed user's draft (if any) onto the deployed payload. * @returns unknown gcp trigger deleted * @throws ApiError */ static getGcpTrigger(data: GetGcpTriggerData): CancelablePromise; /** * list gcp triggers * @param data The data for the request. * @param data.workspace * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.path filter by path * @param data.isFlow * @param data.pathStart * @param data.label Filter by label * @param data.includeDraftOnly When true, append per-user draft rows whose path has no * deployed counterpart. Synthesized rows carry `draft_only: true` * so the home page can render a "Draft" badge. Gated to * non-operators + page 0 + no narrowing filters on the backend so * picker callers stay deployed-only and pagination stays clean. * * @returns GcpTrigger gcp trigger list * @throws ApiError */ static listGcpTriggers(data: ListGcpTriggersData): CancelablePromise; /** * does gcp trigger exists * @param data The data for the request. * @param data.workspace * @param data.path * @returns boolean gcp trigger exists * @throws ApiError */ static existsGcpTrigger(data: ExistsGcpTriggerData): CancelablePromise; /** * set enabled gcp trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody updated gcp trigger enable * @returns string gcp trigger enabled set * @throws ApiError */ static setGcpTriggerMode(data: SetGcpTriggerModeData): CancelablePromise; /** * test gcp connection * @param data The data for the request. * @param data.workspace * @param data.requestBody test gcp connection * @returns string try to connect to a gcp broker * @throws ApiError */ static testGcpConnection(data: TestGcpConnectionData): CancelablePromise; /** * delete gcp trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody args to delete subscription from google cloud * @returns string gcp trigger deleted * @throws ApiError */ static deleteGcpSubscription(data: DeleteGcpSubscriptionData): CancelablePromise; /** * delete a subscription reachable with the instance's application default credentials * @param data The data for the request. * @param data.workspace * @param data.requestBody args to delete subscription from google cloud * @returns string gcp trigger deleted * @throws ApiError */ static deleteGcpSubscriptionWithDefaultCredentials(data: DeleteGcpSubscriptionWithDefaultCredentialsData): CancelablePromise; /** * list all topics of google cloud service * @param data The data for the request. * @param data.workspace * @param data.path * @param data.projectId GCP project to list resources from, when it is not the project of the credentials * @returns string get all google topics * @throws ApiError */ static listGoogleTopics(data: ListGoogleTopicsData): CancelablePromise; /** * list all topics reachable with the instance's application default credentials * @param data The data for the request. * @param data.workspace * @param data.projectId GCP project to list resources from, when it is not the project of the credentials * @returns string get all google topics * @throws ApiError */ static listGoogleTopicsWithDefaultCredentials(data: ListGoogleTopicsWithDefaultCredentialsData): CancelablePromise; /** * list all subscription of a give topic from google cloud service * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody args to get subscription's topic from google cloud * @returns string get all google topic subscriptions name * @throws ApiError */ static listAllTgoogleTopicSubscriptions(data: ListAllTgoogleTopicSubscriptionsData): CancelablePromise; /** * list all subscriptions of a topic reachable with the instance's application default credentials * @param data The data for the request. * @param data.workspace * @param data.requestBody args to get subscription's topic from google cloud * @returns string get all google topic subscriptions name * @throws ApiError */ static listAllTgoogleTopicSubscriptionsWithDefaultCredentials(data: ListAllTgoogleTopicSubscriptionsWithDefaultCredentialsData): CancelablePromise; } export declare class AzureTriggerService { /** * create an Azure Event Grid trigger * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns string azure trigger created * @throws ApiError */ static createAzureTrigger(data: CreateAzureTriggerData): CancelablePromise; /** * update an Azure Event Grid trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody * @returns string azure trigger updated * @throws ApiError */ static updateAzureTrigger(data: UpdateAzureTriggerData): CancelablePromise; /** * delete an Azure Event Grid trigger * @param data The data for the request. * @param data.workspace * @param data.path * @returns string azure trigger deleted * @throws ApiError */ static deleteAzureTrigger(data: DeleteAzureTriggerData): CancelablePromise; /** * get an Azure Event Grid trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.getDraft When true, overlay the authed user's draft (if any) onto the deployed payload. * @returns unknown azure trigger * @throws ApiError */ static getAzureTrigger(data: GetAzureTriggerData): CancelablePromise; /** * list azure triggers * @param data The data for the request. * @param data.workspace * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.path filter by exact path * @param data.isFlow * @param data.pathStart * @param data.includeDraftOnly When true, append per-user draft rows whose path has no * deployed counterpart. Synthesized rows carry `draft_only: true` * so the home page can render a "Draft" badge. Gated to * non-operators + page 0 + no narrowing filters on the backend so * picker callers stay deployed-only and pagination stays clean. * * @returns AzureTrigger azure trigger list * @throws ApiError */ static listAzureTriggers(data: ListAzureTriggersData): CancelablePromise; /** * check whether an azure trigger exists * @param data The data for the request. * @param data.workspace * @param data.path * @returns boolean true/false * @throws ApiError */ static existsAzureTrigger(data: ExistsAzureTriggerData): CancelablePromise; /** * set azure trigger mode * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody * @returns string trigger mode updated * @throws ApiError */ static setAzureTriggerMode(data: SetAzureTriggerModeData): CancelablePromise; /** * test Azure service principal connection * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns string connection successful * @throws ApiError */ static testAzureConnection(data: TestAzureConnectionData): CancelablePromise; /** * list topics under an Event Grid Namespace * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody * @returns unknown topic list * @throws ApiError */ static listAzureNamespaceTopics(data: ListAzureNamespaceTopicsData): CancelablePromise; /** * list subscriptions under a Namespace topic * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody * @returns unknown subscription list * @throws ApiError */ static listAzureNamespaceSubscriptions(data: ListAzureNamespaceSubscriptionsData): CancelablePromise; /** * delete an Event Grid subscription on Azure * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody * @returns string subscription deleted * @throws ApiError */ static deleteAzureSubscription(data: DeleteAzureSubscriptionData): CancelablePromise; /** * list Event Grid Namespaces the service principal can access * @param data The data for the request. * @param data.workspace * @param data.path * @returns AzureArmResource namespace list * @throws ApiError */ static listAzureNamespaces(data: ListAzureNamespacesData): CancelablePromise; /** * list Basic Event Grid topics + system topics the service principal can access * @param data The data for the request. * @param data.workspace * @param data.path * @returns AzureArmResource topic list * @throws ApiError */ static listAzureBasicTopics(data: ListAzureBasicTopicsData): CancelablePromise; } export declare class PostgresTriggerService { /** * get postgres version * @param data The data for the request. * @param data.workspace * @param data.path * @returns string postgres version * @throws ApiError */ static getPostgresVersion(data: GetPostgresVersionData): CancelablePromise; /** * check if postgres configuration is set to logical * @param data The data for the request. * @param data.workspace * @param data.path * @returns boolean boolean that indicates if postgres is set to logical level or not * @throws ApiError */ static isValidPostgresConfiguration(data: IsValidPostgresConfigurationData): CancelablePromise; /** * create template script * @param data The data for the request. * @param data.workspace * @param data.requestBody template script * @returns string custom id to retrieve template script * @throws ApiError */ static createTemplateScript(data: CreateTemplateScriptData): CancelablePromise; /** * get template script * @param data The data for the request. * @param data.workspace * @param data.id * @returns string template script * @throws ApiError */ static getTemplateScript(data: GetTemplateScriptData): CancelablePromise; /** * list postgres replication slot * @param data The data for the request. * @param data.workspace * @param data.path * @returns SlotList list postgres slot * @throws ApiError */ static listPostgresReplicationSlot(data: ListPostgresReplicationSlotData): CancelablePromise; /** * create replication slot for postgres * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody new slot for postgres * @returns string slot created * @throws ApiError */ static createPostgresReplicationSlot(data: CreatePostgresReplicationSlotData): CancelablePromise; /** * delete postgres replication slot * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody replication slot of postgres * @returns string postgres replication slot deleted * @throws ApiError */ static deletePostgresReplicationSlot(data: DeletePostgresReplicationSlotData): CancelablePromise; /** * list postgres publication * @param data The data for the request. * @param data.workspace * @param data.path * @returns string database publication list * @throws ApiError */ static listPostgresPublication(data: ListPostgresPublicationData): CancelablePromise; /** * get postgres publication * @param data The data for the request. * @param data.workspace * @param data.path * @param data.publication The name of the publication * @returns PublicationData postgres publication get * @throws ApiError */ static getPostgresPublication(data: GetPostgresPublicationData): CancelablePromise; /** * create publication for postgres * @param data The data for the request. * @param data.workspace * @param data.path * @param data.publication The name of the publication * @param data.requestBody new publication for postgres * @returns string publication created * @throws ApiError */ static createPostgresPublication(data: CreatePostgresPublicationData): CancelablePromise; /** * update publication for postgres * @param data The data for the request. * @param data.workspace * @param data.path * @param data.publication The name of the publication * @param data.requestBody update publication for postgres * @returns string publication updated * @throws ApiError */ static updatePostgresPublication(data: UpdatePostgresPublicationData): CancelablePromise; /** * delete postgres publication * @param data The data for the request. * @param data.workspace * @param data.path * @param data.publication The name of the publication * @returns string postgres publication deleted * @throws ApiError */ static deletePostgresPublication(data: DeletePostgresPublicationData): CancelablePromise; /** * create postgres trigger * @param data The data for the request. * @param data.workspace * @param data.requestBody new postgres trigger * @returns string postgres trigger created * @throws ApiError */ static createPostgresTrigger(data: CreatePostgresTriggerData): CancelablePromise; /** * update postgres trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody updated trigger * @returns string postgres trigger updated * @throws ApiError */ static updatePostgresTrigger(data: UpdatePostgresTriggerData): CancelablePromise; /** * delete postgres trigger * @param data The data for the request. * @param data.workspace * @param data.path * @returns string postgres trigger deleted * @throws ApiError */ static deletePostgresTrigger(data: DeletePostgresTriggerData): CancelablePromise; /** * get postgres trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.getDraft When true, overlay the authed user's draft (if any) onto the deployed payload. * @returns unknown get postgres trigger * @throws ApiError */ static getPostgresTrigger(data: GetPostgresTriggerData): CancelablePromise; /** * list postgres triggers * @param data The data for the request. * @param data.workspace * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.path filter by path * @param data.isFlow * @param data.pathStart * @param data.label Filter by label * @param data.includeDraftOnly When true, append per-user draft rows whose path has no * deployed counterpart. Synthesized rows carry `draft_only: true` * so the home page can render a "Draft" badge. Gated to * non-operators + page 0 + no narrowing filters on the backend so * picker callers stay deployed-only and pagination stays clean. * * @returns PostgresTrigger postgres trigger list * @throws ApiError */ static listPostgresTriggers(data: ListPostgresTriggersData): CancelablePromise; /** * does postgres trigger exists * @param data The data for the request. * @param data.workspace * @param data.path * @returns boolean postgres trigger exists * @throws ApiError */ static existsPostgresTrigger(data: ExistsPostgresTriggerData): CancelablePromise; /** * set enabled postgres trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody updated postgres trigger enable * @returns string postgres trigger enabled set * @throws ApiError */ static setPostgresTriggerMode(data: SetPostgresTriggerModeData): CancelablePromise; /** * test postgres connection * @param data The data for the request. * @param data.workspace * @param data.requestBody test postgres connection * @returns string successfuly connected to postgres * @throws ApiError */ static testPostgresConnection(data: TestPostgresConnectionData): CancelablePromise; } export declare class EmailTriggerService { /** * create email trigger * @param data The data for the request. * @param data.workspace * @param data.requestBody new email trigger * @returns string email trigger created * @throws ApiError */ static createEmailTrigger(data: CreateEmailTriggerData): CancelablePromise; /** * update email trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody updated trigger * @returns string email trigger updated * @throws ApiError */ static updateEmailTrigger(data: UpdateEmailTriggerData): CancelablePromise; /** * delete email trigger * @param data The data for the request. * @param data.workspace * @param data.path * @returns string email trigger deleted * @throws ApiError */ static deleteEmailTrigger(data: DeleteEmailTriggerData): CancelablePromise; /** * get email trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.getDraft When true, overlay the authed user's draft (if any) onto the deployed payload. * @returns unknown email trigger retrieved * @throws ApiError */ static getEmailTrigger(data: GetEmailTriggerData): CancelablePromise; /** * list email triggers * @param data The data for the request. * @param data.workspace * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.path filter by path * @param data.isFlow * @param data.pathStart * @param data.label Filter by label * @param data.includeDraftOnly When true, append per-user draft rows whose path has no * deployed counterpart. Synthesized rows carry `draft_only: true` * so the home page can render a "Draft" badge. Gated to * non-operators + page 0 + no narrowing filters on the backend so * picker callers stay deployed-only and pagination stays clean. * * @returns EmailTrigger email trigger list * @throws ApiError */ static listEmailTriggers(data: ListEmailTriggersData): CancelablePromise; /** * does email trigger exists * @param data The data for the request. * @param data.workspace * @param data.path * @returns boolean email trigger exists * @throws ApiError */ static existsEmailTrigger(data: ExistsEmailTriggerData): CancelablePromise; /** * does email local part exists * @param data The data for the request. * @param data.workspace * @param data.requestBody email local part exists request * @returns boolean email local part exists * @throws ApiError */ static existsEmailLocalPart(data: ExistsEmailLocalPartData): CancelablePromise; /** * enable/disable email trigger * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody * @returns string email trigger enable/disable * @throws ApiError */ static setEmailTriggerMode(data: SetEmailTriggerModeData): CancelablePromise; } export declare class GroupService { /** * list instance groups * @returns InstanceGroup instance group list * @throws ApiError */ static listInstanceGroups(): CancelablePromise; /** * list instance groups with workspace information * @returns InstanceGroupWithWorkspaces instance group list with workspaces * @throws ApiError */ static listInstanceGroupsWithWorkspaces(): CancelablePromise; /** * get instance group * @param data The data for the request. * @param data.name * @returns InstanceGroupWithWorkspaces instance group * @throws ApiError */ static getInstanceGroup(data: GetInstanceGroupData): CancelablePromise; /** * create instance group * @param data The data for the request. * @param data.requestBody create instance group * @returns string instance group created * @throws ApiError */ static createInstanceGroup(data: CreateInstanceGroupData): CancelablePromise; /** * update instance group * @param data The data for the request. * @param data.name * @param data.requestBody update instance group * @returns string instance group updated * @throws ApiError */ static updateInstanceGroup(data: UpdateInstanceGroupData): CancelablePromise; /** * delete instance group * @param data The data for the request. * @param data.name * @returns string instance group deleted * @throws ApiError */ static deleteInstanceGroup(data: DeleteInstanceGroupData): CancelablePromise; /** * add user to instance group * @param data The data for the request. * @param data.name * @param data.requestBody user to add to instance group * @returns string user added to instance group * @throws ApiError */ static addUserToInstanceGroup(data: AddUserToInstanceGroupData): CancelablePromise; /** * remove user from instance group * @param data The data for the request. * @param data.name * @param data.requestBody user to remove from instance group * @returns string user removed from instance group * @throws ApiError */ static removeUserFromInstanceGroup(data: RemoveUserFromInstanceGroupData): CancelablePromise; /** * export instance groups * @returns ExportedInstanceGroup exported instance groups * @throws ApiError */ static exportInstanceGroups(): CancelablePromise; /** * overwrite instance groups * @param data The data for the request. * @param data.requestBody overwrite instance groups * @returns string success message * @throws ApiError */ static overwriteInstanceGroups(data: OverwriteInstanceGroupsData): CancelablePromise; /** * list groups * @param data The data for the request. * @param data.workspace * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @returns Group group list * @throws ApiError */ static listGroups(data: ListGroupsData): CancelablePromise; /** * list group names * @param data The data for the request. * @param data.workspace * @param data.onlyMemberOf only list the groups the user is member of (default false) * @returns string group list * @throws ApiError */ static listGroupNames(data: ListGroupNamesData): CancelablePromise; /** * create group * @param data The data for the request. * @param data.workspace * @param data.requestBody create group * @returns string group created * @throws ApiError */ static createGroup(data: CreateGroupData): CancelablePromise; /** * update group * @param data The data for the request. * @param data.workspace * @param data.name * @param data.requestBody updated group * @returns string group updated * @throws ApiError */ static updateGroup(data: UpdateGroupData): CancelablePromise; /** * delete group * @param data The data for the request. * @param data.workspace * @param data.name * @returns string group deleted * @throws ApiError */ static deleteGroup(data: DeleteGroupData): CancelablePromise; /** * get group * @param data The data for the request. * @param data.workspace * @param data.name * @returns Group group * @throws ApiError */ static getGroup(data: GetGroupData): CancelablePromise; /** * add user to group * @param data The data for the request. * @param data.workspace * @param data.name * @param data.requestBody added user to group * @returns string user added to group * @throws ApiError */ static addUserToGroup(data: AddUserToGroupData): CancelablePromise; /** * remove user to group * @param data The data for the request. * @param data.workspace * @param data.name * @param data.requestBody added user to group * @returns string user removed from group * @throws ApiError */ static removeUserToGroup(data: RemoveUserToGroupData): CancelablePromise; /** * get group permission history * @param data The data for the request. * @param data.workspace * @param data.name * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @returns unknown group permission history * @throws ApiError */ static getGroupPermissionHistory(data: GetGroupPermissionHistoryData): CancelablePromise; } export declare class FolderService { /** * list folders * @param data The data for the request. * @param data.workspace * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @returns Folder folder list * @throws ApiError */ static listFolders(data: ListFoldersData): CancelablePromise; /** * list folder names * @param data The data for the request. * @param data.workspace * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.onlyMemberOf only list the folders the user is member of (default false) * @returns string folder list * @throws ApiError */ static listFolderNames(data: ListFolderNamesData): CancelablePromise; /** * create folder * @param data The data for the request. * @param data.workspace * @param data.requestBody create folder * @returns string folder created * @throws ApiError */ static createFolder(data: CreateFolderData): CancelablePromise; /** * update folder * @param data The data for the request. * @param data.workspace * @param data.name * @param data.requestBody update folder * @returns string folder updated * @throws ApiError */ static updateFolder(data: UpdateFolderData): CancelablePromise; /** * delete folder * @param data The data for the request. * @param data.workspace * @param data.name * @returns string folder deleted * @throws ApiError */ static deleteFolder(data: DeleteFolderData): CancelablePromise; /** * get folder * @param data The data for the request. * @param data.workspace * @param data.name * @returns Folder folder * @throws ApiError */ static getFolder(data: GetFolderData): CancelablePromise; /** * exists folder * @param data The data for the request. * @param data.workspace * @param data.name * @returns boolean folder exists * @throws ApiError */ static existsFolder(data: ExistsFolderData): CancelablePromise; /** * get folder usage * @param data The data for the request. * @param data.workspace * @param data.name * @returns unknown folder * @throws ApiError */ static getFolderUsage(data: GetFolderUsageData): CancelablePromise; /** * add owner to folder * @param data The data for the request. * @param data.workspace * @param data.name * @param data.requestBody owner user to folder * @returns string owner added to folder * @throws ApiError */ static addOwnerToFolder(data: AddOwnerToFolderData): CancelablePromise; /** * remove owner to folder * @param data The data for the request. * @param data.workspace * @param data.name * @param data.requestBody added owner to folder * @returns string owner removed from folder * @throws ApiError */ static removeOwnerToFolder(data: RemoveOwnerToFolderData): CancelablePromise; /** * get folder permission history * @param data The data for the request. * @param data.workspace * @param data.name * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @returns unknown folder permission history * @throws ApiError */ static getFolderPermissionHistory(data: GetFolderPermissionHistoryData): CancelablePromise; } export declare class ConfigService { /** * list worker groups * @returns unknown a list of worker group configs * @throws ApiError */ static listWorkerGroups(): CancelablePromise; /** * get config * @param data The data for the request. * @param data.name * @returns Configs a config * @throws ApiError */ static getConfig(data: GetConfigData): CancelablePromise; /** * Update config * @param data The data for the request. * @param data.name * @param data.requestBody worker group * @returns string Update a worker group * @throws ApiError */ static updateConfig(data: UpdateConfigData): CancelablePromise; /** * Delete Config * @param data The data for the request. * @param data.name * @returns string Delete config * @throws ApiError */ static deleteConfig(data: DeleteConfigData): CancelablePromise; /** * list configs * @returns Config list of configs * @throws ApiError */ static listConfigs(): CancelablePromise; /** * List autoscaling events * @param data The data for the request. * @param data.workerGroup * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @returns AutoscalingEvent List of autoscaling events * @throws ApiError */ static listAutoscalingEvents(data: ListAutoscalingEventsData): CancelablePromise; /** * Check Kubernetes autoscaling health for a worker group * @returns unknown Kubernetes autoscaling is healthy * @throws ApiError */ static nativeKubernetesAutoscalingHealthcheck(): CancelablePromise; /** * Get currently available python versions provided by UV. * @returns string List of python versions * @throws ApiError */ static listAvailablePythonVersions(): CancelablePromise; /** * list all workspace dependencies * @returns unknown a list of workspace dependency summaries * @throws ApiError */ static listAllWorkspaceDependencies(): CancelablePromise; /** * list all dedicated scripts with their dependencies * @returns unknown a list of dedicated scripts with workspace dependencies * @throws ApiError */ static listAllDedicatedWithDeps(): CancelablePromise; } export declare class AgentWorkersService { /** * create agent token * @param data The data for the request. * @param data.requestBody agent token * @returns string agent token created * @throws ApiError */ static createAgentToken(data: CreateAgentTokenData): CancelablePromise; /** * blacklist agent token (requires super admin) * @param data The data for the request. * @param data.requestBody token to blacklist * @returns unknown token blacklisted successfully * @throws ApiError */ static blacklistAgentToken(data: BlacklistAgentTokenData): CancelablePromise; /** * remove agent token from blacklist (requires super admin) * @param data The data for the request. * @param data.requestBody token to remove from blacklist * @returns unknown token removed from blacklist successfully * @throws ApiError */ static removeBlacklistAgentToken(data: RemoveBlacklistAgentTokenData): CancelablePromise; /** * list blacklisted agent tokens (requires super admin) * @param data The data for the request. * @param data.includeExpired Whether to include expired blacklisted tokens * @returns unknown list of blacklisted tokens * @throws ApiError */ static listBlacklistedAgentTokens(data?: ListBlacklistedAgentTokensData): CancelablePromise; /** * get minimum worker version across all workers * @returns string minimum worker version * @throws ApiError */ static getMinVersion(): CancelablePromise; } export declare class GranularAclService { /** * get granular acls * @param data The data for the request. * @param data.workspace * @param data.path * @param data.kind * @returns boolean acls * @throws ApiError */ static getGranularAcls(data: GetGranularAclsData): CancelablePromise; /** * add granular acls * @param data The data for the request. * @param data.workspace * @param data.path * @param data.kind * @param data.requestBody acl to add * @returns string granular acl added * @throws ApiError */ static addGranularAcls(data: AddGranularAclsData): CancelablePromise; /** * remove granular acls * @param data The data for the request. * @param data.workspace * @param data.path * @param data.kind * @param data.requestBody acl to add * @returns string granular acl removed * @throws ApiError */ static removeGranularAcls(data: RemoveGranularAclsData): CancelablePromise; } export declare class CaptureService { /** * set capture config * @param data The data for the request. * @param data.workspace * @param data.requestBody capture config * @returns unknown capture config set * @throws ApiError */ static setCaptureConfig(data: SetCaptureConfigData): CancelablePromise; /** * ping capture config * @param data The data for the request. * @param data.workspace * @param data.triggerKind * @param data.runnableKind * @param data.path * @returns unknown capture config pinged * @throws ApiError */ static pingCaptureConfig(data: PingCaptureConfigData): CancelablePromise; /** * get capture configs for a script or flow * @param data The data for the request. * @param data.workspace * @param data.runnableKind * @param data.path * @returns CaptureConfig capture configs for a script or flow * @throws ApiError */ static getCaptureConfigs(data: GetCaptureConfigsData): CancelablePromise; /** * list captures for a script or flow * @param data The data for the request. * @param data.workspace * @param data.runnableKind * @param data.path * @param data.triggerKind * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @returns Capture list of captures for a script or flow * @throws ApiError */ static listCaptures(data: ListCapturesData): CancelablePromise; /** * move captures and configs for a script or flow * @param data The data for the request. * @param data.workspace * @param data.runnableKind * @param data.path * @param data.requestBody move captures and configs to a new path * @returns string captures and configs moved * @throws ApiError */ static moveCapturesAndConfigs(data: MoveCapturesAndConfigsData): CancelablePromise; /** * get a capture * @param data The data for the request. * @param data.workspace * @param data.id * @returns Capture capture * @throws ApiError */ static getCapture(data: GetCaptureData): CancelablePromise; /** * delete a capture * @param data The data for the request. * @param data.workspace * @param data.id * @returns unknown capture deleted * @throws ApiError */ static deleteCapture(data: DeleteCaptureData): CancelablePromise; } export declare class FavoriteService { /** * star item * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns unknown star item * @throws ApiError */ static star(data: StarData): CancelablePromise; /** * unstar item * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns unknown unstar item * @throws ApiError */ static unstar(data: UnstarData): CancelablePromise; } export declare class InputService { /** * List Inputs used in previously completed jobs * @param data The data for the request. * @param data.workspace * @param data.runnableId * @param data.runnableType * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.args filter on jobs containing those args as a json subset (@> in postgres) * @param data.includePreview * @returns Input Input history for completed jobs * @throws ApiError */ static getInputHistory(data: GetInputHistoryData): CancelablePromise; /** * Get args from history or saved input * @param data The data for the request. * @param data.workspace * @param data.jobOrInputId * @param data.input * @param data.allowLarge * @returns unknown args * @throws ApiError */ static getArgsFromHistoryOrSavedInput(data: GetArgsFromHistoryOrSavedInputData): CancelablePromise; /** * List saved Inputs for a Runnable * @param data The data for the request. * @param data.workspace * @param data.runnableId * @param data.runnableType * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @returns Input Saved Inputs for a Runnable * @throws ApiError */ static listInputs(data: ListInputsData): CancelablePromise; /** * Create an Input for future use in a script or flow * @param data The data for the request. * @param data.workspace * @param data.requestBody Input * @param data.runnableId * @param data.runnableType * @returns string Input created * @throws ApiError */ static createInput(data: CreateInputData): CancelablePromise; /** * Update an Input * @param data The data for the request. * @param data.workspace * @param data.requestBody UpdateInput * @returns string Input updated * @throws ApiError */ static updateInput(data: UpdateInputData): CancelablePromise; /** * Delete a Saved Input * @param data The data for the request. * @param data.workspace * @param data.input * @returns string Input deleted * @throws ApiError */ static deleteInput(data: DeleteInputData): CancelablePromise; } export declare class HelpersService { /** * Converts an S3 resource to the set of instructions necessary to connect DuckDB to an S3 bucket * @param data The data for the request. * @param data.workspace * @param data.requestBody S3 resource to connect to * @returns unknown Connection settings * @throws ApiError */ static duckdbConnectionSettings(data: DuckdbConnectionSettingsData): CancelablePromise; /** * Converts an S3 resource to the set of instructions necessary to connect DuckDB to an S3 bucket * @param data The data for the request. * @param data.workspace * @param data.requestBody S3 resource path to use to generate the connection settings. If empty, the S3 resource defined in the workspace settings will be used * @returns unknown Connection settings * @throws ApiError */ static duckdbConnectionSettingsV2(data: DuckdbConnectionSettingsV2Data): CancelablePromise; /** * Converts an S3 resource to the set of arguments necessary to connect Polars to an S3 bucket * @param data The data for the request. * @param data.workspace * @param data.requestBody S3 resource to connect to * @returns unknown Connection settings * @throws ApiError */ static polarsConnectionSettings(data: PolarsConnectionSettingsData): CancelablePromise; /** * Converts an S3 resource to the set of arguments necessary to connect Polars to an S3 bucket * @param data The data for the request. * @param data.workspace * @param data.requestBody S3 resource path to use to generate the connection settings. If empty, the S3 resource defined in the workspace settings will be used * @returns unknown Connection settings * @throws ApiError */ static polarsConnectionSettingsV2(data: PolarsConnectionSettingsV2Data): CancelablePromise; /** * Returns the s3 resource associated to the provided path, or the workspace default S3 resource * @param data The data for the request. * @param data.workspace * @param data.requestBody S3 resource path to use. If empty, the S3 resource defined in the workspace settings will be used * @returns S3Resource Connection settings * @throws ApiError */ static s3ResourceInfo(data: S3ResourceInfoData): CancelablePromise; /** * Test connection to the workspace object storage * @param data The data for the request. * @param data.workspace * @param data.storage * @param data.s3ResourcePath When set, test the connection of this object storage resource instead of the workspace storage * @returns unknown Connection settings * @throws ApiError */ static datasetStorageTestConnection(data: DatasetStorageTestConnectionData): CancelablePromise; /** * Get the storage usage of the workspace object storage, per configured storage. On Community Edition, also returns the workspace storage quota. * @param data The data for the request. * @param data.workspace * @param data.refresh recount usage by listing the storage instead of returning cached values * @returns unknown Storage usage * @throws ApiError */ static getStorageUsage(data: GetStorageUsageData): CancelablePromise; /** * List the file keys available in a workspace object storage * @param data The data for the request. * @param data.workspace * @param data.maxKeys * @param data.marker * @param data.prefix * @param data.search Match keys by path prefix, case-sensitively, on the raw key rather than per path segment (so "a/file1" matches "a/file1000"). Pushed down to the storage provider as a seek; resume with the returned next_marker. * @param data.storage * @param data.s3ResourcePath When set, list the files of this object storage resource instead of the workspace storage * @returns unknown List of file keys * @throws ApiError */ static listStoredFiles(data: ListStoredFilesData): CancelablePromise; /** * List one page of a single folder level in a workspace object storage * @param data The data for the request. * @param data.workspace * @param data.prefix Folder to list; empty for the bucket root, otherwise must end with '/' * @param data.maxKeys Maximum number of folders and files combined * @param data.pageToken Opaque token from a previous response, to continue listing the same folder * @param data.storage * @param data.s3ResourcePath When set, list the files of this object storage resource instead of the workspace storage * @returns unknown One page of folders and files at this level * @throws ApiError */ static listStoredFilesPaged(data: ListStoredFilesPagedData): CancelablePromise; /** * Load metadata of the file * @param data The data for the request. * @param data.workspace * @param data.fileKey * @param data.storage * @param data.s3ResourcePath When set, load the file metadata from this object storage resource instead of the workspace storage * @returns WindmillFileMetadata FileMetadata * @throws ApiError */ static loadFileMetadata(data: LoadFileMetadataData): CancelablePromise; /** * Load a preview of the file * @param data The data for the request. * @param data.workspace * @param data.fileKey * @param data.fileSizeInBytes * @param data.fileMimeType * @param data.csvSeparator * @param data.csvHasHeader * @param data.readBytesFrom * @param data.readBytesLength * @param data.storage * @param data.s3ResourcePath When set, load the file preview from this object storage resource instead of the workspace storage * @returns WindmillFilePreview FilePreview * @throws ApiError */ static loadFilePreview(data: LoadFilePreviewData): CancelablePromise; /** * List the file keys available in instance object storage with resource-based access control * @param data The data for the request. * @param data.workspace * @param data.maxKeys * @param data.marker * @param data.prefix * @param data.storage * @returns unknown List of file keys * @throws ApiError */ static listGitRepoFiles(data: ListGitRepoFilesData): CancelablePromise; /** * Load a preview of a file from instance storage with resource-based access control * @param data The data for the request. * @param data.workspace * @param data.fileKey * @param data.fileSizeInBytes * @param data.fileMimeType * @param data.csvSeparator * @param data.csvHasHeader * @param data.readBytesFrom * @param data.readBytesLength * @param data.storage * @returns WindmillFilePreview FilePreview * @throws ApiError */ static loadGitRepoFilePreview(data: LoadGitRepoFilePreviewData): CancelablePromise; /** * Load file metadata from instance storage with resource-based access control * @param data The data for the request. * @param data.workspace * @param data.fileKey * @param data.storage * @returns WindmillFileMetadata FileMetadata * @throws ApiError */ static loadGitRepoFileMetadata(data: LoadGitRepoFileMetadataData): CancelablePromise; /** * Check if S3 path exists and is a folder * @param data The data for the request. * @param data.workspace * @param data.fileKey S3 file key to check (e.g., gitrepos/{workspace_id}/u/user/resource/{commit_hash}) * @param data.markerFile If provided, the folder is only considered to exist when this exact * sentinel file is present under file_key. Lets callers distinguish a * fully populated folder from a partial upload. * * @returns unknown S3 folder existence check result * @throws ApiError */ static checkS3FolderExists(data: CheckS3FolderExistsData): CancelablePromise; /** * Load a preview of a parquet file * @param data The data for the request. * @param data.workspace * @param data.path * @param data.offset * @param data.limit * @param data.sortCol * @param data.sortDesc * @param data.searchCol * @param data.searchTerm * @param data.storage * @returns unknown Parquet Preview * @throws ApiError */ static loadParquetPreview(data: LoadParquetPreviewData): CancelablePromise; /** * Load the table row count * @param data The data for the request. * @param data.workspace * @param data.path * @param data.searchCol * @param data.searchTerm * @param data.storage * @returns unknown Table count * @throws ApiError */ static loadTableRowCount(data: LoadTableRowCountData): CancelablePromise; /** * Load a preview of a csv file * @param data The data for the request. * @param data.workspace * @param data.path * @param data.offset * @param data.limit * @param data.sortCol * @param data.sortDesc * @param data.searchCol * @param data.searchTerm * @param data.storage * @param data.csvSeparator * @returns unknown Csv Preview * @throws ApiError */ static loadCsvPreview(data: LoadCsvPreviewData): CancelablePromise; /** * Permanently delete file from S3 * @param data The data for the request. * @param data.workspace * @param data.fileKey * @param data.storage * @param data.s3ResourcePath When set, delete the file from this object storage resource instead of the workspace storage * @returns unknown Confirmation * @throws ApiError */ static deleteS3File(data: DeleteS3FileData): CancelablePromise; /** * Move a S3 file from one path to the other within the same bucket * @param data The data for the request. * @param data.workspace * @param data.srcFileKey * @param data.destFileKey * @param data.storage * @param data.s3ResourcePath When set, move the file within this object storage resource instead of the workspace storage * @returns unknown Confirmation * @throws ApiError */ static moveS3File(data: MoveS3FileData): CancelablePromise; /** * Upload file to S3 bucket * @param data The data for the request. * @param data.workspace * @param data.requestBody File content * @param data.fileKey * @param data.fileExtension * @param data.s3ResourcePath * @param data.resourceType * @param data.storage * @param data.contentType * @param data.contentDisposition * @returns unknown File upload status * @throws ApiError */ static fileUpload(data: FileUploadData): CancelablePromise; /** * Upload a file to the instance storage gitrepos section for viewing * @param data The data for the request. * @param data.workspace * @param data.requestBody File content * @param data.fileKey * @param data.fileExtension * @param data.s3ResourcePath * @param data.resourceType * @param data.storage * @param data.contentType * @param data.contentDisposition * @returns unknown File upload status * @throws ApiError */ static gitRepoViewerFileUpload(data: GitRepoViewerFileUploadData): CancelablePromise; /** * Download file from S3 bucket * @param data The data for the request. * @param data.workspace * @param data.fileKey * @param data.s3ResourcePath * @param data.resourceType * @param data.storage * @returns binary Chunk of the downloaded file * @throws ApiError */ static fileDownload(data: FileDownloadData): CancelablePromise; /** * Download file to S3 bucket * @param data The data for the request. * @param data.workspace * @param data.fileKey * @param data.s3ResourcePath * @param data.resourceType * @returns string The downloaded file * @throws ApiError */ static fileDownloadParquetAsCsv(data: FileDownloadParquetAsCsvData): CancelablePromise; } export declare class MetricsService { /** * get job metrics * @param data The data for the request. * @param data.workspace * @param data.id * @param data.requestBody parameters for statistics retrieval * @returns unknown job details * @throws ApiError */ static getJobMetrics(data: GetJobMetricsData): CancelablePromise; /** * set job metrics * @param data The data for the request. * @param data.workspace * @param data.id * @param data.requestBody parameters for statistics retrieval * @returns unknown Job progress updated * @throws ApiError */ static setJobProgress(data: SetJobProgressData): CancelablePromise; /** * get job progress * @param data The data for the request. * @param data.workspace * @param data.id * @returns number job progress between 0 and 99 * @throws ApiError */ static getJobProgress(data: GetJobProgressData): CancelablePromise; } export declare class ServiceLogsService { /** * list log files ordered by timestamp * @param data The data for the request. * @param data.before filter on started before (inclusive) timestamp * @param data.after filter on created after (exclusive) timestamp * @param data.withError * @returns unknown time * @throws ApiError */ static listLogFiles(data?: ListLogFilesData): CancelablePromise; /** * get log file by path * @param data The data for the request. * @param data.path * @returns string log stream * @throws ApiError */ static getLogFile(data: GetLogFileData): CancelablePromise; } export declare class ConcurrencyGroupsService { /** * List all concurrency groups * @returns ConcurrencyGroup all concurrency groups * @throws ApiError */ static listConcurrencyGroups(): CancelablePromise; /** * Delete concurrency group * @param data The data for the request. * @param data.concurrencyId * @returns unknown concurrency group removed * @throws ApiError */ static deleteConcurrencyGroup(data: DeleteConcurrencyGroupData): CancelablePromise; /** * Get the concurrency key for a job that has concurrency limits enabled * Requires read access to the job, the same as reading the run itself. Returns 403 for a workspace member who cannot see the run, and 404 when the caller is not a member of the job's workspace. * @param data The data for the request. * @param data.id * @returns string concurrency key for given job * @throws ApiError */ static getConcurrencyKey(data: GetConcurrencyKeyData): CancelablePromise; /** * Get intervals of job runtime concurrency * @param data The data for the request. * @param data.workspace * @param data.concurrencyKey * @param data.rowLimit * @param data.createdBy filter by exact matching user creator. Supports comma-separated list (e.g. 'alice,bob') and negation by prefixing all values with '!' (e.g. '!alice,!bob') * @param data.label filter by exact matching job label. Supports comma-separated list (e.g. 'deploy,release') and negation by prefixing all values with '!' (e.g. '!deploy,!release') * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any * @param data.scriptPathExact filter by exact matching script path. Supports comma-separated list (e.g. 'f/script1,f/script2') and negation by prefixing all values with '!' (e.g. '!f/script1,!f/script2') * @param data.scriptPathStart filter by script path prefix. Supports comma-separated list (e.g. 'f/folder1,f/folder2') and negation by prefixing all values with '!' (e.g. '!f/folder1,!f/folder2') * @param data.schedulePath mask to filter by schedule path * @param data.scriptHash mask to filter exact matching path * @param data.startedBefore filter on started before (inclusive) timestamp * @param data.startedAfter filter on started after (exclusive) timestamp * @param data.running filter on running jobs * @param data.scheduledForBeforeNow filter on jobs scheduled_for before now (hence waitinf for a worker) * @param data.completedBefore filter on started before (inclusive) timestamp * @param data.completedAfter filter on started after (exclusive) timestamp * @param data.createdBeforeQueue filter on jobs created before X for jobs in the queue only * @param data.createdAfterQueue filter on jobs created after X for jobs in the queue only * @param data.jobKinds filter by job kind. Supports comma-separated list of values ('preview', 'script', 'dependencies', 'flow') and negation by prefixing all values with '!' (e.g. '!preview,!dependencies') * @param data.args filter on jobs containing those args as a json subset (@> in postgres) * @param data.tag filter by tag/worker group. Supports comma-separated list (e.g. 'gpu,highmem') and negation by prefixing all values with '!' (e.g. '!gpu,!highmem') * @param data.result filter on jobs containing those result as a json subset (@> in postgres) * @param data.allowWildcards allow wildcards (*) in the filter of label, tag, worker * @param data.page which page to return (start at 1, default 1) * @param data.perPage number of items to return for a given page (default 30, max 100) * @param data.triggerKind filter by trigger kind. Supports comma-separated list (e.g. 'schedule,webhook') and negation by prefixing all values with '!' (e.g. '!schedule,!webhook') * @param data.isSkipped is the job skipped * @param data.resolved filter on whether a failure has been marked as handled. true keeps only resolved failures, false hides them * @param data.isFlowStep is the job a flow step * @param data.hasNullParent has null parent * @param data.success filter on successful jobs * @param data.status filter on the exact completed job status. Unlike `success=true` (which also matches `skipped`), `status=success` matches only `success`. * @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace) * @param data.isNotSchedule is not a scheduled job * @returns ExtendedJobs time * @throws ApiError */ static listExtendedJobs(data: ListExtendedJobsData): CancelablePromise; } export declare class IndexSearchService { /** * Search through jobs with a string query * @param data The data for the request. * @param data.workspace * @param data.searchQuery * @param data.paginationOffset * @returns unknown search results * @throws ApiError */ static searchJobsIndex(data: SearchJobsIndexData): CancelablePromise; /** * Search through service logs with a string query * @param data The data for the request. * @param data.searchQuery * @param data.mode * @param data.hostname * @param data.workerGroup * @param data.minTs * @param data.maxTs * @returns unknown search results * @throws ApiError */ static searchLogsIndex(data: SearchLogsIndexData): CancelablePromise; /** * Search and count the log line hits on every provided host * @param data The data for the request. * @param data.searchQuery * @param data.minTs * @param data.maxTs * @returns unknown search results * @throws ApiError */ static countSearchLogsIndex(data: CountSearchLogsIndexData): CancelablePromise; /** * Get index disk storage sizes from the indexer. * @returns unknown disk storage sizes for each index * @throws ApiError */ static getIndexDiskStorageSizes(): CancelablePromise; /** * Clear an index and restart the indexer. * @param data The data for the request. * @param data.idxName * @returns string idx to be deleted and indexer restarting * @throws ApiError */ static clearIndex(data: ClearIndexData): CancelablePromise; /** * Get index storage sizes (disk and S3). * @returns unknown storage sizes for each index * @throws ApiError */ static getIndexStorageSizes(): CancelablePromise; /** * Get indexer status including liveness and storage sizes. * @returns unknown indexer status for each index * @throws ApiError */ static getIndexerStatus(): CancelablePromise; } export declare class AssetService { /** * List all assets in the workspace with cursor pagination * @param data The data for the request. * @param data.workspace * @param data.perPage Number of items per page (max 1000, default 50) * @param data.cursorCreatedAt Cursor timestamp for pagination (created_at of last item from previous page) * @param data.cursorId Cursor ID for pagination (id of last item from previous page) * @param data.assetPath Filter by asset path (case-insensitive partial match) * @param data.usagePath Filter by usage path (case-insensitive partial match) * @param data.assetKinds Filter by asset kinds (multiple values allowed) * @param data.path exact path match filter * @param data.columns JSONB subset match filter for columns using base64 encoded JSON * @param data.broadFilter broad search across multiple fields (case-insensitive substring match) * @returns unknown paginated assets in the workspace * @throws ApiError */ static listAssets(data: ListAssetsData): CancelablePromise; /** * List all assets used by given usages paths * @param data The data for the request. * @param data.workspace * @param data.requestBody list assets by usages * @returns unknown all assets used by the given usage paths, in the same order * @throws ApiError */ static listAssetsByUsage(data: ListAssetsByUsageData): CancelablePromise; /** * List all favorite assets for the authenticated user * @param data The data for the request. * @param data.workspace * @returns unknown list of favorite assets * @throws ApiError */ static listFavoriteAssets(data: ListFavoriteAssetsData): CancelablePromise; /** * Get the workspace-wide asset <-> runnable graph * @param data The data for the request. * @param data.workspace * @param data.assetKinds Filter by asset kinds (comma-separated list) * @param data.folder Scope the graph to runnables in a single folder * @param data.dbtScriptHash Render the dbt half of the graph as one version of a dbt script had it, rather than as the currently deployed one. Given this, `folder` no longer scopes the dbt nodes: the pinned version's own models and lineage are the answer, including models a later deploy removed. * * @returns AssetGraph asset graph nodes, lineage edges and trigger edges * @throws ApiError */ static getAssetsGraph(data: GetAssetsGraphData): CancelablePromise; /** * Column-level lineage of a set of dbt relations * The direct (`copy` / `mod`) column-to-column lineage the given relations' columns sit in — the connected component around them, from the engine's static analysis. Not their own edges, which would stop one hop out since a column trace walks transitively, and not a whole project's, which carries model families the selection cannot reach. * Several relations, answered as one union, because one selection reaches several: a script's output column can derive from columns of several dbt models. Unpinned, the component crosses projects — a relation one project produces is another's source — and the caller's access is decided again for every project it reaches, so a trace ends where their grants do. A pinned answer, by version here or by job on the run route, is one project's. * Its own endpoint rather than a field on the asset graph: the graph is folder-wide and polled by a run page, while this is rendered for one selection at a time. Empty for projects that did not opt into the analysis pass (`column_lineage: true`), which is the ordinary case. The indirect `scan` kind is stored but never served: it reaches every output column of its model. * * @param data The data for the request. * @param data.workspace * @param data.assetPath The `dbt://` relations whose lineage to return. Repeated, once per relation, and answered as one union. At least one, and at most 1000 — a request naming none, or more than that, is refused rather than answered with an empty component. * * @param data.dbtScriptHash The deployed version a view is drawing, when it is drawing one — the dbt editor, which shows a single project as of a single deploy. A version-pinned answer is that version's project alone, the same as a job-pinned one, and only the unpinned answer crosses projects: a pin says which stored graph is on screen, and another project's live graph is not part of it. * A run's or an editor buffer's own graph is not reachable here: that pins to a job, and costs the job-read gate — see `jobs/dbt_column_lineage/{id}`. * * @returns DbtColumnLineage the relations' column-level lineage * @throws ApiError */ static getDbtColumnLineage(data: GetDbtColumnLineageData): CancelablePromise; /** * List every workspace DuckDB macro (deployed `// macros` libraries) * @param data The data for the request. * @param data.workspace * @returns unknown all registry macros, ordered by provider then name * @throws ApiError */ static listWorkspaceMacros(data: ListWorkspaceMacrosData): CancelablePromise; /** * List folders that contain at least one pipeline-member script * @param data The data for the request. * @param data.workspace * @returns unknown folders containing pipeline scripts, with their script counts * @throws ApiError */ static listPipelineFolders(data: ListPipelineFoldersData): CancelablePromise; /** * List materialized partitions for a ducklake asset * @param data The data for the request. * @param data.workspace * @param data.path The materialized ducklake asset path (`/`) * @returns MaterializedPartition per-partition materialization status * @throws ApiError */ static listAssetPartitions(data: ListAssetPartitionsData): CancelablePromise; /** * List expected partitions of a ducklake asset in a date range with their materialization status (enterprise) * @param data The data for the request. * @param data.workspace * @param data.path The materialized ducklake asset path (`/
`) * @param data.from Inclusive range start (YYYY-MM-DD), local to the producer's partition tz * @param data.to Inclusive range end (YYYY-MM-DD), local to the producer's partition tz * @returns PartitionsInRange expected partitions in range with per-slice status — the missing/failed subset is the backfill worklist * @throws ApiError */ static listAssetPartitionsInRange(data: ListAssetPartitionsInRangeData): CancelablePromise; /** * List captured output-schema versions for a ducklake asset * @param data The data for the request. * @param data.workspace * @param data.path The materialized ducklake asset path (`/
`) * @returns AssetSchemaVersion captured schema versions, newest first * @throws ApiError */ static listAssetSchemas(data: ListAssetSchemasData): CancelablePromise; } export declare class VolumeService { /** * List all volumes in the workspace * @param data The data for the request. * @param data.workspace * @returns Volume list of volumes * @throws ApiError */ static listVolumes(data: ListVolumesData): CancelablePromise; /** * Get the volume storage name (secondary storage) or null for primary * @param data The data for the request. * @param data.workspace * @returns string volume storage name or null * @throws ApiError */ static getVolumeStorage(data: GetVolumeStorageData): CancelablePromise; /** * Create a new volume * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns string volume created * @throws ApiError */ static createVolume(data: CreateVolumeData): CancelablePromise; /** * Delete a volume (admin only) * @param data The data for the request. * @param data.workspace * @param data.name * @returns string volume deleted * @throws ApiError */ static deleteVolume(data: DeleteVolumeData): CancelablePromise; } export declare class McpService { /** * list available MCP tools * @param data The data for the request. * @param data.workspace * @returns EndpointTool list of MCP tools available for the workspace * @throws ApiError */ static listMcpTools(data: ListMcpToolsData): CancelablePromise; } export declare class McpOauthService { /** * discover MCP server OAuth metadata * @param data The data for the request. * @param data.requestBody * @returns unknown OAuth metadata from MCP server * @throws ApiError */ static discoverMcpOauth(data: DiscoverMcpOauthData): CancelablePromise; /** * start MCP OAuth popup flow * Opens in a popup, discovers OAuth metadata, registers client, and redirects to OAuth provider * @param data The data for the request. * @param data.mcpServerUrl URL of the MCP server to connect to * @param data.scopes Comma-separated list of OAuth scopes to request * @throws ApiError */ static startMcpOauthPopup(data: StartMcpOauthPopupData): CancelablePromise; /** * MCP OAuth callback * Handles OAuth callback, exchanges code for tokens, returns HTML that posts message to opener * @param data The data for the request. * @param data.code OAuth authorization code * @param data.state CSRF state token * @returns string HTML page with JavaScript that posts tokens to opener window and closes * @throws ApiError */ static mcpOauthCallback(data: McpOauthCallbackData): CancelablePromise; } export declare class HubPublishService { /** * create or update a hub project draft * Requires the caller to be a workspace admin. Forwards the request to the * configured Hub scoped to the `{workspace}:{folder}` source and returns * the Hub's status code and raw response body. * * @param data The data for the request. * @param data.workspace * @param data.folder workspace folder scoping the Hub publication: a workspace can publish * one Hub project per folder and the Hub-side source key is * `{workspace}:{folder}` * * @param data.requestBody * @returns string raw Hub response body (status code is passed through from the Hub) * @throws ApiError */ static publishHubDraft(data: PublishHubDraftData): CancelablePromise; /** * publish a script to a hub project * Requires the caller to be a workspace admin. Forwards the request to the * configured Hub scoped to the `{workspace}:{folder}` source and returns * the Hub's status code and raw response body. * * @param data The data for the request. * @param data.workspace * @param data.folder workspace folder scoping the Hub publication: a workspace can publish * one Hub project per folder and the Hub-side source key is * `{workspace}:{folder}` * * @param data.requestBody * @returns string raw Hub response body (status code is passed through from the Hub) * @throws ApiError */ static publishHubScript(data: PublishHubScriptData): CancelablePromise; /** * publish a flow to a hub project * Requires the caller to be a workspace admin. Forwards the request to the * configured Hub scoped to the `{workspace}:{folder}` source and returns * the Hub's status code and raw response body. * * @param data The data for the request. * @param data.workspace * @param data.folder workspace folder scoping the Hub publication: a workspace can publish * one Hub project per folder and the Hub-side source key is * `{workspace}:{folder}` * * @param data.requestBody * @returns string raw Hub response body (status code is passed through from the Hub) * @throws ApiError */ static publishHubFlow(data: PublishHubFlowData): CancelablePromise; /** * publish an app to a hub project * Requires the caller to be a workspace admin. Forwards the request to the * configured Hub scoped to the `{workspace}:{folder}` source and returns * the Hub's status code and raw response body. * * @param data The data for the request. * @param data.workspace * @param data.folder workspace folder scoping the Hub publication: a workspace can publish * one Hub project per folder and the Hub-side source key is * `{workspace}:{folder}` * * @param data.requestBody * @returns string raw Hub response body (status code is passed through from the Hub) * @throws ApiError */ static publishHubApp(data: PublishHubAppData): CancelablePromise; /** * publish a raw app to a hub project * Requires the caller to be a workspace admin. Forwards the request to the * configured Hub scoped to the `{workspace}:{folder}` source and returns * the Hub's status code and raw response body. * * @param data The data for the request. * @param data.workspace * @param data.folder workspace folder scoping the Hub publication: a workspace can publish * one Hub project per folder and the Hub-side source key is * `{workspace}:{folder}` * * @param data.requestBody * @returns string raw Hub response body (status code is passed through from the Hub) * @throws ApiError */ static publishHubRawApp(data: PublishHubRawAppData): CancelablePromise; /** * attach a recorded session to a hub raw app * Requires the caller to be a workspace admin. Forwards the request to the * configured Hub scoped to the `{workspace}:{folder}` source and returns * the Hub's status code and raw response body. * * @param data The data for the request. * @param data.workspace * @param data.id hub id of the raw app * @param data.folder workspace folder scoping the Hub publication: a workspace can publish * one Hub project per folder and the Hub-side source key is * `{workspace}:{folder}` * * @param data.requestBody * @returns string raw Hub response body (status code is passed through from the Hub) * @throws ApiError */ static publishHubRawAppRecording(data: PublishHubRawAppRecordingData): CancelablePromise; /** * attach a recording to a hub script * Requires the caller to be a workspace admin. Forwards the request to the * configured Hub scoped to the `{workspace}:{folder}` source and returns * the Hub's status code and raw response body. * * @param data The data for the request. * @param data.workspace * @param data.askId hub ask id of the script * @param data.folder workspace folder scoping the Hub publication: a workspace can publish * one Hub project per folder and the Hub-side source key is * `{workspace}:{folder}` * * @param data.requestBody * @returns string raw Hub response body (status code is passed through from the Hub) * @throws ApiError */ static publishHubScriptRecording(data: PublishHubScriptRecordingData): CancelablePromise; /** * attach a recording to a hub flow * Requires the caller to be a workspace admin. Forwards the request to the * configured Hub scoped to the `{workspace}:{folder}` source and returns * the Hub's status code and raw response body. * * @param data The data for the request. * @param data.workspace * @param data.flowId hub id of the flow * @param data.folder workspace folder scoping the Hub publication: a workspace can publish * one Hub project per folder and the Hub-side source key is * `{workspace}:{folder}` * * @param data.requestBody * @returns string raw Hub response body (status code is passed through from the Hub) * @throws ApiError */ static publishHubFlowRecording(data: PublishHubFlowRecordingData): CancelablePromise; /** * attach a data-pipeline recording to a hub project * Requires the caller to be a workspace admin. A data-pipeline recording is * scoped to the whole project (a folder cascade), not a single item. Forwards * the request to the configured Hub scoped to the `{workspace}:{folder}` * source and returns the Hub's status code and raw response body. * * @param data The data for the request. * @param data.workspace * @param data.slug hub project slug * @param data.folder workspace folder scoping the Hub publication: a workspace can publish * one Hub project per folder and the Hub-side source key is * `{workspace}:{folder}` * * @param data.requestBody * @returns string raw Hub response body (status code is passed through from the Hub) * @throws ApiError */ static publishHubPipelineRecording(data: PublishHubPipelineRecordingData): CancelablePromise; /** * publish a resource type to a hub project * Requires the caller to be a workspace admin. Forwards the request to the * configured Hub scoped to the `{workspace}:{folder}` source and returns * the Hub's status code and raw response body. * * @param data The data for the request. * @param data.workspace * @param data.folder workspace folder scoping the Hub publication: a workspace can publish * one Hub project per folder and the Hub-side source key is * `{workspace}:{folder}` * * @param data.requestBody * @returns string raw Hub response body (status code is passed through from the Hub) * @throws ApiError */ static publishHubResourceType(data: PublishHubResourceTypeData): CancelablePromise; /** * publish resource placeholders to a hub project * Requires the caller to be a workspace admin. Forwards the request to the * configured Hub scoped to the `{workspace}:{folder}` source and returns * the Hub's status code and raw response body. * * @param data The data for the request. * @param data.workspace * @param data.folder workspace folder scoping the Hub publication: a workspace can publish * one Hub project per folder and the Hub-side source key is * `{workspace}:{folder}` * * @param data.requestBody * @returns string raw Hub response body (status code is passed through from the Hub) * @throws ApiError */ static publishHubResources(data: PublishHubResourcesData): CancelablePromise; /** * publish triggers to a hub project * Requires the caller to be a workspace admin. Forwards the request to the * configured Hub scoped to the `{workspace}:{folder}` source and returns * the Hub's status code and raw response body. * * @param data The data for the request. * @param data.workspace * @param data.folder workspace folder scoping the Hub publication: a workspace can publish * one Hub project per folder and the Hub-side source key is * `{workspace}:{folder}` * * @param data.requestBody * @returns string raw Hub response body (status code is passed through from the Hub) * @throws ApiError */ static publishHubTriggers(data: PublishHubTriggersData): CancelablePromise; /** * publish data table migrations to a hub project * Requires the caller to be a workspace admin. Forwards the request to the * configured Hub scoped to the `{workspace}:{folder}` source and returns * the Hub's status code and raw response body. * * @param data The data for the request. * @param data.workspace * @param data.folder workspace folder scoping the Hub publication: a workspace can publish * one Hub project per folder and the Hub-side source key is * `{workspace}:{folder}` * * @param data.requestBody * @returns string raw Hub response body (status code is passed through from the Hub) * @throws ApiError */ static publishHubMigrations(data: PublishHubMigrationsData): CancelablePromise; /** * export a hub project * Requires the caller to be a workspace admin. Forwards the request to the * configured Hub and returns the Hub's status code and raw response body. * The folder scope is only needed to re-export the caller's own draft; * approved projects are public, so it is optional here. * * @param data The data for the request. * @param data.workspace * @param data.slug hub project slug (3-50 chars, lowercase alphanumeric and hyphens, no leading/trailing hyphen) * @param data.folder folder scoping the Hub project source (`{workspace}:{folder}`) * @returns string raw Hub response body (status code is passed through from the Hub) * @throws ApiError */ static getHubProjectExport(data: GetHubProjectExportData): CancelablePromise; /** * set or clear a hub project's custom logo * Requires the caller to be a workspace admin. Sets the project's custom * logo (base64 png/svg, decoded size max 512KB) or clears it when `logo` * is null; the `logo` field itself is required so an empty body cannot * clear the logo by accident. Forwards the request to the configured Hub * scoped to the `{workspace}:{folder}` source and returns the Hub's * status code and raw response body. * * @param data The data for the request. * @param data.workspace * @param data.slug hub project slug * @param data.folder workspace folder scoping the Hub publication: a workspace can publish * one Hub project per folder and the Hub-side source key is * `{workspace}:{folder}` * * @param data.requestBody * @returns string raw Hub response body (status code is passed through from the Hub) * @throws ApiError */ static publishHubProjectLogo(data: PublishHubProjectLogoData): CancelablePromise; /** * submit a hub project draft for review * Requires the caller to be a workspace admin. Forwards the request to the * configured Hub scoped to the `{workspace}:{folder}` source and returns * the Hub's status code and raw response body. * * @param data The data for the request. * @param data.workspace * @param data.slug hub project slug (3-50 chars, lowercase alphanumeric and hyphens, no leading/trailing hyphen) * @param data.folder workspace folder scoping the Hub publication: a workspace can publish * one Hub project per folder and the Hub-side source key is * `{workspace}:{folder}` * * @returns string raw Hub response body (status code is passed through from the Hub) * @throws ApiError */ static submitHubProject(data: SubmitHubProjectData): CancelablePromise; /** * take a hub project submission back out of review * Requires the caller to be a workspace admin. Forwards the request to the * configured Hub scoped to the `{workspace}:{folder}` source and returns * the Hub's status code and raw response body. Everything pushed for the * submission is kept, so it can be fixed and submitted again. * * @param data The data for the request. * @param data.workspace * @param data.slug hub project slug (3-50 chars, lowercase alphanumeric and hyphens, no leading/trailing hyphen) * @param data.folder workspace folder scoping the Hub publication: a workspace can publish * one Hub project per folder and the Hub-side source key is * `{workspace}:{folder}` * * @returns string raw Hub response body (status code is passed through from the Hub) * @throws ApiError */ static withdrawHubProject(data: WithdrawHubProjectData): CancelablePromise; /** * discard the pending update to a published hub project * Requires the caller to be a workspace admin. Forwards the request to the * configured Hub scoped to the `{workspace}:{folder}` source and returns * the Hub's status code and raw response body. The published project is * left untouched. * * @param data The data for the request. * @param data.workspace * @param data.slug hub project slug (3-50 chars, lowercase alphanumeric and hyphens, no leading/trailing hyphen) * @param data.folder workspace folder scoping the Hub publication: a workspace can publish * one Hub project per folder and the Hub-side source key is * `{workspace}:{folder}` * * @returns string raw Hub response body (status code is passed through from the Hub) * @throws ApiError */ static discardHubProjectUpdate(data: DiscardHubProjectUpdateData): CancelablePromise; /** * list the hub's published projects * Forwards to the configured Hub's public project catalogue and returns its * status code and raw response body. Readable by any workspace member: the * listing is not workspace-scoped, and it is proxied only because the Hub's * listing endpoint sends no CORS header. Refused with 400 when the instance * has the Hub disabled, in which case no outbound request is made. * * @param data The data for the request. * @param data.workspace * @returns string raw Hub response body (status code is passed through from the Hub) * @throws ApiError */ static listHubProjects(data: ListHubProjectsData): CancelablePromise; /** * get the hub project linked to a workspace folder * Requires the caller to be a workspace admin. Forwards the request to the * configured Hub scoped to the `{workspace}:{folder}` source and returns * the Hub's status code and raw response body. * * @param data The data for the request. * @param data.workspace * @param data.folder workspace folder scoping the Hub publication: a workspace can publish * one Hub project per folder and the Hub-side source key is * `{workspace}:{folder}` * * @returns string raw Hub response body (status code is passed through from the Hub) * @throws ApiError */ static getHubProjectBySource(data: GetHubProjectBySourceData): CancelablePromise; }