Regenerate the frontend SDK for the panel nonce and unpair endpoint
This commit is contained in:
@@ -961,7 +961,7 @@ export const FlowStatePublicSchema = {
|
|||||||
properties: {
|
properties: {
|
||||||
values: {
|
values: {
|
||||||
additionalProperties: {
|
additionalProperties: {
|
||||||
'$ref': '#/components/schemas/app__flow__schemas__MessageValue'
|
'$ref': '#/components/schemas/fluksio__flow__schemas__MessageValue'
|
||||||
},
|
},
|
||||||
type: 'object',
|
type: 'object',
|
||||||
title: 'Values'
|
title: 'Values'
|
||||||
@@ -2063,6 +2063,11 @@ export const PanelDefSchema = {
|
|||||||
},
|
},
|
||||||
type: 'array',
|
type: 'array',
|
||||||
title: 'Dashboards'
|
title: 'Dashboards'
|
||||||
|
},
|
||||||
|
nonce: {
|
||||||
|
type: 'integer',
|
||||||
|
title: 'Nonce',
|
||||||
|
default: 0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
type: 'object',
|
type: 'object',
|
||||||
@@ -2471,7 +2476,7 @@ export const RunPageSchema = {
|
|||||||
properties: {
|
properties: {
|
||||||
data: {
|
data: {
|
||||||
items: {
|
items: {
|
||||||
'$ref': '#/components/schemas/app__api__routes__observability__RunRow'
|
'$ref': '#/components/schemas/fluksio__api__routes__observability__RunRow'
|
||||||
},
|
},
|
||||||
type: 'array',
|
type: 'array',
|
||||||
title: 'Data'
|
title: 'Data'
|
||||||
@@ -3220,7 +3225,7 @@ export const WorkerInfoSchema = {
|
|||||||
title: 'WorkerInfo'
|
title: 'WorkerInfo'
|
||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
export const app__api__routes__dashboards__PublishRequestSchema = {
|
export const fluksio__api__routes__dashboards__PublishRequestSchema = {
|
||||||
properties: {
|
properties: {
|
||||||
version: {
|
version: {
|
||||||
type: 'integer',
|
type: 'integer',
|
||||||
@@ -3232,7 +3237,7 @@ export const app__api__routes__dashboards__PublishRequestSchema = {
|
|||||||
title: 'PublishRequest'
|
title: 'PublishRequest'
|
||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
export const app__api__routes__dashboards__RenameRequestSchema = {
|
export const fluksio__api__routes__dashboards__RenameRequestSchema = {
|
||||||
properties: {
|
properties: {
|
||||||
name: {
|
name: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
@@ -3244,7 +3249,7 @@ export const app__api__routes__dashboards__RenameRequestSchema = {
|
|||||||
title: 'RenameRequest'
|
title: 'RenameRequest'
|
||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
export const app__api__routes__flows__PublishRequestSchema = {
|
export const fluksio__api__routes__flows__PublishRequestSchema = {
|
||||||
properties: {
|
properties: {
|
||||||
version: {
|
version: {
|
||||||
type: 'integer',
|
type: 'integer',
|
||||||
@@ -3256,7 +3261,7 @@ export const app__api__routes__flows__PublishRequestSchema = {
|
|||||||
title: 'PublishRequest'
|
title: 'PublishRequest'
|
||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
export const app__api__routes__flows__RenameRequestSchema = {
|
export const fluksio__api__routes__flows__RenameRequestSchema = {
|
||||||
properties: {
|
properties: {
|
||||||
new_name: {
|
new_name: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
@@ -3268,7 +3273,7 @@ export const app__api__routes__flows__RenameRequestSchema = {
|
|||||||
title: 'RenameRequest'
|
title: 'RenameRequest'
|
||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
export const app__api__routes__messages__MessageValueSchema = {
|
export const fluksio__api__routes__messages__MessageValueSchema = {
|
||||||
properties: {
|
properties: {
|
||||||
name: {
|
name: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
@@ -3294,7 +3299,7 @@ export const app__api__routes__messages__MessageValueSchema = {
|
|||||||
title: 'MessageValue'
|
title: 'MessageValue'
|
||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
export const app__api__routes__messages__PublishRequestSchema = {
|
export const fluksio__api__routes__messages__PublishRequestSchema = {
|
||||||
properties: {
|
properties: {
|
||||||
value: {
|
value: {
|
||||||
title: 'Value'
|
title: 'Value'
|
||||||
@@ -3325,7 +3330,7 @@ export const app__api__routes__messages__PublishRequestSchema = {
|
|||||||
title: 'PublishRequest'
|
title: 'PublishRequest'
|
||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
export const app__api__routes__observability__RunRowSchema = {
|
export const fluksio__api__routes__observability__RunRowSchema = {
|
||||||
properties: {
|
properties: {
|
||||||
id: {
|
id: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
@@ -3382,7 +3387,7 @@ export const app__api__routes__observability__RunRowSchema = {
|
|||||||
title: 'RunRow'
|
title: 'RunRow'
|
||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
export const app__api__routes__runs__RunRowSchema = {
|
export const fluksio__api__routes__runs__RunRowSchema = {
|
||||||
properties: {
|
properties: {
|
||||||
id: {
|
id: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
@@ -3466,7 +3471,7 @@ export const app__api__routes__runs__RunRowSchema = {
|
|||||||
description: 'A run without its result, which is the part that can be large.'
|
description: 'A run without its result, which is the part that can be large.'
|
||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
export const app__flow__schemas__MessageValueSchema = {
|
export const fluksio__flow__schemas__MessageValueSchema = {
|
||||||
properties: {
|
properties: {
|
||||||
value: {
|
value: {
|
||||||
title: 'Value'
|
title: 'Value'
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
import type { CancelablePromise } from './core/CancelablePromise';
|
import type { CancelablePromise } from './core/CancelablePromise';
|
||||||
import { OpenAPI } from './core/OpenAPI';
|
import { OpenAPI } from './core/OpenAPI';
|
||||||
import { request as __request } from './core/request';
|
import { request as __request } from './core/request';
|
||||||
import type { AlertsReadAlertsConfigResponse, AlertsSaveAlertsConfigData, AlertsSaveAlertsConfigResponse, AlertsTestChannelData, AlertsTestChannelResponse, ArtifactsPutArtifactData, ArtifactsPutArtifactResponse, ArtifactsGetArtifactData, ArtifactsGetArtifactResponse, CloudReadStatusResponse, CloudEnrollData, CloudEnrollResponse, CloudAddRemoteUserData, CloudAddRemoteUserResponse, CloudDisconnectResponse, DashboardsReadDashboardsResponse, DashboardsReadDashboardData, DashboardsReadDashboardResponse, DashboardsCreateDashboardData, DashboardsCreateDashboardResponse, DashboardsSaveDashboardData, DashboardsSaveDashboardResponse, DashboardsDeleteDashboardData, DashboardsDeleteDashboardResponse, DashboardsPublishDashboardData, DashboardsPublishDashboardResponse, DashboardsDiscardDashboardDraftData, DashboardsDiscardDashboardDraftResponse, DashboardsRenameDashboardData, DashboardsRenameDashboardResponse, FlowsReadFlowsResponse, FlowsReadNodeTypesResponse, FlowsReadGraphResponse, FlowsReadLibraryResponse, FlowsDeleteSharedNodeData, FlowsDeleteSharedNodeResponse, FlowsReadFlowData, FlowsReadFlowResponse, FlowsSaveFlowData, FlowsSaveFlowResponse, FlowsDeleteFlowData, FlowsDeleteFlowResponse, FlowsPublishFlowData, FlowsPublishFlowResponse, FlowsDiscardDraftData, FlowsDiscardDraftResponse, FlowsRenameFlowData, FlowsRenameFlowResponse, FlowsReadNodeSourceData, FlowsReadNodeSourceResponse, FlowsSaveNodeSourceData, FlowsSaveNodeSourceResponse, FlowsShareNodeData, FlowsShareNodeResponse, FlowsUnshareNodeData, FlowsUnshareNodeResponse, FlowsStartFlowData, FlowsStartFlowResponse, FlowsStopFlowData, FlowsStopFlowResponse, FlowsPauseFlowData, FlowsPauseFlowResponse, FlowsResumeFlowData, FlowsResumeFlowResponse, FlowsStepFlowData, FlowsStepFlowResponse, FlowsValidateFlowData, FlowsValidateFlowResponse, FlowsRunFlowData, FlowsRunFlowResponse, FlowsTriggerNodeData, FlowsTriggerNodeResponse, FlowsCancelNodeData, FlowsCancelNodeResponse, FlowsAcknowledgeNodeErrorData, FlowsAcknowledgeNodeErrorResponse, FlowsReadFlowStateData, FlowsReadFlowStateResponse, FlowsReadMessageHistoryData, FlowsReadMessageHistoryResponse, LoginLoginAccessTokenData, LoginLoginAccessTokenResponse, LoginTestTokenResponse, LoginRecoverPasswordData, LoginRecoverPasswordResponse, LoginResetPasswordData, LoginResetPasswordResponse, LoginRecoverPasswordHtmlContentData, LoginRecoverPasswordHtmlContentResponse, MessagesReadMessagesResponse, MessagesPublishMessageData, MessagesPublishMessageResponse, MessagesReadMessageHistoryData, MessagesReadMessageHistoryResponse, ModulesReadModulesResponse, ModulesApplyModulesData, ModulesApplyModulesResponse, OauthRegisterClientData, OauthRegisterClientResponse, OauthAuthorizeValidateData, OauthAuthorizeValidateResponse, OauthAuthorizeData, OauthAuthorizeResponse, OauthTokenData, OauthTokenResponse, OauthReadClientsResponse, OauthRevokeClientData, OauthRevokeClientResponse, ObservabilityReadSummaryResponse, ObservabilityReadTimeseriesData, ObservabilityReadTimeseriesResponse, ObservabilityReadFlowRollupsData, ObservabilityReadFlowRollupsResponse, ObservabilityReadRunsData, ObservabilityReadRunsResponse, ObservabilityReadEventsData, ObservabilityReadEventsResponse, ObservabilityReadDeadLettersData, ObservabilityReadDeadLettersResponse, PanelsReadPanelsResponse, PanelsSavePanelsData, PanelsSavePanelsResponse, PanelsStartPairingResponse, PanelsPollPairingData, PanelsPollPairingResponse, PanelsPendingDeviceData, PanelsPendingDeviceResponse, PanelsApprovePairingData, PanelsApprovePairingResponse, PanelsReadPanelData, PanelsReadPanelResponse, PrivateCreateUserData, PrivateCreateUserResponse, RunsCreateRunData, RunsCreateRunResponse, RunsCreateSweepData, RunsCreateSweepResponse, RunsReadRunsData, RunsReadRunsResponse, RunsReadRunData, RunsReadRunResponse, RunsCancelRunData, RunsCancelRunResponse, RunsReadMetricsData, RunsReadMetricsResponse, RunsCompareMetricData, RunsCompareMetricResponse, SecretsReadSecretsResponse, SecretsSaveSecretData, SecretsSaveSecretResponse, SecretsDeleteSecretData, SecretsDeleteSecretResponse, UsersReadUsersData, UsersReadUsersResponse, UsersCreateUserData, UsersCreateUserResponse, UsersReadUserMeResponse, UsersDeleteUserMeResponse, UsersUpdateUserMeData, UsersUpdateUserMeResponse, UsersUpdatePasswordMeData, UsersUpdatePasswordMeResponse, UsersRegisterUserData, UsersRegisterUserResponse, UsersReadUserByIdData, UsersReadUserByIdResponse, UsersUpdateUserData, UsersUpdateUserResponse, UsersDeleteUserData, UsersDeleteUserResponse, UtilsTestEmailData, UtilsTestEmailResponse, UtilsHealthCheckResponse, UtilsHealthResponse, WorkersReadWorkersResponse, WorkersIssueTokenData, WorkersIssueTokenResponse, WorkersReadRuntimeResponse } from './types.gen';
|
import type { AlertsReadAlertsConfigResponse, AlertsSaveAlertsConfigData, AlertsSaveAlertsConfigResponse, AlertsTestChannelData, AlertsTestChannelResponse, ArtifactsPutArtifactData, ArtifactsPutArtifactResponse, ArtifactsGetArtifactData, ArtifactsGetArtifactResponse, CloudReadStatusResponse, CloudEnrollData, CloudEnrollResponse, CloudAddRemoteUserData, CloudAddRemoteUserResponse, CloudDisconnectResponse, DashboardsReadDashboardsResponse, DashboardsReadDashboardData, DashboardsReadDashboardResponse, DashboardsCreateDashboardData, DashboardsCreateDashboardResponse, DashboardsSaveDashboardData, DashboardsSaveDashboardResponse, DashboardsDeleteDashboardData, DashboardsDeleteDashboardResponse, DashboardsPublishDashboardData, DashboardsPublishDashboardResponse, DashboardsDiscardDashboardDraftData, DashboardsDiscardDashboardDraftResponse, DashboardsRenameDashboardData, DashboardsRenameDashboardResponse, FlowsReadFlowsResponse, FlowsReadNodeTypesResponse, FlowsReadGraphResponse, FlowsReadLibraryResponse, FlowsDeleteSharedNodeData, FlowsDeleteSharedNodeResponse, FlowsReadFlowData, FlowsReadFlowResponse, FlowsSaveFlowData, FlowsSaveFlowResponse, FlowsDeleteFlowData, FlowsDeleteFlowResponse, FlowsPublishFlowData, FlowsPublishFlowResponse, FlowsDiscardDraftData, FlowsDiscardDraftResponse, FlowsRenameFlowData, FlowsRenameFlowResponse, FlowsReadNodeSourceData, FlowsReadNodeSourceResponse, FlowsSaveNodeSourceData, FlowsSaveNodeSourceResponse, FlowsShareNodeData, FlowsShareNodeResponse, FlowsUnshareNodeData, FlowsUnshareNodeResponse, FlowsStartFlowData, FlowsStartFlowResponse, FlowsStopFlowData, FlowsStopFlowResponse, FlowsPauseFlowData, FlowsPauseFlowResponse, FlowsResumeFlowData, FlowsResumeFlowResponse, FlowsStepFlowData, FlowsStepFlowResponse, FlowsValidateFlowData, FlowsValidateFlowResponse, FlowsRunFlowData, FlowsRunFlowResponse, FlowsTriggerNodeData, FlowsTriggerNodeResponse, FlowsCancelNodeData, FlowsCancelNodeResponse, FlowsAcknowledgeNodeErrorData, FlowsAcknowledgeNodeErrorResponse, FlowsReadFlowStateData, FlowsReadFlowStateResponse, FlowsReadMessageHistoryData, FlowsReadMessageHistoryResponse, LoginLoginAccessTokenData, LoginLoginAccessTokenResponse, LoginTestTokenResponse, LoginRecoverPasswordData, LoginRecoverPasswordResponse, LoginResetPasswordData, LoginResetPasswordResponse, LoginRecoverPasswordHtmlContentData, LoginRecoverPasswordHtmlContentResponse, MessagesReadMessagesResponse, MessagesPublishMessageData, MessagesPublishMessageResponse, MessagesReadMessageHistoryData, MessagesReadMessageHistoryResponse, ModulesReadModulesResponse, ModulesApplyModulesData, ModulesApplyModulesResponse, OauthRegisterClientData, OauthRegisterClientResponse, OauthAuthorizeValidateData, OauthAuthorizeValidateResponse, OauthAuthorizeData, OauthAuthorizeResponse, OauthTokenData, OauthTokenResponse, OauthReadClientsResponse, OauthRevokeClientData, OauthRevokeClientResponse, ObservabilityReadSummaryResponse, ObservabilityReadTimeseriesData, ObservabilityReadTimeseriesResponse, ObservabilityReadFlowRollupsData, ObservabilityReadFlowRollupsResponse, ObservabilityReadRunsData, ObservabilityReadRunsResponse, ObservabilityReadEventsData, ObservabilityReadEventsResponse, ObservabilityReadDeadLettersData, ObservabilityReadDeadLettersResponse, PanelsReadPanelsResponse, PanelsSavePanelsData, PanelsSavePanelsResponse, PanelsStartPairingResponse, PanelsPollPairingData, PanelsPollPairingResponse, PanelsPendingDeviceData, PanelsPendingDeviceResponse, PanelsApprovePairingData, PanelsApprovePairingResponse, PanelsUnpairPanelData, PanelsUnpairPanelResponse, PanelsReadPanelData, PanelsReadPanelResponse, PrivateCreateUserData, PrivateCreateUserResponse, RunsCreateRunData, RunsCreateRunResponse, RunsCreateSweepData, RunsCreateSweepResponse, RunsReadRunsData, RunsReadRunsResponse, RunsReadRunData, RunsReadRunResponse, RunsCancelRunData, RunsCancelRunResponse, RunsReadMetricsData, RunsReadMetricsResponse, RunsCompareMetricData, RunsCompareMetricResponse, SecretsReadSecretsResponse, SecretsSaveSecretData, SecretsSaveSecretResponse, SecretsDeleteSecretData, SecretsDeleteSecretResponse, UsersReadUsersData, UsersReadUsersResponse, UsersCreateUserData, UsersCreateUserResponse, UsersReadUserMeResponse, UsersDeleteUserMeResponse, UsersUpdateUserMeData, UsersUpdateUserMeResponse, UsersUpdatePasswordMeData, UsersUpdatePasswordMeResponse, UsersRegisterUserData, UsersRegisterUserResponse, UsersReadUserByIdData, UsersReadUserByIdResponse, UsersUpdateUserData, UsersUpdateUserResponse, UsersDeleteUserData, UsersDeleteUserResponse, UtilsTestEmailData, UtilsTestEmailResponse, UtilsHealthCheckResponse, UtilsHealthResponse, WorkersReadWorkersResponse, WorkersIssueTokenData, WorkersIssueTokenResponse, WorkersReadRuntimeResponse } from './types.gen';
|
||||||
|
|
||||||
export class AlertsService {
|
export class AlertsService {
|
||||||
/**
|
/**
|
||||||
@@ -132,6 +132,9 @@ export class CloudService {
|
|||||||
* installation, so the owner's portal sessions arrive here as them. Widening
|
* installation, so the owner's portal sessions arrive here as them. Widening
|
||||||
* that to anyone else is a local decision made one person at a time, below —
|
* that to anyone else is a local decision made one person at a time, below —
|
||||||
* never something the portal can do from its side.
|
* never something the portal can do from its side.
|
||||||
|
*
|
||||||
|
* The same work as `fluksio enroll` on the command line, which is how a
|
||||||
|
* machine with no browser pointed at it does this.
|
||||||
* @param data The data for the request.
|
* @param data The data for the request.
|
||||||
* @param data.requestBody
|
* @param data.requestBody
|
||||||
* @returns Message Successful Response
|
* @returns Message Successful Response
|
||||||
@@ -1097,7 +1100,7 @@ export class MessagesService {
|
|||||||
* @param data The data for the request.
|
* @param data The data for the request.
|
||||||
* @param data.name
|
* @param data.name
|
||||||
* @param data.requestBody
|
* @param data.requestBody
|
||||||
* @returns app__api__routes__messages__MessageValue Successful Response
|
* @returns fluksio__api__routes__messages__MessageValue Successful Response
|
||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static publishMessage(data: MessagesPublishMessageData): CancelablePromise<MessagesPublishMessageResponse> {
|
public static publishMessage(data: MessagesPublishMessageData): CancelablePromise<MessagesPublishMessageResponse> {
|
||||||
@@ -1469,7 +1472,8 @@ export class PanelsService {
|
|||||||
* Replace the panels. Takes effect on the devices' next read.
|
* Replace the panels. Takes effect on the devices' next read.
|
||||||
*
|
*
|
||||||
* A panel that disappears here takes its credential with it, so this is also
|
* A panel that disappears here takes its credential with it, so this is also
|
||||||
* how a device is unpaired.
|
* how a device is unpaired along with its assignment. Re-pairing one screen
|
||||||
|
* and keeping the assignment is ``/{panel_id}/unpair`` below.
|
||||||
* @param data The data for the request.
|
* @param data The data for the request.
|
||||||
* @param data.requestBody
|
* @param data.requestBody
|
||||||
* @returns PanelsPublic Successful Response
|
* @returns PanelsPublic Successful Response
|
||||||
@@ -1492,10 +1496,10 @@ export class PanelsService {
|
|||||||
* A device asks to be adopted. Unauthenticated, by necessity.
|
* A device asks to be adopted. Unauthenticated, by necessity.
|
||||||
*
|
*
|
||||||
* All this hands out is a code that means nothing until somebody with an
|
* All this hands out is a code that means nothing until somebody with an
|
||||||
* account approves it, so the worst an unwelcome caller achieves is a line in
|
* account approves it, so the worst an unwelcome caller achieves is an entry
|
||||||
* a dictionary that expires ten minutes later. Reachable from the internet
|
* that expires ten minutes later. Reachable from the internet when this
|
||||||
* when this installation is enrolled with a portal, which is what the cap and
|
* installation is enrolled with a portal, which is what the cap and the
|
||||||
* the portal's own per-address limits are between.
|
* portal's own per-address limits are between.
|
||||||
* @returns PairStarted Successful Response
|
* @returns PairStarted Successful Response
|
||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
@@ -1589,6 +1593,35 @@ export class PanelsService {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Unpair Panel
|
||||||
|
* Stop honouring this panel's credential, and keep the panel.
|
||||||
|
*
|
||||||
|
* Bumping the nonce refuses the screen hanging there on its next request, so
|
||||||
|
* it goes back to showing a pairing code — while the panel, the dashboards it
|
||||||
|
* was assigned and their arrangement stay exactly as they were. Deleting the
|
||||||
|
* panel is still what throws all three away together.
|
||||||
|
*
|
||||||
|
* A credential the portal minted for a remote screen carries no nonce, so
|
||||||
|
* this does not reach it; that one is revoked at the hub.
|
||||||
|
* @param data The data for the request.
|
||||||
|
* @param data.panelId
|
||||||
|
* @returns Message Successful Response
|
||||||
|
* @throws ApiError
|
||||||
|
*/
|
||||||
|
public static unpairPanel(data: PanelsUnpairPanelData): CancelablePromise<PanelsUnpairPanelResponse> {
|
||||||
|
return __request(OpenAPI, {
|
||||||
|
method: 'POST',
|
||||||
|
url: '/api/v1/panels/{panel_id}/unpair',
|
||||||
|
path: {
|
||||||
|
panel_id: data.panelId
|
||||||
|
},
|
||||||
|
errors: {
|
||||||
|
422: 'Validation Error'
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Read Panel
|
* Read Panel
|
||||||
* One panel — read by a person, or by the device holding its credential.
|
* One panel — read by a person, or by the device holding its credential.
|
||||||
@@ -1643,7 +1676,7 @@ export class RunsService {
|
|||||||
* @param data The data for the request.
|
* @param data The data for the request.
|
||||||
* @param data.name
|
* @param data.name
|
||||||
* @param data.requestBody
|
* @param data.requestBody
|
||||||
* @returns app__api__routes__runs__RunRow Successful Response
|
* @returns fluksio__api__routes__runs__RunRow Successful Response
|
||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static createRun(data: RunsCreateRunData): CancelablePromise<RunsCreateRunResponse> {
|
public static createRun(data: RunsCreateRunData): CancelablePromise<RunsCreateRunResponse> {
|
||||||
@@ -1671,7 +1704,7 @@ export class RunsService {
|
|||||||
* @param data The data for the request.
|
* @param data The data for the request.
|
||||||
* @param data.name
|
* @param data.name
|
||||||
* @param data.requestBody
|
* @param data.requestBody
|
||||||
* @returns app__api__routes__runs__RunRow Successful Response
|
* @returns fluksio__api__routes__runs__RunRow Successful Response
|
||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static createSweep(data: RunsCreateSweepData): CancelablePromise<RunsCreateSweepResponse> {
|
public static createSweep(data: RunsCreateSweepData): CancelablePromise<RunsCreateSweepResponse> {
|
||||||
@@ -1698,7 +1731,7 @@ export class RunsService {
|
|||||||
* @param data.group
|
* @param data.group
|
||||||
* @param data.digest
|
* @param data.digest
|
||||||
* @param data.limit
|
* @param data.limit
|
||||||
* @returns app__api__routes__runs__RunRow Successful Response
|
* @returns fluksio__api__routes__runs__RunRow Successful Response
|
||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static readRuns(data: RunsReadRunsData = {}): CancelablePromise<RunsReadRunsResponse> {
|
public static readRuns(data: RunsReadRunsData = {}): CancelablePromise<RunsReadRunsResponse> {
|
||||||
@@ -1744,7 +1777,7 @@ export class RunsService {
|
|||||||
* Stop a run. One already past its last node is left as it finished.
|
* Stop a run. One already past its last node is left as it finished.
|
||||||
* @param data The data for the request.
|
* @param data The data for the request.
|
||||||
* @param data.runId
|
* @param data.runId
|
||||||
* @returns app__api__routes__runs__RunRow Successful Response
|
* @returns fluksio__api__routes__runs__RunRow Successful Response
|
||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static cancelRun(data: RunsCancelRunData): CancelablePromise<RunsCancelRunResponse> {
|
public static cancelRun(data: RunsCancelRunData): CancelablePromise<RunsCancelRunResponse> {
|
||||||
@@ -2169,7 +2202,7 @@ export class WorkersService {
|
|||||||
* The worker's own code, so a fresh host installs by fetching one file.
|
* The worker's own code, so a fresh host installs by fetching one file.
|
||||||
*
|
*
|
||||||
* It is the same module the engine's local workers run — deliberately
|
* It is the same module the engine's local workers run — deliberately
|
||||||
* standard library only, and with nothing of the app importable in it.
|
* standard library only, and with nothing of the engine importable in it.
|
||||||
* @returns string Successful Response
|
* @returns string Successful Response
|
||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -9,80 +9,6 @@ export type AlertsConfig = {
|
|||||||
rules?: Array<Rule>;
|
rules?: Array<Rule>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type app__api__routes__dashboards__PublishRequest = {
|
|
||||||
version: number;
|
|
||||||
};
|
|
||||||
|
|
||||||
export type app__api__routes__dashboards__RenameRequest = {
|
|
||||||
name: string;
|
|
||||||
};
|
|
||||||
|
|
||||||
export type app__api__routes__flows__PublishRequest = {
|
|
||||||
version: number;
|
|
||||||
};
|
|
||||||
|
|
||||||
export type app__api__routes__flows__RenameRequest = {
|
|
||||||
new_name: string;
|
|
||||||
};
|
|
||||||
|
|
||||||
export type app__api__routes__messages__MessageValue = {
|
|
||||||
name: string;
|
|
||||||
value: unknown;
|
|
||||||
ts?: (number | null);
|
|
||||||
};
|
|
||||||
|
|
||||||
export type app__api__routes__messages__PublishRequest = {
|
|
||||||
value: unknown;
|
|
||||||
source_kind?: string;
|
|
||||||
source_id?: string;
|
|
||||||
source_label?: string;
|
|
||||||
source_detail?: string;
|
|
||||||
};
|
|
||||||
|
|
||||||
export type app__api__routes__observability__RunRow = {
|
|
||||||
id: string;
|
|
||||||
flow: string;
|
|
||||||
source: string;
|
|
||||||
status: string;
|
|
||||||
started_at: string;
|
|
||||||
finished_at?: (string | null);
|
|
||||||
nodes: number;
|
|
||||||
errors: number;
|
|
||||||
duration_ms: number;
|
|
||||||
deliveries: number;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* A run without its result, which is the part that can be large.
|
|
||||||
*/
|
|
||||||
export type app__api__routes__runs__RunRow = {
|
|
||||||
id: string;
|
|
||||||
flow: string;
|
|
||||||
status: string;
|
|
||||||
status_reason: string;
|
|
||||||
cause: string;
|
|
||||||
params: {
|
|
||||||
[key: string]: unknown;
|
|
||||||
};
|
|
||||||
params_digest: string;
|
|
||||||
seed: (number | null);
|
|
||||||
group_id: (string | null);
|
|
||||||
labels: Array<(string)>;
|
|
||||||
created_at: unknown;
|
|
||||||
started_at?: unknown;
|
|
||||||
finished_at?: unknown;
|
|
||||||
duration_ms: number;
|
|
||||||
actor: string;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The last payload seen on a message.
|
|
||||||
*/
|
|
||||||
export type app__flow__schemas__MessageValue = {
|
|
||||||
value?: unknown;
|
|
||||||
ts?: (number | null);
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A pip manifest, one requirement per line.
|
* A pip manifest, one requirement per line.
|
||||||
*/
|
*/
|
||||||
@@ -380,7 +306,7 @@ export type FlowsPublic = {
|
|||||||
|
|
||||||
export type FlowStatePublic = {
|
export type FlowStatePublic = {
|
||||||
values?: {
|
values?: {
|
||||||
[key: string]: app__flow__schemas__MessageValue;
|
[key: string]: fluksio__flow__schemas__MessageValue;
|
||||||
};
|
};
|
||||||
nodes?: Array<NodeStatusPublic>;
|
nodes?: Array<NodeStatusPublic>;
|
||||||
};
|
};
|
||||||
@@ -397,6 +323,80 @@ export type FlowSummary = {
|
|||||||
version?: number;
|
version?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type fluksio__api__routes__dashboards__PublishRequest = {
|
||||||
|
version: number;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type fluksio__api__routes__dashboards__RenameRequest = {
|
||||||
|
name: string;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type fluksio__api__routes__flows__PublishRequest = {
|
||||||
|
version: number;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type fluksio__api__routes__flows__RenameRequest = {
|
||||||
|
new_name: string;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type fluksio__api__routes__messages__MessageValue = {
|
||||||
|
name: string;
|
||||||
|
value: unknown;
|
||||||
|
ts?: (number | null);
|
||||||
|
};
|
||||||
|
|
||||||
|
export type fluksio__api__routes__messages__PublishRequest = {
|
||||||
|
value: unknown;
|
||||||
|
source_kind?: string;
|
||||||
|
source_id?: string;
|
||||||
|
source_label?: string;
|
||||||
|
source_detail?: string;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type fluksio__api__routes__observability__RunRow = {
|
||||||
|
id: string;
|
||||||
|
flow: string;
|
||||||
|
source: string;
|
||||||
|
status: string;
|
||||||
|
started_at: string;
|
||||||
|
finished_at?: (string | null);
|
||||||
|
nodes: number;
|
||||||
|
errors: number;
|
||||||
|
duration_ms: number;
|
||||||
|
deliveries: number;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A run without its result, which is the part that can be large.
|
||||||
|
*/
|
||||||
|
export type fluksio__api__routes__runs__RunRow = {
|
||||||
|
id: string;
|
||||||
|
flow: string;
|
||||||
|
status: string;
|
||||||
|
status_reason: string;
|
||||||
|
cause: string;
|
||||||
|
params: {
|
||||||
|
[key: string]: unknown;
|
||||||
|
};
|
||||||
|
params_digest: string;
|
||||||
|
seed: (number | null);
|
||||||
|
group_id: (string | null);
|
||||||
|
labels: Array<(string)>;
|
||||||
|
created_at: unknown;
|
||||||
|
started_at?: unknown;
|
||||||
|
finished_at?: unknown;
|
||||||
|
duration_ms: number;
|
||||||
|
actor: string;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The last payload seen on a message.
|
||||||
|
*/
|
||||||
|
export type fluksio__flow__schemas__MessageValue = {
|
||||||
|
value?: unknown;
|
||||||
|
ts?: (number | null);
|
||||||
|
};
|
||||||
|
|
||||||
export type HealthSummary = {
|
export type HealthSummary = {
|
||||||
status: string;
|
status: string;
|
||||||
problems: Array<(string)>;
|
problems: Array<(string)>;
|
||||||
@@ -740,6 +740,7 @@ export type PanelDef = {
|
|||||||
id: string;
|
id: string;
|
||||||
title?: string;
|
title?: string;
|
||||||
dashboards?: Array<(string)>;
|
dashboards?: Array<(string)>;
|
||||||
|
nonce?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -866,7 +867,7 @@ export type RunNodeRow = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type RunPage = {
|
export type RunPage = {
|
||||||
data: Array<app__api__routes__observability__RunRow>;
|
data: Array<fluksio__api__routes__observability__RunRow>;
|
||||||
count: number;
|
count: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1141,7 +1142,7 @@ export type DashboardsDeleteDashboardResponse = (Message);
|
|||||||
|
|
||||||
export type DashboardsPublishDashboardData = {
|
export type DashboardsPublishDashboardData = {
|
||||||
name: string;
|
name: string;
|
||||||
requestBody: app__api__routes__dashboards__PublishRequest;
|
requestBody: fluksio__api__routes__dashboards__PublishRequest;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type DashboardsPublishDashboardResponse = (DashboardDef_Output);
|
export type DashboardsPublishDashboardResponse = (DashboardDef_Output);
|
||||||
@@ -1154,7 +1155,7 @@ export type DashboardsDiscardDashboardDraftResponse = (DashboardDef_Output);
|
|||||||
|
|
||||||
export type DashboardsRenameDashboardData = {
|
export type DashboardsRenameDashboardData = {
|
||||||
name: string;
|
name: string;
|
||||||
requestBody: app__api__routes__dashboards__RenameRequest;
|
requestBody: fluksio__api__routes__dashboards__RenameRequest;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type DashboardsRenameDashboardResponse = (DashboardDef_Output);
|
export type DashboardsRenameDashboardResponse = (DashboardDef_Output);
|
||||||
@@ -1194,7 +1195,7 @@ export type FlowsDeleteFlowResponse = (Message);
|
|||||||
|
|
||||||
export type FlowsPublishFlowData = {
|
export type FlowsPublishFlowData = {
|
||||||
name: string;
|
name: string;
|
||||||
requestBody: app__api__routes__flows__PublishRequest;
|
requestBody: fluksio__api__routes__flows__PublishRequest;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type FlowsPublishFlowResponse = (FlowDetail);
|
export type FlowsPublishFlowResponse = (FlowDetail);
|
||||||
@@ -1207,7 +1208,7 @@ export type FlowsDiscardDraftResponse = (FlowDetail);
|
|||||||
|
|
||||||
export type FlowsRenameFlowData = {
|
export type FlowsRenameFlowData = {
|
||||||
name: string;
|
name: string;
|
||||||
requestBody: app__api__routes__flows__RenameRequest;
|
requestBody: fluksio__api__routes__flows__RenameRequest;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type FlowsRenameFlowResponse = (FlowDetail);
|
export type FlowsRenameFlowResponse = (FlowDetail);
|
||||||
@@ -1350,10 +1351,10 @@ export type MessagesReadMessagesResponse = (MessagesPublic);
|
|||||||
|
|
||||||
export type MessagesPublishMessageData = {
|
export type MessagesPublishMessageData = {
|
||||||
name: string;
|
name: string;
|
||||||
requestBody: app__api__routes__messages__PublishRequest;
|
requestBody: fluksio__api__routes__messages__PublishRequest;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type MessagesPublishMessageResponse = (app__api__routes__messages__MessageValue);
|
export type MessagesPublishMessageResponse = (fluksio__api__routes__messages__MessageValue);
|
||||||
|
|
||||||
export type MessagesReadMessageHistoryData = {
|
export type MessagesReadMessageHistoryData = {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -1475,6 +1476,12 @@ export type PanelsApprovePairingData = {
|
|||||||
|
|
||||||
export type PanelsApprovePairingResponse = (Message);
|
export type PanelsApprovePairingResponse = (Message);
|
||||||
|
|
||||||
|
export type PanelsUnpairPanelData = {
|
||||||
|
panelId: string;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type PanelsUnpairPanelResponse = (Message);
|
||||||
|
|
||||||
export type PanelsReadPanelData = {
|
export type PanelsReadPanelData = {
|
||||||
panelId: string;
|
panelId: string;
|
||||||
};
|
};
|
||||||
@@ -1492,14 +1499,14 @@ export type RunsCreateRunData = {
|
|||||||
requestBody: RunCreate;
|
requestBody: RunCreate;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type RunsCreateRunResponse = (app__api__routes__runs__RunRow);
|
export type RunsCreateRunResponse = (fluksio__api__routes__runs__RunRow);
|
||||||
|
|
||||||
export type RunsCreateSweepData = {
|
export type RunsCreateSweepData = {
|
||||||
name: string;
|
name: string;
|
||||||
requestBody: SweepCreate;
|
requestBody: SweepCreate;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type RunsCreateSweepResponse = (Array<app__api__routes__runs__RunRow>);
|
export type RunsCreateSweepResponse = (Array<fluksio__api__routes__runs__RunRow>);
|
||||||
|
|
||||||
export type RunsReadRunsData = {
|
export type RunsReadRunsData = {
|
||||||
digest?: (string | null);
|
digest?: (string | null);
|
||||||
@@ -1509,7 +1516,7 @@ export type RunsReadRunsData = {
|
|||||||
status?: (string | null);
|
status?: (string | null);
|
||||||
};
|
};
|
||||||
|
|
||||||
export type RunsReadRunsResponse = (Array<app__api__routes__runs__RunRow>);
|
export type RunsReadRunsResponse = (Array<fluksio__api__routes__runs__RunRow>);
|
||||||
|
|
||||||
export type RunsReadRunData = {
|
export type RunsReadRunData = {
|
||||||
runId: string;
|
runId: string;
|
||||||
@@ -1521,7 +1528,7 @@ export type RunsCancelRunData = {
|
|||||||
runId: string;
|
runId: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type RunsCancelRunResponse = (app__api__routes__runs__RunRow);
|
export type RunsCancelRunResponse = (fluksio__api__routes__runs__RunRow);
|
||||||
|
|
||||||
export type RunsReadMetricsData = {
|
export type RunsReadMetricsData = {
|
||||||
name: string;
|
name: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user