import type { CancelablePromise } from './core/CancelablePromise'; import type { BackendVersionResponse, ListFeaturesResponse, GetLicenseIdResponse, GetEntitlementsResponse, GetOpenApiYamlResponse, GetHealthStatusData, GetHealthStatusResponse, GetHealthDetailedResponse, QueryDocumentationData, QueryDocumentationResponse, GetAuditLogData, GetAuditLogResponse, ListAuditLogsData, ListAuditLogsResponse, LoginData, LoginResponse, LogoutResponse, IsSmtpConfiguredResponse, IsPasswordLoginDisabledResponse, RequestPasswordResetData, RequestPasswordResetResponse, ResetPasswordData, ResetPasswordResponse, GetUserData, GetUserResponse, UpdateUserData, UpdateUserResponse, IsOwnerOfPathData, IsOwnerOfPathResponse, SetPasswordData, SetPasswordResponse, SetPasswordForUserData, SetPasswordForUserResponse, SetLoginTypeForUserData, SetLoginTypeForUserResponse, CreateUserGloballyData, CreateUserGloballyResponse, GlobalUserUpdateData, GlobalUserUpdateResponse, GlobalUsernameInfoData, GlobalUsernameInfoResponse, GlobalUserRenameData, GlobalUserRenameResponse, GlobalUserDeleteData, GlobalUserDeleteResponse, GlobalUsersOverwriteData, GlobalUsersOverwriteResponse, GlobalUsersExportResponse, ListExtJwtTokensData, ListExtJwtTokensResponse, SubmitOnboardingDataData, SubmitOnboardingDataResponse, DeleteUserData, DeleteUserResponse, OffboardPreviewData, OffboardPreviewResponse, OffboardWorkspaceUserData, OffboardWorkspaceUserResponse, GlobalOffboardPreviewData, GlobalOffboardPreviewResponse, OffboardGlobalUserData, OffboardGlobalUserResponse, ConvertUserToGroupData, ConvertUserToGroupResponse, GetCurrentEmailResponse, RefreshUserTokenData, RefreshUserTokenResponse, GetTutorialProgressResponse, UpdateTutorialProgressData, UpdateTutorialProgressResponse, LeaveInstanceResponse, GetUsageResponse, GetUserSeatsResponse, GetRunnableResponse, GlobalWhoamiResponse, ListWorkspaceInvitesResponse, WhoamiData, WhoamiResponse, AcceptInviteData, AcceptInviteResponse, DeclineInviteData, DeclineInviteResponse, ImpersonateServiceAccountData, ImpersonateServiceAccountResponse, ExitImpersonationData, ExitImpersonationResponse, WhoisData, WhoisResponse, ExistsEmailData, ExistsEmailResponse, ListUsersAsSuperAdminData, ListUsersAsSuperAdminResponse, ListUsersData, ListUsersResponse, ListUsersUsageData, ListUsersUsageResponse, ListUsernamesData, ListUsernamesResponse, UsernameToEmailData, UsernameToEmailResponse, CreateTokenData, CreateTokenResponse, CreateTokenImpersonateData, CreateTokenImpersonateResponse, DeleteTokenData, DeleteTokenResponse, UpdateTokenScopesData, UpdateTokenScopesResponse, ListTokensData, ListTokensResponse, LoginWithOauthData, LoginWithOauthResponse, GetGlobalConnectedRepositoriesData, GetGlobalConnectedRepositoriesResponse, InstallFromWorkspaceData, InstallFromWorkspaceResponse, DeleteFromWorkspaceData, DeleteFromWorkspaceResponse, ExportInstallationData, ExportInstallationResponse, ImportInstallationData, ImportInstallationResponse, GhesInstallationCallbackData, GhesInstallationCallbackResponse, GetGhesConfigResponse, ListWorkspacesResponse, IsDomainAllowedResponse, ListUserWorkspacesResponse, GetWorkspaceAsSuperAdminData, GetWorkspaceAsSuperAdminResponse, ListWorkspacesAsSuperAdminData, ListWorkspacesAsSuperAdminResponse, CreateWorkspaceData, CreateWorkspaceResponse, CreateWorkspaceForkGitBranchData, CreateWorkspaceForkGitBranchResponse, CreateWorkspaceForkData, CreateWorkspaceForkResponse, ExistsWorkspaceData, ExistsWorkspaceResponse, ExistsUsernameData, ExistsUsernameResponse, GetGithubAppTokenData, GetGithubAppTokenResponse, 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, ResetDiffTallyData, ResetDiffTallyResponse, ListPendingInvitesData, ListPendingInvitesResponse, GetPublicSettingsData, GetPublicSettingsResponse, GetSettingsData, GetSettingsResponse, GetDeployToData, GetDeployToResponse, GetIsPremiumData, GetIsPremiumResponse, 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, EditDeployToData, EditDeployToResponse, EditAutoInviteData, EditAutoInviteResponse, EditInstanceGroupsData, EditInstanceGroupsResponse, EditWebhookData, EditWebhookResponse, EditCopilotConfigData, EditCopilotConfigResponse, GetCopilotSettingsStateData, GetCopilotSettingsStateResponse, GetCopilotInfoData, GetCopilotInfoResponse, EditErrorHandlerData, EditErrorHandlerResponse, EditSuccessHandlerData, EditSuccessHandlerResponse, EditLargeFileStorageConfigData, EditLargeFileStorageConfigResponse, ListDucklakesData, ListDucklakesResponse, ListDataTablesData, ListDataTablesResponse, ListDataTableSchemasData, ListDataTableSchemasResponse, ListDataTableTablesData, ListDataTableTablesResponse, GetDataTableTableSchemaData, GetDataTableTableSchemaResponse, EditDucklakeConfigData, EditDucklakeConfigResponse, EditDataTableConfigData, EditDataTableConfigResponse, CreatePgDatabaseData, CreatePgDatabaseResponse, DropForkedDatatableDatabasesData, DropForkedDatatableDatabasesResponse, ImportPgDatabaseData, ImportPgDatabaseResponse, ExportPgSchemaData, ExportPgSchemaResponse, GetDatatableFullSchemaData, GetDatatableFullSchemaResponse, GetGitSyncEnabledData, GetGitSyncEnabledResponse, EditWorkspaceGitSyncConfigData, EditWorkspaceGitSyncConfigResponse, EditGitSyncRepositoryData, EditGitSyncRepositoryResponse, DeleteGitSyncRepositoryData, DeleteGitSyncRepositoryResponse, EditWorkspaceDeployUiSettingsData, EditWorkspaceDeployUiSettingsResponse, EditWorkspaceDefaultAppData, EditWorkspaceDefaultAppResponse, 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, LogAiChatData, LogAiChatResponse, GetCloudQuotasData, GetCloudQuotasResponse, PruneVersionsData, PruneVersionsResponse, ListWsSpecificData, ListWsSpecificResponse, ListWsSpecificVersionsData, ListWsSpecificVersionsResponse, GetSharedUiData, GetSharedUiResponse, ListSharedUiData, ListSharedUiResponse, GetSharedUiVersionData, GetSharedUiVersionResponse, UpdateSharedUiData, UpdateSharedUiResponse, RefreshCustomInstanceUserPwdResponse, ListCustomInstanceDbsResponse, SetupCustomInstanceDbData, SetupCustomInstanceDbResponse, DropCustomInstanceDbData, DropCustomInstanceDbResponse, GetGlobalData, GetGlobalResponse, SetGlobalData, SetGlobalResponse, GetRuffConfigResponse, GetLocalResponse, TestSmtpData, TestSmtpResponse, TestCriticalChannelsData, TestCriticalChannelsResponse, GetCriticalAlertsData, GetCriticalAlertsResponse, AcknowledgeCriticalAlertData, AcknowledgeCriticalAlertResponse, AcknowledgeAllCriticalAlertsResponse, TestLicenseKeyData, TestLicenseKeyResponse, RevalidateLicenseResponse, TestObjectStorageConfigData, TestObjectStorageConfigResponse, GetObjectStorageUsageResponse, ComputeObjectStorageUsageResponse, RunLogCleanupResponse, GetLogCleanupStatusResponse, SendStatsResponse, RestartWorkerGroupData, RestartWorkerGroupResponse, RestartWorkerPoolData, RestartWorkerPoolResponse, GetStatsResponse, GetLatestKeyRenewalAttemptResponse, RenewLicenseKeyData, RenewLicenseKeyResponse, CreateCustomerPortalSessionData, CreateCustomerPortalSessionResponse, TestMetadataData, TestMetadataResponse, GetSamlSpMetadataResponse, GetSamlConfigResponse, SaveSamlConfigData, SaveSamlConfigResponse, DeleteSamlConfigResponse, UpdateSamlMetadataResponse, ListGlobalSettingsResponse, 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, 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, GetResourceData, GetResourceResponse, GetResourceValueInterpolatedData, GetResourceValueInterpolatedResponse, GetResourceValueData, GetResourceValueResponse, GetGitCommitHashData, GetGitCommitHashResponse, ExistsResourceData, ExistsResourceResponse, ListResourceData, ListResourceResponse, ListSearchResourceData, ListSearchResourceResponse, GetMcpToolsData, GetMcpToolsResponse, ListResourceNamesData, ListResourceNamesResponse, CreateResourceTypeData, CreateResourceTypeResponse, FileResourceTypeToFileExtMapData, FileResourceTypeToFileExtMapResponse, DeleteResourceTypeData, DeleteResourceTypeResponse, UpdateResourceTypeData, UpdateResourceTypeResponse, GetResourceTypeData, GetResourceTypeResponse, ExistsResourceTypeData, ExistsResourceTypeResponse, ListResourceTypeData, ListResourceTypeResponse, ListResourceTypeNamesData, ListResourceTypeNamesResponse, QueryResourceTypesData, QueryResourceTypesResponse, CreateConnectionData, CreateConnectionResponse, DeleteConnectionData, DeleteConnectionResponse, DeleteConnectionsBulkData, DeleteConnectionsBulkResponse, UpdateConnectionData, UpdateConnectionResponse, UpdateConnectionValueData, UpdateConnectionValueResponse, GetConnectionData, GetConnectionResponse, GetConnectionValueInterpolatedData, GetConnectionValueInterpolatedResponse, GetConnectionValueData, GetConnectionValueResponse, GetGitCommitHashForConnectionData, GetGitCommitHashForConnectionResponse, ExistsConnectionData, ExistsConnectionResponse, ListConnectionData, ListConnectionResponse, ListSearchConnectionData, ListSearchConnectionResponse, GetMcpToolsForConnectionData, GetMcpToolsForConnectionResponse, ListConnectionNamesData, ListConnectionNamesResponse, CreateConnectionTypeData, CreateConnectionTypeResponse, FileConnectionTypeToFileExtMapData, FileConnectionTypeToFileExtMapResponse, DeleteConnectionTypeData, DeleteConnectionTypeResponse, UpdateConnectionTypeData, UpdateConnectionTypeResponse, GetConnectionTypeData, GetConnectionTypeResponse, ExistsConnectionTypeData, ExistsConnectionTypeResponse, ListConnectionTypeData, ListConnectionTypeResponse, ListConnectionTypeNamesData, ListConnectionTypeNamesResponse, GetNpmPackageMetadataData, GetNpmPackageMetadataResponse, ResolveNpmPackageVersionData, ResolveNpmPackageVersionResponse, GetNpmPackageFiletreeData, GetNpmPackageFiletreeResponse, GetNpmPackageFileData, GetNpmPackageFileResponse, ListHubIntegrationsData, ListHubIntegrationsResponse, ListHubFlowsResponse, GetHubFlowByIdData, GetHubFlowByIdResponse, ListFlowPathsData, ListFlowPathsResponse, ListSearchFlowData, ListSearchFlowResponse, ListFlowsData, ListFlowsResponse, GetFlowHistoryData, GetFlowHistoryResponse, GetFlowLatestVersionData, GetFlowLatestVersionResponse, ListFlowPathsFromWorkspaceRunnableData, ListFlowPathsFromWorkspaceRunnableResponse, GetFlowVersionData, GetFlowVersionResponse, UpdateFlowHistoryData, UpdateFlowHistoryResponse, GetFlowByPathData, GetFlowByPathResponse, GetFlowDeploymentStatusData, GetFlowDeploymentStatusResponse, GetTriggersCountOfFlowData, GetTriggersCountOfFlowResponse, ListTokensOfFlowData, ListTokensOfFlowResponse, ToggleWorkspaceErrorHandlerForFlowData, ToggleWorkspaceErrorHandlerForFlowResponse, GetFlowByPathWithDraftData, GetFlowByPathWithDraftResponse, ExistsFlowByPathData, ExistsFlowByPathResponse, CreateFlowData, CreateFlowResponse, UpdateFlowData, UpdateFlowResponse, ArchiveFlowByPathData, ArchiveFlowByPathResponse, DeleteFlowByPathData, DeleteFlowByPathResponse, ListHubAppsResponse, GetHubAppByIdData, GetHubAppByIdResponse, GetHubRawAppByIdData, GetHubRawAppByIdResponse, GetPublicAppByCustomPathData, GetPublicAppByCustomPathResponse, GetRawAppDataData, GetRawAppDataResponse, ListSearchAppData, ListSearchAppResponse, ListAppsData, ListAppsResponse, CreateAppData, CreateAppResponse, CreateAppRawData, CreateAppRawResponse, ExistsAppData, ExistsAppResponse, GetAppByPathData, GetAppByPathResponse, GetAppLiteByPathData, GetAppLiteByPathResponse, GetAppByPathWithDraftData, GetAppByPathWithDraftResponse, GetAppHistoryByPathData, GetAppHistoryByPathResponse, GetAppLatestVersionData, GetAppLatestVersionResponse, ListAppPathsFromWorkspaceRunnableData, ListAppPathsFromWorkspaceRunnableResponse, UpdateAppHistoryData, UpdateAppHistoryResponse, GetPublicAppBySecretData, GetPublicAppBySecretResponse, GetPublicResourceData, GetPublicResourceResponse, GetPublicSecretOfAppData, GetPublicSecretOfAppResponse, GetPublicSecretOfLatestVersionOfAppData, GetPublicSecretOfLatestVersionOfAppResponse, GetAppByVersionData, GetAppByVersionResponse, DeleteAppData, DeleteAppResponse, UpdateAppData, UpdateAppResponse, UpdateAppRawData, UpdateAppRawResponse, CustomPathExistsData, CustomPathExistsResponse, SignS3ObjectsData, SignS3ObjectsResponse, ExecuteComponentData, ExecuteComponentResponse, UploadS3FileFromAppData, UploadS3FileFromAppResponse, DeleteS3FileFromAppData, DeleteS3FileFromAppResponse, GetHubScriptContentByPathData, GetHubScriptContentByPathResponse, GetHubScriptByPathData, GetHubScriptByPathResponse, PickHubScriptByPathData, PickHubScriptByPathResponse, GetTopHubScriptsData, GetTopHubScriptsResponse, QueryHubScriptsData, QueryHubScriptsResponse, ListSearchScriptData, ListSearchScriptResponse, ListScriptsData, ListScriptsResponse, ListScriptPathsData, ListScriptPathsResponse, CreateScriptData, CreateScriptResponse, ToggleWorkspaceErrorHandlerForScriptData, ToggleWorkspaceErrorHandlerForScriptResponse, ArchiveScriptByPathData, ArchiveScriptByPathResponse, ArchiveScriptByHashData, ArchiveScriptByHashResponse, DeleteScriptByHashData, DeleteScriptByHashResponse, DeleteScriptByPathData, DeleteScriptByPathResponse, DeleteScriptsBulkData, DeleteScriptsBulkResponse, GetScriptByPathData, GetScriptByPathResponse, GetTriggersCountOfScriptData, GetTriggersCountOfScriptResponse, ListTokensOfScriptData, ListTokensOfScriptResponse, GetScriptByPathWithDraftData, GetScriptByPathWithDraftResponse, 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, StoreRawScriptTempData, StoreRawScriptTempResponse, DiffRawScriptsWithDeployedData, DiffRawScriptsWithDeployedResponse, CreateDraftData, CreateDraftResponse, DeleteDraftData, DeleteDraftResponse, GetCustomTagsData, GetCustomTagsResponse, GetCustomTagsForWorkspaceData, GetCustomTagsForWorkspaceResponse, GeDefaultTagsResponse, IsDefaultTagsPerWorkspaceResponse, ListWorkersData, ListWorkersResponse, ExistsWorkersWithTagsData, ExistsWorkersWithTagsResponse, GetQueueMetricsResponse, GetCountsOfJobsWaitingPerTagResponse, GetCountsOfRunningJobsPerTagResponse, 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, 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, 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, GetCompletedJobLogsTailData, GetCompletedJobLogsTailResponse, GetJobArgsData, GetJobArgsResponse, GetStartedAtByIdsData, GetStartedAtByIdsResponse, GetJobUpdatesData, GetJobUpdatesResponse, GetJobUpdatesSseData, GetJobUpdatesSseResponse, GetLogFileFromStoreData, GetLogFileFromStoreResponse, GetFlowDebugInfoData, GetFlowDebugInfoResponse, GetCompletedJobData, GetCompletedJobResponse, GetCompletedJobResultData, GetCompletedJobResultResponse, GetCompletedJobResultMaybeData, GetCompletedJobResultMaybeResponse, GetCompletedJobTimingData, GetCompletedJobTimingResponse, DeleteCompletedJobData, DeleteCompletedJobResponse, CancelQueuedJobData, CancelQueuedJobResponse, CancelPersistentQueuedJobsData, CancelPersistentQueuedJobsResponse, ForceCancelQueuedJobData, ForceCancelQueuedJobResponse, GetQueuePositionData, GetQueuePositionResponse, GetScheduledForData, GetScheduledForResponse, CreateJobSignatureData, CreateJobSignatureResponse, GetResumeUrlsData, GetResumeUrlsResponse, 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, CreateBpmnFlowData, CreateBpmnFlowResponse, UpdateBpmnFlowData, UpdateBpmnFlowResponse, GetBpmnFlowByPathData, GetBpmnFlowByPathResponse, GetBpmnFlowByPathWithDraftData, GetBpmnFlowByPathWithDraftResponse, ExistsBpmnFlowByPathData, ExistsBpmnFlowByPathResponse, ListBpmnFlowsData, ListBpmnFlowsResponse, ListBpmnPathsData, ListBpmnPathsResponse, GetBpmnFlowHistoryData, GetBpmnFlowHistoryResponse, GetBpmnFlowVersionData, GetBpmnFlowVersionResponse, ArchiveBpmnFlowByPathData, ArchiveBpmnFlowByPathResponse, DeleteBpmnFlowByPathData, DeleteBpmnFlowByPathResponse, StartBpmnInstanceData, StartBpmnInstanceResponse, ListBpmnInstancesData, ListBpmnInstancesResponse, GetBpmnInstanceData, GetBpmnInstanceResponse, GetBpmnInstanceStatusData, GetBpmnInstanceStatusResponse, CancelBpmnInstanceData, CancelBpmnInstanceResponse, ListBpmnIncidentsData, ListBpmnIncidentsResponse, RetryBpmnIncidentData, RetryBpmnIncidentResponse, CreateDmnDecisionData, CreateDmnDecisionResponse, UpdateDmnDecisionData, UpdateDmnDecisionResponse, GetDmnDecisionByPathData, GetDmnDecisionByPathResponse, GetDmnDecisionByPathWithDraftData, GetDmnDecisionByPathWithDraftResponse, ExistsDmnDecisionByPathData, ExistsDmnDecisionByPathResponse, ListDmnDecisionsData, ListDmnDecisionsResponse, GetDmnDecisionHistoryData, GetDmnDecisionHistoryResponse, ArchiveDmnDecisionByPathData, ArchiveDmnDecisionByPathResponse, DeleteDmnDecisionByPathData, DeleteDmnDecisionByPathResponse, EvaluateDmnDecisionData, EvaluateDmnDecisionResponse, ListFlowConversationsData, ListFlowConversationsResponse, DeleteFlowConversationData, DeleteFlowConversationResponse, ListConversationMessagesData, ListConversationMessagesResponse, ListPathAutocompletePathsData, ListPathAutocompletePathsResponse, ListRawAppsData, ListRawAppsResponse, ResumeSuspendedTriggerJobsData, ResumeSuspendedTriggerJobsResponse, CancelSuspendedTriggerJobsData, CancelSuspendedTriggerJobsResponse, 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, 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, CreateGcpTriggerData, CreateGcpTriggerResponse, UpdateGcpTriggerData, UpdateGcpTriggerResponse, DeleteGcpTriggerData, DeleteGcpTriggerResponse, GetGcpTriggerData, GetGcpTriggerResponse, ListGcpTriggersData, ListGcpTriggersResponse, ExistsGcpTriggerData, ExistsGcpTriggerResponse, SetGcpTriggerModeData, SetGcpTriggerModeResponse, TestGcpConnectionData, TestGcpConnectionResponse, DeleteGcpSubscriptionData, DeleteGcpSubscriptionResponse, ListGoogleTopicsData, ListGoogleTopicsResponse, ListAllTgoogleTopicSubscriptionsData, ListAllTgoogleTopicSubscriptionsResponse, 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, ListWorkerPoolsResponse, 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, ListStoredFilesData, ListStoredFilesResponse, 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, ListVolumesData, ListVolumesResponse, GetVolumeStorageData, GetVolumeStorageResponse, CreateVolumeData, CreateVolumeResponse, DeleteVolumeData, DeleteVolumeResponse, ListMcpToolsData, ListMcpToolsResponse, DiscoverMcpOauthData, DiscoverMcpOauthResponse, StartMcpOauthPopupData, McpOauthCallbackData, McpOauthCallbackResponse, RefreshMcpOauthData, RefreshMcpOauthResponse, GetMcpOauthClientMetadataResponse } from './types.gen'; export declare class SettingsService { /** * get backend version * @returns string git version of backend * @throws ApiError */ static backendVersion(): CancelablePromise; /** * list enabled beta feature keys * @returns string enabled beta-feature keys (empty unless ORVANTA_BETA is on) * @throws ApiError */ static listFeatures(): CancelablePromise; /** * get license id * @returns string get license id (empty if not ee) * @throws ApiError */ static getLicenseId(): CancelablePromise; /** * get the entitlement resolved from the current license key * @returns unknown current tier, edition and limits * @throws ApiError */ static getEntitlements(): 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 { /** * query Orvanta AI documentation assistant (EE only) * @param data The data for the request. * @param data.requestBody query to send to the AI documentation assistant * @returns unknown AI documentation assistant response * @throws ApiError */ static queryDocumentation(data: QueryDocumentationData): 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.allWorkspaces get audit logs for all workspaces * @returns AuditLog a list of audit logs * @throws ApiError */ static listAuditLogs(data: ListAuditLogsData): 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; /** * 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 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; /** * 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) * @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 instance-wide user-seat usage vs the license caps * @returns unknown user seat usage and caps (cap 0 = unlimited) * @throws ApiError */ static getUserSeats(): 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 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; /** * 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; /** * 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) * @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; /** * 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; } 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 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; /** * 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 github app token * @param data The data for the request. * @param data.workspace * @param data.requestBody jwt job token * @returns unknown github app token * @throws ApiError */ static getGithubAppToken(data: GetGithubAppTokenData): 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 * @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; /** * 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 deploy to * @param data The data for the request. * @param data.workspace * @returns unknown status * @throws ApiError */ static getDeployTo(data: GetDeployToData): 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 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 deploy to * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns string status * @throws ApiError */ static editDeployTo(data: EditDeployToData): 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; /** * 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; /** * 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; /** * list tables of all connected Datatables * @param data The data for the request. * @param data.workspace * @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 * @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; /** * 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; /** * 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; /** * 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; /** * 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 AI chat message * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns void logged * @throws ApiError */ static logAiChat(data: LogAiChatData): 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, or apps * @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; /** * 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 password for the custom_instance_user * @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; /** * Runs CREATE DATABASE on the Orvanta 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 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; /** * force an immediate licence revalidation * Revalidates the licence now instead of waiting for the periodic poll. Superadmin only. Never errors on a failed validation — the escalation ladder owns what failure means, so the resolved state is reported instead. `recovered` is true when this call cleared an existing failure (and therefore lifted read-only). * @returns unknown resolved licence state * @throws ApiError */ static revalidateLicense(): 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; /** * send stats * @returns string status * @throws ApiError */ static sendStats(): CancelablePromise; /** * @deprecated * 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. Deprecated (#370): use POST /settings/restart_worker_pool/{worker_pool} instead. * @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; /** * restart worker pool * Send a restart signal to all workers in the specified worker pool. 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.workerPool the name of the worker pool to restart * @returns string restart signal sent * @throws ApiError */ static restartWorkerPool(data: RestartWorkerPoolData): 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; /** * 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; /** * get SAML SP metadata * @returns string SAML Service Provider metadata XML document * @throws ApiError */ static getSamlSpMetadata(): CancelablePromise; /** * get SAML SSO configuration * @returns SamlConfig current SAML configuration * @throws ApiError */ static getSamlConfig(): CancelablePromise; /** * save SAML SSO configuration * @param data The data for the request. * @param data.requestBody SAML configuration * @returns SamlConfig saved SAML configuration * @throws ApiError */ static saveSamlConfig(data: SaveSamlConfigData): CancelablePromise; /** * delete SAML SSO configuration * @returns string status * @throws ApiError */ static deleteSamlConfig(): CancelablePromise; /** * refresh SAML IdP metadata from the configured idp_metadata_url * @returns SamlConfig refreshed SAML configuration * @throws ApiError */ static updateSamlMetadata(): CancelablePromise; /** * list global settings * @returns GlobalSetting list of settings * @throws ApiError */ static listGlobalSettings(): 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 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) * * @returns ListableVariable 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 * @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.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 string 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 { /** * @deprecated * 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; /** * @deprecated * 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; /** * @deprecated * 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; /** * @deprecated * 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; /** * @deprecated * 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; /** * @deprecated * get resource * @param data The data for the request. * @param data.workspace * @param data.path * @returns Resource resource * @throws ApiError */ static getResource(data: GetResourceData): CancelablePromise; /** * @deprecated * 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; /** * @deprecated * 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; /** * @deprecated * 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; /** * @deprecated * 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; /** * @deprecated * 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 * @returns ListableResource resource list * @throws ApiError */ static listResource(data: ListResourceData): CancelablePromise; /** * @deprecated * 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; /** * @deprecated * 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; /** * @deprecated * 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; /** * @deprecated * 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; /** * @deprecated * 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; /** * @deprecated * 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; /** * @deprecated * 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; /** * @deprecated * 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; /** * @deprecated * 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; /** * @deprecated * 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; /** * @deprecated * 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; /** * 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 ConnectionService { /** * create connection * @param data The data for the request. * @param data.workspace * @param data.requestBody new connection * @param data.updateIfExists update the connection if it already exists (default false) * @returns string connection created * @throws ApiError */ static createConnection(data: CreateConnectionData): CancelablePromise; /** * delete connection * @param data The data for the request. * @param data.workspace * @param data.path * @returns string connection deleted * @throws ApiError */ static deleteConnection(data: DeleteConnectionData): CancelablePromise; /** * delete connections 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 deleteConnectionsBulk(data: DeleteConnectionsBulkData): CancelablePromise; /** * update connection * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody updated connection * @returns string connection updated * @throws ApiError */ static updateConnection(data: UpdateConnectionData): CancelablePromise; /** * update connection value * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody updated connection * @returns string connection value updated * @throws ApiError */ static updateConnectionValue(data: UpdateConnectionValueData): CancelablePromise; /** * get connection * @param data The data for the request. * @param data.workspace * @param data.path * @returns Resource connection * @throws ApiError */ static getConnection(data: GetConnectionData): CancelablePromise; /** * get connection interpolated (variables and connections 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 connection value * @throws ApiError */ static getConnectionValueInterpolated(data: GetConnectionValueInterpolatedData): CancelablePromise; /** * get connection value * @param data The data for the request. * @param data.workspace * @param data.path * @returns unknown connection value * @throws ApiError */ static getConnectionValue(data: GetConnectionValueData): 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 getGitCommitHashForConnection(data: GetGitCommitHashForConnectionData): CancelablePromise; /** * does connection exists * @param data The data for the request. * @param data.workspace * @param data.path * @returns boolean does connection exists * @throws ApiError */ static existsConnection(data: ExistsConnectionData): CancelablePromise; /** * list connections * @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.connectionType connection_types to list from, separated by ',', * @param data.connectionTypeExclude connection_types to not list from, separated by ',', * @param data.pathStart filter connections 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 * @returns ListableResource connection list * @throws ApiError */ static listConnection(data: ListConnectionData): CancelablePromise; /** * list connections for search * @param data The data for the request. * @param data.workspace * @returns unknown connection list * @throws ApiError */ static listSearchConnection(data: ListSearchConnectionData): CancelablePromise; /** * get MCP tools from connection * @param data The data for the request. * @param data.workspace * @param data.path * @returns unknown list of MCP tools * @throws ApiError */ static getMcpToolsForConnection(data: GetMcpToolsForConnectionData): CancelablePromise; /** * list connection names * @param data The data for the request. * @param data.workspace * @param data.name * @returns unknown connection list names * @throws ApiError */ static listConnectionNames(data: ListConnectionNamesData): CancelablePromise; /** * create connection_type * @param data The data for the request. * @param data.workspace * @param data.requestBody new connection_type * @returns string connection_type created * @throws ApiError */ static createConnectionType(data: CreateConnectionTypeData): CancelablePromise; /** * get map from connection type to format extension * @param data The data for the request. * @param data.workspace * @returns unknown map from connection type to file connection info * @throws ApiError */ static fileConnectionTypeToFileExtMap(data: FileConnectionTypeToFileExtMapData): CancelablePromise; /** * delete connection_type * @param data The data for the request. * @param data.workspace * @param data.path * @returns string connection_type deleted * @throws ApiError */ static deleteConnectionType(data: DeleteConnectionTypeData): CancelablePromise; /** * update connection_type * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody updated connection_type * @returns string connection_type updated * @throws ApiError */ static updateConnectionType(data: UpdateConnectionTypeData): CancelablePromise; /** * get connection_type * @param data The data for the request. * @param data.workspace * @param data.path * @returns ResourceType connection_type deleted * @throws ApiError */ static getConnectionType(data: GetConnectionTypeData): CancelablePromise; /** * does connection_type exists * @param data The data for the request. * @param data.workspace * @param data.path * @returns boolean does connection_type exist * @throws ApiError */ static existsConnectionType(data: ExistsConnectionTypeData): CancelablePromise; /** * list connection_types * @param data The data for the request. * @param data.workspace * @returns ResourceType connection_type list * @throws ApiError */ static listConnectionType(data: ListConnectionTypeData): CancelablePromise; /** * list connection_types names * @param data The data for the request. * @param data.workspace * @returns string connection_type list * @throws ApiError */ static listConnectionTypeNames(data: ListConnectionTypeNamesData): CancelablePromise; } export declare class NpmProxyService { /** * 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; } 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 * @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; /** * 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 * @returns Flow 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; /** * get flow by path with draft * @param data The data for the request. * @param data.workspace * @param data.path * @returns unknown flow details with draft * @throws ApiError */ static getFlowByPathWithDraft(data: GetFlowByPathWithDraftData): 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; /** * 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 raw app data by * @param data The data for the request. * @param data.workspace * @param data.secretWithExtension * @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 * @returns AppWithLastVersion app details * @throws ApiError */ static getAppByPath(data: GetAppByPathData): 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 by path with draft * @param data The data for the request. * @param data.workspace * @param data.path * @returns AppWithLastVersionWDraft app details with draft * @throws ApiError */ static getAppByPathWithDraft(data: GetAppByPathWithDraftData): CancelablePromise; /** * get app history by path * @param data The data for the request. * @param data.workspace * @param data.path * @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; /** * 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 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 string app updated * @throws ApiError */ static updateApp(data: UpdateAppData): CancelablePromise; /** * update app * @param data The data for the request. * @param data.workspace * @param data.path * @param data.formData update app * @returns string 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, to 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; } 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 Script 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 when the path does not already exist. * Creates a new version of an existing script when called with the same path and the current `parent_hash`. * * @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; /** * 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 * @returns Script 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 script by path with draft * @param data The data for the request. * @param data.workspace * @param data.path * @returns NewScriptWithDraft script details * @throws ApiError */ static getScriptByPathWithDraft(data: GetScriptByPathWithDraftData): CancelablePromise; /** * get history of a script by path * @param data The data for the request. * @param data.workspace * @param data.path * @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; /** * 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; } export declare class DraftService { /** * create draft * @param data The data for the request. * @param data.workspace * @param data.requestBody * @returns string draft created * @throws ApiError */ static createDraft(data: CreateDraftData): CancelablePromise; /** * delete draft * @param data The data for the request. * @param data.workspace * @param data.kind * @param data.path * @returns string draft deleted * @throws ApiError */ static deleteDraft(data: DeleteDraftData): 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 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; } 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 chat-enabled flows * @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 chat-enabled flows * @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 chat-enabled flows * @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 chat-enabled flows * @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 chat-enabled flows * @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 chat-enabled flows * @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 chat-enabled flows * @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; /** * 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 chat-enabled flows * @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 chat-enabled flows * @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.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 chat-enabled flows * @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 chat-enabled flows * @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.isFlowStep is the job a flow step * @param data.hasNullParent has null parent * @param data.success filter on successful jobs * @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; /** * 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.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.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.isFlowStep is the job a flow step * @param data.hasNullParent has null parent * @param data.success filter on successful jobs * @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.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 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; /** * 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; /** * 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; /** * 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.isFlowStep is the job a flow step * @param data.hasNullParent has null parent * @param data.success filter on successful jobs * @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 BpmnFlowService { /** * create BPMN flow * @param data The data for the request. * @param data.workspace * @param data.requestBody BPMN flow to create * @returns string BPMN flow created * @throws ApiError */ static createBpmnFlow(data: CreateBpmnFlowData): CancelablePromise; /** * update BPMN flow * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody BPMN flow to update * @returns string BPMN flow updated * @throws ApiError */ static updateBpmnFlow(data: UpdateBpmnFlowData): CancelablePromise; /** * get BPMN flow by path * @param data The data for the request. * @param data.workspace * @param data.path * @returns BpmnFlow BPMN flow details * @throws ApiError */ static getBpmnFlowByPath(data: GetBpmnFlowByPathData): CancelablePromise; /** * get BPMN flow by path with draft * @param data The data for the request. * @param data.workspace * @param data.path * @returns BpmnFlowWithDraft BPMN flow details with draft * @throws ApiError */ static getBpmnFlowByPathWithDraft(data: GetBpmnFlowByPathWithDraftData): CancelablePromise; /** * exists BPMN flow by path * @param data The data for the request. * @param data.workspace * @param data.path * @returns boolean BPMN flow exists * @throws ApiError */ static existsBpmnFlowByPath(data: ExistsBpmnFlowByPathData): CancelablePromise; /** * list all BPMN 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.pathStart mask to filter matching starting path * @param data.pathExact mask to filter exact matching path * @param data.showArchived * @param data.includeDraftOnly * @param data.label Filter by label * @param data.editedBy Filter by the user who last edited the flow * @param data.withoutDescription Return NULL for description to reduce payload size * @returns ListableBpmnFlow All BPMN flows * @throws ApiError */ static listBpmnFlows(data: ListBpmnFlowsData): CancelablePromise; /** * list all BPMN flow paths * @param data The data for the request. * @param data.workspace * @returns string list of BPMN flow paths * @throws ApiError */ static listBpmnPaths(data: ListBpmnPathsData): CancelablePromise; /** * get BPMN flow history by path * @param data The data for the request. * @param data.workspace * @param data.path * @returns BpmnFlowVersion BPMN flow history * @throws ApiError */ static getBpmnFlowHistory(data: GetBpmnFlowHistoryData): CancelablePromise; /** * get BPMN flow version * @param data The data for the request. * @param data.workspace * @param data.version * @param data.path * @returns BpmnFlow BPMN flow version details * @throws ApiError */ static getBpmnFlowVersion(data: GetBpmnFlowVersionData): CancelablePromise; /** * archive BPMN flow by path * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody archive BPMN flow * @returns string BPMN flow archived * @throws ApiError */ static archiveBpmnFlowByPath(data: ArchiveBpmnFlowByPathData): CancelablePromise; /** * delete BPMN flow by path * @param data The data for the request. * @param data.workspace * @param data.path * @returns string BPMN flow deleted * @throws ApiError */ static deleteBpmnFlowByPath(data: DeleteBpmnFlowByPathData): CancelablePromise; } export declare class BpmnInstanceService { /** * start BPMN process instance * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody initial process variables * @returns string BPMN process instance started, returns the instance id * @throws ApiError */ static startBpmnInstance(data: StartBpmnInstanceData): CancelablePromise; /** * list BPMN process instances * @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 BpmnInstanceSummary BPMN process instances * @throws ApiError */ static listBpmnInstances(data: ListBpmnInstancesData): CancelablePromise; /** * get BPMN process instance * @param data The data for the request. * @param data.workspace * @param data.id * @returns BpmnInstanceDetail BPMN process instance detail (lifecycle, tokens, activities, variables, incidents) * @throws ApiError */ static getBpmnInstance(data: GetBpmnInstanceData): CancelablePromise; /** * get BPMN process instance status * Frontend-facing projection of the process instance's live runtime state (lifecycle, per-activity status, variables, history, incidents), consumed by the bpmn-js token overlay. 404 if the instance isn't in the workspace, or if the engine has not picked it up yet (no runtime state). * @param data The data for the request. * @param data.workspace * @param data.id * @returns ProcessInstanceStatus BPMN process instance status projection * @throws ApiError */ static getBpmnInstanceStatus(data: GetBpmnInstanceStatusData): CancelablePromise; /** * cancel BPMN process instance * @param data The data for the request. * @param data.workspace * @param data.id * @param data.requestBody cancel reason * @returns string BPMN process instance canceled * @throws ApiError */ static cancelBpmnInstance(data: CancelBpmnInstanceData): CancelablePromise; /** * list BPMN process instance incidents * @param data The data for the request. * @param data.workspace * @param data.id * @returns BpmnIncident BPMN process instance incidents * @throws ApiError */ static listBpmnIncidents(data: ListBpmnIncidentsData): CancelablePromise; /** * retry a BPMN process instance incident * Validates the ActivityFailed incident, identified by the original failed child job's id, and records a retry intent on the process instance. The execution engine does not yet act on this intent: retrying an incident is not yet functional end-to-end. This endpoint only validates ownership of the incident and records the intent for a future engine version to consume. * @param data The data for the request. * @param data.workspace * @param data.id * @param data.jobId the failed child job id identifying the incident to retry (Incident.job) * @returns string retry requested * @throws ApiError */ static retryBpmnIncident(data: RetryBpmnIncidentData): CancelablePromise; } export declare class DmnService { /** * create DMN decision * @param data The data for the request. * @param data.workspace * @param data.requestBody DMN decision to create * @returns string DMN decision created * @throws ApiError */ static createDmnDecision(data: CreateDmnDecisionData): CancelablePromise; /** * update DMN decision * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody DMN decision to update * @returns string DMN decision updated * @throws ApiError */ static updateDmnDecision(data: UpdateDmnDecisionData): CancelablePromise; /** * get DMN decision by path * @param data The data for the request. * @param data.workspace * @param data.path * @returns DmnDecision DMN decision details * @throws ApiError */ static getDmnDecisionByPath(data: GetDmnDecisionByPathData): CancelablePromise; /** * get DMN decision by path with draft * @param data The data for the request. * @param data.workspace * @param data.path * @returns DmnDecisionWithDraft DMN decision details with draft * @throws ApiError */ static getDmnDecisionByPathWithDraft(data: GetDmnDecisionByPathWithDraftData): CancelablePromise; /** * exists DMN decision by path * @param data The data for the request. * @param data.workspace * @param data.path * @returns boolean DMN decision exists * @throws ApiError */ static existsDmnDecisionByPath(data: ExistsDmnDecisionByPathData): CancelablePromise; /** * list all DMN decisions * @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.pathStart mask to filter matching starting path * @param data.pathExact mask to filter exact matching path * @param data.showArchived * @param data.includeDraftOnly * @param data.label Filter by label * @param data.editedBy Filter by the user who last edited the decision * @param data.withoutDescription Return NULL for description to reduce payload size * @returns ListableDmnDecision All DMN decisions * @throws ApiError */ static listDmnDecisions(data: ListDmnDecisionsData): CancelablePromise; /** * get DMN decision history by path * @param data The data for the request. * @param data.workspace * @param data.path * @returns DmnDecisionVersion DMN decision history * @throws ApiError */ static getDmnDecisionHistory(data: GetDmnDecisionHistoryData): CancelablePromise; /** * archive DMN decision by path * @param data The data for the request. * @param data.workspace * @param data.path * @param data.requestBody archive DMN decision * @returns string DMN decision archived * @throws ApiError */ static archiveDmnDecisionByPath(data: ArchiveDmnDecisionByPathData): CancelablePromise; /** * delete DMN decision by path * @param data The data for the request. * @param data.workspace * @param data.path * @returns string DMN decision deleted * @throws ApiError */ static deleteDmnDecisionByPath(data: DeleteDmnDecisionByPathData): CancelablePromise; /** * evaluate a DMN decision * Evaluate a saved decision (decision_id, no inline xml) or an inline document (xml, with * decision_id optional). These two cases use decision_id differently: when evaluating a * stored decision, decision_id is purely the storage path used to load the XML, not a * selector into it. For inline xml, decision_id doubles as an in-document `` * selector, since the storage path and the document's internal decision id are unrelated * namespaces. To select a specific decision inside the document explicitly -- including a * non-first decision in a saved multi-decision document -- supply decision_ref, which is * always the in-document selector regardless of branch. An archived stored decision cannot * be evaluated (400). * * @param data The data for the request. * @param data.workspace * @param data.requestBody decision reference (saved path or inline XML) plus input values * @returns EvaluateResponse evaluation result * @throws ApiError */ static evaluateDmnDecision(data: EvaluateDmnDecisionData): 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 * @returns FlowConversation flow conversations list * @throws ApiError */ static listFlowConversations(data: ListFlowConversationsData): 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 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 * @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 * @returns ListableRawApp All raw apps * @throws ApiError */ static listRawApps(data: ListRawAppsData): 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; } 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 * @returns Schedule 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 * @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 * @returns HttpTrigger 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 * @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 * @returns WebsocketTrigger 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 * @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 * @returns KafkaTrigger 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 * @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 * @returns NatsTrigger 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 * @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 * @returns SqsTrigger 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 * @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; /** * 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 * @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 * @returns MqttTrigger 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 * @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 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 * @returns GcpTrigger 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 * @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; /** * list all topics of google cloud service * @param data The data for the request. * @param data.workspace * @param data.path * @returns string get all google topics * @throws ApiError */ static listGoogleTopics(data: ListGoogleTopicsData): 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; } 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 * @returns AzureTrigger 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 * @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 * @returns PostgresTrigger 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 * @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 * @returns EmailTrigger 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 * @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.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 { /** * @deprecated * list worker groups * Deprecated (#370): use GET /configs/list_worker_pools instead. * @returns unknown a list of worker group configs * @throws ApiError */ static listWorkerGroups(): CancelablePromise; /** * list worker pools * @returns unknown a list of worker pool configs * @throws ApiError */ static listWorkerPools(): 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 * @returns unknown Connection settings * @throws ApiError */ static datasetStorageTestConnection(data: DatasetStorageTestConnectionData): 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.storage * @returns unknown List of file keys * @throws ApiError */ static listStoredFiles(data: ListStoredFilesData): CancelablePromise; /** * Load metadata of the file * @param data The data for the request. * @param data.workspace * @param data.fileKey * @param data.storage * @returns OrvantaFileMetadata 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 * @returns OrvantaFilePreview 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 OrvantaFilePreview 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 OrvantaFileMetadata 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 * @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 * @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 * @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.isFlowStep is the job a flow step * @param data.hasNullParent has null parent * @param data.success filter on successful jobs * @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; } 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 a client (if needed), and redirects to the MCP server's authorization endpoint. The caller must be a member of workspace_id. * @param data The data for the request. * @param data.mcpServerUrl URL of the MCP server to connect to * @param data.workspaceId Workspace the resulting connection will belong to * @param data.scopes Comma/whitespace-separated list of OAuth scopes to request * @throws ApiError */ static startMcpOauthPopup(data: StartMcpOauthPopupData): CancelablePromise; /** * MCP OAuth callback * Handles the OAuth redirect from the MCP server, exchanges the code for tokens (PKCE, server-to-server), persists them encrypted per-workspace, and returns an HTML page that posts a message to window.opener and closes itself. Always returns 200 -- success/failure is conveyed via the posted message, never plaintext tokens. * @param data The data for the request. * @param data.state CSRF state token, single-use, matched against the row created by /mcp/oauth/start * @param data.code OAuth authorization code (absent when the authorization server reports an error instead) * @param data.error Error code from the authorization server, if the user denied access or the request failed * @param data.errorDescription * @returns string HTML page with JavaScript that posts a success/error message to the opener window and closes * @throws ApiError */ static mcpOauthCallback(data: McpOauthCallbackData): CancelablePromise; /** * refresh an MCP OAuth connection's access token * Uses the stored (encrypted) refresh token to obtain a new access token from the MCP server and updates the stored connection. The caller must be a member of workspace_id. * @param data The data for the request. * @param data.requestBody * @returns unknown Token refreshed * @throws ApiError */ static refreshMcpOauth(data: RefreshMcpOauthData): CancelablePromise; /** * Orvanta's OAuth client metadata (RFC 7591) * Static client metadata document served for MCP servers that want to inspect Orvanta's registration parameters ahead of dynamic client registration. * @returns unknown Client metadata * @throws ApiError */ static getMcpOauthClientMetadata(): CancelablePromise; }