/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; export type ConsoleV1TargetAppControllerGenDeleteRequest = { /** * id of target app */ id: string; /** * Optional header to respect review settings for mutation endpoints. */ xRespectReviewSettings?: string | undefined; }; /** * Delete Target App Success */ export type ConsoleV1TargetAppControllerGenDeleteResponseBody = { message?: string | undefined; }; /** @internal */ export const ConsoleV1TargetAppControllerGenDeleteRequest$inboundSchema: z.ZodType< ConsoleV1TargetAppControllerGenDeleteRequest, z.ZodTypeDef, unknown > = z .object({ id: z.string(), "x-respect-review-settings": z.string().optional(), }) .transform((v) => { return remap$(v, { "x-respect-review-settings": "xRespectReviewSettings", }); }); /** @internal */ export type ConsoleV1TargetAppControllerGenDeleteRequest$Outbound = { id: string; "x-respect-review-settings"?: string | undefined; }; /** @internal */ export const ConsoleV1TargetAppControllerGenDeleteRequest$outboundSchema: z.ZodType< ConsoleV1TargetAppControllerGenDeleteRequest$Outbound, z.ZodTypeDef, ConsoleV1TargetAppControllerGenDeleteRequest > = z .object({ id: z.string(), xRespectReviewSettings: z.string().optional(), }) .transform((v) => { return remap$(v, { xRespectReviewSettings: "x-respect-review-settings", }); }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export namespace ConsoleV1TargetAppControllerGenDeleteRequest$ { /** @deprecated use `ConsoleV1TargetAppControllerGenDeleteRequest$inboundSchema` instead. */ export const inboundSchema = ConsoleV1TargetAppControllerGenDeleteRequest$inboundSchema; /** @deprecated use `ConsoleV1TargetAppControllerGenDeleteRequest$outboundSchema` instead. */ export const outboundSchema = ConsoleV1TargetAppControllerGenDeleteRequest$outboundSchema; /** @deprecated use `ConsoleV1TargetAppControllerGenDeleteRequest$Outbound` instead. */ export type Outbound = ConsoleV1TargetAppControllerGenDeleteRequest$Outbound; } /** @internal */ export const ConsoleV1TargetAppControllerGenDeleteResponseBody$inboundSchema: z.ZodType< ConsoleV1TargetAppControllerGenDeleteResponseBody, z.ZodTypeDef, unknown > = z.object({ message: z.string().optional(), }); /** @internal */ export type ConsoleV1TargetAppControllerGenDeleteResponseBody$Outbound = { message?: string | undefined; }; /** @internal */ export const ConsoleV1TargetAppControllerGenDeleteResponseBody$outboundSchema: z.ZodType< ConsoleV1TargetAppControllerGenDeleteResponseBody$Outbound, z.ZodTypeDef, ConsoleV1TargetAppControllerGenDeleteResponseBody > = z.object({ message: z.string().optional(), }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export namespace ConsoleV1TargetAppControllerGenDeleteResponseBody$ { /** @deprecated use `ConsoleV1TargetAppControllerGenDeleteResponseBody$inboundSchema` instead. */ export const inboundSchema = ConsoleV1TargetAppControllerGenDeleteResponseBody$inboundSchema; /** @deprecated use `ConsoleV1TargetAppControllerGenDeleteResponseBody$outboundSchema` instead. */ export const outboundSchema = ConsoleV1TargetAppControllerGenDeleteResponseBody$outboundSchema; /** @deprecated use `ConsoleV1TargetAppControllerGenDeleteResponseBody$Outbound` instead. */ export type Outbound = ConsoleV1TargetAppControllerGenDeleteResponseBody$Outbound; }