windmill-cli 1.396.0 → 1.397.3

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 (89) hide show
  1. package/esm/apps.js +6 -5
  2. package/esm/bootstrap/script_bootstrap.js +18 -0
  3. package/esm/context.js +4 -3
  4. package/esm/deps.js +19 -2
  5. package/esm/flow.js +9 -8
  6. package/esm/folder.js +6 -5
  7. package/esm/gen/core/ApiError.js +41 -0
  8. package/esm/gen/core/ApiRequestOptions.js +1 -0
  9. package/esm/gen/core/ApiResult.js +1 -0
  10. package/esm/gen/core/CancelablePromise.js +130 -0
  11. package/esm/gen/core/OpenAPI.js +41 -0
  12. package/esm/gen/core/request.js +305 -0
  13. package/esm/gen/index.js +6 -0
  14. package/esm/gen/services.gen.js +6782 -0
  15. package/esm/gen/types.gen.js +2 -0
  16. package/esm/hub.js +5 -4
  17. package/esm/instance.js +5 -4
  18. package/esm/main.js +5 -3
  19. package/esm/metadata.js +1 -1
  20. package/esm/resource-type.js +6 -5
  21. package/esm/resource.js +11 -5
  22. package/esm/schedule.js +6 -5
  23. package/esm/script.js +42 -10
  24. package/esm/script_common.js +6 -0
  25. package/esm/settings.js +28 -27
  26. package/esm/sync.js +89 -23
  27. package/esm/types.js +9 -3
  28. package/esm/user.js +27 -27
  29. package/esm/utils.js +7 -0
  30. package/esm/variable.js +7 -6
  31. package/esm/workspace.js +7 -6
  32. package/package.json +1 -2
  33. package/types/apps.d.ts +2 -1
  34. package/types/apps.d.ts.map +1 -1
  35. package/types/bootstrap/script_bootstrap.d.ts +2 -0
  36. package/types/bootstrap/script_bootstrap.d.ts.map +1 -1
  37. package/types/context.d.ts +1 -1
  38. package/types/context.d.ts.map +1 -1
  39. package/types/deps.d.ts +1 -1
  40. package/types/deps.d.ts.map +1 -1
  41. package/types/flow.d.ts +2 -1
  42. package/types/flow.d.ts.map +1 -1
  43. package/types/folder.d.ts +5 -2
  44. package/types/folder.d.ts.map +1 -1
  45. package/types/gen/core/ApiError.d.ts +11 -0
  46. package/types/gen/core/ApiError.d.ts.map +1 -0
  47. package/types/gen/core/ApiRequestOptions.d.ts +15 -0
  48. package/types/gen/core/ApiRequestOptions.d.ts.map +1 -0
  49. package/types/gen/core/ApiResult.d.ts +8 -0
  50. package/types/gen/core/ApiResult.d.ts.map +1 -0
  51. package/types/gen/core/CancelablePromise.d.ts +27 -0
  52. package/types/gen/core/CancelablePromise.d.ts.map +1 -0
  53. package/types/gen/core/OpenAPI.d.ts +28 -0
  54. package/types/gen/core/OpenAPI.d.ts.map +1 -0
  55. package/types/gen/core/request.d.ts +30 -0
  56. package/types/gen/core/request.d.ts.map +1 -0
  57. package/types/gen/index.d.ts +6 -0
  58. package/types/gen/index.d.ts.map +1 -0
  59. package/types/gen/services.gen.d.ts +3339 -0
  60. package/types/gen/services.gen.d.ts.map +1 -0
  61. package/types/gen/types.gen.d.ts +4831 -0
  62. package/types/gen/types.gen.d.ts.map +1 -0
  63. package/types/hub.d.ts.map +1 -1
  64. package/types/instance.d.ts.map +1 -1
  65. package/types/main.d.ts +1 -1
  66. package/types/main.d.ts.map +1 -1
  67. package/types/metadata.d.ts +1 -1
  68. package/types/metadata.d.ts.map +1 -1
  69. package/types/resource-type.d.ts +2 -1
  70. package/types/resource-type.d.ts.map +1 -1
  71. package/types/resource.d.ts +2 -1
  72. package/types/resource.d.ts.map +1 -1
  73. package/types/schedule.d.ts +2 -1
  74. package/types/schedule.d.ts.map +1 -1
  75. package/types/script.d.ts +1 -0
  76. package/types/script.d.ts.map +1 -1
  77. package/types/script_common.d.ts +1 -1
  78. package/types/script_common.d.ts.map +1 -1
  79. package/types/settings.d.ts.map +1 -1
  80. package/types/sync.d.ts +2 -1
  81. package/types/sync.d.ts.map +1 -1
  82. package/types/types.d.ts +1 -1
  83. package/types/types.d.ts.map +1 -1
  84. package/types/user.d.ts.map +1 -1
  85. package/types/utils.d.ts +1 -0
  86. package/types/utils.d.ts.map +1 -1
  87. package/types/variable.d.ts +2 -1
  88. package/types/variable.d.ts.map +1 -1
  89. package/types/workspace.d.ts.map +1 -1
