import * as z from "zod/v4"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type ListInventoryGlobals = { /** * 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 ListInventoryRequest = { /** * Filter by project ID or name. */ project: string; deploymentGroupId?: string | undefined; deploymentId?: string | undefined; }; export type ResourceObserved = { source: "observed"; deploymentId: string; deploymentName: string; deploymentGroupId: string | null; deploymentGroupName: string | null; resourceType: string; resourceId: string; name: string; rawKind: string; alienResourceId: string | null; backend: string; controllerPlatform: string; health: string; lifecycle: string; message: string | null; partial: boolean; providerStale: boolean; platformStale: boolean; desiredCount: number | null; currentCount: number | null; readyCount: number | null; deploymentCount: number; attentionCount: number; lastObservedAt: Date; }; export type ResourceManaged = { resourceType: string; resourceId: string; name: string; backend: string; controllerPlatform: string; health: string; lifecycle: string; message: string | null; partial: boolean; providerStale: boolean; platformStale: boolean; desiredCount: number | null; currentCount: number | null; readyCount: number | null; deploymentCount: number; attentionCount: number; lastObservedAt: Date; source: "managed"; deploymentId: string; deploymentName: string; }; export type Resource = ResourceManaged | ResourceObserved; /** * Unified managed and observed resource inventory rows. */ export type ListInventoryResponse = { resources: Array; }; /** @internal */ export type ListInventoryRequest$Outbound = { project: string; deploymentGroupId?: string | undefined; deploymentId?: string | undefined; }; /** @internal */ export declare const ListInventoryRequest$outboundSchema: z.ZodType; export declare function listInventoryRequestToJSON(listInventoryRequest: ListInventoryRequest): string; /** @internal */ export declare const ResourceObserved$inboundSchema: z.ZodType; export declare function resourceObservedFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ResourceManaged$inboundSchema: z.ZodType; export declare function resourceManagedFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Resource$inboundSchema: z.ZodType; export declare function resourceFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ListInventoryResponse$inboundSchema: z.ZodType; export declare function listInventoryResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=listinventory.d.ts.map