windmill-utils-internal 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/constants.d.ts +16 -0
  2. package/dist/constants.js +44 -0
  3. package/dist/gen/core/ApiError.d.ts +10 -0
  4. package/dist/gen/core/ApiError.js +20 -0
  5. package/dist/gen/core/ApiRequestOptions.d.ts +14 -0
  6. package/dist/gen/core/ApiRequestOptions.js +2 -0
  7. package/dist/gen/core/ApiResult.d.ts +7 -0
  8. package/dist/gen/core/ApiResult.js +2 -0
  9. package/dist/gen/core/CancelablePromise.d.ts +26 -0
  10. package/dist/gen/core/CancelablePromise.js +100 -0
  11. package/dist/gen/core/OpenAPI.d.ts +27 -0
  12. package/dist/gen/core/OpenAPI.js +39 -0
  13. package/dist/gen/core/request.d.ts +29 -0
  14. package/dist/gen/core/request.js +323 -0
  15. package/dist/gen/index.d.ts +5 -0
  16. package/dist/gen/index.js +27 -0
  17. package/dist/gen/services.gen.d.ts +4894 -0
  18. package/dist/gen/services.gen.js +10485 -0
  19. package/dist/gen/types.gen.d.ts +7319 -0
  20. package/dist/gen/types.gen.js +3 -0
  21. package/dist/index.d.ts +13 -0
  22. package/dist/index.js +32 -0
  23. package/dist/inline-scripts/extractor.d.ts +30 -0
  24. package/dist/inline-scripts/extractor.js +85 -0
  25. package/dist/inline-scripts/index.d.ts +2 -0
  26. package/dist/inline-scripts/index.js +18 -0
  27. package/dist/inline-scripts/replacer.d.ts +16 -0
  28. package/dist/inline-scripts/replacer.js +97 -0
  29. package/dist/parse/index.d.ts +1 -0
  30. package/dist/parse/index.js +17 -0
  31. package/dist/parse/parse-schema.d.ts +93 -0
  32. package/dist/parse/parse-schema.js +205 -0
  33. package/dist/path-utils/index.d.ts +1 -0
  34. package/dist/path-utils/index.js +17 -0
  35. package/dist/path-utils/path-assigner.d.ts +28 -0
  36. package/dist/path-utils/path-assigner.js +60 -0
  37. package/package.json +24 -0
