windmill-client 1.397.3 → 1.398.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +2 -0
- package/dist/client.js +4 -1
- package/dist/core/OpenAPI.js +1 -1
- package/dist/services.gen.d.ts +90 -1
- package/dist/services.gen.js +182 -1
- package/dist/types.gen.d.ts +300 -6
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -61,10 +61,12 @@ export declare function setState(state: any): Promise<void>;
|
|
|
61
61
|
* Set the progress
|
|
62
62
|
* Progress cannot go back and limited to 0% to 99% range
|
|
63
63
|
* @param percent Progress to set in %
|
|
64
|
+
* @param jobId? Job to set progress for
|
|
64
65
|
*/
|
|
65
66
|
export declare function setProgress(percent: number, jobId?: any): Promise<void>;
|
|
66
67
|
/**
|
|
67
68
|
* Get the progress
|
|
69
|
+
* @param jobId? Job to get progress from
|
|
68
70
|
* @returns Optional clamped between 0 and 100 progress value
|
|
69
71
|
*/
|
|
70
72
|
export declare function getProgress(jobId?: any): Promise<number | null>;
|
package/dist/client.js
CHANGED
|
@@ -381,6 +381,7 @@ function setState(state) {
|
|
|
381
381
|
* Set the progress
|
|
382
382
|
* Progress cannot go back and limited to 0% to 99% range
|
|
383
383
|
* @param percent Progress to set in %
|
|
384
|
+
* @param jobId? Job to set progress for
|
|
384
385
|
*/
|
|
385
386
|
function setProgress(percent, jobId) {
|
|
386
387
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -401,7 +402,8 @@ function setProgress(percent, jobId) {
|
|
|
401
402
|
id: (_a = jobId !== null && jobId !== void 0 ? jobId : getEnv("WM_JOB_ID")) !== null && _a !== void 0 ? _a : "NO_JOB_ID",
|
|
402
403
|
workspace,
|
|
403
404
|
requestBody: {
|
|
404
|
-
|
|
405
|
+
// In case user inputs float, it should be converted to int
|
|
406
|
+
percent: Math.floor(percent),
|
|
405
407
|
flow_job_id: (flowId == "") ? undefined : flowId,
|
|
406
408
|
}
|
|
407
409
|
});
|
|
@@ -409,6 +411,7 @@ function setProgress(percent, jobId) {
|
|
|
409
411
|
}
|
|
410
412
|
/**
|
|
411
413
|
* Get the progress
|
|
414
|
+
* @param jobId? Job to get progress from
|
|
412
415
|
* @returns Optional clamped between 0 and 100 progress value
|
|
413
416
|
*/
|
|
414
417
|
function getProgress(jobId) {
|
package/dist/core/OpenAPI.js
CHANGED
package/dist/services.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CancelablePromise } from './core/CancelablePromise';
|
|
2
|
-
import type { BackendVersionResponse, BackendUptodateResponse, GetLicenseIdResponse, GetOpenApiYamlResponse, GetAuditLogData, GetAuditLogResponse, ListAuditLogsData, ListAuditLogsResponse, LoginData, LoginResponse, LogoutResponse, GetUserData, GetUserResponse, UpdateUserData, UpdateUserResponse, IsOwnerOfPathData, IsOwnerOfPathResponse, SetPasswordData, SetPasswordResponse, CreateUserGloballyData, CreateUserGloballyResponse, GlobalUserUpdateData, GlobalUserUpdateResponse, GlobalUsernameInfoData, GlobalUsernameInfoResponse, GlobalUserRenameData, GlobalUserRenameResponse, GlobalUserDeleteData, GlobalUserDeleteResponse, GlobalUsersOverwriteData, GlobalUsersOverwriteResponse, GlobalUsersExportResponse, DeleteUserData, DeleteUserResponse, GetCurrentEmailResponse, RefreshUserTokenResponse, GetTutorialProgressResponse, UpdateTutorialProgressData, UpdateTutorialProgressResponse, LeaveInstanceResponse, GetUsageResponse, GetRunnableResponse, GlobalWhoamiResponse, ListWorkspaceInvitesResponse, WhoamiData, WhoamiResponse, AcceptInviteData, AcceptInviteResponse, DeclineInviteData, DeclineInviteResponse, WhoisData, WhoisResponse, ExistsEmailData, ExistsEmailResponse, ListUsersAsSuperAdminData, ListUsersAsSuperAdminResponse, ListUsersData, ListUsersResponse, ListUsersUsageData, ListUsersUsageResponse, ListUsernamesData, ListUsernamesResponse, UsernameToEmailData, UsernameToEmailResponse, CreateTokenData, CreateTokenResponse, CreateTokenImpersonateData, CreateTokenImpersonateResponse, DeleteTokenData, DeleteTokenResponse, ListTokensData, ListTokensResponse, LoginWithOauthData, LoginWithOauthResponse, ListWorkspacesResponse, IsDomainAllowedResponse, ListUserWorkspacesResponse, ListWorkspacesAsSuperAdminData, ListWorkspacesAsSuperAdminResponse, CreateWorkspaceData, CreateWorkspaceResponse, ExistsWorkspaceData, ExistsWorkspaceResponse, ExistsUsernameData, ExistsUsernameResponse, InviteUserData, InviteUserResponse, AddUserData, AddUserResponse, DeleteInviteData, DeleteInviteResponse, ArchiveWorkspaceData, ArchiveWorkspaceResponse, UnarchiveWorkspaceData, UnarchiveWorkspaceResponse, DeleteWorkspaceData, DeleteWorkspaceResponse, LeaveWorkspaceData, LeaveWorkspaceResponse, GetWorkspaceNameData, GetWorkspaceNameResponse, ChangeWorkspaceNameData, ChangeWorkspaceNameResponse, ChangeWorkspaceIdData, ChangeWorkspaceIdResponse, ListPendingInvitesData, ListPendingInvitesResponse, GetSettingsData, GetSettingsResponse, GetDeployToData, GetDeployToResponse, GetIsPremiumData, GetIsPremiumResponse, GetPremiumInfoData, GetPremiumInfoResponse, SetAutomaticBillingData, SetAutomaticBillingResponse, EditSlackCommandData, EditSlackCommandResponse, RunSlackMessageTestJobData, RunSlackMessageTestJobResponse, EditDeployToData, EditDeployToResponse, EditAutoInviteData, EditAutoInviteResponse, EditWebhookData, EditWebhookResponse, EditCopilotConfigData, EditCopilotConfigResponse, GetCopilotInfoData, GetCopilotInfoResponse, EditErrorHandlerData, EditErrorHandlerResponse, EditLargeFileStorageConfigData, EditLargeFileStorageConfigResponse, EditWorkspaceGitSyncConfigData, EditWorkspaceGitSyncConfigResponse, EditWorkspaceDeployUiSettingsData, EditWorkspaceDeployUiSettingsResponse, EditWorkspaceDefaultAppData, EditWorkspaceDefaultAppResponse, EditDefaultScriptsData, EditDefaultScriptsResponse, GetDefaultScriptsData, GetDefaultScriptsResponse, SetEnvironmentVariableData, SetEnvironmentVariableResponse, GetWorkspaceEncryptionKeyData, GetWorkspaceEncryptionKeyResponse, SetWorkspaceEncryptionKeyData, SetWorkspaceEncryptionKeyResponse, GetWorkspaceDefaultAppData, GetWorkspaceDefaultAppResponse, GetLargeFileStorageConfigData, GetLargeFileStorageConfigResponse, GetWorkspaceUsageData, GetWorkspaceUsageResponse, GetGlobalData, GetGlobalResponse, SetGlobalData, SetGlobalResponse, GetLocalResponse, TestSmtpData, TestSmtpResponse, TestLicenseKeyData, TestLicenseKeyResponse, TestObjectStorageConfigData, TestObjectStorageConfigResponse, SendStatsResponse, GetLatestKeyRenewalAttemptResponse, RenewLicenseKeyData, RenewLicenseKeyResponse, CreateCustomerPortalSessionData, CreateCustomerPortalSessionResponse, TestMetadataData, TestMetadataResponse, ListGlobalSettingsResponse, GetOidcTokenData, GetOidcTokenResponse, CreateVariableData, CreateVariableResponse, EncryptValueData, EncryptValueResponse, DeleteVariableData, DeleteVariableResponse, UpdateVariableData, UpdateVariableResponse, GetVariableData, GetVariableResponse, GetVariableValueData, GetVariableValueResponse, ExistsVariableData, ExistsVariableResponse, ListVariableData, ListVariableResponse, ListContextualVariablesData, ListContextualVariablesResponse, 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, 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, ListHubAppsResponse, GetHubAppByIdData, GetHubAppByIdResponse, ListSearchAppData, ListSearchAppResponse, ListAppsData, ListAppsResponse, CreateAppData, CreateAppResponse, ExistsAppData, ExistsAppResponse, GetAppByPathData, GetAppByPathResponse, GetAppByPathWithDraftData, GetAppByPathWithDraftResponse, GetAppHistoryByPathData, GetAppHistoryByPathResponse, UpdateAppHistoryData, UpdateAppHistoryResponse, GetPublicAppBySecretData, GetPublicAppBySecretResponse, GetPublicResourceData, GetPublicResourceResponse, GetPublicSecretOfAppData, GetPublicSecretOfAppResponse, GetAppByVersionData, GetAppByVersionResponse, DeleteAppData, DeleteAppResponse, UpdateAppData, UpdateAppResponse, ExecuteComponentData, ExecuteComponentResponse, GetHubScriptContentByPathData, GetHubScriptContentByPathResponse, GetHubScriptByPathData, GetHubScriptByPathResponse, GetTopHubScriptsData, GetTopHubScriptsResponse, QueryHubScriptsData, QueryHubScriptsResponse, ListSearchScriptData, ListSearchScriptResponse, ListScriptsData, ListScriptsResponse, ListScriptPathsData, ListScriptPathsResponse, CreateScriptData, CreateScriptResponse, ToggleWorkspaceErrorHandlerForScriptData, ToggleWorkspaceErrorHandlerForScriptResponse, ArchiveScriptByPathData, ArchiveScriptByPathResponse, ArchiveScriptByHashData, ArchiveScriptByHashResponse, DeleteScriptByHashData, DeleteScriptByHashResponse, DeleteScriptByPathData, DeleteScriptByPathResponse, GetScriptByPathData, GetScriptByPathResponse, GetScriptByPathWithDraftData, GetScriptByPathWithDraftResponse, GetScriptHistoryByPathData, GetScriptHistoryByPathResponse, UpdateScriptHistoryData, UpdateScriptHistoryResponse, RawScriptByPathData, RawScriptByPathResponse, RawScriptByPathTokenedData, RawScriptByPathTokenedResponse, ExistsScriptByPathData, ExistsScriptByPathResponse, GetScriptByHashData, GetScriptByHashResponse, RawScriptByHashData, RawScriptByHashResponse, GetScriptDeploymentStatusData, GetScriptDeploymentStatusResponse, CreateDraftData, CreateDraftResponse, DeleteDraftData, DeleteDraftResponse, GetCustomTagsResponse, GeDefaultTagsResponse, IsDefaultTagsPerWorkspaceResponse, ListWorkersData, ListWorkersResponse, ExistsWorkerWithTagData, ExistsWorkerWithTagResponse, GetQueueMetricsResponse, RunScriptByPathData, RunScriptByPathResponse, OpenaiSyncScriptByPathData, OpenaiSyncScriptByPathResponse, RunWaitResultScriptByPathData, RunWaitResultScriptByPathResponse, RunWaitResultScriptByPathGetData, RunWaitResultScriptByPathGetResponse, OpenaiSyncFlowByPathData, OpenaiSyncFlowByPathResponse, RunWaitResultFlowByPathData, RunWaitResultFlowByPathResponse, ResultByIdData, ResultByIdResponse, RunFlowByPathData, RunFlowByPathResponse, RestartFlowAtStepData, RestartFlowAtStepResponse, RunScriptByHashData, RunScriptByHashResponse, RunScriptPreviewData, RunScriptPreviewResponse, RunCodeWorkflowTaskData, RunCodeWorkflowTaskResponse, RunRawScriptDependenciesData, RunRawScriptDependenciesResponse, RunFlowPreviewData, RunFlowPreviewResponse, ListQueueData, ListQueueResponse, GetQueueCountData, GetQueueCountResponse, GetCompletedCountData, GetCompletedCountResponse, 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, ListExtendedJobsData, ListExtendedJobsResponse, ListRawAppsData, ListRawAppsResponse, ExistsRawAppData, ExistsRawAppResponse, GetRawAppDataData, GetRawAppDataResponse, CreateRawAppData, CreateRawAppResponse, UpdateRawAppData, UpdateRawAppResponse, DeleteRawAppData, DeleteRawAppResponse, PreviewScheduleData, PreviewScheduleResponse, CreateScheduleData, CreateScheduleResponse, UpdateScheduleData, UpdateScheduleResponse, SetScheduleEnabledData, SetScheduleEnabledResponse, DeleteScheduleData, DeleteScheduleResponse, GetScheduleData, GetScheduleResponse, ExistsScheduleData, ExistsScheduleResponse, ListSchedulesData, ListSchedulesResponse, ListSchedulesWithJobsData, ListSchedulesWithJobsResponse, SetDefaultErrorOrRecoveryHandlerData, SetDefaultErrorOrRecoveryHandlerResponse, ListInstanceGroupsResponse, GetInstanceGroupData, GetInstanceGroupResponse, CreateInstanceGroupData, CreateInstanceGroupResponse, UpdateInstanceGroupData, UpdateInstanceGroupResponse, DeleteInstanceGroupData, DeleteInstanceGroupResponse, AddUserToInstanceGroupData, AddUserToInstanceGroupResponse, RemoveUserFromInstanceGroupData, RemoveUserFromInstanceGroupResponse, 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, 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, SearchJobsIndexData, SearchJobsIndexResponse } from './types.gen';
|
|
2
|
+
import type { BackendVersionResponse, BackendUptodateResponse, GetLicenseIdResponse, GetOpenApiYamlResponse, GetAuditLogData, GetAuditLogResponse, ListAuditLogsData, ListAuditLogsResponse, LoginData, LoginResponse, LogoutResponse, GetUserData, GetUserResponse, UpdateUserData, UpdateUserResponse, IsOwnerOfPathData, IsOwnerOfPathResponse, SetPasswordData, SetPasswordResponse, CreateUserGloballyData, CreateUserGloballyResponse, GlobalUserUpdateData, GlobalUserUpdateResponse, GlobalUsernameInfoData, GlobalUsernameInfoResponse, GlobalUserRenameData, GlobalUserRenameResponse, GlobalUserDeleteData, GlobalUserDeleteResponse, GlobalUsersOverwriteData, GlobalUsersOverwriteResponse, GlobalUsersExportResponse, DeleteUserData, DeleteUserResponse, GetCurrentEmailResponse, RefreshUserTokenResponse, GetTutorialProgressResponse, UpdateTutorialProgressData, UpdateTutorialProgressResponse, LeaveInstanceResponse, GetUsageResponse, GetRunnableResponse, GlobalWhoamiResponse, ListWorkspaceInvitesResponse, WhoamiData, WhoamiResponse, AcceptInviteData, AcceptInviteResponse, DeclineInviteData, DeclineInviteResponse, WhoisData, WhoisResponse, ExistsEmailData, ExistsEmailResponse, ListUsersAsSuperAdminData, ListUsersAsSuperAdminResponse, ListUsersData, ListUsersResponse, ListUsersUsageData, ListUsersUsageResponse, ListUsernamesData, ListUsernamesResponse, UsernameToEmailData, UsernameToEmailResponse, CreateTokenData, CreateTokenResponse, CreateTokenImpersonateData, CreateTokenImpersonateResponse, DeleteTokenData, DeleteTokenResponse, ListTokensData, ListTokensResponse, LoginWithOauthData, LoginWithOauthResponse, ListWorkspacesResponse, IsDomainAllowedResponse, ListUserWorkspacesResponse, ListWorkspacesAsSuperAdminData, ListWorkspacesAsSuperAdminResponse, CreateWorkspaceData, CreateWorkspaceResponse, ExistsWorkspaceData, ExistsWorkspaceResponse, ExistsUsernameData, ExistsUsernameResponse, InviteUserData, InviteUserResponse, AddUserData, AddUserResponse, DeleteInviteData, DeleteInviteResponse, ArchiveWorkspaceData, ArchiveWorkspaceResponse, UnarchiveWorkspaceData, UnarchiveWorkspaceResponse, DeleteWorkspaceData, DeleteWorkspaceResponse, LeaveWorkspaceData, LeaveWorkspaceResponse, GetWorkspaceNameData, GetWorkspaceNameResponse, ChangeWorkspaceNameData, ChangeWorkspaceNameResponse, ChangeWorkspaceIdData, ChangeWorkspaceIdResponse, ListPendingInvitesData, ListPendingInvitesResponse, GetSettingsData, GetSettingsResponse, GetDeployToData, GetDeployToResponse, GetIsPremiumData, GetIsPremiumResponse, GetPremiumInfoData, GetPremiumInfoResponse, SetAutomaticBillingData, SetAutomaticBillingResponse, EditSlackCommandData, EditSlackCommandResponse, RunSlackMessageTestJobData, RunSlackMessageTestJobResponse, EditDeployToData, EditDeployToResponse, EditAutoInviteData, EditAutoInviteResponse, EditWebhookData, EditWebhookResponse, EditCopilotConfigData, EditCopilotConfigResponse, GetCopilotInfoData, GetCopilotInfoResponse, EditErrorHandlerData, EditErrorHandlerResponse, EditLargeFileStorageConfigData, EditLargeFileStorageConfigResponse, EditWorkspaceGitSyncConfigData, EditWorkspaceGitSyncConfigResponse, EditWorkspaceDeployUiSettingsData, EditWorkspaceDeployUiSettingsResponse, EditWorkspaceDefaultAppData, EditWorkspaceDefaultAppResponse, EditDefaultScriptsData, EditDefaultScriptsResponse, GetDefaultScriptsData, GetDefaultScriptsResponse, SetEnvironmentVariableData, SetEnvironmentVariableResponse, GetWorkspaceEncryptionKeyData, GetWorkspaceEncryptionKeyResponse, SetWorkspaceEncryptionKeyData, SetWorkspaceEncryptionKeyResponse, GetWorkspaceDefaultAppData, GetWorkspaceDefaultAppResponse, GetLargeFileStorageConfigData, GetLargeFileStorageConfigResponse, GetWorkspaceUsageData, GetWorkspaceUsageResponse, GetGlobalData, GetGlobalResponse, SetGlobalData, SetGlobalResponse, GetLocalResponse, TestSmtpData, TestSmtpResponse, TestCriticalChannelsData, TestCriticalChannelsResponse, TestLicenseKeyData, TestLicenseKeyResponse, TestObjectStorageConfigData, TestObjectStorageConfigResponse, SendStatsResponse, GetLatestKeyRenewalAttemptResponse, RenewLicenseKeyData, RenewLicenseKeyResponse, CreateCustomerPortalSessionData, CreateCustomerPortalSessionResponse, TestMetadataData, TestMetadataResponse, ListGlobalSettingsResponse, GetOidcTokenData, GetOidcTokenResponse, CreateVariableData, CreateVariableResponse, EncryptValueData, EncryptValueResponse, DeleteVariableData, DeleteVariableResponse, UpdateVariableData, UpdateVariableResponse, GetVariableData, GetVariableResponse, GetVariableValueData, GetVariableValueResponse, ExistsVariableData, ExistsVariableResponse, ListVariableData, ListVariableResponse, ListContextualVariablesData, ListContextualVariablesResponse, 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, 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, ListHubAppsResponse, GetHubAppByIdData, GetHubAppByIdResponse, ListSearchAppData, ListSearchAppResponse, ListAppsData, ListAppsResponse, CreateAppData, CreateAppResponse, ExistsAppData, ExistsAppResponse, GetAppByPathData, GetAppByPathResponse, GetAppByPathWithDraftData, GetAppByPathWithDraftResponse, GetAppHistoryByPathData, GetAppHistoryByPathResponse, UpdateAppHistoryData, UpdateAppHistoryResponse, GetPublicAppBySecretData, GetPublicAppBySecretResponse, GetPublicResourceData, GetPublicResourceResponse, GetPublicSecretOfAppData, GetPublicSecretOfAppResponse, GetAppByVersionData, GetAppByVersionResponse, DeleteAppData, DeleteAppResponse, UpdateAppData, UpdateAppResponse, ExecuteComponentData, ExecuteComponentResponse, GetHubScriptContentByPathData, GetHubScriptContentByPathResponse, GetHubScriptByPathData, GetHubScriptByPathResponse, GetTopHubScriptsData, GetTopHubScriptsResponse, QueryHubScriptsData, QueryHubScriptsResponse, ListSearchScriptData, ListSearchScriptResponse, ListScriptsData, ListScriptsResponse, ListScriptPathsData, ListScriptPathsResponse, CreateScriptData, CreateScriptResponse, ToggleWorkspaceErrorHandlerForScriptData, ToggleWorkspaceErrorHandlerForScriptResponse, ArchiveScriptByPathData, ArchiveScriptByPathResponse, ArchiveScriptByHashData, ArchiveScriptByHashResponse, DeleteScriptByHashData, DeleteScriptByHashResponse, DeleteScriptByPathData, DeleteScriptByPathResponse, GetScriptByPathData, GetScriptByPathResponse, GetScriptByPathWithDraftData, GetScriptByPathWithDraftResponse, GetScriptHistoryByPathData, GetScriptHistoryByPathResponse, UpdateScriptHistoryData, UpdateScriptHistoryResponse, RawScriptByPathData, RawScriptByPathResponse, RawScriptByPathTokenedData, RawScriptByPathTokenedResponse, ExistsScriptByPathData, ExistsScriptByPathResponse, GetScriptByHashData, GetScriptByHashResponse, RawScriptByHashData, RawScriptByHashResponse, GetScriptDeploymentStatusData, GetScriptDeploymentStatusResponse, CreateDraftData, CreateDraftResponse, DeleteDraftData, DeleteDraftResponse, GetCustomTagsResponse, GeDefaultTagsResponse, IsDefaultTagsPerWorkspaceResponse, ListWorkersData, ListWorkersResponse, ExistsWorkerWithTagData, ExistsWorkerWithTagResponse, GetQueueMetricsResponse, RunScriptByPathData, RunScriptByPathResponse, OpenaiSyncScriptByPathData, OpenaiSyncScriptByPathResponse, RunWaitResultScriptByPathData, RunWaitResultScriptByPathResponse, RunWaitResultScriptByPathGetData, RunWaitResultScriptByPathGetResponse, OpenaiSyncFlowByPathData, OpenaiSyncFlowByPathResponse, RunWaitResultFlowByPathData, RunWaitResultFlowByPathResponse, ResultByIdData, ResultByIdResponse, RunFlowByPathData, RunFlowByPathResponse, RestartFlowAtStepData, RestartFlowAtStepResponse, RunScriptByHashData, RunScriptByHashResponse, RunScriptPreviewData, RunScriptPreviewResponse, RunCodeWorkflowTaskData, RunCodeWorkflowTaskResponse, RunRawScriptDependenciesData, RunRawScriptDependenciesResponse, RunFlowPreviewData, RunFlowPreviewResponse, ListQueueData, ListQueueResponse, GetQueueCountData, GetQueueCountResponse, GetCompletedCountData, GetCompletedCountResponse, 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, ListExtendedJobsData, ListExtendedJobsResponse, ListRawAppsData, ListRawAppsResponse, ExistsRawAppData, ExistsRawAppResponse, GetRawAppDataData, GetRawAppDataResponse, CreateRawAppData, CreateRawAppResponse, UpdateRawAppData, UpdateRawAppResponse, DeleteRawAppData, DeleteRawAppResponse, PreviewScheduleData, PreviewScheduleResponse, CreateScheduleData, CreateScheduleResponse, UpdateScheduleData, UpdateScheduleResponse, SetScheduleEnabledData, SetScheduleEnabledResponse, DeleteScheduleData, DeleteScheduleResponse, GetScheduleData, GetScheduleResponse, ExistsScheduleData, ExistsScheduleResponse, ListSchedulesData, ListSchedulesResponse, ListSchedulesWithJobsData, ListSchedulesWithJobsResponse, SetDefaultErrorOrRecoveryHandlerData, SetDefaultErrorOrRecoveryHandlerResponse, CreateHttpTriggerData, CreateHttpTriggerResponse, UpdateHttpTriggerData, UpdateHttpTriggerResponse, DeleteHttpTriggerData, DeleteHttpTriggerResponse, GetHttpTriggerData, GetHttpTriggerResponse, ListHttpTriggersData, ListHttpTriggersResponse, ExistsHttpTriggerData, ExistsHttpTriggerResponse, ExistsRouteData, ExistsRouteResponse, UsedData, UsedResponse, 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, 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, SearchJobsIndexData, SearchJobsIndexResponse } from './types.gen';
|
|
3
3
|
export declare class SettingsService {
|
|
4
4
|
/**
|
|
5
5
|
* get backend version
|
|
@@ -779,6 +779,14 @@ export declare class SettingService {
|
|
|
779
779
|
* @throws ApiError
|
|
780
780
|
*/
|
|
781
781
|
static testSmtp(data: TestSmtpData): CancelablePromise<TestSmtpResponse>;
|
|
782
|
+
/**
|
|
783
|
+
* test critical channels
|
|
784
|
+
* @param data The data for the request.
|
|
785
|
+
* @param data.requestBody test critical channel payload
|
|
786
|
+
* @returns string status
|
|
787
|
+
* @throws ApiError
|
|
788
|
+
*/
|
|
789
|
+
static testCriticalChannels(data: TestCriticalChannelsData): CancelablePromise<TestCriticalChannelsResponse>;
|
|
782
790
|
/**
|
|
783
791
|
* test license key
|
|
784
792
|
* @param data The data for the request.
|
|
@@ -1888,6 +1896,7 @@ export declare class JobService {
|
|
|
1888
1896
|
* @param data.requestBody script args
|
|
1889
1897
|
* @param data.scheduledFor when to schedule this job (leave empty for immediate run)
|
|
1890
1898
|
* @param data.scheduledInSecs schedule the script to execute in the number of seconds starting now
|
|
1899
|
+
* @param data.skipPreprocessor skip the preprocessor
|
|
1891
1900
|
* @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
|
|
1892
1901
|
* @param data.tag Override the tag to use
|
|
1893
1902
|
* @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
|
|
@@ -2004,6 +2013,7 @@ export declare class JobService {
|
|
|
2004
2013
|
* @param data.requestBody flow args
|
|
2005
2014
|
* @param data.scheduledFor when to schedule this job (leave empty for immediate run)
|
|
2006
2015
|
* @param data.scheduledInSecs schedule the script to execute in the number of seconds starting now
|
|
2016
|
+
* @param data.skipPreprocessor skip the preprocessor
|
|
2007
2017
|
* @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
|
|
2008
2018
|
* @param data.tag Override the tag to use
|
|
2009
2019
|
* @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)
|
|
@@ -2044,6 +2054,7 @@ export declare class JobService {
|
|
|
2044
2054
|
* @param data.requestBody Partially filled args
|
|
2045
2055
|
* @param data.scheduledFor when to schedule this job (leave empty for immediate run)
|
|
2046
2056
|
* @param data.scheduledInSecs schedule the script to execute in the number of seconds starting now
|
|
2057
|
+
* @param data.skipPreprocessor skip the preprocessor
|
|
2047
2058
|
* @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
|
|
2048
2059
|
* @param data.tag Override the tag to use
|
|
2049
2060
|
* @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
|
|
@@ -2719,6 +2730,84 @@ export declare class ScheduleService {
|
|
|
2719
2730
|
*/
|
|
2720
2731
|
static setDefaultErrorOrRecoveryHandler(data: SetDefaultErrorOrRecoveryHandlerData): CancelablePromise<SetDefaultErrorOrRecoveryHandlerResponse>;
|
|
2721
2732
|
}
|
|
2733
|
+
export declare class HttpTriggerService {
|
|
2734
|
+
/**
|
|
2735
|
+
* create http trigger
|
|
2736
|
+
* @param data The data for the request.
|
|
2737
|
+
* @param data.workspace
|
|
2738
|
+
* @param data.requestBody new http trigger
|
|
2739
|
+
* @returns string http trigger created
|
|
2740
|
+
* @throws ApiError
|
|
2741
|
+
*/
|
|
2742
|
+
static createHttpTrigger(data: CreateHttpTriggerData): CancelablePromise<CreateHttpTriggerResponse>;
|
|
2743
|
+
/**
|
|
2744
|
+
* update http trigger
|
|
2745
|
+
* @param data The data for the request.
|
|
2746
|
+
* @param data.workspace
|
|
2747
|
+
* @param data.path
|
|
2748
|
+
* @param data.requestBody updated trigger
|
|
2749
|
+
* @returns string http trigger updated
|
|
2750
|
+
* @throws ApiError
|
|
2751
|
+
*/
|
|
2752
|
+
static updateHttpTrigger(data: UpdateHttpTriggerData): CancelablePromise<UpdateHttpTriggerResponse>;
|
|
2753
|
+
/**
|
|
2754
|
+
* delete http trigger
|
|
2755
|
+
* @param data The data for the request.
|
|
2756
|
+
* @param data.workspace
|
|
2757
|
+
* @param data.path
|
|
2758
|
+
* @returns string http trigger deleted
|
|
2759
|
+
* @throws ApiError
|
|
2760
|
+
*/
|
|
2761
|
+
static deleteHttpTrigger(data: DeleteHttpTriggerData): CancelablePromise<DeleteHttpTriggerResponse>;
|
|
2762
|
+
/**
|
|
2763
|
+
* get http trigger
|
|
2764
|
+
* @param data The data for the request.
|
|
2765
|
+
* @param data.workspace
|
|
2766
|
+
* @param data.path
|
|
2767
|
+
* @returns HttpTrigger http trigger deleted
|
|
2768
|
+
* @throws ApiError
|
|
2769
|
+
*/
|
|
2770
|
+
static getHttpTrigger(data: GetHttpTriggerData): CancelablePromise<GetHttpTriggerResponse>;
|
|
2771
|
+
/**
|
|
2772
|
+
* list http triggers
|
|
2773
|
+
* @param data The data for the request.
|
|
2774
|
+
* @param data.workspace
|
|
2775
|
+
* @param data.page which page to return (start at 1, default 1)
|
|
2776
|
+
* @param data.perPage number of items to return for a given page (default 30, max 100)
|
|
2777
|
+
* @param data.path filter by path
|
|
2778
|
+
* @param data.isFlow
|
|
2779
|
+
* @param data.pathStart
|
|
2780
|
+
* @returns HttpTrigger http trigger list
|
|
2781
|
+
* @throws ApiError
|
|
2782
|
+
*/
|
|
2783
|
+
static listHttpTriggers(data: ListHttpTriggersData): CancelablePromise<ListHttpTriggersResponse>;
|
|
2784
|
+
/**
|
|
2785
|
+
* does http trigger exists
|
|
2786
|
+
* @param data The data for the request.
|
|
2787
|
+
* @param data.workspace
|
|
2788
|
+
* @param data.path
|
|
2789
|
+
* @returns boolean http trigger exists
|
|
2790
|
+
* @throws ApiError
|
|
2791
|
+
*/
|
|
2792
|
+
static existsHttpTrigger(data: ExistsHttpTriggerData): CancelablePromise<ExistsHttpTriggerResponse>;
|
|
2793
|
+
/**
|
|
2794
|
+
* does route exists
|
|
2795
|
+
* @param data The data for the request.
|
|
2796
|
+
* @param data.workspace
|
|
2797
|
+
* @param data.requestBody route exists request
|
|
2798
|
+
* @returns boolean route exists
|
|
2799
|
+
* @throws ApiError
|
|
2800
|
+
*/
|
|
2801
|
+
static existsRoute(data: ExistsRouteData): CancelablePromise<ExistsRouteResponse>;
|
|
2802
|
+
/**
|
|
2803
|
+
* whether http triggers are used
|
|
2804
|
+
* @param data The data for the request.
|
|
2805
|
+
* @param data.workspace
|
|
2806
|
+
* @returns boolean whether http triggers are used
|
|
2807
|
+
* @throws ApiError
|
|
2808
|
+
*/
|
|
2809
|
+
static used(data: UsedData): CancelablePromise<UsedResponse>;
|
|
2810
|
+
}
|
|
2722
2811
|
export declare class GroupService {
|
|
2723
2812
|
/**
|
|
2724
2813
|
* list instance groups
|
package/dist/services.gen.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.IndexSearchService = exports.ConcurrencyGroupsService = exports.ServiceLogsService = exports.MetricsService = exports.HelpersService = exports.InputService = exports.FavoriteService = exports.CaptureService = exports.GranularAclService = exports.ConfigService = exports.FolderService = exports.GroupService = exports.ScheduleService = exports.RawAppService = exports.JobService = exports.WorkerService = exports.DraftService = exports.ScriptService = exports.AppService = exports.FlowService = exports.IntegrationService = exports.ResourceService = exports.OauthService = exports.VariableService = exports.OidcService = exports.SettingService = exports.WorkspaceService = exports.AdminService = exports.UserService = exports.AuditService = exports.SettingsService = void 0;
|
|
4
|
+
exports.IndexSearchService = exports.ConcurrencyGroupsService = exports.ServiceLogsService = exports.MetricsService = exports.HelpersService = exports.InputService = exports.FavoriteService = exports.CaptureService = exports.GranularAclService = exports.ConfigService = exports.FolderService = exports.GroupService = exports.HttpTriggerService = exports.ScheduleService = exports.RawAppService = exports.JobService = exports.WorkerService = exports.DraftService = exports.ScriptService = exports.AppService = exports.FlowService = exports.IntegrationService = exports.ResourceService = exports.OauthService = exports.VariableService = exports.OidcService = exports.SettingService = exports.WorkspaceService = exports.AdminService = exports.UserService = exports.AuditService = exports.SettingsService = void 0;
|
|
5
5
|
const OpenAPI_1 = require("./core/OpenAPI");
|
|
6
6
|
const request_1 = require("./core/request");
|
|
7
7
|
class SettingsService {
|
|
@@ -1551,6 +1551,21 @@ class SettingService {
|
|
|
1551
1551
|
mediaType: 'application/json'
|
|
1552
1552
|
});
|
|
1553
1553
|
}
|
|
1554
|
+
/**
|
|
1555
|
+
* test critical channels
|
|
1556
|
+
* @param data The data for the request.
|
|
1557
|
+
* @param data.requestBody test critical channel payload
|
|
1558
|
+
* @returns string status
|
|
1559
|
+
* @throws ApiError
|
|
1560
|
+
*/
|
|
1561
|
+
static testCriticalChannels(data) {
|
|
1562
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
1563
|
+
method: 'POST',
|
|
1564
|
+
url: '/settings/test_critical_channels',
|
|
1565
|
+
body: data.requestBody,
|
|
1566
|
+
mediaType: 'application/json'
|
|
1567
|
+
});
|
|
1568
|
+
}
|
|
1554
1569
|
/**
|
|
1555
1570
|
* test license key
|
|
1556
1571
|
* @param data The data for the request.
|
|
@@ -3744,6 +3759,7 @@ class JobService {
|
|
|
3744
3759
|
* @param data.requestBody script args
|
|
3745
3760
|
* @param data.scheduledFor when to schedule this job (leave empty for immediate run)
|
|
3746
3761
|
* @param data.scheduledInSecs schedule the script to execute in the number of seconds starting now
|
|
3762
|
+
* @param data.skipPreprocessor skip the preprocessor
|
|
3747
3763
|
* @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
|
|
3748
3764
|
* @param data.tag Override the tag to use
|
|
3749
3765
|
* @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
|
|
@@ -3763,6 +3779,7 @@ class JobService {
|
|
|
3763
3779
|
query: {
|
|
3764
3780
|
scheduled_for: data.scheduledFor,
|
|
3765
3781
|
scheduled_in_secs: data.scheduledInSecs,
|
|
3782
|
+
skip_preprocessor: data.skipPreprocessor,
|
|
3766
3783
|
parent_job: data.parentJob,
|
|
3767
3784
|
tag: data.tag,
|
|
3768
3785
|
cache_ttl: data.cacheTtl,
|
|
@@ -3976,6 +3993,7 @@ class JobService {
|
|
|
3976
3993
|
* @param data.requestBody flow args
|
|
3977
3994
|
* @param data.scheduledFor when to schedule this job (leave empty for immediate run)
|
|
3978
3995
|
* @param data.scheduledInSecs schedule the script to execute in the number of seconds starting now
|
|
3996
|
+
* @param data.skipPreprocessor skip the preprocessor
|
|
3979
3997
|
* @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
|
|
3980
3998
|
* @param data.tag Override the tag to use
|
|
3981
3999
|
* @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)
|
|
@@ -3997,6 +4015,7 @@ class JobService {
|
|
|
3997
4015
|
query: {
|
|
3998
4016
|
scheduled_for: data.scheduledFor,
|
|
3999
4017
|
scheduled_in_secs: data.scheduledInSecs,
|
|
4018
|
+
skip_preprocessor: data.skipPreprocessor,
|
|
4000
4019
|
parent_job: data.parentJob,
|
|
4001
4020
|
tag: data.tag,
|
|
4002
4021
|
job_id: data.jobId,
|
|
@@ -4058,6 +4077,7 @@ class JobService {
|
|
|
4058
4077
|
* @param data.requestBody Partially filled args
|
|
4059
4078
|
* @param data.scheduledFor when to schedule this job (leave empty for immediate run)
|
|
4060
4079
|
* @param data.scheduledInSecs schedule the script to execute in the number of seconds starting now
|
|
4080
|
+
* @param data.skipPreprocessor skip the preprocessor
|
|
4061
4081
|
* @param data.parentJob The parent job that is at the origin and responsible for the execution of this script if any
|
|
4062
4082
|
* @param data.tag Override the tag to use
|
|
4063
4083
|
* @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
|
|
@@ -4080,6 +4100,7 @@ class JobService {
|
|
|
4080
4100
|
query: {
|
|
4081
4101
|
scheduled_for: data.scheduledFor,
|
|
4082
4102
|
scheduled_in_secs: data.scheduledInSecs,
|
|
4103
|
+
skip_preprocessor: data.skipPreprocessor,
|
|
4083
4104
|
parent_job: data.parentJob,
|
|
4084
4105
|
tag: data.tag,
|
|
4085
4106
|
cache_ttl: data.cacheTtl,
|
|
@@ -5467,6 +5488,166 @@ class ScheduleService {
|
|
|
5467
5488
|
}
|
|
5468
5489
|
}
|
|
5469
5490
|
exports.ScheduleService = ScheduleService;
|
|
5491
|
+
class HttpTriggerService {
|
|
5492
|
+
/**
|
|
5493
|
+
* create http trigger
|
|
5494
|
+
* @param data The data for the request.
|
|
5495
|
+
* @param data.workspace
|
|
5496
|
+
* @param data.requestBody new http trigger
|
|
5497
|
+
* @returns string http trigger created
|
|
5498
|
+
* @throws ApiError
|
|
5499
|
+
*/
|
|
5500
|
+
static createHttpTrigger(data) {
|
|
5501
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
5502
|
+
method: 'POST',
|
|
5503
|
+
url: '/w/{workspace}/http_triggers/create',
|
|
5504
|
+
path: {
|
|
5505
|
+
workspace: data.workspace
|
|
5506
|
+
},
|
|
5507
|
+
body: data.requestBody,
|
|
5508
|
+
mediaType: 'application/json'
|
|
5509
|
+
});
|
|
5510
|
+
}
|
|
5511
|
+
/**
|
|
5512
|
+
* update http trigger
|
|
5513
|
+
* @param data The data for the request.
|
|
5514
|
+
* @param data.workspace
|
|
5515
|
+
* @param data.path
|
|
5516
|
+
* @param data.requestBody updated trigger
|
|
5517
|
+
* @returns string http trigger updated
|
|
5518
|
+
* @throws ApiError
|
|
5519
|
+
*/
|
|
5520
|
+
static updateHttpTrigger(data) {
|
|
5521
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
5522
|
+
method: 'POST',
|
|
5523
|
+
url: '/w/{workspace}/http_triggers/update/{path}',
|
|
5524
|
+
path: {
|
|
5525
|
+
workspace: data.workspace,
|
|
5526
|
+
path: data.path
|
|
5527
|
+
},
|
|
5528
|
+
body: data.requestBody,
|
|
5529
|
+
mediaType: 'application/json'
|
|
5530
|
+
});
|
|
5531
|
+
}
|
|
5532
|
+
/**
|
|
5533
|
+
* delete http trigger
|
|
5534
|
+
* @param data The data for the request.
|
|
5535
|
+
* @param data.workspace
|
|
5536
|
+
* @param data.path
|
|
5537
|
+
* @returns string http trigger deleted
|
|
5538
|
+
* @throws ApiError
|
|
5539
|
+
*/
|
|
5540
|
+
static deleteHttpTrigger(data) {
|
|
5541
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
5542
|
+
method: 'DELETE',
|
|
5543
|
+
url: '/w/{workspace}/http_triggers/delete/{path}',
|
|
5544
|
+
path: {
|
|
5545
|
+
workspace: data.workspace,
|
|
5546
|
+
path: data.path
|
|
5547
|
+
}
|
|
5548
|
+
});
|
|
5549
|
+
}
|
|
5550
|
+
/**
|
|
5551
|
+
* get http trigger
|
|
5552
|
+
* @param data The data for the request.
|
|
5553
|
+
* @param data.workspace
|
|
5554
|
+
* @param data.path
|
|
5555
|
+
* @returns HttpTrigger http trigger deleted
|
|
5556
|
+
* @throws ApiError
|
|
5557
|
+
*/
|
|
5558
|
+
static getHttpTrigger(data) {
|
|
5559
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
5560
|
+
method: 'GET',
|
|
5561
|
+
url: '/w/{workspace}/http_triggers/get/{path}',
|
|
5562
|
+
path: {
|
|
5563
|
+
workspace: data.workspace,
|
|
5564
|
+
path: data.path
|
|
5565
|
+
}
|
|
5566
|
+
});
|
|
5567
|
+
}
|
|
5568
|
+
/**
|
|
5569
|
+
* list http triggers
|
|
5570
|
+
* @param data The data for the request.
|
|
5571
|
+
* @param data.workspace
|
|
5572
|
+
* @param data.page which page to return (start at 1, default 1)
|
|
5573
|
+
* @param data.perPage number of items to return for a given page (default 30, max 100)
|
|
5574
|
+
* @param data.path filter by path
|
|
5575
|
+
* @param data.isFlow
|
|
5576
|
+
* @param data.pathStart
|
|
5577
|
+
* @returns HttpTrigger http trigger list
|
|
5578
|
+
* @throws ApiError
|
|
5579
|
+
*/
|
|
5580
|
+
static listHttpTriggers(data) {
|
|
5581
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
5582
|
+
method: 'GET',
|
|
5583
|
+
url: '/w/{workspace}/http_triggers/list',
|
|
5584
|
+
path: {
|
|
5585
|
+
workspace: data.workspace
|
|
5586
|
+
},
|
|
5587
|
+
query: {
|
|
5588
|
+
page: data.page,
|
|
5589
|
+
per_page: data.perPage,
|
|
5590
|
+
path: data.path,
|
|
5591
|
+
is_flow: data.isFlow,
|
|
5592
|
+
path_start: data.pathStart
|
|
5593
|
+
}
|
|
5594
|
+
});
|
|
5595
|
+
}
|
|
5596
|
+
/**
|
|
5597
|
+
* does http trigger exists
|
|
5598
|
+
* @param data The data for the request.
|
|
5599
|
+
* @param data.workspace
|
|
5600
|
+
* @param data.path
|
|
5601
|
+
* @returns boolean http trigger exists
|
|
5602
|
+
* @throws ApiError
|
|
5603
|
+
*/
|
|
5604
|
+
static existsHttpTrigger(data) {
|
|
5605
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
5606
|
+
method: 'GET',
|
|
5607
|
+
url: '/w/{workspace}/http_triggers/exists/{path}',
|
|
5608
|
+
path: {
|
|
5609
|
+
workspace: data.workspace,
|
|
5610
|
+
path: data.path
|
|
5611
|
+
}
|
|
5612
|
+
});
|
|
5613
|
+
}
|
|
5614
|
+
/**
|
|
5615
|
+
* does route exists
|
|
5616
|
+
* @param data The data for the request.
|
|
5617
|
+
* @param data.workspace
|
|
5618
|
+
* @param data.requestBody route exists request
|
|
5619
|
+
* @returns boolean route exists
|
|
5620
|
+
* @throws ApiError
|
|
5621
|
+
*/
|
|
5622
|
+
static existsRoute(data) {
|
|
5623
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
5624
|
+
method: 'POST',
|
|
5625
|
+
url: '/w/{workspace}/http_triggers/route_exists',
|
|
5626
|
+
path: {
|
|
5627
|
+
workspace: data.workspace
|
|
5628
|
+
},
|
|
5629
|
+
body: data.requestBody,
|
|
5630
|
+
mediaType: 'application/json'
|
|
5631
|
+
});
|
|
5632
|
+
}
|
|
5633
|
+
/**
|
|
5634
|
+
* whether http triggers are used
|
|
5635
|
+
* @param data The data for the request.
|
|
5636
|
+
* @param data.workspace
|
|
5637
|
+
* @returns boolean whether http triggers are used
|
|
5638
|
+
* @throws ApiError
|
|
5639
|
+
*/
|
|
5640
|
+
static used(data) {
|
|
5641
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
5642
|
+
method: 'GET',
|
|
5643
|
+
url: '/w/{workspace}/http_triggers/used',
|
|
5644
|
+
path: {
|
|
5645
|
+
workspace: data.workspace
|
|
5646
|
+
}
|
|
5647
|
+
});
|
|
5648
|
+
}
|
|
5649
|
+
}
|
|
5650
|
+
exports.HttpTriggerService = HttpTriggerService;
|
|
5470
5651
|
class GroupService {
|
|
5471
5652
|
/**
|
|
5472
5653
|
* list instance groups
|
package/dist/types.gen.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ export type Script = {
|
|
|
43
43
|
visible_to_runner_only?: boolean;
|
|
44
44
|
no_main_func: boolean;
|
|
45
45
|
codebase?: string;
|
|
46
|
+
has_preprocessor: boolean;
|
|
46
47
|
};
|
|
47
48
|
export type NewScript = {
|
|
48
49
|
path: string;
|
|
@@ -74,6 +75,7 @@ export type NewScript = {
|
|
|
74
75
|
visible_to_runner_only?: boolean;
|
|
75
76
|
no_main_func?: boolean;
|
|
76
77
|
codebase?: string;
|
|
78
|
+
has_preprocessor?: boolean;
|
|
77
79
|
};
|
|
78
80
|
export type NewScriptWithDraft = NewScript & {
|
|
79
81
|
draft?: NewScript;
|
|
@@ -314,6 +316,7 @@ export type MainArgSignature = {
|
|
|
314
316
|
default?: unknown;
|
|
315
317
|
}>;
|
|
316
318
|
no_main_func: boolean | null;
|
|
319
|
+
has_preprocessor: boolean | null;
|
|
317
320
|
};
|
|
318
321
|
export type Preview = {
|
|
319
322
|
content?: string;
|
|
@@ -474,6 +477,40 @@ export type EditSchedule = {
|
|
|
474
477
|
tag?: string;
|
|
475
478
|
paused_until?: string;
|
|
476
479
|
};
|
|
480
|
+
export type HttpTrigger = {
|
|
481
|
+
path: string;
|
|
482
|
+
edited_by: string;
|
|
483
|
+
edited_at: string;
|
|
484
|
+
script_path: string;
|
|
485
|
+
route_path: string;
|
|
486
|
+
is_flow: boolean;
|
|
487
|
+
extra_perms: {
|
|
488
|
+
[key: string]: (boolean);
|
|
489
|
+
};
|
|
490
|
+
email: string;
|
|
491
|
+
workspace_id: string;
|
|
492
|
+
http_method: 'get' | 'post' | 'put' | 'delete' | 'patch';
|
|
493
|
+
is_async: boolean;
|
|
494
|
+
requires_auth: boolean;
|
|
495
|
+
};
|
|
496
|
+
export type NewHttpTrigger = {
|
|
497
|
+
path: string;
|
|
498
|
+
script_path: string;
|
|
499
|
+
route_path: string;
|
|
500
|
+
is_flow: boolean;
|
|
501
|
+
http_method: 'get' | 'post' | 'put' | 'delete' | 'patch';
|
|
502
|
+
is_async: boolean;
|
|
503
|
+
requires_auth: boolean;
|
|
504
|
+
};
|
|
505
|
+
export type EditHttpTrigger = {
|
|
506
|
+
path: string;
|
|
507
|
+
script_path: string;
|
|
508
|
+
route_path?: string;
|
|
509
|
+
is_flow: boolean;
|
|
510
|
+
http_method: 'get' | 'post' | 'put' | 'delete' | 'patch';
|
|
511
|
+
is_async: boolean;
|
|
512
|
+
requires_auth: boolean;
|
|
513
|
+
};
|
|
477
514
|
export type Group = {
|
|
478
515
|
name: string;
|
|
479
516
|
summary?: string;
|
|
@@ -817,6 +854,7 @@ export type OpenFlow = {
|
|
|
817
854
|
export type FlowValue = {
|
|
818
855
|
modules: Array<FlowModule>;
|
|
819
856
|
failure_module?: FlowModule;
|
|
857
|
+
preprocessor_module?: FlowModule;
|
|
820
858
|
same_worker?: boolean;
|
|
821
859
|
concurrent_limit?: number;
|
|
822
860
|
concurrency_key?: string;
|
|
@@ -957,6 +995,7 @@ export type FlowStatus = {
|
|
|
957
995
|
step: number;
|
|
958
996
|
modules: Array<FlowStatusModule>;
|
|
959
997
|
user_states?: unknown;
|
|
998
|
+
preprocessor_module?: FlowStatusModule;
|
|
960
999
|
failure_module: FlowStatusModule & {
|
|
961
1000
|
parent_module?: string;
|
|
962
1001
|
};
|
|
@@ -1820,6 +1859,16 @@ export type TestSmtpData = {
|
|
|
1820
1859
|
};
|
|
1821
1860
|
};
|
|
1822
1861
|
export type TestSmtpResponse = string;
|
|
1862
|
+
export type TestCriticalChannelsData = {
|
|
1863
|
+
/**
|
|
1864
|
+
* test critical channel payload
|
|
1865
|
+
*/
|
|
1866
|
+
requestBody: Array<{
|
|
1867
|
+
email?: string;
|
|
1868
|
+
slack_channel?: string;
|
|
1869
|
+
}>;
|
|
1870
|
+
};
|
|
1871
|
+
export type TestCriticalChannelsResponse = string;
|
|
1823
1872
|
export type TestLicenseKeyData = {
|
|
1824
1873
|
/**
|
|
1825
1874
|
* test license key
|
|
@@ -2893,6 +2942,10 @@ export type RunScriptByPathData = {
|
|
|
2893
2942
|
* schedule the script to execute in the number of seconds starting now
|
|
2894
2943
|
*/
|
|
2895
2944
|
scheduledInSecs?: number;
|
|
2945
|
+
/**
|
|
2946
|
+
* skip the preprocessor
|
|
2947
|
+
*/
|
|
2948
|
+
skipPreprocessor?: boolean;
|
|
2896
2949
|
/**
|
|
2897
2950
|
* Override the tag to use
|
|
2898
2951
|
*/
|
|
@@ -3088,6 +3141,10 @@ export type RunFlowByPathData = {
|
|
|
3088
3141
|
* schedule the script to execute in the number of seconds starting now
|
|
3089
3142
|
*/
|
|
3090
3143
|
scheduledInSecs?: number;
|
|
3144
|
+
/**
|
|
3145
|
+
* skip the preprocessor
|
|
3146
|
+
*/
|
|
3147
|
+
skipPreprocessor?: boolean;
|
|
3091
3148
|
/**
|
|
3092
3149
|
* Override the tag to use
|
|
3093
3150
|
*/
|
|
@@ -3180,6 +3237,10 @@ export type RunScriptByHashData = {
|
|
|
3180
3237
|
* schedule the script to execute in the number of seconds starting now
|
|
3181
3238
|
*/
|
|
3182
3239
|
scheduledInSecs?: number;
|
|
3240
|
+
/**
|
|
3241
|
+
* skip the preprocessor
|
|
3242
|
+
*/
|
|
3243
|
+
skipPreprocessor?: boolean;
|
|
3183
3244
|
/**
|
|
3184
3245
|
* Override the tag to use
|
|
3185
3246
|
*/
|
|
@@ -4165,6 +4226,71 @@ export type SetDefaultErrorOrRecoveryHandlerData = {
|
|
|
4165
4226
|
workspace: string;
|
|
4166
4227
|
};
|
|
4167
4228
|
export type SetDefaultErrorOrRecoveryHandlerResponse = unknown;
|
|
4229
|
+
export type CreateHttpTriggerData = {
|
|
4230
|
+
/**
|
|
4231
|
+
* new http trigger
|
|
4232
|
+
*/
|
|
4233
|
+
requestBody: NewHttpTrigger;
|
|
4234
|
+
workspace: string;
|
|
4235
|
+
};
|
|
4236
|
+
export type CreateHttpTriggerResponse = string;
|
|
4237
|
+
export type UpdateHttpTriggerData = {
|
|
4238
|
+
path: string;
|
|
4239
|
+
/**
|
|
4240
|
+
* updated trigger
|
|
4241
|
+
*/
|
|
4242
|
+
requestBody: EditHttpTrigger;
|
|
4243
|
+
workspace: string;
|
|
4244
|
+
};
|
|
4245
|
+
export type UpdateHttpTriggerResponse = string;
|
|
4246
|
+
export type DeleteHttpTriggerData = {
|
|
4247
|
+
path: string;
|
|
4248
|
+
workspace: string;
|
|
4249
|
+
};
|
|
4250
|
+
export type DeleteHttpTriggerResponse = string;
|
|
4251
|
+
export type GetHttpTriggerData = {
|
|
4252
|
+
path: string;
|
|
4253
|
+
workspace: string;
|
|
4254
|
+
};
|
|
4255
|
+
export type GetHttpTriggerResponse = HttpTrigger;
|
|
4256
|
+
export type ListHttpTriggersData = {
|
|
4257
|
+
isFlow?: boolean;
|
|
4258
|
+
/**
|
|
4259
|
+
* which page to return (start at 1, default 1)
|
|
4260
|
+
*/
|
|
4261
|
+
page?: number;
|
|
4262
|
+
/**
|
|
4263
|
+
* filter by path
|
|
4264
|
+
*/
|
|
4265
|
+
path?: string;
|
|
4266
|
+
pathStart?: string;
|
|
4267
|
+
/**
|
|
4268
|
+
* number of items to return for a given page (default 30, max 100)
|
|
4269
|
+
*/
|
|
4270
|
+
perPage?: number;
|
|
4271
|
+
workspace: string;
|
|
4272
|
+
};
|
|
4273
|
+
export type ListHttpTriggersResponse = Array<HttpTrigger>;
|
|
4274
|
+
export type ExistsHttpTriggerData = {
|
|
4275
|
+
path: string;
|
|
4276
|
+
workspace: string;
|
|
4277
|
+
};
|
|
4278
|
+
export type ExistsHttpTriggerResponse = boolean;
|
|
4279
|
+
export type ExistsRouteData = {
|
|
4280
|
+
/**
|
|
4281
|
+
* route exists request
|
|
4282
|
+
*/
|
|
4283
|
+
requestBody: {
|
|
4284
|
+
route_path: string;
|
|
4285
|
+
http_method: 'get' | 'post' | 'put' | 'delete' | 'patch';
|
|
4286
|
+
};
|
|
4287
|
+
workspace: string;
|
|
4288
|
+
};
|
|
4289
|
+
export type ExistsRouteResponse = boolean;
|
|
4290
|
+
export type UsedData = {
|
|
4291
|
+
workspace: string;
|
|
4292
|
+
};
|
|
4293
|
+
export type UsedResponse = boolean;
|
|
4168
4294
|
export type ListInstanceGroupsResponse = Array<InstanceGroup>;
|
|
4169
4295
|
export type GetInstanceGroupData = {
|
|
4170
4296
|
name: string;
|
|
@@ -4409,7 +4535,7 @@ export type DeleteConfigData = {
|
|
|
4409
4535
|
export type DeleteConfigResponse = string;
|
|
4410
4536
|
export type ListConfigsResponse = Array<Config>;
|
|
4411
4537
|
export type GetGranularAclsData = {
|
|
4412
|
-
kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app';
|
|
4538
|
+
kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger';
|
|
4413
4539
|
path: string;
|
|
4414
4540
|
workspace: string;
|
|
4415
4541
|
};
|
|
@@ -4417,7 +4543,7 @@ export type GetGranularAclsResponse = {
|
|
|
4417
4543
|
[key: string]: (boolean);
|
|
4418
4544
|
};
|
|
4419
4545
|
export type AddGranularAclsData = {
|
|
4420
|
-
kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app';
|
|
4546
|
+
kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger';
|
|
4421
4547
|
path: string;
|
|
4422
4548
|
/**
|
|
4423
4549
|
* acl to add
|
|
@@ -4430,7 +4556,7 @@ export type AddGranularAclsData = {
|
|
|
4430
4556
|
};
|
|
4431
4557
|
export type AddGranularAclsResponse = string;
|
|
4432
4558
|
export type RemoveGranularAclsData = {
|
|
4433
|
-
kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app';
|
|
4559
|
+
kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger';
|
|
4434
4560
|
path: string;
|
|
4435
4561
|
/**
|
|
4436
4562
|
* acl to add
|
|
@@ -6275,6 +6401,25 @@ export type $OpenApiTs = {
|
|
|
6275
6401
|
};
|
|
6276
6402
|
};
|
|
6277
6403
|
};
|
|
6404
|
+
'/settings/test_critical_channels': {
|
|
6405
|
+
post: {
|
|
6406
|
+
req: {
|
|
6407
|
+
/**
|
|
6408
|
+
* test critical channel payload
|
|
6409
|
+
*/
|
|
6410
|
+
requestBody: Array<{
|
|
6411
|
+
email?: string;
|
|
6412
|
+
slack_channel?: string;
|
|
6413
|
+
}>;
|
|
6414
|
+
};
|
|
6415
|
+
res: {
|
|
6416
|
+
/**
|
|
6417
|
+
* status
|
|
6418
|
+
*/
|
|
6419
|
+
200: string;
|
|
6420
|
+
};
|
|
6421
|
+
};
|
|
6422
|
+
};
|
|
6278
6423
|
'/settings/test_license_key': {
|
|
6279
6424
|
post: {
|
|
6280
6425
|
req: {
|
|
@@ -8367,6 +8512,10 @@ export type $OpenApiTs = {
|
|
|
8367
8512
|
* schedule the script to execute in the number of seconds starting now
|
|
8368
8513
|
*/
|
|
8369
8514
|
scheduledInSecs?: number;
|
|
8515
|
+
/**
|
|
8516
|
+
* skip the preprocessor
|
|
8517
|
+
*/
|
|
8518
|
+
skipPreprocessor?: boolean;
|
|
8370
8519
|
/**
|
|
8371
8520
|
* Override the tag to use
|
|
8372
8521
|
*/
|
|
@@ -8623,6 +8772,10 @@ export type $OpenApiTs = {
|
|
|
8623
8772
|
* schedule the script to execute in the number of seconds starting now
|
|
8624
8773
|
*/
|
|
8625
8774
|
scheduledInSecs?: number;
|
|
8775
|
+
/**
|
|
8776
|
+
* skip the preprocessor
|
|
8777
|
+
*/
|
|
8778
|
+
skipPreprocessor?: boolean;
|
|
8626
8779
|
/**
|
|
8627
8780
|
* Override the tag to use
|
|
8628
8781
|
*/
|
|
@@ -8733,6 +8886,10 @@ export type $OpenApiTs = {
|
|
|
8733
8886
|
* schedule the script to execute in the number of seconds starting now
|
|
8734
8887
|
*/
|
|
8735
8888
|
scheduledInSecs?: number;
|
|
8889
|
+
/**
|
|
8890
|
+
* skip the preprocessor
|
|
8891
|
+
*/
|
|
8892
|
+
skipPreprocessor?: boolean;
|
|
8736
8893
|
/**
|
|
8737
8894
|
* Override the tag to use
|
|
8738
8895
|
*/
|
|
@@ -10196,6 +10353,143 @@ export type $OpenApiTs = {
|
|
|
10196
10353
|
};
|
|
10197
10354
|
};
|
|
10198
10355
|
};
|
|
10356
|
+
'/w/{workspace}/http_triggers/create': {
|
|
10357
|
+
post: {
|
|
10358
|
+
req: {
|
|
10359
|
+
/**
|
|
10360
|
+
* new http trigger
|
|
10361
|
+
*/
|
|
10362
|
+
requestBody: NewHttpTrigger;
|
|
10363
|
+
workspace: string;
|
|
10364
|
+
};
|
|
10365
|
+
res: {
|
|
10366
|
+
/**
|
|
10367
|
+
* http trigger created
|
|
10368
|
+
*/
|
|
10369
|
+
201: string;
|
|
10370
|
+
};
|
|
10371
|
+
};
|
|
10372
|
+
};
|
|
10373
|
+
'/w/{workspace}/http_triggers/update/{path}': {
|
|
10374
|
+
post: {
|
|
10375
|
+
req: {
|
|
10376
|
+
path: string;
|
|
10377
|
+
/**
|
|
10378
|
+
* updated trigger
|
|
10379
|
+
*/
|
|
10380
|
+
requestBody: EditHttpTrigger;
|
|
10381
|
+
workspace: string;
|
|
10382
|
+
};
|
|
10383
|
+
res: {
|
|
10384
|
+
/**
|
|
10385
|
+
* http trigger updated
|
|
10386
|
+
*/
|
|
10387
|
+
200: string;
|
|
10388
|
+
};
|
|
10389
|
+
};
|
|
10390
|
+
};
|
|
10391
|
+
'/w/{workspace}/http_triggers/delete/{path}': {
|
|
10392
|
+
delete: {
|
|
10393
|
+
req: {
|
|
10394
|
+
path: string;
|
|
10395
|
+
workspace: string;
|
|
10396
|
+
};
|
|
10397
|
+
res: {
|
|
10398
|
+
/**
|
|
10399
|
+
* http trigger deleted
|
|
10400
|
+
*/
|
|
10401
|
+
200: string;
|
|
10402
|
+
};
|
|
10403
|
+
};
|
|
10404
|
+
};
|
|
10405
|
+
'/w/{workspace}/http_triggers/get/{path}': {
|
|
10406
|
+
get: {
|
|
10407
|
+
req: {
|
|
10408
|
+
path: string;
|
|
10409
|
+
workspace: string;
|
|
10410
|
+
};
|
|
10411
|
+
res: {
|
|
10412
|
+
/**
|
|
10413
|
+
* http trigger deleted
|
|
10414
|
+
*/
|
|
10415
|
+
200: HttpTrigger;
|
|
10416
|
+
};
|
|
10417
|
+
};
|
|
10418
|
+
};
|
|
10419
|
+
'/w/{workspace}/http_triggers/list': {
|
|
10420
|
+
get: {
|
|
10421
|
+
req: {
|
|
10422
|
+
isFlow?: boolean;
|
|
10423
|
+
/**
|
|
10424
|
+
* which page to return (start at 1, default 1)
|
|
10425
|
+
*/
|
|
10426
|
+
page?: number;
|
|
10427
|
+
/**
|
|
10428
|
+
* filter by path
|
|
10429
|
+
*/
|
|
10430
|
+
path?: string;
|
|
10431
|
+
pathStart?: string;
|
|
10432
|
+
/**
|
|
10433
|
+
* number of items to return for a given page (default 30, max 100)
|
|
10434
|
+
*/
|
|
10435
|
+
perPage?: number;
|
|
10436
|
+
workspace: string;
|
|
10437
|
+
};
|
|
10438
|
+
res: {
|
|
10439
|
+
/**
|
|
10440
|
+
* http trigger list
|
|
10441
|
+
*/
|
|
10442
|
+
200: Array<HttpTrigger>;
|
|
10443
|
+
};
|
|
10444
|
+
};
|
|
10445
|
+
};
|
|
10446
|
+
'/w/{workspace}/http_triggers/exists/{path}': {
|
|
10447
|
+
get: {
|
|
10448
|
+
req: {
|
|
10449
|
+
path: string;
|
|
10450
|
+
workspace: string;
|
|
10451
|
+
};
|
|
10452
|
+
res: {
|
|
10453
|
+
/**
|
|
10454
|
+
* http trigger exists
|
|
10455
|
+
*/
|
|
10456
|
+
200: boolean;
|
|
10457
|
+
};
|
|
10458
|
+
};
|
|
10459
|
+
};
|
|
10460
|
+
'/w/{workspace}/http_triggers/route_exists': {
|
|
10461
|
+
post: {
|
|
10462
|
+
req: {
|
|
10463
|
+
/**
|
|
10464
|
+
* route exists request
|
|
10465
|
+
*/
|
|
10466
|
+
requestBody: {
|
|
10467
|
+
route_path: string;
|
|
10468
|
+
http_method: 'get' | 'post' | 'put' | 'delete' | 'patch';
|
|
10469
|
+
};
|
|
10470
|
+
workspace: string;
|
|
10471
|
+
};
|
|
10472
|
+
res: {
|
|
10473
|
+
/**
|
|
10474
|
+
* route exists
|
|
10475
|
+
*/
|
|
10476
|
+
200: boolean;
|
|
10477
|
+
};
|
|
10478
|
+
};
|
|
10479
|
+
};
|
|
10480
|
+
'/w/{workspace}/http_triggers/used': {
|
|
10481
|
+
get: {
|
|
10482
|
+
req: {
|
|
10483
|
+
workspace: string;
|
|
10484
|
+
};
|
|
10485
|
+
res: {
|
|
10486
|
+
/**
|
|
10487
|
+
* whether http triggers are used
|
|
10488
|
+
*/
|
|
10489
|
+
200: boolean;
|
|
10490
|
+
};
|
|
10491
|
+
};
|
|
10492
|
+
};
|
|
10199
10493
|
'/groups/list': {
|
|
10200
10494
|
get: {
|
|
10201
10495
|
res: {
|
|
@@ -10719,7 +11013,7 @@ export type $OpenApiTs = {
|
|
|
10719
11013
|
'/w/{workspace}/acls/get/{kind}/{path}': {
|
|
10720
11014
|
get: {
|
|
10721
11015
|
req: {
|
|
10722
|
-
kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app';
|
|
11016
|
+
kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger';
|
|
10723
11017
|
path: string;
|
|
10724
11018
|
workspace: string;
|
|
10725
11019
|
};
|
|
@@ -10736,7 +11030,7 @@ export type $OpenApiTs = {
|
|
|
10736
11030
|
'/w/{workspace}/acls/add/{kind}/{path}': {
|
|
10737
11031
|
post: {
|
|
10738
11032
|
req: {
|
|
10739
|
-
kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app';
|
|
11033
|
+
kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger';
|
|
10740
11034
|
path: string;
|
|
10741
11035
|
/**
|
|
10742
11036
|
* acl to add
|
|
@@ -10758,7 +11052,7 @@ export type $OpenApiTs = {
|
|
|
10758
11052
|
'/w/{workspace}/acls/remove/{kind}/{path}': {
|
|
10759
11053
|
post: {
|
|
10760
11054
|
req: {
|
|
10761
|
-
kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app';
|
|
11055
|
+
kind: 'script' | 'group_' | 'resource' | 'schedule' | 'variable' | 'flow' | 'folder' | 'app' | 'raw_app' | 'http_trigger';
|
|
10762
11056
|
path: string;
|
|
10763
11057
|
/**
|
|
10764
11058
|
* acl to add
|