import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ConsumerConnection } from "./consumerconnection.js"; import { ConsumerMetadata } from "./consumermetadata.js"; import { RequestCountAllocation } from "./requestcountallocation.js"; export type Consumer = { /** * Unique consumer identifier. You can freely choose a consumer ID yourself. Most of the time, this is an ID of your internal data model that represents a user or account in your system (for example account:12345). If the consumer doesn't exist yet, Vault will upsert a consumer based on your ID. */ consumerId: string; /** * ID of your Apideck Application */ applicationId?: string | undefined; /** * The metadata of the consumer. This is used to display the consumer in the sidebar. This is optional, but recommended. */ metadata?: ConsumerMetadata | undefined; connections?: Array | undefined; services?: Array | undefined; aggregatedRequestCount?: number | undefined; requestCounts?: RequestCountAllocation | undefined; created?: string | undefined; modified?: string | undefined; requestCountUpdated?: string | undefined; }; /** @internal */ export declare const Consumer$inboundSchema: z.ZodType; export declare function consumerFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=consumer.d.ts.map