@unkey/api
Version:
Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@unkey/api* API.
21 lines • 921 B
TypeScript
import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type V2PortalExchangeSessionResponseData = {
/**
* The browser session token. Store this as an httpOnly cookie for subsequent portal requests.
*
* @remarks
*/
token: string;
/**
* Unix timestamp in milliseconds when the browser session expires (24 hours from creation).
*
* @remarks
*/
expiresAt: number;
};
/** @internal */
export declare const V2PortalExchangeSessionResponseData$inboundSchema: z.ZodType<V2PortalExchangeSessionResponseData, z.ZodTypeDef, unknown>;
export declare function v2PortalExchangeSessionResponseDataFromJSON(jsonString: string): SafeParseResult<V2PortalExchangeSessionResponseData, SDKValidationError>;
//# sourceMappingURL=v2portalexchangesessionresponsedata.d.ts.map