Regenerate the frontend SDK for the panel nonce and unpair endpoint
This commit is contained in:
@@ -961,7 +961,7 @@ export const FlowStatePublicSchema = {
|
||||
properties: {
|
||||
values: {
|
||||
additionalProperties: {
|
||||
'$ref': '#/components/schemas/app__flow__schemas__MessageValue'
|
||||
'$ref': '#/components/schemas/fluksio__flow__schemas__MessageValue'
|
||||
},
|
||||
type: 'object',
|
||||
title: 'Values'
|
||||
@@ -2063,6 +2063,11 @@ export const PanelDefSchema = {
|
||||
},
|
||||
type: 'array',
|
||||
title: 'Dashboards'
|
||||
},
|
||||
nonce: {
|
||||
type: 'integer',
|
||||
title: 'Nonce',
|
||||
default: 0
|
||||
}
|
||||
},
|
||||
type: 'object',
|
||||
@@ -2471,7 +2476,7 @@ export const RunPageSchema = {
|
||||
properties: {
|
||||
data: {
|
||||
items: {
|
||||
'$ref': '#/components/schemas/app__api__routes__observability__RunRow'
|
||||
'$ref': '#/components/schemas/fluksio__api__routes__observability__RunRow'
|
||||
},
|
||||
type: 'array',
|
||||
title: 'Data'
|
||||
@@ -3220,7 +3225,7 @@ export const WorkerInfoSchema = {
|
||||
title: 'WorkerInfo'
|
||||
} as const;
|
||||
|
||||
export const app__api__routes__dashboards__PublishRequestSchema = {
|
||||
export const fluksio__api__routes__dashboards__PublishRequestSchema = {
|
||||
properties: {
|
||||
version: {
|
||||
type: 'integer',
|
||||
@@ -3232,7 +3237,7 @@ export const app__api__routes__dashboards__PublishRequestSchema = {
|
||||
title: 'PublishRequest'
|
||||
} as const;
|
||||
|
||||
export const app__api__routes__dashboards__RenameRequestSchema = {
|
||||
export const fluksio__api__routes__dashboards__RenameRequestSchema = {
|
||||
properties: {
|
||||
name: {
|
||||
type: 'string',
|
||||
@@ -3244,7 +3249,7 @@ export const app__api__routes__dashboards__RenameRequestSchema = {
|
||||
title: 'RenameRequest'
|
||||
} as const;
|
||||
|
||||
export const app__api__routes__flows__PublishRequestSchema = {
|
||||
export const fluksio__api__routes__flows__PublishRequestSchema = {
|
||||
properties: {
|
||||
version: {
|
||||
type: 'integer',
|
||||
@@ -3256,7 +3261,7 @@ export const app__api__routes__flows__PublishRequestSchema = {
|
||||
title: 'PublishRequest'
|
||||
} as const;
|
||||
|
||||
export const app__api__routes__flows__RenameRequestSchema = {
|
||||
export const fluksio__api__routes__flows__RenameRequestSchema = {
|
||||
properties: {
|
||||
new_name: {
|
||||
type: 'string',
|
||||
@@ -3268,7 +3273,7 @@ export const app__api__routes__flows__RenameRequestSchema = {
|
||||
title: 'RenameRequest'
|
||||
} as const;
|
||||
|
||||
export const app__api__routes__messages__MessageValueSchema = {
|
||||
export const fluksio__api__routes__messages__MessageValueSchema = {
|
||||
properties: {
|
||||
name: {
|
||||
type: 'string',
|
||||
@@ -3294,7 +3299,7 @@ export const app__api__routes__messages__MessageValueSchema = {
|
||||
title: 'MessageValue'
|
||||
} as const;
|
||||
|
||||
export const app__api__routes__messages__PublishRequestSchema = {
|
||||
export const fluksio__api__routes__messages__PublishRequestSchema = {
|
||||
properties: {
|
||||
value: {
|
||||
title: 'Value'
|
||||
@@ -3325,7 +3330,7 @@ export const app__api__routes__messages__PublishRequestSchema = {
|
||||
title: 'PublishRequest'
|
||||
} as const;
|
||||
|
||||
export const app__api__routes__observability__RunRowSchema = {
|
||||
export const fluksio__api__routes__observability__RunRowSchema = {
|
||||
properties: {
|
||||
id: {
|
||||
type: 'string',
|
||||
@@ -3382,7 +3387,7 @@ export const app__api__routes__observability__RunRowSchema = {
|
||||
title: 'RunRow'
|
||||
} as const;
|
||||
|
||||
export const app__api__routes__runs__RunRowSchema = {
|
||||
export const fluksio__api__routes__runs__RunRowSchema = {
|
||||
properties: {
|
||||
id: {
|
||||
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.'
|
||||
} as const;
|
||||
|
||||
export const app__flow__schemas__MessageValueSchema = {
|
||||
export const fluksio__flow__schemas__MessageValueSchema = {
|
||||
properties: {
|
||||
value: {
|
||||
title: 'Value'
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
import type { CancelablePromise } from './core/CancelablePromise';
|
||||
import { OpenAPI } from './core/OpenAPI';
|
||||
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 {
|
||||
/**
|
||||
@@ -132,6 +132,9 @@ export class CloudService {
|
||||
* 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 —
|
||||
* 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.requestBody
|
||||
* @returns Message Successful Response
|
||||
@@ -1097,7 +1100,7 @@ export class MessagesService {
|
||||
* @param data The data for the request.
|
||||
* @param data.name
|
||||
* @param data.requestBody
|
||||
* @returns app__api__routes__messages__MessageValue Successful Response
|
||||
* @returns fluksio__api__routes__messages__MessageValue Successful Response
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static publishMessage(data: MessagesPublishMessageData): CancelablePromise<MessagesPublishMessageResponse> {
|
||||
@@ -1469,7 +1472,8 @@ export class PanelsService {
|
||||
* Replace the panels. Takes effect on the devices' next read.
|
||||
*
|
||||
* 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.requestBody
|
||||
* @returns PanelsPublic Successful Response
|
||||
@@ -1492,10 +1496,10 @@ export class PanelsService {
|
||||
* A device asks to be adopted. Unauthenticated, by necessity.
|
||||
*
|
||||
* 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
|
||||
* a dictionary that expires ten minutes later. Reachable from the internet
|
||||
* when this installation is enrolled with a portal, which is what the cap and
|
||||
* the portal's own per-address limits are between.
|
||||
* account approves it, so the worst an unwelcome caller achieves is an entry
|
||||
* that expires ten minutes later. Reachable from the internet when this
|
||||
* installation is enrolled with a portal, which is what the cap and the
|
||||
* portal's own per-address limits are between.
|
||||
* @returns PairStarted Successful Response
|
||||
* @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
|
||||
* 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.name
|
||||
* @param data.requestBody
|
||||
* @returns app__api__routes__runs__RunRow Successful Response
|
||||
* @returns fluksio__api__routes__runs__RunRow Successful Response
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static createRun(data: RunsCreateRunData): CancelablePromise<RunsCreateRunResponse> {
|
||||
@@ -1671,7 +1704,7 @@ export class RunsService {
|
||||
* @param data The data for the request.
|
||||
* @param data.name
|
||||
* @param data.requestBody
|
||||
* @returns app__api__routes__runs__RunRow Successful Response
|
||||
* @returns fluksio__api__routes__runs__RunRow Successful Response
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static createSweep(data: RunsCreateSweepData): CancelablePromise<RunsCreateSweepResponse> {
|
||||
@@ -1698,7 +1731,7 @@ export class RunsService {
|
||||
* @param data.group
|
||||
* @param data.digest
|
||||
* @param data.limit
|
||||
* @returns app__api__routes__runs__RunRow Successful Response
|
||||
* @returns fluksio__api__routes__runs__RunRow Successful Response
|
||||
* @throws ApiError
|
||||
*/
|
||||
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.
|
||||
* @param data The data for the request.
|
||||
* @param data.runId
|
||||
* @returns app__api__routes__runs__RunRow Successful Response
|
||||
* @returns fluksio__api__routes__runs__RunRow Successful Response
|
||||
* @throws ApiError
|
||||
*/
|
||||
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.
|
||||
*
|
||||
* 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
|
||||
* @throws ApiError
|
||||
*/
|
||||
|
||||
@@ -9,80 +9,6 @@ export type AlertsConfig = {
|
||||
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.
|
||||
*/
|
||||
@@ -380,7 +306,7 @@ export type FlowsPublic = {
|
||||
|
||||
export type FlowStatePublic = {
|
||||
values?: {
|
||||
[key: string]: app__flow__schemas__MessageValue;
|
||||
[key: string]: fluksio__flow__schemas__MessageValue;
|
||||
};
|
||||
nodes?: Array<NodeStatusPublic>;
|
||||
};
|
||||
@@ -397,6 +323,80 @@ export type FlowSummary = {
|
||||
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 = {
|
||||
status: string;
|
||||
problems: Array<(string)>;
|
||||
@@ -740,6 +740,7 @@ export type PanelDef = {
|
||||
id: string;
|
||||
title?: string;
|
||||
dashboards?: Array<(string)>;
|
||||
nonce?: number;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -866,7 +867,7 @@ export type RunNodeRow = {
|
||||
};
|
||||
|
||||
export type RunPage = {
|
||||
data: Array<app__api__routes__observability__RunRow>;
|
||||
data: Array<fluksio__api__routes__observability__RunRow>;
|
||||
count: number;
|
||||
};
|
||||
|
||||
@@ -1141,7 +1142,7 @@ export type DashboardsDeleteDashboardResponse = (Message);
|
||||
|
||||
export type DashboardsPublishDashboardData = {
|
||||
name: string;
|
||||
requestBody: app__api__routes__dashboards__PublishRequest;
|
||||
requestBody: fluksio__api__routes__dashboards__PublishRequest;
|
||||
};
|
||||
|
||||
export type DashboardsPublishDashboardResponse = (DashboardDef_Output);
|
||||
@@ -1154,7 +1155,7 @@ export type DashboardsDiscardDashboardDraftResponse = (DashboardDef_Output);
|
||||
|
||||
export type DashboardsRenameDashboardData = {
|
||||
name: string;
|
||||
requestBody: app__api__routes__dashboards__RenameRequest;
|
||||
requestBody: fluksio__api__routes__dashboards__RenameRequest;
|
||||
};
|
||||
|
||||
export type DashboardsRenameDashboardResponse = (DashboardDef_Output);
|
||||
@@ -1194,7 +1195,7 @@ export type FlowsDeleteFlowResponse = (Message);
|
||||
|
||||
export type FlowsPublishFlowData = {
|
||||
name: string;
|
||||
requestBody: app__api__routes__flows__PublishRequest;
|
||||
requestBody: fluksio__api__routes__flows__PublishRequest;
|
||||
};
|
||||
|
||||
export type FlowsPublishFlowResponse = (FlowDetail);
|
||||
@@ -1207,7 +1208,7 @@ export type FlowsDiscardDraftResponse = (FlowDetail);
|
||||
|
||||
export type FlowsRenameFlowData = {
|
||||
name: string;
|
||||
requestBody: app__api__routes__flows__RenameRequest;
|
||||
requestBody: fluksio__api__routes__flows__RenameRequest;
|
||||
};
|
||||
|
||||
export type FlowsRenameFlowResponse = (FlowDetail);
|
||||
@@ -1350,10 +1351,10 @@ export type MessagesReadMessagesResponse = (MessagesPublic);
|
||||
|
||||
export type MessagesPublishMessageData = {
|
||||
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 = {
|
||||
name: string;
|
||||
@@ -1475,6 +1476,12 @@ export type PanelsApprovePairingData = {
|
||||
|
||||
export type PanelsApprovePairingResponse = (Message);
|
||||
|
||||
export type PanelsUnpairPanelData = {
|
||||
panelId: string;
|
||||
};
|
||||
|
||||
export type PanelsUnpairPanelResponse = (Message);
|
||||
|
||||
export type PanelsReadPanelData = {
|
||||
panelId: string;
|
||||
};
|
||||
@@ -1492,14 +1499,14 @@ export type RunsCreateRunData = {
|
||||
requestBody: RunCreate;
|
||||
};
|
||||
|
||||
export type RunsCreateRunResponse = (app__api__routes__runs__RunRow);
|
||||
export type RunsCreateRunResponse = (fluksio__api__routes__runs__RunRow);
|
||||
|
||||
export type RunsCreateSweepData = {
|
||||
name: string;
|
||||
requestBody: SweepCreate;
|
||||
};
|
||||
|
||||
export type RunsCreateSweepResponse = (Array<app__api__routes__runs__RunRow>);
|
||||
export type RunsCreateSweepResponse = (Array<fluksio__api__routes__runs__RunRow>);
|
||||
|
||||
export type RunsReadRunsData = {
|
||||
digest?: (string | null);
|
||||
@@ -1509,7 +1516,7 @@ export type RunsReadRunsData = {
|
||||
status?: (string | null);
|
||||
};
|
||||
|
||||
export type RunsReadRunsResponse = (Array<app__api__routes__runs__RunRow>);
|
||||
export type RunsReadRunsResponse = (Array<fluksio__api__routes__runs__RunRow>);
|
||||
|
||||
export type RunsReadRunData = {
|
||||
runId: string;
|
||||
@@ -1521,7 +1528,7 @@ export type RunsCancelRunData = {
|
||||
runId: string;
|
||||
};
|
||||
|
||||
export type RunsCancelRunResponse = (app__api__routes__runs__RunRow);
|
||||
export type RunsCancelRunResponse = (fluksio__api__routes__runs__RunRow);
|
||||
|
||||
export type RunsReadMetricsData = {
|
||||
name: string;
|
||||
|
||||
Reference in New Issue
Block a user