/* * 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 ConsoleV1DynamicConfigControllerGenPartialUpdateRequest = { /** * id */ id: string; /** * Optional header to respect review settings for mutation endpoints. */ xRespectReviewSettings?: string | undefined; dynamicConfigPartialUpdateDto: components.DynamicConfigPartialUpdateDto; }; /** * Partially Update Dynamic Config Response */ export type ConsoleV1DynamicConfigControllerGenPartialUpdateResponseBody = { /** * A simple string explaining the result of the operation. */ message: string; data: components.DynamicConfigDto; }; /** @internal */ export const ConsoleV1DynamicConfigControllerGenPartialUpdateRequest$inboundSchema: z.ZodType< ConsoleV1DynamicConfigControllerGenPartialUpdateRequest, z.ZodTypeDef, unknown > = z .object({ id: z.string(), "x-respect-review-settings": z.string().optional(), DynamicConfigPartialUpdateDto: components.DynamicConfigPartialUpdateDto$inboundSchema, }) .transform((v) => { return remap$(v, { "x-respect-review-settings": "xRespectReviewSettings", DynamicConfigPartialUpdateDto: "dynamicConfigPartialUpdateDto", }); }); /** @internal */ export type ConsoleV1DynamicConfigControllerGenPartialUpdateRequest$Outbound = { id: string; "x-respect-review-settings"?: string | undefined; DynamicConfigPartialUpdateDto: components.DynamicConfigPartialUpdateDto$Outbound; }; /** @internal */ export const ConsoleV1DynamicConfigControllerGenPartialUpdateRequest$outboundSchema: z.ZodType< ConsoleV1DynamicConfigControllerGenPartialUpdateRequest$Outbound, z.ZodTypeDef, ConsoleV1DynamicConfigControllerGenPartialUpdateRequest > = z .object({ id: z.string(), xRespectReviewSettings: z.string().optional(), dynamicConfigPartialUpdateDto: components.DynamicConfigPartialUpdateDto$outboundSchema, }) .transform((v) => { return remap$(v, { xRespectReviewSettings: "x-respect-review-settings", dynamicConfigPartialUpdateDto: "DynamicConfigPartialUpdateDto", }); }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export namespace ConsoleV1DynamicConfigControllerGenPartialUpdateRequest$ { /** @deprecated use `ConsoleV1DynamicConfigControllerGenPartialUpdateRequest$inboundSchema` instead. */ export const inboundSchema = ConsoleV1DynamicConfigControllerGenPartialUpdateRequest$inboundSchema; /** @deprecated use `ConsoleV1DynamicConfigControllerGenPartialUpdateRequest$outboundSchema` instead. */ export const outboundSchema = ConsoleV1DynamicConfigControllerGenPartialUpdateRequest$outboundSchema; /** @deprecated use `ConsoleV1DynamicConfigControllerGenPartialUpdateRequest$Outbound` instead. */ export type Outbound = ConsoleV1DynamicConfigControllerGenPartialUpdateRequest$Outbound; } /** @internal */ export const ConsoleV1DynamicConfigControllerGenPartialUpdateResponseBody$inboundSchema: z.ZodType< ConsoleV1DynamicConfigControllerGenPartialUpdateResponseBody, z.ZodTypeDef, unknown > = z.object({ message: z.string(), data: components.DynamicConfigDto$inboundSchema, }); /** @internal */ export type ConsoleV1DynamicConfigControllerGenPartialUpdateResponseBody$Outbound = { message: string; data: components.DynamicConfigDto$Outbound; }; /** @internal */ export const ConsoleV1DynamicConfigControllerGenPartialUpdateResponseBody$outboundSchema: z.ZodType< ConsoleV1DynamicConfigControllerGenPartialUpdateResponseBody$Outbound, z.ZodTypeDef, ConsoleV1DynamicConfigControllerGenPartialUpdateResponseBody > = 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 ConsoleV1DynamicConfigControllerGenPartialUpdateResponseBody$ { /** @deprecated use `ConsoleV1DynamicConfigControllerGenPartialUpdateResponseBody$inboundSchema` instead. */ export const inboundSchema = ConsoleV1DynamicConfigControllerGenPartialUpdateResponseBody$inboundSchema; /** @deprecated use `ConsoleV1DynamicConfigControllerGenPartialUpdateResponseBody$outboundSchema` instead. */ export const outboundSchema = ConsoleV1DynamicConfigControllerGenPartialUpdateResponseBody$outboundSchema; /** @deprecated use `ConsoleV1DynamicConfigControllerGenPartialUpdateResponseBody$Outbound` instead. */ export type Outbound = ConsoleV1DynamicConfigControllerGenPartialUpdateResponseBody$Outbound; }