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