import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; export type TargetWebOrigin = { /** * Hostname of the web origin */ hostname: string; /** * Port number of the web origin */ port: number; }; /** * Rescan of known web property */ export type Two = { webOrigin: TargetWebOrigin; }; export declare const TargetTransportProtocol: { readonly Unknown: "unknown"; readonly Tcp: "tcp"; readonly Udp: "udp"; readonly Icmp: "icmp"; readonly Quic: "quic"; }; export type TargetTransportProtocol = ClosedEnum; export type TargetServiceId = { /** * IP address of service */ ip: string; /** * Port number of service */ port: number; /** * Name of service protocol */ protocol: string; transportProtocol: TargetTransportProtocol; }; /** * Rescan of known service */ export type One = { serviceId: TargetServiceId; }; export type ScansRescanInputBodyTarget = One | Two; export type ScansRescanInputBody = { target: One | Two; }; /** @internal */ export type TargetWebOrigin$Outbound = { hostname: string; port: number; }; /** @internal */ export declare const TargetWebOrigin$outboundSchema: z.ZodType; export declare function targetWebOriginToJSON(targetWebOrigin: TargetWebOrigin): string; /** @internal */ export type Two$Outbound = { web_origin: TargetWebOrigin$Outbound; }; /** @internal */ export declare const Two$outboundSchema: z.ZodType; export declare function twoToJSON(two: Two): string; /** @internal */ export declare const TargetTransportProtocol$outboundSchema: z.ZodNativeEnum; /** @internal */ export type TargetServiceId$Outbound = { ip: string; port: number; protocol: string; transport_protocol: string; }; /** @internal */ export declare const TargetServiceId$outboundSchema: z.ZodType; export declare function targetServiceIdToJSON(targetServiceId: TargetServiceId): string; /** @internal */ export type One$Outbound = { service_id: TargetServiceId$Outbound; }; /** @internal */ export declare const One$outboundSchema: z.ZodType; export declare function oneToJSON(one: One): string; /** @internal */ export type ScansRescanInputBodyTarget$Outbound = One$Outbound | Two$Outbound; /** @internal */ export declare const ScansRescanInputBodyTarget$outboundSchema: z.ZodType; export declare function scansRescanInputBodyTargetToJSON(scansRescanInputBodyTarget: ScansRescanInputBodyTarget): string; /** @internal */ export type ScansRescanInputBody$Outbound = { target: One$Outbound | Two$Outbound; }; /** @internal */ export declare const ScansRescanInputBody$outboundSchema: z.ZodType; export declare function scansRescanInputBodyToJSON(scansRescanInputBody: ScansRescanInputBody): string; //# sourceMappingURL=scansrescaninputbody.d.ts.map