feat: add forced WAP server deletion support to clean up associated organizations and runtime bots

This commit is contained in:
2026-07-30 17:58:10 -03:00
parent cb830fcf01
commit 446c65ff37
8 changed files with 191 additions and 19 deletions
+10
View File
@@ -62,9 +62,19 @@ export type WapServerByIdParams = {
serverId: string;
};
export type WapServerDeleteParams = WapServerByIdParams & {
force?: boolean;
};
export type WapServerDeleteResult = {
serverId: string;
deleted: true;
force?: boolean;
detachedOrganizations?: number;
deletedRuntimeBots?: number;
skippedRuntimeBots?: number;
auditFailed?: boolean;
auditMessage?: string;
};
export type WapServerOrganizationActionParams = WapServerByIdParams & {