import { APIResource } from "../../../../../core/resource.mjs"; import * as PoliciesAPI from "../policies.mjs"; import { SplitTunnelIncludesSinglePage } from "../policies.mjs"; import { PagePromise } from "../../../../../core/pagination.mjs"; import { RequestOptions } from "../../../../../internal/request-options.mjs"; export declare class BaseIncludes extends APIResource { static readonly _key: readonly ['zeroTrust', 'devices', 'policies', 'custom', 'includes']; /** * Sets the list of routes included in the WARP client's tunnel for a specific * device settings profile. * * @example * ```ts * // Automatically fetches more pages as needed. * for await (const splitTunnelInclude of client.zeroTrust.devices.policies.custom.includes.update( * 'f174e90a-fafe-4643-bbbc-4a0ed4fc8415', * { * account_id: '699d98642c564d2e855e9661899b7252', * body: [{ address: '192.0.2.0/24' }], * }, * )) { * // ... * } * ``` */ update(policyID: string, params: IncludeUpdateParams, options?: RequestOptions): PagePromise; /** * Fetches the list of routes included in the WARP client's tunnel for a specific * device settings profile. * * @example * ```ts * // Automatically fetches more pages as needed. * for await (const splitTunnelInclude of client.zeroTrust.devices.policies.custom.includes.get( * 'f174e90a-fafe-4643-bbbc-4a0ed4fc8415', * { account_id: '699d98642c564d2e855e9661899b7252' }, * )) { * // ... * } * ``` */ get(policyID: string, params: IncludeGetParams, options?: RequestOptions): PagePromise; } export declare class Includes extends BaseIncludes { } export interface IncludeUpdateParams { /** * Path param */ account_id: string; /** * Body param */ body: Array; } export interface IncludeGetParams { account_id: string; } export declare namespace Includes { export { type IncludeUpdateParams as IncludeUpdateParams, type IncludeGetParams as IncludeGetParams }; } export { type SplitTunnelIncludesSinglePage }; //# sourceMappingURL=includes.d.mts.map