/* * 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 ConsoleV1ExperimentsControllerGenRemoveAssignmentSourceRequest = { /** * Name of the assignment source */ name: string; /** * Optional header to respect review settings for mutation endpoints. */ xRespectReviewSettings?: string | undefined; }; /** * Delete Assignment Source response */ export type ConsoleV1ExperimentsControllerGenRemoveAssignmentSourceResponseBody = { message?: string | undefined; }; /** @internal */ export const ConsoleV1ExperimentsControllerGenRemoveAssignmentSourceRequest$inboundSchema: z.ZodType< ConsoleV1ExperimentsControllerGenRemoveAssignmentSourceRequest, z.ZodTypeDef, unknown > = z .object({ name: z.string(), "x-respect-review-settings": z.string().optional(), }) .transform((v) => { return remap$(v, { "x-respect-review-settings": "xRespectReviewSettings", }); }); /** @internal */ export type ConsoleV1ExperimentsControllerGenRemoveAssignmentSourceRequest$Outbound = { name: string; "x-respect-review-settings"?: string | undefined; }; /** @internal */ export const ConsoleV1ExperimentsControllerGenRemoveAssignmentSourceRequest$outboundSchema: z.ZodType< ConsoleV1ExperimentsControllerGenRemoveAssignmentSourceRequest$Outbound, z.ZodTypeDef, ConsoleV1ExperimentsControllerGenRemoveAssignmentSourceRequest > = z .object({ name: 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 ConsoleV1ExperimentsControllerGenRemoveAssignmentSourceRequest$ { /** @deprecated use `ConsoleV1ExperimentsControllerGenRemoveAssignmentSourceRequest$inboundSchema` instead. */ export const inboundSchema = ConsoleV1ExperimentsControllerGenRemoveAssignmentSourceRequest$inboundSchema; /** @deprecated use `ConsoleV1ExperimentsControllerGenRemoveAssignmentSourceRequest$outboundSchema` instead. */ export const outboundSchema = ConsoleV1ExperimentsControllerGenRemoveAssignmentSourceRequest$outboundSchema; /** @deprecated use `ConsoleV1ExperimentsControllerGenRemoveAssignmentSourceRequest$Outbound` instead. */ export type Outbound = ConsoleV1ExperimentsControllerGenRemoveAssignmentSourceRequest$Outbound; } /** @internal */ export const ConsoleV1ExperimentsControllerGenRemoveAssignmentSourceResponseBody$inboundSchema: z.ZodType< ConsoleV1ExperimentsControllerGenRemoveAssignmentSourceResponseBody, z.ZodTypeDef, unknown > = z.object({ message: z.string().optional(), }); /** @internal */ export type ConsoleV1ExperimentsControllerGenRemoveAssignmentSourceResponseBody$Outbound = { message?: string | undefined; }; /** @internal */ export const ConsoleV1ExperimentsControllerGenRemoveAssignmentSourceResponseBody$outboundSchema: z.ZodType< ConsoleV1ExperimentsControllerGenRemoveAssignmentSourceResponseBody$Outbound, z.ZodTypeDef, ConsoleV1ExperimentsControllerGenRemoveAssignmentSourceResponseBody > = 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 ConsoleV1ExperimentsControllerGenRemoveAssignmentSourceResponseBody$ { /** @deprecated use `ConsoleV1ExperimentsControllerGenRemoveAssignmentSourceResponseBody$inboundSchema` instead. */ export const inboundSchema = ConsoleV1ExperimentsControllerGenRemoveAssignmentSourceResponseBody$inboundSchema; /** @deprecated use `ConsoleV1ExperimentsControllerGenRemoveAssignmentSourceResponseBody$outboundSchema` instead. */ export const outboundSchema = ConsoleV1ExperimentsControllerGenRemoveAssignmentSourceResponseBody$outboundSchema; /** @deprecated use `ConsoleV1ExperimentsControllerGenRemoveAssignmentSourceResponseBody$Outbound` instead. */ export type Outbound = ConsoleV1ExperimentsControllerGenRemoveAssignmentSourceResponseBody$Outbound; }