/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: 4d1ad354b93b */ import * as z from "zod/v4"; export type GetPackageGlobals = { /** * 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 GetPackageRequest = { /** * Unique identifier for the package. */ id: string; }; /** @internal */ export type GetPackageRequest$Outbound = { id: string; }; /** @internal */ export const GetPackageRequest$outboundSchema: z.ZodType< GetPackageRequest$Outbound, GetPackageRequest > = z.object({ id: z.string(), }); export function getPackageRequestToJSON( getPackageRequest: GetPackageRequest, ): string { return JSON.stringify( GetPackageRequest$outboundSchema.parse(getPackageRequest), ); }