import { APIResource } from "../../core/resource.mjs"; import { APIPromise } from "../../core/api-promise.mjs"; import { RequestOptions } from "../../internal/request-options.mjs"; export declare class BaseSmartRouting extends APIResource { static readonly _key: readonly ['argo', 'smartRouting']; /** * Configures the value of the Argo Smart Routing enablement setting. * * @example * ```ts * const response = await client.argo.smartRouting.edit({ * zone_id: '023e105f4ecef8ad9ca31a8372d0c353', * value: 'on', * }); * ``` */ edit(params: SmartRoutingEditParams, options?: RequestOptions): APIPromise; /** * Retrieves the value of Argo Smart Routing enablement setting. * * @example * ```ts * const smartRouting = await client.argo.smartRouting.get({ * zone_id: '023e105f4ecef8ad9ca31a8372d0c353', * }); * ``` */ get(params: SmartRoutingGetParams, options?: RequestOptions): APIPromise; } export declare class SmartRouting extends BaseSmartRouting { } export interface SmartRoutingEditResponse { /** * Specifies the identifier of the Argo Smart Routing setting. */ id: string; /** * Specifies if the setting is editable. */ editable: boolean; /** * Specifies the enablement value of Argo Smart Routing. */ value: 'on' | 'off'; /** * Specifies the time when the setting was last modified. */ modified_on?: string; } export interface SmartRoutingGetResponse { /** * Specifies the identifier of the Argo Smart Routing setting. */ id: string; /** * Specifies if the setting is editable. */ editable: boolean; /** * Specifies the enablement value of Argo Smart Routing. */ value: 'on' | 'off'; /** * Specifies the time when the setting was last modified. */ modified_on?: string; } export interface SmartRoutingEditParams { /** * Path param: Specifies the zone associated with the API call. */ zone_id: string; /** * Body param: Specifies the enablement value of Argo Smart Routing. */ value: 'on' | 'off'; } export interface SmartRoutingGetParams { /** * Specifies the zone associated with the API call. */ zone_id: string; } export declare namespace SmartRouting { export { type SmartRoutingEditResponse as SmartRoutingEditResponse, type SmartRoutingGetResponse as SmartRoutingGetResponse, type SmartRoutingEditParams as SmartRoutingEditParams, type SmartRoutingGetParams as SmartRoutingGetParams, }; } //# sourceMappingURL=smart-routing.d.mts.map