import * as z from "zod"; import { Result as SafeParseResult } from "../../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { SuccessfulPolicyResponse, SuccessfulPolicyResponse$Outbound } from "./successfulpolicyresponse.js"; /** * All batched policy executions succeeded. * * @remarks * The server also returns 200 if the path refers to an undefined document. In this case, responses will be empty. */ export type BatchSuccessfulPolicyEvaluation = { batchDecisionId?: string | undefined; /** * If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps. */ metrics?: { [k: string]: any; } | undefined; responses?: { [k: string]: SuccessfulPolicyResponse; } | undefined; }; /** @internal */ export declare const BatchSuccessfulPolicyEvaluation$inboundSchema: z.ZodType; /** @internal */ export type BatchSuccessfulPolicyEvaluation$Outbound = { batch_decision_id?: string | undefined; metrics?: { [k: string]: any; } | undefined; responses?: { [k: string]: SuccessfulPolicyResponse$Outbound; } | undefined; }; /** @internal */ export declare const BatchSuccessfulPolicyEvaluation$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace BatchSuccessfulPolicyEvaluation$ { /** @deprecated use `BatchSuccessfulPolicyEvaluation$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `BatchSuccessfulPolicyEvaluation$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `BatchSuccessfulPolicyEvaluation$Outbound` instead. */ type Outbound = BatchSuccessfulPolicyEvaluation$Outbound; } export declare function batchSuccessfulPolicyEvaluationToJSON(batchSuccessfulPolicyEvaluation: BatchSuccessfulPolicyEvaluation): string; export declare function batchSuccessfulPolicyEvaluationFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=batchsuccessfulpolicyevaluation.d.ts.map