/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; import { remap as remap$ } from "../../lib/primitives.js"; import { safeParse } from "../../lib/schemas.js"; import * as openEnums from "../../types/enums.js"; import { OpenEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Activemq, Activemq$inboundSchema } from "./activemq.js"; import { Amqp, Amqp$inboundSchema } from "./amqp.js"; import { AnermaCfForth, AnermaCfForth$inboundSchema } from "./anermacfforth.js"; import { AnyConnect, AnyConnect$inboundSchema } from "./anyconnect.js"; import { AsteriskManagerInterface, AsteriskManagerInterface$inboundSchema, } from "./asteriskmanagerinterface.js"; import { Bacnet, Bacnet$inboundSchema } from "./bacnet.js"; import { CheckpointTopology, CheckpointTopology$inboundSchema, } from "./checkpointtopology.js"; import { Chromecast, Chromecast$inboundSchema } from "./chromecast.js"; import { CiscoIpsla, CiscoIpsla$inboundSchema } from "./ciscoipsla.js"; import { Cmore, Cmore$inboundSchema } from "./cmore.js"; import { Coap, Coap$inboundSchema } from "./coap.js"; import { CrestronCp3, CrestronCp3$inboundSchema } from "./crestroncp3.js"; import { CrestronDinAp2, CrestronDinAp2$inboundSchema, } from "./crestrondinap2.js"; import { CursorOnTarget, CursorOnTarget$inboundSchema, } from "./cursorontarget.js"; import { Cwmp, Cwmp$inboundSchema } from "./cwmp.js"; import { Darkcomet, Darkcomet$inboundSchema } from "./darkcomet.js"; import { Darkgate, Darkgate$inboundSchema } from "./darkgate.js"; import { Dcerpc, Dcerpc$inboundSchema } from "./dcerpc.js"; import { Dhcpdiscover, Dhcpdiscover$inboundSchema } from "./dhcpdiscover.js"; import { Dnp3, Dnp3$inboundSchema } from "./dnp3.js"; import { Dns, Dns$inboundSchema } from "./dns.js"; import { Dtls, Dtls$inboundSchema } from "./dtls.js"; import { DvrIp, DvrIp$inboundSchema } from "./dvrip.js"; import { Eip, Eip$inboundSchema } from "./eip.js"; import { ElfFile, ElfFile$inboundSchema } from "./elffile.js"; import { Epmd, Epmd$inboundSchema } from "./epmd.js"; import { Etcd, Etcd$inboundSchema } from "./etcd.js"; import { Ethereum, Ethereum$inboundSchema } from "./ethereum.js"; import { FlashSocketPolicy, FlashSocketPolicy$inboundSchema, } from "./flashsocketpolicy.js"; import { Fox, Fox$inboundSchema } from "./fox.js"; import { Frps, Frps$inboundSchema } from "./frps.js"; import { Ftp, Ftp$inboundSchema } from "./ftp.js"; import { Gearman, Gearman$inboundSchema } from "./gearman.js"; import { Gemini, Gemini$inboundSchema } from "./gemini.js"; import { Hajime, Hajime$inboundSchema } from "./hajime.js"; import { HidVertx, HidVertx$inboundSchema } from "./hidvertx.js"; import { Hikvision, Hikvision$inboundSchema } from "./hikvision.js"; import { Ibmnje, Ibmnje$inboundSchema } from "./ibmnje.js"; import { Icap, Icap$inboundSchema } from "./icap.js"; import { Ike, Ike$inboundSchema } from "./ike.js"; import { Imap, Imap$inboundSchema } from "./imap.js"; import { Iota, Iota$inboundSchema } from "./iota.js"; import { Ipmi, Ipmi$inboundSchema } from "./ipmi.js"; import { Ipp, Ipp$inboundSchema } from "./ipp.js"; import { Iscsi, Iscsi$inboundSchema } from "./iscsi.js"; import { Krpc, Krpc$inboundSchema } from "./krpc.js"; import { L2Tp, L2Tp$inboundSchema } from "./l2tp.js"; import { Ldap, Ldap$inboundSchema } from "./ldap.js"; import { Lpd, Lpd$inboundSchema } from "./lpd.js"; import { Mavlink, Mavlink$inboundSchema } from "./mavlink.js"; import { Mdns, Mdns$inboundSchema } from "./mdns.js"; import { Melsec, Melsec$inboundSchema } from "./melsec.js"; import { Memberlist, Memberlist$inboundSchema } from "./memberlist.js"; import { Memcached, Memcached$inboundSchema } from "./memcached.js"; import { MikrotikWinbox, MikrotikWinbox$inboundSchema, } from "./mikrotikwinbox.js"; import { Minecraft, Minecraft$inboundSchema } from "./minecraft.js"; import { Mms, Mms$inboundSchema } from "./mms.js"; import { Modbus, Modbus$inboundSchema } from "./modbus.js"; import { MoneroP2P, MoneroP2P$inboundSchema } from "./monerop2p.js"; import { Mongodb, Mongodb$inboundSchema } from "./mongodb.js"; import { Mqtt, Mqtt$inboundSchema } from "./mqtt.js"; import { Mssql, Mssql$inboundSchema } from "./mssql.js"; import { Murmur, Murmur$inboundSchema } from "./murmur.js"; import { Mysql, Mysql$inboundSchema } from "./mysql.js"; import { NatsIo, NatsIo$inboundSchema } from "./natsio.js"; import { Nbd, Nbd$inboundSchema } from "./nbd.js"; import { NfsMountd, NfsMountd$inboundSchema } from "./nfsmountd.js"; import { Nmea, Nmea$inboundSchema } from "./nmea.js"; import { Ntp, Ntp$inboundSchema } from "./ntp.js"; import { Ntrip, Ntrip$inboundSchema } from "./ntrip.js"; import { Onc, Onc$inboundSchema } from "./onc.js"; import { Onvif, Onvif$inboundSchema } from "./onvif.js"; import { OpcUa, OpcUa$inboundSchema } from "./opcua.js"; import { Openvpn, Openvpn$inboundSchema } from "./openvpn.js"; import { OpenvpnMgmt, OpenvpnMgmt$inboundSchema } from "./openvpnmgmt.js"; import { Oracle, Oracle$inboundSchema } from "./oracle.js"; import { PcAnywhere, PcAnywhere$inboundSchema } from "./pcanywhere.js"; import { Pgbouncer, Pgbouncer$inboundSchema } from "./pgbouncer.js"; import { Pop3, Pop3$inboundSchema } from "./pop3.js"; import { Portmap, Portmap$inboundSchema } from "./portmap.js"; import { Postgres, Postgres$inboundSchema } from "./postgres.js"; import { Pptp, Pptp$inboundSchema } from "./pptp.js"; import { ProfinetCm, ProfinetCm$inboundSchema } from "./profinetcm.js"; import { Rdate, Rdate$inboundSchema } from "./rdate.js"; import { Rdp, Rdp$inboundSchema } from "./rdp.js"; import { Realport, Realport$inboundSchema } from "./realport.js"; import { Redis, Redis$inboundSchema } from "./redis.js"; import { Redline, Redline$inboundSchema } from "./redline.js"; import { RedlionCrimson, RedlionCrimson$inboundSchema, } from "./redlioncrimson.js"; import { RepresentativeInfo, RepresentativeInfo$inboundSchema, } from "./representativeinfo.js"; import { Rifatron, Rifatron$inboundSchema } from "./rifatron.js"; import { Ripple, Ripple$inboundSchema } from "./ripple.js"; import { Rlogin, Rlogin$inboundSchema } from "./rlogin.js"; import { Rocketmq, Rocketmq$inboundSchema } from "./rocketmq.js"; import { RouterosApi, RouterosApi$inboundSchema } from "./routerosapi.js"; import { Rtsp, Rtsp$inboundSchema } from "./rtsp.js"; import { RustdeskHeartbeat, RustdeskHeartbeat$inboundSchema, } from "./rustdeskheartbeat.js"; import { RustdeskRelay, RustdeskRelay$inboundSchema } from "./rustdeskrelay.js"; import { RustdeskRendezvous, RustdeskRendezvous$inboundSchema, } from "./rustdeskrendezvous.js"; import { S7, S7$inboundSchema } from "./s7.js"; import { Sapient, Sapient$inboundSchema } from "./sapient.js"; import { SapRouter, SapRouter$inboundSchema } from "./saprouter.js"; import { Scpi, Scpi$inboundSchema } from "./scpi.js"; import { Screenshot, Screenshot$inboundSchema } from "./screenshot.js"; import { Ser2Net, Ser2Net$inboundSchema } from "./ser2net.js"; import { SevenDaysToDie, SevenDaysToDie$inboundSchema, } from "./sevendaystodie.js"; import { Sip, Sip$inboundSchema } from "./sip.js"; import { Skinny, Skinny$inboundSchema } from "./skinny.js"; import { Smb, Smb$inboundSchema } from "./smb.js"; import { Smtp, Smtp$inboundSchema } from "./smtp.js"; import { Snmp, Snmp$inboundSchema } from "./snmp.js"; import { Socks, Socks$inboundSchema } from "./socks.js"; import { Spice, Spice$inboundSchema } from "./spice.js"; import { Ssdp, Ssdp$inboundSchema } from "./ssdp.js"; import { Ssh, Ssh$inboundSchema } from "./ssh.js"; import { Steam, Steam$inboundSchema } from "./steam.js"; import { Stun, Stun$inboundSchema } from "./stun.js"; import { TacacsPlus, TacacsPlus$inboundSchema } from "./tacacsplus.js"; import { TeamViewer, TeamViewer$inboundSchema } from "./teamviewer.js"; import { Telnet, Telnet$inboundSchema } from "./telnet.js"; import { Tibia, Tibia$inboundSchema } from "./tibia.js"; import { Tls, Tls$inboundSchema } from "./tls.js"; import { TplinkKasa, TplinkKasa$inboundSchema } from "./tplinkkasa.js"; import { UnitronicsPcom, UnitronicsPcom$inboundSchema, } from "./unitronicspcom.js"; import { Upnp, Upnp$inboundSchema } from "./upnp.js"; import { Ventrilo, Ventrilo$inboundSchema } from "./ventrilo.js"; import { Vnc, Vnc$inboundSchema } from "./vnc.js"; import { WeblogicT3, WeblogicT3$inboundSchema } from "./weblogict3.js"; import { Winrm, Winrm$inboundSchema } from "./winrm.js"; import { WsDiscovery, WsDiscovery$inboundSchema } from "./wsdiscovery.js"; import { X11, X11$inboundSchema } from "./x11.js"; import { Zeromq, Zeromq$inboundSchema } from "./zeromq.js"; export const ServiceScanTransportProtocol = { Unknown: "", Tcp: "tcp", Udp: "udp", Icmp: "icmp", Quic: "quic", } as const; export type ServiceScanTransportProtocol = OpenEnum< typeof ServiceScanTransportProtocol >; export type ServiceScan = { activemq?: Activemq | undefined; amqp?: Amqp | undefined; anermaCfForth?: AnermaCfForth | undefined; anyConnect?: AnyConnect | undefined; asteriskManagerInterface?: AsteriskManagerInterface | undefined; bacnet?: Bacnet | undefined; banner?: string | undefined; bannerHashSha256?: string | undefined; checkpointTopology?: CheckpointTopology | undefined; chromecast?: Chromecast | undefined; ciscoIpsla?: CiscoIpsla | undefined; cmore?: Cmore | undefined; coap?: Coap | undefined; crestronCp3?: CrestronCp3 | undefined; crestronDinAp2?: CrestronDinAp2 | undefined; cursorOnTarget?: CursorOnTarget | undefined; cwmp?: Cwmp | undefined; darkcomet?: Darkcomet | undefined; darkgate?: Darkgate | undefined; dcerpc?: Dcerpc | undefined; dhcpdiscover?: Dhcpdiscover | undefined; dnp3?: Dnp3 | undefined; dns?: Dns | undefined; dtls?: Dtls | undefined; dvrIp?: DvrIp | undefined; eip?: Eip | undefined; elfFile?: ElfFile | undefined; epmd?: Epmd | undefined; etcd?: Etcd | undefined; ethereum?: Ethereum | undefined; flashSocketPolicy?: FlashSocketPolicy | undefined; fox?: Fox | undefined; frps?: Frps | undefined; ftp?: Ftp | undefined; gearman?: Gearman | undefined; gemini?: Gemini | undefined; hajime?: Hajime | undefined; hidVertx?: HidVertx | undefined; hikvision?: Hikvision | undefined; ibmnje?: Ibmnje | undefined; icap?: Icap | undefined; ike?: Ike | undefined; imap?: Imap | undefined; iota?: Iota | undefined; ip?: string | undefined; ipmi?: Ipmi | undefined; ipp?: Ipp | undefined; isSuccess?: boolean | undefined; iscsi?: Iscsi | undefined; krpc?: Krpc | undefined; l2tp?: L2Tp | undefined; ldap?: Ldap | undefined; lpd?: Lpd | undefined; mavlink?: Mavlink | undefined; mdns?: Mdns | undefined; melsec?: Melsec | undefined; memberlist?: Memberlist | undefined; memcached?: Memcached | undefined; mikrotikWinbox?: MikrotikWinbox | undefined; minecraft?: Minecraft | undefined; mms?: Mms | undefined; modbus?: Modbus | undefined; moneroP2p?: MoneroP2P | undefined; mongodb?: Mongodb | undefined; mqtt?: Mqtt | undefined; mssql?: Mssql | undefined; murmur?: Murmur | undefined; mysql?: Mysql | undefined; natsIo?: NatsIo | undefined; nbd?: Nbd | undefined; nfsMountd?: NfsMountd | undefined; nmea?: Nmea | undefined; ntp?: Ntp | undefined; ntrip?: Ntrip | undefined; onc?: Onc | undefined; onvif?: Onvif | undefined; opcUa?: OpcUa | undefined; openvpn?: Openvpn | undefined; openvpnMgmt?: OpenvpnMgmt | undefined; oracle?: Oracle | undefined; pcAnywhere?: PcAnywhere | undefined; pgbouncer?: Pgbouncer | undefined; pop3?: Pop3 | undefined; port?: number | undefined; portmap?: Portmap | undefined; postgres?: Postgres | undefined; pptp?: Pptp | undefined; profinetCm?: ProfinetCm | undefined; protocol?: string | undefined; rdate?: Rdate | undefined; rdp?: Rdp | undefined; realport?: Realport | undefined; redis?: Redis | undefined; redline?: Redline | undefined; redlionCrimson?: RedlionCrimson | undefined; representativeInfo?: RepresentativeInfo | undefined; rifatron?: Rifatron | undefined; ripple?: Ripple | undefined; rlogin?: Rlogin | undefined; rocketmq?: Rocketmq | undefined; routerosApi?: RouterosApi | undefined; rtsp?: Rtsp | undefined; rustdeskHeartbeat?: RustdeskHeartbeat | undefined; rustdeskRelay?: RustdeskRelay | undefined; rustdeskRendezvous?: RustdeskRendezvous | undefined; s7?: S7 | undefined; sapRouter?: SapRouter | undefined; sapient?: Sapient | undefined; scanTime?: string | undefined; scpi?: Scpi | undefined; screenshots?: Array | null | undefined; ser2net?: Ser2Net | undefined; sevenDaysToDie?: SevenDaysToDie | undefined; sip?: Sip | undefined; skinny?: Skinny | undefined; smb?: Smb | undefined; smtp?: Smtp | undefined; snmp?: Snmp | undefined; socks?: Socks | undefined; spice?: Spice | undefined; ssdp?: Ssdp | undefined; ssh?: Ssh | undefined; steam?: Steam | undefined; stun?: Stun | undefined; tacacsPlus?: TacacsPlus | undefined; teamViewer?: TeamViewer | undefined; telnet?: Telnet | undefined; tibia?: Tibia | undefined; tls?: Tls | undefined; tplinkKasa?: TplinkKasa | undefined; transportProtocol?: ServiceScanTransportProtocol | undefined; unitronicsPcom?: UnitronicsPcom | undefined; upnp?: Upnp | undefined; ventrilo?: Ventrilo | undefined; vnc?: Vnc | undefined; weblogicT3?: WeblogicT3 | undefined; winrm?: Winrm | undefined; wsDiscovery?: WsDiscovery | undefined; x11?: X11 | undefined; zeromq?: Zeromq | undefined; }; /** @internal */ export const ServiceScanTransportProtocol$inboundSchema: z.ZodType< ServiceScanTransportProtocol, z.ZodTypeDef, unknown > = openEnums.inboundSchema(ServiceScanTransportProtocol); /** @internal */ export const ServiceScan$inboundSchema: z.ZodType< ServiceScan, z.ZodTypeDef, unknown > = z.object({ activemq: Activemq$inboundSchema.optional(), amqp: Amqp$inboundSchema.optional(), anerma_cf_forth: AnermaCfForth$inboundSchema.optional(), any_connect: AnyConnect$inboundSchema.optional(), asterisk_manager_interface: AsteriskManagerInterface$inboundSchema.optional(), bacnet: Bacnet$inboundSchema.optional(), banner: z.string().optional(), banner_hash_sha256: z.string().optional(), checkpoint_topology: CheckpointTopology$inboundSchema.optional(), chromecast: Chromecast$inboundSchema.optional(), cisco_ipsla: CiscoIpsla$inboundSchema.optional(), cmore: Cmore$inboundSchema.optional(), coap: Coap$inboundSchema.optional(), crestron_cp3: CrestronCp3$inboundSchema.optional(), crestron_din_ap2: CrestronDinAp2$inboundSchema.optional(), cursor_on_target: CursorOnTarget$inboundSchema.optional(), cwmp: Cwmp$inboundSchema.optional(), darkcomet: Darkcomet$inboundSchema.optional(), darkgate: Darkgate$inboundSchema.optional(), dcerpc: Dcerpc$inboundSchema.optional(), dhcpdiscover: Dhcpdiscover$inboundSchema.optional(), dnp3: Dnp3$inboundSchema.optional(), dns: Dns$inboundSchema.optional(), dtls: Dtls$inboundSchema.optional(), dvr_ip: DvrIp$inboundSchema.optional(), eip: Eip$inboundSchema.optional(), elf_file: ElfFile$inboundSchema.optional(), epmd: Epmd$inboundSchema.optional(), etcd: Etcd$inboundSchema.optional(), ethereum: Ethereum$inboundSchema.optional(), flash_socket_policy: FlashSocketPolicy$inboundSchema.optional(), fox: Fox$inboundSchema.optional(), frps: Frps$inboundSchema.optional(), ftp: Ftp$inboundSchema.optional(), gearman: Gearman$inboundSchema.optional(), gemini: Gemini$inboundSchema.optional(), hajime: Hajime$inboundSchema.optional(), hid_vertx: HidVertx$inboundSchema.optional(), hikvision: Hikvision$inboundSchema.optional(), ibmnje: Ibmnje$inboundSchema.optional(), icap: Icap$inboundSchema.optional(), ike: Ike$inboundSchema.optional(), imap: Imap$inboundSchema.optional(), iota: Iota$inboundSchema.optional(), ip: z.string().optional(), ipmi: Ipmi$inboundSchema.optional(), ipp: Ipp$inboundSchema.optional(), is_success: z.boolean().optional(), iscsi: Iscsi$inboundSchema.optional(), krpc: Krpc$inboundSchema.optional(), l2tp: L2Tp$inboundSchema.optional(), ldap: Ldap$inboundSchema.optional(), lpd: Lpd$inboundSchema.optional(), mavlink: Mavlink$inboundSchema.optional(), mdns: Mdns$inboundSchema.optional(), melsec: Melsec$inboundSchema.optional(), memberlist: Memberlist$inboundSchema.optional(), memcached: Memcached$inboundSchema.optional(), mikrotik_winbox: MikrotikWinbox$inboundSchema.optional(), minecraft: Minecraft$inboundSchema.optional(), mms: Mms$inboundSchema.optional(), modbus: Modbus$inboundSchema.optional(), monero_p2p: MoneroP2P$inboundSchema.optional(), mongodb: Mongodb$inboundSchema.optional(), mqtt: Mqtt$inboundSchema.optional(), mssql: Mssql$inboundSchema.optional(), murmur: Murmur$inboundSchema.optional(), mysql: Mysql$inboundSchema.optional(), nats_io: NatsIo$inboundSchema.optional(), nbd: Nbd$inboundSchema.optional(), nfs_mountd: NfsMountd$inboundSchema.optional(), nmea: Nmea$inboundSchema.optional(), ntp: Ntp$inboundSchema.optional(), ntrip: Ntrip$inboundSchema.optional(), onc: Onc$inboundSchema.optional(), onvif: Onvif$inboundSchema.optional(), opc_ua: OpcUa$inboundSchema.optional(), openvpn: Openvpn$inboundSchema.optional(), openvpn_mgmt: OpenvpnMgmt$inboundSchema.optional(), oracle: Oracle$inboundSchema.optional(), pc_anywhere: PcAnywhere$inboundSchema.optional(), pgbouncer: Pgbouncer$inboundSchema.optional(), pop3: Pop3$inboundSchema.optional(), port: z.number().int().optional(), portmap: Portmap$inboundSchema.optional(), postgres: Postgres$inboundSchema.optional(), pptp: Pptp$inboundSchema.optional(), profinet_cm: ProfinetCm$inboundSchema.optional(), protocol: z.string().optional(), rdate: Rdate$inboundSchema.optional(), rdp: Rdp$inboundSchema.optional(), realport: Realport$inboundSchema.optional(), redis: Redis$inboundSchema.optional(), redline: Redline$inboundSchema.optional(), redlion_crimson: RedlionCrimson$inboundSchema.optional(), representative_info: RepresentativeInfo$inboundSchema.optional(), rifatron: Rifatron$inboundSchema.optional(), ripple: Ripple$inboundSchema.optional(), rlogin: Rlogin$inboundSchema.optional(), rocketmq: Rocketmq$inboundSchema.optional(), routeros_api: RouterosApi$inboundSchema.optional(), rtsp: Rtsp$inboundSchema.optional(), rustdesk_heartbeat: RustdeskHeartbeat$inboundSchema.optional(), rustdesk_relay: RustdeskRelay$inboundSchema.optional(), rustdesk_rendezvous: RustdeskRendezvous$inboundSchema.optional(), s7: S7$inboundSchema.optional(), sap_router: SapRouter$inboundSchema.optional(), sapient: Sapient$inboundSchema.optional(), scan_time: z.string().optional(), scpi: Scpi$inboundSchema.optional(), screenshots: z.nullable(z.array(Screenshot$inboundSchema)).optional(), ser2net: Ser2Net$inboundSchema.optional(), seven_days_to_die: SevenDaysToDie$inboundSchema.optional(), sip: Sip$inboundSchema.optional(), skinny: Skinny$inboundSchema.optional(), smb: Smb$inboundSchema.optional(), smtp: Smtp$inboundSchema.optional(), snmp: Snmp$inboundSchema.optional(), socks: Socks$inboundSchema.optional(), spice: Spice$inboundSchema.optional(), ssdp: Ssdp$inboundSchema.optional(), ssh: Ssh$inboundSchema.optional(), steam: Steam$inboundSchema.optional(), stun: Stun$inboundSchema.optional(), tacacs_plus: TacacsPlus$inboundSchema.optional(), team_viewer: TeamViewer$inboundSchema.optional(), telnet: Telnet$inboundSchema.optional(), tibia: Tibia$inboundSchema.optional(), tls: Tls$inboundSchema.optional(), tplink_kasa: TplinkKasa$inboundSchema.optional(), transport_protocol: ServiceScanTransportProtocol$inboundSchema.optional(), unitronics_pcom: UnitronicsPcom$inboundSchema.optional(), upnp: Upnp$inboundSchema.optional(), ventrilo: Ventrilo$inboundSchema.optional(), vnc: Vnc$inboundSchema.optional(), weblogic_t3: WeblogicT3$inboundSchema.optional(), winrm: Winrm$inboundSchema.optional(), ws_discovery: WsDiscovery$inboundSchema.optional(), x11: X11$inboundSchema.optional(), zeromq: Zeromq$inboundSchema.optional(), }).transform((v) => { return remap$(v, { "anerma_cf_forth": "anermaCfForth", "any_connect": "anyConnect", "asterisk_manager_interface": "asteriskManagerInterface", "banner_hash_sha256": "bannerHashSha256", "checkpoint_topology": "checkpointTopology", "cisco_ipsla": "ciscoIpsla", "crestron_cp3": "crestronCp3", "crestron_din_ap2": "crestronDinAp2", "cursor_on_target": "cursorOnTarget", "dvr_ip": "dvrIp", "elf_file": "elfFile", "flash_socket_policy": "flashSocketPolicy", "hid_vertx": "hidVertx", "is_success": "isSuccess", "mikrotik_winbox": "mikrotikWinbox", "monero_p2p": "moneroP2p", "nats_io": "natsIo", "nfs_mountd": "nfsMountd", "opc_ua": "opcUa", "openvpn_mgmt": "openvpnMgmt", "pc_anywhere": "pcAnywhere", "profinet_cm": "profinetCm", "redlion_crimson": "redlionCrimson", "representative_info": "representativeInfo", "routeros_api": "routerosApi", "rustdesk_heartbeat": "rustdeskHeartbeat", "rustdesk_relay": "rustdeskRelay", "rustdesk_rendezvous": "rustdeskRendezvous", "sap_router": "sapRouter", "scan_time": "scanTime", "seven_days_to_die": "sevenDaysToDie", "tacacs_plus": "tacacsPlus", "team_viewer": "teamViewer", "tplink_kasa": "tplinkKasa", "transport_protocol": "transportProtocol", "unitronics_pcom": "unitronicsPcom", "weblogic_t3": "weblogicT3", "ws_discovery": "wsDiscovery", }); }); export function serviceScanFromJSON( jsonString: string, ): SafeParseResult { return safeParse( jsonString, (x) => ServiceScan$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ServiceScan' from JSON`, ); }