import { APIResource } from "../../../resource.js"; import * as Core from "../../../core.js"; import { V4PagePaginationArray, type V4PagePaginationArrayParams } from "../../../pagination.js"; export declare class Services extends APIResource { /** * Create Workers VPC connectivity service * * @example * ```ts * const service = * await client.connectivity.directory.services.create({ * account_id: '023e105f4ecef8ad9ca31a8372d0c353', * host: { * hostname: 'api.example.com', * resolver_network: { * tunnel_id: '0191dce4-9ab4-7fce-b660-8e5dec5172da', * }, * }, * name: 'web-server', * type: 'http', * }); * ``` */ create(params: ServiceCreateParams, options?: Core.RequestOptions): Core.APIPromise; /** * Update Workers VPC connectivity service * * @example * ```ts * const service = * await client.connectivity.directory.services.update( * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', * { * account_id: 'account_id', * host: { * ipv4: '10.0.0.1', * network: { * tunnel_id: '0191dce4-9ab4-7fce-b660-8e5dec5172da', * }, * }, * name: 'postgres-db', * type: 'tcp', * }, * ); * ``` */ update(serviceId: string, params: ServiceUpdateParams, options?: Core.RequestOptions): Core.APIPromise; /** * List Workers VPC connectivity services * * @example * ```ts * // Automatically fetches more pages as needed. * for await (const serviceListResponse of client.connectivity.directory.services.list( * { account_id: '023e105f4ecef8ad9ca31a8372d0c353' }, * )) { * // ... * } * ``` */ list(params: ServiceListParams, options?: Core.RequestOptions): Core.PagePromise; /** * Delete Workers VPC connectivity service * * @example * ```ts * await client.connectivity.directory.services.delete( * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', * { account_id: 'account_id' }, * ); * ``` */ delete(serviceId: string, params: ServiceDeleteParams, options?: Core.RequestOptions): Core.APIPromise; /** * Get Workers VPC connectivity service * * @example * ```ts * const service = * await client.connectivity.directory.services.get( * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', * { account_id: 'account_id' }, * ); * ``` */ get(serviceId: string, params: ServiceGetParams, options?: Core.RequestOptions): Core.APIPromise; } export declare class ServiceListResponsesV4PagePaginationArray extends V4PagePaginationArray { } export type ServiceCreateResponse = ServiceCreateResponse.InfraHTTPServiceConfig | ServiceCreateResponse.InfraTCPServiceConfig; export declare namespace ServiceCreateResponse { interface InfraHTTPServiceConfig { host: InfraHTTPServiceConfig.InfraIPv4Host | InfraHTTPServiceConfig.InfraIPv6Host | InfraHTTPServiceConfig.InfraDualStackHost | InfraHTTPServiceConfig.InfraHostnameHost; name: string; type: 'tcp' | 'http'; created_at?: string; http_port?: number | null; https_port?: number | null; service_id?: string; /** * TLS settings for a connectivity service. * * If omitted, the default mode (`verify_full`) is used. */ tls_settings?: InfraHTTPServiceConfig.TLSSettings | null; updated_at?: string; } namespace InfraHTTPServiceConfig { interface InfraIPv4Host { ipv4: string; network: InfraIPv4Host.Network; } namespace InfraIPv4Host { interface Network { tunnel_id: string; } } interface InfraIPv6Host { ipv6: string; network: InfraIPv6Host.Network; } namespace InfraIPv6Host { interface Network { tunnel_id: string; } } interface InfraDualStackHost { ipv4: string; ipv6: string; network: InfraDualStackHost.Network; } namespace InfraDualStackHost { interface Network { tunnel_id: string; } } interface InfraHostnameHost { hostname: string; resolver_network: InfraHostnameHost.ResolverNetwork; } namespace InfraHostnameHost { interface ResolverNetwork { tunnel_id: string; resolver_ips?: Array | null; } } /** * TLS settings for a connectivity service. * * If omitted, the default mode (`verify_full`) is used. */ interface TLSSettings { /** * TLS certificate verification mode for the connection to the origin. * * - `"verify_full"` — verify certificate chain and hostname (default) * - `"verify_ca"` — verify certificate chain only, skip hostname check * - `"disabled"` — do not verify the server certificate at all */ cert_verification_mode: string; } } interface InfraTCPServiceConfig { host: InfraTCPServiceConfig.InfraIPv4Host | InfraTCPServiceConfig.InfraIPv6Host | InfraTCPServiceConfig.InfraDualStackHost | InfraTCPServiceConfig.InfraHostnameHost; name: string; type: 'tcp' | 'http'; app_protocol?: 'postgresql' | 'mysql' | null; created_at?: string; service_id?: string; tcp_port?: number | null; /** * TLS settings for a connectivity service. * * If omitted, the default mode (`verify_full`) is used. */ tls_settings?: InfraTCPServiceConfig.TLSSettings | null; updated_at?: string; } namespace InfraTCPServiceConfig { interface InfraIPv4Host { ipv4: string; network: InfraIPv4Host.Network; } namespace InfraIPv4Host { interface Network { tunnel_id: string; } } interface InfraIPv6Host { ipv6: string; network: InfraIPv6Host.Network; } namespace InfraIPv6Host { interface Network { tunnel_id: string; } } interface InfraDualStackHost { ipv4: string; ipv6: string; network: InfraDualStackHost.Network; } namespace InfraDualStackHost { interface Network { tunnel_id: string; } } interface InfraHostnameHost { hostname: string; resolver_network: InfraHostnameHost.ResolverNetwork; } namespace InfraHostnameHost { interface ResolverNetwork { tunnel_id: string; resolver_ips?: Array | null; } } /** * TLS settings for a connectivity service. * * If omitted, the default mode (`verify_full`) is used. */ interface TLSSettings { /** * TLS certificate verification mode for the connection to the origin. * * - `"verify_full"` — verify certificate chain and hostname (default) * - `"verify_ca"` — verify certificate chain only, skip hostname check * - `"disabled"` — do not verify the server certificate at all */ cert_verification_mode: string; } } } export type ServiceUpdateResponse = ServiceUpdateResponse.InfraHTTPServiceConfig | ServiceUpdateResponse.InfraTCPServiceConfig; export declare namespace ServiceUpdateResponse { interface InfraHTTPServiceConfig { host: InfraHTTPServiceConfig.InfraIPv4Host | InfraHTTPServiceConfig.InfraIPv6Host | InfraHTTPServiceConfig.InfraDualStackHost | InfraHTTPServiceConfig.InfraHostnameHost; name: string; type: 'tcp' | 'http'; created_at?: string; http_port?: number | null; https_port?: number | null; service_id?: string; /** * TLS settings for a connectivity service. * * If omitted, the default mode (`verify_full`) is used. */ tls_settings?: InfraHTTPServiceConfig.TLSSettings | null; updated_at?: string; } namespace InfraHTTPServiceConfig { interface InfraIPv4Host { ipv4: string; network: InfraIPv4Host.Network; } namespace InfraIPv4Host { interface Network { tunnel_id: string; } } interface InfraIPv6Host { ipv6: string; network: InfraIPv6Host.Network; } namespace InfraIPv6Host { interface Network { tunnel_id: string; } } interface InfraDualStackHost { ipv4: string; ipv6: string; network: InfraDualStackHost.Network; } namespace InfraDualStackHost { interface Network { tunnel_id: string; } } interface InfraHostnameHost { hostname: string; resolver_network: InfraHostnameHost.ResolverNetwork; } namespace InfraHostnameHost { interface ResolverNetwork { tunnel_id: string; resolver_ips?: Array | null; } } /** * TLS settings for a connectivity service. * * If omitted, the default mode (`verify_full`) is used. */ interface TLSSettings { /** * TLS certificate verification mode for the connection to the origin. * * - `"verify_full"` — verify certificate chain and hostname (default) * - `"verify_ca"` — verify certificate chain only, skip hostname check * - `"disabled"` — do not verify the server certificate at all */ cert_verification_mode: string; } } interface InfraTCPServiceConfig { host: InfraTCPServiceConfig.InfraIPv4Host | InfraTCPServiceConfig.InfraIPv6Host | InfraTCPServiceConfig.InfraDualStackHost | InfraTCPServiceConfig.InfraHostnameHost; name: string; type: 'tcp' | 'http'; app_protocol?: 'postgresql' | 'mysql' | null; created_at?: string; service_id?: string; tcp_port?: number | null; /** * TLS settings for a connectivity service. * * If omitted, the default mode (`verify_full`) is used. */ tls_settings?: InfraTCPServiceConfig.TLSSettings | null; updated_at?: string; } namespace InfraTCPServiceConfig { interface InfraIPv4Host { ipv4: string; network: InfraIPv4Host.Network; } namespace InfraIPv4Host { interface Network { tunnel_id: string; } } interface InfraIPv6Host { ipv6: string; network: InfraIPv6Host.Network; } namespace InfraIPv6Host { interface Network { tunnel_id: string; } } interface InfraDualStackHost { ipv4: string; ipv6: string; network: InfraDualStackHost.Network; } namespace InfraDualStackHost { interface Network { tunnel_id: string; } } interface InfraHostnameHost { hostname: string; resolver_network: InfraHostnameHost.ResolverNetwork; } namespace InfraHostnameHost { interface ResolverNetwork { tunnel_id: string; resolver_ips?: Array | null; } } /** * TLS settings for a connectivity service. * * If omitted, the default mode (`verify_full`) is used. */ interface TLSSettings { /** * TLS certificate verification mode for the connection to the origin. * * - `"verify_full"` — verify certificate chain and hostname (default) * - `"verify_ca"` — verify certificate chain only, skip hostname check * - `"disabled"` — do not verify the server certificate at all */ cert_verification_mode: string; } } } export type ServiceListResponse = ServiceListResponse.InfraHTTPServiceConfig | ServiceListResponse.InfraTCPServiceConfig; export declare namespace ServiceListResponse { interface InfraHTTPServiceConfig { host: InfraHTTPServiceConfig.InfraIPv4Host | InfraHTTPServiceConfig.InfraIPv6Host | InfraHTTPServiceConfig.InfraDualStackHost | InfraHTTPServiceConfig.InfraHostnameHost; name: string; type: 'tcp' | 'http'; created_at?: string; http_port?: number | null; https_port?: number | null; service_id?: string; /** * TLS settings for a connectivity service. * * If omitted, the default mode (`verify_full`) is used. */ tls_settings?: InfraHTTPServiceConfig.TLSSettings | null; updated_at?: string; } namespace InfraHTTPServiceConfig { interface InfraIPv4Host { ipv4: string; network: InfraIPv4Host.Network; } namespace InfraIPv4Host { interface Network { tunnel_id: string; } } interface InfraIPv6Host { ipv6: string; network: InfraIPv6Host.Network; } namespace InfraIPv6Host { interface Network { tunnel_id: string; } } interface InfraDualStackHost { ipv4: string; ipv6: string; network: InfraDualStackHost.Network; } namespace InfraDualStackHost { interface Network { tunnel_id: string; } } interface InfraHostnameHost { hostname: string; resolver_network: InfraHostnameHost.ResolverNetwork; } namespace InfraHostnameHost { interface ResolverNetwork { tunnel_id: string; resolver_ips?: Array | null; } } /** * TLS settings for a connectivity service. * * If omitted, the default mode (`verify_full`) is used. */ interface TLSSettings { /** * TLS certificate verification mode for the connection to the origin. * * - `"verify_full"` — verify certificate chain and hostname (default) * - `"verify_ca"` — verify certificate chain only, skip hostname check * - `"disabled"` — do not verify the server certificate at all */ cert_verification_mode: string; } } interface InfraTCPServiceConfig { host: InfraTCPServiceConfig.InfraIPv4Host | InfraTCPServiceConfig.InfraIPv6Host | InfraTCPServiceConfig.InfraDualStackHost | InfraTCPServiceConfig.InfraHostnameHost; name: string; type: 'tcp' | 'http'; app_protocol?: 'postgresql' | 'mysql' | null; created_at?: string; service_id?: string; tcp_port?: number | null; /** * TLS settings for a connectivity service. * * If omitted, the default mode (`verify_full`) is used. */ tls_settings?: InfraTCPServiceConfig.TLSSettings | null; updated_at?: string; } namespace InfraTCPServiceConfig { interface InfraIPv4Host { ipv4: string; network: InfraIPv4Host.Network; } namespace InfraIPv4Host { interface Network { tunnel_id: string; } } interface InfraIPv6Host { ipv6: string; network: InfraIPv6Host.Network; } namespace InfraIPv6Host { interface Network { tunnel_id: string; } } interface InfraDualStackHost { ipv4: string; ipv6: string; network: InfraDualStackHost.Network; } namespace InfraDualStackHost { interface Network { tunnel_id: string; } } interface InfraHostnameHost { hostname: string; resolver_network: InfraHostnameHost.ResolverNetwork; } namespace InfraHostnameHost { interface ResolverNetwork { tunnel_id: string; resolver_ips?: Array | null; } } /** * TLS settings for a connectivity service. * * If omitted, the default mode (`verify_full`) is used. */ interface TLSSettings { /** * TLS certificate verification mode for the connection to the origin. * * - `"verify_full"` — verify certificate chain and hostname (default) * - `"verify_ca"` — verify certificate chain only, skip hostname check * - `"disabled"` — do not verify the server certificate at all */ cert_verification_mode: string; } } } export type ServiceGetResponse = ServiceGetResponse.InfraHTTPServiceConfig | ServiceGetResponse.InfraTCPServiceConfig; export declare namespace ServiceGetResponse { interface InfraHTTPServiceConfig { host: InfraHTTPServiceConfig.InfraIPv4Host | InfraHTTPServiceConfig.InfraIPv6Host | InfraHTTPServiceConfig.InfraDualStackHost | InfraHTTPServiceConfig.InfraHostnameHost; name: string; type: 'tcp' | 'http'; created_at?: string; http_port?: number | null; https_port?: number | null; service_id?: string; /** * TLS settings for a connectivity service. * * If omitted, the default mode (`verify_full`) is used. */ tls_settings?: InfraHTTPServiceConfig.TLSSettings | null; updated_at?: string; } namespace InfraHTTPServiceConfig { interface InfraIPv4Host { ipv4: string; network: InfraIPv4Host.Network; } namespace InfraIPv4Host { interface Network { tunnel_id: string; } } interface InfraIPv6Host { ipv6: string; network: InfraIPv6Host.Network; } namespace InfraIPv6Host { interface Network { tunnel_id: string; } } interface InfraDualStackHost { ipv4: string; ipv6: string; network: InfraDualStackHost.Network; } namespace InfraDualStackHost { interface Network { tunnel_id: string; } } interface InfraHostnameHost { hostname: string; resolver_network: InfraHostnameHost.ResolverNetwork; } namespace InfraHostnameHost { interface ResolverNetwork { tunnel_id: string; resolver_ips?: Array | null; } } /** * TLS settings for a connectivity service. * * If omitted, the default mode (`verify_full`) is used. */ interface TLSSettings { /** * TLS certificate verification mode for the connection to the origin. * * - `"verify_full"` — verify certificate chain and hostname (default) * - `"verify_ca"` — verify certificate chain only, skip hostname check * - `"disabled"` — do not verify the server certificate at all */ cert_verification_mode: string; } } interface InfraTCPServiceConfig { host: InfraTCPServiceConfig.InfraIPv4Host | InfraTCPServiceConfig.InfraIPv6Host | InfraTCPServiceConfig.InfraDualStackHost | InfraTCPServiceConfig.InfraHostnameHost; name: string; type: 'tcp' | 'http'; app_protocol?: 'postgresql' | 'mysql' | null; created_at?: string; service_id?: string; tcp_port?: number | null; /** * TLS settings for a connectivity service. * * If omitted, the default mode (`verify_full`) is used. */ tls_settings?: InfraTCPServiceConfig.TLSSettings | null; updated_at?: string; } namespace InfraTCPServiceConfig { interface InfraIPv4Host { ipv4: string; network: InfraIPv4Host.Network; } namespace InfraIPv4Host { interface Network { tunnel_id: string; } } interface InfraIPv6Host { ipv6: string; network: InfraIPv6Host.Network; } namespace InfraIPv6Host { interface Network { tunnel_id: string; } } interface InfraDualStackHost { ipv4: string; ipv6: string; network: InfraDualStackHost.Network; } namespace InfraDualStackHost { interface Network { tunnel_id: string; } } interface InfraHostnameHost { hostname: string; resolver_network: InfraHostnameHost.ResolverNetwork; } namespace InfraHostnameHost { interface ResolverNetwork { tunnel_id: string; resolver_ips?: Array | null; } } /** * TLS settings for a connectivity service. * * If omitted, the default mode (`verify_full`) is used. */ interface TLSSettings { /** * TLS certificate verification mode for the connection to the origin. * * - `"verify_full"` — verify certificate chain and hostname (default) * - `"verify_ca"` — verify certificate chain only, skip hostname check * - `"disabled"` — do not verify the server certificate at all */ cert_verification_mode: string; } } } export type ServiceCreateParams = ServiceCreateParams.InfraHTTPServiceConfig | ServiceCreateParams.InfraTCPServiceConfig; export declare namespace ServiceCreateParams { interface InfraHTTPServiceConfig { /** * Path param: Account identifier */ account_id: string; /** * Body param */ host: InfraHTTPServiceConfig.InfraIPv4Host | InfraHTTPServiceConfig.InfraIPv6Host | InfraHTTPServiceConfig.InfraDualStackHost | InfraHTTPServiceConfig.InfraHostnameHost; /** * Body param */ name: string; /** * Body param */ type: 'tcp' | 'http'; /** * Body param */ http_port?: number | null; /** * Body param */ https_port?: number | null; /** * Body param: TLS settings for a connectivity service. * * If omitted, the default mode (`verify_full`) is used. */ tls_settings?: InfraHTTPServiceConfig.TLSSettings | null; } namespace InfraHTTPServiceConfig { interface InfraIPv4Host { ipv4: string; network: InfraIPv4Host.Network; } namespace InfraIPv4Host { interface Network { tunnel_id: string; } } interface InfraIPv6Host { ipv6: string; network: InfraIPv6Host.Network; } namespace InfraIPv6Host { interface Network { tunnel_id: string; } } interface InfraDualStackHost { ipv4: string; ipv6: string; network: InfraDualStackHost.Network; } namespace InfraDualStackHost { interface Network { tunnel_id: string; } } interface InfraHostnameHost { hostname: string; resolver_network: InfraHostnameHost.ResolverNetwork; } namespace InfraHostnameHost { interface ResolverNetwork { tunnel_id: string; resolver_ips?: Array | null; } } /** * TLS settings for a connectivity service. * * If omitted, the default mode (`verify_full`) is used. */ interface TLSSettings { /** * TLS certificate verification mode for the connection to the origin. * * - `"verify_full"` — verify certificate chain and hostname (default) * - `"verify_ca"` — verify certificate chain only, skip hostname check * - `"disabled"` — do not verify the server certificate at all */ cert_verification_mode: string; } } interface InfraTCPServiceConfig { /** * Path param: Account identifier */ account_id: string; /** * Body param */ host: InfraTCPServiceConfig.InfraIPv4Host | InfraTCPServiceConfig.InfraIPv6Host | InfraTCPServiceConfig.InfraDualStackHost | InfraTCPServiceConfig.InfraHostnameHost; /** * Body param */ name: string; /** * Body param */ type: 'tcp' | 'http'; /** * Body param */ app_protocol?: 'postgresql' | 'mysql' | null; /** * Body param */ tcp_port?: number | null; /** * Body param: TLS settings for a connectivity service. * * If omitted, the default mode (`verify_full`) is used. */ tls_settings?: InfraTCPServiceConfig.TLSSettings | null; } namespace InfraTCPServiceConfig { interface InfraIPv4Host { ipv4: string; network: InfraIPv4Host.Network; } namespace InfraIPv4Host { interface Network { tunnel_id: string; } } interface InfraIPv6Host { ipv6: string; network: InfraIPv6Host.Network; } namespace InfraIPv6Host { interface Network { tunnel_id: string; } } interface InfraDualStackHost { ipv4: string; ipv6: string; network: InfraDualStackHost.Network; } namespace InfraDualStackHost { interface Network { tunnel_id: string; } } interface InfraHostnameHost { hostname: string; resolver_network: InfraHostnameHost.ResolverNetwork; } namespace InfraHostnameHost { interface ResolverNetwork { tunnel_id: string; resolver_ips?: Array | null; } } /** * TLS settings for a connectivity service. * * If omitted, the default mode (`verify_full`) is used. */ interface TLSSettings { /** * TLS certificate verification mode for the connection to the origin. * * - `"verify_full"` — verify certificate chain and hostname (default) * - `"verify_ca"` — verify certificate chain only, skip hostname check * - `"disabled"` — do not verify the server certificate at all */ cert_verification_mode: string; } } } export type ServiceUpdateParams = ServiceUpdateParams.InfraHTTPServiceConfig | ServiceUpdateParams.InfraTCPServiceConfig; export declare namespace ServiceUpdateParams { interface InfraHTTPServiceConfig { /** * Path param */ account_id: string; /** * Body param */ host: InfraHTTPServiceConfig.InfraIPv4Host | InfraHTTPServiceConfig.InfraIPv6Host | InfraHTTPServiceConfig.InfraDualStackHost | InfraHTTPServiceConfig.InfraHostnameHost; /** * Body param */ name: string; /** * Body param */ type: 'tcp' | 'http'; /** * Body param */ http_port?: number | null; /** * Body param */ https_port?: number | null; /** * Body param: TLS settings for a connectivity service. * * If omitted, the default mode (`verify_full`) is used. */ tls_settings?: InfraHTTPServiceConfig.TLSSettings | null; } namespace InfraHTTPServiceConfig { interface InfraIPv4Host { ipv4: string; network: InfraIPv4Host.Network; } namespace InfraIPv4Host { interface Network { tunnel_id: string; } } interface InfraIPv6Host { ipv6: string; network: InfraIPv6Host.Network; } namespace InfraIPv6Host { interface Network { tunnel_id: string; } } interface InfraDualStackHost { ipv4: string; ipv6: string; network: InfraDualStackHost.Network; } namespace InfraDualStackHost { interface Network { tunnel_id: string; } } interface InfraHostnameHost { hostname: string; resolver_network: InfraHostnameHost.ResolverNetwork; } namespace InfraHostnameHost { interface ResolverNetwork { tunnel_id: string; resolver_ips?: Array | null; } } /** * TLS settings for a connectivity service. * * If omitted, the default mode (`verify_full`) is used. */ interface TLSSettings { /** * TLS certificate verification mode for the connection to the origin. * * - `"verify_full"` — verify certificate chain and hostname (default) * - `"verify_ca"` — verify certificate chain only, skip hostname check * - `"disabled"` — do not verify the server certificate at all */ cert_verification_mode: string; } } interface InfraTCPServiceConfig { /** * Path param */ account_id: string; /** * Body param */ host: InfraTCPServiceConfig.InfraIPv4Host | InfraTCPServiceConfig.InfraIPv6Host | InfraTCPServiceConfig.InfraDualStackHost | InfraTCPServiceConfig.InfraHostnameHost; /** * Body param */ name: string; /** * Body param */ type: 'tcp' | 'http'; /** * Body param */ app_protocol?: 'postgresql' | 'mysql' | null; /** * Body param */ tcp_port?: number | null; /** * Body param: TLS settings for a connectivity service. * * If omitted, the default mode (`verify_full`) is used. */ tls_settings?: InfraTCPServiceConfig.TLSSettings | null; } namespace InfraTCPServiceConfig { interface InfraIPv4Host { ipv4: string; network: InfraIPv4Host.Network; } namespace InfraIPv4Host { interface Network { tunnel_id: string; } } interface InfraIPv6Host { ipv6: string; network: InfraIPv6Host.Network; } namespace InfraIPv6Host { interface Network { tunnel_id: string; } } interface InfraDualStackHost { ipv4: string; ipv6: string; network: InfraDualStackHost.Network; } namespace InfraDualStackHost { interface Network { tunnel_id: string; } } interface InfraHostnameHost { hostname: string; resolver_network: InfraHostnameHost.ResolverNetwork; } namespace InfraHostnameHost { interface ResolverNetwork { tunnel_id: string; resolver_ips?: Array | null; } } /** * TLS settings for a connectivity service. * * If omitted, the default mode (`verify_full`) is used. */ interface TLSSettings { /** * TLS certificate verification mode for the connection to the origin. * * - `"verify_full"` — verify certificate chain and hostname (default) * - `"verify_ca"` — verify certificate chain only, skip hostname check * - `"disabled"` — do not verify the server certificate at all */ cert_verification_mode: string; } } } export interface ServiceListParams extends V4PagePaginationArrayParams { /** * Path param: Account identifier */ account_id: string; /** * Query param */ type?: 'tcp' | 'http' | null; } export interface ServiceDeleteParams { account_id: string; } export interface ServiceGetParams { account_id: string; } export declare namespace Services { export { type ServiceCreateResponse as ServiceCreateResponse, type ServiceUpdateResponse as ServiceUpdateResponse, type ServiceListResponse as ServiceListResponse, type ServiceGetResponse as ServiceGetResponse, ServiceListResponsesV4PagePaginationArray as ServiceListResponsesV4PagePaginationArray, type ServiceCreateParams as ServiceCreateParams, type ServiceUpdateParams as ServiceUpdateParams, type ServiceListParams as ServiceListParams, type ServiceDeleteParams as ServiceDeleteParams, type ServiceGetParams as ServiceGetParams, }; } //# sourceMappingURL=services.d.ts.map