@@ -0,0 +1,4894 @@
1
+ import type { CancelablePromise } from './core/CancelablePromise';
2
+ import type { BackendVersionResponse, BackendUptodateResponse, GetLicenseIdResponse, GetOpenApiYamlResponse, GetAuditLogData, GetAuditLogResponse, ListAuditLogsData, ListAuditLogsResponse, LoginData, LoginResponse, LogoutResponse, GetUserData, GetUserResponse, UpdateUserData, UpdateUserResponse, IsOwnerOfPathData, IsOwnerOfPathResponse, SetPasswordData, SetPasswordResponse, SetPasswordForUserData, SetPasswordForUserResponse, SetLoginTypeForUserData, SetLoginTypeForUserResponse, CreateUserGloballyData, CreateUserGloballyResponse, GlobalUserUpdateData, GlobalUserUpdateResponse, GlobalUsernameInfoData, GlobalUsernameInfoResponse, GlobalUserRenameData, GlobalUserRenameResponse, GlobalUserDeleteData, GlobalUserDeleteResponse, GlobalUsersOverwriteData, GlobalUsersOverwriteResponse, GlobalUsersExportResponse, DeleteUserData, DeleteUserResponse, GetGlobalConnectedRepositoriesResponse, ListWorkspacesResponse, IsDomainAllowedResponse, ListUserWorkspacesResponse, ListWorkspacesAsSuperAdminData, ListWorkspacesAsSuperAdminResponse, CreateWorkspaceData, CreateWorkspaceResponse, ExistsWorkspaceData, ExistsWorkspaceResponse, ExistsUsernameData, ExistsUsernameResponse, GetGlobalData, GetGlobalResponse, SetGlobalData, SetGlobalResponse, GetLocalResponse, TestSmtpData, TestSmtpResponse, TestCriticalChannelsData, TestCriticalChannelsResponse, GetCriticalAlertsData, GetCriticalAlertsResponse, AcknowledgeCriticalAlertData, AcknowledgeCriticalAlertResponse, AcknowledgeAllCriticalAlertsResponse, TestLicenseKeyData, TestLicenseKeyResponse, TestObjectStorageConfigData, TestObjectStorageConfigResponse, SendStatsResponse, GetLatestKeyRenewalAttemptResponse, RenewLicenseKeyData, RenewLicenseKeyResponse, CreateCustomerPortalSessionData, CreateCustomerPortalSessionResponse, TestMetadataData, TestMetadataResponse, ListGlobalSettingsResponse, GetCurrentEmailResponse, RefreshUserTokenData, RefreshUserTokenResponse, GetTutorialProgressResponse, UpdateTutorialProgressData, UpdateTutorialProgressResponse, LeaveInstanceResponse, GetUsageResponse, GetRunnableResponse, GlobalWhoamiResponse, ListWorkspaceInvitesResponse, WhoamiData, WhoamiResponse, GetGithubAppTokenData, GetGithubAppTokenResponse, InstallFromWorkspaceData, InstallFromWorkspaceResponse, DeleteFromWorkspaceData, DeleteFromWorkspaceResponse, ExportInstallationData, ExportInstallationResponse, ImportInstallationData, ImportInstallationResponse, AcceptInviteData, AcceptInviteResponse, DeclineInviteData, DeclineInviteResponse, InviteUserData, InviteUserResponse, AddUserData, AddUserResponse, DeleteInviteData, DeleteInviteResponse, ArchiveWorkspaceData, ArchiveWorkspaceResponse, UnarchiveWorkspaceData, UnarchiveWorkspaceResponse, DeleteWorkspaceData, DeleteWorkspaceResponse, LeaveWorkspaceData, LeaveWorkspaceResponse, GetWorkspaceNameData, GetWorkspaceNameResponse, ChangeWorkspaceNameData, ChangeWorkspaceNameResponse, ChangeWorkspaceIdData, ChangeWorkspaceIdResponse, ChangeWorkspaceColorData, ChangeWorkspaceColorResponse, WhoisData, WhoisResponse, UpdateOperatorSettingsData, UpdateOperatorSettingsResponse, ExistsEmailData, ExistsEmailResponse, ListUsersAsSuperAdminData, ListUsersAsSuperAdminResponse, ListPendingInvitesData, ListPendingInvitesResponse, GetSettingsData, GetSettingsResponse, GetDeployToData, GetDeployToResponse, GetIsPremiumData, GetIsPremiumResponse, GetPremiumInfoData, GetPremiumInfoResponse, GetThresholdAlertData, GetThresholdAlertResponse, SetThresholdAlertData, SetThresholdAlertResponse, EditSlackCommandData, EditSlackCommandResponse, EditTeamsCommandData, EditTeamsCommandResponse, ListAvailableTeamsIdsData, ListAvailableTeamsIdsResponse, ListAvailableTeamsChannelsData, ListAvailableTeamsChannelsResponse, ConnectTeamsData, ConnectTeamsResponse, RunSlackMessageTestJobData, RunSlackMessageTestJobResponse, RunTeamsMessageTestJobData, RunTeamsMessageTestJobResponse, EditDeployToData, EditDeployToResponse, EditAutoInviteData, EditAutoInviteResponse, EditWebhookData, EditWebhookResponse, EditCopilotConfigData, EditCopilotConfigResponse, GetCopilotInfoData, GetCopilotInfoResponse, EditErrorHandlerData, EditErrorHandlerResponse, EditLargeFileStorageConfigData, EditLargeFileStorageConfigResponse, EditWorkspaceGitSyncConfigData, EditWorkspaceGitSyncConfigResponse, EditGitSyncRepositoryData, EditGitSyncRepositoryResponse, DeleteGitSyncRepositoryData, DeleteGitSyncRepositoryResponse, EditWorkspaceDeployUiSettingsData, EditWorkspaceDeployUiSettingsResponse, EditWorkspaceDefaultAppData, EditWorkspaceDefaultAppResponse, EditDefaultScriptsData, EditDefaultScriptsResponse, GetDefaultScriptsData, GetDefaultScriptsResponse, SetEnvironmentVariableData, SetEnvironmentVariableResponse, GetWorkspaceEncryptionKeyData, GetWorkspaceEncryptionKeyResponse, SetWorkspaceEncryptionKeyData, SetWorkspaceEncryptionKeyResponse, GetWorkspaceDefaultAppData, GetWorkspaceDefaultAppResponse, GetLargeFileStorageConfigData, GetLargeFileStorageConfigResponse, GetWorkspaceUsageData, GetWorkspaceUsageResponse, GetUsedTriggersData, GetUsedTriggersResponse, ListUsersData, ListUsersResponse, ListUsersUsageData, ListUsersUsageResponse, ListUsernamesData, ListUsernamesResponse, UsernameToEmailData, UsernameToEmailResponse, ListAvailableScopesResponse, CreateTokenData, CreateTokenResponse, CreateTokenImpersonateData, CreateTokenImpersonateResponse, DeleteTokenData, DeleteTokenResponse, ListTokensData, ListTokensResponse, GetOidcTokenData, GetOidcTokenResponse, CreateVariableData, CreateVariableResponse, EncryptValueData, EncryptValueResponse, DeleteVariableData, DeleteVariableResponse, UpdateVariableData, UpdateVariableResponse, GetVariableData, GetVariableResponse, GetVariableValueData, GetVariableValueResponse, ExistsVariableData, ExistsVariableResponse, ListVariableData, ListVariableResponse, ListContextualVariablesData, ListContextualVariablesResponse, GetSecondaryStorageNamesData, GetSecondaryStorageNamesResponse, WorkspaceGetCriticalAlertsData, WorkspaceGetCriticalAlertsResponse, WorkspaceAcknowledgeCriticalAlertData, WorkspaceAcknowledgeCriticalAlertResponse, WorkspaceAcknowledgeAllCriticalAlertsData, WorkspaceAcknowledgeAllCriticalAlertsResponse, WorkspaceMuteCriticalAlertsUiData, WorkspaceMuteCriticalAlertsUiResponse, LoginWithOauthData, LoginWithOauthResponse, ConnectSlackCallbackData, ConnectSlackCallbackResponse, ConnectSlackCallbackInstanceData, ConnectSlackCallbackInstanceResponse, ConnectCallbackData, ConnectCallbackResponse, CreateAccountData, CreateAccountResponse, ConnectClientCredentialsData, ConnectClientCredentialsResponse, RefreshTokenData, RefreshTokenResponse, DisconnectAccountData, DisconnectAccountResponse, DisconnectSlackData, DisconnectSlackResponse, DisconnectTeamsData, DisconnectTeamsResponse, ListOauthLoginsResponse, ListOauthConnectsResponse, GetOauthConnectData, GetOauthConnectResponse, SyncTeamsResponse, SendMessageToConversationData, SendMessageToConversationResponse, CreateResourceData, CreateResourceResponse, DeleteResourceData, DeleteResourceResponse, UpdateResourceData, UpdateResourceResponse, UpdateResourceValueData, UpdateResourceValueResponse, GetResourceData, GetResourceResponse, GetResourceValueInterpolatedData, GetResourceValueInterpolatedResponse, GetResourceValueData, GetResourceValueResponse, ExistsResourceData, ExistsResourceResponse, ListResourceData, ListResourceResponse, ListSearchResourceData, ListSearchResourceResponse, ListResourceNamesData, ListResourceNamesResponse, CreateResourceTypeData, CreateResourceTypeResponse, FileResourceTypeToFileExtMapData, FileResourceTypeToFileExtMapResponse, DeleteResourceTypeData, DeleteResourceTypeResponse, UpdateResourceTypeData, UpdateResourceTypeResponse, GetResourceTypeData, GetResourceTypeResponse, ExistsResourceTypeData, ExistsResourceTypeResponse, ListResourceTypeData, ListResourceTypeResponse, ListResourceTypeNamesData, ListResourceTypeNamesResponse, QueryResourceTypesData, QueryResourceTypesResponse, ListHubIntegrationsData, ListHubIntegrationsResponse, ListHubFlowsResponse, GetHubFlowByIdData, GetHubFlowByIdResponse, ListHubAppsResponse, GetHubAppByIdData, GetHubAppByIdResponse, GetPublicAppByCustomPathData, GetPublicAppByCustomPathResponse, GetHubScriptContentByPathData, GetHubScriptContentByPathResponse, GetHubScriptByPathData, GetHubScriptByPathResponse, GetTopHubScriptsData, GetTopHubScriptsResponse, QueryHubScriptsData, QueryHubScriptsResponse, ListSearchScriptData, ListSearchScriptResponse, ListScriptsData, ListScriptsResponse, ListScriptPathsData, ListScriptPathsResponse, CreateDraftData, CreateDraftResponse, DeleteDraftData, DeleteDraftResponse, CreateScriptData, CreateScriptResponse, ToggleWorkspaceErrorHandlerForScriptData, ToggleWorkspaceErrorHandlerForScriptResponse, GetCustomTagsData, GetCustomTagsResponse, GeDefaultTagsResponse, IsDefaultTagsPerWorkspaceResponse, ArchiveScriptByPathData, ArchiveScriptByPathResponse, ArchiveScriptByHashData, ArchiveScriptByHashResponse, DeleteScriptByHashData, DeleteScriptByHashResponse, DeleteScriptByPathData, DeleteScriptByPathResponse, GetScriptByPathData, GetScriptByPathResponse, GetTriggersCountOfScriptData, GetTriggersCountOfScriptResponse, ListTokensOfScriptData, ListTokensOfScriptResponse, GetScriptByPathWithDraftData, GetScriptByPathWithDraftResponse, GetScriptHistoryByPathData, GetScriptHistoryByPathResponse, ListScriptPathsFromWorkspaceRunnableData, ListScriptPathsFromWorkspaceRunnableResponse, GetScriptLatestVersionData, GetScriptLatestVersionResponse, UpdateScriptHistoryData, UpdateScriptHistoryResponse, RawScriptByPathData, RawScriptByPathResponse, RawScriptByPathTokenedData, RawScriptByPathTokenedResponse, ExistsScriptByPathData, ExistsScriptByPathResponse, GetScriptByHashData, GetScriptByHashResponse, RawScriptByHashData, RawScriptByHashResponse, GetScriptDeploymentStatusData, GetScriptDeploymentStatusResponse, ListSelectedJobGroupsData, ListSelectedJobGroupsResponse, RunScriptByPathData, RunScriptByPathResponse, OpenaiSyncScriptByPathData, OpenaiSyncScriptByPathResponse, RunWaitResultScriptByPathData, RunWaitResultScriptByPathResponse, RunWaitResultScriptByPathGetData, RunWaitResultScriptByPathGetResponse, OpenaiSyncFlowByPathData, OpenaiSyncFlowByPathResponse, RunWaitResultFlowByPathData, RunWaitResultFlowByPathResponse, ResultByIdData, ResultByIdResponse, 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, ListRawAppsData, ListRawAppsResponse, ExistsRawAppData, ExistsRawAppResponse, 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, GetAppByVersionData, GetAppByVersionResponse, CreateRawAppData, CreateRawAppResponse, UpdateRawAppData, UpdateRawAppResponse, DeleteRawAppData, DeleteRawAppResponse, DeleteAppData, DeleteAppResponse, UpdateAppData, UpdateAppResponse, UpdateAppRawData, UpdateAppRawResponse, CustomPathExistsData, CustomPathExistsResponse, SignS3ObjectsData, SignS3ObjectsResponse, ExecuteComponentData, ExecuteComponentResponse, UploadS3FileFromAppData, UploadS3FileFromAppResponse, DeleteS3FileFromAppData, DeleteS3FileFromAppResponse, RunFlowByPathData, RunFlowByPathResponse, BatchReRunJobsData, BatchReRunJobsResponse, RestartFlowAtStepData, RestartFlowAtStepResponse, RunScriptByHashData, RunScriptByHashResponse, RunScriptPreviewData, RunScriptPreviewResponse, RunCodeWorkflowTaskData, RunCodeWorkflowTaskResponse, RunRawScriptDependenciesData, RunRawScriptDependenciesResponse, RunFlowPreviewData, RunFlowPreviewResponse, ListQueueData, ListQueueResponse, GetQueueCountData, GetQueueCountResponse, GetCompletedCountData, GetCompletedCountResponse, CountCompletedJobsData, CountCompletedJobsResponse, ListFilteredJobsUuidsData, ListFilteredJobsUuidsResponse, ListFilteredQueueUuidsData, ListFilteredQueueUuidsResponse, CancelSelectionData, CancelSelectionResponse, ListCompletedJobsData, ListCompletedJobsResponse, ListJobsData, ListJobsResponse, GetDbClockResponse, CountJobsByTagData, CountJobsByTagResponse, GetJobData, GetJobResponse, GetRootJobIdData, GetRootJobIdResponse, GetJobLogsData, GetJobLogsResponse, GetJobArgsData, GetJobArgsResponse, GetJobUpdatesData, GetJobUpdatesResponse, GetJobUpdatesSseData, GetJobUpdatesSseResponse, GetLogFileFromStoreData, GetLogFileFromStoreResponse, GetFlowDebugInfoData, GetFlowDebugInfoResponse, GetCompletedJobData, GetCompletedJobResponse, GetCompletedJobResultData, GetCompletedJobResultResponse, GetCompletedJobResultMaybeData, GetCompletedJobResultMaybeResponse, DeleteCompletedJobData, DeleteCompletedJobResponse, CancelQueuedJobData, CancelQueuedJobResponse, CancelPersistentQueuedJobsData, CancelPersistentQueuedJobsResponse, ForceCancelQueuedJobData, ForceCancelQueuedJobResponse, CreateJobSignatureData, CreateJobSignatureResponse, GetResumeUrlsData, GetResumeUrlsResponse, GetSlackApprovalPayloadData, GetSlackApprovalPayloadResponse, GetTeamsApprovalPayloadData, GetTeamsApprovalPayloadResponse, ResumeSuspendedJobGetData, ResumeSuspendedJobGetResponse, ResumeSuspendedJobPostData, ResumeSuspendedJobPostResponse, SetFlowUserStateData, SetFlowUserStateResponse, GetFlowUserStateData, GetFlowUserStateResponse, ResumeSuspendedFlowAsOwnerData, ResumeSuspendedFlowAsOwnerResponse, CancelSuspendedJobGetData, CancelSuspendedJobGetResponse, CancelSuspendedJobPostData, CancelSuspendedJobPostResponse, GetSuspendedJobFlowData, GetSuspendedJobFlowResponse, 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, CreateWebsocketTriggerData, CreateWebsocketTriggerResponse, UpdateWebsocketTriggerData, UpdateWebsocketTriggerResponse, DeleteWebsocketTriggerData, DeleteWebsocketTriggerResponse, GetWebsocketTriggerData, GetWebsocketTriggerResponse, ListWebsocketTriggersData, ListWebsocketTriggersResponse, ExistsWebsocketTriggerData, ExistsWebsocketTriggerResponse, SetWebsocketTriggerEnabledData, SetWebsocketTriggerEnabledResponse, TestWebsocketConnectionData, TestWebsocketConnectionResponse, CreateKafkaTriggerData, CreateKafkaTriggerResponse, UpdateKafkaTriggerData, UpdateKafkaTriggerResponse, DeleteKafkaTriggerData, DeleteKafkaTriggerResponse, GetKafkaTriggerData, GetKafkaTriggerResponse, ListKafkaTriggersData, ListKafkaTriggersResponse, ExistsKafkaTriggerData, ExistsKafkaTriggerResponse, SetKafkaTriggerEnabledData, SetKafkaTriggerEnabledResponse, TestKafkaConnectionData, TestKafkaConnectionResponse, CreateNatsTriggerData, CreateNatsTriggerResponse, UpdateNatsTriggerData, UpdateNatsTriggerResponse, DeleteNatsTriggerData, DeleteNatsTriggerResponse, GetNatsTriggerData, GetNatsTriggerResponse, ListNatsTriggersData, ListNatsTriggersResponse, ExistsNatsTriggerData, ExistsNatsTriggerResponse, SetNatsTriggerEnabledData, SetNatsTriggerEnabledResponse, TestNatsConnectionData, TestNatsConnectionResponse, CreateSqsTriggerData, CreateSqsTriggerResponse, UpdateSqsTriggerData, UpdateSqsTriggerResponse, DeleteSqsTriggerData, DeleteSqsTriggerResponse, GetSqsTriggerData, GetSqsTriggerResponse, ListSqsTriggersData, ListSqsTriggersResponse, ExistsSqsTriggerData, ExistsSqsTriggerResponse, SetSqsTriggerEnabledData, SetSqsTriggerEnabledResponse, TestSqsConnectionData, TestSqsConnectionResponse, CreateMqttTriggerData, CreateMqttTriggerResponse, UpdateMqttTriggerData, UpdateMqttTriggerResponse, DeleteMqttTriggerData, DeleteMqttTriggerResponse, GetMqttTriggerData, GetMqttTriggerResponse, ListMqttTriggersData, ListMqttTriggersResponse, ExistsMqttTriggerData, ExistsMqttTriggerResponse, SetMqttTriggerEnabledData, SetMqttTriggerEnabledResponse, TestMqttConnectionData, TestMqttConnectionResponse, CreateGcpTriggerData, CreateGcpTriggerResponse, UpdateGcpTriggerData, UpdateGcpTriggerResponse, DeleteGcpTriggerData, DeleteGcpTriggerResponse, GetGcpTriggerData, GetGcpTriggerResponse, ListGcpTriggersData, ListGcpTriggersResponse, ExistsGcpTriggerData, ExistsGcpTriggerResponse, SetGcpTriggerEnabledData, SetGcpTriggerEnabledResponse, TestGcpConnectionData, TestGcpConnectionResponse, DeleteGcpSubscriptionData, DeleteGcpSubscriptionResponse, ListGoogleTopicsData, ListGoogleTopicsResponse, ListAllTgoogleTopicSubscriptionsData, ListAllTgoogleTopicSubscriptionsResponse, 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, SetPostgresTriggerEnabledData, SetPostgresTriggerEnabledResponse, TestPostgresConnectionData, TestPostgresConnectionResponse, ListInstanceGroupsResponse, 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, ListFoldersData, ListFoldersResponse, ListFolderNamesData, ListFolderNamesResponse, CreateFolderData, CreateFolderResponse, UpdateFolderData, UpdateFolderResponse, DeleteFolderData, DeleteFolderResponse, GetFolderData, GetFolderResponse, ExistsFolderData, ExistsFolderResponse, GetFolderUsageData, GetFolderUsageResponse, AddOwnerToFolderData, AddOwnerToFolderResponse, RemoveOwnerToFolderData, RemoveOwnerToFolderResponse, ListWorkersData, ListWorkersResponse, ExistsWorkerWithTagData, ExistsWorkerWithTagResponse, GetQueueMetricsResponse, GetCountsOfJobsWaitingPerTagResponse, ListWorkerGroupsResponse, GetConfigData, GetConfigResponse, UpdateConfigData, UpdateConfigResponse, DeleteConfigData, DeleteConfigResponse, ListConfigsResponse, ListAutoscalingEventsData, ListAutoscalingEventsResponse, ListAvailablePythonVersionsResponse, CreateAgentTokenData, CreateAgentTokenResponse, BlacklistAgentTokenData, BlacklistAgentTokenResponse, RemoveBlacklistAgentTokenData, RemoveBlacklistAgentTokenResponse, ListBlacklistedAgentTokensData, ListBlacklistedAgentTokensResponse, 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, LoadParquetPreviewData, LoadParquetPreviewResponse, LoadTableRowCountData, LoadTableRowCountResponse, LoadCsvPreviewData, LoadCsvPreviewResponse, DeleteS3FileData, DeleteS3FileResponse, MoveS3FileData, MoveS3FileResponse, FileUploadData, FileUploadResponse, FileDownloadData, FileDownloadResponse, FileDownloadParquetAsCsvData, FileDownloadParquetAsCsvResponse, GetJobMetricsData, GetJobMetricsResponse, SetJobProgressData, SetJobProgressResponse, GetJobProgressData, GetJobProgressResponse, ListLogFilesData, ListLogFilesResponse, GetLogFileData, GetLogFileResponse, ListConcurrencyGroupsResponse, DeleteConcurrencyGroupData, DeleteConcurrencyGroupResponse, GetConcurrencyKeyData, GetConcurrencyKeyResponse, ListExtendedJobsData, ListExtendedJobsResponse, SearchJobsIndexData, SearchJobsIndexResponse, SearchLogsIndexData, SearchLogsIndexResponse, CountSearchLogsIndexData, CountSearchLogsIndexResponse, ClearIndexData, ClearIndexResponse, ListAssetsData, ListAssetsResponse, ListAssetsByUsageData, ListAssetsByUsageResponse } from './types.gen';
3
+ /**
4
+ * get backend version
5
+ * @returns string git version of backend
6
+ * @throws ApiError
7
+ */
8
+ export declare const backendVersion: () => CancelablePromise<BackendVersionResponse>;
9
+ /**
10
+ * is backend up to date
11
+ * @returns string is backend up to date
12
+ * @throws ApiError
13
+ */
14
+ export declare const backendUptodate: () => CancelablePromise<BackendUptodateResponse>;
15
+ /**
16
+ * get license id
17
+ * @returns string get license id (empty if not ee)
18
+ * @throws ApiError
19
+ */
20
+ export declare const getLicenseId: () => CancelablePromise<GetLicenseIdResponse>;
21
+ /**
22
+ * get openapi yaml spec
23
+ * @returns string openapi yaml file content
24
+ * @throws ApiError
25
+ */
26
+ export declare const getOpenApiYaml: () => CancelablePromise<GetOpenApiYamlResponse>;
27
+ /**
28
+ * get audit log (requires admin privilege)
29
+ * @param data The data for the request.
30
+ * @param data.workspace
31
+ * @param data.id
32
+ * @returns AuditLog an audit log
33
+ * @throws ApiError
34
+ */
35
+ export declare const getAuditLog: (data: GetAuditLogData) => CancelablePromise<GetAuditLogResponse>;
36
+ /**
37
+ * list audit logs (requires admin privilege)
38
+ * @param data The data for the request.
39
+ * @param data.workspace
40
+ * @param data.page which page to return (start at 1, default 1)
41
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
42
+ * @param data.before filter on started before (inclusive) timestamp
43
+ * @param data.after filter on created after (exclusive) timestamp
44
+ * @param data.username filter on exact username of user
45
+ * @param data.operation filter on exact or prefix name of operation
46
+ * @param data.operations comma separated list of exact operations to include
47
+ * @param data.excludeOperations comma separated list of operations to exclude
48
+ * @param data.resource filter on exact or prefix name of resource
49
+ * @param data.actionKind filter on type of operation
50
+ * @param data.allWorkspaces get audit logs for all workspaces
51
+ * @returns AuditLog a list of audit logs
52
+ * @throws ApiError
53
+ */
54
+ export declare const listAuditLogs: (data: ListAuditLogsData) => CancelablePromise<ListAuditLogsResponse>;
55
+ /**
56
+ * login with password
57
+ * @param data The data for the request.
58
+ * @param data.requestBody credentials
59
+ * @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.
60
+ *
61
+ * @throws ApiError
62
+ */
63
+ export declare const login: (data: LoginData) => CancelablePromise<LoginResponse>;
64
+ /**
65
+ * logout
66
+ * @returns string clear cookies and clear token (if applicable)
67
+ * @throws ApiError
68
+ */
69
+ export declare const logout: () => CancelablePromise<LogoutResponse>;
70
+ /**
71
+ * get user (require admin privilege)
72
+ * @param data The data for the request.
73
+ * @param data.workspace
74
+ * @param data.username
75
+ * @returns User user created
76
+ * @throws ApiError
77
+ */
78
+ export declare const getUser: (data: GetUserData) => CancelablePromise<GetUserResponse>;
79
+ /**
80
+ * update user (require admin privilege)
81
+ * @param data The data for the request.
82
+ * @param data.workspace
83
+ * @param data.username
84
+ * @param data.requestBody new user
85
+ * @returns string edited user
86
+ * @throws ApiError
87
+ */
88
+ export declare const updateUser: (data: UpdateUserData) => CancelablePromise<UpdateUserResponse>;
89
+ /**
90
+ * is owner of path
91
+ * @param data The data for the request.
92
+ * @param data.workspace
93
+ * @param data.path
94
+ * @returns boolean is owner
95
+ * @throws ApiError
96
+ */
97
+ export declare const isOwnerOfPath: (data: IsOwnerOfPathData) => CancelablePromise<IsOwnerOfPathResponse>;
98
+ /**
99
+ * set password
100
+ * @param data The data for the request.
101
+ * @param data.requestBody set password
102
+ * @returns string password set
103
+ * @throws ApiError
104
+ */
105
+ export declare const setPassword: (data: SetPasswordData) => CancelablePromise<SetPasswordResponse>;
106
+ /**
107
+ * set password for a specific user (require super admin)
108
+ * @param data The data for the request.
109
+ * @param data.user
110
+ * @param data.requestBody set password
111
+ * @returns string password set
112
+ * @throws ApiError
113
+ */
114
+ export declare const setPasswordForUser: (data: SetPasswordForUserData) => CancelablePromise<SetPasswordForUserResponse>;
115
+ /**
116
+ * set login type for a specific user (require super admin)
117
+ * @param data The data for the request.
118
+ * @param data.user
119
+ * @param data.requestBody set login type
120
+ * @returns string login type set
121
+ * @throws ApiError
122
+ */
123
+ export declare const setLoginTypeForUser: (data: SetLoginTypeForUserData) => CancelablePromise<SetLoginTypeForUserResponse>;
124
+ /**
125
+ * create user
126
+ * @param data The data for the request.
127
+ * @param data.requestBody user info
128
+ * @returns string user created
129
+ * @throws ApiError
130
+ */
131
+ export declare const createUserGlobally: (data: CreateUserGloballyData) => CancelablePromise<CreateUserGloballyResponse>;
132
+ /**
133
+ * global update user (require super admin)
134
+ * @param data The data for the request.
135
+ * @param data.email
136
+ * @param data.requestBody new user info
137
+ * @returns string user updated
138
+ * @throws ApiError
139
+ */
140
+ export declare const globalUserUpdate: (data: GlobalUserUpdateData) => CancelablePromise<GlobalUserUpdateResponse>;
141
+ /**
142
+ * global username info (require super admin)
143
+ * @param data The data for the request.
144
+ * @param data.email
145
+ * @returns unknown user renamed
146
+ * @throws ApiError
147
+ */
148
+ export declare const globalUsernameInfo: (data: GlobalUsernameInfoData) => CancelablePromise<GlobalUsernameInfoResponse>;
149
+ /**
150
+ * global rename user (require super admin)
151
+ * @param data The data for the request.
152
+ * @param data.email
153
+ * @param data.requestBody new username
154
+ * @returns string user renamed
155
+ * @throws ApiError
156
+ */
157
+ export declare const globalUserRename: (data: GlobalUserRenameData) => CancelablePromise<GlobalUserRenameResponse>;
158
+ /**
159
+ * global delete user (require super admin)
160
+ * @param data The data for the request.
161
+ * @param data.email
162
+ * @returns string user deleted
163
+ * @throws ApiError
164
+ */
165
+ export declare const globalUserDelete: (data: GlobalUserDeleteData) => CancelablePromise<GlobalUserDeleteResponse>;
166
+ /**
167
+ * global overwrite users (require super admin and EE)
168
+ * @param data The data for the request.
169
+ * @param data.requestBody List of users
170
+ * @returns string Success message
171
+ * @throws ApiError
172
+ */
173
+ export declare const globalUsersOverwrite: (data: GlobalUsersOverwriteData) => CancelablePromise<GlobalUsersOverwriteResponse>;
174
+ /**
175
+ * global export users (require super admin and EE)
176
+ * @returns ExportedUser exported users
177
+ * @throws ApiError
178
+ */
179
+ export declare const globalUsersExport: () => CancelablePromise<GlobalUsersExportResponse>;
180
+ /**
181
+ * delete user (require admin privilege)
182
+ * @param data The data for the request.
183
+ * @param data.workspace
184
+ * @param data.username
185
+ * @returns string delete user
186
+ * @throws ApiError
187
+ */
188
+ export declare const deleteUser: (data: DeleteUserData) => CancelablePromise<DeleteUserResponse>;
189
+ /**
190
+ * get connected repositories
191
+ * @returns GithubInstallations connected repositories
192
+ * @throws ApiError
193
+ */
194
+ export declare const getGlobalConnectedRepositories: () => CancelablePromise<GetGlobalConnectedRepositoriesResponse>;
195
+ /**
196
+ * list all workspaces visible to me
197
+ * @returns Workspace all workspaces
198
+ * @throws ApiError
199
+ */
200
+ export declare const listWorkspaces: () => CancelablePromise<ListWorkspacesResponse>;
201
+ /**
202
+ * is domain allowed for auto invi
203
+ * @returns boolean domain allowed or not
204
+ * @throws ApiError
205
+ */
206
+ export declare const isDomainAllowed: () => CancelablePromise<IsDomainAllowedResponse>;
207
+ /**
208
+ * list all workspaces visible to me with user info
209
+ * @returns UserWorkspaceList workspace with associated username
210
+ * @throws ApiError
211
+ */
212
+ export declare const listUserWorkspaces: () => CancelablePromise<ListUserWorkspacesResponse>;
213
+ /**
214
+ * list all workspaces as super admin (require to be super admin)
215
+ * @param data The data for the request.
216
+ * @param data.page which page to return (start at 1, default 1)
217
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
218
+ * @returns Workspace workspaces
219
+ * @throws ApiError
220
+ */
221
+ export declare const listWorkspacesAsSuperAdmin: (data?: ListWorkspacesAsSuperAdminData) => CancelablePromise<ListWorkspacesAsSuperAdminResponse>;
222
+ /**
223
+ * create workspace
224
+ * @param data The data for the request.
225
+ * @param data.requestBody new token
226
+ * @returns string token created
227
+ * @throws ApiError
228
+ */
229
+ export declare const createWorkspace: (data: CreateWorkspaceData) => CancelablePromise<CreateWorkspaceResponse>;
230
+ /**
231
+ * exists workspace
232
+ * @param data The data for the request.
233
+ * @param data.requestBody id of workspace
234
+ * @returns boolean status
235
+ * @throws ApiError
236
+ */
237
+ export declare const existsWorkspace: (data: ExistsWorkspaceData) => CancelablePromise<ExistsWorkspaceResponse>;
238
+ /**
239
+ * exists username
240
+ * @param data The data for the request.
241
+ * @param data.requestBody
242
+ * @returns boolean status
243
+ * @throws ApiError
244
+ */
245
+ export declare const existsUsername: (data: ExistsUsernameData) => CancelablePromise<ExistsUsernameResponse>;
246
+ /**
247
+ * get global settings
248
+ * @param data The data for the request.
249
+ * @param data.key
250
+ * @returns unknown status
251
+ * @throws ApiError
252
+ */
253
+ export declare const getGlobal: (data: GetGlobalData) => CancelablePromise<GetGlobalResponse>;
254
+ /**
255
+ * post global settings
256
+ * @param data The data for the request.
257
+ * @param data.key
258
+ * @param data.requestBody value set
259
+ * @returns string status
260
+ * @throws ApiError
261
+ */
262
+ export declare const setGlobal: (data: SetGlobalData) => CancelablePromise<SetGlobalResponse>;
263
+ /**
264
+ * get local settings
265
+ * @returns unknown status
266
+ * @throws ApiError
267
+ */
268
+ export declare const getLocal: () => CancelablePromise<GetLocalResponse>;
269
+ /**
270
+ * test smtp
271
+ * @param data The data for the request.
272
+ * @param data.requestBody test smtp payload
273
+ * @returns string status
274
+ * @throws ApiError
275
+ */
276
+ export declare const testSmtp: (data: TestSmtpData) => CancelablePromise<TestSmtpResponse>;
277
+ /**
278
+ * test critical channels
279
+ * @param data The data for the request.
280
+ * @param data.requestBody test critical channel payload
281
+ * @returns string status
282
+ * @throws ApiError
283
+ */
284
+ export declare const testCriticalChannels: (data: TestCriticalChannelsData) => CancelablePromise<TestCriticalChannelsResponse>;
285
+ /**
286
+ * Get all critical alerts
287
+ * @param data The data for the request.
288
+ * @param data.page
289
+ * @param data.pageSize
290
+ * @param data.acknowledged
291
+ * @returns unknown Successfully retrieved all critical alerts
292
+ * @throws ApiError
293
+ */
294
+ export declare const getCriticalAlerts: (data?: GetCriticalAlertsData) => CancelablePromise<GetCriticalAlertsResponse>;
295
+ /**
296
+ * Acknowledge a critical alert
297
+ * @param data The data for the request.
298
+ * @param data.id The ID of the critical alert to acknowledge
299
+ * @returns string Successfully acknowledged the critical alert
300
+ * @throws ApiError
301
+ */
302
+ export declare const acknowledgeCriticalAlert: (data: AcknowledgeCriticalAlertData) => CancelablePromise<AcknowledgeCriticalAlertResponse>;
303
+ /**
304
+ * Acknowledge all unacknowledged critical alerts
305
+ * @returns string Successfully acknowledged all unacknowledged critical alerts.
306
+ * @throws ApiError
307
+ */
308
+ export declare const acknowledgeAllCriticalAlerts: () => CancelablePromise<AcknowledgeAllCriticalAlertsResponse>;
309
+ /**
310
+ * test license key
311
+ * @param data The data for the request.
312
+ * @param data.requestBody test license key
313
+ * @returns string status
314
+ * @throws ApiError
315
+ */
316
+ export declare const testLicenseKey: (data: TestLicenseKeyData) => CancelablePromise<TestLicenseKeyResponse>;
317
+ /**
318
+ * test object storage config
319
+ * @param data The data for the request.
320
+ * @param data.requestBody test object storage config
321
+ * @returns string status
322
+ * @throws ApiError
323
+ */
324
+ export declare const testObjectStorageConfig: (data: TestObjectStorageConfigData) => CancelablePromise<TestObjectStorageConfigResponse>;
325
+ /**
326
+ * send stats
327
+ * @returns string status
328
+ * @throws ApiError
329
+ */
330
+ export declare const sendStats: () => CancelablePromise<SendStatsResponse>;
331
+ /**
332
+ * get latest key renewal attempt
333
+ * @returns unknown status
334
+ * @throws ApiError
335
+ */
336
+ export declare const getLatestKeyRenewalAttempt: () => CancelablePromise<GetLatestKeyRenewalAttemptResponse>;
337
+ /**
338
+ * renew license key
339
+ * @param data The data for the request.
340
+ * @param data.licenseKey
341
+ * @returns string status
342
+ * @throws ApiError
343
+ */
344
+ export declare const renewLicenseKey: (data?: RenewLicenseKeyData) => CancelablePromise<RenewLicenseKeyResponse>;
345
+ /**
346
+ * create customer portal session
347
+ * @param data The data for the request.
348
+ * @param data.licenseKey
349
+ * @returns string url to portal
350
+ * @throws ApiError
351
+ */
352
+ export declare const createCustomerPortalSession: (data?: CreateCustomerPortalSessionData) => CancelablePromise<CreateCustomerPortalSessionResponse>;
353
+ /**
354
+ * test metadata
355
+ * @param data The data for the request.
356
+ * @param data.requestBody test metadata
357
+ * @returns string status
358
+ * @throws ApiError
359
+ */
360
+ export declare const testMetadata: (data: TestMetadataData) => CancelablePromise<TestMetadataResponse>;
361
+ /**
362
+ * list global settings
363
+ * @returns GlobalSetting list of settings
364
+ * @throws ApiError
365
+ */
366
+ export declare const listGlobalSettings: () => CancelablePromise<ListGlobalSettingsResponse>;
367
+ /**
368
+ * get current user email (if logged in)
369
+ * @returns string user email
370
+ * @throws ApiError
371
+ */
372
+ export declare const getCurrentEmail: () => CancelablePromise<GetCurrentEmailResponse>;
373
+ /**
374
+ * refresh the current token
375
+ * @param data The data for the request.
376
+ * @param data.ifExpiringInLessThanS
377
+ * @returns string new token
378
+ * @throws ApiError
379
+ */
380
+ export declare const refreshUserToken: (data?: RefreshUserTokenData) => CancelablePromise<RefreshUserTokenResponse>;
381
+ /**
382
+ * get tutorial progress
383
+ * @returns unknown tutorial progress
384
+ * @throws ApiError
385
+ */
386
+ export declare const getTutorialProgress: () => CancelablePromise<GetTutorialProgressResponse>;
387
+ /**
388
+ * update tutorial progress
389
+ * @param data The data for the request.
390
+ * @param data.requestBody progress update
391
+ * @returns string tutorial progress
392
+ * @throws ApiError
393
+ */
394
+ export declare const updateTutorialProgress: (data: UpdateTutorialProgressData) => CancelablePromise<UpdateTutorialProgressResponse>;
395
+ /**
396
+ * leave instance
397
+ * @returns string status
398
+ * @throws ApiError
399
+ */
400
+ export declare const leaveInstance: () => CancelablePromise<LeaveInstanceResponse>;
401
+ /**
402
+ * get current usage outside of premium workspaces
403
+ * @returns number free usage
404
+ * @throws ApiError
405
+ */
406
+ export declare const getUsage: () => CancelablePromise<GetUsageResponse>;
407
+ /**
408
+ * get all runnables in every workspace
409
+ * @returns unknown free all runnables
410
+ * @throws ApiError
411
+ */
412
+ export declare const getRunnable: () => CancelablePromise<GetRunnableResponse>;
413
+ /**
414
+ * get current global whoami (if logged in)
415
+ * @returns GlobalUserInfo user email
416
+ * @throws ApiError
417
+ */
418
+ export declare const globalWhoami: () => CancelablePromise<GlobalWhoamiResponse>;
419
+ /**
420
+ * list all workspace invites
421
+ * @returns WorkspaceInvite list all workspace invites
422
+ * @throws ApiError
423
+ */
424
+ export declare const listWorkspaceInvites: () => CancelablePromise<ListWorkspaceInvitesResponse>;
425
+ /**
426
+ * whoami
427
+ * @param data The data for the request.
428
+ * @param data.workspace
429
+ * @returns User user
430
+ * @throws ApiError
431
+ */
432
+ export declare const whoami: (data: WhoamiData) => CancelablePromise<WhoamiResponse>;
433
+ /**
434
+ * get github app token
435
+ * @param data The data for the request.
436
+ * @param data.workspace
437
+ * @param data.requestBody jwt job token
438
+ * @returns unknown github app token
439
+ * @throws ApiError
440
+ */
441
+ export declare const getGithubAppToken: (data: GetGithubAppTokenData) => CancelablePromise<GetGithubAppTokenResponse>;
442
+ /**
443
+ * Install a GitHub installation from another workspace
444
+ * @param data The data for the request.
445
+ * @param data.workspace
446
+ * @param data.requestBody
447
+ * @returns unknown Installation successfully copied
448
+ * @throws ApiError
449
+ */
450
+ export declare const installFromWorkspace: (data: InstallFromWorkspaceData) => CancelablePromise<InstallFromWorkspaceResponse>;
451
+ /**
452
+ * Delete a GitHub installation from a workspace
453
+ * Removes a GitHub installation from the specified workspace. Requires admin privileges.
454
+ * @param data The data for the request.
455
+ * @param data.workspace
456
+ * @param data.installationId The ID of the GitHub installation to delete
457
+ * @returns unknown Installation successfully deleted
458
+ * @throws ApiError
459
+ */
460
+ export declare const deleteFromWorkspace: (data: DeleteFromWorkspaceData) => CancelablePromise<DeleteFromWorkspaceResponse>;
461
+ /**
462
+ * Export GitHub installation JWT token
463
+ * Exports the JWT token for a specific GitHub installation in the workspace
464
+ * @param data The data for the request.
465
+ * @param data.workspace
466
+ * @param data.installationId
467
+ * @returns unknown Successfully exported the JWT token
468
+ * @throws ApiError
469
+ */
470
+ export declare const exportInstallation: (data: ExportInstallationData) => CancelablePromise<ExportInstallationResponse>;
471
+ /**
472
+ * Import GitHub installation from JWT token
473
+ * Imports a GitHub installation from a JWT token exported from another instance
474
+ * @param data The data for the request.
475
+ * @param data.workspace
476
+ * @param data.requestBody
477
+ * @returns unknown Successfully imported the installation
478
+ * @throws ApiError
479
+ */
480
+ export declare const importInstallation: (data: ImportInstallationData) => CancelablePromise<ImportInstallationResponse>;
481
+ /**
482
+ * accept invite to workspace
483
+ * @param data The data for the request.
484
+ * @param data.requestBody accept invite
485
+ * @returns string status
486
+ * @throws ApiError
487
+ */
488
+ export declare const acceptInvite: (data: AcceptInviteData) => CancelablePromise<AcceptInviteResponse>;
489
+ /**
490
+ * decline invite to workspace
491
+ * @param data The data for the request.
492
+ * @param data.requestBody decline invite
493
+ * @returns string status
494
+ * @throws ApiError
495
+ */
496
+ export declare const declineInvite: (data: DeclineInviteData) => CancelablePromise<DeclineInviteResponse>;
497
+ /**
498
+ * invite user to workspace
499
+ * @param data The data for the request.
500
+ * @param data.workspace
501
+ * @param data.requestBody WorkspaceInvite
502
+ * @returns string status
503
+ * @throws ApiError
504
+ */
505
+ export declare const inviteUser: (data: InviteUserData) => CancelablePromise<InviteUserResponse>;
506
+ /**
507
+ * add user to workspace
508
+ * @param data The data for the request.
509
+ * @param data.workspace
510
+ * @param data.requestBody WorkspaceInvite
511
+ * @returns string status
512
+ * @throws ApiError
513
+ */
514
+ export declare const addUser: (data: AddUserData) => CancelablePromise<AddUserResponse>;
515
+ /**
516
+ * delete user invite
517
+ * @param data The data for the request.
518
+ * @param data.workspace
519
+ * @param data.requestBody WorkspaceInvite
520
+ * @returns string status
521
+ * @throws ApiError
522
+ */
523
+ export declare const deleteInvite: (data: DeleteInviteData) => CancelablePromise<DeleteInviteResponse>;
524
+ /**
525
+ * archive workspace
526
+ * @param data The data for the request.
527
+ * @param data.workspace
528
+ * @returns string status
529
+ * @throws ApiError
530
+ */
531
+ export declare const archiveWorkspace: (data: ArchiveWorkspaceData) => CancelablePromise<ArchiveWorkspaceResponse>;
532
+ /**
533
+ * unarchive workspace
534
+ * @param data The data for the request.
535
+ * @param data.workspace
536
+ * @returns string status
537
+ * @throws ApiError
538
+ */
539
+ export declare const unarchiveWorkspace: (data: UnarchiveWorkspaceData) => CancelablePromise<UnarchiveWorkspaceResponse>;
540
+ /**
541
+ * delete workspace (require super admin)
542
+ * @param data The data for the request.
543
+ * @param data.workspace
544
+ * @returns string status
545
+ * @throws ApiError
546
+ */
547
+ export declare const deleteWorkspace: (data: DeleteWorkspaceData) => CancelablePromise<DeleteWorkspaceResponse>;
548
+ /**
549
+ * leave workspace
550
+ * @param data The data for the request.
551
+ * @param data.workspace
552
+ * @returns string status
553
+ * @throws ApiError
554
+ */
555
+ export declare const leaveWorkspace: (data: LeaveWorkspaceData) => CancelablePromise<LeaveWorkspaceResponse>;
556
+ /**
557
+ * get workspace name
558
+ * @param data The data for the request.
559
+ * @param data.workspace
560
+ * @returns string status
561
+ * @throws ApiError
562
+ */
563
+ export declare const getWorkspaceName: (data: GetWorkspaceNameData) => CancelablePromise<GetWorkspaceNameResponse>;
564
+ /**
565
+ * change workspace name
566
+ * @param data The data for the request.
567
+ * @param data.workspace
568
+ * @param data.requestBody
569
+ * @returns string status
570
+ * @throws ApiError
571
+ */
572
+ export declare const changeWorkspaceName: (data: ChangeWorkspaceNameData) => CancelablePromise<ChangeWorkspaceNameResponse>;
573
+ /**
574
+ * change workspace id
575
+ * @param data The data for the request.
576
+ * @param data.workspace
577
+ * @param data.requestBody
578
+ * @returns string status
579
+ * @throws ApiError
580
+ */
581
+ export declare const changeWorkspaceId: (data: ChangeWorkspaceIdData) => CancelablePromise<ChangeWorkspaceIdResponse>;
582
+ /**
583
+ * change workspace id
584
+ * @param data The data for the request.
585
+ * @param data.workspace
586
+ * @param data.requestBody
587
+ * @returns string status
588
+ * @throws ApiError
589
+ */
590
+ export declare const changeWorkspaceColor: (data: ChangeWorkspaceColorData) => CancelablePromise<ChangeWorkspaceColorResponse>;
591
+ /**
592
+ * whois
593
+ * @param data The data for the request.
594
+ * @param data.workspace
595
+ * @param data.username
596
+ * @returns User user
597
+ * @throws ApiError
598
+ */
599
+ export declare const whois: (data: WhoisData) => CancelablePromise<WhoisResponse>;
600
+ /**
601
+ * Update operator settings for a workspace
602
+ * Updates the operator settings for a specific workspace. Requires workspace admin privileges.
603
+ * @param data The data for the request.
604
+ * @param data.workspace
605
+ * @param data.requestBody
606
+ * @returns string Operator settings updated successfully
607
+ * @throws ApiError
608
+ */
609
+ export declare const updateOperatorSettings: (data: UpdateOperatorSettingsData) => CancelablePromise<UpdateOperatorSettingsResponse>;
610
+ /**
611
+ * exists email
612
+ * @param data The data for the request.
613
+ * @param data.email
614
+ * @returns boolean user
615
+ * @throws ApiError
616
+ */
617
+ export declare const existsEmail: (data: ExistsEmailData) => CancelablePromise<ExistsEmailResponse>;
618
+ /**
619
+ * list all users as super admin (require to be super amdin)
620
+ * @param data The data for the request.
621
+ * @param data.page which page to return (start at 1, default 1)
622
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
623
+ * @param data.activeOnly filter only active users
624
+ * @returns GlobalUserInfo user
625
+ * @throws ApiError
626
+ */
627
+ export declare const listUsersAsSuperAdmin: (data?: ListUsersAsSuperAdminData) => CancelablePromise<ListUsersAsSuperAdminResponse>;
628
+ /**
629
+ * list pending invites for a workspace
630
+ * @param data The data for the request.
631
+ * @param data.workspace
632
+ * @returns WorkspaceInvite user
633
+ * @throws ApiError
634
+ */
635
+ export declare const listPendingInvites: (data: ListPendingInvitesData) => CancelablePromise<ListPendingInvitesResponse>;
636
+ /**
637
+ * get settings
638
+ * @param data The data for the request.
639
+ * @param data.workspace
640
+ * @returns unknown status
641
+ * @throws ApiError
642
+ */
643
+ export declare const getSettings: (data: GetSettingsData) => CancelablePromise<GetSettingsResponse>;
644
+ /**
645
+ * get deploy to
646
+ * @param data The data for the request.
647
+ * @param data.workspace
648
+ * @returns unknown status
649
+ * @throws ApiError
650
+ */
651
+ export declare const getDeployTo: (data: GetDeployToData) => CancelablePromise<GetDeployToResponse>;
652
+ /**
653
+ * get if workspace is premium
654
+ * @param data The data for the request.
655
+ * @param data.workspace
656
+ * @returns boolean status
657
+ * @throws ApiError
658
+ */
659
+ export declare const getIsPremium: (data: GetIsPremiumData) => CancelablePromise<GetIsPremiumResponse>;
660
+ /**
661
+ * get premium info
662
+ * @param data The data for the request.
663
+ * @param data.workspace
664
+ * @returns unknown status
665
+ * @throws ApiError
666
+ */
667
+ export declare const getPremiumInfo: (data: GetPremiumInfoData) => CancelablePromise<GetPremiumInfoResponse>;
668
+ /**
669
+ * get threshold alert info
670
+ * @param data The data for the request.
671
+ * @param data.workspace
672
+ * @returns unknown status
673
+ * @throws ApiError
674
+ */
675
+ export declare const getThresholdAlert: (data: GetThresholdAlertData) => CancelablePromise<GetThresholdAlertResponse>;
676
+ /**
677
+ * set threshold alert info
678
+ * @param data The data for the request.
679
+ * @param data.workspace
680
+ * @param data.requestBody threshold alert info
681
+ * @returns string status
682
+ * @throws ApiError
683
+ */
684
+ export declare const setThresholdAlert: (data: SetThresholdAlertData) => CancelablePromise<SetThresholdAlertResponse>;
685
+ /**
686
+ * edit slack command
687
+ * @param data The data for the request.
688
+ * @param data.workspace
689
+ * @param data.requestBody WorkspaceInvite
690
+ * @returns string status
691
+ * @throws ApiError
692
+ */
693
+ export declare const editSlackCommand: (data: EditSlackCommandData) => CancelablePromise<EditSlackCommandResponse>;
694
+ /**
695
+ * edit teams command
696
+ * @param data The data for the request.
697
+ * @param data.workspace
698
+ * @param data.requestBody WorkspaceInvite
699
+ * @returns string status
700
+ * @throws ApiError
701
+ */
702
+ export declare const editTeamsCommand: (data: EditTeamsCommandData) => CancelablePromise<EditTeamsCommandResponse>;
703
+ /**
704
+ * list available teams ids
705
+ * @param data The data for the request.
706
+ * @param data.workspace
707
+ * @returns unknown status
708
+ * @throws ApiError
709
+ */
710
+ export declare const listAvailableTeamsIds: (data: ListAvailableTeamsIdsData) => CancelablePromise<ListAvailableTeamsIdsResponse>;
711
+ /**
712
+ * list available teams channels
713
+ * @param data The data for the request.
714
+ * @param data.workspace
715
+ * @returns unknown status
716
+ * @throws ApiError
717
+ */
718
+ export declare const listAvailableTeamsChannels: (data: ListAvailableTeamsChannelsData) => CancelablePromise<ListAvailableTeamsChannelsResponse>;
719
+ /**
720
+ * connect teams
721
+ * @param data The data for the request.
722
+ * @param data.workspace
723
+ * @param data.requestBody connect teams
724
+ * @returns string status
725
+ * @throws ApiError
726
+ */
727
+ export declare const connectTeams: (data: ConnectTeamsData) => CancelablePromise<ConnectTeamsResponse>;
728
+ /**
729
+ * run a job that sends a message to Slack
730
+ * @param data The data for the request.
731
+ * @param data.workspace
732
+ * @param data.requestBody path to hub script to run and its corresponding args
733
+ * @returns unknown status
734
+ * @throws ApiError
735
+ */
736
+ export declare const runSlackMessageTestJob: (data: RunSlackMessageTestJobData) => CancelablePromise<RunSlackMessageTestJobResponse>;
737
+ /**
738
+ * run a job that sends a message to Teams
739
+ * @param data The data for the request.
740
+ * @param data.workspace
741
+ * @param data.requestBody path to hub script to run and its corresponding args
742
+ * @returns unknown status
743
+ * @throws ApiError
744
+ */
745
+ export declare const runTeamsMessageTestJob: (data: RunTeamsMessageTestJobData) => CancelablePromise<RunTeamsMessageTestJobResponse>;
746
+ /**
747
+ * edit deploy to
748
+ * @param data The data for the request.
749
+ * @param data.workspace
750
+ * @param data.requestBody
751
+ * @returns string status
752
+ * @throws ApiError
753
+ */
754
+ export declare const editDeployTo: (data: EditDeployToData) => CancelablePromise<EditDeployToResponse>;
755
+ /**
756
+ * edit auto invite
757
+ * @param data The data for the request.
758
+ * @param data.workspace
759
+ * @param data.requestBody WorkspaceInvite
760
+ * @returns string status
761
+ * @throws ApiError
762
+ */
763
+ export declare const editAutoInvite: (data: EditAutoInviteData) => CancelablePromise<EditAutoInviteResponse>;
764
+ /**
765
+ * edit webhook
766
+ * @param data The data for the request.
767
+ * @param data.workspace
768
+ * @param data.requestBody WorkspaceWebhook
769
+ * @returns string status
770
+ * @throws ApiError
771
+ */
772
+ export declare const editWebhook: (data: EditWebhookData) => CancelablePromise<EditWebhookResponse>;
773
+ /**
774
+ * edit copilot config
775
+ * @param data The data for the request.
776
+ * @param data.workspace
777
+ * @param data.requestBody WorkspaceCopilotConfig
778
+ * @returns string status
779
+ * @throws ApiError
780
+ */
781
+ export declare const editCopilotConfig: (data: EditCopilotConfigData) => CancelablePromise<EditCopilotConfigResponse>;
782
+ /**
783
+ * get copilot info
784
+ * @param data The data for the request.
785
+ * @param data.workspace
786
+ * @returns AIConfig status
787
+ * @throws ApiError
788
+ */
789
+ export declare const getCopilotInfo: (data: GetCopilotInfoData) => CancelablePromise<GetCopilotInfoResponse>;
790
+ /**
791
+ * edit error handler
792
+ * @param data The data for the request.
793
+ * @param data.workspace
794
+ * @param data.requestBody WorkspaceErrorHandler
795
+ * @returns string status
796
+ * @throws ApiError
797
+ */
798
+ export declare const editErrorHandler: (data: EditErrorHandlerData) => CancelablePromise<EditErrorHandlerResponse>;
799
+ /**
800
+ * edit large file storage settings
801
+ * @param data The data for the request.
802
+ * @param data.workspace
803
+ * @param data.requestBody LargeFileStorage info
804
+ * @returns unknown status
805
+ * @throws ApiError
806
+ */
807
+ export declare const editLargeFileStorageConfig: (data: EditLargeFileStorageConfigData) => CancelablePromise<EditLargeFileStorageConfigResponse>;
808
+ /**
809
+ * edit workspace git sync settings
810
+ * @param data The data for the request.
811
+ * @param data.workspace
812
+ * @param data.requestBody Workspace Git sync settings
813
+ * @returns unknown status
814
+ * @throws ApiError
815
+ */
816
+ export declare const editWorkspaceGitSyncConfig: (data: EditWorkspaceGitSyncConfigData) => CancelablePromise<EditWorkspaceGitSyncConfigResponse>;
817
+ /**
818
+ * add or update individual git sync repository
819
+ * @param data The data for the request.
820
+ * @param data.workspace
821
+ * @param data.requestBody Git sync repository settings to add or update
822
+ * @returns unknown status
823
+ * @throws ApiError
824
+ */
825
+ export declare const editGitSyncRepository: (data: EditGitSyncRepositoryData) => CancelablePromise<EditGitSyncRepositoryResponse>;
826
+ /**
827
+ * delete individual git sync repository
828
+ * @param data The data for the request.
829
+ * @param data.workspace
830
+ * @param data.requestBody Git sync repository to delete
831
+ * @returns unknown status
832
+ * @throws ApiError
833
+ */
834
+ export declare const deleteGitSyncRepository: (data: DeleteGitSyncRepositoryData) => CancelablePromise<DeleteGitSyncRepositoryResponse>;
835
+ /**
836
+ * edit workspace deploy ui settings
837
+ * @param data The data for the request.
838
+ * @param data.workspace
839
+ * @param data.requestBody Workspace deploy UI settings
840
+ * @returns unknown status
841
+ * @throws ApiError
842
+ */
843
+ export declare const editWorkspaceDeployUiSettings: (data: EditWorkspaceDeployUiSettingsData) => CancelablePromise<EditWorkspaceDeployUiSettingsResponse>;
844
+ /**
845
+ * edit default app for workspace
846
+ * @param data The data for the request.
847
+ * @param data.workspace
848
+ * @param data.requestBody Workspace default app
849
+ * @returns string status
850
+ * @throws ApiError
851
+ */
852
+ export declare const editWorkspaceDefaultApp: (data: EditWorkspaceDefaultAppData) => CancelablePromise<EditWorkspaceDefaultAppResponse>;
853
+ /**
854
+ * edit default scripts for workspace
855
+ * @param data The data for the request.
856
+ * @param data.workspace
857
+ * @param data.requestBody Workspace default app
858
+ * @returns string status
859
+ * @throws ApiError
860
+ */
861
+ export declare const editDefaultScripts: (data: EditDefaultScriptsData) => CancelablePromise<EditDefaultScriptsResponse>;
862
+ /**
863
+ * get default scripts for workspace
864
+ * @param data The data for the request.
865
+ * @param data.workspace
866
+ * @returns WorkspaceDefaultScripts status
867
+ * @throws ApiError
868
+ */
869
+ export declare const getDefaultScripts: (data: GetDefaultScriptsData) => CancelablePromise<GetDefaultScriptsResponse>;
870
+ /**
871
+ * set environment variable
872
+ * @param data The data for the request.
873
+ * @param data.workspace
874
+ * @param data.requestBody Workspace default app
875
+ * @returns string status
876
+ * @throws ApiError
877
+ */
878
+ export declare const setEnvironmentVariable: (data: SetEnvironmentVariableData) => CancelablePromise<SetEnvironmentVariableResponse>;
879
+ /**
880
+ * retrieves the encryption key for this workspace
881
+ * @param data The data for the request.
882
+ * @param data.workspace
883
+ * @returns unknown status
884
+ * @throws ApiError
885
+ */
886
+ export declare const getWorkspaceEncryptionKey: (data: GetWorkspaceEncryptionKeyData) => CancelablePromise<GetWorkspaceEncryptionKeyResponse>;
887
+ /**
888
+ * update the encryption key for this workspace
889
+ * @param data The data for the request.
890
+ * @param data.workspace
891
+ * @param data.requestBody New encryption key
892
+ * @returns string status
893
+ * @throws ApiError
894
+ */
895
+ export declare const setWorkspaceEncryptionKey: (data: SetWorkspaceEncryptionKeyData) => CancelablePromise<SetWorkspaceEncryptionKeyResponse>;
896
+ /**
897
+ * get default app for workspace
898
+ * @param data The data for the request.
899
+ * @param data.workspace
900
+ * @returns unknown status
901
+ * @throws ApiError
902
+ */
903
+ export declare const getWorkspaceDefaultApp: (data: GetWorkspaceDefaultAppData) => CancelablePromise<GetWorkspaceDefaultAppResponse>;
904
+ /**
905
+ * get large file storage config
906
+ * @param data The data for the request.
907
+ * @param data.workspace
908
+ * @returns LargeFileStorage status
909
+ * @throws ApiError
910
+ */
911
+ export declare const getLargeFileStorageConfig: (data: GetLargeFileStorageConfigData) => CancelablePromise<GetLargeFileStorageConfigResponse>;
912
+ /**
913
+ * get usage
914
+ * @param data The data for the request.
915
+ * @param data.workspace
916
+ * @returns number usage
917
+ * @throws ApiError
918
+ */
919
+ export declare const getWorkspaceUsage: (data: GetWorkspaceUsageData) => CancelablePromise<GetWorkspaceUsageResponse>;
920
+ /**
921
+ * get used triggers
922
+ * @param data The data for the request.
923
+ * @param data.workspace
924
+ * @returns unknown status
925
+ * @throws ApiError
926
+ */
927
+ export declare const getUsedTriggers: (data: GetUsedTriggersData) => CancelablePromise<GetUsedTriggersResponse>;
928
+ /**
929
+ * list users
930
+ * @param data The data for the request.
931
+ * @param data.workspace
932
+ * @returns User user
933
+ * @throws ApiError
934
+ */
935
+ export declare const listUsers: (data: ListUsersData) => CancelablePromise<ListUsersResponse>;
936
+ /**
937
+ * list users usage
938
+ * @param data The data for the request.
939
+ * @param data.workspace
940
+ * @returns UserUsage user
941
+ * @throws ApiError
942
+ */
943
+ export declare const listUsersUsage: (data: ListUsersUsageData) => CancelablePromise<ListUsersUsageResponse>;
944
+ /**
945
+ * list usernames
946
+ * @param data The data for the request.
947
+ * @param data.workspace
948
+ * @returns string user
949
+ * @throws ApiError
950
+ */
951
+ export declare const listUsernames: (data: ListUsernamesData) => CancelablePromise<ListUsernamesResponse>;
952
+ /**
953
+ * get email from username
954
+ * @param data The data for the request.
955
+ * @param data.workspace
956
+ * @param data.username
957
+ * @returns string email
958
+ * @throws ApiError
959
+ */
960
+ export declare const usernameToEmail: (data: UsernameToEmailData) => CancelablePromise<UsernameToEmailResponse>;
961
+ /**
962
+ * list of available scopes
963
+ * @returns ScopeDomain list of available scopes
964
+ * @throws ApiError
965
+ */
966
+ export declare const listAvailableScopes: () => CancelablePromise<ListAvailableScopesResponse>;
967
+ /**
968
+ * create token
969
+ * @param data The data for the request.
970
+ * @param data.requestBody new token
971
+ * @returns string token created
972
+ * @throws ApiError
973
+ */
974
+ export declare const createToken: (data: CreateTokenData) => CancelablePromise<CreateTokenResponse>;
975
+ /**
976
+ * create token to impersonate a user (require superadmin)
977
+ * @param data The data for the request.
978
+ * @param data.requestBody new token
979
+ * @returns string token created
980
+ * @throws ApiError
981
+ */
982
+ export declare const createTokenImpersonate: (data: CreateTokenImpersonateData) => CancelablePromise<CreateTokenImpersonateResponse>;
983
+ /**
984
+ * delete token
985
+ * @param data The data for the request.
986
+ * @param data.tokenPrefix
987
+ * @returns string delete token
988
+ * @throws ApiError
989
+ */
990
+ export declare const deleteToken: (data: DeleteTokenData) => CancelablePromise<DeleteTokenResponse>;
991
+ /**
992
+ * list token
993
+ * @param data The data for the request.
994
+ * @param data.excludeEphemeral
995
+ * @param data.page which page to return (start at 1, default 1)
996
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
997
+ * @returns TruncatedToken truncated token
998
+ * @throws ApiError
999
+ */
1000
+ export declare const listTokens: (data?: ListTokensData) => CancelablePromise<ListTokensResponse>;
1001
+ /**
1002
+ * get OIDC token (ee only)
1003
+ * @param data The data for the request.
1004
+ * @param data.workspace
1005
+ * @param data.audience
1006
+ * @returns string new oidc token
1007
+ * @throws ApiError
1008
+ */
1009
+ export declare const getOidcToken: (data: GetOidcTokenData) => CancelablePromise<GetOidcTokenResponse>;
1010
+ /**
1011
+ * create variable
1012
+ * @param data The data for the request.
1013
+ * @param data.workspace
1014
+ * @param data.requestBody new variable
1015
+ * @param data.alreadyEncrypted
1016
+ * @returns string variable created
1017
+ * @throws ApiError
1018
+ */
1019
+ export declare const createVariable: (data: CreateVariableData) => CancelablePromise<CreateVariableResponse>;
1020
+ /**
1021
+ * encrypt value
1022
+ * @param data The data for the request.
1023
+ * @param data.workspace
1024
+ * @param data.requestBody new variable
1025
+ * @returns string encrypted value
1026
+ * @throws ApiError
1027
+ */
1028
+ export declare const encryptValue: (data: EncryptValueData) => CancelablePromise<EncryptValueResponse>;
1029
+ /**
1030
+ * delete variable
1031
+ * @param data The data for the request.
1032
+ * @param data.workspace
1033
+ * @param data.path
1034
+ * @returns string variable deleted
1035
+ * @throws ApiError
1036
+ */
1037
+ export declare const deleteVariable: (data: DeleteVariableData) => CancelablePromise<DeleteVariableResponse>;
1038
+ /**
1039
+ * update variable
1040
+ * @param data The data for the request.
1041
+ * @param data.workspace
1042
+ * @param data.path
1043
+ * @param data.requestBody updated variable
1044
+ * @param data.alreadyEncrypted
1045
+ * @returns string variable updated
1046
+ * @throws ApiError
1047
+ */
1048
+ export declare const updateVariable: (data: UpdateVariableData) => CancelablePromise<UpdateVariableResponse>;
1049
+ /**
1050
+ * get variable
1051
+ * @param data The data for the request.
1052
+ * @param data.workspace
1053
+ * @param data.path
1054
+ * @param data.decryptSecret ask to decrypt secret if this variable is secret
1055
+ * (if not secret no effect, default: true)
1056
+ *
1057
+ * @param data.includeEncrypted ask to include the encrypted value if secret and decrypt secret is not true (default: false)
1058
+ *
1059
+ * @returns ListableVariable variable
1060
+ * @throws ApiError
1061
+ */
1062
+ export declare const getVariable: (data: GetVariableData) => CancelablePromise<GetVariableResponse>;
1063
+ /**
1064
+ * get variable value
1065
+ * @param data The data for the request.
1066
+ * @param data.workspace
1067
+ * @param data.path
1068
+ * @returns string variable
1069
+ * @throws ApiError
1070
+ */
1071
+ export declare const getVariableValue: (data: GetVariableValueData) => CancelablePromise<GetVariableValueResponse>;
1072
+ /**
1073
+ * does variable exists at path
1074
+ * @param data The data for the request.
1075
+ * @param data.workspace
1076
+ * @param data.path
1077
+ * @returns boolean variable
1078
+ * @throws ApiError
1079
+ */
1080
+ export declare const existsVariable: (data: ExistsVariableData) => CancelablePromise<ExistsVariableResponse>;
1081
+ /**
1082
+ * list variables
1083
+ * @param data The data for the request.
1084
+ * @param data.workspace
1085
+ * @param data.pathStart
1086
+ * @param data.page which page to return (start at 1, default 1)
1087
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
1088
+ * @returns ListableVariable variable list
1089
+ * @throws ApiError
1090
+ */
1091
+ export declare const listVariable: (data: ListVariableData) => CancelablePromise<ListVariableResponse>;
1092
+ /**
1093
+ * list contextual variables
1094
+ * @param data The data for the request.
1095
+ * @param data.workspace
1096
+ * @returns ContextualVariable contextual variable list
1097
+ * @throws ApiError
1098
+ */
1099
+ export declare const listContextualVariables: (data: ListContextualVariablesData) => CancelablePromise<ListContextualVariablesResponse>;
1100
+ /**
1101
+ * get secondary storage names
1102
+ * @param data The data for the request.
1103
+ * @param data.workspace
1104
+ * @returns string status
1105
+ * @throws ApiError
1106
+ */
1107
+ export declare const getSecondaryStorageNames: (data: GetSecondaryStorageNamesData) => CancelablePromise<GetSecondaryStorageNamesResponse>;
1108
+ /**
1109
+ * Get all critical alerts for this workspace
1110
+ * @param data The data for the request.
1111
+ * @param data.workspace
1112
+ * @param data.page
1113
+ * @param data.pageSize
1114
+ * @param data.acknowledged
1115
+ * @returns unknown Successfully retrieved all critical alerts
1116
+ * @throws ApiError
1117
+ */
1118
+ export declare const workspaceGetCriticalAlerts: (data: WorkspaceGetCriticalAlertsData) => CancelablePromise<WorkspaceGetCriticalAlertsResponse>;
1119
+ /**
1120
+ * Acknowledge a critical alert for this workspace
1121
+ * @param data The data for the request.
1122
+ * @param data.workspace
1123
+ * @param data.id The ID of the critical alert to acknowledge
1124
+ * @returns string Successfully acknowledged the critical alert
1125
+ * @throws ApiError
1126
+ */
1127
+ export declare const workspaceAcknowledgeCriticalAlert: (data: WorkspaceAcknowledgeCriticalAlertData) => CancelablePromise<WorkspaceAcknowledgeCriticalAlertResponse>;
1128
+ /**
1129
+ * Acknowledge all unacknowledged critical alerts for this workspace
1130
+ * @param data The data for the request.
1131
+ * @param data.workspace
1132
+ * @returns string Successfully acknowledged all unacknowledged critical alerts.
1133
+ * @throws ApiError
1134
+ */
1135
+ export declare const workspaceAcknowledgeAllCriticalAlerts: (data: WorkspaceAcknowledgeAllCriticalAlertsData) => CancelablePromise<WorkspaceAcknowledgeAllCriticalAlertsResponse>;
1136
+ /**
1137
+ * Mute critical alert UI for this workspace
1138
+ * @param data The data for the request.
1139
+ * @param data.workspace
1140
+ * @param data.requestBody Boolean flag to mute critical alerts.
1141
+ * @returns string Successfully updated mute critical alert settings.
1142
+ * @throws ApiError
1143
+ */
1144
+ export declare const workspaceMuteCriticalAlertsUi: (data: WorkspaceMuteCriticalAlertsUiData) => CancelablePromise<WorkspaceMuteCriticalAlertsUiResponse>;
1145
+ /**
1146
+ * login with oauth authorization flow
1147
+ * @param data The data for the request.
1148
+ * @param data.clientName
1149
+ * @param data.requestBody Partially filled script
1150
+ * @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.
1151
+ *
1152
+ * @throws ApiError
1153
+ */
1154
+ export declare const loginWithOauth: (data: LoginWithOauthData) => CancelablePromise<LoginWithOauthResponse>;
1155
+ /**
1156
+ * connect slack callback
1157
+ * @param data The data for the request.
1158
+ * @param data.workspace
1159
+ * @param data.requestBody code endpoint
1160
+ * @returns string slack token
1161
+ * @throws ApiError
1162
+ */
1163
+ export declare const connectSlackCallback: (data: ConnectSlackCallbackData) => CancelablePromise<ConnectSlackCallbackResponse>;
1164
+ /**
1165
+ * connect slack callback instance
1166
+ * @param data The data for the request.
1167
+ * @param data.requestBody code endpoint
1168
+ * @returns string success message
1169
+ * @throws ApiError
1170
+ */
1171
+ export declare const connectSlackCallbackInstance: (data: ConnectSlackCallbackInstanceData) => CancelablePromise<ConnectSlackCallbackInstanceResponse>;
1172
+ /**
1173
+ * connect callback
1174
+ * @param data The data for the request.
1175
+ * @param data.clientName
1176
+ * @param data.requestBody code endpoint
1177
+ * @returns TokenResponse oauth token
1178
+ * @throws ApiError
1179
+ */
1180
+ export declare const connectCallback: (data: ConnectCallbackData) => CancelablePromise<ConnectCallbackResponse>;
1181
+ /**
1182
+ * create OAuth account
1183
+ * @param data The data for the request.
1184
+ * @param data.workspace
1185
+ * @param data.requestBody code endpoint
1186
+ * @returns string account set
1187
+ * @throws ApiError
1188
+ */
1189
+ export declare const createAccount: (data: CreateAccountData) => CancelablePromise<CreateAccountResponse>;
1190
+ /**
1191
+ * connect OAuth using client credentials
1192
+ * @param data The data for the request.
1193
+ * @param data.client OAuth client name
1194
+ * @param data.requestBody client credentials flow parameters
1195
+ * @returns TokenResponse OAuth token response
1196
+ * @throws ApiError
1197
+ */
1198
+ export declare const connectClientCredentials: (data: ConnectClientCredentialsData) => CancelablePromise<ConnectClientCredentialsResponse>;
1199
+ /**
1200
+ * refresh token
1201
+ * @param data The data for the request.
1202
+ * @param data.workspace
1203
+ * @param data.id
1204
+ * @param data.requestBody variable path
1205
+ * @returns string token refreshed
1206
+ * @throws ApiError
1207
+ */
1208
+ export declare const refreshToken: (data: RefreshTokenData) => CancelablePromise<RefreshTokenResponse>;
1209
+ /**
1210
+ * disconnect account
1211
+ * @param data The data for the request.
1212
+ * @param data.workspace
1213
+ * @param data.id
1214
+ * @returns string disconnected client
1215
+ * @throws ApiError
1216
+ */
1217
+ export declare const disconnectAccount: (data: DisconnectAccountData) => CancelablePromise<DisconnectAccountResponse>;
1218
+ /**
1219
+ * disconnect slack
1220
+ * @param data The data for the request.
1221
+ * @param data.workspace
1222
+ * @returns string disconnected slack
1223
+ * @throws ApiError
1224
+ */
1225
+ export declare const disconnectSlack: (data: DisconnectSlackData) => CancelablePromise<DisconnectSlackResponse>;
1226
+ /**
1227
+ * disconnect teams
1228
+ * @param data The data for the request.
1229
+ * @param data.workspace
1230
+ * @returns string disconnected teams
1231
+ * @throws ApiError
1232
+ */
1233
+ export declare const disconnectTeams: (data: DisconnectTeamsData) => CancelablePromise<DisconnectTeamsResponse>;
1234
+ /**
1235
+ * list oauth logins
1236
+ * @returns unknown list of oauth and saml login clients
1237
+ * @throws ApiError
1238
+ */
1239
+ export declare const listOauthLogins: () => CancelablePromise<ListOauthLoginsResponse>;
1240
+ /**
1241
+ * list oauth connects
1242
+ * @returns string list of oauth connects clients
1243
+ * @throws ApiError
1244
+ */
1245
+ export declare const listOauthConnects: () => CancelablePromise<ListOauthConnectsResponse>;
1246
+ /**
1247
+ * get oauth connect
1248
+ * @param data The data for the request.
1249
+ * @param data.client client name
1250
+ * @returns unknown get
1251
+ * @throws ApiError
1252
+ */
1253
+ export declare const getOauthConnect: (data: GetOauthConnectData) => CancelablePromise<GetOauthConnectResponse>;
1254
+ /**
1255
+ * synchronize Microsoft Teams information (teams/channels)
1256
+ * @returns TeamInfo Teams information successfully synchronized
1257
+ * @throws ApiError
1258
+ */
1259
+ export declare const syncTeams: () => CancelablePromise<SyncTeamsResponse>;
1260
+ /**
1261
+ * send update to Microsoft Teams activity
1262
+ * Respond to a Microsoft Teams activity after a workspace command is run
1263
+ * @param data The data for the request.
1264
+ * @param data.requestBody
1265
+ * @returns unknown Activity processed successfully
1266
+ * @throws ApiError
1267
+ */
1268
+ export declare const sendMessageToConversation: (data: SendMessageToConversationData) => CancelablePromise<SendMessageToConversationResponse>;
1269
+ /**
1270
+ * create resource
1271
+ * @param data The data for the request.
1272
+ * @param data.workspace
1273
+ * @param data.requestBody new resource
1274
+ * @param data.updateIfExists
1275
+ * @returns string resource created
1276
+ * @throws ApiError
1277
+ */
1278
+ export declare const createResource: (data: CreateResourceData) => CancelablePromise<CreateResourceResponse>;
1279
+ /**
1280
+ * delete resource
1281
+ * @param data The data for the request.
1282
+ * @param data.workspace
1283
+ * @param data.path
1284
+ * @returns string resource deleted
1285
+ * @throws ApiError
1286
+ */
1287
+ export declare const deleteResource: (data: DeleteResourceData) => CancelablePromise<DeleteResourceResponse>;
1288
+ /**
1289
+ * update resource
1290
+ * @param data The data for the request.
1291
+ * @param data.workspace
1292
+ * @param data.path
1293
+ * @param data.requestBody updated resource
1294
+ * @returns string resource updated
1295
+ * @throws ApiError
1296
+ */
1297
+ export declare const updateResource: (data: UpdateResourceData) => CancelablePromise<UpdateResourceResponse>;
1298
+ /**
1299
+ * update resource value
1300
+ * @param data The data for the request.
1301
+ * @param data.workspace
1302
+ * @param data.path
1303
+ * @param data.requestBody updated resource
1304
+ * @returns string resource value updated
1305
+ * @throws ApiError
1306
+ */
1307
+ export declare const updateResourceValue: (data: UpdateResourceValueData) => CancelablePromise<UpdateResourceValueResponse>;
1308
+ /**
1309
+ * get resource
1310
+ * @param data The data for the request.
1311
+ * @param data.workspace
1312
+ * @param data.path
1313
+ * @returns Resource resource
1314
+ * @throws ApiError
1315
+ */
1316
+ export declare const getResource: (data: GetResourceData) => CancelablePromise<GetResourceResponse>;
1317
+ /**
1318
+ * get resource interpolated (variables and resources are fully unrolled)
1319
+ * @param data The data for the request.
1320
+ * @param data.workspace
1321
+ * @param data.path
1322
+ * @param data.jobId job id
1323
+ * @returns unknown resource value
1324
+ * @throws ApiError
1325
+ */
1326
+ export declare const getResourceValueInterpolated: (data: GetResourceValueInterpolatedData) => CancelablePromise<GetResourceValueInterpolatedResponse>;
1327
+ /**
1328
+ * get resource value
1329
+ * @param data The data for the request.
1330
+ * @param data.workspace
1331
+ * @param data.path
1332
+ * @returns unknown resource value
1333
+ * @throws ApiError
1334
+ */
1335
+ export declare const getResourceValue: (data: GetResourceValueData) => CancelablePromise<GetResourceValueResponse>;
1336
+ /**
1337
+ * does resource exists
1338
+ * @param data The data for the request.
1339
+ * @param data.workspace
1340
+ * @param data.path
1341
+ * @returns boolean does resource exists
1342
+ * @throws ApiError
1343
+ */
1344
+ export declare const existsResource: (data: ExistsResourceData) => CancelablePromise<ExistsResourceResponse>;
1345
+ /**
1346
+ * list resources
1347
+ * @param data The data for the request.
1348
+ * @param data.workspace
1349
+ * @param data.page which page to return (start at 1, default 1)
1350
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
1351
+ * @param data.resourceType resource_types to list from, separated by ',',
1352
+ * @param data.resourceTypeExclude resource_types to not list from, separated by ',',
1353
+ * @param data.pathStart
1354
+ * @returns ListableResource resource list
1355
+ * @throws ApiError
1356
+ */
1357
+ export declare const listResource: (data: ListResourceData) => CancelablePromise<ListResourceResponse>;
1358
+ /**
1359
+ * list resources for search
1360
+ * @param data The data for the request.
1361
+ * @param data.workspace
1362
+ * @returns unknown resource list
1363
+ * @throws ApiError
1364
+ */
1365
+ export declare const listSearchResource: (data: ListSearchResourceData) => CancelablePromise<ListSearchResourceResponse>;
1366
+ /**
1367
+ * list resource names
1368
+ * @param data The data for the request.
1369
+ * @param data.workspace
1370
+ * @param data.name
1371
+ * @returns unknown resource list names
1372
+ * @throws ApiError
1373
+ */
1374
+ export declare const listResourceNames: (data: ListResourceNamesData) => CancelablePromise<ListResourceNamesResponse>;
1375
+ /**
1376
+ * create resource_type
1377
+ * @param data The data for the request.
1378
+ * @param data.workspace
1379
+ * @param data.requestBody new resource_type
1380
+ * @returns string resource_type created
1381
+ * @throws ApiError
1382
+ */
1383
+ export declare const createResourceType: (data: CreateResourceTypeData) => CancelablePromise<CreateResourceTypeResponse>;
1384
+ /**
1385
+ * get map from resource type to format extension
1386
+ * @param data The data for the request.
1387
+ * @param data.workspace
1388
+ * @returns unknown map from resource type to file ext
1389
+ * @throws ApiError
1390
+ */
1391
+ export declare const fileResourceTypeToFileExtMap: (data: FileResourceTypeToFileExtMapData) => CancelablePromise<FileResourceTypeToFileExtMapResponse>;
1392
+ /**
1393
+ * delete resource_type
1394
+ * @param data The data for the request.
1395
+ * @param data.workspace
1396
+ * @param data.path
1397
+ * @returns string resource_type deleted
1398
+ * @throws ApiError
1399
+ */
1400
+ export declare const deleteResourceType: (data: DeleteResourceTypeData) => CancelablePromise<DeleteResourceTypeResponse>;
1401
+ /**
1402
+ * update resource_type
1403
+ * @param data The data for the request.
1404
+ * @param data.workspace
1405
+ * @param data.path
1406
+ * @param data.requestBody updated resource_type
1407
+ * @returns string resource_type updated
1408
+ * @throws ApiError
1409
+ */
1410
+ export declare const updateResourceType: (data: UpdateResourceTypeData) => CancelablePromise<UpdateResourceTypeResponse>;
1411
+ /**
1412
+ * get resource_type
1413
+ * @param data The data for the request.
1414
+ * @param data.workspace
1415
+ * @param data.path
1416
+ * @returns ResourceType resource_type deleted
1417
+ * @throws ApiError
1418
+ */
1419
+ export declare const getResourceType: (data: GetResourceTypeData) => CancelablePromise<GetResourceTypeResponse>;
1420
+ /**
1421
+ * does resource_type exists
1422
+ * @param data The data for the request.
1423
+ * @param data.workspace
1424
+ * @param data.path
1425
+ * @returns boolean does resource_type exist
1426
+ * @throws ApiError
1427
+ */
1428
+ export declare const existsResourceType: (data: ExistsResourceTypeData) => CancelablePromise<ExistsResourceTypeResponse>;
1429
+ /**
1430
+ * list resource_types
1431
+ * @param data The data for the request.
1432
+ * @param data.workspace
1433
+ * @returns ResourceType resource_type list
1434
+ * @throws ApiError
1435
+ */
1436
+ export declare const listResourceType: (data: ListResourceTypeData) => CancelablePromise<ListResourceTypeResponse>;
1437
+ /**
1438
+ * list resource_types names
1439
+ * @param data The data for the request.
1440
+ * @param data.workspace
1441
+ * @returns string resource_type list
1442
+ * @throws ApiError
1443
+ */
1444
+ export declare const listResourceTypeNames: (data: ListResourceTypeNamesData) => CancelablePromise<ListResourceTypeNamesResponse>;
1445
+ /**
1446
+ * query resource types by similarity
1447
+ * @param data The data for the request.
1448
+ * @param data.workspace
1449
+ * @param data.text query text
1450
+ * @param data.limit query limit
1451
+ * @returns unknown resource type details
1452
+ * @throws ApiError
1453
+ */
1454
+ export declare const queryResourceTypes: (data: QueryResourceTypesData) => CancelablePromise<QueryResourceTypesResponse>;
1455
+ /**
1456
+ * list hub integrations
1457
+ * @param data The data for the request.
1458
+ * @param data.kind query integrations kind
1459
+ * @returns unknown integrations details
1460
+ * @throws ApiError
1461
+ */
1462
+ export declare const listHubIntegrations: (data?: ListHubIntegrationsData) => CancelablePromise<ListHubIntegrationsResponse>;
1463
+ /**
1464
+ * list all hub flows
1465
+ * @returns unknown hub flows list
1466
+ * @throws ApiError
1467
+ */
1468
+ export declare const listHubFlows: () => CancelablePromise<ListHubFlowsResponse>;
1469
+ /**
1470
+ * get hub flow by id
1471
+ * @param data The data for the request.
1472
+ * @param data.id
1473
+ * @returns unknown flow
1474
+ * @throws ApiError
1475
+ */
1476
+ export declare const getHubFlowById: (data: GetHubFlowByIdData) => CancelablePromise<GetHubFlowByIdResponse>;
1477
+ /**
1478
+ * list all hub apps
1479
+ * @returns unknown hub apps list
1480
+ * @throws ApiError
1481
+ */
1482
+ export declare const listHubApps: () => CancelablePromise<ListHubAppsResponse>;
1483
+ /**
1484
+ * get hub app by id
1485
+ * @param data The data for the request.
1486
+ * @param data.id
1487
+ * @returns unknown app
1488
+ * @throws ApiError
1489
+ */
1490
+ export declare const getHubAppById: (data: GetHubAppByIdData) => CancelablePromise<GetHubAppByIdResponse>;
1491
+ /**
1492
+ * get public app by custom path
1493
+ * @param data The data for the request.
1494
+ * @param data.customPath
1495
+ * @returns unknown app details
1496
+ * @throws ApiError
1497
+ */
1498
+ export declare const getPublicAppByCustomPath: (data: GetPublicAppByCustomPathData) => CancelablePromise<GetPublicAppByCustomPathResponse>;
1499
+ /**
1500
+ * get hub script content by path
1501
+ * @param data The data for the request.
1502
+ * @param data.path
1503
+ * @returns string script details
1504
+ * @throws ApiError
1505
+ */
1506
+ export declare const getHubScriptContentByPath: (data: GetHubScriptContentByPathData) => CancelablePromise<GetHubScriptContentByPathResponse>;
1507
+ /**
1508
+ * get full hub script by path
1509
+ * @param data The data for the request.
1510
+ * @param data.path
1511
+ * @returns unknown script details
1512
+ * @throws ApiError
1513
+ */
1514
+ export declare const getHubScriptByPath: (data: GetHubScriptByPathData) => CancelablePromise<GetHubScriptByPathResponse>;
1515
+ /**
1516
+ * get top hub scripts
1517
+ * @param data The data for the request.
1518
+ * @param data.limit query limit
1519
+ * @param data.app query scripts app
1520
+ * @param data.kind query scripts kind
1521
+ * @returns unknown hub scripts list
1522
+ * @throws ApiError
1523
+ */
1524
+ export declare const getTopHubScripts: (data?: GetTopHubScriptsData) => CancelablePromise<GetTopHubScriptsResponse>;
1525
+ /**
1526
+ * query hub scripts by similarity
1527
+ * @param data The data for the request.
1528
+ * @param data.text query text
1529
+ * @param data.kind query scripts kind
1530
+ * @param data.limit query limit
1531
+ * @param data.app query scripts app
1532
+ * @returns unknown script details
1533
+ * @throws ApiError
1534
+ */
1535
+ export declare const queryHubScripts: (data: QueryHubScriptsData) => CancelablePromise<QueryHubScriptsResponse>;
1536
+ /**
1537
+ * list scripts for search
1538
+ * @param data The data for the request.
1539
+ * @param data.workspace
1540
+ * @returns unknown script list
1541
+ * @throws ApiError
1542
+ */
1543
+ export declare const listSearchScript: (data: ListSearchScriptData) => CancelablePromise<ListSearchScriptResponse>;
1544
+ /**
1545
+ * list all scripts
1546
+ * @param data The data for the request.
1547
+ * @param data.workspace
1548
+ * @param data.page which page to return (start at 1, default 1)
1549
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
1550
+ * @param data.orderDesc order by desc order (default true)
1551
+ * @param data.createdBy mask to filter exact matching user creator
1552
+ * @param data.pathStart mask to filter matching starting path
1553
+ * @param data.pathExact mask to filter exact matching path
1554
+ * @param data.firstParentHash mask to filter scripts whom first direct parent has exact hash
1555
+ * @param data.lastParentHash mask to filter scripts whom last parent in the chain has exact hash.
1556
+ * Beware that each script stores only a limited number of parents. Hence
1557
+ * the last parent hash for a script is not necessarily its top-most parent.
1558
+ * To find the top-most parent you will have to jump from last to last hash
1559
+ * until finding the parent
1560
+ *
1561
+ * @param data.parentHash is the hash present in the array of stored parent hashes for this script.
1562
+ * The same warning applies than for last_parent_hash. A script only store a
1563
+ * limited number of direct parent
1564
+ *
1565
+ * @param data.showArchived (default false)
1566
+ * show only the archived files.
1567
+ * when multiple archived hash share the same path, only the ones with the latest create_at
1568
+ * are
1569
+ * ed.
1570
+ *
1571
+ * @param data.includeWithoutMain (default false)
1572
+ * include scripts without an exported main function
1573
+ *
1574
+ * @param data.includeDraftOnly (default false)
1575
+ * include scripts that have no deployed version
1576
+ *
1577
+ * @param data.isTemplate (default regardless)
1578
+ * if true show only the templates
1579
+ * if false show only the non templates
1580
+ * if not defined, show all regardless of if the script is a template
1581
+ *
1582
+ * @param data.kinds (default regardless)
1583
+ * script kinds to filter, split by comma
1584
+ *
1585
+ * @param data.starredOnly (default false)
1586
+ * show only the starred items
1587
+ *
1588
+ * @param data.withDeploymentMsg (default false)
1589
+ * include deployment message
1590
+ *
1591
+ * @param data.languages Filter to only include scripts written in the given languages.
1592
+ * Accepts multiple values as a comma-separated list.
1593
+ *
1594
+ * @returns Script All scripts
1595
+ * @throws ApiError
1596
+ */
1597
+ export declare const listScripts: (data: ListScriptsData) => CancelablePromise<ListScriptsResponse>;
1598
+ /**
1599
+ * list all scripts paths
1600
+ * @param data The data for the request.
1601
+ * @param data.workspace
1602
+ * @returns string list of script paths
1603
+ * @throws ApiError
1604
+ */
1605
+ export declare const listScriptPaths: (data: ListScriptPathsData) => CancelablePromise<ListScriptPathsResponse>;
1606
+ /**
1607
+ * create draft
1608
+ * @param data The data for the request.
1609
+ * @param data.workspace
1610
+ * @param data.requestBody
1611
+ * @returns string draft created
1612
+ * @throws ApiError
1613
+ */
1614
+ export declare const createDraft: (data: CreateDraftData) => CancelablePromise<CreateDraftResponse>;
1615
+ /**
1616
+ * delete draft
1617
+ * @param data The data for the request.
1618
+ * @param data.workspace
1619
+ * @param data.kind
1620
+ * @param data.path
1621
+ * @returns string draft deleted
1622
+ * @throws ApiError
1623
+ */
1624
+ export declare const deleteDraft: (data: DeleteDraftData) => CancelablePromise<DeleteDraftResponse>;
1625
+ /**
1626
+ * create script
1627
+ * @param data The data for the request.
1628
+ * @param data.workspace
1629
+ * @param data.requestBody Partially filled script
1630
+ * @returns string script created
1631
+ * @throws ApiError
1632
+ */
1633
+ export declare const createScript: (data: CreateScriptData) => CancelablePromise<CreateScriptResponse>;
1634
+ /**
1635
+ * Toggle ON and OFF the workspace error handler for a given script
1636
+ * @param data The data for the request.
1637
+ * @param data.workspace
1638
+ * @param data.path
1639
+ * @param data.requestBody Workspace error handler enabled
1640
+ * @returns string error handler toggled
1641
+ * @throws ApiError
1642
+ */
1643
+ export declare const toggleWorkspaceErrorHandlerForScript: (data: ToggleWorkspaceErrorHandlerForScriptData) => CancelablePromise<ToggleWorkspaceErrorHandlerForScriptResponse>;
1644
+ /**
1645
+ * get all instance custom tags (tags are used to dispatch jobs to different worker groups)
1646
+ * @param data The data for the request.
1647
+ * @param data.workspace
1648
+ * @param data.showWorkspaceRestriction
1649
+ * @returns string list of custom tags
1650
+ * @throws ApiError
1651
+ */
1652
+ export declare const getCustomTags: (data?: GetCustomTagsData) => CancelablePromise<GetCustomTagsResponse>;
1653
+ /**
1654
+ * get all instance default tags
1655
+ * @returns string list of default tags
1656
+ * @throws ApiError
1657
+ */
1658
+ export declare const geDefaultTags: () => CancelablePromise<GeDefaultTagsResponse>;
1659
+ /**
1660
+ * is default tags per workspace
1661
+ * @returns boolean is the default tags per workspace
1662
+ * @throws ApiError
1663
+ */
1664
+ export declare const isDefaultTagsPerWorkspace: () => CancelablePromise<IsDefaultTagsPerWorkspaceResponse>;
1665
+ /**
1666
+ * archive script by path
1667
+ * @param data The data for the request.
1668
+ * @param data.workspace
1669
+ * @param data.path
1670
+ * @returns string script archived
1671
+ * @throws ApiError
1672
+ */
1673
+ export declare const archiveScriptByPath: (data: ArchiveScriptByPathData) => CancelablePromise<ArchiveScriptByPathResponse>;
1674
+ /**
1675
+ * archive script by hash
1676
+ * @param data The data for the request.
1677
+ * @param data.workspace
1678
+ * @param data.hash
1679
+ * @returns Script script details
1680
+ * @throws ApiError
1681
+ */
1682
+ export declare const archiveScriptByHash: (data: ArchiveScriptByHashData) => CancelablePromise<ArchiveScriptByHashResponse>;
1683
+ /**
1684
+ * delete script by hash (erase content but keep hash, require admin)
1685
+ * @param data The data for the request.
1686
+ * @param data.workspace
1687
+ * @param data.hash
1688
+ * @returns Script script details
1689
+ * @throws ApiError
1690
+ */
1691
+ export declare const deleteScriptByHash: (data: DeleteScriptByHashData) => CancelablePromise<DeleteScriptByHashResponse>;
1692
+ /**
1693
+ * delete script at a given path (require admin)
1694
+ * @param data The data for the request.
1695
+ * @param data.workspace
1696
+ * @param data.path
1697
+ * @param data.keepCaptures keep captures
1698
+ * @returns string script path
1699
+ * @throws ApiError
1700
+ */
1701
+ export declare const deleteScriptByPath: (data: DeleteScriptByPathData) => CancelablePromise<DeleteScriptByPathResponse>;
1702
+ /**
1703
+ * get script by path
1704
+ * @param data The data for the request.
1705
+ * @param data.workspace
1706
+ * @param data.path
1707
+ * @param data.withStarredInfo
1708
+ * @returns Script script details
1709
+ * @throws ApiError
1710
+ */
1711
+ export declare const getScriptByPath: (data: GetScriptByPathData) => CancelablePromise<GetScriptByPathResponse>;
1712
+ /**
1713
+ * get triggers count of script
1714
+ * @param data The data for the request.
1715
+ * @param data.workspace
1716
+ * @param data.path
1717
+ * @returns TriggersCount triggers count
1718
+ * @throws ApiError
1719
+ */
1720
+ export declare const getTriggersCountOfScript: (data: GetTriggersCountOfScriptData) => CancelablePromise<GetTriggersCountOfScriptResponse>;
1721
+ /**
1722
+ * get tokens with script scope
1723
+ * @param data The data for the request.
1724
+ * @param data.workspace
1725
+ * @param data.path
1726
+ * @returns TruncatedToken tokens list
1727
+ * @throws ApiError
1728
+ */
1729
+ export declare const listTokensOfScript: (data: ListTokensOfScriptData) => CancelablePromise<ListTokensOfScriptResponse>;
1730
+ /**
1731
+ * get script by path with draft
1732
+ * @param data The data for the request.
1733
+ * @param data.workspace
1734
+ * @param data.path
1735
+ * @returns NewScriptWithDraft script details
1736
+ * @throws ApiError
1737
+ */
1738
+ export declare const getScriptByPathWithDraft: (data: GetScriptByPathWithDraftData) => CancelablePromise<GetScriptByPathWithDraftResponse>;
1739
+ /**
1740
+ * get history of a script by path
1741
+ * @param data The data for the request.
1742
+ * @param data.workspace
1743
+ * @param data.path
1744
+ * @returns ScriptHistory script history
1745
+ * @throws ApiError
1746
+ */
1747
+ export declare const getScriptHistoryByPath: (data: GetScriptHistoryByPathData) => CancelablePromise<GetScriptHistoryByPathResponse>;
1748
+ /**
1749
+ * list script paths using provided script as a relative import
1750
+ * @param data The data for the request.
1751
+ * @param data.workspace
1752
+ * @param data.path
1753
+ * @returns string list of script paths
1754
+ * @throws ApiError
1755
+ */
1756
+ export declare const listScriptPathsFromWorkspaceRunnable: (data: ListScriptPathsFromWorkspaceRunnableData) => CancelablePromise<ListScriptPathsFromWorkspaceRunnableResponse>;
1757
+ /**
1758
+ * get scripts's latest version (hash)
1759
+ * @param data The data for the request.
1760
+ * @param data.workspace
1761
+ * @param data.path
1762
+ * @returns ScriptHistory Script version/hash
1763
+ * @throws ApiError
1764
+ */
1765
+ export declare const getScriptLatestVersion: (data: GetScriptLatestVersionData) => CancelablePromise<GetScriptLatestVersionResponse>;
1766
+ /**
1767
+ * update history of a script
1768
+ * @param data The data for the request.
1769
+ * @param data.workspace
1770
+ * @param data.hash
1771
+ * @param data.path
1772
+ * @param data.requestBody Script deployment message
1773
+ * @returns string success
1774
+ * @throws ApiError
1775
+ */
1776
+ export declare const updateScriptHistory: (data: UpdateScriptHistoryData) => CancelablePromise<UpdateScriptHistoryResponse>;
1777
+ /**
1778
+ * raw script by path
1779
+ * @param data The data for the request.
1780
+ * @param data.workspace
1781
+ * @param data.path
1782
+ * @returns string script content
1783
+ * @throws ApiError
1784
+ */
1785
+ export declare const rawScriptByPath: (data: RawScriptByPathData) => CancelablePromise<RawScriptByPathResponse>;
1786
+ /**
1787
+ * raw script by path with a token (mostly used by lsp to be used with import maps to resolve scripts)
1788
+ * @param data The data for the request.
1789
+ * @param data.workspace
1790
+ * @param data.token
1791
+ * @param data.path
1792
+ * @returns string script content
1793
+ * @throws ApiError
1794
+ */
1795
+ export declare const rawScriptByPathTokened: (data: RawScriptByPathTokenedData) => CancelablePromise<RawScriptByPathTokenedResponse>;
1796
+ /**
1797
+ * exists script by path
1798
+ * @param data The data for the request.
1799
+ * @param data.workspace
1800
+ * @param data.path
1801
+ * @returns boolean does it exists
1802
+ * @throws ApiError
1803
+ */
1804
+ export declare const existsScriptByPath: (data: ExistsScriptByPathData) => CancelablePromise<ExistsScriptByPathResponse>;
1805
+ /**
1806
+ * get script by hash
1807
+ * @param data The data for the request.
1808
+ * @param data.workspace
1809
+ * @param data.hash
1810
+ * @param data.withStarredInfo
1811
+ * @param data.authed
1812
+ * @returns Script script details
1813
+ * @throws ApiError
1814
+ */
1815
+ export declare const getScriptByHash: (data: GetScriptByHashData) => CancelablePromise<GetScriptByHashResponse>;
1816
+ /**
1817
+ * raw script by hash
1818
+ * @param data The data for the request.
1819
+ * @param data.workspace
1820
+ * @param data.path
1821
+ * @returns string script content
1822
+ * @throws ApiError
1823
+ */
1824
+ export declare const rawScriptByHash: (data: RawScriptByHashData) => CancelablePromise<RawScriptByHashResponse>;
1825
+ /**
1826
+ * get script deployment status
1827
+ * @param data The data for the request.
1828
+ * @param data.workspace
1829
+ * @param data.hash
1830
+ * @returns unknown script details
1831
+ * @throws ApiError
1832
+ */
1833
+ export declare const getScriptDeploymentStatus: (data: GetScriptDeploymentStatusData) => CancelablePromise<GetScriptDeploymentStatusResponse>;
1834
+ /**
1835
+ * list selected jobs script/flow schemas grouped by (kind, path)
1836
+ * @param data The data for the request.
1837
+ * @param data.workspace
1838
+ * @param data.requestBody script args
1839
+ * @returns unknown result
1840
+ * @throws ApiError
1841
+ */
1842
+ export declare const listSelectedJobGroups: (data: ListSelectedJobGroupsData) => CancelablePromise<ListSelectedJobGroupsResponse>;
1843
+ /**
1844
+ * run script by path
1845
+ * @param data The data for the request.
1846
+ * @param data.workspace
1847
+ * @param data.path
1848
+ * @param data.requestBody script args
1849
+ * @param data.scheduledFor when to schedule this job (leave empty for immediate run)
1850
+ * @param data.scheduledInSecs schedule the script to execute in the number of seconds starting now
1851
+ * @param data.skipPreprocessor skip the preprocessor
1852
+ * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
1853
+ * @param data.tag Override the tag to use
1854
+ * @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
1855
+ * @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)
1856
+ * @param data.invisibleToOwner make the run invisible to the the script owner (default false)
1857
+ * @returns string job created
1858
+ * @throws ApiError
1859
+ */
1860
+ export declare const runScriptByPath: (data: RunScriptByPathData) => CancelablePromise<RunScriptByPathResponse>;
1861
+ /**
1862
+ * run script by path in openai format
1863
+ * @param data The data for the request.
1864
+ * @param data.workspace
1865
+ * @param data.path
1866
+ * @param data.requestBody script args
1867
+ * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
1868
+ * @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)
1869
+ * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args
1870
+ * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
1871
+ *
1872
+ * @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
1873
+ *
1874
+ * @returns unknown job result
1875
+ * @throws ApiError
1876
+ */
1877
+ export declare const openaiSyncScriptByPath: (data: OpenaiSyncScriptByPathData) => CancelablePromise<OpenaiSyncScriptByPathResponse>;
1878
+ /**
1879
+ * run script by path
1880
+ * @param data The data for the request.
1881
+ * @param data.workspace
1882
+ * @param data.path
1883
+ * @param data.requestBody script args
1884
+ * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
1885
+ * @param data.tag Override the tag to use
1886
+ * @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
1887
+ * @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)
1888
+ * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args
1889
+ * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
1890
+ *
1891
+ * @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
1892
+ *
1893
+ * @returns unknown job result
1894
+ * @throws ApiError
1895
+ */
1896
+ export declare const runWaitResultScriptByPath: (data: RunWaitResultScriptByPathData) => CancelablePromise<RunWaitResultScriptByPathResponse>;
1897
+ /**
1898
+ * run script by path with get
1899
+ * @param data The data for the request.
1900
+ * @param data.workspace
1901
+ * @param data.path
1902
+ * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
1903
+ * @param data.tag Override the tag to use
1904
+ * @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
1905
+ * @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)
1906
+ * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args
1907
+ * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
1908
+ *
1909
+ * @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
1910
+ *
1911
+ * @param data.payload The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent
1912
+ * `encodeURIComponent(btoa(JSON.stringify({a: 2})))`
1913
+ *
1914
+ * @returns unknown job result
1915
+ * @throws ApiError
1916
+ */
1917
+ export declare const runWaitResultScriptByPathGet: (data: RunWaitResultScriptByPathGetData) => CancelablePromise<RunWaitResultScriptByPathGetResponse>;
1918
+ /**
1919
+ * run flow by path and wait until completion in openai format
1920
+ * @param data The data for the request.
1921
+ * @param data.workspace
1922
+ * @param data.path
1923
+ * @param data.requestBody script args
1924
+ * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args
1925
+ * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
1926
+ *
1927
+ * @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
1928
+ *
1929
+ * @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)
1930
+ * @returns unknown job result
1931
+ * @throws ApiError
1932
+ */
1933
+ export declare const openaiSyncFlowByPath: (data: OpenaiSyncFlowByPathData) => CancelablePromise<OpenaiSyncFlowByPathResponse>;
1934
+ /**
1935
+ * run flow by path and wait until completion
1936
+ * @param data The data for the request.
1937
+ * @param data.workspace
1938
+ * @param data.path
1939
+ * @param data.requestBody script args
1940
+ * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args
1941
+ * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
1942
+ *
1943
+ * @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
1944
+ *
1945
+ * @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)
1946
+ * @returns unknown job result
1947
+ * @throws ApiError
1948
+ */
1949
+ export declare const runWaitResultFlowByPath: (data: RunWaitResultFlowByPathData) => CancelablePromise<RunWaitResultFlowByPathResponse>;
1950
+ /**
1951
+ * get job result by id
1952
+ * @param data The data for the request.
1953
+ * @param data.workspace
1954
+ * @param data.flowJobId
1955
+ * @param data.nodeId
1956
+ * @returns unknown job result
1957
+ * @throws ApiError
1958
+ */
1959
+ export declare const resultById: (data: ResultByIdData) => CancelablePromise<ResultByIdResponse>;
1960
+ /**
1961
+ * list all flow paths
1962
+ * @param data The data for the request.
1963
+ * @param data.workspace
1964
+ * @returns string list of flow paths
1965
+ * @throws ApiError
1966
+ */
1967
+ export declare const listFlowPaths: (data: ListFlowPathsData) => CancelablePromise<ListFlowPathsResponse>;
1968
+ /**
1969
+ * list flows for search
1970
+ * @param data The data for the request.
1971
+ * @param data.workspace
1972
+ * @returns unknown flow list
1973
+ * @throws ApiError
1974
+ */
1975
+ export declare const listSearchFlow: (data: ListSearchFlowData) => CancelablePromise<ListSearchFlowResponse>;
1976
+ /**
1977
+ * list all flows
1978
+ * @param data The data for the request.
1979
+ * @param data.workspace
1980
+ * @param data.page which page to return (start at 1, default 1)
1981
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
1982
+ * @param data.orderDesc order by desc order (default true)
1983
+ * @param data.createdBy mask to filter exact matching user creator
1984
+ * @param data.pathStart mask to filter matching starting path
1985
+ * @param data.pathExact mask to filter exact matching path
1986
+ * @param data.showArchived (default false)
1987
+ * show only the archived files.
1988
+ * when multiple archived hash share the same path, only the ones with the latest create_at
1989
+ * are displayed.
1990
+ *
1991
+ * @param data.starredOnly (default false)
1992
+ * show only the starred items
1993
+ *
1994
+ * @param data.includeDraftOnly (default false)
1995
+ * include items that have no deployed version
1996
+ *
1997
+ * @param data.withDeploymentMsg (default false)
1998
+ * include deployment message
1999
+ *
2000
+ * @returns unknown All flow
2001
+ * @throws ApiError
2002
+ */
2003
+ export declare const listFlows: (data: ListFlowsData) => CancelablePromise<ListFlowsResponse>;
2004
+ /**
2005
+ * get flow history by path
2006
+ * @param data The data for the request.
2007
+ * @param data.workspace
2008
+ * @param data.path
2009
+ * @returns FlowVersion Flow history
2010
+ * @throws ApiError
2011
+ */
2012
+ export declare const getFlowHistory: (data: GetFlowHistoryData) => CancelablePromise<GetFlowHistoryResponse>;
2013
+ /**
2014
+ * get flow's latest version
2015
+ * @param data The data for the request.
2016
+ * @param data.workspace
2017
+ * @param data.path
2018
+ * @returns FlowVersion Flow version
2019
+ * @throws ApiError
2020
+ */
2021
+ export declare const getFlowLatestVersion: (data: GetFlowLatestVersionData) => CancelablePromise<GetFlowLatestVersionResponse>;
2022
+ /**
2023
+ * list flow paths from workspace runnable
2024
+ * @param data The data for the request.
2025
+ * @param data.workspace
2026
+ * @param data.runnableKind
2027
+ * @param data.path
2028
+ * @returns string list of flow paths
2029
+ * @throws ApiError
2030
+ */
2031
+ export declare const listFlowPathsFromWorkspaceRunnable: (data: ListFlowPathsFromWorkspaceRunnableData) => CancelablePromise<ListFlowPathsFromWorkspaceRunnableResponse>;
2032
+ /**
2033
+ * get flow version
2034
+ * @param data The data for the request.
2035
+ * @param data.workspace
2036
+ * @param data.version
2037
+ * @param data.path
2038
+ * @returns Flow flow details
2039
+ * @throws ApiError
2040
+ */
2041
+ export declare const getFlowVersion: (data: GetFlowVersionData) => CancelablePromise<GetFlowVersionResponse>;
2042
+ /**
2043
+ * update flow history
2044
+ * @param data The data for the request.
2045
+ * @param data.workspace
2046
+ * @param data.version
2047
+ * @param data.path
2048
+ * @param data.requestBody Flow deployment message
2049
+ * @returns string success
2050
+ * @throws ApiError
2051
+ */
2052
+ export declare const updateFlowHistory: (data: UpdateFlowHistoryData) => CancelablePromise<UpdateFlowHistoryResponse>;
2053
+ /**
2054
+ * get flow by path
2055
+ * @param data The data for the request.
2056
+ * @param data.workspace
2057
+ * @param data.path
2058
+ * @param data.withStarredInfo
2059
+ * @returns Flow flow details
2060
+ * @throws ApiError
2061
+ */
2062
+ export declare const getFlowByPath: (data: GetFlowByPathData) => CancelablePromise<GetFlowByPathResponse>;
2063
+ /**
2064
+ * get flow deployment status
2065
+ * @param data The data for the request.
2066
+ * @param data.workspace
2067
+ * @param data.path
2068
+ * @returns unknown flow status
2069
+ * @throws ApiError
2070
+ */
2071
+ export declare const getFlowDeploymentStatus: (data: GetFlowDeploymentStatusData) => CancelablePromise<GetFlowDeploymentStatusResponse>;
2072
+ /**
2073
+ * get triggers count of flow
2074
+ * @param data The data for the request.
2075
+ * @param data.workspace
2076
+ * @param data.path
2077
+ * @returns TriggersCount triggers count
2078
+ * @throws ApiError
2079
+ */
2080
+ export declare const getTriggersCountOfFlow: (data: GetTriggersCountOfFlowData) => CancelablePromise<GetTriggersCountOfFlowResponse>;
2081
+ /**
2082
+ * get tokens with flow scope
2083
+ * @param data The data for the request.
2084
+ * @param data.workspace
2085
+ * @param data.path
2086
+ * @returns TruncatedToken tokens list
2087
+ * @throws ApiError
2088
+ */
2089
+ export declare const listTokensOfFlow: (data: ListTokensOfFlowData) => CancelablePromise<ListTokensOfFlowResponse>;
2090
+ /**
2091
+ * Toggle ON and OFF the workspace error handler for a given flow
2092
+ * @param data The data for the request.
2093
+ * @param data.workspace
2094
+ * @param data.path
2095
+ * @param data.requestBody Workspace error handler enabled
2096
+ * @returns string error handler toggled
2097
+ * @throws ApiError
2098
+ */
2099
+ export declare const toggleWorkspaceErrorHandlerForFlow: (data: ToggleWorkspaceErrorHandlerForFlowData) => CancelablePromise<ToggleWorkspaceErrorHandlerForFlowResponse>;
2100
+ /**
2101
+ * get flow by path with draft
2102
+ * @param data The data for the request.
2103
+ * @param data.workspace
2104
+ * @param data.path
2105
+ * @returns unknown flow details with draft
2106
+ * @throws ApiError
2107
+ */
2108
+ export declare const getFlowByPathWithDraft: (data: GetFlowByPathWithDraftData) => CancelablePromise<GetFlowByPathWithDraftResponse>;
2109
+ /**
2110
+ * exists flow by path
2111
+ * @param data The data for the request.
2112
+ * @param data.workspace
2113
+ * @param data.path
2114
+ * @returns boolean flow details
2115
+ * @throws ApiError
2116
+ */
2117
+ export declare const existsFlowByPath: (data: ExistsFlowByPathData) => CancelablePromise<ExistsFlowByPathResponse>;
2118
+ /**
2119
+ * create flow
2120
+ * @param data The data for the request.
2121
+ * @param data.workspace
2122
+ * @param data.requestBody Partially filled flow
2123
+ * @returns string flow created
2124
+ * @throws ApiError
2125
+ */
2126
+ export declare const createFlow: (data: CreateFlowData) => CancelablePromise<CreateFlowResponse>;
2127
+ /**
2128
+ * update flow
2129
+ * @param data The data for the request.
2130
+ * @param data.workspace
2131
+ * @param data.path
2132
+ * @param data.requestBody Partially filled flow
2133
+ * @returns string flow updated
2134
+ * @throws ApiError
2135
+ */
2136
+ export declare const updateFlow: (data: UpdateFlowData) => CancelablePromise<UpdateFlowResponse>;
2137
+ /**
2138
+ * archive flow by path
2139
+ * @param data The data for the request.
2140
+ * @param data.workspace
2141
+ * @param data.path
2142
+ * @param data.requestBody archiveFlow
2143
+ * @returns string flow archived
2144
+ * @throws ApiError
2145
+ */
2146
+ export declare const archiveFlowByPath: (data: ArchiveFlowByPathData) => CancelablePromise<ArchiveFlowByPathResponse>;
2147
+ /**
2148
+ * delete flow by path
2149
+ * @param data The data for the request.
2150
+ * @param data.workspace
2151
+ * @param data.path
2152
+ * @param data.keepCaptures keep captures
2153
+ * @returns string flow delete
2154
+ * @throws ApiError
2155
+ */
2156
+ export declare const deleteFlowByPath: (data: DeleteFlowByPathData) => CancelablePromise<DeleteFlowByPathResponse>;
2157
+ /**
2158
+ * list all raw apps
2159
+ * @param data The data for the request.
2160
+ * @param data.workspace
2161
+ * @param data.page which page to return (start at 1, default 1)
2162
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
2163
+ * @param data.orderDesc order by desc order (default true)
2164
+ * @param data.createdBy mask to filter exact matching user creator
2165
+ * @param data.pathStart mask to filter matching starting path
2166
+ * @param data.pathExact mask to filter exact matching path
2167
+ * @param data.starredOnly (default false)
2168
+ * show only the starred items
2169
+ *
2170
+ * @returns ListableRawApp All raw apps
2171
+ * @throws ApiError
2172
+ */
2173
+ export declare const listRawApps: (data: ListRawAppsData) => CancelablePromise<ListRawAppsResponse>;
2174
+ /**
2175
+ * does an app exisst at path
2176
+ * @param data The data for the request.
2177
+ * @param data.workspace
2178
+ * @param data.path
2179
+ * @returns boolean app exists
2180
+ * @throws ApiError
2181
+ */
2182
+ export declare const existsRawApp: (data: ExistsRawAppData) => CancelablePromise<ExistsRawAppResponse>;
2183
+ /**
2184
+ * get app by path
2185
+ * @param data The data for the request.
2186
+ * @param data.workspace
2187
+ * @param data.version
2188
+ * @param data.path
2189
+ * @returns string app details
2190
+ * @throws ApiError
2191
+ */
2192
+ export declare const getRawAppData: (data: GetRawAppDataData) => CancelablePromise<GetRawAppDataResponse>;
2193
+ /**
2194
+ * list apps for search
2195
+ * @param data The data for the request.
2196
+ * @param data.workspace
2197
+ * @returns unknown app list
2198
+ * @throws ApiError
2199
+ */
2200
+ export declare const listSearchApp: (data: ListSearchAppData) => CancelablePromise<ListSearchAppResponse>;
2201
+ /**
2202
+ * list all apps
2203
+ * @param data The data for the request.
2204
+ * @param data.workspace
2205
+ * @param data.page which page to return (start at 1, default 1)
2206
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
2207
+ * @param data.orderDesc order by desc order (default true)
2208
+ * @param data.createdBy mask to filter exact matching user creator
2209
+ * @param data.pathStart mask to filter matching starting path
2210
+ * @param data.pathExact mask to filter exact matching path
2211
+ * @param data.starredOnly (default false)
2212
+ * show only the starred items
2213
+ *
2214
+ * @param data.includeDraftOnly (default false)
2215
+ * include items that have no deployed version
2216
+ *
2217
+ * @param data.withDeploymentMsg (default false)
2218
+ * include deployment message
2219
+ *
2220
+ * @returns ListableApp All apps
2221
+ * @throws ApiError
2222
+ */
2223
+ export declare const listApps: (data: ListAppsData) => CancelablePromise<ListAppsResponse>;
2224
+ /**
2225
+ * create app
2226
+ * @param data The data for the request.
2227
+ * @param data.workspace
2228
+ * @param data.requestBody new app
2229
+ * @returns string app created
2230
+ * @throws ApiError
2231
+ */
2232
+ export declare const createApp: (data: CreateAppData) => CancelablePromise<CreateAppResponse>;
2233
+ /**
2234
+ * create app raw
2235
+ * @param data The data for the request.
2236
+ * @param data.workspace
2237
+ * @param data.formData new app
2238
+ * @returns string app created
2239
+ * @throws ApiError
2240
+ */
2241
+ export declare const createAppRaw: (data: CreateAppRawData) => CancelablePromise<CreateAppRawResponse>;
2242
+ /**
2243
+ * does an app exisst at path
2244
+ * @param data The data for the request.
2245
+ * @param data.workspace
2246
+ * @param data.path
2247
+ * @returns boolean app exists
2248
+ * @throws ApiError
2249
+ */
2250
+ export declare const existsApp: (data: ExistsAppData) => CancelablePromise<ExistsAppResponse>;
2251
+ /**
2252
+ * get app by path
2253
+ * @param data The data for the request.
2254
+ * @param data.workspace
2255
+ * @param data.path
2256
+ * @param data.withStarredInfo
2257
+ * @returns AppWithLastVersion app details
2258
+ * @throws ApiError
2259
+ */
2260
+ export declare const getAppByPath: (data: GetAppByPathData) => CancelablePromise<GetAppByPathResponse>;
2261
+ /**
2262
+ * get app lite by path
2263
+ * @param data The data for the request.
2264
+ * @param data.workspace
2265
+ * @param data.path
2266
+ * @returns AppWithLastVersion app lite details
2267
+ * @throws ApiError
2268
+ */
2269
+ export declare const getAppLiteByPath: (data: GetAppLiteByPathData) => CancelablePromise<GetAppLiteByPathResponse>;
2270
+ /**
2271
+ * get app by path with draft
2272
+ * @param data The data for the request.
2273
+ * @param data.workspace
2274
+ * @param data.path
2275
+ * @returns AppWithLastVersionWDraft app details with draft
2276
+ * @throws ApiError
2277
+ */
2278
+ export declare const getAppByPathWithDraft: (data: GetAppByPathWithDraftData) => CancelablePromise<GetAppByPathWithDraftResponse>;
2279
+ /**
2280
+ * get app history by path
2281
+ * @param data The data for the request.
2282
+ * @param data.workspace
2283
+ * @param data.path
2284
+ * @returns AppHistory app history
2285
+ * @throws ApiError
2286
+ */
2287
+ export declare const getAppHistoryByPath: (data: GetAppHistoryByPathData) => CancelablePromise<GetAppHistoryByPathResponse>;
2288
+ /**
2289
+ * get apps's latest version
2290
+ * @param data The data for the request.
2291
+ * @param data.workspace
2292
+ * @param data.path
2293
+ * @returns AppHistory App version
2294
+ * @throws ApiError
2295
+ */
2296
+ export declare const getAppLatestVersion: (data: GetAppLatestVersionData) => CancelablePromise<GetAppLatestVersionResponse>;
2297
+ /**
2298
+ * list app paths from workspace runnable
2299
+ * @param data The data for the request.
2300
+ * @param data.workspace
2301
+ * @param data.runnableKind
2302
+ * @param data.path
2303
+ * @returns string list of app paths
2304
+ * @throws ApiError
2305
+ */
2306
+ export declare const listAppPathsFromWorkspaceRunnable: (data: ListAppPathsFromWorkspaceRunnableData) => CancelablePromise<ListAppPathsFromWorkspaceRunnableResponse>;
2307
+ /**
2308
+ * update app history
2309
+ * @param data The data for the request.
2310
+ * @param data.workspace
2311
+ * @param data.id
2312
+ * @param data.version
2313
+ * @param data.requestBody App deployment message
2314
+ * @returns string success
2315
+ * @throws ApiError
2316
+ */
2317
+ export declare const updateAppHistory: (data: UpdateAppHistoryData) => CancelablePromise<UpdateAppHistoryResponse>;
2318
+ /**
2319
+ * get public app by secret
2320
+ * @param data The data for the request.
2321
+ * @param data.workspace
2322
+ * @param data.path
2323
+ * @returns AppWithLastVersion app details
2324
+ * @throws ApiError
2325
+ */
2326
+ export declare const getPublicAppBySecret: (data: GetPublicAppBySecretData) => CancelablePromise<GetPublicAppBySecretResponse>;
2327
+ /**
2328
+ * get public resource
2329
+ * @param data The data for the request.
2330
+ * @param data.workspace
2331
+ * @param data.path
2332
+ * @returns unknown resource value
2333
+ * @throws ApiError
2334
+ */
2335
+ export declare const getPublicResource: (data: GetPublicResourceData) => CancelablePromise<GetPublicResourceResponse>;
2336
+ /**
2337
+ * get public secret of app
2338
+ * @param data The data for the request.
2339
+ * @param data.workspace
2340
+ * @param data.path
2341
+ * @returns string app secret
2342
+ * @throws ApiError
2343
+ */
2344
+ export declare const getPublicSecretOfApp: (data: GetPublicSecretOfAppData) => CancelablePromise<GetPublicSecretOfAppResponse>;
2345
+ /**
2346
+ * get app by version
2347
+ * @param data The data for the request.
2348
+ * @param data.workspace
2349
+ * @param data.id
2350
+ * @returns AppWithLastVersion app details
2351
+ * @throws ApiError
2352
+ */
2353
+ export declare const getAppByVersion: (data: GetAppByVersionData) => CancelablePromise<GetAppByVersionResponse>;
2354
+ /**
2355
+ * create raw app
2356
+ * @param data The data for the request.
2357
+ * @param data.workspace
2358
+ * @param data.requestBody new raw app
2359
+ * @returns string raw app created
2360
+ * @throws ApiError
2361
+ */
2362
+ export declare const createRawApp: (data: CreateRawAppData) => CancelablePromise<CreateRawAppResponse>;
2363
+ /**
2364
+ * update app
2365
+ * @param data The data for the request.
2366
+ * @param data.workspace
2367
+ * @param data.path
2368
+ * @param data.requestBody updateraw app
2369
+ * @returns string app updated
2370
+ * @throws ApiError
2371
+ */
2372
+ export declare const updateRawApp: (data: UpdateRawAppData) => CancelablePromise<UpdateRawAppResponse>;
2373
+ /**
2374
+ * delete raw app
2375
+ * @param data The data for the request.
2376
+ * @param data.workspace
2377
+ * @param data.path
2378
+ * @returns string app deleted
2379
+ * @throws ApiError
2380
+ */
2381
+ export declare const deleteRawApp: (data: DeleteRawAppData) => CancelablePromise<DeleteRawAppResponse>;
2382
+ /**
2383
+ * delete app
2384
+ * @param data The data for the request.
2385
+ * @param data.workspace
2386
+ * @param data.path
2387
+ * @returns string app deleted
2388
+ * @throws ApiError
2389
+ */
2390
+ export declare const deleteApp: (data: DeleteAppData) => CancelablePromise<DeleteAppResponse>;
2391
+ /**
2392
+ * update app
2393
+ * @param data The data for the request.
2394
+ * @param data.workspace
2395
+ * @param data.path
2396
+ * @param data.requestBody update app
2397
+ * @returns string app updated
2398
+ * @throws ApiError
2399
+ */
2400
+ export declare const updateApp: (data: UpdateAppData) => CancelablePromise<UpdateAppResponse>;
2401
+ /**
2402
+ * update app
2403
+ * @param data The data for the request.
2404
+ * @param data.workspace
2405
+ * @param data.path
2406
+ * @param data.formData update app
2407
+ * @returns string app updated
2408
+ * @throws ApiError
2409
+ */
2410
+ export declare const updateAppRaw: (data: UpdateAppRawData) => CancelablePromise<UpdateAppRawResponse>;
2411
+ /**
2412
+ * check if custom path exists
2413
+ * @param data The data for the request.
2414
+ * @param data.workspace
2415
+ * @param data.customPath
2416
+ * @returns boolean custom path exists
2417
+ * @throws ApiError
2418
+ */
2419
+ export declare const customPathExists: (data: CustomPathExistsData) => CancelablePromise<CustomPathExistsResponse>;
2420
+ /**
2421
+ * sign s3 objects, to be used by anonymous users in public apps
2422
+ * @param data The data for the request.
2423
+ * @param data.workspace
2424
+ * @param data.requestBody s3 objects to sign
2425
+ * @returns S3Object signed s3 objects
2426
+ * @throws ApiError
2427
+ */
2428
+ export declare const signS3Objects: (data: SignS3ObjectsData) => CancelablePromise<SignS3ObjectsResponse>;
2429
+ /**
2430
+ * executeComponent
2431
+ * @param data The data for the request.
2432
+ * @param data.workspace
2433
+ * @param data.path
2434
+ * @param data.requestBody update app
2435
+ * @returns string job uuid
2436
+ * @throws ApiError
2437
+ */
2438
+ export declare const executeComponent: (data: ExecuteComponentData) => CancelablePromise<ExecuteComponentResponse>;
2439
+ /**
2440
+ * upload s3 file from app
2441
+ * @param data The data for the request.
2442
+ * @param data.workspace
2443
+ * @param data.path
2444
+ * @param data.requestBody File content
2445
+ * @param data.fileKey
2446
+ * @param data.fileExtension
2447
+ * @param data.s3ResourcePath
2448
+ * @param data.resourceType
2449
+ * @param data.storage
2450
+ * @param data.contentType
2451
+ * @param data.contentDisposition
2452
+ * @returns unknown file uploaded
2453
+ * @throws ApiError
2454
+ */
2455
+ export declare const uploadS3FileFromApp: (data: UploadS3FileFromAppData) => CancelablePromise<UploadS3FileFromAppResponse>;
2456
+ /**
2457
+ * delete s3 file from app
2458
+ * @param data The data for the request.
2459
+ * @param data.workspace
2460
+ * @param data.deleteToken
2461
+ * @returns string file deleted
2462
+ * @throws ApiError
2463
+ */
2464
+ export declare const deleteS3FileFromApp: (data: DeleteS3FileFromAppData) => CancelablePromise<DeleteS3FileFromAppResponse>;
2465
+ /**
2466
+ * run flow by path
2467
+ * @param data The data for the request.
2468
+ * @param data.workspace
2469
+ * @param data.path
2470
+ * @param data.requestBody flow args
2471
+ * @param data.scheduledFor when to schedule this job (leave empty for immediate run)
2472
+ * @param data.scheduledInSecs schedule the script to execute in the number of seconds starting now
2473
+ * @param data.skipPreprocessor skip the preprocessor
2474
+ * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
2475
+ * @param data.tag Override the tag to use
2476
+ * @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)
2477
+ * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args
2478
+ * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
2479
+ *
2480
+ * @param data.invisibleToOwner make the run invisible to the the flow owner (default false)
2481
+ * @returns string job created
2482
+ * @throws ApiError
2483
+ */
2484
+ export declare const runFlowByPath: (data: RunFlowByPathData) => CancelablePromise<RunFlowByPathResponse>;
2485
+ /**
2486
+ * re-run multiple jobs
2487
+ * @param data The data for the request.
2488
+ * @param data.workspace
2489
+ * @param data.requestBody list of job ids to re run and arg tranforms
2490
+ * @returns string stream of created job uuids separated by \n. Lines may start with 'Error:'
2491
+ * @throws ApiError
2492
+ */
2493
+ export declare const batchReRunJobs: (data: BatchReRunJobsData) => CancelablePromise<BatchReRunJobsResponse>;
2494
+ /**
2495
+ * restart a completed flow at a given step
2496
+ * @param data The data for the request.
2497
+ * @param data.workspace
2498
+ * @param data.id
2499
+ * @param data.stepId step id to restart the flow from
2500
+ * @param data.branchOrIterationN for branchall or loop, the iteration at which the flow should restart
2501
+ * @param data.requestBody flow args
2502
+ * @param data.scheduledFor when to schedule this job (leave empty for immediate run)
2503
+ * @param data.scheduledInSecs schedule the script to execute in the number of seconds starting now
2504
+ * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
2505
+ * @param data.tag Override the tag to use
2506
+ * @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)
2507
+ * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args
2508
+ * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
2509
+ *
2510
+ * @param data.invisibleToOwner make the run invisible to the the flow owner (default false)
2511
+ * @returns string job created
2512
+ * @throws ApiError
2513
+ */
2514
+ export declare const restartFlowAtStep: (data: RestartFlowAtStepData) => CancelablePromise<RestartFlowAtStepResponse>;
2515
+ /**
2516
+ * run script by hash
2517
+ * @param data The data for the request.
2518
+ * @param data.workspace
2519
+ * @param data.hash
2520
+ * @param data.requestBody Partially filled args
2521
+ * @param data.scheduledFor when to schedule this job (leave empty for immediate run)
2522
+ * @param data.scheduledInSecs schedule the script to execute in the number of seconds starting now
2523
+ * @param data.skipPreprocessor skip the preprocessor
2524
+ * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
2525
+ * @param data.tag Override the tag to use
2526
+ * @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
2527
+ * @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)
2528
+ * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args
2529
+ * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
2530
+ *
2531
+ * @param data.invisibleToOwner make the run invisible to the the script owner (default false)
2532
+ * @returns string job created
2533
+ * @throws ApiError
2534
+ */
2535
+ export declare const runScriptByHash: (data: RunScriptByHashData) => CancelablePromise<RunScriptByHashResponse>;
2536
+ /**
2537
+ * run script preview
2538
+ * @param data The data for the request.
2539
+ * @param data.workspace
2540
+ * @param data.requestBody preview
2541
+ * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args
2542
+ * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
2543
+ *
2544
+ * @param data.invisibleToOwner make the run invisible to the the script owner (default false)
2545
+ * @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)
2546
+ * @returns string job created
2547
+ * @throws ApiError
2548
+ */
2549
+ export declare const runScriptPreview: (data: RunScriptPreviewData) => CancelablePromise<RunScriptPreviewResponse>;
2550
+ /**
2551
+ * run code-workflow task
2552
+ * @param data The data for the request.
2553
+ * @param data.workspace
2554
+ * @param data.jobId
2555
+ * @param data.entrypoint
2556
+ * @param data.requestBody preview
2557
+ * @returns string job created
2558
+ * @throws ApiError
2559
+ */
2560
+ export declare const runCodeWorkflowTask: (data: RunCodeWorkflowTaskData) => CancelablePromise<RunCodeWorkflowTaskResponse>;
2561
+ /**
2562
+ * run a one-off dependencies job
2563
+ * @param data The data for the request.
2564
+ * @param data.workspace
2565
+ * @param data.requestBody raw script content
2566
+ * @returns unknown dependency job result
2567
+ * @throws ApiError
2568
+ */
2569
+ export declare const runRawScriptDependencies: (data: RunRawScriptDependenciesData) => CancelablePromise<RunRawScriptDependenciesResponse>;
2570
+ /**
2571
+ * run flow preview
2572
+ * @param data The data for the request.
2573
+ * @param data.workspace
2574
+ * @param data.requestBody preview
2575
+ * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args
2576
+ * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
2577
+ *
2578
+ * @param data.invisibleToOwner make the run invisible to the the script owner (default false)
2579
+ * @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)
2580
+ * @returns string job created
2581
+ * @throws ApiError
2582
+ */
2583
+ export declare const runFlowPreview: (data: RunFlowPreviewData) => CancelablePromise<RunFlowPreviewResponse>;
2584
+ /**
2585
+ * list all queued jobs
2586
+ * @param data The data for the request.
2587
+ * @param data.workspace
2588
+ * @param data.orderDesc order by desc order (default true)
2589
+ * @param data.createdBy mask to filter exact matching user creator
2590
+ * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
2591
+ * @param data.worker worker this job was ran on
2592
+ * @param data.scriptPathExact mask to filter exact matching path
2593
+ * @param data.scriptPathStart mask to filter matching starting path
2594
+ * @param data.schedulePath mask to filter by schedule path
2595
+ * @param data.scriptHash mask to filter exact matching path
2596
+ * @param data.startedBefore filter on started before (inclusive) timestamp
2597
+ * @param data.startedAfter filter on started after (exclusive) timestamp
2598
+ * @param data.success filter on successful jobs
2599
+ * @param data.scheduledForBeforeNow filter on jobs scheduled_for before now (hence waitinf for a worker)
2600
+ * @param data.jobKinds filter on job kind (values 'preview', 'script', 'dependencies', 'flow') separated by,
2601
+ * @param data.suspended filter on suspended jobs
2602
+ * @param data.running filter on running jobs
2603
+ * @param data.args filter on jobs containing those args as a json subset (@> in postgres)
2604
+ * @param data.result filter on jobs containing those result as a json subset (@> in postgres)
2605
+ * @param data.allowWildcards allow wildcards (*) in the filter of label, tag, worker
2606
+ * @param data.tag filter on jobs with a given tag/worker group
2607
+ * @param data.page which page to return (start at 1, default 1)
2608
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
2609
+ * @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace)
2610
+ * @param data.isNotSchedule is not a scheduled job
2611
+ * @returns QueuedJob All queued jobs
2612
+ * @throws ApiError
2613
+ */
2614
+ export declare const listQueue: (data: ListQueueData) => CancelablePromise<ListQueueResponse>;
2615
+ /**
2616
+ * get queue count
2617
+ * @param data The data for the request.
2618
+ * @param data.workspace
2619
+ * @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace)
2620
+ * @returns unknown queue count
2621
+ * @throws ApiError
2622
+ */
2623
+ export declare const getQueueCount: (data: GetQueueCountData) => CancelablePromise<GetQueueCountResponse>;
2624
+ /**
2625
+ * get completed count
2626
+ * @param data The data for the request.
2627
+ * @param data.workspace
2628
+ * @returns unknown completed count
2629
+ * @throws ApiError
2630
+ */
2631
+ export declare const getCompletedCount: (data: GetCompletedCountData) => CancelablePromise<GetCompletedCountResponse>;
2632
+ /**
2633
+ * count number of completed jobs with filter
2634
+ * @param data The data for the request.
2635
+ * @param data.workspace
2636
+ * @param data.completedAfterSAgo
2637
+ * @param data.success
2638
+ * @param data.tags
2639
+ * @param data.allWorkspaces
2640
+ * @returns number Count of completed jobs
2641
+ * @throws ApiError
2642
+ */
2643
+ export declare const countCompletedJobs: (data: CountCompletedJobsData) => CancelablePromise<CountCompletedJobsResponse>;
2644
+ /**
2645
+ * get the ids of all jobs matching the given filters
2646
+ * @param data The data for the request.
2647
+ * @param data.workspace
2648
+ * @param data.createdBy mask to filter exact matching user creator
2649
+ * @param data.label mask to filter exact matching job's label (job labels are completed jobs with as a result an object containing a string in the array at key 'wm_labels')
2650
+ * @param data.worker worker this job was ran on
2651
+ * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
2652
+ * @param data.scriptPathExact mask to filter exact matching path
2653
+ * @param data.scriptPathStart mask to filter matching starting path
2654
+ * @param data.schedulePath mask to filter by schedule path
2655
+ * @param data.scriptHash mask to filter exact matching path
2656
+ * @param data.startedBefore filter on started before (inclusive) timestamp
2657
+ * @param data.startedAfter filter on started after (exclusive) timestamp
2658
+ * @param data.createdBefore filter on created before (inclusive) timestamp
2659
+ * @param data.createdAfter filter on created after (exclusive) timestamp
2660
+ * @param data.createdOrStartedBefore filter on created_at for non non started job and started_at otherwise before (inclusive) timestamp
2661
+ * @param data.running filter on running jobs
2662
+ * @param data.scheduledForBeforeNow filter on jobs scheduled_for before now (hence waitinf for a worker)
2663
+ * @param data.createdOrStartedAfter filter on created_at for non non started job and started_at otherwise after (exclusive) timestamp
2664
+ * @param data.createdOrStartedAfterCompletedJobs filter on created_at for non non started job and started_at otherwise after (exclusive) timestamp but only for the completed jobs
2665
+ * @param data.jobKinds filter on job kind (values 'preview', 'script', 'dependencies', 'flow') separated by,
2666
+ * @param data.suspended filter on suspended jobs
2667
+ * @param data.args filter on jobs containing those args as a json subset (@> in postgres)
2668
+ * @param data.tag filter on jobs with a given tag/worker group
2669
+ * @param data.result filter on jobs containing those result as a json subset (@> in postgres)
2670
+ * @param data.page which page to return (start at 1, default 1)
2671
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
2672
+ * @param data.isSkipped is the job skipped
2673
+ * @param data.isFlowStep is the job a flow step
2674
+ * @param data.hasNullParent has null parent
2675
+ * @param data.success filter on successful jobs
2676
+ * @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace)
2677
+ * @param data.isNotSchedule is not a scheduled job
2678
+ * @returns string uuids of jobs
2679
+ * @throws ApiError
2680
+ */
2681
+ export declare const listFilteredJobsUuids: (data: ListFilteredJobsUuidsData) => CancelablePromise<ListFilteredJobsUuidsResponse>;
2682
+ /**
2683
+ * get the ids of all queued jobs matching the given filters
2684
+ * @param data The data for the request.
2685
+ * @param data.workspace
2686
+ * @param data.orderDesc order by desc order (default true)
2687
+ * @param data.createdBy mask to filter exact matching user creator
2688
+ * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
2689
+ * @param data.scriptPathExact mask to filter exact matching path
2690
+ * @param data.scriptPathStart mask to filter matching starting path
2691
+ * @param data.schedulePath mask to filter by schedule path
2692
+ * @param data.scriptHash mask to filter exact matching path
2693
+ * @param data.startedBefore filter on started before (inclusive) timestamp
2694
+ * @param data.startedAfter filter on started after (exclusive) timestamp
2695
+ * @param data.success filter on successful jobs
2696
+ * @param data.scheduledForBeforeNow filter on jobs scheduled_for before now (hence waitinf for a worker)
2697
+ * @param data.jobKinds filter on job kind (values 'preview', 'script', 'dependencies', 'flow') separated by,
2698
+ * @param data.suspended filter on suspended jobs
2699
+ * @param data.running filter on running jobs
2700
+ * @param data.args filter on jobs containing those args as a json subset (@> in postgres)
2701
+ * @param data.result filter on jobs containing those result as a json subset (@> in postgres)
2702
+ * @param data.allowWildcards allow wildcards (*) in the filter of label, tag, worker
2703
+ * @param data.tag filter on jobs with a given tag/worker group
2704
+ * @param data.page which page to return (start at 1, default 1)
2705
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
2706
+ * @param data.concurrencyKey
2707
+ * @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace)
2708
+ * @param data.isNotSchedule is not a scheduled job
2709
+ * @returns string uuids of jobs
2710
+ * @throws ApiError
2711
+ */
2712
+ export declare const listFilteredQueueUuids: (data: ListFilteredQueueUuidsData) => CancelablePromise<ListFilteredQueueUuidsResponse>;
2713
+ /**
2714
+ * cancel jobs based on the given uuids
2715
+ * @param data The data for the request.
2716
+ * @param data.workspace
2717
+ * @param data.requestBody uuids of the jobs to cancel
2718
+ * @returns string uuids of canceled jobs
2719
+ * @throws ApiError
2720
+ */
2721
+ export declare const cancelSelection: (data: CancelSelectionData) => CancelablePromise<CancelSelectionResponse>;
2722
+ /**
2723
+ * list all completed jobs
2724
+ * @param data The data for the request.
2725
+ * @param data.workspace
2726
+ * @param data.orderDesc order by desc order (default true)
2727
+ * @param data.createdBy mask to filter exact matching user creator
2728
+ * @param data.label mask to filter exact matching job's label (job labels are completed jobs with as a result an object containing a string in the array at key 'wm_labels')
2729
+ * @param data.worker worker this job was ran on
2730
+ * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
2731
+ * @param data.scriptPathExact mask to filter exact matching path
2732
+ * @param data.scriptPathStart mask to filter matching starting path
2733
+ * @param data.schedulePath mask to filter by schedule path
2734
+ * @param data.scriptHash mask to filter exact matching path
2735
+ * @param data.startedBefore filter on started before (inclusive) timestamp
2736
+ * @param data.startedAfter filter on started after (exclusive) timestamp
2737
+ * @param data.success filter on successful jobs
2738
+ * @param data.jobKinds filter on job kind (values 'preview', 'script', 'dependencies', 'flow') separated by,
2739
+ * @param data.args filter on jobs containing those args as a json subset (@> in postgres)
2740
+ * @param data.result filter on jobs containing those result as a json subset (@> in postgres)
2741
+ * @param data.allowWildcards allow wildcards (*) in the filter of label, tag, worker
2742
+ * @param data.tag filter on jobs with a given tag/worker group
2743
+ * @param data.page which page to return (start at 1, default 1)
2744
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
2745
+ * @param data.isSkipped is the job skipped
2746
+ * @param data.isFlowStep is the job a flow step
2747
+ * @param data.hasNullParent has null parent
2748
+ * @param data.isNotSchedule is not a scheduled job
2749
+ * @returns CompletedJob All completed jobs
2750
+ * @throws ApiError
2751
+ */
2752
+ export declare const listCompletedJobs: (data: ListCompletedJobsData) => CancelablePromise<ListCompletedJobsResponse>;
2753
+ /**
2754
+ * list all jobs
2755
+ * @param data The data for the request.
2756
+ * @param data.workspace
2757
+ * @param data.createdBy mask to filter exact matching user creator
2758
+ * @param data.label mask to filter exact matching job's label (job labels are completed jobs with as a result an object containing a string in the array at key 'wm_labels')
2759
+ * @param data.worker worker this job was ran on
2760
+ * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
2761
+ * @param data.scriptPathExact mask to filter exact matching path
2762
+ * @param data.scriptPathStart mask to filter matching starting path
2763
+ * @param data.schedulePath mask to filter by schedule path
2764
+ * @param data.scriptHash mask to filter exact matching path
2765
+ * @param data.startedBefore filter on started before (inclusive) timestamp
2766
+ * @param data.startedAfter filter on started after (exclusive) timestamp
2767
+ * @param data.createdBefore filter on created before (inclusive) timestamp
2768
+ * @param data.createdAfter filter on created after (exclusive) timestamp
2769
+ * @param data.createdOrStartedBefore filter on created_at for non non started job and started_at otherwise before (inclusive) timestamp
2770
+ * @param data.running filter on running jobs
2771
+ * @param data.scheduledForBeforeNow filter on jobs scheduled_for before now (hence waitinf for a worker)
2772
+ * @param data.createdOrStartedAfter filter on created_at for non non started job and started_at otherwise after (exclusive) timestamp
2773
+ * @param data.createdOrStartedAfterCompletedJobs filter on created_at for non non started job and started_at otherwise after (exclusive) timestamp but only for the completed jobs
2774
+ * @param data.jobKinds filter on job kind (values 'preview', 'script', 'dependencies', 'flow') separated by,
2775
+ * @param data.suspended filter on suspended jobs
2776
+ * @param data.args filter on jobs containing those args as a json subset (@> in postgres)
2777
+ * @param data.tag filter on jobs with a given tag/worker group
2778
+ * @param data.result filter on jobs containing those result as a json subset (@> in postgres)
2779
+ * @param data.allowWildcards allow wildcards (*) in the filter of label, tag, worker
2780
+ * @param data.page which page to return (start at 1, default 1)
2781
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
2782
+ * @param data.isSkipped is the job skipped
2783
+ * @param data.isFlowStep is the job a flow step
2784
+ * @param data.hasNullParent has null parent
2785
+ * @param data.success filter on successful jobs
2786
+ * @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace)
2787
+ * @param data.isNotSchedule is not a scheduled job
2788
+ * @returns Job All jobs
2789
+ * @throws ApiError
2790
+ */
2791
+ export declare const listJobs: (data: ListJobsData) => CancelablePromise<ListJobsResponse>;
2792
+ /**
2793
+ * get db clock
2794
+ * @returns number the timestamp of the db that can be used to compute the drift
2795
+ * @throws ApiError
2796
+ */
2797
+ export declare const getDbClock: () => CancelablePromise<GetDbClockResponse>;
2798
+ /**
2799
+ * Count jobs by tag
2800
+ * @param data The data for the request.
2801
+ * @param data.horizonSecs Past Time horizon in seconds (when to start the count = now - horizon) (default is 3600)
2802
+ * @param data.workspaceId Specific workspace ID to filter results (optional)
2803
+ * @returns unknown Job counts by tag
2804
+ * @throws ApiError
2805
+ */
2806
+ export declare const countJobsByTag: (data?: CountJobsByTagData) => CancelablePromise<CountJobsByTagResponse>;
2807
+ /**
2808
+ * get job
2809
+ * @param data The data for the request.
2810
+ * @param data.workspace
2811
+ * @param data.id
2812
+ * @param data.noLogs
2813
+ * @param data.noCode
2814
+ * @returns Job job details
2815
+ * @throws ApiError
2816
+ */
2817
+ export declare const getJob: (data: GetJobData) => CancelablePromise<GetJobResponse>;
2818
+ /**
2819
+ * get root job id
2820
+ * @param data The data for the request.
2821
+ * @param data.workspace
2822
+ * @param data.id
2823
+ * @returns string get root job id
2824
+ * @throws ApiError
2825
+ */
2826
+ export declare const getRootJobId: (data: GetRootJobIdData) => CancelablePromise<GetRootJobIdResponse>;
2827
+ /**
2828
+ * get job logs
2829
+ * @param data The data for the request.
2830
+ * @param data.workspace
2831
+ * @param data.id
2832
+ * @returns string job details
2833
+ * @throws ApiError
2834
+ */
2835
+ export declare const getJobLogs: (data: GetJobLogsData) => CancelablePromise<GetJobLogsResponse>;
2836
+ /**
2837
+ * get job args
2838
+ * @param data The data for the request.
2839
+ * @param data.workspace
2840
+ * @param data.id
2841
+ * @returns unknown job args
2842
+ * @throws ApiError
2843
+ */
2844
+ export declare const getJobArgs: (data: GetJobArgsData) => CancelablePromise<GetJobArgsResponse>;
2845
+ /**
2846
+ * get job updates
2847
+ * @param data The data for the request.
2848
+ * @param data.workspace
2849
+ * @param data.id
2850
+ * @param data.running
2851
+ * @param data.logOffset
2852
+ * @param data.getProgress
2853
+ * @returns unknown job details
2854
+ * @throws ApiError
2855
+ */
2856
+ export declare const getJobUpdates: (data: GetJobUpdatesData) => CancelablePromise<GetJobUpdatesResponse>;
2857
+ /**
2858
+ * get job updates via server-sent events
2859
+ * @param data The data for the request.
2860
+ * @param data.workspace
2861
+ * @param data.id
2862
+ * @param data.running
2863
+ * @param data.logOffset
2864
+ * @param data.getProgress
2865
+ * @param data.onlyResult
2866
+ * @returns string server-sent events stream of job updates
2867
+ * @throws ApiError
2868
+ */
2869
+ export declare const getJobUpdatesSse: (data: GetJobUpdatesSseData) => CancelablePromise<GetJobUpdatesSseResponse>;
2870
+ /**
2871
+ * get log file from object store
2872
+ * @param data The data for the request.
2873
+ * @param data.workspace
2874
+ * @param data.path
2875
+ * @returns string job log
2876
+ * @throws ApiError
2877
+ */
2878
+ export declare const getLogFileFromStore: (data: GetLogFileFromStoreData) => CancelablePromise<GetLogFileFromStoreResponse>;
2879
+ /**
2880
+ * get flow debug info
2881
+ * @param data The data for the request.
2882
+ * @param data.workspace
2883
+ * @param data.id
2884
+ * @returns unknown flow debug info details
2885
+ * @throws ApiError
2886
+ */
2887
+ export declare const getFlowDebugInfo: (data: GetFlowDebugInfoData) => CancelablePromise<GetFlowDebugInfoResponse>;
2888
+ /**
2889
+ * get completed job
2890
+ * @param data The data for the request.
2891
+ * @param data.workspace
2892
+ * @param data.id
2893
+ * @returns CompletedJob job details
2894
+ * @throws ApiError
2895
+ */
2896
+ export declare const getCompletedJob: (data: GetCompletedJobData) => CancelablePromise<GetCompletedJobResponse>;
2897
+ /**
2898
+ * get completed job result
2899
+ * @param data The data for the request.
2900
+ * @param data.workspace
2901
+ * @param data.id
2902
+ * @param data.suspendedJob
2903
+ * @param data.resumeId
2904
+ * @param data.secret
2905
+ * @param data.approver
2906
+ * @returns unknown result
2907
+ * @throws ApiError
2908
+ */
2909
+ export declare const getCompletedJobResult: (data: GetCompletedJobResultData) => CancelablePromise<GetCompletedJobResultResponse>;
2910
+ /**
2911
+ * get completed job result if job is completed
2912
+ * @param data The data for the request.
2913
+ * @param data.workspace
2914
+ * @param data.id
2915
+ * @param data.getStarted
2916
+ * @returns unknown result
2917
+ * @throws ApiError
2918
+ */
2919
+ export declare const getCompletedJobResultMaybe: (data: GetCompletedJobResultMaybeData) => CancelablePromise<GetCompletedJobResultMaybeResponse>;
2920
+ /**
2921
+ * delete completed job (erase content but keep run id)
2922
+ * @param data The data for the request.
2923
+ * @param data.workspace
2924
+ * @param data.id
2925
+ * @returns CompletedJob job details
2926
+ * @throws ApiError
2927
+ */
2928
+ export declare const deleteCompletedJob: (data: DeleteCompletedJobData) => CancelablePromise<DeleteCompletedJobResponse>;
2929
+ /**
2930
+ * cancel queued or running job
2931
+ * @param data The data for the request.
2932
+ * @param data.workspace
2933
+ * @param data.id
2934
+ * @param data.requestBody reason
2935
+ * @returns string job canceled
2936
+ * @throws ApiError
2937
+ */
2938
+ export declare const cancelQueuedJob: (data: CancelQueuedJobData) => CancelablePromise<CancelQueuedJobResponse>;
2939
+ /**
2940
+ * cancel all queued jobs for persistent script
2941
+ * @param data The data for the request.
2942
+ * @param data.workspace
2943
+ * @param data.path
2944
+ * @param data.requestBody reason
2945
+ * @returns string persistent job scaled down to zero
2946
+ * @throws ApiError
2947
+ */
2948
+ export declare const cancelPersistentQueuedJobs: (data: CancelPersistentQueuedJobsData) => CancelablePromise<CancelPersistentQueuedJobsResponse>;
2949
+ /**
2950
+ * force cancel queued job
2951
+ * @param data The data for the request.
2952
+ * @param data.workspace
2953
+ * @param data.id
2954
+ * @param data.requestBody reason
2955
+ * @returns string job canceled
2956
+ * @throws ApiError
2957
+ */
2958
+ export declare const forceCancelQueuedJob: (data: ForceCancelQueuedJobData) => CancelablePromise<ForceCancelQueuedJobResponse>;
2959
+ /**
2960
+ * create an HMac signature given a job id and a resume id
2961
+ * @param data The data for the request.
2962
+ * @param data.workspace
2963
+ * @param data.id
2964
+ * @param data.resumeId
2965
+ * @param data.approver
2966
+ * @returns string job signature
2967
+ * @throws ApiError
2968
+ */
2969
+ export declare const createJobSignature: (data: CreateJobSignatureData) => CancelablePromise<CreateJobSignatureResponse>;
2970
+ /**
2971
+ * get resume urls given a job_id, resume_id and a nonce to resume a flow
2972
+ * @param data The data for the request.
2973
+ * @param data.workspace
2974
+ * @param data.id
2975
+ * @param data.resumeId
2976
+ * @param data.approver
2977
+ * @returns unknown url endpoints
2978
+ * @throws ApiError
2979
+ */
2980
+ export declare const getResumeUrls: (data: GetResumeUrlsData) => CancelablePromise<GetResumeUrlsResponse>;
2981
+ /**
2982
+ * generate interactive slack approval for suspended job
2983
+ * @param data The data for the request.
2984
+ * @param data.workspace
2985
+ * @param data.id
2986
+ * @param data.slackResourcePath
2987
+ * @param data.channelId
2988
+ * @param data.flowStepId
2989
+ * @param data.approver
2990
+ * @param data.message
2991
+ * @param data.defaultArgsJson
2992
+ * @param data.dynamicEnumsJson
2993
+ * @returns unknown Interactive slack approval message sent successfully
2994
+ * @throws ApiError
2995
+ */
2996
+ export declare const getSlackApprovalPayload: (data: GetSlackApprovalPayloadData) => CancelablePromise<GetSlackApprovalPayloadResponse>;
2997
+ /**
2998
+ * generate interactive teams approval for suspended job
2999
+ * @param data The data for the request.
3000
+ * @param data.workspace
3001
+ * @param data.id
3002
+ * @param data.teamName
3003
+ * @param data.channelName
3004
+ * @param data.flowStepId
3005
+ * @param data.approver
3006
+ * @param data.message
3007
+ * @param data.defaultArgsJson
3008
+ * @param data.dynamicEnumsJson
3009
+ * @returns unknown Interactive slack approval message sent successfully
3010
+ * @throws ApiError
3011
+ */
3012
+ export declare const getTeamsApprovalPayload: (data: GetTeamsApprovalPayloadData) => CancelablePromise<GetTeamsApprovalPayloadResponse>;
3013
+ /**
3014
+ * resume a job for a suspended flow
3015
+ * @param data The data for the request.
3016
+ * @param data.workspace
3017
+ * @param data.id
3018
+ * @param data.resumeId
3019
+ * @param data.signature
3020
+ * @param data.payload The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent
3021
+ * `encodeURIComponent(btoa(JSON.stringify({a: 2})))`
3022
+ *
3023
+ * @param data.approver
3024
+ * @returns string job resumed
3025
+ * @throws ApiError
3026
+ */
3027
+ export declare const resumeSuspendedJobGet: (data: ResumeSuspendedJobGetData) => CancelablePromise<ResumeSuspendedJobGetResponse>;
3028
+ /**
3029
+ * resume a job for a suspended flow
3030
+ * @param data The data for the request.
3031
+ * @param data.workspace
3032
+ * @param data.id
3033
+ * @param data.resumeId
3034
+ * @param data.signature
3035
+ * @param data.requestBody
3036
+ * @param data.approver
3037
+ * @returns string job resumed
3038
+ * @throws ApiError
3039
+ */
3040
+ export declare const resumeSuspendedJobPost: (data: ResumeSuspendedJobPostData) => CancelablePromise<ResumeSuspendedJobPostResponse>;
3041
+ /**
3042
+ * set flow user state at a given key
3043
+ * @param data The data for the request.
3044
+ * @param data.workspace
3045
+ * @param data.id
3046
+ * @param data.key
3047
+ * @param data.requestBody new value
3048
+ * @returns string flow user state updated
3049
+ * @throws ApiError
3050
+ */
3051
+ export declare const setFlowUserState: (data: SetFlowUserStateData) => CancelablePromise<SetFlowUserStateResponse>;
3052
+ /**
3053
+ * get flow user state at a given key
3054
+ * @param data The data for the request.
3055
+ * @param data.workspace
3056
+ * @param data.id
3057
+ * @param data.key
3058
+ * @returns unknown flow user state updated
3059
+ * @throws ApiError
3060
+ */
3061
+ export declare const getFlowUserState: (data: GetFlowUserStateData) => CancelablePromise<GetFlowUserStateResponse>;
3062
+ /**
3063
+ * resume a job for a suspended flow as an owner
3064
+ * @param data The data for the request.
3065
+ * @param data.workspace
3066
+ * @param data.id
3067
+ * @param data.requestBody
3068
+ * @returns string job resumed
3069
+ * @throws ApiError
3070
+ */
3071
+ export declare const resumeSuspendedFlowAsOwner: (data: ResumeSuspendedFlowAsOwnerData) => CancelablePromise<ResumeSuspendedFlowAsOwnerResponse>;
3072
+ /**
3073
+ * cancel a job for a suspended flow
3074
+ * @param data The data for the request.
3075
+ * @param data.workspace
3076
+ * @param data.id
3077
+ * @param data.resumeId
3078
+ * @param data.signature
3079
+ * @param data.approver
3080
+ * @returns string job canceled
3081
+ * @throws ApiError
3082
+ */
3083
+ export declare const cancelSuspendedJobGet: (data: CancelSuspendedJobGetData) => CancelablePromise<CancelSuspendedJobGetResponse>;
3084
+ /**
3085
+ * cancel a job for a suspended flow
3086
+ * @param data The data for the request.
3087
+ * @param data.workspace
3088
+ * @param data.id
3089
+ * @param data.resumeId
3090
+ * @param data.signature
3091
+ * @param data.requestBody
3092
+ * @param data.approver
3093
+ * @returns string job canceled
3094
+ * @throws ApiError
3095
+ */
3096
+ export declare const cancelSuspendedJobPost: (data: CancelSuspendedJobPostData) => CancelablePromise<CancelSuspendedJobPostResponse>;
3097
+ /**
3098
+ * get parent flow job of suspended job
3099
+ * @param data The data for the request.
3100
+ * @param data.workspace
3101
+ * @param data.id
3102
+ * @param data.resumeId
3103
+ * @param data.signature
3104
+ * @param data.approver
3105
+ * @returns unknown parent flow details
3106
+ * @throws ApiError
3107
+ */
3108
+ export declare const getSuspendedJobFlow: (data: GetSuspendedJobFlowData) => CancelablePromise<GetSuspendedJobFlowResponse>;
3109
+ /**
3110
+ * preview schedule
3111
+ * @param data The data for the request.
3112
+ * @param data.requestBody schedule
3113
+ * @returns string List of 5 estimated upcoming execution events (in UTC)
3114
+ * @throws ApiError
3115
+ */
3116
+ export declare const previewSchedule: (data: PreviewScheduleData) => CancelablePromise<PreviewScheduleResponse>;
3117
+ /**
3118
+ * create schedule
3119
+ * @param data The data for the request.
3120
+ * @param data.workspace
3121
+ * @param data.requestBody new schedule
3122
+ * @returns string schedule created
3123
+ * @throws ApiError
3124
+ */
3125
+ export declare const createSchedule: (data: CreateScheduleData) => CancelablePromise<CreateScheduleResponse>;
3126
+ /**
3127
+ * update schedule
3128
+ * @param data The data for the request.
3129
+ * @param data.workspace
3130
+ * @param data.path
3131
+ * @param data.requestBody updated schedule
3132
+ * @returns string schedule updated
3133
+ * @throws ApiError
3134
+ */
3135
+ export declare const updateSchedule: (data: UpdateScheduleData) => CancelablePromise<UpdateScheduleResponse>;
3136
+ /**
3137
+ * set enabled schedule
3138
+ * @param data The data for the request.
3139
+ * @param data.workspace
3140
+ * @param data.path
3141
+ * @param data.requestBody updated schedule enable
3142
+ * @returns string schedule enabled set
3143
+ * @throws ApiError
3144
+ */
3145
+ export declare const setScheduleEnabled: (data: SetScheduleEnabledData) => CancelablePromise<SetScheduleEnabledResponse>;
3146
+ /**
3147
+ * delete schedule
3148
+ * @param data The data for the request.
3149
+ * @param data.workspace
3150
+ * @param data.path
3151
+ * @returns string schedule deleted
3152
+ * @throws ApiError
3153
+ */
3154
+ export declare const deleteSchedule: (data: DeleteScheduleData) => CancelablePromise<DeleteScheduleResponse>;
3155
+ /**
3156
+ * get schedule
3157
+ * @param data The data for the request.
3158
+ * @param data.workspace
3159
+ * @param data.path
3160
+ * @returns Schedule schedule deleted
3161
+ * @throws ApiError
3162
+ */
3163
+ export declare const getSchedule: (data: GetScheduleData) => CancelablePromise<GetScheduleResponse>;
3164
+ /**
3165
+ * does schedule exists
3166
+ * @param data The data for the request.
3167
+ * @param data.workspace
3168
+ * @param data.path
3169
+ * @returns boolean schedule exists
3170
+ * @throws ApiError
3171
+ */
3172
+ export declare const existsSchedule: (data: ExistsScheduleData) => CancelablePromise<ExistsScheduleResponse>;
3173
+ /**
3174
+ * list schedules
3175
+ * @param data The data for the request.
3176
+ * @param data.workspace
3177
+ * @param data.page which page to return (start at 1, default 1)
3178
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
3179
+ * @param data.args filter on jobs containing those args as a json subset (@> in postgres)
3180
+ * @param data.path filter by path
3181
+ * @param data.isFlow
3182
+ * @param data.pathStart
3183
+ * @returns Schedule schedule list
3184
+ * @throws ApiError
3185
+ */
3186
+ export declare const listSchedules: (data: ListSchedulesData) => CancelablePromise<ListSchedulesResponse>;
3187
+ /**
3188
+ * list schedules with last 20 jobs
3189
+ * @param data The data for the request.
3190
+ * @param data.workspace
3191
+ * @param data.page which page to return (start at 1, default 1)
3192
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
3193
+ * @returns ScheduleWJobs schedule list
3194
+ * @throws ApiError
3195
+ */
3196
+ export declare const listSchedulesWithJobs: (data: ListSchedulesWithJobsData) => CancelablePromise<ListSchedulesWithJobsResponse>;
3197
+ /**
3198
+ * Set default error or recoevery handler
3199
+ * @param data The data for the request.
3200
+ * @param data.workspace
3201
+ * @param data.requestBody Handler description
3202
+ * @returns unknown default error handler set
3203
+ * @throws ApiError
3204
+ */
3205
+ export declare const setDefaultErrorOrRecoveryHandler: (data: SetDefaultErrorOrRecoveryHandlerData) => CancelablePromise<SetDefaultErrorOrRecoveryHandlerResponse>;
3206
+ /**
3207
+ * generate openapi spec from http routes/webhook
3208
+ * @param data The data for the request.
3209
+ * @param data.workspace
3210
+ * @param data.requestBody openapi spec info and url
3211
+ * @returns string openapi spec
3212
+ * @throws ApiError
3213
+ */
3214
+ export declare const generateOpenapiSpec: (data: GenerateOpenapiSpecData) => CancelablePromise<GenerateOpenapiSpecResponse>;
3215
+ /**
3216
+ * Download the OpenAPI v3.1 spec as a file
3217
+ * @param data The data for the request.
3218
+ * @param data.workspace
3219
+ * @param data.requestBody openapi spec info and url
3220
+ * @returns binary Downloaded OpenAPI spec
3221
+ * @throws ApiError
3222
+ */
3223
+ export declare const downloadOpenapiSpec: (data: DownloadOpenapiSpecData) => CancelablePromise<DownloadOpenapiSpecResponse>;
3224
+ /**
3225
+ * create many HTTP triggers
3226
+ * @param data The data for the request.
3227
+ * @param data.workspace
3228
+ * @param data.requestBody new http trigger
3229
+ * @returns string http trigger created
3230
+ * @throws ApiError
3231
+ */
3232
+ export declare const createHttpTriggers: (data: CreateHttpTriggersData) => CancelablePromise<CreateHttpTriggersResponse>;
3233
+ /**
3234
+ * create http trigger
3235
+ * @param data The data for the request.
3236
+ * @param data.workspace
3237
+ * @param data.requestBody new http trigger
3238
+ * @returns string http trigger created
3239
+ * @throws ApiError
3240
+ */
3241
+ export declare const createHttpTrigger: (data: CreateHttpTriggerData) => CancelablePromise<CreateHttpTriggerResponse>;
3242
+ /**
3243
+ * update http trigger
3244
+ * @param data The data for the request.
3245
+ * @param data.workspace
3246
+ * @param data.path
3247
+ * @param data.requestBody updated trigger
3248
+ * @returns string http trigger updated
3249
+ * @throws ApiError
3250
+ */
3251
+ export declare const updateHttpTrigger: (data: UpdateHttpTriggerData) => CancelablePromise<UpdateHttpTriggerResponse>;
3252
+ /**
3253
+ * delete http trigger
3254
+ * @param data The data for the request.
3255
+ * @param data.workspace
3256
+ * @param data.path
3257
+ * @returns string http trigger deleted
3258
+ * @throws ApiError
3259
+ */
3260
+ export declare const deleteHttpTrigger: (data: DeleteHttpTriggerData) => CancelablePromise<DeleteHttpTriggerResponse>;
3261
+ /**
3262
+ * get http trigger
3263
+ * @param data The data for the request.
3264
+ * @param data.workspace
3265
+ * @param data.path
3266
+ * @returns HttpTrigger http trigger deleted
3267
+ * @throws ApiError
3268
+ */
3269
+ export declare const getHttpTrigger: (data: GetHttpTriggerData) => CancelablePromise<GetHttpTriggerResponse>;
3270
+ /**
3271
+ * list http triggers
3272
+ * @param data The data for the request.
3273
+ * @param data.workspace
3274
+ * @param data.page which page to return (start at 1, default 1)
3275
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
3276
+ * @param data.path filter by path
3277
+ * @param data.isFlow
3278
+ * @param data.pathStart
3279
+ * @returns HttpTrigger http trigger list
3280
+ * @throws ApiError
3281
+ */
3282
+ export declare const listHttpTriggers: (data: ListHttpTriggersData) => CancelablePromise<ListHttpTriggersResponse>;
3283
+ /**
3284
+ * does http trigger exists
3285
+ * @param data The data for the request.
3286
+ * @param data.workspace
3287
+ * @param data.path
3288
+ * @returns boolean http trigger exists
3289
+ * @throws ApiError
3290
+ */
3291
+ export declare const existsHttpTrigger: (data: ExistsHttpTriggerData) => CancelablePromise<ExistsHttpTriggerResponse>;
3292
+ /**
3293
+ * does route exists
3294
+ * @param data The data for the request.
3295
+ * @param data.workspace
3296
+ * @param data.requestBody route exists request
3297
+ * @returns boolean route exists
3298
+ * @throws ApiError
3299
+ */
3300
+ export declare const existsRoute: (data: ExistsRouteData) => CancelablePromise<ExistsRouteResponse>;
3301
+ /**
3302
+ * create websocket trigger
3303
+ * @param data The data for the request.
3304
+ * @param data.workspace
3305
+ * @param data.requestBody new websocket trigger
3306
+ * @returns string websocket trigger created
3307
+ * @throws ApiError
3308
+ */
3309
+ export declare const createWebsocketTrigger: (data: CreateWebsocketTriggerData) => CancelablePromise<CreateWebsocketTriggerResponse>;
3310
+ /**
3311
+ * update websocket trigger
3312
+ * @param data The data for the request.
3313
+ * @param data.workspace
3314
+ * @param data.path
3315
+ * @param data.requestBody updated trigger
3316
+ * @returns string websocket trigger updated
3317
+ * @throws ApiError
3318
+ */
3319
+ export declare const updateWebsocketTrigger: (data: UpdateWebsocketTriggerData) => CancelablePromise<UpdateWebsocketTriggerResponse>;
3320
+ /**
3321
+ * delete websocket trigger
3322
+ * @param data The data for the request.
3323
+ * @param data.workspace
3324
+ * @param data.path
3325
+ * @returns string websocket trigger deleted
3326
+ * @throws ApiError
3327
+ */
3328
+ export declare const deleteWebsocketTrigger: (data: DeleteWebsocketTriggerData) => CancelablePromise<DeleteWebsocketTriggerResponse>;
3329
+ /**
3330
+ * get websocket trigger
3331
+ * @param data The data for the request.
3332
+ * @param data.workspace
3333
+ * @param data.path
3334
+ * @returns WebsocketTrigger websocket trigger deleted
3335
+ * @throws ApiError
3336
+ */
3337
+ export declare const getWebsocketTrigger: (data: GetWebsocketTriggerData) => CancelablePromise<GetWebsocketTriggerResponse>;
3338
+ /**
3339
+ * list websocket triggers
3340
+ * @param data The data for the request.
3341
+ * @param data.workspace
3342
+ * @param data.page which page to return (start at 1, default 1)
3343
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
3344
+ * @param data.path filter by path
3345
+ * @param data.isFlow
3346
+ * @param data.pathStart
3347
+ * @returns WebsocketTrigger websocket trigger list
3348
+ * @throws ApiError
3349
+ */
3350
+ export declare const listWebsocketTriggers: (data: ListWebsocketTriggersData) => CancelablePromise<ListWebsocketTriggersResponse>;
3351
+ /**
3352
+ * does websocket trigger exists
3353
+ * @param data The data for the request.
3354
+ * @param data.workspace
3355
+ * @param data.path
3356
+ * @returns boolean websocket trigger exists
3357
+ * @throws ApiError
3358
+ */
3359
+ export declare const existsWebsocketTrigger: (data: ExistsWebsocketTriggerData) => CancelablePromise<ExistsWebsocketTriggerResponse>;
3360
+ /**
3361
+ * set enabled websocket trigger
3362
+ * @param data The data for the request.
3363
+ * @param data.workspace
3364
+ * @param data.path
3365
+ * @param data.requestBody updated websocket trigger enable
3366
+ * @returns string websocket trigger enabled set
3367
+ * @throws ApiError
3368
+ */
3369
+ export declare const setWebsocketTriggerEnabled: (data: SetWebsocketTriggerEnabledData) => CancelablePromise<SetWebsocketTriggerEnabledResponse>;
3370
+ /**
3371
+ * test websocket connection
3372
+ * @param data The data for the request.
3373
+ * @param data.workspace
3374
+ * @param data.requestBody test websocket connection
3375
+ * @returns string successfuly connected to websocket
3376
+ * @throws ApiError
3377
+ */
3378
+ export declare const testWebsocketConnection: (data: TestWebsocketConnectionData) => CancelablePromise<TestWebsocketConnectionResponse>;
3379
+ /**
3380
+ * create kafka trigger
3381
+ * @param data The data for the request.
3382
+ * @param data.workspace
3383
+ * @param data.requestBody new kafka trigger
3384
+ * @returns string kafka trigger created
3385
+ * @throws ApiError
3386
+ */
3387
+ export declare const createKafkaTrigger: (data: CreateKafkaTriggerData) => CancelablePromise<CreateKafkaTriggerResponse>;
3388
+ /**
3389
+ * update kafka trigger
3390
+ * @param data The data for the request.
3391
+ * @param data.workspace
3392
+ * @param data.path
3393
+ * @param data.requestBody updated trigger
3394
+ * @returns string kafka trigger updated
3395
+ * @throws ApiError
3396
+ */
3397
+ export declare const updateKafkaTrigger: (data: UpdateKafkaTriggerData) => CancelablePromise<UpdateKafkaTriggerResponse>;
3398
+ /**
3399
+ * delete kafka trigger
3400
+ * @param data The data for the request.
3401
+ * @param data.workspace
3402
+ * @param data.path
3403
+ * @returns string kafka trigger deleted
3404
+ * @throws ApiError
3405
+ */
3406
+ export declare const deleteKafkaTrigger: (data: DeleteKafkaTriggerData) => CancelablePromise<DeleteKafkaTriggerResponse>;
3407
+ /**
3408
+ * get kafka trigger
3409
+ * @param data The data for the request.
3410
+ * @param data.workspace
3411
+ * @param data.path
3412
+ * @returns KafkaTrigger kafka trigger deleted
3413
+ * @throws ApiError
3414
+ */
3415
+ export declare const getKafkaTrigger: (data: GetKafkaTriggerData) => CancelablePromise<GetKafkaTriggerResponse>;
3416
+ /**
3417
+ * list kafka triggers
3418
+ * @param data The data for the request.
3419
+ * @param data.workspace
3420
+ * @param data.page which page to return (start at 1, default 1)
3421
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
3422
+ * @param data.path filter by path
3423
+ * @param data.isFlow
3424
+ * @param data.pathStart
3425
+ * @returns KafkaTrigger kafka trigger list
3426
+ * @throws ApiError
3427
+ */
3428
+ export declare const listKafkaTriggers: (data: ListKafkaTriggersData) => CancelablePromise<ListKafkaTriggersResponse>;
3429
+ /**
3430
+ * does kafka trigger exists
3431
+ * @param data The data for the request.
3432
+ * @param data.workspace
3433
+ * @param data.path
3434
+ * @returns boolean kafka trigger exists
3435
+ * @throws ApiError
3436
+ */
3437
+ export declare const existsKafkaTrigger: (data: ExistsKafkaTriggerData) => CancelablePromise<ExistsKafkaTriggerResponse>;
3438
+ /**
3439
+ * set enabled kafka trigger
3440
+ * @param data The data for the request.
3441
+ * @param data.workspace
3442
+ * @param data.path
3443
+ * @param data.requestBody updated kafka trigger enable
3444
+ * @returns string kafka trigger enabled set
3445
+ * @throws ApiError
3446
+ */
3447
+ export declare const setKafkaTriggerEnabled: (data: SetKafkaTriggerEnabledData) => CancelablePromise<SetKafkaTriggerEnabledResponse>;
3448
+ /**
3449
+ * test kafka connection
3450
+ * @param data The data for the request.
3451
+ * @param data.workspace
3452
+ * @param data.requestBody test kafka connection
3453
+ * @returns string successfuly connected to kafka brokers
3454
+ * @throws ApiError
3455
+ */
3456
+ export declare const testKafkaConnection: (data: TestKafkaConnectionData) => CancelablePromise<TestKafkaConnectionResponse>;
3457
+ /**
3458
+ * create nats trigger
3459
+ * @param data The data for the request.
3460
+ * @param data.workspace
3461
+ * @param data.requestBody new nats trigger
3462
+ * @returns string nats trigger created
3463
+ * @throws ApiError
3464
+ */
3465
+ export declare const createNatsTrigger: (data: CreateNatsTriggerData) => CancelablePromise<CreateNatsTriggerResponse>;
3466
+ /**
3467
+ * update nats trigger
3468
+ * @param data The data for the request.
3469
+ * @param data.workspace
3470
+ * @param data.path
3471
+ * @param data.requestBody updated trigger
3472
+ * @returns string nats trigger updated
3473
+ * @throws ApiError
3474
+ */
3475
+ export declare const updateNatsTrigger: (data: UpdateNatsTriggerData) => CancelablePromise<UpdateNatsTriggerResponse>;
3476
+ /**
3477
+ * delete nats trigger
3478
+ * @param data The data for the request.
3479
+ * @param data.workspace
3480
+ * @param data.path
3481
+ * @returns string nats trigger deleted
3482
+ * @throws ApiError
3483
+ */
3484
+ export declare const deleteNatsTrigger: (data: DeleteNatsTriggerData) => CancelablePromise<DeleteNatsTriggerResponse>;
3485
+ /**
3486
+ * get nats trigger
3487
+ * @param data The data for the request.
3488
+ * @param data.workspace
3489
+ * @param data.path
3490
+ * @returns NatsTrigger nats trigger deleted
3491
+ * @throws ApiError
3492
+ */
3493
+ export declare const getNatsTrigger: (data: GetNatsTriggerData) => CancelablePromise<GetNatsTriggerResponse>;
3494
+ /**
3495
+ * list nats triggers
3496
+ * @param data The data for the request.
3497
+ * @param data.workspace
3498
+ * @param data.page which page to return (start at 1, default 1)
3499
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
3500
+ * @param data.path filter by path
3501
+ * @param data.isFlow
3502
+ * @param data.pathStart
3503
+ * @returns NatsTrigger nats trigger list
3504
+ * @throws ApiError
3505
+ */
3506
+ export declare const listNatsTriggers: (data: ListNatsTriggersData) => CancelablePromise<ListNatsTriggersResponse>;
3507
+ /**
3508
+ * does nats trigger exists
3509
+ * @param data The data for the request.
3510
+ * @param data.workspace
3511
+ * @param data.path
3512
+ * @returns boolean nats trigger exists
3513
+ * @throws ApiError
3514
+ */
3515
+ export declare const existsNatsTrigger: (data: ExistsNatsTriggerData) => CancelablePromise<ExistsNatsTriggerResponse>;
3516
+ /**
3517
+ * set enabled nats trigger
3518
+ * @param data The data for the request.
3519
+ * @param data.workspace
3520
+ * @param data.path
3521
+ * @param data.requestBody updated nats trigger enable
3522
+ * @returns string nats trigger enabled set
3523
+ * @throws ApiError
3524
+ */
3525
+ export declare const setNatsTriggerEnabled: (data: SetNatsTriggerEnabledData) => CancelablePromise<SetNatsTriggerEnabledResponse>;
3526
+ /**
3527
+ * test NATS connection
3528
+ * @param data The data for the request.
3529
+ * @param data.workspace
3530
+ * @param data.requestBody test nats connection
3531
+ * @returns string successfuly connected to NATS servers
3532
+ * @throws ApiError
3533
+ */
3534
+ export declare const testNatsConnection: (data: TestNatsConnectionData) => CancelablePromise<TestNatsConnectionResponse>;
3535
+ /**
3536
+ * create sqs trigger
3537
+ * @param data The data for the request.
3538
+ * @param data.workspace
3539
+ * @param data.requestBody new sqs trigger
3540
+ * @returns string sqs trigger created
3541
+ * @throws ApiError
3542
+ */
3543
+ export declare const createSqsTrigger: (data: CreateSqsTriggerData) => CancelablePromise<CreateSqsTriggerResponse>;
3544
+ /**
3545
+ * update sqs trigger
3546
+ * @param data The data for the request.
3547
+ * @param data.workspace
3548
+ * @param data.path
3549
+ * @param data.requestBody updated trigger
3550
+ * @returns string sqs trigger updated
3551
+ * @throws ApiError
3552
+ */
3553
+ export declare const updateSqsTrigger: (data: UpdateSqsTriggerData) => CancelablePromise<UpdateSqsTriggerResponse>;
3554
+ /**
3555
+ * delete sqs trigger
3556
+ * @param data The data for the request.
3557
+ * @param data.workspace
3558
+ * @param data.path
3559
+ * @returns string sqs trigger deleted
3560
+ * @throws ApiError
3561
+ */
3562
+ export declare const deleteSqsTrigger: (data: DeleteSqsTriggerData) => CancelablePromise<DeleteSqsTriggerResponse>;
3563
+ /**
3564
+ * get sqs trigger
3565
+ * @param data The data for the request.
3566
+ * @param data.workspace
3567
+ * @param data.path
3568
+ * @returns SqsTrigger sqs trigger deleted
3569
+ * @throws ApiError
3570
+ */
3571
+ export declare const getSqsTrigger: (data: GetSqsTriggerData) => CancelablePromise<GetSqsTriggerResponse>;
3572
+ /**
3573
+ * list sqs triggers
3574
+ * @param data The data for the request.
3575
+ * @param data.workspace
3576
+ * @param data.page which page to return (start at 1, default 1)
3577
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
3578
+ * @param data.path filter by path
3579
+ * @param data.isFlow
3580
+ * @param data.pathStart
3581
+ * @returns SqsTrigger sqs trigger list
3582
+ * @throws ApiError
3583
+ */
3584
+ export declare const listSqsTriggers: (data: ListSqsTriggersData) => CancelablePromise<ListSqsTriggersResponse>;
3585
+ /**
3586
+ * does sqs trigger exists
3587
+ * @param data The data for the request.
3588
+ * @param data.workspace
3589
+ * @param data.path
3590
+ * @returns boolean sqs trigger exists
3591
+ * @throws ApiError
3592
+ */
3593
+ export declare const existsSqsTrigger: (data: ExistsSqsTriggerData) => CancelablePromise<ExistsSqsTriggerResponse>;
3594
+ /**
3595
+ * set enabled sqs trigger
3596
+ * @param data The data for the request.
3597
+ * @param data.workspace
3598
+ * @param data.path
3599
+ * @param data.requestBody updated sqs trigger enable
3600
+ * @returns string sqs trigger enabled set
3601
+ * @throws ApiError
3602
+ */
3603
+ export declare const setSqsTriggerEnabled: (data: SetSqsTriggerEnabledData) => CancelablePromise<SetSqsTriggerEnabledResponse>;
3604
+ /**
3605
+ * test sqs connection
3606
+ * @param data The data for the request.
3607
+ * @param data.workspace
3608
+ * @param data.requestBody test sqs connection
3609
+ * @returns string successfuly connected to sqs
3610
+ * @throws ApiError
3611
+ */
3612
+ export declare const testSqsConnection: (data: TestSqsConnectionData) => CancelablePromise<TestSqsConnectionResponse>;
3613
+ /**
3614
+ * create mqtt trigger
3615
+ * @param data The data for the request.
3616
+ * @param data.workspace
3617
+ * @param data.requestBody new mqtt trigger
3618
+ * @returns string mqtt trigger created
3619
+ * @throws ApiError
3620
+ */
3621
+ export declare const createMqttTrigger: (data: CreateMqttTriggerData) => CancelablePromise<CreateMqttTriggerResponse>;
3622
+ /**
3623
+ * update mqtt trigger
3624
+ * @param data The data for the request.
3625
+ * @param data.workspace
3626
+ * @param data.path
3627
+ * @param data.requestBody updated trigger
3628
+ * @returns string mqtt trigger updated
3629
+ * @throws ApiError
3630
+ */
3631
+ export declare const updateMqttTrigger: (data: UpdateMqttTriggerData) => CancelablePromise<UpdateMqttTriggerResponse>;
3632
+ /**
3633
+ * delete mqtt trigger
3634
+ * @param data The data for the request.
3635
+ * @param data.workspace
3636
+ * @param data.path
3637
+ * @returns string mqtt trigger deleted
3638
+ * @throws ApiError
3639
+ */
3640
+ export declare const deleteMqttTrigger: (data: DeleteMqttTriggerData) => CancelablePromise<DeleteMqttTriggerResponse>;
3641
+ /**
3642
+ * get mqtt trigger
3643
+ * @param data The data for the request.
3644
+ * @param data.workspace
3645
+ * @param data.path
3646
+ * @returns MqttTrigger mqtt trigger deleted
3647
+ * @throws ApiError
3648
+ */
3649
+ export declare const getMqttTrigger: (data: GetMqttTriggerData) => CancelablePromise<GetMqttTriggerResponse>;
3650
+ /**
3651
+ * list mqtt triggers
3652
+ * @param data The data for the request.
3653
+ * @param data.workspace
3654
+ * @param data.page which page to return (start at 1, default 1)
3655
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
3656
+ * @param data.path filter by path
3657
+ * @param data.isFlow
3658
+ * @param data.pathStart
3659
+ * @returns MqttTrigger mqtt trigger list
3660
+ * @throws ApiError
3661
+ */
3662
+ export declare const listMqttTriggers: (data: ListMqttTriggersData) => CancelablePromise<ListMqttTriggersResponse>;
3663
+ /**
3664
+ * does mqtt trigger exists
3665
+ * @param data The data for the request.
3666
+ * @param data.workspace
3667
+ * @param data.path
3668
+ * @returns boolean mqtt trigger exists
3669
+ * @throws ApiError
3670
+ */
3671
+ export declare const existsMqttTrigger: (data: ExistsMqttTriggerData) => CancelablePromise<ExistsMqttTriggerResponse>;
3672
+ /**
3673
+ * set enabled mqtt trigger
3674
+ * @param data The data for the request.
3675
+ * @param data.workspace
3676
+ * @param data.path
3677
+ * @param data.requestBody updated mqtt trigger enable
3678
+ * @returns string mqtt trigger enabled set
3679
+ * @throws ApiError
3680
+ */
3681
+ export declare const setMqttTriggerEnabled: (data: SetMqttTriggerEnabledData) => CancelablePromise<SetMqttTriggerEnabledResponse>;
3682
+ /**
3683
+ * test mqtt connection
3684
+ * @param data The data for the request.
3685
+ * @param data.workspace
3686
+ * @param data.requestBody test mqtt connection
3687
+ * @returns string successfully connected to mqtt
3688
+ * @throws ApiError
3689
+ */
3690
+ export declare const testMqttConnection: (data: TestMqttConnectionData) => CancelablePromise<TestMqttConnectionResponse>;
3691
+ /**
3692
+ * create gcp trigger
3693
+ * @param data The data for the request.
3694
+ * @param data.workspace
3695
+ * @param data.requestBody new gcp trigger
3696
+ * @returns string gcp trigger created
3697
+ * @throws ApiError
3698
+ */
3699
+ export declare const createGcpTrigger: (data: CreateGcpTriggerData) => CancelablePromise<CreateGcpTriggerResponse>;
3700
+ /**
3701
+ * update gcp trigger
3702
+ * @param data The data for the request.
3703
+ * @param data.workspace
3704
+ * @param data.path
3705
+ * @param data.requestBody updated trigger
3706
+ * @returns string gcp trigger updated
3707
+ * @throws ApiError
3708
+ */
3709
+ export declare const updateGcpTrigger: (data: UpdateGcpTriggerData) => CancelablePromise<UpdateGcpTriggerResponse>;
3710
+ /**
3711
+ * delete gcp trigger
3712
+ * @param data The data for the request.
3713
+ * @param data.workspace
3714
+ * @param data.path
3715
+ * @returns string gcp trigger deleted
3716
+ * @throws ApiError
3717
+ */
3718
+ export declare const deleteGcpTrigger: (data: DeleteGcpTriggerData) => CancelablePromise<DeleteGcpTriggerResponse>;
3719
+ /**
3720
+ * get gcp trigger
3721
+ * @param data The data for the request.
3722
+ * @param data.workspace
3723
+ * @param data.path
3724
+ * @returns GcpTrigger gcp trigger deleted
3725
+ * @throws ApiError
3726
+ */
3727
+ export declare const getGcpTrigger: (data: GetGcpTriggerData) => CancelablePromise<GetGcpTriggerResponse>;
3728
+ /**
3729
+ * list gcp triggers
3730
+ * @param data The data for the request.
3731
+ * @param data.workspace
3732
+ * @param data.page which page to return (start at 1, default 1)
3733
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
3734
+ * @param data.path filter by path
3735
+ * @param data.isFlow
3736
+ * @param data.pathStart
3737
+ * @returns GcpTrigger gcp trigger list
3738
+ * @throws ApiError
3739
+ */
3740
+ export declare const listGcpTriggers: (data: ListGcpTriggersData) => CancelablePromise<ListGcpTriggersResponse>;
3741
+ /**
3742
+ * does gcp trigger exists
3743
+ * @param data The data for the request.
3744
+ * @param data.workspace
3745
+ * @param data.path
3746
+ * @returns boolean gcp trigger exists
3747
+ * @throws ApiError
3748
+ */
3749
+ export declare const existsGcpTrigger: (data: ExistsGcpTriggerData) => CancelablePromise<ExistsGcpTriggerResponse>;
3750
+ /**
3751
+ * set enabled gcp trigger
3752
+ * @param data The data for the request.
3753
+ * @param data.workspace
3754
+ * @param data.path
3755
+ * @param data.requestBody updated gcp trigger enable
3756
+ * @returns string gcp trigger enabled set
3757
+ * @throws ApiError
3758
+ */
3759
+ export declare const setGcpTriggerEnabled: (data: SetGcpTriggerEnabledData) => CancelablePromise<SetGcpTriggerEnabledResponse>;
3760
+ /**
3761
+ * test gcp connection
3762
+ * @param data The data for the request.
3763
+ * @param data.workspace
3764
+ * @param data.requestBody test gcp connection
3765
+ * @returns string try to connect to a gcp broker
3766
+ * @throws ApiError
3767
+ */
3768
+ export declare const testGcpConnection: (data: TestGcpConnectionData) => CancelablePromise<TestGcpConnectionResponse>;
3769
+ /**
3770
+ * delete gcp trigger
3771
+ * @param data The data for the request.
3772
+ * @param data.workspace
3773
+ * @param data.path
3774
+ * @param data.requestBody args to delete subscription from google cloud
3775
+ * @returns string gcp trigger deleted
3776
+ * @throws ApiError
3777
+ */
3778
+ export declare const deleteGcpSubscription: (data: DeleteGcpSubscriptionData) => CancelablePromise<DeleteGcpSubscriptionResponse>;
3779
+ /**
3780
+ * list all topics of google cloud service
3781
+ * @param data The data for the request.
3782
+ * @param data.workspace
3783
+ * @param data.path
3784
+ * @returns string get all google topics
3785
+ * @throws ApiError
3786
+ */
3787
+ export declare const listGoogleTopics: (data: ListGoogleTopicsData) => CancelablePromise<ListGoogleTopicsResponse>;
3788
+ /**
3789
+ * list all subscription of a give topic from google cloud service
3790
+ * @param data The data for the request.
3791
+ * @param data.workspace
3792
+ * @param data.path
3793
+ * @param data.requestBody args to get subscription's topic from google cloud
3794
+ * @returns string get all google topic subscriptions name
3795
+ * @throws ApiError
3796
+ */
3797
+ export declare const listAllTgoogleTopicSubscriptions: (data: ListAllTgoogleTopicSubscriptionsData) => CancelablePromise<ListAllTgoogleTopicSubscriptionsResponse>;
3798
+ /**
3799
+ * get postgres version
3800
+ * @param data The data for the request.
3801
+ * @param data.workspace
3802
+ * @param data.path
3803
+ * @returns string postgres version
3804
+ * @throws ApiError
3805
+ */
3806
+ export declare const getPostgresVersion: (data: GetPostgresVersionData) => CancelablePromise<GetPostgresVersionResponse>;
3807
+ /**
3808
+ * check if postgres configuration is set to logical
3809
+ * @param data The data for the request.
3810
+ * @param data.workspace
3811
+ * @param data.path
3812
+ * @returns boolean boolean that indicates if postgres is set to logical level or not
3813
+ * @throws ApiError
3814
+ */
3815
+ export declare const isValidPostgresConfiguration: (data: IsValidPostgresConfigurationData) => CancelablePromise<IsValidPostgresConfigurationResponse>;
3816
+ /**
3817
+ * create template script
3818
+ * @param data The data for the request.
3819
+ * @param data.workspace
3820
+ * @param data.requestBody template script
3821
+ * @returns string custom id to retrieve template script
3822
+ * @throws ApiError
3823
+ */
3824
+ export declare const createTemplateScript: (data: CreateTemplateScriptData) => CancelablePromise<CreateTemplateScriptResponse>;
3825
+ /**
3826
+ * get template script
3827
+ * @param data The data for the request.
3828
+ * @param data.workspace
3829
+ * @param data.id
3830
+ * @returns string template script
3831
+ * @throws ApiError
3832
+ */
3833
+ export declare const getTemplateScript: (data: GetTemplateScriptData) => CancelablePromise<GetTemplateScriptResponse>;
3834
+ /**
3835
+ * list postgres replication slot
3836
+ * @param data The data for the request.
3837
+ * @param data.workspace
3838
+ * @param data.path
3839
+ * @returns SlotList list postgres slot
3840
+ * @throws ApiError
3841
+ */
3842
+ export declare const listPostgresReplicationSlot: (data: ListPostgresReplicationSlotData) => CancelablePromise<ListPostgresReplicationSlotResponse>;
3843
+ /**
3844
+ * create replication slot for postgres
3845
+ * @param data The data for the request.
3846
+ * @param data.workspace
3847
+ * @param data.path
3848
+ * @param data.requestBody new slot for postgres
3849
+ * @returns string slot created
3850
+ * @throws ApiError
3851
+ */
3852
+ export declare const createPostgresReplicationSlot: (data: CreatePostgresReplicationSlotData) => CancelablePromise<CreatePostgresReplicationSlotResponse>;
3853
+ /**
3854
+ * delete postgres replication slot
3855
+ * @param data The data for the request.
3856
+ * @param data.workspace
3857
+ * @param data.path
3858
+ * @param data.requestBody replication slot of postgres
3859
+ * @returns string postgres replication slot deleted
3860
+ * @throws ApiError
3861
+ */
3862
+ export declare const deletePostgresReplicationSlot: (data: DeletePostgresReplicationSlotData) => CancelablePromise<DeletePostgresReplicationSlotResponse>;
3863
+ /**
3864
+ * list postgres publication
3865
+ * @param data The data for the request.
3866
+ * @param data.workspace
3867
+ * @param data.path
3868
+ * @returns string database publication list
3869
+ * @throws ApiError
3870
+ */
3871
+ export declare const listPostgresPublication: (data: ListPostgresPublicationData) => CancelablePromise<ListPostgresPublicationResponse>;
3872
+ /**
3873
+ * get postgres publication
3874
+ * @param data The data for the request.
3875
+ * @param data.workspace
3876
+ * @param data.path
3877
+ * @param data.publication
3878
+ * @returns PublicationData postgres publication get
3879
+ * @throws ApiError
3880
+ */
3881
+ export declare const getPostgresPublication: (data: GetPostgresPublicationData) => CancelablePromise<GetPostgresPublicationResponse>;
3882
+ /**
3883
+ * create publication for postgres
3884
+ * @param data The data for the request.
3885
+ * @param data.workspace
3886
+ * @param data.path
3887
+ * @param data.publication
3888
+ * @param data.requestBody new publication for postgres
3889
+ * @returns string publication created
3890
+ * @throws ApiError
3891
+ */
3892
+ export declare const createPostgresPublication: (data: CreatePostgresPublicationData) => CancelablePromise<CreatePostgresPublicationResponse>;
3893
+ /**
3894
+ * update publication for postgres
3895
+ * @param data The data for the request.
3896
+ * @param data.workspace
3897
+ * @param data.path
3898
+ * @param data.publication
3899
+ * @param data.requestBody update publication for postgres
3900
+ * @returns string publication updated
3901
+ * @throws ApiError
3902
+ */
3903
+ export declare const updatePostgresPublication: (data: UpdatePostgresPublicationData) => CancelablePromise<UpdatePostgresPublicationResponse>;
3904
+ /**
3905
+ * delete postgres publication
3906
+ * @param data The data for the request.
3907
+ * @param data.workspace
3908
+ * @param data.path
3909
+ * @param data.publication
3910
+ * @returns string postgres publication deleted
3911
+ * @throws ApiError
3912
+ */
3913
+ export declare const deletePostgresPublication: (data: DeletePostgresPublicationData) => CancelablePromise<DeletePostgresPublicationResponse>;
3914
+ /**
3915
+ * create postgres trigger
3916
+ * @param data The data for the request.
3917
+ * @param data.workspace
3918
+ * @param data.requestBody new postgres trigger
3919
+ * @returns string postgres trigger created
3920
+ * @throws ApiError
3921
+ */
3922
+ export declare const createPostgresTrigger: (data: CreatePostgresTriggerData) => CancelablePromise<CreatePostgresTriggerResponse>;
3923
+ /**
3924
+ * update postgres trigger
3925
+ * @param data The data for the request.
3926
+ * @param data.workspace
3927
+ * @param data.path
3928
+ * @param data.requestBody updated trigger
3929
+ * @returns string postgres trigger updated
3930
+ * @throws ApiError
3931
+ */
3932
+ export declare const updatePostgresTrigger: (data: UpdatePostgresTriggerData) => CancelablePromise<UpdatePostgresTriggerResponse>;
3933
+ /**
3934
+ * delete postgres trigger
3935
+ * @param data The data for the request.
3936
+ * @param data.workspace
3937
+ * @param data.path
3938
+ * @returns string postgres trigger deleted
3939
+ * @throws ApiError
3940
+ */
3941
+ export declare const deletePostgresTrigger: (data: DeletePostgresTriggerData) => CancelablePromise<DeletePostgresTriggerResponse>;
3942
+ /**
3943
+ * get postgres trigger
3944
+ * @param data The data for the request.
3945
+ * @param data.workspace
3946
+ * @param data.path
3947
+ * @returns PostgresTrigger get postgres trigger
3948
+ * @throws ApiError
3949
+ */
3950
+ export declare const getPostgresTrigger: (data: GetPostgresTriggerData) => CancelablePromise<GetPostgresTriggerResponse>;
3951
+ /**
3952
+ * list postgres triggers
3953
+ * @param data The data for the request.
3954
+ * @param data.workspace
3955
+ * @param data.page which page to return (start at 1, default 1)
3956
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
3957
+ * @param data.path filter by path
3958
+ * @param data.isFlow
3959
+ * @param data.pathStart
3960
+ * @returns PostgresTrigger postgres trigger list
3961
+ * @throws ApiError
3962
+ */
3963
+ export declare const listPostgresTriggers: (data: ListPostgresTriggersData) => CancelablePromise<ListPostgresTriggersResponse>;
3964
+ /**
3965
+ * does postgres trigger exists
3966
+ * @param data The data for the request.
3967
+ * @param data.workspace
3968
+ * @param data.path
3969
+ * @returns boolean postgres trigger exists
3970
+ * @throws ApiError
3971
+ */
3972
+ export declare const existsPostgresTrigger: (data: ExistsPostgresTriggerData) => CancelablePromise<ExistsPostgresTriggerResponse>;
3973
+ /**
3974
+ * set enabled postgres trigger
3975
+ * @param data The data for the request.
3976
+ * @param data.workspace
3977
+ * @param data.path
3978
+ * @param data.requestBody updated postgres trigger enable
3979
+ * @returns string postgres trigger enabled set
3980
+ * @throws ApiError
3981
+ */
3982
+ export declare const setPostgresTriggerEnabled: (data: SetPostgresTriggerEnabledData) => CancelablePromise<SetPostgresTriggerEnabledResponse>;
3983
+ /**
3984
+ * test postgres connection
3985
+ * @param data The data for the request.
3986
+ * @param data.workspace
3987
+ * @param data.requestBody test postgres connection
3988
+ * @returns string successfuly connected to postgres
3989
+ * @throws ApiError
3990
+ */
3991
+ export declare const testPostgresConnection: (data: TestPostgresConnectionData) => CancelablePromise<TestPostgresConnectionResponse>;
3992
+ /**
3993
+ * list instance groups
3994
+ * @returns InstanceGroup instance group list
3995
+ * @throws ApiError
3996
+ */
3997
+ export declare const listInstanceGroups: () => CancelablePromise<ListInstanceGroupsResponse>;
3998
+ /**
3999
+ * get instance group
4000
+ * @param data The data for the request.
4001
+ * @param data.name
4002
+ * @returns InstanceGroup instance group
4003
+ * @throws ApiError
4004
+ */
4005
+ export declare const getInstanceGroup: (data: GetInstanceGroupData) => CancelablePromise<GetInstanceGroupResponse>;
4006
+ /**
4007
+ * create instance group
4008
+ * @param data The data for the request.
4009
+ * @param data.requestBody create instance group
4010
+ * @returns string instance group created
4011
+ * @throws ApiError
4012
+ */
4013
+ export declare const createInstanceGroup: (data: CreateInstanceGroupData) => CancelablePromise<CreateInstanceGroupResponse>;
4014
+ /**
4015
+ * update instance group
4016
+ * @param data The data for the request.
4017
+ * @param data.name
4018
+ * @param data.requestBody update instance group
4019
+ * @returns string instance group updated
4020
+ * @throws ApiError
4021
+ */
4022
+ export declare const updateInstanceGroup: (data: UpdateInstanceGroupData) => CancelablePromise<UpdateInstanceGroupResponse>;
4023
+ /**
4024
+ * delete instance group
4025
+ * @param data The data for the request.
4026
+ * @param data.name
4027
+ * @returns string instance group deleted
4028
+ * @throws ApiError
4029
+ */
4030
+ export declare const deleteInstanceGroup: (data: DeleteInstanceGroupData) => CancelablePromise<DeleteInstanceGroupResponse>;
4031
+ /**
4032
+ * add user to instance group
4033
+ * @param data The data for the request.
4034
+ * @param data.name
4035
+ * @param data.requestBody user to add to instance group
4036
+ * @returns string user added to instance group
4037
+ * @throws ApiError
4038
+ */
4039
+ export declare const addUserToInstanceGroup: (data: AddUserToInstanceGroupData) => CancelablePromise<AddUserToInstanceGroupResponse>;
4040
+ /**
4041
+ * remove user from instance group
4042
+ * @param data The data for the request.
4043
+ * @param data.name
4044
+ * @param data.requestBody user to remove from instance group
4045
+ * @returns string user removed from instance group
4046
+ * @throws ApiError
4047
+ */
4048
+ export declare const removeUserFromInstanceGroup: (data: RemoveUserFromInstanceGroupData) => CancelablePromise<RemoveUserFromInstanceGroupResponse>;
4049
+ /**
4050
+ * export instance groups
4051
+ * @returns ExportedInstanceGroup exported instance groups
4052
+ * @throws ApiError
4053
+ */
4054
+ export declare const exportInstanceGroups: () => CancelablePromise<ExportInstanceGroupsResponse>;
4055
+ /**
4056
+ * overwrite instance groups
4057
+ * @param data The data for the request.
4058
+ * @param data.requestBody overwrite instance groups
4059
+ * @returns string success message
4060
+ * @throws ApiError
4061
+ */
4062
+ export declare const overwriteInstanceGroups: (data: OverwriteInstanceGroupsData) => CancelablePromise<OverwriteInstanceGroupsResponse>;
4063
+ /**
4064
+ * list groups
4065
+ * @param data The data for the request.
4066
+ * @param data.workspace
4067
+ * @param data.page which page to return (start at 1, default 1)
4068
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
4069
+ * @returns Group group list
4070
+ * @throws ApiError
4071
+ */
4072
+ export declare const listGroups: (data: ListGroupsData) => CancelablePromise<ListGroupsResponse>;
4073
+ /**
4074
+ * list group names
4075
+ * @param data The data for the request.
4076
+ * @param data.workspace
4077
+ * @param data.onlyMemberOf only list the groups the user is member of (default false)
4078
+ * @returns string group list
4079
+ * @throws ApiError
4080
+ */
4081
+ export declare const listGroupNames: (data: ListGroupNamesData) => CancelablePromise<ListGroupNamesResponse>;
4082
+ /**
4083
+ * create group
4084
+ * @param data The data for the request.
4085
+ * @param data.workspace
4086
+ * @param data.requestBody create group
4087
+ * @returns string group created
4088
+ * @throws ApiError
4089
+ */
4090
+ export declare const createGroup: (data: CreateGroupData) => CancelablePromise<CreateGroupResponse>;
4091
+ /**
4092
+ * update group
4093
+ * @param data The data for the request.
4094
+ * @param data.workspace
4095
+ * @param data.name
4096
+ * @param data.requestBody updated group
4097
+ * @returns string group updated
4098
+ * @throws ApiError
4099
+ */
4100
+ export declare const updateGroup: (data: UpdateGroupData) => CancelablePromise<UpdateGroupResponse>;
4101
+ /**
4102
+ * delete group
4103
+ * @param data The data for the request.
4104
+ * @param data.workspace
4105
+ * @param data.name
4106
+ * @returns string group deleted
4107
+ * @throws ApiError
4108
+ */
4109
+ export declare const deleteGroup: (data: DeleteGroupData) => CancelablePromise<DeleteGroupResponse>;
4110
+ /**
4111
+ * get group
4112
+ * @param data The data for the request.
4113
+ * @param data.workspace
4114
+ * @param data.name
4115
+ * @returns Group group
4116
+ * @throws ApiError
4117
+ */
4118
+ export declare const getGroup: (data: GetGroupData) => CancelablePromise<GetGroupResponse>;
4119
+ /**
4120
+ * add user to group
4121
+ * @param data The data for the request.
4122
+ * @param data.workspace
4123
+ * @param data.name
4124
+ * @param data.requestBody added user to group
4125
+ * @returns string user added to group
4126
+ * @throws ApiError
4127
+ */
4128
+ export declare const addUserToGroup: (data: AddUserToGroupData) => CancelablePromise<AddUserToGroupResponse>;
4129
+ /**
4130
+ * remove user to group
4131
+ * @param data The data for the request.
4132
+ * @param data.workspace
4133
+ * @param data.name
4134
+ * @param data.requestBody added user to group
4135
+ * @returns string user removed from group
4136
+ * @throws ApiError
4137
+ */
4138
+ export declare const removeUserToGroup: (data: RemoveUserToGroupData) => CancelablePromise<RemoveUserToGroupResponse>;
4139
+ /**
4140
+ * list folders
4141
+ * @param data The data for the request.
4142
+ * @param data.workspace
4143
+ * @param data.page which page to return (start at 1, default 1)
4144
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
4145
+ * @returns Folder folder list
4146
+ * @throws ApiError
4147
+ */
4148
+ export declare const listFolders: (data: ListFoldersData) => CancelablePromise<ListFoldersResponse>;
4149
+ /**
4150
+ * list folder names
4151
+ * @param data The data for the request.
4152
+ * @param data.workspace
4153
+ * @param data.onlyMemberOf only list the folders the user is member of (default false)
4154
+ * @returns string folder list
4155
+ * @throws ApiError
4156
+ */
4157
+ export declare const listFolderNames: (data: ListFolderNamesData) => CancelablePromise<ListFolderNamesResponse>;
4158
+ /**
4159
+ * create folder
4160
+ * @param data The data for the request.
4161
+ * @param data.workspace
4162
+ * @param data.requestBody create folder
4163
+ * @returns string folder created
4164
+ * @throws ApiError
4165
+ */
4166
+ export declare const createFolder: (data: CreateFolderData) => CancelablePromise<CreateFolderResponse>;
4167
+ /**
4168
+ * update folder
4169
+ * @param data The data for the request.
4170
+ * @param data.workspace
4171
+ * @param data.name
4172
+ * @param data.requestBody update folder
4173
+ * @returns string folder updated
4174
+ * @throws ApiError
4175
+ */
4176
+ export declare const updateFolder: (data: UpdateFolderData) => CancelablePromise<UpdateFolderResponse>;
4177
+ /**
4178
+ * delete folder
4179
+ * @param data The data for the request.
4180
+ * @param data.workspace
4181
+ * @param data.name
4182
+ * @returns string folder deleted
4183
+ * @throws ApiError
4184
+ */
4185
+ export declare const deleteFolder: (data: DeleteFolderData) => CancelablePromise<DeleteFolderResponse>;
4186
+ /**
4187
+ * get folder
4188
+ * @param data The data for the request.
4189
+ * @param data.workspace
4190
+ * @param data.name
4191
+ * @returns Folder folder
4192
+ * @throws ApiError
4193
+ */
4194
+ export declare const getFolder: (data: GetFolderData) => CancelablePromise<GetFolderResponse>;
4195
+ /**
4196
+ * exists folder
4197
+ * @param data The data for the request.
4198
+ * @param data.workspace
4199
+ * @param data.name
4200
+ * @returns boolean folder exists
4201
+ * @throws ApiError
4202
+ */
4203
+ export declare const existsFolder: (data: ExistsFolderData) => CancelablePromise<ExistsFolderResponse>;
4204
+ /**
4205
+ * get folder usage
4206
+ * @param data The data for the request.
4207
+ * @param data.workspace
4208
+ * @param data.name
4209
+ * @returns unknown folder
4210
+ * @throws ApiError
4211
+ */
4212
+ export declare const getFolderUsage: (data: GetFolderUsageData) => CancelablePromise<GetFolderUsageResponse>;
4213
+ /**
4214
+ * add owner to folder
4215
+ * @param data The data for the request.
4216
+ * @param data.workspace
4217
+ * @param data.name
4218
+ * @param data.requestBody owner user to folder
4219
+ * @returns string owner added to folder
4220
+ * @throws ApiError
4221
+ */
4222
+ export declare const addOwnerToFolder: (data: AddOwnerToFolderData) => CancelablePromise<AddOwnerToFolderResponse>;
4223
+ /**
4224
+ * remove owner to folder
4225
+ * @param data The data for the request.
4226
+ * @param data.workspace
4227
+ * @param data.name
4228
+ * @param data.requestBody added owner to folder
4229
+ * @returns string owner removed from folder
4230
+ * @throws ApiError
4231
+ */
4232
+ export declare const removeOwnerToFolder: (data: RemoveOwnerToFolderData) => CancelablePromise<RemoveOwnerToFolderResponse>;
4233
+ /**
4234
+ * list workers
4235
+ * @param data The data for the request.
4236
+ * @param data.page which page to return (start at 1, default 1)
4237
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
4238
+ * @param data.pingSince number of seconds the worker must have had a last ping more recent of (default to 300)
4239
+ * @returns WorkerPing a list of workers
4240
+ * @throws ApiError
4241
+ */
4242
+ export declare const listWorkers: (data?: ListWorkersData) => CancelablePromise<ListWorkersResponse>;
4243
+ /**
4244
+ * exists worker with tag
4245
+ * @param data The data for the request.
4246
+ * @param data.tag
4247
+ * @returns boolean whether a worker with the tag exists
4248
+ * @throws ApiError
4249
+ */
4250
+ export declare const existsWorkerWithTag: (data: ExistsWorkerWithTagData) => CancelablePromise<ExistsWorkerWithTagResponse>;
4251
+ /**
4252
+ * get queue metrics
4253
+ * @returns unknown metrics
4254
+ * @throws ApiError
4255
+ */
4256
+ export declare const getQueueMetrics: () => CancelablePromise<GetQueueMetricsResponse>;
4257
+ /**
4258
+ * get counts of jobs waiting for an executor per tag
4259
+ * @returns number queue counts
4260
+ * @throws ApiError
4261
+ */
4262
+ export declare const getCountsOfJobsWaitingPerTag: () => CancelablePromise<GetCountsOfJobsWaitingPerTagResponse>;
4263
+ /**
4264
+ * list worker groups
4265
+ * @returns unknown a list of worker group configs
4266
+ * @throws ApiError
4267
+ */
4268
+ export declare const listWorkerGroups: () => CancelablePromise<ListWorkerGroupsResponse>;
4269
+ /**
4270
+ * get config
4271
+ * @param data The data for the request.
4272
+ * @param data.name
4273
+ * @returns Configs a config
4274
+ * @throws ApiError
4275
+ */
4276
+ export declare const getConfig: (data: GetConfigData) => CancelablePromise<GetConfigResponse>;
4277
+ /**
4278
+ * Update config
4279
+ * @param data The data for the request.
4280
+ * @param data.name
4281
+ * @param data.requestBody worker group
4282
+ * @returns string Update a worker group
4283
+ * @throws ApiError
4284
+ */
4285
+ export declare const updateConfig: (data: UpdateConfigData) => CancelablePromise<UpdateConfigResponse>;
4286
+ /**
4287
+ * Delete Config
4288
+ * @param data The data for the request.
4289
+ * @param data.name
4290
+ * @returns string Delete config
4291
+ * @throws ApiError
4292
+ */
4293
+ export declare const deleteConfig: (data: DeleteConfigData) => CancelablePromise<DeleteConfigResponse>;
4294
+ /**
4295
+ * list configs
4296
+ * @returns Config list of configs
4297
+ * @throws ApiError
4298
+ */
4299
+ export declare const listConfigs: () => CancelablePromise<ListConfigsResponse>;
4300
+ /**
4301
+ * List autoscaling events
4302
+ * @param data The data for the request.
4303
+ * @param data.workerGroup
4304
+ * @returns AutoscalingEvent List of autoscaling events
4305
+ * @throws ApiError
4306
+ */
4307
+ export declare const listAutoscalingEvents: (data: ListAutoscalingEventsData) => CancelablePromise<ListAutoscalingEventsResponse>;
4308
+ /**
4309
+ * Get currently available python versions provided by UV.
4310
+ * @returns string List of python versions
4311
+ * @throws ApiError
4312
+ */
4313
+ export declare const listAvailablePythonVersions: () => CancelablePromise<ListAvailablePythonVersionsResponse>;
4314
+ /**
4315
+ * create agent token
4316
+ * @param data The data for the request.
4317
+ * @param data.requestBody agent token
4318
+ * @returns string agent token created
4319
+ * @throws ApiError
4320
+ */
4321
+ export declare const createAgentToken: (data: CreateAgentTokenData) => CancelablePromise<CreateAgentTokenResponse>;
4322
+ /**
4323
+ * blacklist agent token (requires super admin)
4324
+ * @param data The data for the request.
4325
+ * @param data.requestBody token to blacklist
4326
+ * @returns unknown token blacklisted successfully
4327
+ * @throws ApiError
4328
+ */
4329
+ export declare const blacklistAgentToken: (data: BlacklistAgentTokenData) => CancelablePromise<BlacklistAgentTokenResponse>;
4330
+ /**
4331
+ * remove agent token from blacklist (requires super admin)
4332
+ * @param data The data for the request.
4333
+ * @param data.requestBody token to remove from blacklist
4334
+ * @returns unknown token removed from blacklist successfully
4335
+ * @throws ApiError
4336
+ */
4337
+ export declare const removeBlacklistAgentToken: (data: RemoveBlacklistAgentTokenData) => CancelablePromise<RemoveBlacklistAgentTokenResponse>;
4338
+ /**
4339
+ * list blacklisted agent tokens (requires super admin)
4340
+ * @param data The data for the request.
4341
+ * @param data.includeExpired Whether to include expired blacklisted tokens
4342
+ * @returns unknown list of blacklisted tokens
4343
+ * @throws ApiError
4344
+ */
4345
+ export declare const listBlacklistedAgentTokens: (data?: ListBlacklistedAgentTokensData) => CancelablePromise<ListBlacklistedAgentTokensResponse>;
4346
+ /**
4347
+ * get granular acls
4348
+ * @param data The data for the request.
4349
+ * @param data.workspace
4350
+ * @param data.path
4351
+ * @param data.kind
4352
+ * @returns boolean acls
4353
+ * @throws ApiError
4354
+ */
4355
+ export declare const getGranularAcls: (data: GetGranularAclsData) => CancelablePromise<GetGranularAclsResponse>;
4356
+ /**
4357
+ * add granular acls
4358
+ * @param data The data for the request.
4359
+ * @param data.workspace
4360
+ * @param data.path
4361
+ * @param data.kind
4362
+ * @param data.requestBody acl to add
4363
+ * @returns string granular acl added
4364
+ * @throws ApiError
4365
+ */
4366
+ export declare const addGranularAcls: (data: AddGranularAclsData) => CancelablePromise<AddGranularAclsResponse>;
4367
+ /**
4368
+ * remove granular acls
4369
+ * @param data The data for the request.
4370
+ * @param data.workspace
4371
+ * @param data.path
4372
+ * @param data.kind
4373
+ * @param data.requestBody acl to add
4374
+ * @returns string granular acl removed
4375
+ * @throws ApiError
4376
+ */
4377
+ export declare const removeGranularAcls: (data: RemoveGranularAclsData) => CancelablePromise<RemoveGranularAclsResponse>;
4378
+ /**
4379
+ * set capture config
4380
+ * @param data The data for the request.
4381
+ * @param data.workspace
4382
+ * @param data.requestBody capture config
4383
+ * @returns unknown capture config set
4384
+ * @throws ApiError
4385
+ */
4386
+ export declare const setCaptureConfig: (data: SetCaptureConfigData) => CancelablePromise<SetCaptureConfigResponse>;
4387
+ /**
4388
+ * ping capture config
4389
+ * @param data The data for the request.
4390
+ * @param data.workspace
4391
+ * @param data.triggerKind
4392
+ * @param data.runnableKind
4393
+ * @param data.path
4394
+ * @returns unknown capture config pinged
4395
+ * @throws ApiError
4396
+ */
4397
+ export declare const pingCaptureConfig: (data: PingCaptureConfigData) => CancelablePromise<PingCaptureConfigResponse>;
4398
+ /**
4399
+ * get capture configs for a script or flow
4400
+ * @param data The data for the request.
4401
+ * @param data.workspace
4402
+ * @param data.runnableKind
4403
+ * @param data.path
4404
+ * @returns CaptureConfig capture configs for a script or flow
4405
+ * @throws ApiError
4406
+ */
4407
+ export declare const getCaptureConfigs: (data: GetCaptureConfigsData) => CancelablePromise<GetCaptureConfigsResponse>;
4408
+ /**
4409
+ * list captures for a script or flow
4410
+ * @param data The data for the request.
4411
+ * @param data.workspace
4412
+ * @param data.runnableKind
4413
+ * @param data.path
4414
+ * @param data.triggerKind
4415
+ * @param data.page which page to return (start at 1, default 1)
4416
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
4417
+ * @returns Capture list of captures for a script or flow
4418
+ * @throws ApiError
4419
+ */
4420
+ export declare const listCaptures: (data: ListCapturesData) => CancelablePromise<ListCapturesResponse>;
4421
+ /**
4422
+ * move captures and configs for a script or flow
4423
+ * @param data The data for the request.
4424
+ * @param data.workspace
4425
+ * @param data.runnableKind
4426
+ * @param data.path
4427
+ * @param data.requestBody move captures and configs to a new path
4428
+ * @returns string captures and configs moved
4429
+ * @throws ApiError
4430
+ */
4431
+ export declare const moveCapturesAndConfigs: (data: MoveCapturesAndConfigsData) => CancelablePromise<MoveCapturesAndConfigsResponse>;
4432
+ /**
4433
+ * get a capture
4434
+ * @param data The data for the request.
4435
+ * @param data.workspace
4436
+ * @param data.id
4437
+ * @returns Capture capture
4438
+ * @throws ApiError
4439
+ */
4440
+ export declare const getCapture: (data: GetCaptureData) => CancelablePromise<GetCaptureResponse>;
4441
+ /**
4442
+ * delete a capture
4443
+ * @param data The data for the request.
4444
+ * @param data.workspace
4445
+ * @param data.id
4446
+ * @returns unknown capture deleted
4447
+ * @throws ApiError
4448
+ */
4449
+ export declare const deleteCapture: (data: DeleteCaptureData) => CancelablePromise<DeleteCaptureResponse>;
4450
+ /**
4451
+ * star item
4452
+ * @param data The data for the request.
4453
+ * @param data.workspace
4454
+ * @param data.requestBody
4455
+ * @returns unknown star item
4456
+ * @throws ApiError
4457
+ */
4458
+ export declare const star: (data: StarData) => CancelablePromise<StarResponse>;
4459
+ /**
4460
+ * unstar item
4461
+ * @param data The data for the request.
4462
+ * @param data.workspace
4463
+ * @param data.requestBody
4464
+ * @returns unknown unstar item
4465
+ * @throws ApiError
4466
+ */
4467
+ export declare const unstar: (data: UnstarData) => CancelablePromise<UnstarResponse>;
4468
+ /**
4469
+ * List Inputs used in previously completed jobs
4470
+ * @param data The data for the request.
4471
+ * @param data.workspace
4472
+ * @param data.runnableId
4473
+ * @param data.runnableType
4474
+ * @param data.page which page to return (start at 1, default 1)
4475
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
4476
+ * @param data.args filter on jobs containing those args as a json subset (@> in postgres)
4477
+ * @param data.includePreview
4478
+ * @returns Input Input history for completed jobs
4479
+ * @throws ApiError
4480
+ */
4481
+ export declare const getInputHistory: (data: GetInputHistoryData) => CancelablePromise<GetInputHistoryResponse>;
4482
+ /**
4483
+ * Get args from history or saved input
4484
+ * @param data The data for the request.
4485
+ * @param data.workspace
4486
+ * @param data.jobOrInputId
4487
+ * @param data.input
4488
+ * @param data.allowLarge
4489
+ * @returns unknown args
4490
+ * @throws ApiError
4491
+ */
4492
+ export declare const getArgsFromHistoryOrSavedInput: (data: GetArgsFromHistoryOrSavedInputData) => CancelablePromise<GetArgsFromHistoryOrSavedInputResponse>;
4493
+ /**
4494
+ * List saved Inputs for a Runnable
4495
+ * @param data The data for the request.
4496
+ * @param data.workspace
4497
+ * @param data.runnableId
4498
+ * @param data.runnableType
4499
+ * @param data.page which page to return (start at 1, default 1)
4500
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
4501
+ * @returns Input Saved Inputs for a Runnable
4502
+ * @throws ApiError
4503
+ */
4504
+ export declare const listInputs: (data: ListInputsData) => CancelablePromise<ListInputsResponse>;
4505
+ /**
4506
+ * Create an Input for future use in a script or flow
4507
+ * @param data The data for the request.
4508
+ * @param data.workspace
4509
+ * @param data.requestBody Input
4510
+ * @param data.runnableId
4511
+ * @param data.runnableType
4512
+ * @returns string Input created
4513
+ * @throws ApiError
4514
+ */
4515
+ export declare const createInput: (data: CreateInputData) => CancelablePromise<CreateInputResponse>;
4516
+ /**
4517
+ * Update an Input
4518
+ * @param data The data for the request.
4519
+ * @param data.workspace
4520
+ * @param data.requestBody UpdateInput
4521
+ * @returns string Input updated
4522
+ * @throws ApiError
4523
+ */
4524
+ export declare const updateInput: (data: UpdateInputData) => CancelablePromise<UpdateInputResponse>;
4525
+ /**
4526
+ * Delete a Saved Input
4527
+ * @param data The data for the request.
4528
+ * @param data.workspace
4529
+ * @param data.input
4530
+ * @returns string Input deleted
4531
+ * @throws ApiError
4532
+ */
4533
+ export declare const deleteInput: (data: DeleteInputData) => CancelablePromise<DeleteInputResponse>;
4534
+ /**
4535
+ * Converts an S3 resource to the set of instructions necessary to connect DuckDB to an S3 bucket
4536
+ * @param data The data for the request.
4537
+ * @param data.workspace
4538
+ * @param data.requestBody S3 resource to connect to
4539
+ * @returns unknown Connection settings
4540
+ * @throws ApiError
4541
+ */
4542
+ export declare const duckdbConnectionSettings: (data: DuckdbConnectionSettingsData) => CancelablePromise<DuckdbConnectionSettingsResponse>;
4543
+ /**
4544
+ * Converts an S3 resource to the set of instructions necessary to connect DuckDB to an S3 bucket
4545
+ * @param data The data for the request.
4546
+ * @param data.workspace
4547
+ * @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
4548
+ * @returns unknown Connection settings
4549
+ * @throws ApiError
4550
+ */
4551
+ export declare const duckdbConnectionSettingsV2: (data: DuckdbConnectionSettingsV2Data) => CancelablePromise<DuckdbConnectionSettingsV2Response>;
4552
+ /**
4553
+ * Converts an S3 resource to the set of arguments necessary to connect Polars to an S3 bucket
4554
+ * @param data The data for the request.
4555
+ * @param data.workspace
4556
+ * @param data.requestBody S3 resource to connect to
4557
+ * @returns unknown Connection settings
4558
+ * @throws ApiError
4559
+ */
4560
+ export declare const polarsConnectionSettings: (data: PolarsConnectionSettingsData) => CancelablePromise<PolarsConnectionSettingsResponse>;
4561
+ /**
4562
+ * Converts an S3 resource to the set of arguments necessary to connect Polars to an S3 bucket
4563
+ * @param data The data for the request.
4564
+ * @param data.workspace
4565
+ * @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
4566
+ * @returns unknown Connection settings
4567
+ * @throws ApiError
4568
+ */
4569
+ export declare const polarsConnectionSettingsV2: (data: PolarsConnectionSettingsV2Data) => CancelablePromise<PolarsConnectionSettingsV2Response>;
4570
+ /**
4571
+ * Returns the s3 resource associated to the provided path, or the workspace default S3 resource
4572
+ * @param data The data for the request.
4573
+ * @param data.workspace
4574
+ * @param data.requestBody S3 resource path to use. If empty, the S3 resource defined in the workspace settings will be used
4575
+ * @returns S3Resource Connection settings
4576
+ * @throws ApiError
4577
+ */
4578
+ export declare const s3ResourceInfo: (data: S3ResourceInfoData) => CancelablePromise<S3ResourceInfoResponse>;
4579
+ /**
4580
+ * Test connection to the workspace object storage
4581
+ * @param data The data for the request.
4582
+ * @param data.workspace
4583
+ * @param data.storage
4584
+ * @returns unknown Connection settings
4585
+ * @throws ApiError
4586
+ */
4587
+ export declare const datasetStorageTestConnection: (data: DatasetStorageTestConnectionData) => CancelablePromise<DatasetStorageTestConnectionResponse>;
4588
+ /**
4589
+ * List the file keys available in a workspace object storage
4590
+ * @param data The data for the request.
4591
+ * @param data.workspace
4592
+ * @param data.maxKeys
4593
+ * @param data.marker
4594
+ * @param data.prefix
4595
+ * @param data.storage
4596
+ * @returns unknown List of file keys
4597
+ * @throws ApiError
4598
+ */
4599
+ export declare const listStoredFiles: (data: ListStoredFilesData) => CancelablePromise<ListStoredFilesResponse>;
4600
+ /**
4601
+ * Load metadata of the file
4602
+ * @param data The data for the request.
4603
+ * @param data.workspace
4604
+ * @param data.fileKey
4605
+ * @param data.storage
4606
+ * @returns WindmillFileMetadata FileMetadata
4607
+ * @throws ApiError
4608
+ */
4609
+ export declare const loadFileMetadata: (data: LoadFileMetadataData) => CancelablePromise<LoadFileMetadataResponse>;
4610
+ /**
4611
+ * Load a preview of the file
4612
+ * @param data The data for the request.
4613
+ * @param data.workspace
4614
+ * @param data.fileKey
4615
+ * @param data.fileSizeInBytes
4616
+ * @param data.fileMimeType
4617
+ * @param data.csvSeparator
4618
+ * @param data.csvHasHeader
4619
+ * @param data.readBytesFrom
4620
+ * @param data.readBytesLength
4621
+ * @param data.storage
4622
+ * @returns WindmillFilePreview FilePreview
4623
+ * @throws ApiError
4624
+ */
4625
+ export declare const loadFilePreview: (data: LoadFilePreviewData) => CancelablePromise<LoadFilePreviewResponse>;
4626
+ /**
4627
+ * Load a preview of a parquet file
4628
+ * @param data The data for the request.
4629
+ * @param data.workspace
4630
+ * @param data.path
4631
+ * @param data.offset
4632
+ * @param data.limit
4633
+ * @param data.sortCol
4634
+ * @param data.sortDesc
4635
+ * @param data.searchCol
4636
+ * @param data.searchTerm
4637
+ * @param data.storage
4638
+ * @returns unknown Parquet Preview
4639
+ * @throws ApiError
4640
+ */
4641
+ export declare const loadParquetPreview: (data: LoadParquetPreviewData) => CancelablePromise<LoadParquetPreviewResponse>;
4642
+ /**
4643
+ * Load the table row count
4644
+ * @param data The data for the request.
4645
+ * @param data.workspace
4646
+ * @param data.path
4647
+ * @param data.searchCol
4648
+ * @param data.searchTerm
4649
+ * @param data.storage
4650
+ * @returns unknown Table count
4651
+ * @throws ApiError
4652
+ */
4653
+ export declare const loadTableRowCount: (data: LoadTableRowCountData) => CancelablePromise<LoadTableRowCountResponse>;
4654
+ /**
4655
+ * Load a preview of a csv file
4656
+ * @param data The data for the request.
4657
+ * @param data.workspace
4658
+ * @param data.path
4659
+ * @param data.offset
4660
+ * @param data.limit
4661
+ * @param data.sortCol
4662
+ * @param data.sortDesc
4663
+ * @param data.searchCol
4664
+ * @param data.searchTerm
4665
+ * @param data.storage
4666
+ * @param data.csvSeparator
4667
+ * @returns unknown Csv Preview
4668
+ * @throws ApiError
4669
+ */
4670
+ export declare const loadCsvPreview: (data: LoadCsvPreviewData) => CancelablePromise<LoadCsvPreviewResponse>;
4671
+ /**
4672
+ * Permanently delete file from S3
4673
+ * @param data The data for the request.
4674
+ * @param data.workspace
4675
+ * @param data.fileKey
4676
+ * @param data.storage
4677
+ * @returns unknown Confirmation
4678
+ * @throws ApiError
4679
+ */
4680
+ export declare const deleteS3File: (data: DeleteS3FileData) => CancelablePromise<DeleteS3FileResponse>;
4681
+ /**
4682
+ * Move a S3 file from one path to the other within the same bucket
4683
+ * @param data The data for the request.
4684
+ * @param data.workspace
4685
+ * @param data.srcFileKey
4686
+ * @param data.destFileKey
4687
+ * @param data.storage
4688
+ * @returns unknown Confirmation
4689
+ * @throws ApiError
4690
+ */
4691
+ export declare const moveS3File: (data: MoveS3FileData) => CancelablePromise<MoveS3FileResponse>;
4692
+ /**
4693
+ * Upload file to S3 bucket
4694
+ * @param data The data for the request.
4695
+ * @param data.workspace
4696
+ * @param data.requestBody File content
4697
+ * @param data.fileKey
4698
+ * @param data.fileExtension
4699
+ * @param data.s3ResourcePath
4700
+ * @param data.resourceType
4701
+ * @param data.storage
4702
+ * @param data.contentType
4703
+ * @param data.contentDisposition
4704
+ * @returns unknown File upload status
4705
+ * @throws ApiError
4706
+ */
4707
+ export declare const fileUpload: (data: FileUploadData) => CancelablePromise<FileUploadResponse>;
4708
+ /**
4709
+ * Download file from S3 bucket
4710
+ * @param data The data for the request.
4711
+ * @param data.workspace
4712
+ * @param data.fileKey
4713
+ * @param data.s3ResourcePath
4714
+ * @param data.resourceType
4715
+ * @param data.storage
4716
+ * @returns binary Chunk of the downloaded file
4717
+ * @throws ApiError
4718
+ */
4719
+ export declare const fileDownload: (data: FileDownloadData) => CancelablePromise<FileDownloadResponse>;
4720
+ /**
4721
+ * Download file to S3 bucket
4722
+ * @param data The data for the request.
4723
+ * @param data.workspace
4724
+ * @param data.fileKey
4725
+ * @param data.s3ResourcePath
4726
+ * @param data.resourceType
4727
+ * @returns string The downloaded file
4728
+ * @throws ApiError
4729
+ */
4730
+ export declare const fileDownloadParquetAsCsv: (data: FileDownloadParquetAsCsvData) => CancelablePromise<FileDownloadParquetAsCsvResponse>;
4731
+ /**
4732
+ * get job metrics
4733
+ * @param data The data for the request.
4734
+ * @param data.workspace
4735
+ * @param data.id
4736
+ * @param data.requestBody parameters for statistics retrieval
4737
+ * @returns unknown job details
4738
+ * @throws ApiError
4739
+ */
4740
+ export declare const getJobMetrics: (data: GetJobMetricsData) => CancelablePromise<GetJobMetricsResponse>;
4741
+ /**
4742
+ * set job metrics
4743
+ * @param data The data for the request.
4744
+ * @param data.workspace
4745
+ * @param data.id
4746
+ * @param data.requestBody parameters for statistics retrieval
4747
+ * @returns unknown Job progress updated
4748
+ * @throws ApiError
4749
+ */
4750
+ export declare const setJobProgress: (data: SetJobProgressData) => CancelablePromise<SetJobProgressResponse>;
4751
+ /**
4752
+ * get job progress
4753
+ * @param data The data for the request.
4754
+ * @param data.workspace
4755
+ * @param data.id
4756
+ * @returns number job progress between 0 and 99
4757
+ * @throws ApiError
4758
+ */
4759
+ export declare const getJobProgress: (data: GetJobProgressData) => CancelablePromise<GetJobProgressResponse>;
4760
+ /**
4761
+ * list log files ordered by timestamp
4762
+ * @param data The data for the request.
4763
+ * @param data.before filter on started before (inclusive) timestamp
4764
+ * @param data.after filter on created after (exclusive) timestamp
4765
+ * @param data.withError
4766
+ * @returns unknown time
4767
+ * @throws ApiError
4768
+ */
4769
+ export declare const listLogFiles: (data?: ListLogFilesData) => CancelablePromise<ListLogFilesResponse>;
4770
+ /**
4771
+ * get log file by path
4772
+ * @param data The data for the request.
4773
+ * @param data.path
4774
+ * @returns string log stream
4775
+ * @throws ApiError
4776
+ */
4777
+ export declare const getLogFile: (data: GetLogFileData) => CancelablePromise<GetLogFileResponse>;
4778
+ /**
4779
+ * List all concurrency groups
4780
+ * @returns ConcurrencyGroup all concurrency groups
4781
+ * @throws ApiError
4782
+ */
4783
+ export declare const listConcurrencyGroups: () => CancelablePromise<ListConcurrencyGroupsResponse>;
4784
+ /**
4785
+ * Delete concurrency group
4786
+ * @param data The data for the request.
4787
+ * @param data.concurrencyId
4788
+ * @returns unknown concurrency group removed
4789
+ * @throws ApiError
4790
+ */
4791
+ export declare const deleteConcurrencyGroup: (data: DeleteConcurrencyGroupData) => CancelablePromise<DeleteConcurrencyGroupResponse>;
4792
+ /**
4793
+ * Get the concurrency key for a job that has concurrency limits enabled
4794
+ * @param data The data for the request.
4795
+ * @param data.id
4796
+ * @returns string concurrency key for given job
4797
+ * @throws ApiError
4798
+ */
4799
+ export declare const getConcurrencyKey: (data: GetConcurrencyKeyData) => CancelablePromise<GetConcurrencyKeyResponse>;
4800
+ /**
4801
+ * Get intervals of job runtime concurrency
4802
+ * @param data The data for the request.
4803
+ * @param data.workspace
4804
+ * @param data.concurrencyKey
4805
+ * @param data.rowLimit
4806
+ * @param data.createdBy mask to filter exact matching user creator
4807
+ * @param data.label mask to filter exact matching job's label (job labels are completed jobs with as a result an object containing a string in the array at key 'wm_labels')
4808
+ * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
4809
+ * @param data.scriptPathExact mask to filter exact matching path
4810
+ * @param data.scriptPathStart mask to filter matching starting path
4811
+ * @param data.schedulePath mask to filter by schedule path
4812
+ * @param data.scriptHash mask to filter exact matching path
4813
+ * @param data.startedBefore filter on started before (inclusive) timestamp
4814
+ * @param data.startedAfter filter on started after (exclusive) timestamp
4815
+ * @param data.createdOrStartedBefore filter on created_at for non non started job and started_at otherwise before (inclusive) timestamp
4816
+ * @param data.running filter on running jobs
4817
+ * @param data.scheduledForBeforeNow filter on jobs scheduled_for before now (hence waitinf for a worker)
4818
+ * @param data.createdOrStartedAfter filter on created_at for non non started job and started_at otherwise after (exclusive) timestamp
4819
+ * @param data.createdOrStartedAfterCompletedJobs filter on created_at for non non started job and started_at otherwise after (exclusive) timestamp but only for the completed jobs
4820
+ * @param data.jobKinds filter on job kind (values 'preview', 'script', 'dependencies', 'flow') separated by,
4821
+ * @param data.args filter on jobs containing those args as a json subset (@> in postgres)
4822
+ * @param data.tag filter on jobs with a given tag/worker group
4823
+ * @param data.result filter on jobs containing those result as a json subset (@> in postgres)
4824
+ * @param data.allowWildcards allow wildcards (*) in the filter of label, tag, worker
4825
+ * @param data.page which page to return (start at 1, default 1)
4826
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
4827
+ * @param data.isSkipped is the job skipped
4828
+ * @param data.isFlowStep is the job a flow step
4829
+ * @param data.hasNullParent has null parent
4830
+ * @param data.success filter on successful jobs
4831
+ * @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace)
4832
+ * @param data.isNotSchedule is not a scheduled job
4833
+ * @returns ExtendedJobs time
4834
+ * @throws ApiError
4835
+ */
4836
+ export declare const listExtendedJobs: (data: ListExtendedJobsData) => CancelablePromise<ListExtendedJobsResponse>;
4837
+ /**
4838
+ * Search through jobs with a string query
4839
+ * @param data The data for the request.
4840
+ * @param data.workspace
4841
+ * @param data.searchQuery
4842
+ * @param data.paginationOffset
4843
+ * @returns unknown search results
4844
+ * @throws ApiError
4845
+ */
4846
+ export declare const searchJobsIndex: (data: SearchJobsIndexData) => CancelablePromise<SearchJobsIndexResponse>;
4847
+ /**
4848
+ * Search through service logs with a string query
4849
+ * @param data The data for the request.
4850
+ * @param data.searchQuery
4851
+ * @param data.mode
4852
+ * @param data.hostname
4853
+ * @param data.workerGroup
4854
+ * @param data.minTs
4855
+ * @param data.maxTs
4856
+ * @returns unknown search results
4857
+ * @throws ApiError
4858
+ */
4859
+ export declare const searchLogsIndex: (data: SearchLogsIndexData) => CancelablePromise<SearchLogsIndexResponse>;
4860
+ /**
4861
+ * Search and count the log line hits on every provided host
4862
+ * @param data The data for the request.
4863
+ * @param data.searchQuery
4864
+ * @param data.minTs
4865
+ * @param data.maxTs
4866
+ * @returns unknown search results
4867
+ * @throws ApiError
4868
+ */
4869
+ export declare const countSearchLogsIndex: (data: CountSearchLogsIndexData) => CancelablePromise<CountSearchLogsIndexResponse>;
4870
+ /**
4871
+ * Restart container and delete the index to recreate it.
4872
+ * @param data The data for the request.
4873
+ * @param data.idxName
4874
+ * @returns string idx to be deleted and container restarting
4875
+ * @throws ApiError
4876
+ */
4877
+ export declare const clearIndex: (data: ClearIndexData) => CancelablePromise<ClearIndexResponse>;
4878
+ /**
4879
+ * List all assets in the workspace
4880
+ * @param data The data for the request.
4881
+ * @param data.workspace
4882
+ * @returns unknown all assets in the workspace
4883
+ * @throws ApiError
4884
+ */
4885
+ export declare const listAssets: (data: ListAssetsData) => CancelablePromise<ListAssetsResponse>;
4886
+ /**
4887
+ * List all assets used by given usages paths
4888
+ * @param data The data for the request.
4889
+ * @param data.workspace
4890
+ * @param data.requestBody list assets by usages
4891
+ * @returns unknown all assets used by the given usage paths, in the same order
4892
+ * @throws ApiError
4893
+ */
4894
+ export declare const listAssetsByUsage: (data: ListAssetsByUsageData) => CancelablePromise<ListAssetsByUsageResponse>;