@@ -0,0 +1,3339 @@
1
+ import type { CancelablePromise } from './core/CancelablePromise.js';
2
+ import type { BackendVersionResponse, BackendUptodateResponse, GetLicenseIdResponse, GetOpenApiYamlResponse, GetAuditLogData, GetAuditLogResponse, ListAuditLogsData, ListAuditLogsResponse, LoginData, LoginResponse, LogoutResponse, GetUserData, GetUserResponse, UpdateUserData, UpdateUserResponse, IsOwnerOfPathData, IsOwnerOfPathResponse, SetPasswordData, SetPasswordResponse, CreateUserGloballyData, CreateUserGloballyResponse, GlobalUserUpdateData, GlobalUserUpdateResponse, GlobalUsernameInfoData, GlobalUsernameInfoResponse, GlobalUserRenameData, GlobalUserRenameResponse, GlobalUserDeleteData, GlobalUserDeleteResponse, GlobalUsersOverwriteData, GlobalUsersOverwriteResponse, GlobalUsersExportResponse, DeleteUserData, DeleteUserResponse, ListWorkspacesResponse, IsDomainAllowedResponse, ListUserWorkspacesResponse, ListWorkspacesAsSuperAdminData, ListWorkspacesAsSuperAdminResponse, CreateWorkspaceData, CreateWorkspaceResponse, ExistsWorkspaceData, ExistsWorkspaceResponse, ExistsUsernameData, ExistsUsernameResponse, GetGlobalData, GetGlobalResponse, SetGlobalData, SetGlobalResponse, GetLocalResponse, TestSmtpData, TestSmtpResponse, TestLicenseKeyData, TestLicenseKeyResponse, TestObjectStorageConfigData, TestObjectStorageConfigResponse, SendStatsResponse, GetLatestKeyRenewalAttemptResponse, RenewLicenseKeyData, RenewLicenseKeyResponse, CreateCustomerPortalSessionData, CreateCustomerPortalSessionResponse, TestMetadataData, TestMetadataResponse, ListGlobalSettingsResponse, GetCurrentEmailResponse, RefreshUserTokenResponse, GetTutorialProgressResponse, UpdateTutorialProgressData, UpdateTutorialProgressResponse, LeaveInstanceResponse, GetUsageResponse, GetRunnableResponse, GlobalWhoamiResponse, ListWorkspaceInvitesResponse, WhoamiData, WhoamiResponse, AcceptInviteData, AcceptInviteResponse, DeclineInviteData, DeclineInviteResponse, InviteUserData, InviteUserResponse, AddUserData, AddUserResponse, DeleteInviteData, DeleteInviteResponse, ArchiveWorkspaceData, ArchiveWorkspaceResponse, UnarchiveWorkspaceData, UnarchiveWorkspaceResponse, DeleteWorkspaceData, DeleteWorkspaceResponse, LeaveWorkspaceData, LeaveWorkspaceResponse, GetWorkspaceNameData, GetWorkspaceNameResponse, ChangeWorkspaceNameData, ChangeWorkspaceNameResponse, ChangeWorkspaceIdData, ChangeWorkspaceIdResponse, WhoisData, WhoisResponse, ExistsEmailData, ExistsEmailResponse, ListUsersAsSuperAdminData, ListUsersAsSuperAdminResponse, ListPendingInvitesData, ListPendingInvitesResponse, GetSettingsData, GetSettingsResponse, GetDeployToData, GetDeployToResponse, GetIsPremiumData, GetIsPremiumResponse, GetPremiumInfoData, GetPremiumInfoResponse, SetAutomaticBillingData, SetAutomaticBillingResponse, EditSlackCommandData, EditSlackCommandResponse, RunSlackMessageTestJobData, RunSlackMessageTestJobResponse, EditDeployToData, EditDeployToResponse, EditAutoInviteData, EditAutoInviteResponse, EditWebhookData, EditWebhookResponse, EditCopilotConfigData, EditCopilotConfigResponse, GetCopilotInfoData, GetCopilotInfoResponse, EditErrorHandlerData, EditErrorHandlerResponse, EditLargeFileStorageConfigData, EditLargeFileStorageConfigResponse, EditWorkspaceGitSyncConfigData, EditWorkspaceGitSyncConfigResponse, EditWorkspaceDeployUiSettingsData, EditWorkspaceDeployUiSettingsResponse, EditWorkspaceDefaultAppData, EditWorkspaceDefaultAppResponse, EditDefaultScriptsData, EditDefaultScriptsResponse, GetDefaultScriptsData, GetDefaultScriptsResponse, SetEnvironmentVariableData, SetEnvironmentVariableResponse, GetWorkspaceEncryptionKeyData, GetWorkspaceEncryptionKeyResponse, SetWorkspaceEncryptionKeyData, SetWorkspaceEncryptionKeyResponse, GetWorkspaceDefaultAppData, GetWorkspaceDefaultAppResponse, GetLargeFileStorageConfigData, GetLargeFileStorageConfigResponse, GetWorkspaceUsageData, GetWorkspaceUsageResponse, ListUsersData, ListUsersResponse, ListUsersUsageData, ListUsersUsageResponse, ListUsernamesData, ListUsernamesResponse, UsernameToEmailData, UsernameToEmailResponse, 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, LoginWithOauthData, LoginWithOauthResponse, ConnectSlackCallbackData, ConnectSlackCallbackResponse, ConnectSlackCallbackInstanceData, ConnectSlackCallbackInstanceResponse, ConnectCallbackData, ConnectCallbackResponse, CreateAccountData, CreateAccountResponse, RefreshTokenData, RefreshTokenResponse, DisconnectAccountData, DisconnectAccountResponse, DisconnectSlackData, DisconnectSlackResponse, ListOauthLoginsResponse, ListOauthConnectsResponse, GetOauthConnectData, GetOauthConnectResponse, 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, GetHubScriptContentByPathData, GetHubScriptContentByPathResponse, GetHubScriptByPathData, GetHubScriptByPathResponse, GetTopHubScriptsData, GetTopHubScriptsResponse, QueryHubScriptsData, QueryHubScriptsResponse, ListSearchScriptData, ListSearchScriptResponse, ListScriptsData, ListScriptsResponse, ListScriptPathsData, ListScriptPathsResponse, CreateDraftData, CreateDraftResponse, DeleteDraftData, DeleteDraftResponse, CreateScriptData, CreateScriptResponse, ToggleWorkspaceErrorHandlerForScriptData, ToggleWorkspaceErrorHandlerForScriptResponse, GetCustomTagsResponse, GeDefaultTagsResponse, IsDefaultTagsPerWorkspaceResponse, ArchiveScriptByPathData, ArchiveScriptByPathResponse, ArchiveScriptByHashData, ArchiveScriptByHashResponse, DeleteScriptByHashData, DeleteScriptByHashResponse, DeleteScriptByPathData, DeleteScriptByPathResponse, GetScriptByPathData, GetScriptByPathResponse, GetScriptByPathWithDraftData, GetScriptByPathWithDraftResponse, GetScriptHistoryByPathData, GetScriptHistoryByPathResponse, UpdateScriptHistoryData, UpdateScriptHistoryResponse, RawScriptByPathData, RawScriptByPathResponse, RawScriptByPathTokenedData, RawScriptByPathTokenedResponse, ExistsScriptByPathData, ExistsScriptByPathResponse, GetScriptByHashData, GetScriptByHashResponse, RawScriptByHashData, RawScriptByHashResponse, GetScriptDeploymentStatusData, GetScriptDeploymentStatusResponse, RunScriptByPathData, RunScriptByPathResponse, OpenaiSyncScriptByPathData, OpenaiSyncScriptByPathResponse, RunWaitResultScriptByPathData, RunWaitResultScriptByPathResponse, RunWaitResultScriptByPathGetData, RunWaitResultScriptByPathGetResponse, OpenaiSyncFlowByPathData, OpenaiSyncFlowByPathResponse, RunWaitResultFlowByPathData, RunWaitResultFlowByPathResponse, ResultByIdData, ResultByIdResponse, ListFlowPathsData, ListFlowPathsResponse, ListSearchFlowData, ListSearchFlowResponse, ListFlowsData, ListFlowsResponse, GetFlowHistoryData, GetFlowHistoryResponse, GetFlowVersionData, GetFlowVersionResponse, UpdateFlowHistoryData, UpdateFlowHistoryResponse, GetFlowByPathData, GetFlowByPathResponse, 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, ExistsAppData, ExistsAppResponse, GetAppByPathData, GetAppByPathResponse, GetAppByPathWithDraftData, GetAppByPathWithDraftResponse, GetAppHistoryByPathData, GetAppHistoryByPathResponse, UpdateAppHistoryData, UpdateAppHistoryResponse, GetPublicAppBySecretData, GetPublicAppBySecretResponse, GetPublicResourceData, GetPublicResourceResponse, GetPublicSecretOfAppData, GetPublicSecretOfAppResponse, GetAppByVersionData, GetAppByVersionResponse, CreateRawAppData, CreateRawAppResponse, UpdateRawAppData, UpdateRawAppResponse, DeleteRawAppData, DeleteRawAppResponse, DeleteAppData, DeleteAppResponse, UpdateAppData, UpdateAppResponse, ExecuteComponentData, ExecuteComponentResponse, RunFlowByPathData, RunFlowByPathResponse, RestartFlowAtStepData, RestartFlowAtStepResponse, RunScriptByHashData, RunScriptByHashResponse, RunScriptPreviewData, RunScriptPreviewResponse, RunCodeWorkflowTaskData, RunCodeWorkflowTaskResponse, RunRawScriptDependenciesData, RunRawScriptDependenciesResponse, RunFlowPreviewData, RunFlowPreviewResponse, ListQueueData, ListQueueResponse, GetQueueCountData, GetQueueCountResponse, GetCompletedCountData, GetCompletedCountResponse, ListFilteredUuidsData, ListFilteredUuidsResponse, CancelSelectionData, CancelSelectionResponse, ListCompletedJobsData, ListCompletedJobsResponse, ListJobsData, ListJobsResponse, GetDbClockResponse, GetJobData, GetJobResponse, GetRootJobIdData, GetRootJobIdResponse, GetJobLogsData, GetJobLogsResponse, GetJobArgsData, GetJobArgsResponse, GetJobUpdatesData, GetJobUpdatesResponse, GetLogFileFromStoreData, GetLogFileFromStoreResponse, GetFlowDebugInfoData, GetFlowDebugInfoResponse, GetCompletedJobData, GetCompletedJobResponse, GetCompletedJobResultData, GetCompletedJobResultResponse, GetCompletedJobResultMaybeData, GetCompletedJobResultMaybeResponse, DeleteCompletedJobData, DeleteCompletedJobResponse, CancelQueuedJobData, CancelQueuedJobResponse, CancelPersistentQueuedJobsData, CancelPersistentQueuedJobsResponse, ForceCancelQueuedJobData, ForceCancelQueuedJobResponse, CreateJobSignatureData, CreateJobSignatureResponse, GetResumeUrlsData, GetResumeUrlsResponse, ResumeSuspendedJobGetData, ResumeSuspendedJobGetResponse, ResumeSuspendedJobPostData, ResumeSuspendedJobPostResponse, SetFlowUserStateData, SetFlowUserStateResponse, GetFlowUserStateData, GetFlowUserStateResponse, ResumeSuspendedFlowAsOwnerData, ResumeSuspendedFlowAsOwnerResponse, CancelSuspendedJobGetData, CancelSuspendedJobGetResponse, CancelSuspendedJobPostData, CancelSuspendedJobPostResponse, GetSuspendedJobFlowData, GetSuspendedJobFlowResponse, PreviewScheduleData, PreviewScheduleResponse, CreateScheduleData, CreateScheduleResponse, UpdateScheduleData, UpdateScheduleResponse, SetScheduleEnabledData, SetScheduleEnabledResponse, DeleteScheduleData, DeleteScheduleResponse, GetScheduleData, GetScheduleResponse, ExistsScheduleData, ExistsScheduleResponse, ListSchedulesData, ListSchedulesResponse, ListSchedulesWithJobsData, ListSchedulesWithJobsResponse, SetDefaultErrorOrRecoveryHandlerData, SetDefaultErrorOrRecoveryHandlerResponse, ListInstanceGroupsResponse, GetInstanceGroupData, GetInstanceGroupResponse, CreateInstanceGroupData, CreateInstanceGroupResponse, UpdateInstanceGroupData, UpdateInstanceGroupResponse, DeleteInstanceGroupData, DeleteInstanceGroupResponse, AddUserToInstanceGroupData, AddUserToInstanceGroupResponse, RemoveUserFromInstanceGroupData, RemoveUserFromInstanceGroupResponse, 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, GetFolderUsageData, GetFolderUsageResponse, AddOwnerToFolderData, AddOwnerToFolderResponse, RemoveOwnerToFolderData, RemoveOwnerToFolderResponse, ListWorkersData, ListWorkersResponse, ExistsWorkerWithTagData, ExistsWorkerWithTagResponse, GetQueueMetricsResponse, ListWorkerGroupsResponse, GetConfigData, GetConfigResponse, UpdateConfigData, UpdateConfigResponse, DeleteConfigData, DeleteConfigResponse, ListConfigsResponse, GetGranularAclsData, GetGranularAclsResponse, AddGranularAclsData, AddGranularAclsResponse, RemoveGranularAclsData, RemoveGranularAclsResponse, UpdateCaptureData, UpdateCaptureResponse, CreateCaptureData, CreateCaptureResponse, GetCaptureData, GetCaptureResponse, StarData, StarResponse, UnstarData, UnstarResponse, GetInputHistoryData, GetInputHistoryResponse, GetArgsFromHistoryOrSavedInputData, GetArgsFromHistoryOrSavedInputResponse, ListInputsData, ListInputsResponse, CreateInputData, CreateInputResponse, UpdateInputData, UpdateInputResponse, DeleteInputData, DeleteInputResponse, DuckdbConnectionSettingsData, DuckdbConnectionSettingsResponse, DuckdbConnectionSettingsV2Data, DuckdbConnectionSettingsV2Response, PolarsConnectionSettingsData, PolarsConnectionSettingsResponse, PolarsConnectionSettingsV2Data, PolarsConnectionSettingsV2Response, S3ResourceInfoData, S3ResourceInfoResponse, DatasetStorageTestConnectionData, DatasetStorageTestConnectionResponse, ListStoredFilesData, ListStoredFilesResponse, LoadFileMetadataData, LoadFileMetadataResponse, LoadFilePreviewData, LoadFilePreviewResponse, LoadParquetPreviewData, LoadParquetPreviewResponse, 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 } from './types.gen.js';
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
+ * @returns AuditLog a list of audit logs
51
+ * @throws ApiError
52
+ */
53
+ export declare const listAuditLogs: (data: ListAuditLogsData) => CancelablePromise<ListAuditLogsResponse>;
54
+ /**
55
+ * login with password
56
+ * @param data The data for the request.
57
+ * @param data.requestBody credentials
58
+ * @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.
59
+ *
60
+ * @throws ApiError
61
+ */
62
+ export declare const login: (data: LoginData) => CancelablePromise<LoginResponse>;
63
+ /**
64
+ * logout
65
+ * @returns string clear cookies and clear token (if applicable)
66
+ * @throws ApiError
67
+ */
68
+ export declare const logout: () => CancelablePromise<LogoutResponse>;
69
+ /**
70
+ * get user (require admin privilege)
71
+ * @param data The data for the request.
72
+ * @param data.workspace
73
+ * @param data.username
74
+ * @returns User user created
75
+ * @throws ApiError
76
+ */
77
+ export declare const getUser: (data: GetUserData) => CancelablePromise<GetUserResponse>;
78
+ /**
79
+ * update user (require admin privilege)
80
+ * @param data The data for the request.
81
+ * @param data.workspace
82
+ * @param data.username
83
+ * @param data.requestBody new user
84
+ * @returns string edited user
85
+ * @throws ApiError
86
+ */
87
+ export declare const updateUser: (data: UpdateUserData) => CancelablePromise<UpdateUserResponse>;
88
+ /**
89
+ * is owner of path
90
+ * @param data The data for the request.
91
+ * @param data.workspace
92
+ * @param data.path
93
+ * @returns boolean is owner
94
+ * @throws ApiError
95
+ */
96
+ export declare const isOwnerOfPath: (data: IsOwnerOfPathData) => CancelablePromise<IsOwnerOfPathResponse>;
97
+ /**
98
+ * set password
99
+ * @param data The data for the request.
100
+ * @param data.requestBody set password
101
+ * @returns string password set
102
+ * @throws ApiError
103
+ */
104
+ export declare const setPassword: (data: SetPasswordData) => CancelablePromise<SetPasswordResponse>;
105
+ /**
106
+ * create user
107
+ * @param data The data for the request.
108
+ * @param data.requestBody user info
109
+ * @returns string user created
110
+ * @throws ApiError
111
+ */
112
+ export declare const createUserGlobally: (data: CreateUserGloballyData) => CancelablePromise<CreateUserGloballyResponse>;
113
+ /**
114
+ * global update user (require super admin)
115
+ * @param data The data for the request.
116
+ * @param data.email
117
+ * @param data.requestBody new user info
118
+ * @returns string user updated
119
+ * @throws ApiError
120
+ */
121
+ export declare const globalUserUpdate: (data: GlobalUserUpdateData) => CancelablePromise<GlobalUserUpdateResponse>;
122
+ /**
123
+ * global username info (require super admin)
124
+ * @param data The data for the request.
125
+ * @param data.email
126
+ * @returns unknown user renamed
127
+ * @throws ApiError
128
+ */
129
+ export declare const globalUsernameInfo: (data: GlobalUsernameInfoData) => CancelablePromise<GlobalUsernameInfoResponse>;
130
+ /**
131
+ * global rename user (require super admin)
132
+ * @param data The data for the request.
133
+ * @param data.email
134
+ * @param data.requestBody new username
135
+ * @returns string user renamed
136
+ * @throws ApiError
137
+ */
138
+ export declare const globalUserRename: (data: GlobalUserRenameData) => CancelablePromise<GlobalUserRenameResponse>;
139
+ /**
140
+ * global delete user (require super admin)
141
+ * @param data The data for the request.
142
+ * @param data.email
143
+ * @returns string user deleted
144
+ * @throws ApiError
145
+ */
146
+ export declare const globalUserDelete: (data: GlobalUserDeleteData) => CancelablePromise<GlobalUserDeleteResponse>;
147
+ /**
148
+ * global overwrite users (require super admin and EE)
149
+ * @param data The data for the request.
150
+ * @param data.requestBody List of users
151
+ * @returns string Success message
152
+ * @throws ApiError
153
+ */
154
+ export declare const globalUsersOverwrite: (data: GlobalUsersOverwriteData) => CancelablePromise<GlobalUsersOverwriteResponse>;
155
+ /**
156
+ * global export users (require super admin and EE)
157
+ * @returns ExportedUser exported users
158
+ * @throws ApiError
159
+ */
160
+ export declare const globalUsersExport: () => CancelablePromise<GlobalUsersExportResponse>;
161
+ /**
162
+ * delete user (require admin privilege)
163
+ * @param data The data for the request.
164
+ * @param data.workspace
165
+ * @param data.username
166
+ * @returns string delete user
167
+ * @throws ApiError
168
+ */
169
+ export declare const deleteUser: (data: DeleteUserData) => CancelablePromise<DeleteUserResponse>;
170
+ /**
171
+ * list all workspaces visible to me
172
+ * @returns Workspace all workspaces
173
+ * @throws ApiError
174
+ */
175
+ export declare const listWorkspaces: () => CancelablePromise<ListWorkspacesResponse>;
176
+ /**
177
+ * is domain allowed for auto invi
178
+ * @returns boolean domain allowed or not
179
+ * @throws ApiError
180
+ */
181
+ export declare const isDomainAllowed: () => CancelablePromise<IsDomainAllowedResponse>;
182
+ /**
183
+ * list all workspaces visible to me with user info
184
+ * @returns UserWorkspaceList workspace with associated username
185
+ * @throws ApiError
186
+ */
187
+ export declare const listUserWorkspaces: () => CancelablePromise<ListUserWorkspacesResponse>;
188
+ /**
189
+ * list all workspaces as super admin (require to be super admin)
190
+ * @param data The data for the request.
191
+ * @param data.page which page to return (start at 1, default 1)
192
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
193
+ * @returns Workspace workspaces
194
+ * @throws ApiError
195
+ */
196
+ export declare const listWorkspacesAsSuperAdmin: (data?: ListWorkspacesAsSuperAdminData) => CancelablePromise<ListWorkspacesAsSuperAdminResponse>;
197
+ /**
198
+ * create workspace
199
+ * @param data The data for the request.
200
+ * @param data.requestBody new token
201
+ * @returns string token created
202
+ * @throws ApiError
203
+ */
204
+ export declare const createWorkspace: (data: CreateWorkspaceData) => CancelablePromise<CreateWorkspaceResponse>;
205
+ /**
206
+ * exists workspace
207
+ * @param data The data for the request.
208
+ * @param data.requestBody id of workspace
209
+ * @returns boolean status
210
+ * @throws ApiError
211
+ */
212
+ export declare const existsWorkspace: (data: ExistsWorkspaceData) => CancelablePromise<ExistsWorkspaceResponse>;
213
+ /**
214
+ * exists username
215
+ * @param data The data for the request.
216
+ * @param data.requestBody
217
+ * @returns boolean status
218
+ * @throws ApiError
219
+ */
220
+ export declare const existsUsername: (data: ExistsUsernameData) => CancelablePromise<ExistsUsernameResponse>;
221
+ /**
222
+ * get global settings
223
+ * @param data The data for the request.
224
+ * @param data.key
225
+ * @returns unknown status
226
+ * @throws ApiError
227
+ */
228
+ export declare const getGlobal: (data: GetGlobalData) => CancelablePromise<GetGlobalResponse>;
229
+ /**
230
+ * post global settings
231
+ * @param data The data for the request.
232
+ * @param data.key
233
+ * @param data.requestBody value set
234
+ * @returns string status
235
+ * @throws ApiError
236
+ */
237
+ export declare const setGlobal: (data: SetGlobalData) => CancelablePromise<SetGlobalResponse>;
238
+ /**
239
+ * get local settings
240
+ * @returns unknown status
241
+ * @throws ApiError
242
+ */
243
+ export declare const getLocal: () => CancelablePromise<GetLocalResponse>;
244
+ /**
245
+ * test smtp
246
+ * @param data The data for the request.
247
+ * @param data.requestBody test smtp payload
248
+ * @returns string status
249
+ * @throws ApiError
250
+ */
251
+ export declare const testSmtp: (data: TestSmtpData) => CancelablePromise<TestSmtpResponse>;
252
+ /**
253
+ * test license key
254
+ * @param data The data for the request.
255
+ * @param data.requestBody test license key
256
+ * @returns string status
257
+ * @throws ApiError
258
+ */
259
+ export declare const testLicenseKey: (data: TestLicenseKeyData) => CancelablePromise<TestLicenseKeyResponse>;
260
+ /**
261
+ * test object storage config
262
+ * @param data The data for the request.
263
+ * @param data.requestBody test object storage config
264
+ * @returns string status
265
+ * @throws ApiError
266
+ */
267
+ export declare const testObjectStorageConfig: (data: TestObjectStorageConfigData) => CancelablePromise<TestObjectStorageConfigResponse>;
268
+ /**
269
+ * send stats
270
+ * @returns string status
271
+ * @throws ApiError
272
+ */
273
+ export declare const sendStats: () => CancelablePromise<SendStatsResponse>;
274
+ /**
275
+ * get latest key renewal attempt
276
+ * @returns unknown status
277
+ * @throws ApiError
278
+ */
279
+ export declare const getLatestKeyRenewalAttempt: () => CancelablePromise<GetLatestKeyRenewalAttemptResponse>;
280
+ /**
281
+ * renew license key
282
+ * @param data The data for the request.
283
+ * @param data.licenseKey
284
+ * @returns string status
285
+ * @throws ApiError
286
+ */
287
+ export declare const renewLicenseKey: (data?: RenewLicenseKeyData) => CancelablePromise<RenewLicenseKeyResponse>;
288
+ /**
289
+ * create customer portal session
290
+ * @param data The data for the request.
291
+ * @param data.licenseKey
292
+ * @returns string url to portal
293
+ * @throws ApiError
294
+ */
295
+ export declare const createCustomerPortalSession: (data?: CreateCustomerPortalSessionData) => CancelablePromise<CreateCustomerPortalSessionResponse>;
296
+ /**
297
+ * test metadata
298
+ * @param data The data for the request.
299
+ * @param data.requestBody test metadata
300
+ * @returns string status
301
+ * @throws ApiError
302
+ */
303
+ export declare const testMetadata: (data: TestMetadataData) => CancelablePromise<TestMetadataResponse>;
304
+ /**
305
+ * list global settings
306
+ * @returns GlobalSetting list of settings
307
+ * @throws ApiError
308
+ */
309
+ export declare const listGlobalSettings: () => CancelablePromise<ListGlobalSettingsResponse>;
310
+ /**
311
+ * get current user email (if logged in)
312
+ * @returns string user email
313
+ * @throws ApiError
314
+ */
315
+ export declare const getCurrentEmail: () => CancelablePromise<GetCurrentEmailResponse>;
316
+ /**
317
+ * refresh the current token
318
+ * @returns string free usage
319
+ * @throws ApiError
320
+ */
321
+ export declare const refreshUserToken: () => CancelablePromise<RefreshUserTokenResponse>;
322
+ /**
323
+ * get tutorial progress
324
+ * @returns unknown tutorial progress
325
+ * @throws ApiError
326
+ */
327
+ export declare const getTutorialProgress: () => CancelablePromise<GetTutorialProgressResponse>;
328
+ /**
329
+ * update tutorial progress
330
+ * @param data The data for the request.
331
+ * @param data.requestBody progress update
332
+ * @returns string tutorial progress
333
+ * @throws ApiError
334
+ */
335
+ export declare const updateTutorialProgress: (data: UpdateTutorialProgressData) => CancelablePromise<UpdateTutorialProgressResponse>;
336
+ /**
337
+ * leave instance
338
+ * @returns string status
339
+ * @throws ApiError
340
+ */
341
+ export declare const leaveInstance: () => CancelablePromise<LeaveInstanceResponse>;
342
+ /**
343
+ * get current usage outside of premium workspaces
344
+ * @returns number free usage
345
+ * @throws ApiError
346
+ */
347
+ export declare const getUsage: () => CancelablePromise<GetUsageResponse>;
348
+ /**
349
+ * get all runnables in every workspace
350
+ * @returns unknown free all runnables
351
+ * @throws ApiError
352
+ */
353
+ export declare const getRunnable: () => CancelablePromise<GetRunnableResponse>;
354
+ /**
355
+ * get current global whoami (if logged in)
356
+ * @returns GlobalUserInfo user email
357
+ * @throws ApiError
358
+ */
359
+ export declare const globalWhoami: () => CancelablePromise<GlobalWhoamiResponse>;
360
+ /**
361
+ * list all workspace invites
362
+ * @returns WorkspaceInvite list all workspace invites
363
+ * @throws ApiError
364
+ */
365
+ export declare const listWorkspaceInvites: () => CancelablePromise<ListWorkspaceInvitesResponse>;
366
+ /**
367
+ * whoami
368
+ * @param data The data for the request.
369
+ * @param data.workspace
370
+ * @returns User user
371
+ * @throws ApiError
372
+ */
373
+ export declare const whoami: (data: WhoamiData) => CancelablePromise<WhoamiResponse>;
374
+ /**
375
+ * accept invite to workspace
376
+ * @param data The data for the request.
377
+ * @param data.requestBody accept invite
378
+ * @returns string status
379
+ * @throws ApiError
380
+ */
381
+ export declare const acceptInvite: (data: AcceptInviteData) => CancelablePromise<AcceptInviteResponse>;
382
+ /**
383
+ * decline invite to workspace
384
+ * @param data The data for the request.
385
+ * @param data.requestBody decline invite
386
+ * @returns string status
387
+ * @throws ApiError
388
+ */
389
+ export declare const declineInvite: (data: DeclineInviteData) => CancelablePromise<DeclineInviteResponse>;
390
+ /**
391
+ * invite user to workspace
392
+ * @param data The data for the request.
393
+ * @param data.workspace
394
+ * @param data.requestBody WorkspaceInvite
395
+ * @returns string status
396
+ * @throws ApiError
397
+ */
398
+ export declare const inviteUser: (data: InviteUserData) => CancelablePromise<InviteUserResponse>;
399
+ /**
400
+ * add user to workspace
401
+ * @param data The data for the request.
402
+ * @param data.workspace
403
+ * @param data.requestBody WorkspaceInvite
404
+ * @returns string status
405
+ * @throws ApiError
406
+ */
407
+ export declare const addUser: (data: AddUserData) => CancelablePromise<AddUserResponse>;
408
+ /**
409
+ * delete user invite
410
+ * @param data The data for the request.
411
+ * @param data.workspace
412
+ * @param data.requestBody WorkspaceInvite
413
+ * @returns string status
414
+ * @throws ApiError
415
+ */
416
+ export declare const deleteInvite: (data: DeleteInviteData) => CancelablePromise<DeleteInviteResponse>;
417
+ /**
418
+ * archive workspace
419
+ * @param data The data for the request.
420
+ * @param data.workspace
421
+ * @returns string status
422
+ * @throws ApiError
423
+ */
424
+ export declare const archiveWorkspace: (data: ArchiveWorkspaceData) => CancelablePromise<ArchiveWorkspaceResponse>;
425
+ /**
426
+ * unarchive workspace
427
+ * @param data The data for the request.
428
+ * @param data.workspace
429
+ * @returns string status
430
+ * @throws ApiError
431
+ */
432
+ export declare const unarchiveWorkspace: (data: UnarchiveWorkspaceData) => CancelablePromise<UnarchiveWorkspaceResponse>;
433
+ /**
434
+ * delete workspace (require super admin)
435
+ * @param data The data for the request.
436
+ * @param data.workspace
437
+ * @returns string status
438
+ * @throws ApiError
439
+ */
440
+ export declare const deleteWorkspace: (data: DeleteWorkspaceData) => CancelablePromise<DeleteWorkspaceResponse>;
441
+ /**
442
+ * leave workspace
443
+ * @param data The data for the request.
444
+ * @param data.workspace
445
+ * @returns string status
446
+ * @throws ApiError
447
+ */
448
+ export declare const leaveWorkspace: (data: LeaveWorkspaceData) => CancelablePromise<LeaveWorkspaceResponse>;
449
+ /**
450
+ * get workspace name
451
+ * @param data The data for the request.
452
+ * @param data.workspace
453
+ * @returns string status
454
+ * @throws ApiError
455
+ */
456
+ export declare const getWorkspaceName: (data: GetWorkspaceNameData) => CancelablePromise<GetWorkspaceNameResponse>;
457
+ /**
458
+ * change workspace name
459
+ * @param data The data for the request.
460
+ * @param data.workspace
461
+ * @param data.requestBody
462
+ * @returns string status
463
+ * @throws ApiError
464
+ */
465
+ export declare const changeWorkspaceName: (data: ChangeWorkspaceNameData) => CancelablePromise<ChangeWorkspaceNameResponse>;
466
+ /**
467
+ * change workspace id
468
+ * @param data The data for the request.
469
+ * @param data.workspace
470
+ * @param data.requestBody
471
+ * @returns string status
472
+ * @throws ApiError
473
+ */
474
+ export declare const changeWorkspaceId: (data: ChangeWorkspaceIdData) => CancelablePromise<ChangeWorkspaceIdResponse>;
475
+ /**
476
+ * whois
477
+ * @param data The data for the request.
478
+ * @param data.workspace
479
+ * @param data.username
480
+ * @returns User user
481
+ * @throws ApiError
482
+ */
483
+ export declare const whois: (data: WhoisData) => CancelablePromise<WhoisResponse>;
484
+ /**
485
+ * exists email
486
+ * @param data The data for the request.
487
+ * @param data.email
488
+ * @returns boolean user
489
+ * @throws ApiError
490
+ */
491
+ export declare const existsEmail: (data: ExistsEmailData) => CancelablePromise<ExistsEmailResponse>;
492
+ /**
493
+ * list all users as super admin (require to be super amdin)
494
+ * @param data The data for the request.
495
+ * @param data.page which page to return (start at 1, default 1)
496
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
497
+ * @returns GlobalUserInfo user
498
+ * @throws ApiError
499
+ */
500
+ export declare const listUsersAsSuperAdmin: (data?: ListUsersAsSuperAdminData) => CancelablePromise<ListUsersAsSuperAdminResponse>;
501
+ /**
502
+ * list pending invites for a workspace
503
+ * @param data The data for the request.
504
+ * @param data.workspace
505
+ * @returns WorkspaceInvite user
506
+ * @throws ApiError
507
+ */
508
+ export declare const listPendingInvites: (data: ListPendingInvitesData) => CancelablePromise<ListPendingInvitesResponse>;
509
+ /**
510
+ * get settings
511
+ * @param data The data for the request.
512
+ * @param data.workspace
513
+ * @returns unknown status
514
+ * @throws ApiError
515
+ */
516
+ export declare const getSettings: (data: GetSettingsData) => CancelablePromise<GetSettingsResponse>;
517
+ /**
518
+ * get deploy to
519
+ * @param data The data for the request.
520
+ * @param data.workspace
521
+ * @returns unknown status
522
+ * @throws ApiError
523
+ */
524
+ export declare const getDeployTo: (data: GetDeployToData) => CancelablePromise<GetDeployToResponse>;
525
+ /**
526
+ * get if workspace is premium
527
+ * @param data The data for the request.
528
+ * @param data.workspace
529
+ * @returns boolean status
530
+ * @throws ApiError
531
+ */
532
+ export declare const getIsPremium: (data: GetIsPremiumData) => CancelablePromise<GetIsPremiumResponse>;
533
+ /**
534
+ * get premium info
535
+ * @param data The data for the request.
536
+ * @param data.workspace
537
+ * @returns unknown status
538
+ * @throws ApiError
539
+ */
540
+ export declare const getPremiumInfo: (data: GetPremiumInfoData) => CancelablePromise<GetPremiumInfoResponse>;
541
+ /**
542
+ * set automatic billing
543
+ * @param data The data for the request.
544
+ * @param data.workspace
545
+ * @param data.requestBody automatic billing
546
+ * @returns string status
547
+ * @throws ApiError
548
+ */
549
+ export declare const setAutomaticBilling: (data: SetAutomaticBillingData) => CancelablePromise<SetAutomaticBillingResponse>;
550
+ /**
551
+ * edit slack command
552
+ * @param data The data for the request.
553
+ * @param data.workspace
554
+ * @param data.requestBody WorkspaceInvite
555
+ * @returns string status
556
+ * @throws ApiError
557
+ */
558
+ export declare const editSlackCommand: (data: EditSlackCommandData) => CancelablePromise<EditSlackCommandResponse>;
559
+ /**
560
+ * run a job that sends a message to Slack
561
+ * @param data The data for the request.
562
+ * @param data.workspace
563
+ * @param data.requestBody path to hub script to run and its corresponding args
564
+ * @returns unknown status
565
+ * @throws ApiError
566
+ */
567
+ export declare const runSlackMessageTestJob: (data: RunSlackMessageTestJobData) => CancelablePromise<RunSlackMessageTestJobResponse>;
568
+ /**
569
+ * edit deploy to
570
+ * @param data The data for the request.
571
+ * @param data.workspace
572
+ * @param data.requestBody
573
+ * @returns string status
574
+ * @throws ApiError
575
+ */
576
+ export declare const editDeployTo: (data: EditDeployToData) => CancelablePromise<EditDeployToResponse>;
577
+ /**
578
+ * edit auto invite
579
+ * @param data The data for the request.
580
+ * @param data.workspace
581
+ * @param data.requestBody WorkspaceInvite
582
+ * @returns string status
583
+ * @throws ApiError
584
+ */
585
+ export declare const editAutoInvite: (data: EditAutoInviteData) => CancelablePromise<EditAutoInviteResponse>;
586
+ /**
587
+ * edit webhook
588
+ * @param data The data for the request.
589
+ * @param data.workspace
590
+ * @param data.requestBody WorkspaceWebhook
591
+ * @returns string status
592
+ * @throws ApiError
593
+ */
594
+ export declare const editWebhook: (data: EditWebhookData) => CancelablePromise<EditWebhookResponse>;
595
+ /**
596
+ * edit copilot config
597
+ * @param data The data for the request.
598
+ * @param data.workspace
599
+ * @param data.requestBody WorkspaceCopilotConfig
600
+ * @returns string status
601
+ * @throws ApiError
602
+ */
603
+ export declare const editCopilotConfig: (data: EditCopilotConfigData) => CancelablePromise<EditCopilotConfigResponse>;
604
+ /**
605
+ * get copilot info
606
+ * @param data The data for the request.
607
+ * @param data.workspace
608
+ * @returns unknown status
609
+ * @throws ApiError
610
+ */
611
+ export declare const getCopilotInfo: (data: GetCopilotInfoData) => CancelablePromise<GetCopilotInfoResponse>;
612
+ /**
613
+ * edit error handler
614
+ * @param data The data for the request.
615
+ * @param data.workspace
616
+ * @param data.requestBody WorkspaceErrorHandler
617
+ * @returns string status
618
+ * @throws ApiError
619
+ */
620
+ export declare const editErrorHandler: (data: EditErrorHandlerData) => CancelablePromise<EditErrorHandlerResponse>;
621
+ /**
622
+ * edit large file storage settings
623
+ * @param data The data for the request.
624
+ * @param data.workspace
625
+ * @param data.requestBody LargeFileStorage info
626
+ * @returns unknown status
627
+ * @throws ApiError
628
+ */
629
+ export declare const editLargeFileStorageConfig: (data: EditLargeFileStorageConfigData) => CancelablePromise<EditLargeFileStorageConfigResponse>;
630
+ /**
631
+ * edit workspace git sync settings
632
+ * @param data The data for the request.
633
+ * @param data.workspace
634
+ * @param data.requestBody Workspace Git sync settings
635
+ * @returns unknown status
636
+ * @throws ApiError
637
+ */
638
+ export declare const editWorkspaceGitSyncConfig: (data: EditWorkspaceGitSyncConfigData) => CancelablePromise<EditWorkspaceGitSyncConfigResponse>;
639
+ /**
640
+ * edit workspace deploy ui settings
641
+ * @param data The data for the request.
642
+ * @param data.workspace
643
+ * @param data.requestBody Workspace deploy UI settings
644
+ * @returns unknown status
645
+ * @throws ApiError
646
+ */
647
+ export declare const editWorkspaceDeployUiSettings: (data: EditWorkspaceDeployUiSettingsData) => CancelablePromise<EditWorkspaceDeployUiSettingsResponse>;
648
+ /**
649
+ * edit default app for workspace
650
+ * @param data The data for the request.
651
+ * @param data.workspace
652
+ * @param data.requestBody Workspace default app
653
+ * @returns string status
654
+ * @throws ApiError
655
+ */
656
+ export declare const editWorkspaceDefaultApp: (data: EditWorkspaceDefaultAppData) => CancelablePromise<EditWorkspaceDefaultAppResponse>;
657
+ /**
658
+ * edit default scripts for workspace
659
+ * @param data The data for the request.
660
+ * @param data.workspace
661
+ * @param data.requestBody Workspace default app
662
+ * @returns string status
663
+ * @throws ApiError
664
+ */
665
+ export declare const editDefaultScripts: (data: EditDefaultScriptsData) => CancelablePromise<EditDefaultScriptsResponse>;
666
+ /**
667
+ * get default scripts for workspace
668
+ * @param data The data for the request.
669
+ * @param data.workspace
670
+ * @returns WorkspaceDefaultScripts status
671
+ * @throws ApiError
672
+ */
673
+ export declare const getDefaultScripts: (data: GetDefaultScriptsData) => CancelablePromise<GetDefaultScriptsResponse>;
674
+ /**
675
+ * set environment variable
676
+ * @param data The data for the request.
677
+ * @param data.workspace
678
+ * @param data.requestBody Workspace default app
679
+ * @returns string status
680
+ * @throws ApiError
681
+ */
682
+ export declare const setEnvironmentVariable: (data: SetEnvironmentVariableData) => CancelablePromise<SetEnvironmentVariableResponse>;
683
+ /**
684
+ * retrieves the encryption key for this workspace
685
+ * @param data The data for the request.
686
+ * @param data.workspace
687
+ * @returns unknown status
688
+ * @throws ApiError
689
+ */
690
+ export declare const getWorkspaceEncryptionKey: (data: GetWorkspaceEncryptionKeyData) => CancelablePromise<GetWorkspaceEncryptionKeyResponse>;
691
+ /**
692
+ * update the encryption key for this workspace
693
+ * @param data The data for the request.
694
+ * @param data.workspace
695
+ * @param data.requestBody New encryption key
696
+ * @returns string status
697
+ * @throws ApiError
698
+ */
699
+ export declare const setWorkspaceEncryptionKey: (data: SetWorkspaceEncryptionKeyData) => CancelablePromise<SetWorkspaceEncryptionKeyResponse>;
700
+ /**
701
+ * get default app for workspace
702
+ * @param data The data for the request.
703
+ * @param data.workspace
704
+ * @returns unknown status
705
+ * @throws ApiError
706
+ */
707
+ export declare const getWorkspaceDefaultApp: (data: GetWorkspaceDefaultAppData) => CancelablePromise<GetWorkspaceDefaultAppResponse>;
708
+ /**
709
+ * get large file storage config
710
+ * @param data The data for the request.
711
+ * @param data.workspace
712
+ * @returns LargeFileStorage status
713
+ * @throws ApiError
714
+ */
715
+ export declare const getLargeFileStorageConfig: (data: GetLargeFileStorageConfigData) => CancelablePromise<GetLargeFileStorageConfigResponse>;
716
+ /**
717
+ * get usage
718
+ * @param data The data for the request.
719
+ * @param data.workspace
720
+ * @returns number usage
721
+ * @throws ApiError
722
+ */
723
+ export declare const getWorkspaceUsage: (data: GetWorkspaceUsageData) => CancelablePromise<GetWorkspaceUsageResponse>;
724
+ /**
725
+ * list users
726
+ * @param data The data for the request.
727
+ * @param data.workspace
728
+ * @returns User user
729
+ * @throws ApiError
730
+ */
731
+ export declare const listUsers: (data: ListUsersData) => CancelablePromise<ListUsersResponse>;
732
+ /**
733
+ * list users usage
734
+ * @param data The data for the request.
735
+ * @param data.workspace
736
+ * @returns UserUsage user
737
+ * @throws ApiError
738
+ */
739
+ export declare const listUsersUsage: (data: ListUsersUsageData) => CancelablePromise<ListUsersUsageResponse>;
740
+ /**
741
+ * list usernames
742
+ * @param data The data for the request.
743
+ * @param data.workspace
744
+ * @returns string user
745
+ * @throws ApiError
746
+ */
747
+ export declare const listUsernames: (data: ListUsernamesData) => CancelablePromise<ListUsernamesResponse>;
748
+ /**
749
+ * get email from username
750
+ * @param data The data for the request.
751
+ * @param data.workspace
752
+ * @param data.username
753
+ * @returns string email
754
+ * @throws ApiError
755
+ */
756
+ export declare const usernameToEmail: (data: UsernameToEmailData) => CancelablePromise<UsernameToEmailResponse>;
757
+ /**
758
+ * create token
759
+ * @param data The data for the request.
760
+ * @param data.requestBody new token
761
+ * @returns string token created
762
+ * @throws ApiError
763
+ */
764
+ export declare const createToken: (data: CreateTokenData) => CancelablePromise<CreateTokenResponse>;
765
+ /**
766
+ * create token to impersonate a user (require superadmin)
767
+ * @param data The data for the request.
768
+ * @param data.requestBody new token
769
+ * @returns string token created
770
+ * @throws ApiError
771
+ */
772
+ export declare const createTokenImpersonate: (data: CreateTokenImpersonateData) => CancelablePromise<CreateTokenImpersonateResponse>;
773
+ /**
774
+ * delete token
775
+ * @param data The data for the request.
776
+ * @param data.tokenPrefix
777
+ * @returns string delete token
778
+ * @throws ApiError
779
+ */
780
+ export declare const deleteToken: (data: DeleteTokenData) => CancelablePromise<DeleteTokenResponse>;
781
+ /**
782
+ * list token
783
+ * @param data The data for the request.
784
+ * @param data.excludeEphemeral
785
+ * @param data.page which page to return (start at 1, default 1)
786
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
787
+ * @returns TruncatedToken truncated token
788
+ * @throws ApiError
789
+ */
790
+ export declare const listTokens: (data?: ListTokensData) => CancelablePromise<ListTokensResponse>;
791
+ /**
792
+ * get OIDC token (ee only)
793
+ * @param data The data for the request.
794
+ * @param data.workspace
795
+ * @param data.audience
796
+ * @returns string new oidc token
797
+ * @throws ApiError
798
+ */
799
+ export declare const getOidcToken: (data: GetOidcTokenData) => CancelablePromise<GetOidcTokenResponse>;
800
+ /**
801
+ * create variable
802
+ * @param data The data for the request.
803
+ * @param data.workspace
804
+ * @param data.requestBody new variable
805
+ * @param data.alreadyEncrypted
806
+ * @returns string variable created
807
+ * @throws ApiError
808
+ */
809
+ export declare const createVariable: (data: CreateVariableData) => CancelablePromise<CreateVariableResponse>;
810
+ /**
811
+ * encrypt value
812
+ * @param data The data for the request.
813
+ * @param data.workspace
814
+ * @param data.requestBody new variable
815
+ * @returns string encrypted value
816
+ * @throws ApiError
817
+ */
818
+ export declare const encryptValue: (data: EncryptValueData) => CancelablePromise<EncryptValueResponse>;
819
+ /**
820
+ * delete variable
821
+ * @param data The data for the request.
822
+ * @param data.workspace
823
+ * @param data.path
824
+ * @returns string variable deleted
825
+ * @throws ApiError
826
+ */
827
+ export declare const deleteVariable: (data: DeleteVariableData) => CancelablePromise<DeleteVariableResponse>;
828
+ /**
829
+ * update variable
830
+ * @param data The data for the request.
831
+ * @param data.workspace
832
+ * @param data.path
833
+ * @param data.requestBody updated variable
834
+ * @param data.alreadyEncrypted
835
+ * @returns string variable updated
836
+ * @throws ApiError
837
+ */
838
+ export declare const updateVariable: (data: UpdateVariableData) => CancelablePromise<UpdateVariableResponse>;
839
+ /**
840
+ * get variable
841
+ * @param data The data for the request.
842
+ * @param data.workspace
843
+ * @param data.path
844
+ * @param data.decryptSecret ask to decrypt secret if this variable is secret
845
+ * (if not secret no effect, default: true)
846
+ *
847
+ * @param data.includeEncrypted ask to include the encrypted value if secret and decrypt secret is not true (default: false)
848
+ *
849
+ * @returns ListableVariable variable
850
+ * @throws ApiError
851
+ */
852
+ export declare const getVariable: (data: GetVariableData) => CancelablePromise<GetVariableResponse>;
853
+ /**
854
+ * get variable value
855
+ * @param data The data for the request.
856
+ * @param data.workspace
857
+ * @param data.path
858
+ * @returns string variable
859
+ * @throws ApiError
860
+ */
861
+ export declare const getVariableValue: (data: GetVariableValueData) => CancelablePromise<GetVariableValueResponse>;
862
+ /**
863
+ * does variable exists at path
864
+ * @param data The data for the request.
865
+ * @param data.workspace
866
+ * @param data.path
867
+ * @returns boolean variable
868
+ * @throws ApiError
869
+ */
870
+ export declare const existsVariable: (data: ExistsVariableData) => CancelablePromise<ExistsVariableResponse>;
871
+ /**
872
+ * list variables
873
+ * @param data The data for the request.
874
+ * @param data.workspace
875
+ * @param data.pathStart
876
+ * @param data.page which page to return (start at 1, default 1)
877
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
878
+ * @returns ListableVariable variable list
879
+ * @throws ApiError
880
+ */
881
+ export declare const listVariable: (data: ListVariableData) => CancelablePromise<ListVariableResponse>;
882
+ /**
883
+ * list contextual variables
884
+ * @param data The data for the request.
885
+ * @param data.workspace
886
+ * @returns ContextualVariable contextual variable list
887
+ * @throws ApiError
888
+ */
889
+ export declare const listContextualVariables: (data: ListContextualVariablesData) => CancelablePromise<ListContextualVariablesResponse>;
890
+ /**
891
+ * login with oauth authorization flow
892
+ * @param data The data for the request.
893
+ * @param data.clientName
894
+ * @param data.requestBody Partially filled script
895
+ * @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.
896
+ *
897
+ * @throws ApiError
898
+ */
899
+ export declare const loginWithOauth: (data: LoginWithOauthData) => CancelablePromise<LoginWithOauthResponse>;
900
+ /**
901
+ * connect slack callback
902
+ * @param data The data for the request.
903
+ * @param data.workspace
904
+ * @param data.requestBody code endpoint
905
+ * @returns string slack token
906
+ * @throws ApiError
907
+ */
908
+ export declare const connectSlackCallback: (data: ConnectSlackCallbackData) => CancelablePromise<ConnectSlackCallbackResponse>;
909
+ /**
910
+ * connect slack callback instance
911
+ * @param data The data for the request.
912
+ * @param data.requestBody code endpoint
913
+ * @returns string success message
914
+ * @throws ApiError
915
+ */
916
+ export declare const connectSlackCallbackInstance: (data: ConnectSlackCallbackInstanceData) => CancelablePromise<ConnectSlackCallbackInstanceResponse>;
917
+ /**
918
+ * connect callback
919
+ * @param data The data for the request.
920
+ * @param data.clientName
921
+ * @param data.requestBody code endpoint
922
+ * @returns TokenResponse oauth token
923
+ * @throws ApiError
924
+ */
925
+ export declare const connectCallback: (data: ConnectCallbackData) => CancelablePromise<ConnectCallbackResponse>;
926
+ /**
927
+ * create OAuth account
928
+ * @param data The data for the request.
929
+ * @param data.workspace
930
+ * @param data.requestBody code endpoint
931
+ * @returns string account set
932
+ * @throws ApiError
933
+ */
934
+ export declare const createAccount: (data: CreateAccountData) => CancelablePromise<CreateAccountResponse>;
935
+ /**
936
+ * refresh token
937
+ * @param data The data for the request.
938
+ * @param data.workspace
939
+ * @param data.id
940
+ * @param data.requestBody variable path
941
+ * @returns string token refreshed
942
+ * @throws ApiError
943
+ */
944
+ export declare const refreshToken: (data: RefreshTokenData) => CancelablePromise<RefreshTokenResponse>;
945
+ /**
946
+ * disconnect account
947
+ * @param data The data for the request.
948
+ * @param data.workspace
949
+ * @param data.id
950
+ * @returns string disconnected client
951
+ * @throws ApiError
952
+ */
953
+ export declare const disconnectAccount: (data: DisconnectAccountData) => CancelablePromise<DisconnectAccountResponse>;
954
+ /**
955
+ * disconnect slack
956
+ * @param data The data for the request.
957
+ * @param data.workspace
958
+ * @returns string disconnected slack
959
+ * @throws ApiError
960
+ */
961
+ export declare const disconnectSlack: (data: DisconnectSlackData) => CancelablePromise<DisconnectSlackResponse>;
962
+ /**
963
+ * list oauth logins
964
+ * @returns unknown list of oauth and saml login clients
965
+ * @throws ApiError
966
+ */
967
+ export declare const listOauthLogins: () => CancelablePromise<ListOauthLoginsResponse>;
968
+ /**
969
+ * list oauth connects
970
+ * @returns string list of oauth connects clients
971
+ * @throws ApiError
972
+ */
973
+ export declare const listOauthConnects: () => CancelablePromise<ListOauthConnectsResponse>;
974
+ /**
975
+ * get oauth connect
976
+ * @param data The data for the request.
977
+ * @param data.client client name
978
+ * @returns unknown get
979
+ * @throws ApiError
980
+ */
981
+ export declare const getOauthConnect: (data: GetOauthConnectData) => CancelablePromise<GetOauthConnectResponse>;
982
+ /**
983
+ * create resource
984
+ * @param data The data for the request.
985
+ * @param data.workspace
986
+ * @param data.requestBody new resource
987
+ * @param data.updateIfExists
988
+ * @returns string resource created
989
+ * @throws ApiError
990
+ */
991
+ export declare const createResource: (data: CreateResourceData) => CancelablePromise<CreateResourceResponse>;
992
+ /**
993
+ * delete resource
994
+ * @param data The data for the request.
995
+ * @param data.workspace
996
+ * @param data.path
997
+ * @returns string resource deleted
998
+ * @throws ApiError
999
+ */
1000
+ export declare const deleteResource: (data: DeleteResourceData) => CancelablePromise<DeleteResourceResponse>;
1001
+ /**
1002
+ * update resource
1003
+ * @param data The data for the request.
1004
+ * @param data.workspace
1005
+ * @param data.path
1006
+ * @param data.requestBody updated resource
1007
+ * @returns string resource updated
1008
+ * @throws ApiError
1009
+ */
1010
+ export declare const updateResource: (data: UpdateResourceData) => CancelablePromise<UpdateResourceResponse>;
1011
+ /**
1012
+ * update resource value
1013
+ * @param data The data for the request.
1014
+ * @param data.workspace
1015
+ * @param data.path
1016
+ * @param data.requestBody updated resource
1017
+ * @returns string resource value updated
1018
+ * @throws ApiError
1019
+ */
1020
+ export declare const updateResourceValue: (data: UpdateResourceValueData) => CancelablePromise<UpdateResourceValueResponse>;
1021
+ /**
1022
+ * get resource
1023
+ * @param data The data for the request.
1024
+ * @param data.workspace
1025
+ * @param data.path
1026
+ * @returns Resource resource
1027
+ * @throws ApiError
1028
+ */
1029
+ export declare const getResource: (data: GetResourceData) => CancelablePromise<GetResourceResponse>;
1030
+ /**
1031
+ * get resource interpolated (variables and resources are fully unrolled)
1032
+ * @param data The data for the request.
1033
+ * @param data.workspace
1034
+ * @param data.path
1035
+ * @param data.jobId job id
1036
+ * @returns unknown resource value
1037
+ * @throws ApiError
1038
+ */
1039
+ export declare const getResourceValueInterpolated: (data: GetResourceValueInterpolatedData) => CancelablePromise<GetResourceValueInterpolatedResponse>;
1040
+ /**
1041
+ * get resource value
1042
+ * @param data The data for the request.
1043
+ * @param data.workspace
1044
+ * @param data.path
1045
+ * @returns unknown resource value
1046
+ * @throws ApiError
1047
+ */
1048
+ export declare const getResourceValue: (data: GetResourceValueData) => CancelablePromise<GetResourceValueResponse>;
1049
+ /**
1050
+ * does resource exists
1051
+ * @param data The data for the request.
1052
+ * @param data.workspace
1053
+ * @param data.path
1054
+ * @returns boolean does resource exists
1055
+ * @throws ApiError
1056
+ */
1057
+ export declare const existsResource: (data: ExistsResourceData) => CancelablePromise<ExistsResourceResponse>;
1058
+ /**
1059
+ * list resources
1060
+ * @param data The data for the request.
1061
+ * @param data.workspace
1062
+ * @param data.page which page to return (start at 1, default 1)
1063
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
1064
+ * @param data.resourceType resource_types to list from, separated by ',',
1065
+ * @param data.resourceTypeExclude resource_types to not list from, separated by ',',
1066
+ * @param data.pathStart
1067
+ * @returns ListableResource resource list
1068
+ * @throws ApiError
1069
+ */
1070
+ export declare const listResource: (data: ListResourceData) => CancelablePromise<ListResourceResponse>;
1071
+ /**
1072
+ * list resources for search
1073
+ * @param data The data for the request.
1074
+ * @param data.workspace
1075
+ * @returns unknown resource list
1076
+ * @throws ApiError
1077
+ */
1078
+ export declare const listSearchResource: (data: ListSearchResourceData) => CancelablePromise<ListSearchResourceResponse>;
1079
+ /**
1080
+ * list resource names
1081
+ * @param data The data for the request.
1082
+ * @param data.workspace
1083
+ * @param data.name
1084
+ * @returns unknown resource list names
1085
+ * @throws ApiError
1086
+ */
1087
+ export declare const listResourceNames: (data: ListResourceNamesData) => CancelablePromise<ListResourceNamesResponse>;
1088
+ /**
1089
+ * create resource_type
1090
+ * @param data The data for the request.
1091
+ * @param data.workspace
1092
+ * @param data.requestBody new resource_type
1093
+ * @returns string resource_type created
1094
+ * @throws ApiError
1095
+ */
1096
+ export declare const createResourceType: (data: CreateResourceTypeData) => CancelablePromise<CreateResourceTypeResponse>;
1097
+ /**
1098
+ * get map from resource type to format extension
1099
+ * @param data The data for the request.
1100
+ * @param data.workspace
1101
+ * @returns unknown map from resource type to file ext
1102
+ * @throws ApiError
1103
+ */
1104
+ export declare const fileResourceTypeToFileExtMap: (data: FileResourceTypeToFileExtMapData) => CancelablePromise<FileResourceTypeToFileExtMapResponse>;
1105
+ /**
1106
+ * delete resource_type
1107
+ * @param data The data for the request.
1108
+ * @param data.workspace
1109
+ * @param data.path
1110
+ * @returns string resource_type deleted
1111
+ * @throws ApiError
1112
+ */
1113
+ export declare const deleteResourceType: (data: DeleteResourceTypeData) => CancelablePromise<DeleteResourceTypeResponse>;
1114
+ /**
1115
+ * update resource_type
1116
+ * @param data The data for the request.
1117
+ * @param data.workspace
1118
+ * @param data.path
1119
+ * @param data.requestBody updated resource_type
1120
+ * @returns string resource_type updated
1121
+ * @throws ApiError
1122
+ */
1123
+ export declare const updateResourceType: (data: UpdateResourceTypeData) => CancelablePromise<UpdateResourceTypeResponse>;
1124
+ /**
1125
+ * get resource_type
1126
+ * @param data The data for the request.
1127
+ * @param data.workspace
1128
+ * @param data.path
1129
+ * @returns ResourceType resource_type deleted
1130
+ * @throws ApiError
1131
+ */
1132
+ export declare const getResourceType: (data: GetResourceTypeData) => CancelablePromise<GetResourceTypeResponse>;
1133
+ /**
1134
+ * does resource_type exists
1135
+ * @param data The data for the request.
1136
+ * @param data.workspace
1137
+ * @param data.path
1138
+ * @returns boolean does resource_type exist
1139
+ * @throws ApiError
1140
+ */
1141
+ export declare const existsResourceType: (data: ExistsResourceTypeData) => CancelablePromise<ExistsResourceTypeResponse>;
1142
+ /**
1143
+ * list resource_types
1144
+ * @param data The data for the request.
1145
+ * @param data.workspace
1146
+ * @returns ResourceType resource_type list
1147
+ * @throws ApiError
1148
+ */
1149
+ export declare const listResourceType: (data: ListResourceTypeData) => CancelablePromise<ListResourceTypeResponse>;
1150
+ /**
1151
+ * list resource_types names
1152
+ * @param data The data for the request.
1153
+ * @param data.workspace
1154
+ * @returns string resource_type list
1155
+ * @throws ApiError
1156
+ */
1157
+ export declare const listResourceTypeNames: (data: ListResourceTypeNamesData) => CancelablePromise<ListResourceTypeNamesResponse>;
1158
+ /**
1159
+ * query resource types by similarity
1160
+ * @param data The data for the request.
1161
+ * @param data.workspace
1162
+ * @param data.text query text
1163
+ * @param data.limit query limit
1164
+ * @returns unknown resource type details
1165
+ * @throws ApiError
1166
+ */
1167
+ export declare const queryResourceTypes: (data: QueryResourceTypesData) => CancelablePromise<QueryResourceTypesResponse>;
1168
+ /**
1169
+ * list hub integrations
1170
+ * @param data The data for the request.
1171
+ * @param data.kind query integrations kind
1172
+ * @returns unknown integrations details
1173
+ * @throws ApiError
1174
+ */
1175
+ export declare const listHubIntegrations: (data?: ListHubIntegrationsData) => CancelablePromise<ListHubIntegrationsResponse>;
1176
+ /**
1177
+ * list all hub flows
1178
+ * @returns unknown hub flows list
1179
+ * @throws ApiError
1180
+ */
1181
+ export declare const listHubFlows: () => CancelablePromise<ListHubFlowsResponse>;
1182
+ /**
1183
+ * get hub flow by id
1184
+ * @param data The data for the request.
1185
+ * @param data.id
1186
+ * @returns unknown flow
1187
+ * @throws ApiError
1188
+ */
1189
+ export declare const getHubFlowById: (data: GetHubFlowByIdData) => CancelablePromise<GetHubFlowByIdResponse>;
1190
+ /**
1191
+ * list all hub apps
1192
+ * @returns unknown hub apps list
1193
+ * @throws ApiError
1194
+ */
1195
+ export declare const listHubApps: () => CancelablePromise<ListHubAppsResponse>;
1196
+ /**
1197
+ * get hub app by id
1198
+ * @param data The data for the request.
1199
+ * @param data.id
1200
+ * @returns unknown app
1201
+ * @throws ApiError
1202
+ */
1203
+ export declare const getHubAppById: (data: GetHubAppByIdData) => CancelablePromise<GetHubAppByIdResponse>;
1204
+ /**
1205
+ * get hub script content by path
1206
+ * @param data The data for the request.
1207
+ * @param data.path
1208
+ * @returns string script details
1209
+ * @throws ApiError
1210
+ */
1211
+ export declare const getHubScriptContentByPath: (data: GetHubScriptContentByPathData) => CancelablePromise<GetHubScriptContentByPathResponse>;
1212
+ /**
1213
+ * get full hub script by path
1214
+ * @param data The data for the request.
1215
+ * @param data.path
1216
+ * @returns unknown script details
1217
+ * @throws ApiError
1218
+ */
1219
+ export declare const getHubScriptByPath: (data: GetHubScriptByPathData) => CancelablePromise<GetHubScriptByPathResponse>;
1220
+ /**
1221
+ * get top hub scripts
1222
+ * @param data The data for the request.
1223
+ * @param data.limit query limit
1224
+ * @param data.app query scripts app
1225
+ * @param data.kind query scripts kind
1226
+ * @returns unknown hub scripts list
1227
+ * @throws ApiError
1228
+ */
1229
+ export declare const getTopHubScripts: (data?: GetTopHubScriptsData) => CancelablePromise<GetTopHubScriptsResponse>;
1230
+ /**
1231
+ * query hub scripts by similarity
1232
+ * @param data The data for the request.
1233
+ * @param data.text query text
1234
+ * @param data.kind query scripts kind
1235
+ * @param data.limit query limit
1236
+ * @param data.app query scripts app
1237
+ * @returns unknown script details
1238
+ * @throws ApiError
1239
+ */
1240
+ export declare const queryHubScripts: (data: QueryHubScriptsData) => CancelablePromise<QueryHubScriptsResponse>;
1241
+ /**
1242
+ * list scripts for search
1243
+ * @param data The data for the request.
1244
+ * @param data.workspace
1245
+ * @returns unknown script list
1246
+ * @throws ApiError
1247
+ */
1248
+ export declare const listSearchScript: (data: ListSearchScriptData) => CancelablePromise<ListSearchScriptResponse>;
1249
+ /**
1250
+ * list all scripts
1251
+ * @param data The data for the request.
1252
+ * @param data.workspace
1253
+ * @param data.page which page to return (start at 1, default 1)
1254
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
1255
+ * @param data.orderDesc order by desc order (default true)
1256
+ * @param data.createdBy mask to filter exact matching user creator
1257
+ * @param data.pathStart mask to filter matching starting path
1258
+ * @param data.pathExact mask to filter exact matching path
1259
+ * @param data.firstParentHash mask to filter scripts whom first direct parent has exact hash
1260
+ * @param data.lastParentHash mask to filter scripts whom last parent in the chain has exact hash.
1261
+ * Beware that each script stores only a limited number of parents. Hence
1262
+ * the last parent hash for a script is not necessarily its top-most parent.
1263
+ * To find the top-most parent you will have to jump from last to last hash
1264
+ * until finding the parent
1265
+ *
1266
+ * @param data.parentHash is the hash present in the array of stored parent hashes for this script.
1267
+ * The same warning applies than for last_parent_hash. A script only store a
1268
+ * limited number of direct parent
1269
+ *
1270
+ * @param data.showArchived (default false)
1271
+ * show only the archived files.
1272
+ * when multiple archived hash share the same path, only the ones with the latest create_at
1273
+ * are
1274
+ * ed.
1275
+ *
1276
+ * @param data.includeWithoutMain (default false)
1277
+ * include scripts without an exported main function
1278
+ *
1279
+ * @param data.includeDraftOnly (default false)
1280
+ * include scripts that have no deployed version
1281
+ *
1282
+ * @param data.isTemplate (default regardless)
1283
+ * if true show only the templates
1284
+ * if false show only the non templates
1285
+ * if not defined, show all regardless of if the script is a template
1286
+ *
1287
+ * @param data.kinds (default regardless)
1288
+ * script kinds to filter, split by comma
1289
+ *
1290
+ * @param data.starredOnly (default false)
1291
+ * show only the starred items
1292
+ *
1293
+ * @param data.withDeploymentMsg (default false)
1294
+ * include deployment message
1295
+ *
1296
+ * @returns Script All scripts
1297
+ * @throws ApiError
1298
+ */
1299
+ export declare const listScripts: (data: ListScriptsData) => CancelablePromise<ListScriptsResponse>;
1300
+ /**
1301
+ * list all scripts paths
1302
+ * @param data The data for the request.
1303
+ * @param data.workspace
1304
+ * @returns string list of script paths
1305
+ * @throws ApiError
1306
+ */
1307
+ export declare const listScriptPaths: (data: ListScriptPathsData) => CancelablePromise<ListScriptPathsResponse>;
1308
+ /**
1309
+ * create draft
1310
+ * @param data The data for the request.
1311
+ * @param data.workspace
1312
+ * @param data.requestBody
1313
+ * @returns string draft created
1314
+ * @throws ApiError
1315
+ */
1316
+ export declare const createDraft: (data: CreateDraftData) => CancelablePromise<CreateDraftResponse>;
1317
+ /**
1318
+ * delete draft
1319
+ * @param data The data for the request.
1320
+ * @param data.workspace
1321
+ * @param data.kind
1322
+ * @param data.path
1323
+ * @returns string draft deleted
1324
+ * @throws ApiError
1325
+ */
1326
+ export declare const deleteDraft: (data: DeleteDraftData) => CancelablePromise<DeleteDraftResponse>;
1327
+ /**
1328
+ * create script
1329
+ * @param data The data for the request.
1330
+ * @param data.workspace
1331
+ * @param data.requestBody Partially filled script
1332
+ * @returns string script created
1333
+ * @throws ApiError
1334
+ */
1335
+ export declare const createScript: (data: CreateScriptData) => CancelablePromise<CreateScriptResponse>;
1336
+ /**
1337
+ * Toggle ON and OFF the workspace error handler for a given script
1338
+ * @param data The data for the request.
1339
+ * @param data.workspace
1340
+ * @param data.path
1341
+ * @param data.requestBody Workspace error handler enabled
1342
+ * @returns string error handler toggled
1343
+ * @throws ApiError
1344
+ */
1345
+ export declare const toggleWorkspaceErrorHandlerForScript: (data: ToggleWorkspaceErrorHandlerForScriptData) => CancelablePromise<ToggleWorkspaceErrorHandlerForScriptResponse>;
1346
+ /**
1347
+ * get all instance custom tags (tags are used to dispatch jobs to different worker groups)
1348
+ * @returns string list of custom tags
1349
+ * @throws ApiError
1350
+ */
1351
+ export declare const getCustomTags: () => CancelablePromise<GetCustomTagsResponse>;
1352
+ /**
1353
+ * get all instance default tags
1354
+ * @returns string list of default tags
1355
+ * @throws ApiError
1356
+ */
1357
+ export declare const geDefaultTags: () => CancelablePromise<GeDefaultTagsResponse>;
1358
+ /**
1359
+ * is default tags per workspace
1360
+ * @returns boolean is the default tags per workspace
1361
+ * @throws ApiError
1362
+ */
1363
+ export declare const isDefaultTagsPerWorkspace: () => CancelablePromise<IsDefaultTagsPerWorkspaceResponse>;
1364
+ /**
1365
+ * archive script by path
1366
+ * @param data The data for the request.
1367
+ * @param data.workspace
1368
+ * @param data.path
1369
+ * @returns string script archived
1370
+ * @throws ApiError
1371
+ */
1372
+ export declare const archiveScriptByPath: (data: ArchiveScriptByPathData) => CancelablePromise<ArchiveScriptByPathResponse>;
1373
+ /**
1374
+ * archive script by hash
1375
+ * @param data The data for the request.
1376
+ * @param data.workspace
1377
+ * @param data.hash
1378
+ * @returns Script script details
1379
+ * @throws ApiError
1380
+ */
1381
+ export declare const archiveScriptByHash: (data: ArchiveScriptByHashData) => CancelablePromise<ArchiveScriptByHashResponse>;
1382
+ /**
1383
+ * delete script by hash (erase content but keep hash, require admin)
1384
+ * @param data The data for the request.
1385
+ * @param data.workspace
1386
+ * @param data.hash
1387
+ * @returns Script script details
1388
+ * @throws ApiError
1389
+ */
1390
+ export declare const deleteScriptByHash: (data: DeleteScriptByHashData) => CancelablePromise<DeleteScriptByHashResponse>;
1391
+ /**
1392
+ * delete all scripts at a given path (require admin)
1393
+ * @param data The data for the request.
1394
+ * @param data.workspace
1395
+ * @param data.path
1396
+ * @returns string script path
1397
+ * @throws ApiError
1398
+ */
1399
+ export declare const deleteScriptByPath: (data: DeleteScriptByPathData) => CancelablePromise<DeleteScriptByPathResponse>;
1400
+ /**
1401
+ * get script by path
1402
+ * @param data The data for the request.
1403
+ * @param data.workspace
1404
+ * @param data.path
1405
+ * @param data.withStarredInfo
1406
+ * @returns Script script details
1407
+ * @throws ApiError
1408
+ */
1409
+ export declare const getScriptByPath: (data: GetScriptByPathData) => CancelablePromise<GetScriptByPathResponse>;
1410
+ /**
1411
+ * get script by path with draft
1412
+ * @param data The data for the request.
1413
+ * @param data.workspace
1414
+ * @param data.path
1415
+ * @returns NewScriptWithDraft script details
1416
+ * @throws ApiError
1417
+ */
1418
+ export declare const getScriptByPathWithDraft: (data: GetScriptByPathWithDraftData) => CancelablePromise<GetScriptByPathWithDraftResponse>;
1419
+ /**
1420
+ * get history of a script by path
1421
+ * @param data The data for the request.
1422
+ * @param data.workspace
1423
+ * @param data.path
1424
+ * @returns ScriptHistory script history
1425
+ * @throws ApiError
1426
+ */
1427
+ export declare const getScriptHistoryByPath: (data: GetScriptHistoryByPathData) => CancelablePromise<GetScriptHistoryByPathResponse>;
1428
+ /**
1429
+ * update history of a script
1430
+ * @param data The data for the request.
1431
+ * @param data.workspace
1432
+ * @param data.hash
1433
+ * @param data.path
1434
+ * @param data.requestBody Script deployment message
1435
+ * @returns string success
1436
+ * @throws ApiError
1437
+ */
1438
+ export declare const updateScriptHistory: (data: UpdateScriptHistoryData) => CancelablePromise<UpdateScriptHistoryResponse>;
1439
+ /**
1440
+ * raw script by path
1441
+ * @param data The data for the request.
1442
+ * @param data.workspace
1443
+ * @param data.path
1444
+ * @returns string script content
1445
+ * @throws ApiError
1446
+ */
1447
+ export declare const rawScriptByPath: (data: RawScriptByPathData) => CancelablePromise<RawScriptByPathResponse>;
1448
+ /**
1449
+ * raw script by path with a token (mostly used by lsp to be used with import maps to resolve scripts)
1450
+ * @param data The data for the request.
1451
+ * @param data.workspace
1452
+ * @param data.token
1453
+ * @param data.path
1454
+ * @returns string script content
1455
+ * @throws ApiError
1456
+ */
1457
+ export declare const rawScriptByPathTokened: (data: RawScriptByPathTokenedData) => CancelablePromise<RawScriptByPathTokenedResponse>;
1458
+ /**
1459
+ * exists script by path
1460
+ * @param data The data for the request.
1461
+ * @param data.workspace
1462
+ * @param data.path
1463
+ * @returns boolean does it exists
1464
+ * @throws ApiError
1465
+ */
1466
+ export declare const existsScriptByPath: (data: ExistsScriptByPathData) => CancelablePromise<ExistsScriptByPathResponse>;
1467
+ /**
1468
+ * get script by hash
1469
+ * @param data The data for the request.
1470
+ * @param data.workspace
1471
+ * @param data.hash
1472
+ * @param data.withStarredInfo
1473
+ * @returns Script script details
1474
+ * @throws ApiError
1475
+ */
1476
+ export declare const getScriptByHash: (data: GetScriptByHashData) => CancelablePromise<GetScriptByHashResponse>;
1477
+ /**
1478
+ * raw script by hash
1479
+ * @param data The data for the request.
1480
+ * @param data.workspace
1481
+ * @param data.path
1482
+ * @returns string script content
1483
+ * @throws ApiError
1484
+ */
1485
+ export declare const rawScriptByHash: (data: RawScriptByHashData) => CancelablePromise<RawScriptByHashResponse>;
1486
+ /**
1487
+ * get script deployment status
1488
+ * @param data The data for the request.
1489
+ * @param data.workspace
1490
+ * @param data.hash
1491
+ * @returns unknown script details
1492
+ * @throws ApiError
1493
+ */
1494
+ export declare const getScriptDeploymentStatus: (data: GetScriptDeploymentStatusData) => CancelablePromise<GetScriptDeploymentStatusResponse>;
1495
+ /**
1496
+ * run script by path
1497
+ * @param data The data for the request.
1498
+ * @param data.workspace
1499
+ * @param data.path
1500
+ * @param data.requestBody script args
1501
+ * @param data.scheduledFor when to schedule this job (leave empty for immediate run)
1502
+ * @param data.scheduledInSecs schedule the script to execute in the number of seconds starting now
1503
+ * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
1504
+ * @param data.tag Override the tag to use
1505
+ * @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
1506
+ * @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)
1507
+ * @param data.invisibleToOwner make the run invisible to the the script owner (default false)
1508
+ * @returns string job created
1509
+ * @throws ApiError
1510
+ */
1511
+ export declare const runScriptByPath: (data: RunScriptByPathData) => CancelablePromise<RunScriptByPathResponse>;
1512
+ /**
1513
+ * run script by path in openai format
1514
+ * @param data The data for the request.
1515
+ * @param data.workspace
1516
+ * @param data.path
1517
+ * @param data.requestBody script args
1518
+ * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
1519
+ * @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)
1520
+ * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args
1521
+ * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
1522
+ *
1523
+ * @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
1524
+ *
1525
+ * @returns unknown job result
1526
+ * @throws ApiError
1527
+ */
1528
+ export declare const openaiSyncScriptByPath: (data: OpenaiSyncScriptByPathData) => CancelablePromise<OpenaiSyncScriptByPathResponse>;
1529
+ /**
1530
+ * run script by path
1531
+ * @param data The data for the request.
1532
+ * @param data.workspace
1533
+ * @param data.path
1534
+ * @param data.requestBody script args
1535
+ * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
1536
+ * @param data.tag Override the tag to use
1537
+ * @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
1538
+ * @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)
1539
+ * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args
1540
+ * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
1541
+ *
1542
+ * @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
1543
+ *
1544
+ * @returns unknown job result
1545
+ * @throws ApiError
1546
+ */
1547
+ export declare const runWaitResultScriptByPath: (data: RunWaitResultScriptByPathData) => CancelablePromise<RunWaitResultScriptByPathResponse>;
1548
+ /**
1549
+ * run script by path with get
1550
+ * @param data The data for the request.
1551
+ * @param data.workspace
1552
+ * @param data.path
1553
+ * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
1554
+ * @param data.tag Override the tag to use
1555
+ * @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
1556
+ * @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)
1557
+ * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args
1558
+ * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
1559
+ *
1560
+ * @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
1561
+ *
1562
+ * @param data.payload The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent
1563
+ * `encodeURIComponent(btoa(JSON.stringify({a: 2})))`
1564
+ *
1565
+ * @returns unknown job result
1566
+ * @throws ApiError
1567
+ */
1568
+ export declare const runWaitResultScriptByPathGet: (data: RunWaitResultScriptByPathGetData) => CancelablePromise<RunWaitResultScriptByPathGetResponse>;
1569
+ /**
1570
+ * run flow by path and wait until completion in openai format
1571
+ * @param data The data for the request.
1572
+ * @param data.workspace
1573
+ * @param data.path
1574
+ * @param data.requestBody script args
1575
+ * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args
1576
+ * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
1577
+ *
1578
+ * @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
1579
+ *
1580
+ * @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)
1581
+ * @returns unknown job result
1582
+ * @throws ApiError
1583
+ */
1584
+ export declare const openaiSyncFlowByPath: (data: OpenaiSyncFlowByPathData) => CancelablePromise<OpenaiSyncFlowByPathResponse>;
1585
+ /**
1586
+ * run flow by path and wait until completion
1587
+ * @param data The data for the request.
1588
+ * @param data.workspace
1589
+ * @param data.path
1590
+ * @param data.requestBody script args
1591
+ * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args
1592
+ * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
1593
+ *
1594
+ * @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
1595
+ *
1596
+ * @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)
1597
+ * @returns unknown job result
1598
+ * @throws ApiError
1599
+ */
1600
+ export declare const runWaitResultFlowByPath: (data: RunWaitResultFlowByPathData) => CancelablePromise<RunWaitResultFlowByPathResponse>;
1601
+ /**
1602
+ * get job result by id
1603
+ * @param data The data for the request.
1604
+ * @param data.workspace
1605
+ * @param data.flowJobId
1606
+ * @param data.nodeId
1607
+ * @returns unknown job result
1608
+ * @throws ApiError
1609
+ */
1610
+ export declare const resultById: (data: ResultByIdData) => CancelablePromise<ResultByIdResponse>;
1611
+ /**
1612
+ * list all flow paths
1613
+ * @param data The data for the request.
1614
+ * @param data.workspace
1615
+ * @returns string list of flow paths
1616
+ * @throws ApiError
1617
+ */
1618
+ export declare const listFlowPaths: (data: ListFlowPathsData) => CancelablePromise<ListFlowPathsResponse>;
1619
+ /**
1620
+ * list flows for search
1621
+ * @param data The data for the request.
1622
+ * @param data.workspace
1623
+ * @returns unknown flow list
1624
+ * @throws ApiError
1625
+ */
1626
+ export declare const listSearchFlow: (data: ListSearchFlowData) => CancelablePromise<ListSearchFlowResponse>;
1627
+ /**
1628
+ * list all flows
1629
+ * @param data The data for the request.
1630
+ * @param data.workspace
1631
+ * @param data.page which page to return (start at 1, default 1)
1632
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
1633
+ * @param data.orderDesc order by desc order (default true)
1634
+ * @param data.createdBy mask to filter exact matching user creator
1635
+ * @param data.pathStart mask to filter matching starting path
1636
+ * @param data.pathExact mask to filter exact matching path
1637
+ * @param data.showArchived (default false)
1638
+ * show only the archived files.
1639
+ * when multiple archived hash share the same path, only the ones with the latest create_at
1640
+ * are displayed.
1641
+ *
1642
+ * @param data.starredOnly (default false)
1643
+ * show only the starred items
1644
+ *
1645
+ * @param data.includeDraftOnly (default false)
1646
+ * include items that have no deployed version
1647
+ *
1648
+ * @param data.withDeploymentMsg (default false)
1649
+ * include deployment message
1650
+ *
1651
+ * @returns unknown All flow
1652
+ * @throws ApiError
1653
+ */
1654
+ export declare const listFlows: (data: ListFlowsData) => CancelablePromise<ListFlowsResponse>;
1655
+ /**
1656
+ * get flow history by path
1657
+ * @param data The data for the request.
1658
+ * @param data.workspace
1659
+ * @param data.path
1660
+ * @returns FlowVersion Flow history
1661
+ * @throws ApiError
1662
+ */
1663
+ export declare const getFlowHistory: (data: GetFlowHistoryData) => CancelablePromise<GetFlowHistoryResponse>;
1664
+ /**
1665
+ * get flow version
1666
+ * @param data The data for the request.
1667
+ * @param data.workspace
1668
+ * @param data.version
1669
+ * @param data.path
1670
+ * @returns Flow flow details
1671
+ * @throws ApiError
1672
+ */
1673
+ export declare const getFlowVersion: (data: GetFlowVersionData) => CancelablePromise<GetFlowVersionResponse>;
1674
+ /**
1675
+ * update flow history
1676
+ * @param data The data for the request.
1677
+ * @param data.workspace
1678
+ * @param data.version
1679
+ * @param data.path
1680
+ * @param data.requestBody Flow deployment message
1681
+ * @returns string success
1682
+ * @throws ApiError
1683
+ */
1684
+ export declare const updateFlowHistory: (data: UpdateFlowHistoryData) => CancelablePromise<UpdateFlowHistoryResponse>;
1685
+ /**
1686
+ * get flow by path
1687
+ * @param data The data for the request.
1688
+ * @param data.workspace
1689
+ * @param data.path
1690
+ * @param data.withStarredInfo
1691
+ * @returns Flow flow details
1692
+ * @throws ApiError
1693
+ */
1694
+ export declare const getFlowByPath: (data: GetFlowByPathData) => CancelablePromise<GetFlowByPathResponse>;
1695
+ /**
1696
+ * Toggle ON and OFF the workspace error handler for a given flow
1697
+ * @param data The data for the request.
1698
+ * @param data.workspace
1699
+ * @param data.path
1700
+ * @param data.requestBody Workspace error handler enabled
1701
+ * @returns string error handler toggled
1702
+ * @throws ApiError
1703
+ */
1704
+ export declare const toggleWorkspaceErrorHandlerForFlow: (data: ToggleWorkspaceErrorHandlerForFlowData) => CancelablePromise<ToggleWorkspaceErrorHandlerForFlowResponse>;
1705
+ /**
1706
+ * get flow by path with draft
1707
+ * @param data The data for the request.
1708
+ * @param data.workspace
1709
+ * @param data.path
1710
+ * @returns unknown flow details with draft
1711
+ * @throws ApiError
1712
+ */
1713
+ export declare const getFlowByPathWithDraft: (data: GetFlowByPathWithDraftData) => CancelablePromise<GetFlowByPathWithDraftResponse>;
1714
+ /**
1715
+ * exists flow by path
1716
+ * @param data The data for the request.
1717
+ * @param data.workspace
1718
+ * @param data.path
1719
+ * @returns boolean flow details
1720
+ * @throws ApiError
1721
+ */
1722
+ export declare const existsFlowByPath: (data: ExistsFlowByPathData) => CancelablePromise<ExistsFlowByPathResponse>;
1723
+ /**
1724
+ * create flow
1725
+ * @param data The data for the request.
1726
+ * @param data.workspace
1727
+ * @param data.requestBody Partially filled flow
1728
+ * @returns string flow created
1729
+ * @throws ApiError
1730
+ */
1731
+ export declare const createFlow: (data: CreateFlowData) => CancelablePromise<CreateFlowResponse>;
1732
+ /**
1733
+ * update flow
1734
+ * @param data The data for the request.
1735
+ * @param data.workspace
1736
+ * @param data.path
1737
+ * @param data.requestBody Partially filled flow
1738
+ * @returns string flow updated
1739
+ * @throws ApiError
1740
+ */
1741
+ export declare const updateFlow: (data: UpdateFlowData) => CancelablePromise<UpdateFlowResponse>;
1742
+ /**
1743
+ * archive flow by path
1744
+ * @param data The data for the request.
1745
+ * @param data.workspace
1746
+ * @param data.path
1747
+ * @param data.requestBody archiveFlow
1748
+ * @returns string flow archived
1749
+ * @throws ApiError
1750
+ */
1751
+ export declare const archiveFlowByPath: (data: ArchiveFlowByPathData) => CancelablePromise<ArchiveFlowByPathResponse>;
1752
+ /**
1753
+ * delete flow by path
1754
+ * @param data The data for the request.
1755
+ * @param data.workspace
1756
+ * @param data.path
1757
+ * @returns string flow delete
1758
+ * @throws ApiError
1759
+ */
1760
+ export declare const deleteFlowByPath: (data: DeleteFlowByPathData) => CancelablePromise<DeleteFlowByPathResponse>;
1761
+ /**
1762
+ * list all raw apps
1763
+ * @param data The data for the request.
1764
+ * @param data.workspace
1765
+ * @param data.page which page to return (start at 1, default 1)
1766
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
1767
+ * @param data.orderDesc order by desc order (default true)
1768
+ * @param data.createdBy mask to filter exact matching user creator
1769
+ * @param data.pathStart mask to filter matching starting path
1770
+ * @param data.pathExact mask to filter exact matching path
1771
+ * @param data.starredOnly (default false)
1772
+ * show only the starred items
1773
+ *
1774
+ * @returns ListableRawApp All raw apps
1775
+ * @throws ApiError
1776
+ */
1777
+ export declare const listRawApps: (data: ListRawAppsData) => CancelablePromise<ListRawAppsResponse>;
1778
+ /**
1779
+ * does an app exisst at path
1780
+ * @param data The data for the request.
1781
+ * @param data.workspace
1782
+ * @param data.path
1783
+ * @returns boolean app exists
1784
+ * @throws ApiError
1785
+ */
1786
+ export declare const existsRawApp: (data: ExistsRawAppData) => CancelablePromise<ExistsRawAppResponse>;
1787
+ /**
1788
+ * get app by path
1789
+ * @param data The data for the request.
1790
+ * @param data.workspace
1791
+ * @param data.version
1792
+ * @param data.path
1793
+ * @returns string app details
1794
+ * @throws ApiError
1795
+ */
1796
+ export declare const getRawAppData: (data: GetRawAppDataData) => CancelablePromise<GetRawAppDataResponse>;
1797
+ /**
1798
+ * list apps for search
1799
+ * @param data The data for the request.
1800
+ * @param data.workspace
1801
+ * @returns unknown app list
1802
+ * @throws ApiError
1803
+ */
1804
+ export declare const listSearchApp: (data: ListSearchAppData) => CancelablePromise<ListSearchAppResponse>;
1805
+ /**
1806
+ * list all apps
1807
+ * @param data The data for the request.
1808
+ * @param data.workspace
1809
+ * @param data.page which page to return (start at 1, default 1)
1810
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
1811
+ * @param data.orderDesc order by desc order (default true)
1812
+ * @param data.createdBy mask to filter exact matching user creator
1813
+ * @param data.pathStart mask to filter matching starting path
1814
+ * @param data.pathExact mask to filter exact matching path
1815
+ * @param data.starredOnly (default false)
1816
+ * show only the starred items
1817
+ *
1818
+ * @param data.includeDraftOnly (default false)
1819
+ * include items that have no deployed version
1820
+ *
1821
+ * @param data.withDeploymentMsg (default false)
1822
+ * include deployment message
1823
+ *
1824
+ * @returns ListableApp All apps
1825
+ * @throws ApiError
1826
+ */
1827
+ export declare const listApps: (data: ListAppsData) => CancelablePromise<ListAppsResponse>;
1828
+ /**
1829
+ * create app
1830
+ * @param data The data for the request.
1831
+ * @param data.workspace
1832
+ * @param data.requestBody new app
1833
+ * @returns string app created
1834
+ * @throws ApiError
1835
+ */
1836
+ export declare const createApp: (data: CreateAppData) => CancelablePromise<CreateAppResponse>;
1837
+ /**
1838
+ * does an app exisst at path
1839
+ * @param data The data for the request.
1840
+ * @param data.workspace
1841
+ * @param data.path
1842
+ * @returns boolean app exists
1843
+ * @throws ApiError
1844
+ */
1845
+ export declare const existsApp: (data: ExistsAppData) => CancelablePromise<ExistsAppResponse>;
1846
+ /**
1847
+ * get app by path
1848
+ * @param data The data for the request.
1849
+ * @param data.workspace
1850
+ * @param data.path
1851
+ * @param data.withStarredInfo
1852
+ * @returns AppWithLastVersion app details
1853
+ * @throws ApiError
1854
+ */
1855
+ export declare const getAppByPath: (data: GetAppByPathData) => CancelablePromise<GetAppByPathResponse>;
1856
+ /**
1857
+ * get app by path with draft
1858
+ * @param data The data for the request.
1859
+ * @param data.workspace
1860
+ * @param data.path
1861
+ * @returns AppWithLastVersionWDraft app details with draft
1862
+ * @throws ApiError
1863
+ */
1864
+ export declare const getAppByPathWithDraft: (data: GetAppByPathWithDraftData) => CancelablePromise<GetAppByPathWithDraftResponse>;
1865
+ /**
1866
+ * get app history by path
1867
+ * @param data The data for the request.
1868
+ * @param data.workspace
1869
+ * @param data.path
1870
+ * @returns AppHistory app history
1871
+ * @throws ApiError
1872
+ */
1873
+ export declare const getAppHistoryByPath: (data: GetAppHistoryByPathData) => CancelablePromise<GetAppHistoryByPathResponse>;
1874
+ /**
1875
+ * update app history
1876
+ * @param data The data for the request.
1877
+ * @param data.workspace
1878
+ * @param data.id
1879
+ * @param data.version
1880
+ * @param data.requestBody App deployment message
1881
+ * @returns string success
1882
+ * @throws ApiError
1883
+ */
1884
+ export declare const updateAppHistory: (data: UpdateAppHistoryData) => CancelablePromise<UpdateAppHistoryResponse>;
1885
+ /**
1886
+ * get public app by secret
1887
+ * @param data The data for the request.
1888
+ * @param data.workspace
1889
+ * @param data.path
1890
+ * @returns AppWithLastVersion app details
1891
+ * @throws ApiError
1892
+ */
1893
+ export declare const getPublicAppBySecret: (data: GetPublicAppBySecretData) => CancelablePromise<GetPublicAppBySecretResponse>;
1894
+ /**
1895
+ * get public resource
1896
+ * @param data The data for the request.
1897
+ * @param data.workspace
1898
+ * @param data.path
1899
+ * @returns unknown resource value
1900
+ * @throws ApiError
1901
+ */
1902
+ export declare const getPublicResource: (data: GetPublicResourceData) => CancelablePromise<GetPublicResourceResponse>;
1903
+ /**
1904
+ * get public secret of app
1905
+ * @param data The data for the request.
1906
+ * @param data.workspace
1907
+ * @param data.path
1908
+ * @returns string app secret
1909
+ * @throws ApiError
1910
+ */
1911
+ export declare const getPublicSecretOfApp: (data: GetPublicSecretOfAppData) => CancelablePromise<GetPublicSecretOfAppResponse>;
1912
+ /**
1913
+ * get app by version
1914
+ * @param data The data for the request.
1915
+ * @param data.workspace
1916
+ * @param data.id
1917
+ * @returns AppWithLastVersion app details
1918
+ * @throws ApiError
1919
+ */
1920
+ export declare const getAppByVersion: (data: GetAppByVersionData) => CancelablePromise<GetAppByVersionResponse>;
1921
+ /**
1922
+ * create raw app
1923
+ * @param data The data for the request.
1924
+ * @param data.workspace
1925
+ * @param data.requestBody new raw app
1926
+ * @returns string raw app created
1927
+ * @throws ApiError
1928
+ */
1929
+ export declare const createRawApp: (data: CreateRawAppData) => CancelablePromise<CreateRawAppResponse>;
1930
+ /**
1931
+ * update app
1932
+ * @param data The data for the request.
1933
+ * @param data.workspace
1934
+ * @param data.path
1935
+ * @param data.requestBody updateraw app
1936
+ * @returns string app updated
1937
+ * @throws ApiError
1938
+ */
1939
+ export declare const updateRawApp: (data: UpdateRawAppData) => CancelablePromise<UpdateRawAppResponse>;
1940
+ /**
1941
+ * delete raw app
1942
+ * @param data The data for the request.
1943
+ * @param data.workspace
1944
+ * @param data.path
1945
+ * @returns string app deleted
1946
+ * @throws ApiError
1947
+ */
1948
+ export declare const deleteRawApp: (data: DeleteRawAppData) => CancelablePromise<DeleteRawAppResponse>;
1949
+ /**
1950
+ * delete app
1951
+ * @param data The data for the request.
1952
+ * @param data.workspace
1953
+ * @param data.path
1954
+ * @returns string app deleted
1955
+ * @throws ApiError
1956
+ */
1957
+ export declare const deleteApp: (data: DeleteAppData) => CancelablePromise<DeleteAppResponse>;
1958
+ /**
1959
+ * update app
1960
+ * @param data The data for the request.
1961
+ * @param data.workspace
1962
+ * @param data.path
1963
+ * @param data.requestBody update app
1964
+ * @returns string app updated
1965
+ * @throws ApiError
1966
+ */
1967
+ export declare const updateApp: (data: UpdateAppData) => CancelablePromise<UpdateAppResponse>;
1968
+ /**
1969
+ * executeComponent
1970
+ * @param data The data for the request.
1971
+ * @param data.workspace
1972
+ * @param data.path
1973
+ * @param data.requestBody update app
1974
+ * @returns string job uuid
1975
+ * @throws ApiError
1976
+ */
1977
+ export declare const executeComponent: (data: ExecuteComponentData) => CancelablePromise<ExecuteComponentResponse>;
1978
+ /**
1979
+ * run flow by path
1980
+ * @param data The data for the request.
1981
+ * @param data.workspace
1982
+ * @param data.path
1983
+ * @param data.requestBody flow args
1984
+ * @param data.scheduledFor when to schedule this job (leave empty for immediate run)
1985
+ * @param data.scheduledInSecs schedule the script to execute in the number of seconds starting now
1986
+ * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
1987
+ * @param data.tag Override the tag to use
1988
+ * @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)
1989
+ * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args
1990
+ * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
1991
+ *
1992
+ * @param data.invisibleToOwner make the run invisible to the the flow owner (default false)
1993
+ * @returns string job created
1994
+ * @throws ApiError
1995
+ */
1996
+ export declare const runFlowByPath: (data: RunFlowByPathData) => CancelablePromise<RunFlowByPathResponse>;
1997
+ /**
1998
+ * restart a completed flow at a given step
1999
+ * @param data The data for the request.
2000
+ * @param data.workspace
2001
+ * @param data.id
2002
+ * @param data.stepId step id to restart the flow from
2003
+ * @param data.branchOrIterationN for branchall or loop, the iteration at which the flow should restart
2004
+ * @param data.requestBody flow args
2005
+ * @param data.scheduledFor when to schedule this job (leave empty for immediate run)
2006
+ * @param data.scheduledInSecs schedule the script to execute in the number of seconds starting now
2007
+ * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
2008
+ * @param data.tag Override the tag to use
2009
+ * @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)
2010
+ * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args
2011
+ * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
2012
+ *
2013
+ * @param data.invisibleToOwner make the run invisible to the the flow owner (default false)
2014
+ * @returns string job created
2015
+ * @throws ApiError
2016
+ */
2017
+ export declare const restartFlowAtStep: (data: RestartFlowAtStepData) => CancelablePromise<RestartFlowAtStepResponse>;
2018
+ /**
2019
+ * run script by hash
2020
+ * @param data The data for the request.
2021
+ * @param data.workspace
2022
+ * @param data.hash
2023
+ * @param data.requestBody Partially filled args
2024
+ * @param data.scheduledFor when to schedule this job (leave empty for immediate run)
2025
+ * @param data.scheduledInSecs schedule the script to execute in the number of seconds starting now
2026
+ * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
2027
+ * @param data.tag Override the tag to use
2028
+ * @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
2029
+ * @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)
2030
+ * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args
2031
+ * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
2032
+ *
2033
+ * @param data.invisibleToOwner make the run invisible to the the script owner (default false)
2034
+ * @returns string job created
2035
+ * @throws ApiError
2036
+ */
2037
+ export declare const runScriptByHash: (data: RunScriptByHashData) => CancelablePromise<RunScriptByHashResponse>;
2038
+ /**
2039
+ * run script preview
2040
+ * @param data The data for the request.
2041
+ * @param data.workspace
2042
+ * @param data.requestBody preview
2043
+ * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args
2044
+ * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
2045
+ *
2046
+ * @param data.invisibleToOwner make the run invisible to the the script owner (default false)
2047
+ * @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)
2048
+ * @returns string job created
2049
+ * @throws ApiError
2050
+ */
2051
+ export declare const runScriptPreview: (data: RunScriptPreviewData) => CancelablePromise<RunScriptPreviewResponse>;
2052
+ /**
2053
+ * run code-workflow task
2054
+ * @param data The data for the request.
2055
+ * @param data.workspace
2056
+ * @param data.jobId
2057
+ * @param data.entrypoint
2058
+ * @param data.requestBody preview
2059
+ * @returns string job created
2060
+ * @throws ApiError
2061
+ */
2062
+ export declare const runCodeWorkflowTask: (data: RunCodeWorkflowTaskData) => CancelablePromise<RunCodeWorkflowTaskResponse>;
2063
+ /**
2064
+ * run a one-off dependencies job
2065
+ * @param data The data for the request.
2066
+ * @param data.workspace
2067
+ * @param data.requestBody raw script content
2068
+ * @returns unknown dependency job result
2069
+ * @throws ApiError
2070
+ */
2071
+ export declare const runRawScriptDependencies: (data: RunRawScriptDependenciesData) => CancelablePromise<RunRawScriptDependenciesResponse>;
2072
+ /**
2073
+ * run flow preview
2074
+ * @param data The data for the request.
2075
+ * @param data.workspace
2076
+ * @param data.requestBody preview
2077
+ * @param data.includeHeader List of headers's keys (separated with ',') whove value are added to the args
2078
+ * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
2079
+ *
2080
+ * @param data.invisibleToOwner make the run invisible to the the script owner (default false)
2081
+ * @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)
2082
+ * @returns string job created
2083
+ * @throws ApiError
2084
+ */
2085
+ export declare const runFlowPreview: (data: RunFlowPreviewData) => CancelablePromise<RunFlowPreviewResponse>;
2086
+ /**
2087
+ * list all queued jobs
2088
+ * @param data The data for the request.
2089
+ * @param data.workspace
2090
+ * @param data.orderDesc order by desc order (default true)
2091
+ * @param data.createdBy mask to filter exact matching user creator
2092
+ * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
2093
+ * @param data.scriptPathExact mask to filter exact matching path
2094
+ * @param data.scriptPathStart mask to filter matching starting path
2095
+ * @param data.schedulePath mask to filter by schedule path
2096
+ * @param data.scriptHash mask to filter exact matching path
2097
+ * @param data.startedBefore filter on started before (inclusive) timestamp
2098
+ * @param data.startedAfter filter on started after (exclusive) timestamp
2099
+ * @param data.success filter on successful jobs
2100
+ * @param data.scheduledForBeforeNow filter on jobs scheduled_for before now (hence waitinf for a worker)
2101
+ * @param data.jobKinds filter on job kind (values 'preview', 'script', 'dependencies', 'flow') separated by,
2102
+ * @param data.suspended filter on suspended jobs
2103
+ * @param data.running filter on running jobs
2104
+ * @param data.args filter on jobs containing those args as a json subset (@> in postgres)
2105
+ * @param data.result filter on jobs containing those result as a json subset (@> in postgres)
2106
+ * @param data.tag filter on jobs with a given tag/worker group
2107
+ * @param data.page which page to return (start at 1, default 1)
2108
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
2109
+ * @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace)
2110
+ * @param data.isNotSchedule is not a scheduled job
2111
+ * @returns QueuedJob All queued jobs
2112
+ * @throws ApiError
2113
+ */
2114
+ export declare const listQueue: (data: ListQueueData) => CancelablePromise<ListQueueResponse>;
2115
+ /**
2116
+ * get queue count
2117
+ * @param data The data for the request.
2118
+ * @param data.workspace
2119
+ * @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace)
2120
+ * @returns unknown queue count
2121
+ * @throws ApiError
2122
+ */
2123
+ export declare const getQueueCount: (data: GetQueueCountData) => CancelablePromise<GetQueueCountResponse>;
2124
+ /**
2125
+ * get completed count
2126
+ * @param data The data for the request.
2127
+ * @param data.workspace
2128
+ * @returns unknown completed count
2129
+ * @throws ApiError
2130
+ */
2131
+ export declare const getCompletedCount: (data: GetCompletedCountData) => CancelablePromise<GetCompletedCountResponse>;
2132
+ /**
2133
+ * get the ids of all jobs matching the given filters
2134
+ * @param data The data for the request.
2135
+ * @param data.workspace
2136
+ * @param data.orderDesc order by desc order (default true)
2137
+ * @param data.createdBy mask to filter exact matching user creator
2138
+ * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
2139
+ * @param data.scriptPathExact mask to filter exact matching path
2140
+ * @param data.scriptPathStart mask to filter matching starting path
2141
+ * @param data.schedulePath mask to filter by schedule path
2142
+ * @param data.scriptHash mask to filter exact matching path
2143
+ * @param data.startedBefore filter on started before (inclusive) timestamp
2144
+ * @param data.startedAfter filter on started after (exclusive) timestamp
2145
+ * @param data.success filter on successful jobs
2146
+ * @param data.scheduledForBeforeNow filter on jobs scheduled_for before now (hence waitinf for a worker)
2147
+ * @param data.jobKinds filter on job kind (values 'preview', 'script', 'dependencies', 'flow') separated by,
2148
+ * @param data.suspended filter on suspended jobs
2149
+ * @param data.running filter on running jobs
2150
+ * @param data.args filter on jobs containing those args as a json subset (@> in postgres)
2151
+ * @param data.result filter on jobs containing those result as a json subset (@> in postgres)
2152
+ * @param data.tag filter on jobs with a given tag/worker group
2153
+ * @param data.page which page to return (start at 1, default 1)
2154
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
2155
+ * @param data.concurrencyKey
2156
+ * @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace)
2157
+ * @param data.isNotSchedule is not a scheduled job
2158
+ * @returns string uuids of jobs
2159
+ * @throws ApiError
2160
+ */
2161
+ export declare const listFilteredUuids: (data: ListFilteredUuidsData) => CancelablePromise<ListFilteredUuidsResponse>;
2162
+ /**
2163
+ * cancel jobs based on the given uuids
2164
+ * @param data The data for the request.
2165
+ * @param data.workspace
2166
+ * @param data.requestBody uuids of the jobs to cancel
2167
+ * @returns string uuids of canceled jobs
2168
+ * @throws ApiError
2169
+ */
2170
+ export declare const cancelSelection: (data: CancelSelectionData) => CancelablePromise<CancelSelectionResponse>;
2171
+ /**
2172
+ * list all completed jobs
2173
+ * @param data The data for the request.
2174
+ * @param data.workspace
2175
+ * @param data.orderDesc order by desc order (default true)
2176
+ * @param data.createdBy mask to filter exact matching user creator
2177
+ * @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')
2178
+ * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
2179
+ * @param data.scriptPathExact mask to filter exact matching path
2180
+ * @param data.scriptPathStart mask to filter matching starting path
2181
+ * @param data.schedulePath mask to filter by schedule path
2182
+ * @param data.scriptHash mask to filter exact matching path
2183
+ * @param data.startedBefore filter on started before (inclusive) timestamp
2184
+ * @param data.startedAfter filter on started after (exclusive) timestamp
2185
+ * @param data.success filter on successful jobs
2186
+ * @param data.jobKinds filter on job kind (values 'preview', 'script', 'dependencies', 'flow') separated by,
2187
+ * @param data.args filter on jobs containing those args as a json subset (@> in postgres)
2188
+ * @param data.result filter on jobs containing those result as a json subset (@> in postgres)
2189
+ * @param data.tag filter on jobs with a given tag/worker group
2190
+ * @param data.page which page to return (start at 1, default 1)
2191
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
2192
+ * @param data.isSkipped is the job skipped
2193
+ * @param data.isFlowStep is the job a flow step
2194
+ * @param data.hasNullParent has null parent
2195
+ * @param data.isNotSchedule is not a scheduled job
2196
+ * @returns CompletedJob All completed jobs
2197
+ * @throws ApiError
2198
+ */
2199
+ export declare const listCompletedJobs: (data: ListCompletedJobsData) => CancelablePromise<ListCompletedJobsResponse>;
2200
+ /**
2201
+ * list all jobs
2202
+ * @param data The data for the request.
2203
+ * @param data.workspace
2204
+ * @param data.createdBy mask to filter exact matching user creator
2205
+ * @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')
2206
+ * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
2207
+ * @param data.scriptPathExact mask to filter exact matching path
2208
+ * @param data.scriptPathStart mask to filter matching starting path
2209
+ * @param data.schedulePath mask to filter by schedule path
2210
+ * @param data.scriptHash mask to filter exact matching path
2211
+ * @param data.startedBefore filter on started before (inclusive) timestamp
2212
+ * @param data.startedAfter filter on started after (exclusive) timestamp
2213
+ * @param data.createdBefore filter on created before (inclusive) timestamp
2214
+ * @param data.createdAfter filter on created after (exclusive) timestamp
2215
+ * @param data.createdOrStartedBefore filter on created_at for non non started job and started_at otherwise before (inclusive) timestamp
2216
+ * @param data.running filter on running jobs
2217
+ * @param data.scheduledForBeforeNow filter on jobs scheduled_for before now (hence waitinf for a worker)
2218
+ * @param data.createdOrStartedAfter filter on created_at for non non started job and started_at otherwise after (exclusive) timestamp
2219
+ * @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
2220
+ * @param data.jobKinds filter on job kind (values 'preview', 'script', 'dependencies', 'flow') separated by,
2221
+ * @param data.suspended filter on suspended jobs
2222
+ * @param data.args filter on jobs containing those args as a json subset (@> in postgres)
2223
+ * @param data.tag filter on jobs with a given tag/worker group
2224
+ * @param data.result filter on jobs containing those result as a json subset (@> in postgres)
2225
+ * @param data.page which page to return (start at 1, default 1)
2226
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
2227
+ * @param data.isSkipped is the job skipped
2228
+ * @param data.isFlowStep is the job a flow step
2229
+ * @param data.hasNullParent has null parent
2230
+ * @param data.success filter on successful jobs
2231
+ * @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace)
2232
+ * @param data.isNotSchedule is not a scheduled job
2233
+ * @returns Job All jobs
2234
+ * @throws ApiError
2235
+ */
2236
+ export declare const listJobs: (data: ListJobsData) => CancelablePromise<ListJobsResponse>;
2237
+ /**
2238
+ * get db clock
2239
+ * @returns number the timestamp of the db that can be used to compute the drift
2240
+ * @throws ApiError
2241
+ */
2242
+ export declare const getDbClock: () => CancelablePromise<GetDbClockResponse>;
2243
+ /**
2244
+ * get job
2245
+ * @param data The data for the request.
2246
+ * @param data.workspace
2247
+ * @param data.id
2248
+ * @param data.noLogs
2249
+ * @returns Job job details
2250
+ * @throws ApiError
2251
+ */
2252
+ export declare const getJob: (data: GetJobData) => CancelablePromise<GetJobResponse>;
2253
+ /**
2254
+ * get root job id
2255
+ * @param data The data for the request.
2256
+ * @param data.workspace
2257
+ * @param data.id
2258
+ * @returns string get root job id
2259
+ * @throws ApiError
2260
+ */
2261
+ export declare const getRootJobId: (data: GetRootJobIdData) => CancelablePromise<GetRootJobIdResponse>;
2262
+ /**
2263
+ * get job logs
2264
+ * @param data The data for the request.
2265
+ * @param data.workspace
2266
+ * @param data.id
2267
+ * @returns string job details
2268
+ * @throws ApiError
2269
+ */
2270
+ export declare const getJobLogs: (data: GetJobLogsData) => CancelablePromise<GetJobLogsResponse>;
2271
+ /**
2272
+ * get job args
2273
+ * @param data The data for the request.
2274
+ * @param data.workspace
2275
+ * @param data.id
2276
+ * @returns unknown job args
2277
+ * @throws ApiError
2278
+ */
2279
+ export declare const getJobArgs: (data: GetJobArgsData) => CancelablePromise<GetJobArgsResponse>;
2280
+ /**
2281
+ * get job updates
2282
+ * @param data The data for the request.
2283
+ * @param data.workspace
2284
+ * @param data.id
2285
+ * @param data.running
2286
+ * @param data.logOffset
2287
+ * @param data.getProgress
2288
+ * @returns unknown job details
2289
+ * @throws ApiError
2290
+ */
2291
+ export declare const getJobUpdates: (data: GetJobUpdatesData) => CancelablePromise<GetJobUpdatesResponse>;
2292
+ /**
2293
+ * get log file from object store
2294
+ * @param data The data for the request.
2295
+ * @param data.workspace
2296
+ * @param data.path
2297
+ * @returns unknown job log
2298
+ * @throws ApiError
2299
+ */
2300
+ export declare const getLogFileFromStore: (data: GetLogFileFromStoreData) => CancelablePromise<GetLogFileFromStoreResponse>;
2301
+ /**
2302
+ * get flow debug info
2303
+ * @param data The data for the request.
2304
+ * @param data.workspace
2305
+ * @param data.id
2306
+ * @returns unknown flow debug info details
2307
+ * @throws ApiError
2308
+ */
2309
+ export declare const getFlowDebugInfo: (data: GetFlowDebugInfoData) => CancelablePromise<GetFlowDebugInfoResponse>;
2310
+ /**
2311
+ * get completed job
2312
+ * @param data The data for the request.
2313
+ * @param data.workspace
2314
+ * @param data.id
2315
+ * @returns CompletedJob job details
2316
+ * @throws ApiError
2317
+ */
2318
+ export declare const getCompletedJob: (data: GetCompletedJobData) => CancelablePromise<GetCompletedJobResponse>;
2319
+ /**
2320
+ * get completed job result
2321
+ * @param data The data for the request.
2322
+ * @param data.workspace
2323
+ * @param data.id
2324
+ * @param data.suspendedJob
2325
+ * @param data.resumeId
2326
+ * @param data.secret
2327
+ * @param data.approver
2328
+ * @returns unknown result
2329
+ * @throws ApiError
2330
+ */
2331
+ export declare const getCompletedJobResult: (data: GetCompletedJobResultData) => CancelablePromise<GetCompletedJobResultResponse>;
2332
+ /**
2333
+ * get completed job result if job is completed
2334
+ * @param data The data for the request.
2335
+ * @param data.workspace
2336
+ * @param data.id
2337
+ * @param data.getStarted
2338
+ * @returns unknown result
2339
+ * @throws ApiError
2340
+ */
2341
+ export declare const getCompletedJobResultMaybe: (data: GetCompletedJobResultMaybeData) => CancelablePromise<GetCompletedJobResultMaybeResponse>;
2342
+ /**
2343
+ * delete completed job (erase content but keep run id)
2344
+ * @param data The data for the request.
2345
+ * @param data.workspace
2346
+ * @param data.id
2347
+ * @returns CompletedJob job details
2348
+ * @throws ApiError
2349
+ */
2350
+ export declare const deleteCompletedJob: (data: DeleteCompletedJobData) => CancelablePromise<DeleteCompletedJobResponse>;
2351
+ /**
2352
+ * cancel queued or running job
2353
+ * @param data The data for the request.
2354
+ * @param data.workspace
2355
+ * @param data.id
2356
+ * @param data.requestBody reason
2357
+ * @returns string job canceled
2358
+ * @throws ApiError
2359
+ */
2360
+ export declare const cancelQueuedJob: (data: CancelQueuedJobData) => CancelablePromise<CancelQueuedJobResponse>;
2361
+ /**
2362
+ * cancel all queued jobs for persistent script
2363
+ * @param data The data for the request.
2364
+ * @param data.workspace
2365
+ * @param data.path
2366
+ * @param data.requestBody reason
2367
+ * @returns string persistent job scaled down to zero
2368
+ * @throws ApiError
2369
+ */
2370
+ export declare const cancelPersistentQueuedJobs: (data: CancelPersistentQueuedJobsData) => CancelablePromise<CancelPersistentQueuedJobsResponse>;
2371
+ /**
2372
+ * force cancel queued job
2373
+ * @param data The data for the request.
2374
+ * @param data.workspace
2375
+ * @param data.id
2376
+ * @param data.requestBody reason
2377
+ * @returns string job canceled
2378
+ * @throws ApiError
2379
+ */
2380
+ export declare const forceCancelQueuedJob: (data: ForceCancelQueuedJobData) => CancelablePromise<ForceCancelQueuedJobResponse>;
2381
+ /**
2382
+ * create an HMac signature given a job id and a resume id
2383
+ * @param data The data for the request.
2384
+ * @param data.workspace
2385
+ * @param data.id
2386
+ * @param data.resumeId
2387
+ * @param data.approver
2388
+ * @returns string job signature
2389
+ * @throws ApiError
2390
+ */
2391
+ export declare const createJobSignature: (data: CreateJobSignatureData) => CancelablePromise<CreateJobSignatureResponse>;
2392
+ /**
2393
+ * get resume urls given a job_id, resume_id and a nonce to resume a flow
2394
+ * @param data The data for the request.
2395
+ * @param data.workspace
2396
+ * @param data.id
2397
+ * @param data.resumeId
2398
+ * @param data.approver
2399
+ * @returns unknown url endpoints
2400
+ * @throws ApiError
2401
+ */
2402
+ export declare const getResumeUrls: (data: GetResumeUrlsData) => CancelablePromise<GetResumeUrlsResponse>;
2403
+ /**
2404
+ * resume a job for a suspended flow
2405
+ * @param data The data for the request.
2406
+ * @param data.workspace
2407
+ * @param data.id
2408
+ * @param data.resumeId
2409
+ * @param data.signature
2410
+ * @param data.payload The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent
2411
+ * `encodeURIComponent(btoa(JSON.stringify({a: 2})))`
2412
+ *
2413
+ * @param data.approver
2414
+ * @returns string job resumed
2415
+ * @throws ApiError
2416
+ */
2417
+ export declare const resumeSuspendedJobGet: (data: ResumeSuspendedJobGetData) => CancelablePromise<ResumeSuspendedJobGetResponse>;
2418
+ /**
2419
+ * resume a job for a suspended flow
2420
+ * @param data The data for the request.
2421
+ * @param data.workspace
2422
+ * @param data.id
2423
+ * @param data.resumeId
2424
+ * @param data.signature
2425
+ * @param data.requestBody
2426
+ * @param data.approver
2427
+ * @returns string job resumed
2428
+ * @throws ApiError
2429
+ */
2430
+ export declare const resumeSuspendedJobPost: (data: ResumeSuspendedJobPostData) => CancelablePromise<ResumeSuspendedJobPostResponse>;
2431
+ /**
2432
+ * set flow user state at a given key
2433
+ * @param data The data for the request.
2434
+ * @param data.workspace
2435
+ * @param data.id
2436
+ * @param data.key
2437
+ * @param data.requestBody new value
2438
+ * @returns string flow user state updated
2439
+ * @throws ApiError
2440
+ */
2441
+ export declare const setFlowUserState: (data: SetFlowUserStateData) => CancelablePromise<SetFlowUserStateResponse>;
2442
+ /**
2443
+ * get flow user state at a given key
2444
+ * @param data The data for the request.
2445
+ * @param data.workspace
2446
+ * @param data.id
2447
+ * @param data.key
2448
+ * @returns unknown flow user state updated
2449
+ * @throws ApiError
2450
+ */
2451
+ export declare const getFlowUserState: (data: GetFlowUserStateData) => CancelablePromise<GetFlowUserStateResponse>;
2452
+ /**
2453
+ * resume a job for a suspended flow as an owner
2454
+ * @param data The data for the request.
2455
+ * @param data.workspace
2456
+ * @param data.id
2457
+ * @param data.requestBody
2458
+ * @returns string job resumed
2459
+ * @throws ApiError
2460
+ */
2461
+ export declare const resumeSuspendedFlowAsOwner: (data: ResumeSuspendedFlowAsOwnerData) => CancelablePromise<ResumeSuspendedFlowAsOwnerResponse>;
2462
+ /**
2463
+ * cancel a job for a suspended flow
2464
+ * @param data The data for the request.
2465
+ * @param data.workspace
2466
+ * @param data.id
2467
+ * @param data.resumeId
2468
+ * @param data.signature
2469
+ * @param data.approver
2470
+ * @returns string job canceled
2471
+ * @throws ApiError
2472
+ */
2473
+ export declare const cancelSuspendedJobGet: (data: CancelSuspendedJobGetData) => CancelablePromise<CancelSuspendedJobGetResponse>;
2474
+ /**
2475
+ * cancel a job for a suspended flow
2476
+ * @param data The data for the request.
2477
+ * @param data.workspace
2478
+ * @param data.id
2479
+ * @param data.resumeId
2480
+ * @param data.signature
2481
+ * @param data.requestBody
2482
+ * @param data.approver
2483
+ * @returns string job canceled
2484
+ * @throws ApiError
2485
+ */
2486
+ export declare const cancelSuspendedJobPost: (data: CancelSuspendedJobPostData) => CancelablePromise<CancelSuspendedJobPostResponse>;
2487
+ /**
2488
+ * get parent flow job of suspended job
2489
+ * @param data The data for the request.
2490
+ * @param data.workspace
2491
+ * @param data.id
2492
+ * @param data.resumeId
2493
+ * @param data.signature
2494
+ * @param data.approver
2495
+ * @returns unknown parent flow details
2496
+ * @throws ApiError
2497
+ */
2498
+ export declare const getSuspendedJobFlow: (data: GetSuspendedJobFlowData) => CancelablePromise<GetSuspendedJobFlowResponse>;
2499
+ /**
2500
+ * preview schedule
2501
+ * @param data The data for the request.
2502
+ * @param data.requestBody schedule
2503
+ * @returns string List of 5 estimated upcoming execution events (in UTC)
2504
+ * @throws ApiError
2505
+ */
2506
+ export declare const previewSchedule: (data: PreviewScheduleData) => CancelablePromise<PreviewScheduleResponse>;
2507
+ /**
2508
+ * create schedule
2509
+ * @param data The data for the request.
2510
+ * @param data.workspace
2511
+ * @param data.requestBody new schedule
2512
+ * @returns string schedule created
2513
+ * @throws ApiError
2514
+ */
2515
+ export declare const createSchedule: (data: CreateScheduleData) => CancelablePromise<CreateScheduleResponse>;
2516
+ /**
2517
+ * update schedule
2518
+ * @param data The data for the request.
2519
+ * @param data.workspace
2520
+ * @param data.path
2521
+ * @param data.requestBody updated schedule
2522
+ * @returns string schedule updated
2523
+ * @throws ApiError
2524
+ */
2525
+ export declare const updateSchedule: (data: UpdateScheduleData) => CancelablePromise<UpdateScheduleResponse>;
2526
+ /**
2527
+ * set enabled schedule
2528
+ * @param data The data for the request.
2529
+ * @param data.workspace
2530
+ * @param data.path
2531
+ * @param data.requestBody updated schedule enable
2532
+ * @returns string schedule enabled set
2533
+ * @throws ApiError
2534
+ */
2535
+ export declare const setScheduleEnabled: (data: SetScheduleEnabledData) => CancelablePromise<SetScheduleEnabledResponse>;
2536
+ /**
2537
+ * delete schedule
2538
+ * @param data The data for the request.
2539
+ * @param data.workspace
2540
+ * @param data.path
2541
+ * @returns string schedule deleted
2542
+ * @throws ApiError
2543
+ */
2544
+ export declare const deleteSchedule: (data: DeleteScheduleData) => CancelablePromise<DeleteScheduleResponse>;
2545
+ /**
2546
+ * get schedule
2547
+ * @param data The data for the request.
2548
+ * @param data.workspace
2549
+ * @param data.path
2550
+ * @returns Schedule schedule deleted
2551
+ * @throws ApiError
2552
+ */
2553
+ export declare const getSchedule: (data: GetScheduleData) => CancelablePromise<GetScheduleResponse>;
2554
+ /**
2555
+ * does schedule exists
2556
+ * @param data The data for the request.
2557
+ * @param data.workspace
2558
+ * @param data.path
2559
+ * @returns boolean schedule exists
2560
+ * @throws ApiError
2561
+ */
2562
+ export declare const existsSchedule: (data: ExistsScheduleData) => CancelablePromise<ExistsScheduleResponse>;
2563
+ /**
2564
+ * list schedules
2565
+ * @param data The data for the request.
2566
+ * @param data.workspace
2567
+ * @param data.page which page to return (start at 1, default 1)
2568
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
2569
+ * @param data.args filter on jobs containing those args as a json subset (@> in postgres)
2570
+ * @param data.path filter by path
2571
+ * @param data.isFlow
2572
+ * @param data.pathStart
2573
+ * @returns Schedule schedule list
2574
+ * @throws ApiError
2575
+ */
2576
+ export declare const listSchedules: (data: ListSchedulesData) => CancelablePromise<ListSchedulesResponse>;
2577
+ /**
2578
+ * list schedules with last 20 jobs
2579
+ * @param data The data for the request.
2580
+ * @param data.workspace
2581
+ * @param data.page which page to return (start at 1, default 1)
2582
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
2583
+ * @returns ScheduleWJobs schedule list
2584
+ * @throws ApiError
2585
+ */
2586
+ export declare const listSchedulesWithJobs: (data: ListSchedulesWithJobsData) => CancelablePromise<ListSchedulesWithJobsResponse>;
2587
+ /**
2588
+ * Set default error or recoevery handler
2589
+ * @param data The data for the request.
2590
+ * @param data.workspace
2591
+ * @param data.requestBody Handler description
2592
+ * @returns unknown default error handler set
2593
+ * @throws ApiError
2594
+ */
2595
+ export declare const setDefaultErrorOrRecoveryHandler: (data: SetDefaultErrorOrRecoveryHandlerData) => CancelablePromise<SetDefaultErrorOrRecoveryHandlerResponse>;
2596
+ /**
2597
+ * list instance groups
2598
+ * @returns InstanceGroup instance group list
2599
+ * @throws ApiError
2600
+ */
2601
+ export declare const listInstanceGroups: () => CancelablePromise<ListInstanceGroupsResponse>;
2602
+ /**
2603
+ * get instance group
2604
+ * @param data The data for the request.
2605
+ * @param data.name
2606
+ * @returns InstanceGroup instance group
2607
+ * @throws ApiError
2608
+ */
2609
+ export declare const getInstanceGroup: (data: GetInstanceGroupData) => CancelablePromise<GetInstanceGroupResponse>;
2610
+ /**
2611
+ * create instance group
2612
+ * @param data The data for the request.
2613
+ * @param data.requestBody create instance group
2614
+ * @returns string instance group created
2615
+ * @throws ApiError
2616
+ */
2617
+ export declare const createInstanceGroup: (data: CreateInstanceGroupData) => CancelablePromise<CreateInstanceGroupResponse>;
2618
+ /**
2619
+ * update instance group
2620
+ * @param data The data for the request.
2621
+ * @param data.name
2622
+ * @param data.requestBody update instance group
2623
+ * @returns string instance group updated
2624
+ * @throws ApiError
2625
+ */
2626
+ export declare const updateInstanceGroup: (data: UpdateInstanceGroupData) => CancelablePromise<UpdateInstanceGroupResponse>;
2627
+ /**
2628
+ * delete instance group
2629
+ * @param data The data for the request.
2630
+ * @param data.name
2631
+ * @returns string instance group deleted
2632
+ * @throws ApiError
2633
+ */
2634
+ export declare const deleteInstanceGroup: (data: DeleteInstanceGroupData) => CancelablePromise<DeleteInstanceGroupResponse>;
2635
+ /**
2636
+ * add user to instance group
2637
+ * @param data The data for the request.
2638
+ * @param data.name
2639
+ * @param data.requestBody user to add to instance group
2640
+ * @returns string user added to instance group
2641
+ * @throws ApiError
2642
+ */
2643
+ export declare const addUserToInstanceGroup: (data: AddUserToInstanceGroupData) => CancelablePromise<AddUserToInstanceGroupResponse>;
2644
+ /**
2645
+ * remove user from instance group
2646
+ * @param data The data for the request.
2647
+ * @param data.name
2648
+ * @param data.requestBody user to remove from instance group
2649
+ * @returns string user removed from instance group
2650
+ * @throws ApiError
2651
+ */
2652
+ export declare const removeUserFromInstanceGroup: (data: RemoveUserFromInstanceGroupData) => CancelablePromise<RemoveUserFromInstanceGroupResponse>;
2653
+ /**
2654
+ * export instance groups
2655
+ * @returns ExportedInstanceGroup exported instance groups
2656
+ * @throws ApiError
2657
+ */
2658
+ export declare const exportInstanceGroups: () => CancelablePromise<ExportInstanceGroupsResponse>;
2659
+ /**
2660
+ * overwrite instance groups
2661
+ * @param data The data for the request.
2662
+ * @param data.requestBody overwrite instance groups
2663
+ * @returns string success message
2664
+ * @throws ApiError
2665
+ */
2666
+ export declare const overwriteInstanceGroups: (data: OverwriteInstanceGroupsData) => CancelablePromise<OverwriteInstanceGroupsResponse>;
2667
+ /**
2668
+ * list groups
2669
+ * @param data The data for the request.
2670
+ * @param data.workspace
2671
+ * @param data.page which page to return (start at 1, default 1)
2672
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
2673
+ * @returns Group group list
2674
+ * @throws ApiError
2675
+ */
2676
+ export declare const listGroups: (data: ListGroupsData) => CancelablePromise<ListGroupsResponse>;
2677
+ /**
2678
+ * list group names
2679
+ * @param data The data for the request.
2680
+ * @param data.workspace
2681
+ * @param data.onlyMemberOf only list the groups the user is member of (default false)
2682
+ * @returns string group list
2683
+ * @throws ApiError
2684
+ */
2685
+ export declare const listGroupNames: (data: ListGroupNamesData) => CancelablePromise<ListGroupNamesResponse>;
2686
+ /**
2687
+ * create group
2688
+ * @param data The data for the request.
2689
+ * @param data.workspace
2690
+ * @param data.requestBody create group
2691
+ * @returns string group created
2692
+ * @throws ApiError
2693
+ */
2694
+ export declare const createGroup: (data: CreateGroupData) => CancelablePromise<CreateGroupResponse>;
2695
+ /**
2696
+ * update group
2697
+ * @param data The data for the request.
2698
+ * @param data.workspace
2699
+ * @param data.name
2700
+ * @param data.requestBody updated group
2701
+ * @returns string group updated
2702
+ * @throws ApiError
2703
+ */
2704
+ export declare const updateGroup: (data: UpdateGroupData) => CancelablePromise<UpdateGroupResponse>;
2705
+ /**
2706
+ * delete group
2707
+ * @param data The data for the request.
2708
+ * @param data.workspace
2709
+ * @param data.name
2710
+ * @returns string group deleted
2711
+ * @throws ApiError
2712
+ */
2713
+ export declare const deleteGroup: (data: DeleteGroupData) => CancelablePromise<DeleteGroupResponse>;
2714
+ /**
2715
+ * get group
2716
+ * @param data The data for the request.
2717
+ * @param data.workspace
2718
+ * @param data.name
2719
+ * @returns Group group
2720
+ * @throws ApiError
2721
+ */
2722
+ export declare const getGroup: (data: GetGroupData) => CancelablePromise<GetGroupResponse>;
2723
+ /**
2724
+ * add user to group
2725
+ * @param data The data for the request.
2726
+ * @param data.workspace
2727
+ * @param data.name
2728
+ * @param data.requestBody added user to group
2729
+ * @returns string user added to group
2730
+ * @throws ApiError
2731
+ */
2732
+ export declare const addUserToGroup: (data: AddUserToGroupData) => CancelablePromise<AddUserToGroupResponse>;
2733
+ /**
2734
+ * remove user to group
2735
+ * @param data The data for the request.
2736
+ * @param data.workspace
2737
+ * @param data.name
2738
+ * @param data.requestBody added user to group
2739
+ * @returns string user removed from group
2740
+ * @throws ApiError
2741
+ */
2742
+ export declare const removeUserToGroup: (data: RemoveUserToGroupData) => CancelablePromise<RemoveUserToGroupResponse>;
2743
+ /**
2744
+ * list folders
2745
+ * @param data The data for the request.
2746
+ * @param data.workspace
2747
+ * @param data.page which page to return (start at 1, default 1)
2748
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
2749
+ * @returns Folder folder list
2750
+ * @throws ApiError
2751
+ */
2752
+ export declare const listFolders: (data: ListFoldersData) => CancelablePromise<ListFoldersResponse>;
2753
+ /**
2754
+ * list folder names
2755
+ * @param data The data for the request.
2756
+ * @param data.workspace
2757
+ * @param data.onlyMemberOf only list the folders the user is member of (default false)
2758
+ * @returns string folder list
2759
+ * @throws ApiError
2760
+ */
2761
+ export declare const listFolderNames: (data: ListFolderNamesData) => CancelablePromise<ListFolderNamesResponse>;
2762
+ /**
2763
+ * create folder
2764
+ * @param data The data for the request.
2765
+ * @param data.workspace
2766
+ * @param data.requestBody create folder
2767
+ * @returns string folder created
2768
+ * @throws ApiError
2769
+ */
2770
+ export declare const createFolder: (data: CreateFolderData) => CancelablePromise<CreateFolderResponse>;
2771
+ /**
2772
+ * update folder
2773
+ * @param data The data for the request.
2774
+ * @param data.workspace
2775
+ * @param data.name
2776
+ * @param data.requestBody update folder
2777
+ * @returns string folder updated
2778
+ * @throws ApiError
2779
+ */
2780
+ export declare const updateFolder: (data: UpdateFolderData) => CancelablePromise<UpdateFolderResponse>;
2781
+ /**
2782
+ * delete folder
2783
+ * @param data The data for the request.
2784
+ * @param data.workspace
2785
+ * @param data.name
2786
+ * @returns string folder deleted
2787
+ * @throws ApiError
2788
+ */
2789
+ export declare const deleteFolder: (data: DeleteFolderData) => CancelablePromise<DeleteFolderResponse>;
2790
+ /**
2791
+ * get folder
2792
+ * @param data The data for the request.
2793
+ * @param data.workspace
2794
+ * @param data.name
2795
+ * @returns Folder folder
2796
+ * @throws ApiError
2797
+ */
2798
+ export declare const getFolder: (data: GetFolderData) => CancelablePromise<GetFolderResponse>;
2799
+ /**
2800
+ * get folder usage
2801
+ * @param data The data for the request.
2802
+ * @param data.workspace
2803
+ * @param data.name
2804
+ * @returns unknown folder
2805
+ * @throws ApiError
2806
+ */
2807
+ export declare const getFolderUsage: (data: GetFolderUsageData) => CancelablePromise<GetFolderUsageResponse>;
2808
+ /**
2809
+ * add owner to folder
2810
+ * @param data The data for the request.
2811
+ * @param data.workspace
2812
+ * @param data.name
2813
+ * @param data.requestBody owner user to folder
2814
+ * @returns string owner added to folder
2815
+ * @throws ApiError
2816
+ */
2817
+ export declare const addOwnerToFolder: (data: AddOwnerToFolderData) => CancelablePromise<AddOwnerToFolderResponse>;
2818
+ /**
2819
+ * remove owner to folder
2820
+ * @param data The data for the request.
2821
+ * @param data.workspace
2822
+ * @param data.name
2823
+ * @param data.requestBody added owner to folder
2824
+ * @returns string owner removed from folder
2825
+ * @throws ApiError
2826
+ */
2827
+ export declare const removeOwnerToFolder: (data: RemoveOwnerToFolderData) => CancelablePromise<RemoveOwnerToFolderResponse>;
2828
+ /**
2829
+ * list workers
2830
+ * @param data The data for the request.
2831
+ * @param data.page which page to return (start at 1, default 1)
2832
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
2833
+ * @param data.pingSince number of seconds the worker must have had a last ping more recent of (default to 300)
2834
+ * @returns WorkerPing a list of workers
2835
+ * @throws ApiError
2836
+ */
2837
+ export declare const listWorkers: (data?: ListWorkersData) => CancelablePromise<ListWorkersResponse>;
2838
+ /**
2839
+ * exists worker with tag
2840
+ * @param data The data for the request.
2841
+ * @param data.tag
2842
+ * @returns boolean whether a worker with the tag exists
2843
+ * @throws ApiError
2844
+ */
2845
+ export declare const existsWorkerWithTag: (data: ExistsWorkerWithTagData) => CancelablePromise<ExistsWorkerWithTagResponse>;
2846
+ /**
2847
+ * get queue metrics
2848
+ * @returns unknown metrics
2849
+ * @throws ApiError
2850
+ */
2851
+ export declare const getQueueMetrics: () => CancelablePromise<GetQueueMetricsResponse>;
2852
+ /**
2853
+ * list worker groups
2854
+ * @returns unknown a list of worker group configs
2855
+ * @throws ApiError
2856
+ */
2857
+ export declare const listWorkerGroups: () => CancelablePromise<ListWorkerGroupsResponse>;
2858
+ /**
2859
+ * get config
2860
+ * @param data The data for the request.
2861
+ * @param data.name
2862
+ * @returns unknown a config
2863
+ * @throws ApiError
2864
+ */
2865
+ export declare const getConfig: (data: GetConfigData) => CancelablePromise<GetConfigResponse>;
2866
+ /**
2867
+ * Update config
2868
+ * @param data The data for the request.
2869
+ * @param data.name
2870
+ * @param data.requestBody worker group
2871
+ * @returns string Update a worker group
2872
+ * @throws ApiError
2873
+ */
2874
+ export declare const updateConfig: (data: UpdateConfigData) => CancelablePromise<UpdateConfigResponse>;
2875
+ /**
2876
+ * Delete Config
2877
+ * @param data The data for the request.
2878
+ * @param data.name
2879
+ * @returns string Delete config
2880
+ * @throws ApiError
2881
+ */
2882
+ export declare const deleteConfig: (data: DeleteConfigData) => CancelablePromise<DeleteConfigResponse>;
2883
+ /**
2884
+ * list configs
2885
+ * @returns Config list of configs
2886
+ * @throws ApiError
2887
+ */
2888
+ export declare const listConfigs: () => CancelablePromise<ListConfigsResponse>;
2889
+ /**
2890
+ * get granular acls
2891
+ * @param data The data for the request.
2892
+ * @param data.workspace
2893
+ * @param data.path
2894
+ * @param data.kind
2895
+ * @returns boolean acls
2896
+ * @throws ApiError
2897
+ */
2898
+ export declare const getGranularAcls: (data: GetGranularAclsData) => CancelablePromise<GetGranularAclsResponse>;
2899
+ /**
2900
+ * add granular acls
2901
+ * @param data The data for the request.
2902
+ * @param data.workspace
2903
+ * @param data.path
2904
+ * @param data.kind
2905
+ * @param data.requestBody acl to add
2906
+ * @returns string granular acl added
2907
+ * @throws ApiError
2908
+ */
2909
+ export declare const addGranularAcls: (data: AddGranularAclsData) => CancelablePromise<AddGranularAclsResponse>;
2910
+ /**
2911
+ * remove granular acls
2912
+ * @param data The data for the request.
2913
+ * @param data.workspace
2914
+ * @param data.path
2915
+ * @param data.kind
2916
+ * @param data.requestBody acl to add
2917
+ * @returns string granular acl removed
2918
+ * @throws ApiError
2919
+ */
2920
+ export declare const removeGranularAcls: (data: RemoveGranularAclsData) => CancelablePromise<RemoveGranularAclsResponse>;
2921
+ /**
2922
+ * update flow preview capture
2923
+ * @param data The data for the request.
2924
+ * @param data.workspace
2925
+ * @param data.path
2926
+ * @returns void flow preview captured
2927
+ * @throws ApiError
2928
+ */
2929
+ export declare const updateCapture: (data: UpdateCaptureData) => CancelablePromise<UpdateCaptureResponse>;
2930
+ /**
2931
+ * create flow preview capture
2932
+ * @param data The data for the request.
2933
+ * @param data.workspace
2934
+ * @param data.path
2935
+ * @returns unknown flow preview capture created
2936
+ * @throws ApiError
2937
+ */
2938
+ export declare const createCapture: (data: CreateCaptureData) => CancelablePromise<CreateCaptureResponse>;
2939
+ /**
2940
+ * get flow preview capture
2941
+ * @param data The data for the request.
2942
+ * @param data.workspace
2943
+ * @param data.path
2944
+ * @returns unknown captured flow preview
2945
+ * @throws ApiError
2946
+ */
2947
+ export declare const getCapture: (data: GetCaptureData) => CancelablePromise<GetCaptureResponse>;
2948
+ /**
2949
+ * star item
2950
+ * @param data The data for the request.
2951
+ * @param data.workspace
2952
+ * @param data.requestBody
2953
+ * @returns unknown star item
2954
+ * @throws ApiError
2955
+ */
2956
+ export declare const star: (data: StarData) => CancelablePromise<StarResponse>;
2957
+ /**
2958
+ * unstar item
2959
+ * @param data The data for the request.
2960
+ * @param data.workspace
2961
+ * @param data.requestBody
2962
+ * @returns unknown unstar item
2963
+ * @throws ApiError
2964
+ */
2965
+ export declare const unstar: (data: UnstarData) => CancelablePromise<UnstarResponse>;
2966
+ /**
2967
+ * List Inputs used in previously completed jobs
2968
+ * @param data The data for the request.
2969
+ * @param data.workspace
2970
+ * @param data.runnableId
2971
+ * @param data.runnableType
2972
+ * @param data.page which page to return (start at 1, default 1)
2973
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
2974
+ * @returns Input Input history for completed jobs
2975
+ * @throws ApiError
2976
+ */
2977
+ export declare const getInputHistory: (data: GetInputHistoryData) => CancelablePromise<GetInputHistoryResponse>;
2978
+ /**
2979
+ * Get args from history or saved input
2980
+ * @param data The data for the request.
2981
+ * @param data.workspace
2982
+ * @param data.jobOrInputId
2983
+ * @param data.input
2984
+ * @param data.allowLarge
2985
+ * @returns unknown args
2986
+ * @throws ApiError
2987
+ */
2988
+ export declare const getArgsFromHistoryOrSavedInput: (data: GetArgsFromHistoryOrSavedInputData) => CancelablePromise<GetArgsFromHistoryOrSavedInputResponse>;
2989
+ /**
2990
+ * List saved Inputs for a Runnable
2991
+ * @param data The data for the request.
2992
+ * @param data.workspace
2993
+ * @param data.runnableId
2994
+ * @param data.runnableType
2995
+ * @param data.page which page to return (start at 1, default 1)
2996
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
2997
+ * @returns Input Saved Inputs for a Runnable
2998
+ * @throws ApiError
2999
+ */
3000
+ export declare const listInputs: (data: ListInputsData) => CancelablePromise<ListInputsResponse>;
3001
+ /**
3002
+ * Create an Input for future use in a script or flow
3003
+ * @param data The data for the request.
3004
+ * @param data.workspace
3005
+ * @param data.requestBody Input
3006
+ * @param data.runnableId
3007
+ * @param data.runnableType
3008
+ * @returns string Input created
3009
+ * @throws ApiError
3010
+ */
3011
+ export declare const createInput: (data: CreateInputData) => CancelablePromise<CreateInputResponse>;
3012
+ /**
3013
+ * Update an Input
3014
+ * @param data The data for the request.
3015
+ * @param data.workspace
3016
+ * @param data.requestBody UpdateInput
3017
+ * @returns string Input updated
3018
+ * @throws ApiError
3019
+ */
3020
+ export declare const updateInput: (data: UpdateInputData) => CancelablePromise<UpdateInputResponse>;
3021
+ /**
3022
+ * Delete a Saved Input
3023
+ * @param data The data for the request.
3024
+ * @param data.workspace
3025
+ * @param data.input
3026
+ * @returns string Input deleted
3027
+ * @throws ApiError
3028
+ */
3029
+ export declare const deleteInput: (data: DeleteInputData) => CancelablePromise<DeleteInputResponse>;
3030
+ /**
3031
+ * Converts an S3 resource to the set of instructions necessary to connect DuckDB to an S3 bucket
3032
+ * @param data The data for the request.
3033
+ * @param data.workspace
3034
+ * @param data.requestBody S3 resource to connect to
3035
+ * @returns unknown Connection settings
3036
+ * @throws ApiError
3037
+ */
3038
+ export declare const duckdbConnectionSettings: (data: DuckdbConnectionSettingsData) => CancelablePromise<DuckdbConnectionSettingsResponse>;
3039
+ /**
3040
+ * Converts an S3 resource to the set of instructions necessary to connect DuckDB to an S3 bucket
3041
+ * @param data The data for the request.
3042
+ * @param data.workspace
3043
+ * @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
3044
+ * @returns unknown Connection settings
3045
+ * @throws ApiError
3046
+ */
3047
+ export declare const duckdbConnectionSettingsV2: (data: DuckdbConnectionSettingsV2Data) => CancelablePromise<DuckdbConnectionSettingsV2Response>;
3048
+ /**
3049
+ * Converts an S3 resource to the set of arguments necessary to connect Polars to an S3 bucket
3050
+ * @param data The data for the request.
3051
+ * @param data.workspace
3052
+ * @param data.requestBody S3 resource to connect to
3053
+ * @returns unknown Connection settings
3054
+ * @throws ApiError
3055
+ */
3056
+ export declare const polarsConnectionSettings: (data: PolarsConnectionSettingsData) => CancelablePromise<PolarsConnectionSettingsResponse>;
3057
+ /**
3058
+ * Converts an S3 resource to the set of arguments necessary to connect Polars to an S3 bucket
3059
+ * @param data The data for the request.
3060
+ * @param data.workspace
3061
+ * @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
3062
+ * @returns unknown Connection settings
3063
+ * @throws ApiError
3064
+ */
3065
+ export declare const polarsConnectionSettingsV2: (data: PolarsConnectionSettingsV2Data) => CancelablePromise<PolarsConnectionSettingsV2Response>;
3066
+ /**
3067
+ * Returns the s3 resource associated to the provided path, or the workspace default S3 resource
3068
+ * @param data The data for the request.
3069
+ * @param data.workspace
3070
+ * @param data.requestBody S3 resource path to use. If empty, the S3 resource defined in the workspace settings will be used
3071
+ * @returns S3Resource Connection settings
3072
+ * @throws ApiError
3073
+ */
3074
+ export declare const s3ResourceInfo: (data: S3ResourceInfoData) => CancelablePromise<S3ResourceInfoResponse>;
3075
+ /**
3076
+ * Test connection to the workspace object storage
3077
+ * @param data The data for the request.
3078
+ * @param data.workspace
3079
+ * @param data.storage
3080
+ * @returns unknown Connection settings
3081
+ * @throws ApiError
3082
+ */
3083
+ export declare const datasetStorageTestConnection: (data: DatasetStorageTestConnectionData) => CancelablePromise<DatasetStorageTestConnectionResponse>;
3084
+ /**
3085
+ * List the file keys available in a workspace object storage
3086
+ * @param data The data for the request.
3087
+ * @param data.workspace
3088
+ * @param data.maxKeys
3089
+ * @param data.marker
3090
+ * @param data.prefix
3091
+ * @param data.storage
3092
+ * @returns unknown List of file keys
3093
+ * @throws ApiError
3094
+ */
3095
+ export declare const listStoredFiles: (data: ListStoredFilesData) => CancelablePromise<ListStoredFilesResponse>;
3096
+ /**
3097
+ * Load metadata of the file
3098
+ * @param data The data for the request.
3099
+ * @param data.workspace
3100
+ * @param data.fileKey
3101
+ * @param data.storage
3102
+ * @returns WindmillFileMetadata FileMetadata
3103
+ * @throws ApiError
3104
+ */
3105
+ export declare const loadFileMetadata: (data: LoadFileMetadataData) => CancelablePromise<LoadFileMetadataResponse>;
3106
+ /**
3107
+ * Load a preview of the file
3108
+ * @param data The data for the request.
3109
+ * @param data.workspace
3110
+ * @param data.fileKey
3111
+ * @param data.fileSizeInBytes
3112
+ * @param data.fileMimeType
3113
+ * @param data.csvSeparator
3114
+ * @param data.csvHasHeader
3115
+ * @param data.readBytesFrom
3116
+ * @param data.readBytesLength
3117
+ * @param data.storage
3118
+ * @returns WindmillFilePreview FilePreview
3119
+ * @throws ApiError
3120
+ */
3121
+ export declare const loadFilePreview: (data: LoadFilePreviewData) => CancelablePromise<LoadFilePreviewResponse>;
3122
+ /**
3123
+ * Load a preview of a parquet file
3124
+ * @param data The data for the request.
3125
+ * @param data.workspace
3126
+ * @param data.path
3127
+ * @param data.offset
3128
+ * @param data.limit
3129
+ * @param data.sortCol
3130
+ * @param data.sortDesc
3131
+ * @param data.searchCol
3132
+ * @param data.searchTerm
3133
+ * @param data.storage
3134
+ * @returns unknown Parquet Preview
3135
+ * @throws ApiError
3136
+ */
3137
+ export declare const loadParquetPreview: (data: LoadParquetPreviewData) => CancelablePromise<LoadParquetPreviewResponse>;
3138
+ /**
3139
+ * Load the table row count
3140
+ * @param data The data for the request.
3141
+ * @param data.workspace
3142
+ * @param data.path
3143
+ * @param data.searchCol
3144
+ * @param data.searchTerm
3145
+ * @param data.storage
3146
+ * @returns unknown Table count
3147
+ * @throws ApiError
3148
+ */
3149
+ export declare const loadTableRowCount: (data: LoadTableRowCountData) => CancelablePromise<LoadTableRowCountResponse>;
3150
+ /**
3151
+ * Load a preview of a csv file
3152
+ * @param data The data for the request.
3153
+ * @param data.workspace
3154
+ * @param data.path
3155
+ * @param data.offset
3156
+ * @param data.limit
3157
+ * @param data.sortCol
3158
+ * @param data.sortDesc
3159
+ * @param data.searchCol
3160
+ * @param data.searchTerm
3161
+ * @param data.storage
3162
+ * @param data.csvSeparator
3163
+ * @returns unknown Csv Preview
3164
+ * @throws ApiError
3165
+ */
3166
+ export declare const loadCsvPreview: (data: LoadCsvPreviewData) => CancelablePromise<LoadCsvPreviewResponse>;
3167
+ /**
3168
+ * Permanently delete file from S3
3169
+ * @param data The data for the request.
3170
+ * @param data.workspace
3171
+ * @param data.fileKey
3172
+ * @param data.storage
3173
+ * @returns unknown Confirmation
3174
+ * @throws ApiError
3175
+ */
3176
+ export declare const deleteS3File: (data: DeleteS3FileData) => CancelablePromise<DeleteS3FileResponse>;
3177
+ /**
3178
+ * Move a S3 file from one path to the other within the same bucket
3179
+ * @param data The data for the request.
3180
+ * @param data.workspace
3181
+ * @param data.srcFileKey
3182
+ * @param data.destFileKey
3183
+ * @param data.storage
3184
+ * @returns unknown Confirmation
3185
+ * @throws ApiError
3186
+ */
3187
+ export declare const moveS3File: (data: MoveS3FileData) => CancelablePromise<MoveS3FileResponse>;
3188
+ /**
3189
+ * Upload file to S3 bucket
3190
+ * @param data The data for the request.
3191
+ * @param data.workspace
3192
+ * @param data.requestBody File content
3193
+ * @param data.fileKey
3194
+ * @param data.fileExtension
3195
+ * @param data.s3ResourcePath
3196
+ * @param data.resourceType
3197
+ * @param data.storage
3198
+ * @returns unknown File upload status
3199
+ * @throws ApiError
3200
+ */
3201
+ export declare const fileUpload: (data: FileUploadData) => CancelablePromise<FileUploadResponse>;
3202
+ /**
3203
+ * Download file to S3 bucket
3204
+ * @param data The data for the request.
3205
+ * @param data.workspace
3206
+ * @param data.fileKey
3207
+ * @param data.s3ResourcePath
3208
+ * @param data.resourceType
3209
+ * @param data.storage
3210
+ * @returns binary Chunk of the downloaded file
3211
+ * @throws ApiError
3212
+ */
3213
+ export declare const fileDownload: (data: FileDownloadData) => CancelablePromise<FileDownloadResponse>;
3214
+ /**
3215
+ * Download file to S3 bucket
3216
+ * @param data The data for the request.
3217
+ * @param data.workspace
3218
+ * @param data.fileKey
3219
+ * @param data.s3ResourcePath
3220
+ * @param data.resourceType
3221
+ * @returns string The downloaded file
3222
+ * @throws ApiError
3223
+ */
3224
+ export declare const fileDownloadParquetAsCsv: (data: FileDownloadParquetAsCsvData) => CancelablePromise<FileDownloadParquetAsCsvResponse>;
3225
+ /**
3226
+ * get job metrics
3227
+ * @param data The data for the request.
3228
+ * @param data.workspace
3229
+ * @param data.id
3230
+ * @param data.requestBody parameters for statistics retrieval
3231
+ * @returns unknown job details
3232
+ * @throws ApiError
3233
+ */
3234
+ export declare const getJobMetrics: (data: GetJobMetricsData) => CancelablePromise<GetJobMetricsResponse>;
3235
+ /**
3236
+ * set job metrics
3237
+ * @param data The data for the request.
3238
+ * @param data.workspace
3239
+ * @param data.id
3240
+ * @param data.requestBody parameters for statistics retrieval
3241
+ * @returns unknown Job progress updated
3242
+ * @throws ApiError
3243
+ */
3244
+ export declare const setJobProgress: (data: SetJobProgressData) => CancelablePromise<SetJobProgressResponse>;
3245
+ /**
3246
+ * get job progress
3247
+ * @param data The data for the request.
3248
+ * @param data.workspace
3249
+ * @param data.id
3250
+ * @returns number job progress between 0 and 99
3251
+ * @throws ApiError
3252
+ */
3253
+ export declare const getJobProgress: (data: GetJobProgressData) => CancelablePromise<GetJobProgressResponse>;
3254
+ /**
3255
+ * list log files ordered by timestamp
3256
+ * @param data The data for the request.
3257
+ * @param data.before filter on started before (inclusive) timestamp
3258
+ * @param data.after filter on created after (exclusive) timestamp
3259
+ * @param data.withError
3260
+ * @returns unknown time
3261
+ * @throws ApiError
3262
+ */
3263
+ export declare const listLogFiles: (data?: ListLogFilesData) => CancelablePromise<ListLogFilesResponse>;
3264
+ /**
3265
+ * get log file by path
3266
+ * @param data The data for the request.
3267
+ * @param data.path
3268
+ * @returns string log stream
3269
+ * @throws ApiError
3270
+ */
3271
+ export declare const getLogFile: (data: GetLogFileData) => CancelablePromise<GetLogFileResponse>;
3272
+ /**
3273
+ * List all concurrency groups
3274
+ * @returns ConcurrencyGroup all concurrency groups
3275
+ * @throws ApiError
3276
+ */
3277
+ export declare const listConcurrencyGroups: () => CancelablePromise<ListConcurrencyGroupsResponse>;
3278
+ /**
3279
+ * Delete concurrency group
3280
+ * @param data The data for the request.
3281
+ * @param data.concurrencyId
3282
+ * @returns unknown concurrency group removed
3283
+ * @throws ApiError
3284
+ */
3285
+ export declare const deleteConcurrencyGroup: (data: DeleteConcurrencyGroupData) => CancelablePromise<DeleteConcurrencyGroupResponse>;
3286
+ /**
3287
+ * Get the concurrency key for a job that has concurrency limits enabled
3288
+ * @param data The data for the request.
3289
+ * @param data.id
3290
+ * @returns string concurrency key for given job
3291
+ * @throws ApiError
3292
+ */
3293
+ export declare const getConcurrencyKey: (data: GetConcurrencyKeyData) => CancelablePromise<GetConcurrencyKeyResponse>;
3294
+ /**
3295
+ * Get intervals of job runtime concurrency
3296
+ * @param data The data for the request.
3297
+ * @param data.workspace
3298
+ * @param data.concurrencyKey
3299
+ * @param data.rowLimit
3300
+ * @param data.createdBy mask to filter exact matching user creator
3301
+ * @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')
3302
+ * @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
3303
+ * @param data.scriptPathExact mask to filter exact matching path
3304
+ * @param data.scriptPathStart mask to filter matching starting path
3305
+ * @param data.schedulePath mask to filter by schedule path
3306
+ * @param data.scriptHash mask to filter exact matching path
3307
+ * @param data.startedBefore filter on started before (inclusive) timestamp
3308
+ * @param data.startedAfter filter on started after (exclusive) timestamp
3309
+ * @param data.createdOrStartedBefore filter on created_at for non non started job and started_at otherwise before (inclusive) timestamp
3310
+ * @param data.running filter on running jobs
3311
+ * @param data.scheduledForBeforeNow filter on jobs scheduled_for before now (hence waitinf for a worker)
3312
+ * @param data.createdOrStartedAfter filter on created_at for non non started job and started_at otherwise after (exclusive) timestamp
3313
+ * @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
3314
+ * @param data.jobKinds filter on job kind (values 'preview', 'script', 'dependencies', 'flow') separated by,
3315
+ * @param data.args filter on jobs containing those args as a json subset (@> in postgres)
3316
+ * @param data.tag filter on jobs with a given tag/worker group
3317
+ * @param data.result filter on jobs containing those result as a json subset (@> in postgres)
3318
+ * @param data.page which page to return (start at 1, default 1)
3319
+ * @param data.perPage number of items to return for a given page (default 30, max 100)
3320
+ * @param data.isSkipped is the job skipped
3321
+ * @param data.isFlowStep is the job a flow step
3322
+ * @param data.hasNullParent has null parent
3323
+ * @param data.success filter on successful jobs
3324
+ * @param data.allWorkspaces get jobs from all workspaces (only valid if request come from the `admins` workspace)
3325
+ * @param data.isNotSchedule is not a scheduled job
3326
+ * @returns ExtendedJobs time
3327
+ * @throws ApiError
3328
+ */
3329
+ export declare const listExtendedJobs: (data: ListExtendedJobsData) => CancelablePromise<ListExtendedJobsResponse>;
3330
+ /**
3331
+ * Search through jobs with a string query
3332
+ * @param data The data for the request.
3333
+ * @param data.workspace
3334
+ * @param data.searchQuery
3335
+ * @returns unknown search results
3336
+ * @throws ApiError
3337
+ */
3338
+ export declare const searchJobsIndex: (data: SearchJobsIndexData) => CancelablePromise<SearchJobsIndexResponse>;
3339
+ //# sourceMappingURL=services.gen.d.ts.map