import { readonlyObject, readonlyArray } from "../../shared/src/valita.js";
import { union, string, tuple, literal } from "@badrap/valita";
const deleteClientsBodySchema = union(
  readonlyObject({
    clientIDs: readonlyArray(string()).optional(),
    clientGroupIDs: readonlyArray(string()).optional()
  })
);
const deleteClientsMessageSchema = tuple([
  literal("deleteClients"),
  deleteClientsBodySchema
]);
export {
  deleteClientsBodySchema,
  deleteClientsMessageSchema
};
//# sourceMappingURL=delete-clients.js.map
