@vercel/sdk
Version:
<p align="center"> <a href="https://vercel.com"> <img src="https://assets.vercel.com/image/upload/v1588805858/repositories/vercel/logo.png" height="96"> <h3 align="center">Vercel</h3> </a> <p align="center">Develop. Preview. Ship.</p> </p>
38 lines • 1.89 kB
TypeScript
import * as z from "zod/v3";
import { Result as SafeParseResult } from "../types/fp.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
export type GetSecurityFirewallEventsRequest = {
projectId: string;
startTimestamp?: number | undefined;
endTimestamp?: number | undefined;
hosts?: string | undefined;
};
export type GetSecurityFirewallEventsActions = {
startTime: string;
endTime: string;
isActive: boolean;
actionType: string;
host: string;
publicIp: string;
count: number;
};
export type GetSecurityFirewallEventsResponseBody = {
actions: Array<GetSecurityFirewallEventsActions>;
};
/** @internal */
export type GetSecurityFirewallEventsRequest$Outbound = {
projectId: string;
startTimestamp?: number | undefined;
endTimestamp?: number | undefined;
hosts?: string | undefined;
};
/** @internal */
export declare const GetSecurityFirewallEventsRequest$outboundSchema: z.ZodType<GetSecurityFirewallEventsRequest$Outbound, z.ZodTypeDef, GetSecurityFirewallEventsRequest>;
export declare function getSecurityFirewallEventsRequestToJSON(getSecurityFirewallEventsRequest: GetSecurityFirewallEventsRequest): string;
/** @internal */
export declare const GetSecurityFirewallEventsActions$inboundSchema: z.ZodType<GetSecurityFirewallEventsActions, z.ZodTypeDef, unknown>;
export declare function getSecurityFirewallEventsActionsFromJSON(jsonString: string): SafeParseResult<GetSecurityFirewallEventsActions, SDKValidationError>;
/** @internal */
export declare const GetSecurityFirewallEventsResponseBody$inboundSchema: z.ZodType<GetSecurityFirewallEventsResponseBody, z.ZodTypeDef, unknown>;
export declare function getSecurityFirewallEventsResponseBodyFromJSON(jsonString: string): SafeParseResult<GetSecurityFirewallEventsResponseBody, SDKValidationError>;
//# sourceMappingURL=getsecurityfirewalleventsop.d.ts.map