feat: add board webhook configuration and payload models
This commit is contained in:
1829
frontend/src/api/generated/board-webhooks/board-webhooks.ts
Normal file
1829
frontend/src/api/generated/board-webhooks/board-webhooks.ts
Normal file
File diff suppressed because it is too large
Load Diff
15
frontend/src/api/generated/model/boardWebhookCreate.ts
Normal file
15
frontend/src/api/generated/model/boardWebhookCreate.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Generated by orval v8.3.0 🍺
|
||||
* Do not edit manually.
|
||||
* Mission Control API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* Payload for creating a board webhook.
|
||||
*/
|
||||
export interface BoardWebhookCreate {
|
||||
/** @minLength 1 */
|
||||
description: string;
|
||||
enabled?: boolean;
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Generated by orval v8.3.0 🍺
|
||||
* Do not edit manually.
|
||||
* Mission Control API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* Response payload for inbound webhook ingestion.
|
||||
*/
|
||||
export interface BoardWebhookIngestResponse {
|
||||
board_id: string;
|
||||
ok?: boolean;
|
||||
payload_id: string;
|
||||
webhook_id: string;
|
||||
}
|
||||
22
frontend/src/api/generated/model/boardWebhookPayloadRead.ts
Normal file
22
frontend/src/api/generated/model/boardWebhookPayloadRead.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
/**
|
||||
* Generated by orval v8.3.0 🍺
|
||||
* Do not edit manually.
|
||||
* Mission Control API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
import type { BoardWebhookPayloadReadHeaders } from "./boardWebhookPayloadReadHeaders";
|
||||
import type { BoardWebhookPayloadReadPayload } from "./boardWebhookPayloadReadPayload";
|
||||
|
||||
/**
|
||||
* Serialized stored webhook payload.
|
||||
*/
|
||||
export interface BoardWebhookPayloadRead {
|
||||
board_id: string;
|
||||
content_type?: string | null;
|
||||
headers?: BoardWebhookPayloadReadHeaders;
|
||||
id: string;
|
||||
payload?: BoardWebhookPayloadReadPayload;
|
||||
received_at: string;
|
||||
source_ip?: string | null;
|
||||
webhook_id: string;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v8.3.0 🍺
|
||||
* Do not edit manually.
|
||||
* Mission Control API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type BoardWebhookPayloadReadHeaders = { [key: string]: string } | null;
|
||||
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by orval v8.3.0 🍺
|
||||
* Do not edit manually.
|
||||
* Mission Control API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type BoardWebhookPayloadReadPayload =
|
||||
| { [key: string]: unknown }
|
||||
| unknown[]
|
||||
| string
|
||||
| number
|
||||
| boolean
|
||||
| null;
|
||||
20
frontend/src/api/generated/model/boardWebhookRead.ts
Normal file
20
frontend/src/api/generated/model/boardWebhookRead.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* Generated by orval v8.3.0 🍺
|
||||
* Do not edit manually.
|
||||
* Mission Control API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* Serialized board webhook configuration.
|
||||
*/
|
||||
export interface BoardWebhookRead {
|
||||
board_id: string;
|
||||
created_at: string;
|
||||
description: string;
|
||||
enabled: boolean;
|
||||
endpoint_path: string;
|
||||
endpoint_url?: string | null;
|
||||
id: string;
|
||||
updated_at: string;
|
||||
}
|
||||
14
frontend/src/api/generated/model/boardWebhookUpdate.ts
Normal file
14
frontend/src/api/generated/model/boardWebhookUpdate.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by orval v8.3.0 🍺
|
||||
* Do not edit manually.
|
||||
* Mission Control API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* Payload for updating a board webhook.
|
||||
*/
|
||||
export interface BoardWebhookUpdate {
|
||||
description?: string | null;
|
||||
enabled?: boolean | null;
|
||||
}
|
||||
@@ -64,6 +64,13 @@ export * from "./boardReadSuccessMetrics";
|
||||
export * from "./boardSnapshot";
|
||||
export * from "./boardUpdate";
|
||||
export * from "./boardUpdateSuccessMetrics";
|
||||
export * from "./boardWebhookCreate";
|
||||
export * from "./boardWebhookIngestResponse";
|
||||
export * from "./boardWebhookPayloadRead";
|
||||
export * from "./boardWebhookPayloadReadHeaders";
|
||||
export * from "./boardWebhookPayloadReadPayload";
|
||||
export * from "./boardWebhookRead";
|
||||
export * from "./boardWebhookUpdate";
|
||||
export * from "./dashboardKpis";
|
||||
export * from "./dashboardMetrics";
|
||||
export * from "./dashboardMetricsApiV1MetricsDashboardGetParams";
|
||||
@@ -115,6 +122,8 @@ export * from "./limitOffsetPageTypeVarCustomizedBoardGroupMemoryRead";
|
||||
export * from "./limitOffsetPageTypeVarCustomizedBoardGroupRead";
|
||||
export * from "./limitOffsetPageTypeVarCustomizedBoardMemoryRead";
|
||||
export * from "./limitOffsetPageTypeVarCustomizedBoardRead";
|
||||
export * from "./limitOffsetPageTypeVarCustomizedBoardWebhookPayloadRead";
|
||||
export * from "./limitOffsetPageTypeVarCustomizedBoardWebhookRead";
|
||||
export * from "./limitOffsetPageTypeVarCustomizedGatewayRead";
|
||||
export * from "./limitOffsetPageTypeVarCustomizedOrganizationInviteRead";
|
||||
export * from "./limitOffsetPageTypeVarCustomizedOrganizationMemberRead";
|
||||
@@ -133,6 +142,8 @@ export * from "./listBoardMemoryApiV1AgentBoardsBoardIdMemoryGetParams";
|
||||
export * from "./listBoardMemoryApiV1BoardsBoardIdMemoryGetParams";
|
||||
export * from "./listBoardsApiV1AgentBoardsGetParams";
|
||||
export * from "./listBoardsApiV1BoardsGetParams";
|
||||
export * from "./listBoardWebhookPayloadsApiV1BoardsBoardIdWebhooksWebhookIdPayloadsGetParams";
|
||||
export * from "./listBoardWebhooksApiV1BoardsBoardIdWebhooksGetParams";
|
||||
export * from "./listGatewaysApiV1GatewaysGetParams";
|
||||
export * from "./listGatewaySessionsApiV1GatewaysSessionsGetParams";
|
||||
export * from "./listOrgInvitesApiV1OrganizationsMeInvitesGetParams";
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Generated by orval v8.3.0 🍺
|
||||
* Do not edit manually.
|
||||
* Mission Control API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
import type { BoardWebhookPayloadRead } from "./boardWebhookPayloadRead";
|
||||
|
||||
export interface LimitOffsetPageTypeVarCustomizedBoardWebhookPayloadRead {
|
||||
items: BoardWebhookPayloadRead[];
|
||||
/** @minimum 1 */
|
||||
limit: number;
|
||||
/** @minimum 0 */
|
||||
offset: number;
|
||||
/** @minimum 0 */
|
||||
total: number;
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Generated by orval v8.3.0 🍺
|
||||
* Do not edit manually.
|
||||
* Mission Control API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
import type { BoardWebhookRead } from "./boardWebhookRead";
|
||||
|
||||
export interface LimitOffsetPageTypeVarCustomizedBoardWebhookRead {
|
||||
items: BoardWebhookRead[];
|
||||
/** @minimum 1 */
|
||||
limit: number;
|
||||
/** @minimum 0 */
|
||||
offset: number;
|
||||
/** @minimum 0 */
|
||||
total: number;
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Generated by orval v8.3.0 🍺
|
||||
* Do not edit manually.
|
||||
* Mission Control API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type ListBoardWebhookPayloadsApiV1BoardsBoardIdWebhooksWebhookIdPayloadsGetParams =
|
||||
{
|
||||
/**
|
||||
* @minimum 1
|
||||
* @maximum 200
|
||||
*/
|
||||
limit?: number;
|
||||
/**
|
||||
* @minimum 0
|
||||
*/
|
||||
offset?: number;
|
||||
};
|
||||
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Generated by orval v8.3.0 🍺
|
||||
* Do not edit manually.
|
||||
* Mission Control API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type ListBoardWebhooksApiV1BoardsBoardIdWebhooksGetParams = {
|
||||
/**
|
||||
* @minimum 1
|
||||
* @maximum 200
|
||||
*/
|
||||
limit?: number;
|
||||
/**
|
||||
* @minimum 0
|
||||
*/
|
||||
offset?: number;
|
||||
};
|
||||
Reference in New Issue
Block a user