import { APIResource } from "../../core/resource.js"; import { APIPromise } from "../../core/api-promise.js"; import { RequestOptions } from "../../internal/request-options.js"; /** * [Security](https://docs.metronome.com/developer-resources/security/) endpoints allow you to retrieve security-related data. */ export declare class Services extends APIResource { /** * Gets Metronome's service registry with associated IP addresses for security * allowlisting and firewall configuration. Use this endpoint to maintain an * up-to-date list of IPs that your systems should trust for Metronome * communications. Returns service names and their current IP ranges, with new IPs * typically appearing 30+ days before first use to ensure smooth allowlist * updates. * * @example * ```ts * const services = await client.v1.services.list(); * ``` */ list(options?: RequestOptions): APIPromise; } export interface ServiceListResponse { services: Array; } export declare namespace ServiceListResponse { interface Service { ips: Array; name: string; usage: 'makes_connections_from' | 'accepts_connections_at'; } } export declare namespace Services { export { type ServiceListResponse as ServiceListResponse }; } //# sourceMappingURL=services.d.ts.map