/* * 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 ConsoleV1LayersControllerGenRemoveRequest = { /** * id */ id: string; /** * Optional header to respect review settings for mutation endpoints. */ xRespectReviewSettings?: string | undefined; }; /** * Delete layer repsonse */ export type ConsoleV1LayersControllerGenRemoveResponseBody = { message?: string | undefined; }; /** @internal */ export const ConsoleV1LayersControllerGenRemoveRequest$inboundSchema: z.ZodType< ConsoleV1LayersControllerGenRemoveRequest, 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 ConsoleV1LayersControllerGenRemoveRequest$Outbound = { id: string; "x-respect-review-settings"?: string | undefined; }; /** @internal */ export const ConsoleV1LayersControllerGenRemoveRequest$outboundSchema: z.ZodType< ConsoleV1LayersControllerGenRemoveRequest$Outbound, z.ZodTypeDef, ConsoleV1LayersControllerGenRemoveRequest > = 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 ConsoleV1LayersControllerGenRemoveRequest$ { /** @deprecated use `ConsoleV1LayersControllerGenRemoveRequest$inboundSchema` instead. */ export const inboundSchema = ConsoleV1LayersControllerGenRemoveRequest$inboundSchema; /** @deprecated use `ConsoleV1LayersControllerGenRemoveRequest$outboundSchema` instead. */ export const outboundSchema = ConsoleV1LayersControllerGenRemoveRequest$outboundSchema; /** @deprecated use `ConsoleV1LayersControllerGenRemoveRequest$Outbound` instead. */ export type Outbound = ConsoleV1LayersControllerGenRemoveRequest$Outbound; } /** @internal */ export const ConsoleV1LayersControllerGenRemoveResponseBody$inboundSchema: z.ZodType< ConsoleV1LayersControllerGenRemoveResponseBody, z.ZodTypeDef, unknown > = z.object({ message: z.string().optional(), }); /** @internal */ export type ConsoleV1LayersControllerGenRemoveResponseBody$Outbound = { message?: string | undefined; }; /** @internal */ export const ConsoleV1LayersControllerGenRemoveResponseBody$outboundSchema: z.ZodType< ConsoleV1LayersControllerGenRemoveResponseBody$Outbound, z.ZodTypeDef, ConsoleV1LayersControllerGenRemoveResponseBody > = 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 ConsoleV1LayersControllerGenRemoveResponseBody$ { /** @deprecated use `ConsoleV1LayersControllerGenRemoveResponseBody$inboundSchema` instead. */ export const inboundSchema = ConsoleV1LayersControllerGenRemoveResponseBody$inboundSchema; /** @deprecated use `ConsoleV1LayersControllerGenRemoveResponseBody$outboundSchema` instead. */ export const outboundSchema = ConsoleV1LayersControllerGenRemoveResponseBody$outboundSchema; /** @deprecated use `ConsoleV1LayersControllerGenRemoveResponseBody$Outbound` instead. */ export type Outbound = ConsoleV1LayersControllerGenRemoveResponseBody$Outbound; }