/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { remap as remap$ } from "../../lib/primitives.js"; import * as components from "../components/index.js"; import * as z from "zod"; export type ConsoleV1DynamicConfigControllerGenDisableRequest = { /** * id */ id: string; /** * Optional header to respect review settings for mutation endpoints. */ xRespectReviewSettings?: string | undefined; }; /** * Disable Dynamic Config Response */ export type ConsoleV1DynamicConfigControllerGenDisableResponseBody = { /** * A simple string explaining the result of the operation. */ message: string; data: components.DynamicConfigDto; }; /** @internal */ export const ConsoleV1DynamicConfigControllerGenDisableRequest$inboundSchema: z.ZodType< ConsoleV1DynamicConfigControllerGenDisableRequest, 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 ConsoleV1DynamicConfigControllerGenDisableRequest$Outbound = { id: string; "x-respect-review-settings"?: string | undefined; }; /** @internal */ export const ConsoleV1DynamicConfigControllerGenDisableRequest$outboundSchema: z.ZodType< ConsoleV1DynamicConfigControllerGenDisableRequest$Outbound, z.ZodTypeDef, ConsoleV1DynamicConfigControllerGenDisableRequest > = 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 ConsoleV1DynamicConfigControllerGenDisableRequest$ { /** @deprecated use `ConsoleV1DynamicConfigControllerGenDisableRequest$inboundSchema` instead. */ export const inboundSchema = ConsoleV1DynamicConfigControllerGenDisableRequest$inboundSchema; /** @deprecated use `ConsoleV1DynamicConfigControllerGenDisableRequest$outboundSchema` instead. */ export const outboundSchema = ConsoleV1DynamicConfigControllerGenDisableRequest$outboundSchema; /** @deprecated use `ConsoleV1DynamicConfigControllerGenDisableRequest$Outbound` instead. */ export type Outbound = ConsoleV1DynamicConfigControllerGenDisableRequest$Outbound; } /** @internal */ export const ConsoleV1DynamicConfigControllerGenDisableResponseBody$inboundSchema: z.ZodType< ConsoleV1DynamicConfigControllerGenDisableResponseBody, z.ZodTypeDef, unknown > = z.object({ message: z.string(), data: components.DynamicConfigDto$inboundSchema, }); /** @internal */ export type ConsoleV1DynamicConfigControllerGenDisableResponseBody$Outbound = { message: string; data: components.DynamicConfigDto$Outbound; }; /** @internal */ export const ConsoleV1DynamicConfigControllerGenDisableResponseBody$outboundSchema: z.ZodType< ConsoleV1DynamicConfigControllerGenDisableResponseBody$Outbound, z.ZodTypeDef, ConsoleV1DynamicConfigControllerGenDisableResponseBody > = z.object({ message: z.string(), data: components.DynamicConfigDto$outboundSchema, }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export namespace ConsoleV1DynamicConfigControllerGenDisableResponseBody$ { /** @deprecated use `ConsoleV1DynamicConfigControllerGenDisableResponseBody$inboundSchema` instead. */ export const inboundSchema = ConsoleV1DynamicConfigControllerGenDisableResponseBody$inboundSchema; /** @deprecated use `ConsoleV1DynamicConfigControllerGenDisableResponseBody$outboundSchema` instead. */ export const outboundSchema = ConsoleV1DynamicConfigControllerGenDisableResponseBody$outboundSchema; /** @deprecated use `ConsoleV1DynamicConfigControllerGenDisableResponseBody$Outbound` instead. */ export type Outbound = ConsoleV1DynamicConfigControllerGenDisableResponseBody$Outbound; }