import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { AuthStartRequestDelivery, AuthStartRequestDelivery$Outbound } from "./authstartrequestdelivery.js"; import { AuthStartRequestSubjects, AuthStartRequestSubjects$Outbound } from "./authstartrequestsubjects.js"; export type AuthStartRequest = { /** * CallbackURL is an optional callback URL (webhook) where Prove Auth will delivery the user's Push Auth response at * * @remarks * the end of the auth flow. If there are any errors encountered during the auth flow, those will be delivered to * the callback URL as well. If not provided, the customer server must call the AuthFinish endpoint to retrieve the * auth results. The request will be sent as a POST and will contain the same response body as the AuthFinish * response. */ callbackUrl?: string | undefined; delivery?: AuthStartRequestDelivery | undefined; /** * RequestID is a UUID generated on the customer side to be associated with the unique request for tracking. * * @remarks * Acceptable characters are: alphanumeric with symbols '-._+=/'. */ requestId: string; subjects: AuthStartRequestSubjects; }; /** @internal */ export declare const AuthStartRequest$inboundSchema: z.ZodType; /** @internal */ export type AuthStartRequest$Outbound = { callbackUrl?: string | undefined; delivery?: AuthStartRequestDelivery$Outbound | undefined; requestId: string; subjects: AuthStartRequestSubjects$Outbound; }; /** @internal */ export declare const AuthStartRequest$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 AuthStartRequest$ { /** @deprecated use `AuthStartRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AuthStartRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AuthStartRequest$Outbound` instead. */ type Outbound = AuthStartRequest$Outbound; } export declare function authStartRequestToJSON(authStartRequest: AuthStartRequest): string; export declare function authStartRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=authstartrequest.d.ts.map