UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

21 lines 997 B
"use strict"; // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. Object.defineProperty(exports, "__esModule", { value: true }); exports.SearchListResponsesV4PagePagination = exports.Searches = void 0; const resource_1 = require("../../resource.js"); const pagination_1 = require("../../pagination.js"); class Searches extends resource_1.APIResource { /** * Search for Load Balancing resources. */ list(params, options) { const { account_id, ...query } = params; return this._client.getAPIList(`/accounts/${account_id}/load_balancers/search`, SearchListResponsesV4PagePagination, { query, ...options }); } } exports.Searches = Searches; class SearchListResponsesV4PagePagination extends pagination_1.V4PagePagination { } exports.SearchListResponsesV4PagePagination = SearchListResponsesV4PagePagination; Searches.SearchListResponsesV4PagePagination = SearchListResponsesV4PagePagination; //# sourceMappingURL=searches.js.map