import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type V3GlobaldataServiceOnHostGlobals = { organizationId?: string | undefined; }; /** * Filter by transport protocol */ export declare const TransportProtocol: { readonly Tcp: "tcp"; readonly Udp: "udp"; readonly Quic: "quic"; }; /** * Filter by transport protocol */ export type TransportProtocol = ClosedEnum; export declare const OrderBy: { readonly PortASC: "port ASC"; readonly PortDESC: "port DESC"; readonly ProtocolASC: "protocol ASC"; readonly ProtocolDESC: "protocol DESC"; readonly TransportProtocolASC: "transport_protocol ASC"; readonly TransportProtocolDESC: "transport_protocol DESC"; }; export type OrderBy = ClosedEnum; export type V3GlobaldataServiceOnHostRequest = { /** * The ID of a Censys organization to associate the request with. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-find-and-use-your-organization-id-optional) for more information. */ organizationId?: string | undefined; /** * Start of date range (RFC3339 format, e.g., 2024-01-01T00:00:00Z). If not specified, defaults to the maximum query window back from the end time. */ startTime?: string | undefined; /** * End of date range (RFC3339 format, e.g., 2024-01-31T23:59:59Z). If not specified, defaults to now. Cannot be in the future. */ endTime?: string | undefined; /** * Number of results per page (max 100) */ pageSize?: number | undefined; /** * Pagination token from previous response */ pageToken?: string | undefined; /** * Filter by port number */ port?: number | undefined; /** * Filter by application protocol */ protocol?: string | undefined; /** * Filter by transport protocol */ transportProtocol?: TransportProtocol | undefined; /** * The IP address of a host. */ hostId: string; /** * Order observations by these fields. Multiple values can be provided to sort by multiple fields (e.g., ['port DESC', 'protocol ASC']). */ orderBy?: Array | null | undefined; }; export type V3GlobaldataServiceOnHostResponse = { headers: { [k: string]: Array; }; result: components.ResponseEnvelopeServicesOnHostResponse; }; /** @internal */ export declare const TransportProtocol$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const OrderBy$outboundSchema: z.ZodNativeEnum; /** @internal */ export type V3GlobaldataServiceOnHostRequest$Outbound = { organization_id?: string | undefined; start_time?: string | undefined; end_time?: string | undefined; page_size: number; page_token?: string | undefined; port?: number | undefined; protocol?: string | undefined; transport_protocol?: string | undefined; host_id: string; order_by?: Array | null | undefined; }; /** @internal */ export declare const V3GlobaldataServiceOnHostRequest$outboundSchema: z.ZodType; export declare function v3GlobaldataServiceOnHostRequestToJSON(v3GlobaldataServiceOnHostRequest: V3GlobaldataServiceOnHostRequest): string; /** @internal */ export declare const V3GlobaldataServiceOnHostResponse$inboundSchema: z.ZodType; export declare function v3GlobaldataServiceOnHostResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=v3globaldataserviceonhost.d.ts.map