/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: ed5a22fc8df5 */ import * as z from "zod/v4"; export type GetDeploymentGroupByExternalIdGlobals = { /** * Workspace name. Platform API keys already select a workspace; other authentication methods can configure it once on the SDK client. */ workspace?: string | undefined; }; export type GetDeploymentGroupByExternalIdRequest = { /** * Project ID or name. Optional for project-scoped API keys. */ project?: string | undefined; /** * Case-sensitive, URL- and header-safe identifier from the integrating application. */ externalId: string; }; /** @internal */ export type GetDeploymentGroupByExternalIdRequest$Outbound = { project?: string | undefined; externalId: string; }; /** @internal */ export const GetDeploymentGroupByExternalIdRequest$outboundSchema: z.ZodType< GetDeploymentGroupByExternalIdRequest$Outbound, GetDeploymentGroupByExternalIdRequest > = z.object({ project: z.string().optional(), externalId: z.string(), }); export function getDeploymentGroupByExternalIdRequestToJSON( getDeploymentGroupByExternalIdRequest: GetDeploymentGroupByExternalIdRequest, ): string { return JSON.stringify( GetDeploymentGroupByExternalIdRequest$outboundSchema.parse( getDeploymentGroupByExternalIdRequest, ), ); }