From 46f8238ddd43b28fc6d8595aad20b88ab4a5eed4 Mon Sep 17 00:00:00 2001 From: Pete Bacon Darwin Date: Wed, 28 Oct 2026 08:37:19 +0000 Subject: [PATCH] fix: preserve arrays in generated query flags --- .changeset/fix-query-array-flags.md | 9 ++ docs/architecture.md | 6 +- packages/cli/generator/plugin/args.ts | 8 +- .../plugin/query-array-flags.test.ts | 109 ++++++++++++++++++ .../abuse-reports/list-submitted.ts | 3 + .../_generated/accounts/logs/audit/list.ts | 45 ++++++++ .../_generated/ai-gateway/logs/delete.ts | 2 +- .../_generated/ai-gateway/logs/list.ts | 2 +- .../schemas/operations/list.ts | 3 + .../token-validation/rules/list.ts | 1 + .../brand-protection/matches/get.ts | 1 + .../threat-intel/events/aggregate.ts | 1 + .../threat-intel/events/attackers/list.ts | 1 + .../threat-intel/events/categories/list.ts | 1 + .../threat-intel/events/delete.ts | 1 + .../threat-intel/events/list.ts | 4 +- .../threat-intel/events/relationships/list.ts | 1 + .../events/target-industries/list.ts | 1 + .../threat-intel/indicators/list.ts | 5 + .../indicators/relationships/list.ts | 2 + .../threat-intel/indicators/types/list.ts | 1 + .../threat-intel/tags/actors/list.ts | 1 + .../threat-intel/tags/indicators/list.ts | 3 + .../cloudforce-one/threat-intel/tags/list.ts | 1 + .../threat-intel/tags/relationships/list.ts | 3 + .../threat-signals/articles/list.ts | 3 + .../cli/src/commands/_generated/d1/get.ts | 1 + .../_generated/email-security/domains/list.ts | 1 + .../_generated/intel/domains/bulks/get.ts | 1 + .../resources/export.ts | 14 ++- .../magic-cloud-networking/resources/list.ts | 14 ++- .../_generated/network/routes/cidr/list.ts | 1 + .../commands/_generated/organization/list.ts | 1 + .../_generated/organization/member/list.ts | 1 + .../_generated/organization/share/list.ts | 1 + .../organizations/logs/audit/get.ts | 36 ++++++ .../radar/agent-readiness/summary.ts | 2 + .../radar/ai/bots/timeseries-groups.ts | 14 +++ .../_generated/radar/ai/bots/timeseries.ts | 14 +++ .../radar/ai/inference/summary-v2.ts | 7 ++ .../ai/inference/timeseries-groups-v2.ts | 7 ++ .../radar/ai/markdown-for-agents/summary.ts | 4 + .../ai/markdown-for-agents/timeseries.ts | 4 + .../radar/ai/timeseries-groups/summary.ts | 14 +++ .../_generated/radar/annotations/list.ts | 1 + .../radar/annotations/outages/get.ts | 1 + .../_generated/radar/as112/summary-v2.ts | 9 ++ .../radar/as112/timeseries-groups-v2.ts | 9 ++ .../_generated/radar/as112/timeseries.ts | 9 ++ .../_generated/radar/as112/top/dnssec.ts | 6 + .../_generated/radar/as112/top/edns.ts | 6 + .../_generated/radar/as112/top/ip-version.ts | 6 + .../_generated/radar/as112/top/locations.ts | 6 + .../radar/attacks/layer3/summary-v2.ts | 8 ++ .../attacks/layer3/timeseries-groups-v2.ts | 8 ++ .../radar/attacks/layer3/timeseries.ts | 9 ++ .../radar/attacks/layer3/top/attacks.ts | 8 ++ .../attacks/layer3/top/locations/origin.ts | 8 ++ .../attacks/layer3/top/locations/target.ts | 8 ++ .../radar/attacks/layer7/summary-v2.ts | 11 ++ .../attacks/layer7/timeseries-groups-v2.ts | 11 ++ .../radar/attacks/layer7/timeseries.ts | 11 ++ .../radar/attacks/layer7/top/ases/origin.ts | 10 ++ .../radar/attacks/layer7/top/attacks.ts | 8 ++ .../attacks/layer7/top/locations/origin.ts | 10 ++ .../attacks/layer7/top/locations/target.ts | 6 + .../_generated/radar/bgp/ips/timeseries.ts | 7 ++ .../radar/bgp/rpki/aspa/timeseries.ts | 3 + .../radar/bgp/rpki/roas/timeseries.ts | 3 + .../_generated/radar/bgp/timeseries.ts | 7 ++ .../_generated/radar/bgp/top/ases/get.ts | 7 ++ .../_generated/radar/bgp/top/prefixes.ts | 6 + .../commands/_generated/radar/bots/summary.ts | 12 ++ .../radar/bots/timeseries-groups.ts | 12 ++ .../_generated/radar/bots/timeseries.ts | 12 ++ .../radar/bots/web-crawlers/summary.ts | 10 ++ .../bots/web-crawlers/timeseries-groups.ts | 10 ++ .../commands/_generated/radar/ct/summary.ts | 19 +++ .../_generated/radar/ct/timeseries-groups.ts | 19 +++ .../_generated/radar/ct/timeseries.ts | 19 +++ .../_generated/radar/dns/summary-v2.ts | 19 +++ .../radar/dns/timeseries-groups-v2.ts | 19 +++ .../_generated/radar/dns/timeseries.ts | 19 +++ .../commands/_generated/radar/dns/top/ases.ts | 19 +++ .../_generated/radar/dns/top/locations.ts | 20 ++++ .../radar/email/routing/summary-v2.ts | 10 ++ .../email/routing/timeseries-groups-v2.ts | 10 ++ .../radar/email/security/summary-v2.ts | 9 ++ .../email/security/timeseries-groups-v2.ts | 9 ++ .../radar/email/security/top/tlds/get.ts | 9 ++ .../email/security/top/tlds/malicious/get.ts | 9 ++ .../radar/email/security/top/tlds/spam/get.ts | 9 ++ .../email/security/top/tlds/spoof/get.ts | 9 ++ .../radar/entities/asns/botnet-threat-feed.ts | 1 + .../radar/http/ases/bot-class/get.ts | 15 +++ .../radar/http/ases/browser-family/get.ts | 15 +++ .../radar/http/ases/device-type/get.ts | 15 +++ .../_generated/radar/http/ases/get.ts | 16 +++ .../radar/http/ases/http-method/get.ts | 15 +++ .../radar/http/ases/http-protocol/get.ts | 15 +++ .../radar/http/ases/ip-version/get.ts | 15 +++ .../_generated/radar/http/ases/os/get.ts | 15 +++ .../radar/http/ases/tls-version/get.ts | 15 +++ .../radar/http/locations/bot-class/get.ts | 15 +++ .../http/locations/browser-family/get.ts | 15 +++ .../radar/http/locations/device-type/get.ts | 15 +++ .../_generated/radar/http/locations/get.ts | 16 +++ .../radar/http/locations/http-method/get.ts | 15 +++ .../radar/http/locations/http-protocol/get.ts | 15 +++ .../radar/http/locations/ip-version/get.ts | 15 +++ .../_generated/radar/http/locations/os/get.ts | 15 +++ .../radar/http/locations/tls-version/get.ts | 15 +++ .../_generated/radar/http/summary-v2.ts | 17 +++ .../radar/http/timeseries-groups-v2.ts | 17 +++ .../_generated/radar/http/timeseries.ts | 18 +++ .../radar/leaked-credentials/summary-v2.ts | 9 ++ .../timeseries-groups-v2.ts | 10 ++ .../_generated/radar/netflows/summary-v2.ts | 9 ++ .../radar/netflows/timeseries-groups.ts | 9 ++ .../_generated/radar/netflows/timeseries.ts | 9 ++ .../_generated/radar/netflows/top/ases.ts | 8 ++ .../radar/netflows/top/locations.ts | 8 ++ .../_generated/radar/origins/summary.ts | 6 + .../radar/origins/timeseries-groups.ts | 6 + .../_generated/radar/origins/timeseries.ts | 6 + .../radar/post-quantum/origin/summary.ts | 4 + .../post-quantum/origin/timeseries-groups.ts | 4 + .../_generated/radar/quality/iqi/summary.ts | 7 ++ .../radar/quality/iqi/timeseries-groups.ts | 7 ++ .../radar/quality/speed/histogram.ts | 5 + .../_generated/radar/quality/speed/summary.ts | 5 + .../radar/quality/speed/top/ases.ts | 5 + .../radar/quality/speed/top/locations.ts | 5 + .../_generated/radar/ranking/domain/get.ts | 2 + .../ranking/internet-services/categories.ts | 2 + .../internet-services/timeseries-groups.ts | 5 + .../radar/ranking/internet-services/top.ts | 3 + .../radar/ranking/timeseries-groups.ts | 7 ++ .../commands/_generated/radar/ranking/top.ts | 4 + .../radar/robots-txt/top/domain-categories.ts | 2 + .../robots-txt/top/user-agents/directive.ts | 3 + .../_generated/radar/search/global.ts | 2 + .../radar/tcp-resets-timeouts/summary.ts | 7 ++ .../tcp-resets-timeouts/timeseries-groups.ts | 7 ++ .../radar/tlds/performance/summary.ts | 7 ++ .../tlds/performance/timeseries-groups.ts | 7 ++ .../_generated/radar/traffic-anomalies/get.ts | 1 + .../realtime/kit/recordings/list.ts | 1 + .../registrar-sandbox/registrations/search.ts | 1 + .../registrar/registrations/search.ts | 1 + .../_generated/resource-sharing/list.ts | 2 + .../_generated/secrets-store/secrets/list.ts | 1 + .../security-insights/count/by-class.ts | 24 +++- .../security-insights/count/by-severity.ts | 24 +++- .../security-insights/count/by-type.ts | 24 +++- .../_generated/security-insights/list.ts | 24 +++- .../spectrum/analytics/events/bytimes/get.ts | 3 + .../analytics/events/summaries/get.ts | 3 + .../_generated/ssl/mtls-certificates/list.ts | 1 + .../_generated/tags/resources/list.ts | 3 + .../src/commands/_generated/tunnels/list.ts | 1 + .../web-assets/discovery/operations/list.ts | 2 + .../_generated/web-assets/operations/get.ts | 1 + .../_generated/web-assets/operations/list.ts | 3 + .../_generated/web-assets/schemas/list.ts | 3 + .../_generated/zaraz/history/configs/get.ts | 1 + .../access/logs/scim/updates/list.ts | 8 ++ .../zero-trust/access/targets/list.ts | 3 + .../zero-trust/casb/finding-types/list.ts | 4 + .../casb/findings/instances/list.ts | 3 + .../zero-trust/casb/remediations/jobs/list.ts | 1 + .../_generated/zero-trust/devices/list.ts | 2 + .../devices/registrations/bulk-delete.ts | 1 + .../zero-trust/devices/registrations/list.ts | 12 +- .../zero-trust/dex/overview/tests/list.ts | 1 + .../dex/overview/tests/unique-devices/get.ts | 1 + .../zero-trust/dex/test-results/http/get.ts | 1 + .../dex/test-results/http/percentiles/get.ts | 1 + .../dex/test-results/traceroute/get.ts | 1 + .../traceroute/percentiles/get.ts | 1 + .../zero-trust/gateway/lists/list.ts | 1 + .../zero-trust/gateway/locations/list.ts | 1 + .../gateway/proxy-endpoints/list.ts | 1 + .../zero-trust/gateway/rules/list.ts | 1 + .../identity-providers/scim/groups/list.ts | 2 + .../identity-providers/scim/users/list.ts | 2 + .../cli/src/commands/_generated/zones/list.ts | 1 + 187 files changed, 1475 insertions(+), 43 deletions(-) create mode 100644 .changeset/fix-query-array-flags.md create mode 100644 packages/cli/src/__tests__/generator/plugin/query-array-flags.test.ts diff --git a/.changeset/fix-query-array-flags.md b/.changeset/fix-query-array-flags.md new file mode 100644 index 0000000000..a7119ee520 --- /dev/null +++ b/.changeset/fix-query-array-flags.md @@ -0,0 +1,9 @@ +--- +"cf": patch +--- + +Preserve arrays in generated query parameter flags + +Accept multiple values after a query array flag, such as `--ids first second`, +while retaining support for repeated flags. Parse single values as arrays and +preserve each operation's repeated-key or comma-separated query serialization. diff --git a/docs/architecture.md b/docs/architecture.md index 9474a30f29..8f01123202 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -470,9 +470,9 @@ to know before editing `generator/plugin/`. - Per-field-flag `demandOption: true` is suppressed when `--body` is also supported (so `--body @file` isn't rejected by yargs for missing required fields — handler-time enforcement instead). -- Array-typed body params (e.g. KV bulk-get's `--keys`) emit - `array: true, string: true` so users can do `--keys k1 k2` instead - of fighting JSON-string-as-array. +- Array-typed body and query params (e.g. KV bulk-get's `--keys`) emit + `type: "string", array: true` so users can do `--keys k1 k2` or repeat + the flag. Query serialization follows the operation's `explode` setting. ### `@file` token (universal file ingestion) diff --git a/packages/cli/generator/plugin/args.ts b/packages/cli/generator/plugin/args.ts index 97030d3a3e..948ee62925 100644 --- a/packages/cli/generator/plugin/args.ts +++ b/packages/cli/generator/plugin/args.ts @@ -638,11 +638,9 @@ function queryParams( const isEnum = p.enumValues !== undefined && p.enumValues.length > 0; const type: ArgType = isEnum ? "enum" - : p.type === "number" - ? "number" - : p.type === "boolean" - ? "boolean" - : "string"; + : p.type === "number" || p.type === "boolean" || p.type === "array" + ? p.type + : "string"; const a = arg( name, description, diff --git a/packages/cli/src/__tests__/generator/plugin/query-array-flags.test.ts b/packages/cli/src/__tests__/generator/plugin/query-array-flags.test.ts new file mode 100644 index 0000000000..10104fc3fe --- /dev/null +++ b/packages/cli/src/__tests__/generator/plugin/query-array-flags.test.ts @@ -0,0 +1,109 @@ +import { stripTypeScriptTypes } from "node:module"; +import { Script } from "node:vm"; +import { describe, expect, it } from "vite-plus/test"; +import yargs, { type CommandModule } from "yargs"; +import { Client, type Operation } from "../../../api/client.js"; +import { path } from "../../../api/path.js"; +import { generateFiles } from "../../helpers/cli-plugin.js"; + +describe.each([undefined, false])("query arrays (explode: %s)", (explode) => { + const files = generateFiles({ + openapi: "3.0.3", + info: { title: "Query arrays", version: "1" }, + paths: { + "/things": { + get: { + "x-fern-sdk-group-name": "things", + "x-fern-sdk-method-name": "list", + summary: "List things", + parameters: [ + { + name: "indicatorIds", + in: "query", + required: true, + ...(explode === undefined ? {} : { explode }), + schema: { type: "array", items: { type: "string" } }, + }, + ], + responses: { + "200": { + description: "OK", + content: { "application/json": { schema: { type: "object" } } }, + }, + }, + }, + }, + }, + }); + const operationSource = stripTypeScriptTypes( + files.get("_operations/things/list.ts") ?? "" + ) + .replace(/^import[\s\S]*?;\n/gm, "") + .replace("export default", "const operation ="); + const operation = new Script( + `${operationSource}\noperation;` + ).runInNewContext({ + path, + }) as Operation; + const source = stripTypeScriptTypes(files.get("things/list.ts") ?? "") + .replace(/^import[\s\S]*?;\n/gm, "") + .replace("export default command;", "command;"); + + async function run(flags: string[]) { + const urls: URL[] = []; + const client = new Client({ + baseUrl: "https://api.example.test", + fetch: async (input) => { + urls.push(new URL(input instanceof Request ? input.url : input)); + return Response.json({ success: true, result: [] }); + }, + }); + const command = new Script(source).runInNewContext({ + operation, + createCommandClient: async () => client, + formatOutput: () => {}, + withProgress: async (_label: string, task: () => Promise) => + task(), + runWithTelemetry: ( + _info: unknown, + _argv: unknown, + task: () => Promise + ) => task(), + }) as CommandModule; + const argv = await yargs(["list", ...flags]) + .exitProcess(false) + .command(command) + .strict() + .fail((message, error) => { + throw error ?? new Error(message); + }) + .parseAsync(); + return { argv, urls }; + } + + it.each([ + { flags: ["--indicator-ids", "001"], expected: ["001"] }, + { + flags: ["--indicator-ids", "001", "a/b &c"], + expected: ["001", "a/b &c"], + }, + { + flags: ["--indicator-ids", "001", "--indicator-ids", "a/b &c"], + expected: ["001", "a/b &c"], + }, + ])("parses and serializes $flags", async ({ flags, expected }) => { + const { argv, urls } = await run(flags); + expect(argv["indicator-ids"]).toEqual(expected); + expect(urls).toHaveLength(1); + expect(urls[0]?.searchParams.getAll("indicatorIds")).toEqual( + explode === false ? [expected.join(",")] : expected + ); + expect(urls[0]?.searchParams.has("indicator-ids")).toBe(false); + }); + + it("requires the array flag", async () => { + await expect(run([])).rejects.toThrow( + "Missing required argument: indicator-ids" + ); + }); +}); diff --git a/packages/cli/src/commands/_generated/abuse-reports/list-submitted.ts b/packages/cli/src/commands/_generated/abuse-reports/list-submitted.ts index 1fbfe9ae36..3cd9bb3864 100644 --- a/packages/cli/src/commands/_generated/abuse-reports/list-submitted.ts +++ b/packages/cli/src/commands/_generated/abuse-reports/list-submitted.ts @@ -38,6 +38,7 @@ function builder(yargs: Argv) { .option("id", { type: "string", description: "Filter by report code." }) .option("domain", { type: "string", + array: true, description: "Filter by reported domain. This parameter can be specified multiple times.", }) @@ -51,11 +52,13 @@ function builder(yargs: Argv) { }) .option("status", { type: "string", + array: true, description: "Filter by submitter-facing status. This parameter can be specified multiple times.", }) .option("type", { type: "string", + array: true, description: "Filter by report type. This parameter can be specified multiple times.", }) diff --git a/packages/cli/src/commands/_generated/accounts/logs/audit/list.ts b/packages/cli/src/commands/_generated/accounts/logs/audit/list.ts index ef9c5ed955..4bbc8dce05 100644 --- a/packages/cli/src/commands/_generated/accounts/logs/audit/list.ts +++ b/packages/cli/src/commands/_generated/accounts/logs/audit/list.ts @@ -24,201 +24,246 @@ function builder(yargs: Argv) { ) .option("account-name", { type: "string", + array: true, description: "Filters by the account name.", }) .option("action-result", { type: "string", + array: true, description: "Filters by whether the action was successful or not.", }) .option("action-type", { type: "string", + array: true, description: "Filters by the action type.", }) .option("actor-context", { type: "string", + array: true, description: "Filters by the actor context.\n- `api`: The action was performed through the API. The specific credential type was not recorded.\n- `api_key`: The action was authenticated with a Cloudflare Global API Key.\n- `api_token`: The action was authenticated with an API token.\n- `dash`: The action was performed through the Cloudflare dashboard.\n- `oauth`: The action was authenticated with an OAuth token.\n- `origin_ca_key`: The action was authenticated with an Origin CA key.", }) .option("actor-email", { type: "string", + array: true, description: "Filters by the actor's email address.", }) .option("actor-id", { type: "string", + array: true, description: "Filters by the actor ID. This can be either the Account ID or User ID.", }) .option("actor-ip-address", { type: "string", + array: true, description: "The IP address where the action was initiated.", }) .option("actor-token-id", { type: "string", + array: true, description: "Filters by the API token ID when the actor context is an api_token or oauth.", }) .option("actor-token-name", { type: "string", + array: true, description: "Filters by the API token name when the actor context is an api_token or oauth.", }) .option("actor-type", { type: "string", + array: true, description: "Filters by the actor type.", }) .option("audit-log-id", { type: "string", + array: true, description: "Finds a specific log by its ID.", }) .option("id", { type: "string", + array: true, description: "Finds a specific log by its ID.", }) .option("raw-cf-ray-id", { type: "string", + array: true, description: "Filters by the response CF Ray ID.", }) .option("raw-method", { type: "string", + array: true, description: "The HTTP method for the API call.", }) .option("raw-status-code", { type: "string", + array: true, description: "The response status code that was returned.", }) .option("raw-uri", { type: "string", + array: true, description: "Filters by the request URI.", }) .option("resource-id", { type: "string", + array: true, description: "Filters by the resource ID.", }) .option("resource-product", { type: "string", + array: true, description: "Filters audit logs by the Cloudflare product associated with the changed resource.", }) .option("resource-type", { type: "string", + array: true, description: "Filters audit logs based on the unique type of resource changed by the action.", }) .option("resource-scope", { type: "string", + array: true, description: "Filters by the resource scope, specifying whether the resource is associated with an user, an account, a zone, or a membership.", }) .option("product-category", { type: "string", + array: true, description: "Filters audit logs by one or more predefined product categories. Each product category expands into a curated set of resource_product values and is unioned with any explicit resource_product filter. Matched case-insensitively; unknown product categories return 400. Repeatable. Use the audit log product categories endpoint to discover the available values.", }) .option("zone-id", { type: "string", + array: true, description: "Filters by the zone ID.", }) .option("zone-name", { type: "string", + array: true, description: "Filters by the zone name associated with the change.", }) .option("account-name-not", { type: "string", + array: true, description: "Filters out audit logs by the account name.", }) .option("action-result-not", { type: "string", + array: true, description: "Filters out audit logs by whether the action was successful or not.", }) .option("action-type-not", { type: "string", + array: true, description: "Filters out audit logs by the action type.", }) .option("actor-context-not", { type: "string", + array: true, description: "Filters out audit logs by the actor context.\n- `api`: The action was performed through the API. The specific credential type was not recorded.\n- `api_key`: The action was authenticated with a Cloudflare Global API Key.\n- `api_token`: The action was authenticated with an API token.\n- `dash`: The action was performed through the Cloudflare dashboard.\n- `oauth`: The action was authenticated with an OAuth token.\n- `origin_ca_key`: The action was authenticated with an Origin CA key.", }) .option("actor-email-not", { type: "string", + array: true, description: "Filters out audit logs by the actor's email address.", }) .option("actor-id-not", { type: "string", + array: true, description: "Filters out audit logs by the actor ID. This can be either the Account ID or User ID.", }) .option("actor-ip-address-not", { type: "string", + array: true, description: "Filters out audit logs IP address where the action was initiated.", }) .option("actor-token-id-not", { type: "string", + array: true, description: "Filters out audit logs by the API token ID when the actor context is an api_token or oauth.", }) .option("actor-token-name-not", { type: "string", + array: true, description: "Filters out audit logs by the API token name when the actor context is an api_token or oauth.", }) .option("actor-type-not", { type: "string", + array: true, description: "Filters out audit logs by the actor type.", }) .option("audit-log-id-not", { type: "string", + array: true, description: "Filters out audit logs by their IDs.", }) .option("id-not", { type: "string", + array: true, description: "Filters out audit logs by their IDs.", }) .option("raw-cf-ray-id-not", { type: "string", + array: true, description: "Filters out audit logs by the response CF Ray ID.", }) .option("raw-method-not", { type: "string", + array: true, description: "Filters out audit logs by the HTTP method for the API call.", }) .option("raw-status-code-not", { type: "string", + array: true, description: "Filters out audit logs by the response status code that was returned.", }) .option("raw-uri-not", { type: "string", + array: true, description: "Filters out audit logs by the request URI.", }) .option("resource-id-not", { type: "string", + array: true, description: "Filters out audit logs by the resource ID.", }) .option("resource-product-not", { type: "string", + array: true, description: "Filters out audit logs by the Cloudflare product associated with the changed resource.", }) .option("resource-type-not", { type: "string", + array: true, description: "Filters out audit logs based on the unique type of resource changed by the action.", }) .option("resource-scope-not", { type: "string", + array: true, description: "Filters out audit logs by the resource scope, specifying whether the resource is associated with an user, an account, a zone, or a membership.", }) .option("zone-id-not", { type: "string", + array: true, description: "Filters out audit logs by the zone ID.", }) .option("zone-name-not", { type: "string", + array: true, description: "Filters out audit logs by the zone name associated with the change.", }) diff --git a/packages/cli/src/commands/_generated/ai-gateway/logs/delete.ts b/packages/cli/src/commands/_generated/ai-gateway/logs/delete.ts index 04cc80278c..9756a240e3 100644 --- a/packages/cli/src/commands/_generated/ai-gateway/logs/delete.ts +++ b/packages/cli/src/commands/_generated/ai-gateway/logs/delete.ts @@ -50,7 +50,7 @@ function builder(yargs: Argv) { description: "Order by direction", choices: ["asc", "desc"], }) - .option("filters", { type: "string", description: "Filters" }) + .option("filters", { type: "string", array: true, description: "Filters" }) .option("limit", { type: "number", description: "Limit" }) .option("dry-run", { type: "boolean", diff --git a/packages/cli/src/commands/_generated/ai-gateway/logs/list.ts b/packages/cli/src/commands/_generated/ai-gateway/logs/list.ts index f59ab89e26..ff22bc0136 100644 --- a/packages/cli/src/commands/_generated/ai-gateway/logs/list.ts +++ b/packages/cli/src/commands/_generated/ai-gateway/logs/list.ts @@ -50,7 +50,7 @@ function builder(yargs: Argv) { description: "Order by direction", choices: ["asc", "desc"], }) - .option("filters", { type: "string", description: "Filters" }) + .option("filters", { type: "string", array: true, description: "Filters" }) .option("meta-info", { type: "boolean", description: "Meta info" }) .option("direction", { type: "string", diff --git a/packages/cli/src/commands/_generated/api-security/schema-validation/schemas/operations/list.ts b/packages/cli/src/commands/_generated/api-security/schema-validation/schemas/operations/list.ts index a7267b4f68..e9acc61c86 100644 --- a/packages/cli/src/commands/_generated/api-security/schema-validation/schemas/operations/list.ts +++ b/packages/cli/src/commands/_generated/api-security/schema-validation/schemas/operations/list.ts @@ -24,15 +24,18 @@ function builder(yargs: Argv) { }) .option("feature", { type: "string", + array: true, description: "Add feature(s) to the results. The feature name that is given here corresponds to the resulting feature object. Have a look at the top-level object description for more details on the specific meaning.", }) .option("host", { type: "string", + array: true, description: "Filter results to only include the specified hosts.", }) .option("method", { type: "string", + array: true, description: "Filter results to only include the specified HTTP methods.", }) .option("endpoint", { diff --git a/packages/cli/src/commands/_generated/api-security/token-validation/rules/list.ts b/packages/cli/src/commands/_generated/api-security/token-validation/rules/list.ts index 0b7c41ab27..c2d9ad2cfd 100644 --- a/packages/cli/src/commands/_generated/api-security/token-validation/rules/list.ts +++ b/packages/cli/src/commands/_generated/api-security/token-validation/rules/list.ts @@ -27,6 +27,7 @@ function builder(yargs: Argv) { }) .option("token-configuration", { type: "string", + array: true, description: "Select rules using any of these token configurations.", }) .option("action", { diff --git a/packages/cli/src/commands/_generated/brand-protection/matches/get.ts b/packages/cli/src/commands/_generated/brand-protection/matches/get.ts index 8c79232306..7af5669101 100644 --- a/packages/cli/src/commands/_generated/brand-protection/matches/get.ts +++ b/packages/cli/src/commands/_generated/brand-protection/matches/get.ts @@ -26,6 +26,7 @@ function builder(yargs: Argv) { .option("limit", { type: "string", description: "Limit" }) .option("query-id", { type: "string", + array: true, description: "Query ID or comma-separated list of Query IDs. When multiple IDs are provided, matches are deduplicated across queries and each match includes a match_details array with per-match query metadata and dismissed state.", demandOption: true, diff --git a/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/events/aggregate.ts b/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/events/aggregate.ts index f4401038c6..245c116cfa 100644 --- a/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/events/aggregate.ts +++ b/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/events/aggregate.ts @@ -30,6 +30,7 @@ function builder(yargs: Argv) { }) .option("dataset-id", { type: "string", + array: true, description: "Dataset UUIDs to filter by, or one standalone scope value: 'all'/'*' or 'operational' for readable intelligence datasets (isAnalytics=false), or 'analytics' for readable analytics datasets (isAnalytics=true). Scope values query at most 50 datasets. If not provided, uses the default dataset.", }) diff --git a/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/events/attackers/list.ts b/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/events/attackers/list.ts index 2b2ae81dcf..8edbb1b1cf 100644 --- a/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/events/attackers/list.ts +++ b/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/events/attackers/list.ts @@ -24,6 +24,7 @@ function builder(yargs: Argv) { ) .option("dataset-ids", { type: "string", + array: true, description: "Array of dataset IDs to query attackers from. If not provided, uses the default dataset.", }) diff --git a/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/events/categories/list.ts b/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/events/categories/list.ts index 435c6e90ae..6302740e07 100644 --- a/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/events/categories/list.ts +++ b/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/events/categories/list.ts @@ -24,6 +24,7 @@ function builder(yargs: Argv) { ) .option("dataset-ids", { type: "string", + array: true, description: "Array of dataset IDs to query categories from. If not provided, uses the default dataset.", }) diff --git a/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/events/delete.ts b/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/events/delete.ts index c5cfdb5d9f..cb15ed65d3 100644 --- a/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/events/delete.ts +++ b/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/events/delete.ts @@ -30,6 +30,7 @@ function builder(yargs: Argv) { }) .option("event-ids", { type: "string", + array: true, description: "Array of Event IDs to delete.", demandOption: true, }) diff --git a/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/events/list.ts b/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/events/list.ts index d614eb343b..db4e310451 100644 --- a/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/events/list.ts +++ b/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/events/list.ts @@ -27,9 +27,10 @@ function builder(yargs: Argv) { description: "Cursor for pagination. When provided, filters are embedded in the cursor so you only need to pass cursor and pageSize. Returned in the previous response's result_info.cursor field. Use cursor-based pagination for deep pagination (beyond 100,000 records) or for optimal performance.", }) - .option("search", { type: "string", description: "Search" }) + .option("search", { type: "string", array: true, description: "Search" }) .option("search-branches", { type: "string", + array: true, description: "JSON-encoded. OR branches of structured search filters. Filters within a branch are AND'd, branches are OR'd, and the result is AND'd with `search`: `AND(search) AND OR(AND(branch 1), ...)`. Max 8 branches of 1-10 conditions each. Not supported for analytics datasets, and `indicator` filters are not yet supported inside branches. Cursor pages carry the original branches, so do not resend them with `cursor`.", }) @@ -50,6 +51,7 @@ function builder(yargs: Argv) { }) .option("dataset-id", { type: "string", + array: true, description: "Dataset UUIDs to query, or one standalone scope value: 'all'/'*' or 'operational' for readable intelligence datasets (isAnalytics=false), or 'analytics' for readable analytics datasets (isAnalytics=true). Scope values query at most 50 datasets. If not provided, uses the default dataset.", }) diff --git a/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/events/relationships/list.ts b/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/events/relationships/list.ts index 54e373c2ed..ace1bac4ad 100644 --- a/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/events/relationships/list.ts +++ b/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/events/relationships/list.ts @@ -43,6 +43,7 @@ function builder(yargs: Argv) { }) .option("indicator-type-ids", { type: "string", + array: true, description: "An optional array of indicator type IDs to filter the results by.", }) diff --git a/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/events/target-industries/list.ts b/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/events/target-industries/list.ts index 467772df09..fdad085a8c 100644 --- a/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/events/target-industries/list.ts +++ b/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/events/target-industries/list.ts @@ -24,6 +24,7 @@ function builder(yargs: Argv) { ) .option("dataset-ids", { type: "string", + array: true, description: "Array of dataset IDs to query target industries from. If not provided, uses the default dataset.", }) diff --git a/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/indicators/list.ts b/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/indicators/list.ts index c3f6a647c4..8e76e93b22 100644 --- a/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/indicators/list.ts +++ b/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/indicators/list.ts @@ -24,6 +24,7 @@ function builder(yargs: Argv) { ) .option("dataset-ids", { type: "string", + array: true, description: "Dataset UUIDs to query, or one standalone scope value: 'all'/'*' or 'operational' for readable intelligence datasets (isAnalytics=false), or 'analytics' for readable analytics datasets (isAnalytics=true). If not provided, uses the default dataset.", }) @@ -31,6 +32,7 @@ function builder(yargs: Argv) { .option("page-size", { type: "number", description: "PageSize" }) .option("search", { type: "string", + array: true, description: 'Structured search as a JSON array of {field, op, value} objects. Searchable fields: value, indicatorType, uuid. Supports operators: equals, not, contains, startsWith, endsWith, gt, lt, gte, lte, like, in, find. Use the \'in\' operator with an array value to bulk-check up to 100 indicators in a single request, e.g. search=[{"field":"value","op":"in","value":["evil.com","bad.org"]}]. Multiple conditions are AND\'d together. Max 10 conditions per request.', }) @@ -42,15 +44,18 @@ function builder(yargs: Argv) { .option("indicator-type", { type: "string", description: "IndicatorType" }) .option("related-events", { type: "string", + array: true, description: "Filter by related event IDs", }) .option("tags", { type: "string", + array: true, description: "Filter by tag values or UUIDs. Indicators must have at least one of the specified tags (OR logic). Supports both tag UUID and tag value.", }) .option("tag-search", { type: "string", + array: true, description: 'Structured tag-metadata filter as a JSON array of {field, op, value} objects. Operates against the per-dataset IndicatorTag mirror so you can find indicators by tag attributes (origin country, motive, sophistication, priority, etc.) without a separate Tags lookup. Common dashboard usage: drill from a country into indicators, e.g. tagSearch=[{"field":"originCountryISO","op":"in","value":["IR","CN"]}]. Country values may be passed as alpha-2, alpha-3, name, or alias (e.g. "iran"). Operators: equals, not, gt/gte/lt/lte (numeric only), contains/like/find/startsWith/endsWith (string only), in. AND-joined across entries; combined with `tags`, a matching tag must satisfy both. Max 10 entries per request, max 100 values per \'in\'. Performance notes: `originCountryISO` uses its B-tree index for equals/not/in. `priority` uses its B-tree index for numeric comparisons. Other string columns (`actorCategory`, `motive`, etc.) are case-insensitive and unindexed; current catalog size makes this a non-issue. `endsWith` and `aliasGroupNames` contains/like are leading-wildcard scans and slow on large result sets. `aliasGroupNames` matches on the JSON-encoded text, so substrings can cross alias boundaries ("apt28" also matches "apt280" when both appear in the same tag\'s alias list).', }) diff --git a/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/indicators/relationships/list.ts b/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/indicators/relationships/list.ts index ea2881e4f3..8f3d139fbf 100644 --- a/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/indicators/relationships/list.ts +++ b/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/indicators/relationships/list.ts @@ -34,11 +34,13 @@ function builder(yargs: Argv) { }) .option("search", { type: "string", + array: true, description: 'JSON array of {field, op, value} filters, AND-combined. Fields: entityType (other-end type), type (relationship type), confidence (0–100), metadata.. Example: [{"field":"type","op":"equals","value":"appears_in"},{"field":"confidence","op":"gte","value":50}]', }) .option("expand", { type: "string", + array: true, description: "Comma-separated entity types to hydrate (event, indicator, tag).", }) diff --git a/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/indicators/types/list.ts b/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/indicators/types/list.ts index 305136ebe5..d303e4df67 100644 --- a/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/indicators/types/list.ts +++ b/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/indicators/types/list.ts @@ -24,6 +24,7 @@ function builder(yargs: Argv) { ) .option("dataset-ids", { type: "string", + array: true, description: "Dataset UUIDs to query, or one standalone scope value: 'operational' for readable intelligence datasets (isAnalytics=false), 'analytics' for readable analytics datasets (isAnalytics=true), or 'all'/'*' for every readable dataset including analytics datasets. If not provided, queries all accessible datasets, including analytics datasets.", }) diff --git a/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/tags/actors/list.ts b/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/tags/actors/list.ts index a6446715c4..fe15f7a3b2 100644 --- a/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/tags/actors/list.ts +++ b/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/tags/actors/list.ts @@ -30,6 +30,7 @@ function builder(yargs: Argv) { }) .option("filters", { type: "string", + array: true, description: 'Structured filters as a JSON array of {field, op, value} objects. Same shape as the events search API. Common use: filter actors by country with filters=[{"field":"originCountryISO","op":"in","value":["IR","CN"]}]. Country values may be passed as alpha-2, alpha-3, name, or alias (e.g. "iran"). Max 10 entries per request, max 100 values per \'in\'. Accounts other than the catalog owner may only filter on fields that are also public-readable (`uuid`, `value`, `categoryName`, `aliasGroupNames`, `originCountryISO`); filtering on a redacted field returns 400. `uuid` filters accept only the `equals` and `in` operators. Performance notes: `originCountryISO` uses its B-tree index for equals/in. `endsWith` and `aliasGroupNames` contains/like are leading-wildcard scans and slow on large result sets. `aliasGroupNames` matches on JSON-encoded text, so substrings can cross alias boundaries ("apt28" also matches "apt280" when both appear in the same tag\'s alias list).', }) diff --git a/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/tags/indicators/list.ts b/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/tags/indicators/list.ts index fdafb2f883..5ecaf81516 100644 --- a/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/tags/indicators/list.ts +++ b/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/tags/indicators/list.ts @@ -29,6 +29,7 @@ function builder(yargs: Argv) { }) .option("dataset-ids", { type: "string", + array: true, description: "Dataset UUIDs to scope to (repeat the param for multiple), or one standalone scope value: 'all'/'*' or 'operational' for readable intelligence datasets (isAnalytics=false), or 'analytics' for readable analytics datasets (isAnalytics=true). Analytics datasets do not expose tag associations, so 'analytics' returns an empty result. Omit for 'all'.", }) @@ -37,11 +38,13 @@ function builder(yargs: Argv) { .option("indicator-type", { type: "string", description: "IndicatorType" }) .option("related-event", { type: "string", + array: true, description: "Filter indicators by related event UUID(s). Multiple UUIDs can be provided by repeating the parameter.", }) .option("search", { type: "string", + array: true, description: "Structured search as a JSON array of {field, op, value} objects. Searchable fields: value, indicatorType. Multiple conditions are AND'd together. Max 10 conditions per request.", }) diff --git a/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/tags/list.ts b/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/tags/list.ts index 0d79ff346e..1f99e9da2a 100644 --- a/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/tags/list.ts +++ b/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/tags/list.ts @@ -32,6 +32,7 @@ function builder(yargs: Argv) { .option("category-uuid", { type: "string", description: "CategoryUuid" }) .option("filters", { type: "string", + array: true, description: 'Structured filters as a JSON array of {field, op, value} objects. Searchable fields: uuid, value, categoryName, description, dateOfDiscovery, tlp, confidence, actorCategory, motive, attributionOrganization, originCountryISO, aliases, externalReferences, opsecLevel, sophisticationLevel, activeDuration, priority, lastSeen, aliasGroupNames. Operators: equals, not, contains, startsWith, endsWith, gt, lt, gte, lte, like, in, find. Use \'in\' for bulk OR within a single field, e.g. filters=[{"field":"originCountryISO","op":"in","value":["IR","CN"]}]. Multiple entries are AND-joined. Max 10 entries per request, max 100 values per \'in\'. Per-field notes: `uuid` accepts only \'equals\' and \'in\' (other operators throw ValidationError) — matched against the canonical lowercase storage but callers may pass either case (the server lowercases before comparison); index-backed by the column\'s UNIQUE constraint and intended for batched UUID → tag resolution. `originCountryISO` uses its B-tree index for equals/not/in. `priority` uses its B-tree index for numeric comparisons. Other string columns (`actorCategory`, `motive`, etc.) are case-insensitive and unindexed; current catalog size makes this a non-issue. `endsWith` and `aliasGroupNames` contains/like are leading-wildcard scans and slow on large result sets. `aliasGroupNames` matches on the JSON-encoded text, so substrings can cross alias boundaries (a search for "apt28" will also match "apt280" if both appear in the same tag\'s alias list).', }) diff --git a/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/tags/relationships/list.ts b/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/tags/relationships/list.ts index dc5e21bfc6..e5f31739d7 100644 --- a/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/tags/relationships/list.ts +++ b/packages/cli/src/commands/_generated/cloudforce-one/threat-intel/tags/relationships/list.ts @@ -29,16 +29,19 @@ function builder(yargs: Argv) { }) .option("datasets", { type: "string", + array: true, description: "Comma-separated dataset UUIDs to scope to, or one standalone scope value: 'all'/'*' or 'operational' for readable intelligence datasets (isAnalytics=false), or 'analytics' for readable analytics datasets (isAnalytics=true). Analytics datasets do not expose tag associations, so 'analytics' returns an empty result. Omit for 'all'.", }) .option("search", { type: "string", + array: true, description: "JSON array of {field, op, value} filters (same as indicator list search).", }) .option("expand", { type: "string", + array: true, description: "Comma-separated entity types to hydrate (event, indicator, tag).", }) diff --git a/packages/cli/src/commands/_generated/cloudforce-one/threat-signals/articles/list.ts b/packages/cli/src/commands/_generated/cloudforce-one/threat-signals/articles/list.ts index 16d926a2de..6e1f729183 100644 --- a/packages/cli/src/commands/_generated/cloudforce-one/threat-signals/articles/list.ts +++ b/packages/cli/src/commands/_generated/cloudforce-one/threat-signals/articles/list.ts @@ -39,6 +39,7 @@ function builder(yargs: Argv) { }) .option("article-id", { type: "string", + array: true, description: "Repeatable article UUID filter. Returns the union of matching account-owned articles; use this to list every Threat Signals article referenced by an indicator's sources.", }) @@ -49,11 +50,13 @@ function builder(yargs: Argv) { }) .option("tag-id", { type: "string", + array: true, description: "Repeatable tag UUID filter. An article matches any selected tag.", }) .option("tag-category-id", { type: "string", + array: true, description: "Repeatable tag-category UUID filter. An article matches any selected category; when tag_id is also present, the tag and category groups are ANDed.", }) diff --git a/packages/cli/src/commands/_generated/d1/get.ts b/packages/cli/src/commands/_generated/d1/get.ts index 05d3f627a4..4fc2e12f63 100644 --- a/packages/cli/src/commands/_generated/d1/get.ts +++ b/packages/cli/src/commands/_generated/d1/get.ts @@ -27,6 +27,7 @@ function builder(yargs: Argv) { }) .option("fields", { type: "string", + array: true, description: "Comma-separated list of fields to include in the response. When omitted,\nall fields are returned.", }) diff --git a/packages/cli/src/commands/_generated/email-security/domains/list.ts b/packages/cli/src/commands/_generated/email-security/domains/list.ts index 9f25520bea..b6b0c77220 100644 --- a/packages/cli/src/commands/_generated/email-security/domains/list.ts +++ b/packages/cli/src/commands/_generated/email-security/domains/list.ts @@ -51,6 +51,7 @@ function builder(yargs: Argv) { }) .option("domain", { type: "string", + array: true, description: "Domain names to filter by.", }) .option("active-delivery-mode", { diff --git a/packages/cli/src/commands/_generated/intel/domains/bulks/get.ts b/packages/cli/src/commands/_generated/intel/domains/bulks/get.ts index 0cb3b45fb4..fb61b6a132 100644 --- a/packages/cli/src/commands/_generated/intel/domains/bulks/get.ts +++ b/packages/cli/src/commands/_generated/intel/domains/bulks/get.ts @@ -24,6 +24,7 @@ function builder(yargs: Argv) { ) .option("domain", { type: "string", + array: true, description: "Accepts multiple values like `?domain=cloudflare.com&domain=example.com`.", }) diff --git a/packages/cli/src/commands/_generated/magic-cloud-networking/resources/export.ts b/packages/cli/src/commands/_generated/magic-cloud-networking/resources/export.ts index 980efd3beb..f67801988d 100644 --- a/packages/cli/src/commands/_generated/magic-cloud-networking/resources/export.ts +++ b/packages/cli/src/commands/_generated/magic-cloud-networking/resources/export.ts @@ -23,11 +23,19 @@ function builder(yargs: Argv) { "$0 magic-cloud-networking resources export\n\nExport resources in the Resource Catalog as a JSON file (Closed Beta)." ) .option("provider-id", { type: "string", description: "Provider ID" }) - .option("resource-type", { type: "string", description: "Resource type" }) - .option("resource-id", { type: "string", description: "Resource ID" }) + .option("resource-type", { + type: "string", + array: true, + description: "Resource type", + }) + .option("resource-id", { + type: "string", + array: true, + description: "Resource ID", + }) .option("region", { type: "string", description: "Region" }) .option("resource-group", { type: "string", description: "Resource group" }) - .option("search", { type: "string", description: "Search" }) + .option("search", { type: "string", array: true, description: "Search" }) .option("order-by", { type: "string", description: 'One of ["id", "resource_type", "region"].', diff --git a/packages/cli/src/commands/_generated/magic-cloud-networking/resources/list.ts b/packages/cli/src/commands/_generated/magic-cloud-networking/resources/list.ts index 629ebb97a2..f5fbb9eeca 100644 --- a/packages/cli/src/commands/_generated/magic-cloud-networking/resources/list.ts +++ b/packages/cli/src/commands/_generated/magic-cloud-networking/resources/list.ts @@ -23,12 +23,20 @@ function builder(yargs: Argv) { "$0 magic-cloud-networking resources list\n\nList resources in the Resource Catalog (Closed Beta)." ) .option("provider-id", { type: "string", description: "Provider ID" }) - .option("resource-type", { type: "string", description: "Resource type" }) - .option("resource-id", { type: "string", description: "Resource ID" }) + .option("resource-type", { + type: "string", + array: true, + description: "Resource type", + }) + .option("resource-id", { + type: "string", + array: true, + description: "Resource ID", + }) .option("region", { type: "string", description: "Region" }) .option("resource-group", { type: "string", description: "Resource group" }) .option("managed", { type: "boolean", description: "Managed" }) - .option("search", { type: "string", description: "Search" }) + .option("search", { type: "string", array: true, description: "Search" }) .option("order-by", { type: "string", description: 'One of ["id", "resource_type", "region"].', diff --git a/packages/cli/src/commands/_generated/network/routes/cidr/list.ts b/packages/cli/src/commands/_generated/network/routes/cidr/list.ts index 606e746184..fb34ddcc4c 100644 --- a/packages/cli/src/commands/_generated/network/routes/cidr/list.ts +++ b/packages/cli/src/commands/_generated/network/routes/cidr/list.ts @@ -49,6 +49,7 @@ function builder(yargs: Argv) { .option("route-id", { type: "string", description: "UUID of the route." }) .option("tun-types", { type: "string", + array: true, description: "The types of tunnels to filter by, separated by commas.", }) .option("virtual-network-id", { diff --git a/packages/cli/src/commands/_generated/organization/list.ts b/packages/cli/src/commands/_generated/organization/list.ts index cb8b1cf41c..5c3e8a7bd6 100644 --- a/packages/cli/src/commands/_generated/organization/list.ts +++ b/packages/cli/src/commands/_generated/organization/list.ts @@ -19,6 +19,7 @@ function builder(yargs: Argv) { ) .option("id", { type: "string", + array: true, description: "Only return organizations with the specified IDs (ex. id=foo&id=bar). Send multiple elements\nby repeating the query value.", }) diff --git a/packages/cli/src/commands/_generated/organization/member/list.ts b/packages/cli/src/commands/_generated/organization/member/list.ts index 1dbf75d802..d712165e61 100644 --- a/packages/cli/src/commands/_generated/organization/member/list.ts +++ b/packages/cli/src/commands/_generated/organization/member/list.ts @@ -24,6 +24,7 @@ function builder(yargs: Argv) { }) .option("status", { type: "string", + array: true, description: "Filter the list of memberships by membership status.", }) .option("user-email", { diff --git a/packages/cli/src/commands/_generated/organization/share/list.ts b/packages/cli/src/commands/_generated/organization/share/list.ts index 0fd1fc1372..995d57a40e 100644 --- a/packages/cli/src/commands/_generated/organization/share/list.ts +++ b/packages/cli/src/commands/_generated/organization/share/list.ts @@ -37,6 +37,7 @@ function builder(yargs: Argv) { }) .option("resource-types", { type: "string", + array: true, description: "Filter share resources by resource_types.", }) .option("order", { diff --git a/packages/cli/src/commands/_generated/organizations/logs/audit/get.ts b/packages/cli/src/commands/_generated/organizations/logs/audit/get.ts index 14a8eeb067..b1b46678ed 100644 --- a/packages/cli/src/commands/_generated/organizations/logs/audit/get.ts +++ b/packages/cli/src/commands/_generated/organizations/logs/audit/get.ts @@ -24,161 +24,197 @@ function builder(yargs: Argv) { }) .option("action-result", { type: "string", + array: true, description: "Filters by whether the action was successful or not.", }) .option("action-type", { type: "string", + array: true, description: "Filters by the action type.", }) .option("actor-context", { type: "string", + array: true, description: "Filters by the actor context.\n- `api`: The action was performed through the API. The specific credential type was not recorded.\n- `api_key`: The action was authenticated with a Cloudflare Global API Key.\n- `api_token`: The action was authenticated with an API token.\n- `dash`: The action was performed through the Cloudflare dashboard.\n- `oauth`: The action was authenticated with an OAuth token.\n- `origin_ca_key`: The action was authenticated with an Origin CA key.", }) .option("actor-email", { type: "string", + array: true, description: "Filters by the actor's email address.", }) .option("actor-id", { type: "string", + array: true, description: "Filters by the actor's user ID.", }) .option("actor-ip-address", { type: "string", + array: true, description: "The IP address where the action was initiated.", }) .option("actor-token-id", { type: "string", + array: true, description: "Filters by the API token ID when the actor context is an api_token or oauth.", }) .option("actor-token-name", { type: "string", + array: true, description: "Filters by the API token name when the actor context is an api_token or oauth.", }) .option("actor-type", { type: "string", + array: true, description: "Filters by the actor type.", }) .option("id", { type: "string", + array: true, description: "Finds a specific log by its ID.", }) .option("raw-cf-ray-id", { type: "string", + array: true, description: "Filters by the response CF Ray ID.", }) .option("raw-method", { type: "string", + array: true, description: "The HTTP method for the API call.", }) .option("raw-status-code", { type: "string", + array: true, description: "The response status code that was returned.", }) .option("raw-uri", { type: "string", + array: true, description: "Filters by the request URI.", }) .option("resource-id", { type: "string", + array: true, description: "Filters by the resource ID.", }) .option("resource-product", { type: "string", + array: true, description: "Filters audit logs by the Cloudflare product associated with the changed resource.", }) .option("resource-type", { type: "string", + array: true, description: "Filters audit logs based on the unique type of resource changed by the action.", }) .option("resource-scope", { type: "string", + array: true, description: "Filters by the resource scope, specifying whether the resource is associated with an organization.", }) .option("action-result-not", { type: "string", + array: true, description: "Filters out audit logs by whether the action was successful or not.", }) .option("action-type-not", { type: "string", + array: true, description: "Filters out audit logs by the action type.", }) .option("actor-context-not", { type: "string", + array: true, description: "Filters out audit logs by the actor context.\n- `api`: The action was performed through the API. The specific credential type was not recorded.\n- `api_key`: The action was authenticated with a Cloudflare Global API Key.\n- `api_token`: The action was authenticated with an API token.\n- `dash`: The action was performed through the Cloudflare dashboard.\n- `oauth`: The action was authenticated with an OAuth token.\n- `origin_ca_key`: The action was authenticated with an Origin CA key.", }) .option("actor-email-not", { type: "string", + array: true, description: "Filters out audit logs by the actor's email address.", }) .option("actor-id-not", { type: "string", + array: true, description: "Filters out audit logs by the actor's user ID.", }) .option("actor-ip-address-not", { type: "string", + array: true, description: "Filters out audit logs IP address where the action was initiated.", }) .option("actor-token-id-not", { type: "string", + array: true, description: "Filters out audit logs by the API token ID when the actor context is an api_token or oauth.", }) .option("actor-token-name-not", { type: "string", + array: true, description: "Filters out audit logs by the API token name when the actor context is an api_token or oauth.", }) .option("actor-type-not", { type: "string", + array: true, description: "Filters out audit logs by the actor type.", }) .option("id-not", { type: "string", + array: true, description: "Filters out audit logs by their IDs.", }) .option("raw-cf-ray-id-not", { type: "string", + array: true, description: "Filters out audit logs by the response CF Ray ID.", }) .option("raw-method-not", { type: "string", + array: true, description: "Filters out audit logs by the HTTP method for the API call.", }) .option("raw-status-code-not", { type: "string", + array: true, description: "Filters out audit logs by the response status code that was returned.", }) .option("raw-uri-not", { type: "string", + array: true, description: "Filters out audit logs by the request URI.", }) .option("resource-id-not", { type: "string", + array: true, description: "Filters out audit logs by the resource ID.", }) .option("resource-product-not", { type: "string", + array: true, description: "Filters out audit logs by the Cloudflare product associated with the changed resource.", }) .option("resource-type-not", { type: "string", + array: true, description: "Filters out audit logs based on the unique type of resource changed by the action.", }) .option("resource-scope-not", { type: "string", + array: true, description: "Filters out audit logs by the resource scope, specifying whether the resource is associated with an organization.", }) diff --git a/packages/cli/src/commands/_generated/radar/agent-readiness/summary.ts b/packages/cli/src/commands/_generated/radar/agent-readiness/summary.ts index ac4d2e52d8..508461bda5 100644 --- a/packages/cli/src/commands/_generated/radar/agent-readiness/summary.ts +++ b/packages/cli/src/commands/_generated/radar/agent-readiness/summary.ts @@ -29,10 +29,12 @@ function builder(yargs: Argv) { }) .option("domain-category", { type: "string", + array: true, description: "Filters results by domain category.", }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/ai/bots/timeseries-groups.ts b/packages/cli/src/commands/_generated/radar/ai/bots/timeseries-groups.ts index 92fe859f81..a23d1d35f7 100644 --- a/packages/cli/src/commands/_generated/radar/ai/bots/timeseries-groups.ts +++ b/packages/cli/src/commands/_generated/radar/ai/bots/timeseries-groups.ts @@ -30,66 +30,80 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("crawl-purpose", { type: "string", + array: true, description: "Filters results by bot crawl purpose.", }) .option("user-agent", { type: "string", + array: true, description: "Filters results by user agent.", }) .option("industry", { type: "string", + array: true, description: "Filters results by industry.", }) .option("vertical", { type: "string", + array: true, description: "Filters results by vertical.", }) .option("content-type", { type: "string", + array: true, description: "Filters results by content type category. When set, results can only be further filtered by location, continent, or Autonomous System.", }) .option("response-status", { type: "string", + array: true, description: "Filters results by HTTP response status code (e.g. 200, 403, 404). Only [IANA-registered codes](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml) are accepted.", }) .option("response-status-category", { type: "string", + array: true, description: "Filters results by HTTP response status code category.", }) .option("limit-per-group", { diff --git a/packages/cli/src/commands/_generated/radar/ai/bots/timeseries.ts b/packages/cli/src/commands/_generated/radar/ai/bots/timeseries.ts index ab7c17d247..27e87f9c22 100644 --- a/packages/cli/src/commands/_generated/radar/ai/bots/timeseries.ts +++ b/packages/cli/src/commands/_generated/radar/ai/bots/timeseries.ts @@ -25,66 +25,80 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("crawl-purpose", { type: "string", + array: true, description: "Filters results by bot crawl purpose.", }) .option("user-agent", { type: "string", + array: true, description: "Filters results by user agent.", }) .option("industry", { type: "string", + array: true, description: "Filters results by industry.", }) .option("vertical", { type: "string", + array: true, description: "Filters results by vertical.", }) .option("content-type", { type: "string", + array: true, description: "Filters results by content type category. When set, results can only be further filtered by location, continent, or Autonomous System.", }) .option("response-status", { type: "string", + array: true, description: "Filters results by HTTP response status code (e.g. 200, 403, 404). Only [IANA-registered codes](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml) are accepted.", }) .option("response-status-category", { type: "string", + array: true, description: "Filters results by HTTP response status code category.", }) .option("limit-per-group", { diff --git a/packages/cli/src/commands/_generated/radar/ai/inference/summary-v2.ts b/packages/cli/src/commands/_generated/radar/ai/inference/summary-v2.ts index 59d1a1b3b4..42f87467e8 100644 --- a/packages/cli/src/commands/_generated/radar/ai/inference/summary-v2.ts +++ b/packages/cli/src/commands/_generated/radar/ai/inference/summary-v2.ts @@ -24,35 +24,42 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) diff --git a/packages/cli/src/commands/_generated/radar/ai/inference/timeseries-groups-v2.ts b/packages/cli/src/commands/_generated/radar/ai/inference/timeseries-groups-v2.ts index cea22087dc..9f9a173650 100644 --- a/packages/cli/src/commands/_generated/radar/ai/inference/timeseries-groups-v2.ts +++ b/packages/cli/src/commands/_generated/radar/ai/inference/timeseries-groups-v2.ts @@ -30,35 +30,42 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) diff --git a/packages/cli/src/commands/_generated/radar/ai/markdown-for-agents/summary.ts b/packages/cli/src/commands/_generated/radar/ai/markdown-for-agents/summary.ts index 02412bc2ce..eaa7a30092 100644 --- a/packages/cli/src/commands/_generated/radar/ai/markdown-for-agents/summary.ts +++ b/packages/cli/src/commands/_generated/radar/ai/markdown-for-agents/summary.ts @@ -19,20 +19,24 @@ function builder(yargs: Argv) { ) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) diff --git a/packages/cli/src/commands/_generated/radar/ai/markdown-for-agents/timeseries.ts b/packages/cli/src/commands/_generated/radar/ai/markdown-for-agents/timeseries.ts index e3a9c72727..efd4c41361 100644 --- a/packages/cli/src/commands/_generated/radar/ai/markdown-for-agents/timeseries.ts +++ b/packages/cli/src/commands/_generated/radar/ai/markdown-for-agents/timeseries.ts @@ -25,20 +25,24 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) diff --git a/packages/cli/src/commands/_generated/radar/ai/timeseries-groups/summary.ts b/packages/cli/src/commands/_generated/radar/ai/timeseries-groups/summary.ts index 26dd9955aa..d4b6d16521 100644 --- a/packages/cli/src/commands/_generated/radar/ai/timeseries-groups/summary.ts +++ b/packages/cli/src/commands/_generated/radar/ai/timeseries-groups/summary.ts @@ -24,66 +24,80 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("crawl-purpose", { type: "string", + array: true, description: "Filters results by bot crawl purpose.", }) .option("user-agent", { type: "string", + array: true, description: "Filters results by user agent.", }) .option("vertical", { type: "string", + array: true, description: "Filters results by vertical.", }) .option("industry", { type: "string", + array: true, description: "Filters results by industry.", }) .option("content-type", { type: "string", + array: true, description: "Filters results by content type category. When set, results can only be further filtered by location, continent, or Autonomous System.", }) .option("response-status", { type: "string", + array: true, description: "Filters results by HTTP response status code (e.g. 200, 403, 404). Only [IANA-registered codes](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml) are accepted.", }) .option("response-status-category", { type: "string", + array: true, description: "Filters results by HTTP response status code category.", }) .option("limit-per-group", { diff --git a/packages/cli/src/commands/_generated/radar/annotations/list.ts b/packages/cli/src/commands/_generated/radar/annotations/list.ts index 010e162440..c863f7ab14 100644 --- a/packages/cli/src/commands/_generated/radar/annotations/list.ts +++ b/packages/cli/src/commands/_generated/radar/annotations/list.ts @@ -113,6 +113,7 @@ function builder(yargs: Argv) { }) .option("tags", { type: "string", + array: true, description: "Filters results by annotation tag. Matches annotations carrying at least one of the given tags.", }) diff --git a/packages/cli/src/commands/_generated/radar/annotations/outages/get.ts b/packages/cli/src/commands/_generated/radar/annotations/outages/get.ts index d60fa299ec..770a2ec152 100644 --- a/packages/cli/src/commands/_generated/radar/annotations/outages/get.ts +++ b/packages/cli/src/commands/_generated/radar/annotations/outages/get.ts @@ -102,6 +102,7 @@ function builder(yargs: Argv) { }) .option("tags", { type: "string", + array: true, description: "Filters results by annotation tag. Matches annotations carrying at least one of the given tags.", }) diff --git a/packages/cli/src/commands/_generated/radar/as112/summary-v2.ts b/packages/cli/src/commands/_generated/radar/as112/summary-v2.ts index e5a33fc0e1..093ab58239 100644 --- a/packages/cli/src/commands/_generated/radar/as112/summary-v2.ts +++ b/packages/cli/src/commands/_generated/radar/as112/summary-v2.ts @@ -24,43 +24,52 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("query-type", { type: "string", + array: true, description: "Filters results by DNS query type.", }) .option("protocol", { type: "string", + array: true, description: "Filters results by DNS transport protocol.", }) .option("response-code", { type: "string", + array: true, description: "Filters results by DNS response code.", }) .option("limit-per-group", { diff --git a/packages/cli/src/commands/_generated/radar/as112/timeseries-groups-v2.ts b/packages/cli/src/commands/_generated/radar/as112/timeseries-groups-v2.ts index c3960a1e36..2aaa8e47ff 100644 --- a/packages/cli/src/commands/_generated/radar/as112/timeseries-groups-v2.ts +++ b/packages/cli/src/commands/_generated/radar/as112/timeseries-groups-v2.ts @@ -30,43 +30,52 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("query-type", { type: "string", + array: true, description: "Filters results by DNS query type.", }) .option("protocol", { type: "string", + array: true, description: "Filters results by DNS transport protocol.", }) .option("response-code", { type: "string", + array: true, description: "Filters results by DNS response code.", }) .option("limit-per-group", { diff --git a/packages/cli/src/commands/_generated/radar/as112/timeseries.ts b/packages/cli/src/commands/_generated/radar/as112/timeseries.ts index 116f5e3f9d..0394a2ad65 100644 --- a/packages/cli/src/commands/_generated/radar/as112/timeseries.ts +++ b/packages/cli/src/commands/_generated/radar/as112/timeseries.ts @@ -25,43 +25,52 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("query-type", { type: "string", + array: true, description: "Filters results by DNS query type.", }) .option("protocol", { type: "string", + array: true, description: "Filters results by DNS transport protocol.", }) .option("response-code", { type: "string", + array: true, description: "Filters results by DNS response code.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/as112/top/dnssec.ts b/packages/cli/src/commands/_generated/radar/as112/top/dnssec.ts index 2eb4098463..040794d10f 100644 --- a/packages/cli/src/commands/_generated/radar/as112/top/dnssec.ts +++ b/packages/cli/src/commands/_generated/radar/as112/top/dnssec.ts @@ -28,30 +28,36 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) diff --git a/packages/cli/src/commands/_generated/radar/as112/top/edns.ts b/packages/cli/src/commands/_generated/radar/as112/top/edns.ts index 29b3911330..45a20ee511 100644 --- a/packages/cli/src/commands/_generated/radar/as112/top/edns.ts +++ b/packages/cli/src/commands/_generated/radar/as112/top/edns.ts @@ -28,30 +28,36 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) diff --git a/packages/cli/src/commands/_generated/radar/as112/top/ip-version.ts b/packages/cli/src/commands/_generated/radar/as112/top/ip-version.ts index 480ef5bbc7..850358e9f1 100644 --- a/packages/cli/src/commands/_generated/radar/as112/top/ip-version.ts +++ b/packages/cli/src/commands/_generated/radar/as112/top/ip-version.ts @@ -28,30 +28,36 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) diff --git a/packages/cli/src/commands/_generated/radar/as112/top/locations.ts b/packages/cli/src/commands/_generated/radar/as112/top/locations.ts index 988a3b066a..0adbe0652a 100644 --- a/packages/cli/src/commands/_generated/radar/as112/top/locations.ts +++ b/packages/cli/src/commands/_generated/radar/as112/top/locations.ts @@ -23,30 +23,36 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) diff --git a/packages/cli/src/commands/_generated/radar/attacks/layer3/summary-v2.ts b/packages/cli/src/commands/_generated/radar/attacks/layer3/summary-v2.ts index b462b584f4..985508595c 100644 --- a/packages/cli/src/commands/_generated/radar/attacks/layer3/summary-v2.ts +++ b/packages/cli/src/commands/_generated/radar/attacks/layer3/summary-v2.ts @@ -24,39 +24,47 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("protocol", { type: "string", + array: true, description: "Filters the results by layer 3/4 protocol.", }) .option("direction", { diff --git a/packages/cli/src/commands/_generated/radar/attacks/layer3/timeseries-groups-v2.ts b/packages/cli/src/commands/_generated/radar/attacks/layer3/timeseries-groups-v2.ts index f9c950d2c3..3c2471300b 100644 --- a/packages/cli/src/commands/_generated/radar/attacks/layer3/timeseries-groups-v2.ts +++ b/packages/cli/src/commands/_generated/radar/attacks/layer3/timeseries-groups-v2.ts @@ -30,39 +30,47 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("protocol", { type: "string", + array: true, description: "Filters the results by layer 3/4 protocol.", }) .option("normalization", { diff --git a/packages/cli/src/commands/_generated/radar/attacks/layer3/timeseries.ts b/packages/cli/src/commands/_generated/radar/attacks/layer3/timeseries.ts index 82167b2f42..a090cf81a5 100644 --- a/packages/cli/src/commands/_generated/radar/attacks/layer3/timeseries.ts +++ b/packages/cli/src/commands/_generated/radar/attacks/layer3/timeseries.ts @@ -25,44 +25,53 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("protocol", { type: "string", + array: true, description: "Filters the results by layer 3/4 protocol.", }) .option("normalization", { diff --git a/packages/cli/src/commands/_generated/radar/attacks/layer3/top/attacks.ts b/packages/cli/src/commands/_generated/radar/attacks/layer3/top/attacks.ts index 66e750c64e..9b24581d0e 100644 --- a/packages/cli/src/commands/_generated/radar/attacks/layer3/top/attacks.ts +++ b/packages/cli/src/commands/_generated/radar/attacks/layer3/top/attacks.ts @@ -23,39 +23,47 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("protocol", { type: "string", + array: true, description: "Filters the results by layer 3/4 protocol.", }) .option("limit-direction", { diff --git a/packages/cli/src/commands/_generated/radar/attacks/layer3/top/locations/origin.ts b/packages/cli/src/commands/_generated/radar/attacks/layer3/top/locations/origin.ts index 41732357d4..9f57223305 100644 --- a/packages/cli/src/commands/_generated/radar/attacks/layer3/top/locations/origin.ts +++ b/packages/cli/src/commands/_generated/radar/attacks/layer3/top/locations/origin.ts @@ -23,39 +23,47 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("protocol", { type: "string", + array: true, description: "Filters the results by layer 3/4 protocol.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/attacks/layer3/top/locations/target.ts b/packages/cli/src/commands/_generated/radar/attacks/layer3/top/locations/target.ts index ff8473a2c5..28f2884c0e 100644 --- a/packages/cli/src/commands/_generated/radar/attacks/layer3/top/locations/target.ts +++ b/packages/cli/src/commands/_generated/radar/attacks/layer3/top/locations/target.ts @@ -23,39 +23,47 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("protocol", { type: "string", + array: true, description: "Filters the results by layer 3/4 protocol.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/attacks/layer7/summary-v2.ts b/packages/cli/src/commands/_generated/radar/attacks/layer7/summary-v2.ts index e1c3bec018..9471cbba27 100644 --- a/packages/cli/src/commands/_generated/radar/attacks/layer7/summary-v2.ts +++ b/packages/cli/src/commands/_generated/radar/attacks/layer7/summary-v2.ts @@ -24,52 +24,63 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("http-version", { type: "string", + array: true, description: "Filters results by HTTP version.", }) .option("http-method", { type: "string", + array: true, description: "Filters results by HTTP method.", }) .option("mitigation-product", { type: "string", + array: true, description: "Filters the results by layer 7 mitigation product.", }) .option("limit-per-group", { diff --git a/packages/cli/src/commands/_generated/radar/attacks/layer7/timeseries-groups-v2.ts b/packages/cli/src/commands/_generated/radar/attacks/layer7/timeseries-groups-v2.ts index 447f99b8d5..731c62812c 100644 --- a/packages/cli/src/commands/_generated/radar/attacks/layer7/timeseries-groups-v2.ts +++ b/packages/cli/src/commands/_generated/radar/attacks/layer7/timeseries-groups-v2.ts @@ -30,52 +30,63 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("http-version", { type: "string", + array: true, description: "Filters results by HTTP version.", }) .option("http-method", { type: "string", + array: true, description: "Filters results by HTTP method.", }) .option("mitigation-product", { type: "string", + array: true, description: "Filters the results by layer 7 mitigation product.", }) .option("normalization", { diff --git a/packages/cli/src/commands/_generated/radar/attacks/layer7/timeseries.ts b/packages/cli/src/commands/_generated/radar/attacks/layer7/timeseries.ts index 7014f5a498..fa44f1bfaa 100644 --- a/packages/cli/src/commands/_generated/radar/attacks/layer7/timeseries.ts +++ b/packages/cli/src/commands/_generated/radar/attacks/layer7/timeseries.ts @@ -25,35 +25,42 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) @@ -65,18 +72,22 @@ function builder(yargs: Argv) { }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("http-version", { type: "string", + array: true, description: "Filters results by HTTP version.", }) .option("http-method", { type: "string", + array: true, description: "Filters results by HTTP method.", }) .option("mitigation-product", { type: "string", + array: true, description: "Filters the results by layer 7 mitigation product.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/attacks/layer7/top/ases/origin.ts b/packages/cli/src/commands/_generated/radar/attacks/layer7/top/ases/origin.ts index 35dd29766b..833cd33bcb 100644 --- a/packages/cli/src/commands/_generated/radar/attacks/layer7/top/ases/origin.ts +++ b/packages/cli/src/commands/_generated/radar/attacks/layer7/top/ases/origin.ts @@ -23,47 +23,57 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("http-version", { type: "string", + array: true, description: "Filters results by HTTP version.", }) .option("http-method", { type: "string", + array: true, description: "Filters results by HTTP method.", }) .option("mitigation-product", { type: "string", + array: true, description: "Filters the results by layer 7 mitigation product.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/attacks/layer7/top/attacks.ts b/packages/cli/src/commands/_generated/radar/attacks/layer7/top/attacks.ts index 212f1d367d..75a86e3c6d 100644 --- a/packages/cli/src/commands/_generated/radar/attacks/layer7/top/attacks.ts +++ b/packages/cli/src/commands/_generated/radar/attacks/layer7/top/attacks.ts @@ -23,40 +23,48 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("mitigation-product", { type: "string", + array: true, description: "Filters the results by layer 7 mitigation product.", }) .option("limit-direction", { diff --git a/packages/cli/src/commands/_generated/radar/attacks/layer7/top/locations/origin.ts b/packages/cli/src/commands/_generated/radar/attacks/layer7/top/locations/origin.ts index ff70194bd9..160221480b 100644 --- a/packages/cli/src/commands/_generated/radar/attacks/layer7/top/locations/origin.ts +++ b/packages/cli/src/commands/_generated/radar/attacks/layer7/top/locations/origin.ts @@ -23,47 +23,57 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("http-version", { type: "string", + array: true, description: "Filters results by HTTP version.", }) .option("http-method", { type: "string", + array: true, description: "Filters results by HTTP method.", }) .option("mitigation-product", { type: "string", + array: true, description: "Filters the results by layer 7 mitigation product.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/attacks/layer7/top/locations/target.ts b/packages/cli/src/commands/_generated/radar/attacks/layer7/top/locations/target.ts index c05db5b3b5..2b93745b77 100644 --- a/packages/cli/src/commands/_generated/radar/attacks/layer7/top/locations/target.ts +++ b/packages/cli/src/commands/_generated/radar/attacks/layer7/top/locations/target.ts @@ -23,30 +23,36 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("mitigation-product", { type: "string", + array: true, description: "Filters the results by layer 7 mitigation product.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/bgp/ips/timeseries.ts b/packages/cli/src/commands/_generated/radar/bgp/ips/timeseries.ts index 833dec919b..e150942f15 100644 --- a/packages/cli/src/commands/_generated/radar/bgp/ips/timeseries.ts +++ b/packages/cli/src/commands/_generated/radar/bgp/ips/timeseries.ts @@ -19,35 +19,42 @@ function builder(yargs: Argv) { ) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 location codes.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("include-delay", { diff --git a/packages/cli/src/commands/_generated/radar/bgp/rpki/aspa/timeseries.ts b/packages/cli/src/commands/_generated/radar/bgp/rpki/aspa/timeseries.ts index 011451d37d..73998885b6 100644 --- a/packages/cli/src/commands/_generated/radar/bgp/rpki/aspa/timeseries.ts +++ b/packages/cli/src/commands/_generated/radar/bgp/rpki/aspa/timeseries.ts @@ -29,15 +29,18 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("rir", { type: "string", + array: true, description: "Filter by Regional Internet Registry (RIR). Multiple RIRs generate multiple series.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 location codes.", }) diff --git a/packages/cli/src/commands/_generated/radar/bgp/rpki/roas/timeseries.ts b/packages/cli/src/commands/_generated/radar/bgp/rpki/roas/timeseries.ts index 64aeddec84..5a3ecba153 100644 --- a/packages/cli/src/commands/_generated/radar/bgp/rpki/roas/timeseries.ts +++ b/packages/cli/src/commands/_generated/radar/bgp/rpki/roas/timeseries.ts @@ -42,16 +42,19 @@ function builder(yargs: Argv) { }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System Number. Specify one or more ASNs. Multiple values generate one series per ASN.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 location codes.", }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/bgp/timeseries.ts b/packages/cli/src/commands/_generated/radar/bgp/timeseries.ts index 658c43b16b..160cc758fb 100644 --- a/packages/cli/src/commands/_generated/radar/bgp/timeseries.ts +++ b/packages/cli/src/commands/_generated/radar/bgp/timeseries.ts @@ -25,33 +25,40 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("prefix", { type: "string", + array: true, description: "Filters results by BGP network prefix.", }) .option("update-type", { type: "string", + array: true, description: "Filters results by BGP update type.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) diff --git a/packages/cli/src/commands/_generated/radar/bgp/top/ases/get.ts b/packages/cli/src/commands/_generated/radar/bgp/top/ases/get.ts index 5209af66ef..554ab1172e 100644 --- a/packages/cli/src/commands/_generated/radar/bgp/top/ases/get.ts +++ b/packages/cli/src/commands/_generated/radar/bgp/top/ases/get.ts @@ -23,34 +23,41 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("prefix", { type: "string", + array: true, description: "Filters results by BGP network prefix.", }) .option("update-type", { type: "string", + array: true, description: "Filters results by BGP update type.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/bgp/top/prefixes.ts b/packages/cli/src/commands/_generated/radar/bgp/top/prefixes.ts index 7adc191dc3..af2871a06b 100644 --- a/packages/cli/src/commands/_generated/radar/bgp/top/prefixes.ts +++ b/packages/cli/src/commands/_generated/radar/bgp/top/prefixes.ts @@ -23,30 +23,36 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("update-type", { type: "string", + array: true, description: "Filters results by BGP update type.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/bots/summary.ts b/packages/cli/src/commands/_generated/radar/bots/summary.ts index 3f53f8ed8d..a1738b013a 100644 --- a/packages/cli/src/commands/_generated/radar/bots/summary.ts +++ b/packages/cli/src/commands/_generated/radar/bots/summary.ts @@ -24,35 +24,42 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) @@ -63,23 +70,28 @@ function builder(yargs: Argv) { }) .option("bot", { type: "string", + array: true, description: "Filters results by bot name.", }) .option("bot-operator", { type: "string", + array: true, description: "Filters results by bot operator.", }) .option("bot-category", { type: "string", + array: true, description: "Filters results by bot category.", }) .option("bot-kind", { type: "string", + array: true, description: "Filters results by bot kind. Deprecated: the Verified Bot / Signed Agent distinction is being removed.", }) .option("bot-verification-status", { type: "string", + array: true, description: "Filters results by bot verification status (Verified vs. Unverified).", }) diff --git a/packages/cli/src/commands/_generated/radar/bots/timeseries-groups.ts b/packages/cli/src/commands/_generated/radar/bots/timeseries-groups.ts index c452d9d877..1c3217682c 100644 --- a/packages/cli/src/commands/_generated/radar/bots/timeseries-groups.ts +++ b/packages/cli/src/commands/_generated/radar/bots/timeseries-groups.ts @@ -30,35 +30,42 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) @@ -69,23 +76,28 @@ function builder(yargs: Argv) { }) .option("bot", { type: "string", + array: true, description: "Filters results by bot name.", }) .option("bot-operator", { type: "string", + array: true, description: "Filters results by bot operator.", }) .option("bot-category", { type: "string", + array: true, description: "Filters results by bot category.", }) .option("bot-kind", { type: "string", + array: true, description: "Filters results by bot kind. Deprecated: the Verified Bot / Signed Agent distinction is being removed.", }) .option("bot-verification-status", { type: "string", + array: true, description: "Filters results by bot verification status (Verified vs. Unverified).", }) diff --git a/packages/cli/src/commands/_generated/radar/bots/timeseries.ts b/packages/cli/src/commands/_generated/radar/bots/timeseries.ts index f013eedaff..af6ca9060c 100644 --- a/packages/cli/src/commands/_generated/radar/bots/timeseries.ts +++ b/packages/cli/src/commands/_generated/radar/bots/timeseries.ts @@ -25,57 +25,69 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("bot", { type: "string", + array: true, description: "Filters results by bot name.", }) .option("bot-operator", { type: "string", + array: true, description: "Filters results by bot operator.", }) .option("bot-category", { type: "string", + array: true, description: "Filters results by bot category.", }) .option("bot-kind", { type: "string", + array: true, description: "Filters results by bot kind. Deprecated: the Verified Bot / Signed Agent distinction is being removed.", }) .option("bot-verification-status", { type: "string", + array: true, description: "Filters results by bot verification status (Verified vs. Unverified).", }) diff --git a/packages/cli/src/commands/_generated/radar/bots/web-crawlers/summary.ts b/packages/cli/src/commands/_generated/radar/bots/web-crawlers/summary.ts index 92fdb759aa..57922c59d7 100644 --- a/packages/cli/src/commands/_generated/radar/bots/web-crawlers/summary.ts +++ b/packages/cli/src/commands/_generated/radar/bots/web-crawlers/summary.ts @@ -24,20 +24,24 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) @@ -48,27 +52,33 @@ function builder(yargs: Argv) { }) .option("bot-operator", { type: "string", + array: true, description: "Filters results by bot operator.", }) .option("vertical", { type: "string", + array: true, description: "Filters results by vertical.", }) .option("industry", { type: "string", + array: true, description: "Filters results by industry.", }) .option("client-type", { type: "string", + array: true, description: "Filters results by agent type.", }) .option("response-status", { type: "string", + array: true, description: "Filters results by HTTP response status code (e.g. 200, 403, 404). Only [IANA-registered codes](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml) are accepted.", }) .option("response-status-category", { type: "string", + array: true, description: "Filters results by HTTP response status code category.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/bots/web-crawlers/timeseries-groups.ts b/packages/cli/src/commands/_generated/radar/bots/web-crawlers/timeseries-groups.ts index 40cd7d7df6..b551c7a681 100644 --- a/packages/cli/src/commands/_generated/radar/bots/web-crawlers/timeseries-groups.ts +++ b/packages/cli/src/commands/_generated/radar/bots/web-crawlers/timeseries-groups.ts @@ -30,20 +30,24 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) @@ -60,27 +64,33 @@ function builder(yargs: Argv) { }) .option("bot-operator", { type: "string", + array: true, description: "Filters results by bot operator.", }) .option("vertical", { type: "string", + array: true, description: "Filters results by vertical.", }) .option("industry", { type: "string", + array: true, description: "Filters results by industry.", }) .option("client-type", { type: "string", + array: true, description: "Filters results by agent type.", }) .option("response-status", { type: "string", + array: true, description: "Filters results by HTTP response status code (e.g. 200, 403, 404). Only [IANA-registered codes](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml) are accepted.", }) .option("response-status-category", { type: "string", + array: true, description: "Filters results by HTTP response status code category.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/ct/summary.ts b/packages/cli/src/commands/_generated/radar/ct/summary.ts index b6ade7adbd..2f8f8ea11d 100644 --- a/packages/cli/src/commands/_generated/radar/ct/summary.ts +++ b/packages/cli/src/commands/_generated/radar/ct/summary.ts @@ -25,20 +25,24 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) @@ -49,69 +53,84 @@ function builder(yargs: Argv) { }) .option("ca", { type: "string", + array: true, description: "Filters results by certificate authority.", }) .option("ca-owner", { type: "string", + array: true, description: "Filters results by certificate authority owner.", }) .option("duration", { type: "string", + array: true, description: "Filters results by certificate duration.", }) .option("entry-type", { type: "string", + array: true, description: "Filters results by entry type (certificate vs. pre-certificate). Incompatible with the `tld` filter/dimension.", }) .option("expiration-status", { type: "string", + array: true, description: "Filters results by expiration status (expired vs. valid).", }) .option("has-ips", { type: "string", + array: true, description: "Filters results based on whether the certificates are bound to specific IP addresses.", }) .option("has-wildcards", { type: "string", + array: true, description: "Filters results based on whether the certificates contain wildcard domains.", }) .option("log", { type: "string", + array: true, description: "Filters results by certificate log. Incompatible with the `tld` filter/dimension.", }) .option("log-api", { type: "string", + array: true, description: "Filters results by certificate log API (RFC6962 vs. static). Incompatible with the `tld` filter/dimension.", }) .option("log-operator", { type: "string", + array: true, description: "Filters results by certificate log operator. Incompatible with the `tld` filter/dimension.", }) .option("public-key-algorithm", { type: "string", + array: true, description: "Filters results by public key algorithm.", }) .option("signature-algorithm", { type: "string", + array: true, description: "Filters results by signature algorithm.", }) .option("tld", { type: "string", + array: true, description: "Filters results by top-level domain. Incompatible with the `log`, `logApi`, `logOperator`, and `entryType` filters/dimensions.", }) .option("validation-level", { type: "string", + array: true, description: "Filters results by validation level.", }) .option("unique-entries", { type: "string", + array: true, description: "Specifies whether to filter out duplicate certificates and pre-certificates. Set to true for unique entries only.", }) diff --git a/packages/cli/src/commands/_generated/radar/ct/timeseries-groups.ts b/packages/cli/src/commands/_generated/radar/ct/timeseries-groups.ts index 1926bdfd8e..99a665708a 100644 --- a/packages/cli/src/commands/_generated/radar/ct/timeseries-groups.ts +++ b/packages/cli/src/commands/_generated/radar/ct/timeseries-groups.ts @@ -31,20 +31,24 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) @@ -55,64 +59,78 @@ function builder(yargs: Argv) { }) .option("ca", { type: "string", + array: true, description: "Filters results by certificate authority.", }) .option("ca-owner", { type: "string", + array: true, description: "Filters results by certificate authority owner.", }) .option("duration", { type: "string", + array: true, description: "Filters results by certificate duration.", }) .option("entry-type", { type: "string", + array: true, description: "Filters results by entry type (certificate vs. pre-certificate). Incompatible with the `tld` filter/dimension.", }) .option("expiration-status", { type: "string", + array: true, description: "Filters results by expiration status (expired vs. valid).", }) .option("has-ips", { type: "string", + array: true, description: "Filters results based on whether the certificates are bound to specific IP addresses.", }) .option("has-wildcards", { type: "string", + array: true, description: "Filters results based on whether the certificates contain wildcard domains.", }) .option("log", { type: "string", + array: true, description: "Filters results by certificate log. Incompatible with the `tld` filter/dimension.", }) .option("log-api", { type: "string", + array: true, description: "Filters results by certificate log API (RFC6962 vs. static). Incompatible with the `tld` filter/dimension.", }) .option("log-operator", { type: "string", + array: true, description: "Filters results by certificate log operator. Incompatible with the `tld` filter/dimension.", }) .option("public-key-algorithm", { type: "string", + array: true, description: "Filters results by public key algorithm.", }) .option("signature-algorithm", { type: "string", + array: true, description: "Filters results by signature algorithm.", }) .option("validation-level", { type: "string", + array: true, description: "Filters results by validation level.", }) .option("tld", { type: "string", + array: true, description: "Filters results by top-level domain. Incompatible with the `log`, `logApi`, `logOperator`, and `entryType` filters/dimensions.", }) @@ -124,6 +142,7 @@ function builder(yargs: Argv) { }) .option("unique-entries", { type: "string", + array: true, description: "Specifies whether to filter out duplicate certificates and pre-certificates. Set to true for unique entries only.", }) diff --git a/packages/cli/src/commands/_generated/radar/ct/timeseries.ts b/packages/cli/src/commands/_generated/radar/ct/timeseries.ts index 814ac87988..77398911ed 100644 --- a/packages/cli/src/commands/_generated/radar/ct/timeseries.ts +++ b/packages/cli/src/commands/_generated/radar/ct/timeseries.ts @@ -23,88 +23,107 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("ca", { type: "string", + array: true, description: "Filters results by certificate authority.", }) .option("ca-owner", { type: "string", + array: true, description: "Filters results by certificate authority owner.", }) .option("duration", { type: "string", + array: true, description: "Filters results by certificate duration.", }) .option("entry-type", { type: "string", + array: true, description: "Filters results by entry type (certificate vs. pre-certificate). Incompatible with the `tld` filter/dimension.", }) .option("expiration-status", { type: "string", + array: true, description: "Filters results by expiration status (expired vs. valid).", }) .option("has-ips", { type: "string", + array: true, description: "Filters results based on whether the certificates are bound to specific IP addresses.", }) .option("has-wildcards", { type: "string", + array: true, description: "Filters results based on whether the certificates contain wildcard domains.", }) .option("log", { type: "string", + array: true, description: "Filters results by certificate log. Incompatible with the `tld` filter/dimension.", }) .option("log-api", { type: "string", + array: true, description: "Filters results by certificate log API (RFC6962 vs. static). Incompatible with the `tld` filter/dimension.", }) .option("log-operator", { type: "string", + array: true, description: "Filters results by certificate log operator. Incompatible with the `tld` filter/dimension.", }) .option("public-key-algorithm", { type: "string", + array: true, description: "Filters results by public key algorithm.", }) .option("signature-algorithm", { type: "string", + array: true, description: "Filters results by signature algorithm.", }) .option("tld", { type: "string", + array: true, description: "Filters results by top-level domain. Incompatible with the `log`, `logApi`, `logOperator`, and `entryType` filters/dimensions.", }) .option("validation-level", { type: "string", + array: true, description: "Filters results by validation level.", }) .option("unique-entries", { type: "string", + array: true, description: "Specifies whether to filter out duplicate certificates and pre-certificates. Set to true for unique entries only.", }) diff --git a/packages/cli/src/commands/_generated/radar/dns/summary-v2.ts b/packages/cli/src/commands/_generated/radar/dns/summary-v2.ts index 671cc23766..ff16f76bc3 100644 --- a/packages/cli/src/commands/_generated/radar/dns/summary-v2.ts +++ b/packages/cli/src/commands/_generated/radar/dns/summary-v2.ts @@ -25,80 +25,97 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("cache-hit", { type: "string", + array: true, description: "Filters results based on cache status.", }) .option("nodata", { type: "string", + array: true, description: "Specifies whether the response includes empty DNS responses (NODATA).", }) .option("protocol", { type: "string", + array: true, description: "Filters results by DNS transport protocol.", }) .option("query-type", { type: "string", + array: true, description: "Filters results by DNS query type.", }) .option("response-code", { type: "string", + array: true, description: "Filters results by DNS response code.", }) .option("response-ttl", { type: "string", + array: true, description: "Filters results by DNS response TTL.", }) .option("dnssec", { type: "string", + array: true, description: "Filters results based on DNSSEC (DNS Security Extensions) support.", }) .option("dnssec-aware", { type: "string", + array: true, description: "Filters results based on DNSSEC (DNS Security Extensions) client awareness.", }) .option("dnssec-e2e", { type: "string", + array: true, description: "Filters results based on DNSSEC-validated answers by end-to-end security status.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("limit-per-group", { @@ -108,11 +125,13 @@ function builder(yargs: Argv) { }) .option("matching-answer", { type: "string", + array: true, description: "Filters results based on whether the queries have a matching answer.", }) .option("tld", { type: "string", + array: true, description: "Filters results by top-level domain. Incompatible with the `ipVersion`, `protocol`, `dnssecE2e`, `dnssecAware`, `responseTtl`, and `cacheHit` filters/dimensions; this restriction does not apply to country-code TLDs (2-letter, e.g. `uk`).", }) diff --git a/packages/cli/src/commands/_generated/radar/dns/timeseries-groups-v2.ts b/packages/cli/src/commands/_generated/radar/dns/timeseries-groups-v2.ts index 086586f990..4972d62c29 100644 --- a/packages/cli/src/commands/_generated/radar/dns/timeseries-groups-v2.ts +++ b/packages/cli/src/commands/_generated/radar/dns/timeseries-groups-v2.ts @@ -31,80 +31,97 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("cache-hit", { type: "string", + array: true, description: "Filters results based on cache status.", }) .option("nodata", { type: "string", + array: true, description: "Specifies whether the response includes empty DNS responses (NODATA).", }) .option("protocol", { type: "string", + array: true, description: "Filters results by DNS transport protocol.", }) .option("query-type", { type: "string", + array: true, description: "Filters results by DNS query type.", }) .option("response-code", { type: "string", + array: true, description: "Filters results by DNS response code.", }) .option("response-ttl", { type: "string", + array: true, description: "Filters results by DNS response TTL.", }) .option("dnssec", { type: "string", + array: true, description: "Filters results based on DNSSEC (DNS Security Extensions) support.", }) .option("dnssec-aware", { type: "string", + array: true, description: "Filters results based on DNSSEC (DNS Security Extensions) client awareness.", }) .option("dnssec-e2e", { type: "string", + array: true, description: "Filters results based on DNSSEC-validated answers by end-to-end security status.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("limit-per-group", { @@ -114,11 +131,13 @@ function builder(yargs: Argv) { }) .option("matching-answer", { type: "string", + array: true, description: "Filters results based on whether the queries have a matching answer.", }) .option("tld", { type: "string", + array: true, description: "Filters results by top-level domain. Incompatible with the `ipVersion`, `protocol`, `dnssecE2e`, `dnssecAware`, `responseTtl`, and `cacheHit` filters/dimensions; this restriction does not apply to country-code TLDs (2-letter, e.g. `uk`).", }) diff --git a/packages/cli/src/commands/_generated/radar/dns/timeseries.ts b/packages/cli/src/commands/_generated/radar/dns/timeseries.ts index bf1bade4bd..66e9cb387c 100644 --- a/packages/cli/src/commands/_generated/radar/dns/timeseries.ts +++ b/packages/cli/src/commands/_generated/radar/dns/timeseries.ts @@ -25,89 +25,108 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("cache-hit", { type: "string", + array: true, description: "Filters results based on cache status.", }) .option("nodata", { type: "string", + array: true, description: "Specifies whether the response includes empty DNS responses (NODATA).", }) .option("protocol", { type: "string", + array: true, description: "Filters results by DNS transport protocol.", }) .option("query-type", { type: "string", + array: true, description: "Filters results by DNS query type.", }) .option("response-code", { type: "string", + array: true, description: "Filters results by DNS response code.", }) .option("response-ttl", { type: "string", + array: true, description: "Filters results by DNS response TTL.", }) .option("dnssec", { type: "string", + array: true, description: "Filters results based on DNSSEC (DNS Security Extensions) support.", }) .option("dnssec-aware", { type: "string", + array: true, description: "Filters results based on DNSSEC (DNS Security Extensions) client awareness.", }) .option("dnssec-e2e", { type: "string", + array: true, description: "Filters results based on DNSSEC-validated answers by end-to-end security status.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("matching-answer", { type: "string", + array: true, description: "Filters results based on whether the queries have a matching answer.", }) .option("tld", { type: "string", + array: true, description: "Filters results by top-level domain. Incompatible with the `ipVersion`, `protocol`, `dnssecE2e`, `dnssecAware`, `responseTtl`, and `cacheHit` filters/dimensions; this restriction does not apply to country-code TLDs (2-letter, e.g. `uk`).", }) diff --git a/packages/cli/src/commands/_generated/radar/dns/top/ases.ts b/packages/cli/src/commands/_generated/radar/dns/top/ases.ts index 157c7932a7..074c573a78 100644 --- a/packages/cli/src/commands/_generated/radar/dns/top/ases.ts +++ b/packages/cli/src/commands/_generated/radar/dns/top/ases.ts @@ -23,89 +23,108 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("domain", { type: "string", + array: true, description: "Filters results by domain name. When set, no other DNS filter may be used — only date filtering (`dateRange`, or `dateStart`/`dateEnd`) is allowed — and the date range cannot exceed 31 days.", }) .option("cache-hit", { type: "string", + array: true, description: "Filters results based on cache status.", }) .option("nodata", { type: "string", + array: true, description: "Specifies whether the response includes empty DNS responses (NODATA).", }) .option("protocol", { type: "string", + array: true, description: "Filters results by DNS transport protocol.", }) .option("query-type", { type: "string", + array: true, description: "Filters results by DNS query type.", }) .option("response-code", { type: "string", + array: true, description: "Filters results by DNS response code.", }) .option("response-ttl", { type: "string", + array: true, description: "Filters results by DNS response TTL.", }) .option("dnssec", { type: "string", + array: true, description: "Filters results based on DNSSEC (DNS Security Extensions) support.", }) .option("dnssec-aware", { type: "string", + array: true, description: "Filters results based on DNSSEC (DNS Security Extensions) client awareness.", }) .option("dnssec-e2e", { type: "string", + array: true, description: "Filters results based on DNSSEC-validated answers by end-to-end security status.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("matching-answer", { type: "string", + array: true, description: "Filters results based on whether the queries have a matching answer.", }) diff --git a/packages/cli/src/commands/_generated/radar/dns/top/locations.ts b/packages/cli/src/commands/_generated/radar/dns/top/locations.ts index aadae1c752..785b00b8b4 100644 --- a/packages/cli/src/commands/_generated/radar/dns/top/locations.ts +++ b/packages/cli/src/commands/_generated/radar/dns/top/locations.ts @@ -23,94 +23,114 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("domain", { type: "string", + array: true, description: "Filters results by domain name. When set, no other DNS filter may be used — only date filtering (`dateRange`, or `dateStart`/`dateEnd`) is allowed — and the date range cannot exceed 31 days.", }) .option("cache-hit", { type: "string", + array: true, description: "Filters results based on cache status.", }) .option("nodata", { type: "string", + array: true, description: "Specifies whether the response includes empty DNS responses (NODATA).", }) .option("protocol", { type: "string", + array: true, description: "Filters results by DNS transport protocol.", }) .option("query-type", { type: "string", + array: true, description: "Filters results by DNS query type.", }) .option("response-code", { type: "string", + array: true, description: "Filters results by DNS response code.", }) .option("response-ttl", { type: "string", + array: true, description: "Filters results by DNS response TTL.", }) .option("dnssec", { type: "string", + array: true, description: "Filters results based on DNSSEC (DNS Security Extensions) support.", }) .option("dnssec-aware", { type: "string", + array: true, description: "Filters results based on DNSSEC (DNS Security Extensions) client awareness.", }) .option("dnssec-e2e", { type: "string", + array: true, description: "Filters results based on DNSSEC-validated answers by end-to-end security status.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("matching-answer", { type: "string", + array: true, description: "Filters results based on whether the queries have a matching answer.", }) .option("tld", { type: "string", + array: true, description: "Filters results by top-level domain. Incompatible with the `ipVersion`, `protocol`, `dnssecE2e`, `dnssecAware`, `responseTtl`, and `cacheHit` filters/dimensions; this restriction does not apply to country-code TLDs (2-letter, e.g. `uk`).", }) diff --git a/packages/cli/src/commands/_generated/radar/email/routing/summary-v2.ts b/packages/cli/src/commands/_generated/radar/email/routing/summary-v2.ts index 440470e4a8..0617df8d34 100644 --- a/packages/cli/src/commands/_generated/radar/email/routing/summary-v2.ts +++ b/packages/cli/src/commands/_generated/radar/email/routing/summary-v2.ts @@ -24,49 +24,59 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("arc", { type: "string", + array: true, description: "Filters results by ARC (Authenticated Received Chain) validation.", }) .option("dkim", { type: "string", + array: true, description: "Filters results by DKIM (DomainKeys Identified Mail) validation status.", }) .option("dmarc", { type: "string", + array: true, description: "Filters results by DMARC (Domain-based Message Authentication, Reporting and Conformance) validation status.", }) .option("spf", { type: "string", + array: true, description: "Filters results by SPF (Sender Policy Framework) validation status.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("encrypted", { type: "string", + array: true, description: "Filters results by encryption status (encrypted vs. not-encrypted).", }) diff --git a/packages/cli/src/commands/_generated/radar/email/routing/timeseries-groups-v2.ts b/packages/cli/src/commands/_generated/radar/email/routing/timeseries-groups-v2.ts index 6cdc327f47..93b96ca3dc 100644 --- a/packages/cli/src/commands/_generated/radar/email/routing/timeseries-groups-v2.ts +++ b/packages/cli/src/commands/_generated/radar/email/routing/timeseries-groups-v2.ts @@ -30,49 +30,59 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("arc", { type: "string", + array: true, description: "Filters results by ARC (Authenticated Received Chain) validation.", }) .option("dkim", { type: "string", + array: true, description: "Filters results by DKIM (DomainKeys Identified Mail) validation status.", }) .option("dmarc", { type: "string", + array: true, description: "Filters results by DMARC (Domain-based Message Authentication, Reporting and Conformance) validation status.", }) .option("spf", { type: "string", + array: true, description: "Filters results by SPF (Sender Policy Framework) validation status.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("encrypted", { type: "string", + array: true, description: "Filters results by encryption status (encrypted vs. not-encrypted).", }) diff --git a/packages/cli/src/commands/_generated/radar/email/security/summary-v2.ts b/packages/cli/src/commands/_generated/radar/email/security/summary-v2.ts index 3997489610..8a1f85ecd6 100644 --- a/packages/cli/src/commands/_generated/radar/email/security/summary-v2.ts +++ b/packages/cli/src/commands/_generated/radar/email/security/summary-v2.ts @@ -24,45 +24,54 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("arc", { type: "string", + array: true, description: "Filters results by ARC (Authenticated Received Chain) validation.", }) .option("dkim", { type: "string", + array: true, description: "Filters results by DKIM (DomainKeys Identified Mail) validation status.", }) .option("dmarc", { type: "string", + array: true, description: "Filters results by DMARC (Domain-based Message Authentication, Reporting and Conformance) validation status.", }) .option("spf", { type: "string", + array: true, description: "Filters results by SPF (Sender Policy Framework) validation status.", }) .option("tls-version", { type: "string", + array: true, description: "Filters results by TLS version.", }) .option("limit-per-group", { diff --git a/packages/cli/src/commands/_generated/radar/email/security/timeseries-groups-v2.ts b/packages/cli/src/commands/_generated/radar/email/security/timeseries-groups-v2.ts index 9d95e6b102..9b88fe5ce5 100644 --- a/packages/cli/src/commands/_generated/radar/email/security/timeseries-groups-v2.ts +++ b/packages/cli/src/commands/_generated/radar/email/security/timeseries-groups-v2.ts @@ -30,45 +30,54 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("arc", { type: "string", + array: true, description: "Filters results by ARC (Authenticated Received Chain) validation.", }) .option("dkim", { type: "string", + array: true, description: "Filters results by DKIM (DomainKeys Identified Mail) validation status.", }) .option("dmarc", { type: "string", + array: true, description: "Filters results by DMARC (Domain-based Message Authentication, Reporting and Conformance) validation status.", }) .option("spf", { type: "string", + array: true, description: "Filters results by SPF (Sender Policy Framework) validation status.", }) .option("tls-version", { type: "string", + array: true, description: "Filters results by TLS version.", }) .option("limit-per-group", { diff --git a/packages/cli/src/commands/_generated/radar/email/security/top/tlds/get.ts b/packages/cli/src/commands/_generated/radar/email/security/top/tlds/get.ts index 8bd5011638..6cb5c663a1 100644 --- a/packages/cli/src/commands/_generated/radar/email/security/top/tlds/get.ts +++ b/packages/cli/src/commands/_generated/radar/email/security/top/tlds/get.ts @@ -23,45 +23,54 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("arc", { type: "string", + array: true, description: "Filters results by ARC (Authenticated Received Chain) validation.", }) .option("dkim", { type: "string", + array: true, description: "Filters results by DKIM (DomainKeys Identified Mail) validation status.", }) .option("dmarc", { type: "string", + array: true, description: "Filters results by DMARC (Domain-based Message Authentication, Reporting and Conformance) validation status.", }) .option("spf", { type: "string", + array: true, description: "Filters results by SPF (Sender Policy Framework) validation status.", }) .option("tls-version", { type: "string", + array: true, description: "Filters results by TLS version.", }) .option("tld-category", { diff --git a/packages/cli/src/commands/_generated/radar/email/security/top/tlds/malicious/get.ts b/packages/cli/src/commands/_generated/radar/email/security/top/tlds/malicious/get.ts index d9903544e2..166c00fa7e 100644 --- a/packages/cli/src/commands/_generated/radar/email/security/top/tlds/malicious/get.ts +++ b/packages/cli/src/commands/_generated/radar/email/security/top/tlds/malicious/get.ts @@ -28,45 +28,54 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("arc", { type: "string", + array: true, description: "Filters results by ARC (Authenticated Received Chain) validation.", }) .option("dkim", { type: "string", + array: true, description: "Filters results by DKIM (DomainKeys Identified Mail) validation status.", }) .option("dmarc", { type: "string", + array: true, description: "Filters results by DMARC (Domain-based Message Authentication, Reporting and Conformance) validation status.", }) .option("spf", { type: "string", + array: true, description: "Filters results by SPF (Sender Policy Framework) validation status.", }) .option("tls-version", { type: "string", + array: true, description: "Filters results by TLS version.", }) .option("tld-category", { diff --git a/packages/cli/src/commands/_generated/radar/email/security/top/tlds/spam/get.ts b/packages/cli/src/commands/_generated/radar/email/security/top/tlds/spam/get.ts index f90e3215c6..15a0a3c921 100644 --- a/packages/cli/src/commands/_generated/radar/email/security/top/tlds/spam/get.ts +++ b/packages/cli/src/commands/_generated/radar/email/security/top/tlds/spam/get.ts @@ -28,45 +28,54 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("arc", { type: "string", + array: true, description: "Filters results by ARC (Authenticated Received Chain) validation.", }) .option("dkim", { type: "string", + array: true, description: "Filters results by DKIM (DomainKeys Identified Mail) validation status.", }) .option("dmarc", { type: "string", + array: true, description: "Filters results by DMARC (Domain-based Message Authentication, Reporting and Conformance) validation status.", }) .option("spf", { type: "string", + array: true, description: "Filters results by SPF (Sender Policy Framework) validation status.", }) .option("tls-version", { type: "string", + array: true, description: "Filters results by TLS version.", }) .option("tld-category", { diff --git a/packages/cli/src/commands/_generated/radar/email/security/top/tlds/spoof/get.ts b/packages/cli/src/commands/_generated/radar/email/security/top/tlds/spoof/get.ts index 079ae357d6..f402e3cb61 100644 --- a/packages/cli/src/commands/_generated/radar/email/security/top/tlds/spoof/get.ts +++ b/packages/cli/src/commands/_generated/radar/email/security/top/tlds/spoof/get.ts @@ -28,45 +28,54 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("arc", { type: "string", + array: true, description: "Filters results by ARC (Authenticated Received Chain) validation.", }) .option("dkim", { type: "string", + array: true, description: "Filters results by DKIM (DomainKeys Identified Mail) validation status.", }) .option("dmarc", { type: "string", + array: true, description: "Filters results by DMARC (Domain-based Message Authentication, Reporting and Conformance) validation status.", }) .option("spf", { type: "string", + array: true, description: "Filters results by SPF (Sender Policy Framework) validation status.", }) .option("tls-version", { type: "string", + array: true, description: "Filters results by TLS version.", }) .option("tld-category", { diff --git a/packages/cli/src/commands/_generated/radar/entities/asns/botnet-threat-feed.ts b/packages/cli/src/commands/_generated/radar/entities/asns/botnet-threat-feed.ts index c3e24b4125..41a33f5c05 100644 --- a/packages/cli/src/commands/_generated/radar/entities/asns/botnet-threat-feed.ts +++ b/packages/cli/src/commands/_generated/radar/entities/asns/botnet-threat-feed.ts @@ -48,6 +48,7 @@ function builder(yargs: Argv) { }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) diff --git a/packages/cli/src/commands/_generated/radar/http/ases/bot-class/get.ts b/packages/cli/src/commands/_generated/radar/http/ases/bot-class/get.ts index 3ca9051785..1777588203 100644 --- a/packages/cli/src/commands/_generated/radar/http/ases/bot-class/get.ts +++ b/packages/cli/src/commands/_generated/radar/http/ases/bot-class/get.ts @@ -29,69 +29,84 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("geo-id", { type: "string", + array: true, description: "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", }) .option("device-type", { type: "string", + array: true, description: "Filters results by device type.", }) .option("http-protocol", { type: "string", + array: true, description: "Filters results by HTTP protocol (HTTP vs. HTTPS).", }) .option("http-version", { type: "string", + array: true, description: "Filters results by HTTP version.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("os", { type: "string", + array: true, description: "Filters results by operating system.", }) .option("tls-version", { type: "string", + array: true, description: "Filters results by TLS version.", }) .option("browser-family", { type: "string", + array: true, description: "Filters results by browser family.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/http/ases/browser-family/get.ts b/packages/cli/src/commands/_generated/radar/http/ases/browser-family/get.ts index 76abe5212b..399691f392 100644 --- a/packages/cli/src/commands/_generated/radar/http/ases/browser-family/get.ts +++ b/packages/cli/src/commands/_generated/radar/http/ases/browser-family/get.ts @@ -28,70 +28,85 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("geo-id", { type: "string", + array: true, description: "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", }) .option("bot-class", { type: "string", + array: true, description: "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", }) .option("device-type", { type: "string", + array: true, description: "Filters results by device type.", }) .option("http-protocol", { type: "string", + array: true, description: "Filters results by HTTP protocol (HTTP vs. HTTPS).", }) .option("http-version", { type: "string", + array: true, description: "Filters results by HTTP version.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("os", { type: "string", + array: true, description: "Filters results by operating system.", }) .option("tls-version", { type: "string", + array: true, description: "Filters results by TLS version.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/http/ases/device-type/get.ts b/packages/cli/src/commands/_generated/radar/http/ases/device-type/get.ts index 6be640eaed..0fe79155e0 100644 --- a/packages/cli/src/commands/_generated/radar/http/ases/device-type/get.ts +++ b/packages/cli/src/commands/_generated/radar/http/ases/device-type/get.ts @@ -28,70 +28,85 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("geo-id", { type: "string", + array: true, description: "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", }) .option("bot-class", { type: "string", + array: true, description: "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", }) .option("http-protocol", { type: "string", + array: true, description: "Filters results by HTTP protocol (HTTP vs. HTTPS).", }) .option("http-version", { type: "string", + array: true, description: "Filters results by HTTP version.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("os", { type: "string", + array: true, description: "Filters results by operating system.", }) .option("tls-version", { type: "string", + array: true, description: "Filters results by TLS version.", }) .option("browser-family", { type: "string", + array: true, description: "Filters results by browser family.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/http/ases/get.ts b/packages/cli/src/commands/_generated/radar/http/ases/get.ts index f82bdfd67b..ce17896a46 100644 --- a/packages/cli/src/commands/_generated/radar/http/ases/get.ts +++ b/packages/cli/src/commands/_generated/radar/http/ases/get.ts @@ -23,74 +23,90 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("geo-id", { type: "string", + array: true, description: "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", }) .option("bot-class", { type: "string", + array: true, description: "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", }) .option("device-type", { type: "string", + array: true, description: "Filters results by device type.", }) .option("http-protocol", { type: "string", + array: true, description: "Filters results by HTTP protocol (HTTP vs. HTTPS).", }) .option("http-version", { type: "string", + array: true, description: "Filters results by HTTP version.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("os", { type: "string", + array: true, description: "Filters results by operating system.", }) .option("tls-version", { type: "string", + array: true, description: "Filters results by TLS version.", }) .option("browser-family", { type: "string", + array: true, description: "Filters results by browser family.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/http/ases/http-method/get.ts b/packages/cli/src/commands/_generated/radar/http/ases/http-method/get.ts index 1a71e57459..a34f48d40f 100644 --- a/packages/cli/src/commands/_generated/radar/http/ases/http-method/get.ts +++ b/packages/cli/src/commands/_generated/radar/http/ases/http-method/get.ts @@ -28,70 +28,85 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("geo-id", { type: "string", + array: true, description: "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", }) .option("bot-class", { type: "string", + array: true, description: "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", }) .option("device-type", { type: "string", + array: true, description: "Filters results by device type.", }) .option("http-protocol", { type: "string", + array: true, description: "Filters results by HTTP protocol (HTTP vs. HTTPS).", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("os", { type: "string", + array: true, description: "Filters results by operating system.", }) .option("tls-version", { type: "string", + array: true, description: "Filters results by TLS version.", }) .option("browser-family", { type: "string", + array: true, description: "Filters results by browser family.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/http/ases/http-protocol/get.ts b/packages/cli/src/commands/_generated/radar/http/ases/http-protocol/get.ts index da206c941c..e4ac033321 100644 --- a/packages/cli/src/commands/_generated/radar/http/ases/http-protocol/get.ts +++ b/packages/cli/src/commands/_generated/radar/http/ases/http-protocol/get.ts @@ -28,70 +28,85 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("geo-id", { type: "string", + array: true, description: "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", }) .option("bot-class", { type: "string", + array: true, description: "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", }) .option("device-type", { type: "string", + array: true, description: "Filters results by device type.", }) .option("http-version", { type: "string", + array: true, description: "Filters results by HTTP version.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("os", { type: "string", + array: true, description: "Filters results by operating system.", }) .option("tls-version", { type: "string", + array: true, description: "Filters results by TLS version.", }) .option("browser-family", { type: "string", + array: true, description: "Filters results by browser family.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/http/ases/ip-version/get.ts b/packages/cli/src/commands/_generated/radar/http/ases/ip-version/get.ts index e9cb1f6ea9..efb8fb156a 100644 --- a/packages/cli/src/commands/_generated/radar/http/ases/ip-version/get.ts +++ b/packages/cli/src/commands/_generated/radar/http/ases/ip-version/get.ts @@ -28,70 +28,85 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("geo-id", { type: "string", + array: true, description: "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", }) .option("bot-class", { type: "string", + array: true, description: "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", }) .option("device-type", { type: "string", + array: true, description: "Filters results by device type.", }) .option("http-protocol", { type: "string", + array: true, description: "Filters results by HTTP protocol (HTTP vs. HTTPS).", }) .option("http-version", { type: "string", + array: true, description: "Filters results by HTTP version.", }) .option("os", { type: "string", + array: true, description: "Filters results by operating system.", }) .option("tls-version", { type: "string", + array: true, description: "Filters results by TLS version.", }) .option("browser-family", { type: "string", + array: true, description: "Filters results by browser family.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/http/ases/os/get.ts b/packages/cli/src/commands/_generated/radar/http/ases/os/get.ts index c3f4f57661..85127096fc 100644 --- a/packages/cli/src/commands/_generated/radar/http/ases/os/get.ts +++ b/packages/cli/src/commands/_generated/radar/http/ases/os/get.ts @@ -28,70 +28,85 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("geo-id", { type: "string", + array: true, description: "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", }) .option("bot-class", { type: "string", + array: true, description: "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", }) .option("device-type", { type: "string", + array: true, description: "Filters results by device type.", }) .option("http-protocol", { type: "string", + array: true, description: "Filters results by HTTP protocol (HTTP vs. HTTPS).", }) .option("http-version", { type: "string", + array: true, description: "Filters results by HTTP version.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("tls-version", { type: "string", + array: true, description: "Filters results by TLS version.", }) .option("browser-family", { type: "string", + array: true, description: "Filters results by browser family.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/http/ases/tls-version/get.ts b/packages/cli/src/commands/_generated/radar/http/ases/tls-version/get.ts index b8231dd083..9d3c20117f 100644 --- a/packages/cli/src/commands/_generated/radar/http/ases/tls-version/get.ts +++ b/packages/cli/src/commands/_generated/radar/http/ases/tls-version/get.ts @@ -28,70 +28,85 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("geo-id", { type: "string", + array: true, description: "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", }) .option("bot-class", { type: "string", + array: true, description: "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", }) .option("device-type", { type: "string", + array: true, description: "Filters results by device type.", }) .option("http-protocol", { type: "string", + array: true, description: "Filters results by HTTP protocol (HTTP vs. HTTPS).", }) .option("http-version", { type: "string", + array: true, description: "Filters results by HTTP version.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("os", { type: "string", + array: true, description: "Filters results by operating system.", }) .option("browser-family", { type: "string", + array: true, description: "Filters results by browser family.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/http/locations/bot-class/get.ts b/packages/cli/src/commands/_generated/radar/http/locations/bot-class/get.ts index 6dfcbe1117..fb2968b316 100644 --- a/packages/cli/src/commands/_generated/radar/http/locations/bot-class/get.ts +++ b/packages/cli/src/commands/_generated/radar/http/locations/bot-class/get.ts @@ -29,69 +29,84 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("geo-id", { type: "string", + array: true, description: "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", }) .option("device-type", { type: "string", + array: true, description: "Filters results by device type.", }) .option("http-protocol", { type: "string", + array: true, description: "Filters results by HTTP protocol (HTTP vs. HTTPS).", }) .option("http-version", { type: "string", + array: true, description: "Filters results by HTTP version.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("os", { type: "string", + array: true, description: "Filters results by operating system.", }) .option("tls-version", { type: "string", + array: true, description: "Filters results by TLS version.", }) .option("browser-family", { type: "string", + array: true, description: "Filters results by browser family.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/http/locations/browser-family/get.ts b/packages/cli/src/commands/_generated/radar/http/locations/browser-family/get.ts index 6a110138bd..811f98faf6 100644 --- a/packages/cli/src/commands/_generated/radar/http/locations/browser-family/get.ts +++ b/packages/cli/src/commands/_generated/radar/http/locations/browser-family/get.ts @@ -28,70 +28,85 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("geo-id", { type: "string", + array: true, description: "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", }) .option("bot-class", { type: "string", + array: true, description: "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", }) .option("device-type", { type: "string", + array: true, description: "Filters results by device type.", }) .option("http-protocol", { type: "string", + array: true, description: "Filters results by HTTP protocol (HTTP vs. HTTPS).", }) .option("http-version", { type: "string", + array: true, description: "Filters results by HTTP version.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("os", { type: "string", + array: true, description: "Filters results by operating system.", }) .option("tls-version", { type: "string", + array: true, description: "Filters results by TLS version.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/http/locations/device-type/get.ts b/packages/cli/src/commands/_generated/radar/http/locations/device-type/get.ts index 91eaa097ca..8f5ee36dc5 100644 --- a/packages/cli/src/commands/_generated/radar/http/locations/device-type/get.ts +++ b/packages/cli/src/commands/_generated/radar/http/locations/device-type/get.ts @@ -28,70 +28,85 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("geo-id", { type: "string", + array: true, description: "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", }) .option("bot-class", { type: "string", + array: true, description: "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", }) .option("http-protocol", { type: "string", + array: true, description: "Filters results by HTTP protocol (HTTP vs. HTTPS).", }) .option("http-version", { type: "string", + array: true, description: "Filters results by HTTP version.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("os", { type: "string", + array: true, description: "Filters results by operating system.", }) .option("tls-version", { type: "string", + array: true, description: "Filters results by TLS version.", }) .option("browser-family", { type: "string", + array: true, description: "Filters results by browser family.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/http/locations/get.ts b/packages/cli/src/commands/_generated/radar/http/locations/get.ts index 1a3048f5ca..2a774c735d 100644 --- a/packages/cli/src/commands/_generated/radar/http/locations/get.ts +++ b/packages/cli/src/commands/_generated/radar/http/locations/get.ts @@ -23,74 +23,90 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("geo-id", { type: "string", + array: true, description: "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", }) .option("bot-class", { type: "string", + array: true, description: "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", }) .option("device-type", { type: "string", + array: true, description: "Filters results by device type.", }) .option("http-protocol", { type: "string", + array: true, description: "Filters results by HTTP protocol (HTTP vs. HTTPS).", }) .option("http-version", { type: "string", + array: true, description: "Filters results by HTTP version.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("os", { type: "string", + array: true, description: "Filters results by operating system.", }) .option("tls-version", { type: "string", + array: true, description: "Filters results by TLS version.", }) .option("browser-family", { type: "string", + array: true, description: "Filters results by browser family.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/http/locations/http-method/get.ts b/packages/cli/src/commands/_generated/radar/http/locations/http-method/get.ts index 6c79746dfa..46b7f35900 100644 --- a/packages/cli/src/commands/_generated/radar/http/locations/http-method/get.ts +++ b/packages/cli/src/commands/_generated/radar/http/locations/http-method/get.ts @@ -28,70 +28,85 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("geo-id", { type: "string", + array: true, description: "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", }) .option("bot-class", { type: "string", + array: true, description: "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", }) .option("device-type", { type: "string", + array: true, description: "Filters results by device type.", }) .option("http-protocol", { type: "string", + array: true, description: "Filters results by HTTP protocol (HTTP vs. HTTPS).", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("os", { type: "string", + array: true, description: "Filters results by operating system.", }) .option("tls-version", { type: "string", + array: true, description: "Filters results by TLS version.", }) .option("browser-family", { type: "string", + array: true, description: "Filters results by browser family.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/http/locations/http-protocol/get.ts b/packages/cli/src/commands/_generated/radar/http/locations/http-protocol/get.ts index 8af2e0b576..63a6001f37 100644 --- a/packages/cli/src/commands/_generated/radar/http/locations/http-protocol/get.ts +++ b/packages/cli/src/commands/_generated/radar/http/locations/http-protocol/get.ts @@ -28,70 +28,85 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("geo-id", { type: "string", + array: true, description: "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", }) .option("bot-class", { type: "string", + array: true, description: "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", }) .option("device-type", { type: "string", + array: true, description: "Filters results by device type.", }) .option("http-version", { type: "string", + array: true, description: "Filters results by HTTP version.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("os", { type: "string", + array: true, description: "Filters results by operating system.", }) .option("tls-version", { type: "string", + array: true, description: "Filters results by TLS version.", }) .option("browser-family", { type: "string", + array: true, description: "Filters results by browser family.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/http/locations/ip-version/get.ts b/packages/cli/src/commands/_generated/radar/http/locations/ip-version/get.ts index 3d10358008..8d08fca205 100644 --- a/packages/cli/src/commands/_generated/radar/http/locations/ip-version/get.ts +++ b/packages/cli/src/commands/_generated/radar/http/locations/ip-version/get.ts @@ -28,70 +28,85 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("geo-id", { type: "string", + array: true, description: "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", }) .option("bot-class", { type: "string", + array: true, description: "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", }) .option("device-type", { type: "string", + array: true, description: "Filters results by device type.", }) .option("http-protocol", { type: "string", + array: true, description: "Filters results by HTTP protocol (HTTP vs. HTTPS).", }) .option("http-version", { type: "string", + array: true, description: "Filters results by HTTP version.", }) .option("os", { type: "string", + array: true, description: "Filters results by operating system.", }) .option("tls-version", { type: "string", + array: true, description: "Filters results by TLS version.", }) .option("browser-family", { type: "string", + array: true, description: "Filters results by browser family.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/http/locations/os/get.ts b/packages/cli/src/commands/_generated/radar/http/locations/os/get.ts index 22f92b6e1e..e4842aae42 100644 --- a/packages/cli/src/commands/_generated/radar/http/locations/os/get.ts +++ b/packages/cli/src/commands/_generated/radar/http/locations/os/get.ts @@ -28,70 +28,85 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("geo-id", { type: "string", + array: true, description: "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", }) .option("bot-class", { type: "string", + array: true, description: "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", }) .option("device-type", { type: "string", + array: true, description: "Filters results by device type.", }) .option("http-protocol", { type: "string", + array: true, description: "Filters results by HTTP protocol (HTTP vs. HTTPS).", }) .option("http-version", { type: "string", + array: true, description: "Filters results by HTTP version.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("tls-version", { type: "string", + array: true, description: "Filters results by TLS version.", }) .option("browser-family", { type: "string", + array: true, description: "Filters results by browser family.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/http/locations/tls-version/get.ts b/packages/cli/src/commands/_generated/radar/http/locations/tls-version/get.ts index e138bdedf8..8673d62bcf 100644 --- a/packages/cli/src/commands/_generated/radar/http/locations/tls-version/get.ts +++ b/packages/cli/src/commands/_generated/radar/http/locations/tls-version/get.ts @@ -28,70 +28,85 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("geo-id", { type: "string", + array: true, description: "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", }) .option("bot-class", { type: "string", + array: true, description: "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", }) .option("device-type", { type: "string", + array: true, description: "Filters results by device type.", }) .option("http-protocol", { type: "string", + array: true, description: "Filters results by HTTP protocol (HTTP vs. HTTPS).", }) .option("http-version", { type: "string", + array: true, description: "Filters results by HTTP version.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("os", { type: "string", + array: true, description: "Filters results by operating system.", }) .option("browser-family", { type: "string", + array: true, description: "Filters results by browser family.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/http/summary-v2.ts b/packages/cli/src/commands/_generated/radar/http/summary-v2.ts index ffd4e7a5f4..d54cc39e6c 100644 --- a/packages/cli/src/commands/_generated/radar/http/summary-v2.ts +++ b/packages/cli/src/commands/_generated/radar/http/summary-v2.ts @@ -25,80 +25,97 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("geo-id", { type: "string", + array: true, description: "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", }) .option("api-traffic", { type: "string", + array: true, description: "Filters results by API traffic classification. API traffic is identified by JSON or XML response content types on dynamic (non-cacheable) HTTP requests. Incompatible with the `browserFamily`, `deviceType`, `httpProtocol`, `httpVersion`, `ipVersion`, `os`, and `tlsVersion` filters/dimensions. When set, results can only be further filtered by location, continent, or Autonomous System.", }) .option("bot-class", { type: "string", + array: true, description: "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", }) .option("content-type", { type: "string", + array: true, description: "Filters results by content type category. When set, results can only be further filtered by location, continent, or Autonomous System.", }) .option("device-type", { type: "string", + array: true, description: "Filters results by device type.", }) .option("http-protocol", { type: "string", + array: true, description: "Filters results by HTTP protocol (HTTP vs. HTTPS).", }) .option("http-version", { type: "string", + array: true, description: "Filters results by HTTP version.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("os", { type: "string", + array: true, description: "Filters results by operating system.", }) .option("tls-version", { type: "string", + array: true, description: "Filters results by TLS version.", }) .option("limit-per-group", { diff --git a/packages/cli/src/commands/_generated/radar/http/timeseries-groups-v2.ts b/packages/cli/src/commands/_generated/radar/http/timeseries-groups-v2.ts index 626561c944..f1f70d809e 100644 --- a/packages/cli/src/commands/_generated/radar/http/timeseries-groups-v2.ts +++ b/packages/cli/src/commands/_generated/radar/http/timeseries-groups-v2.ts @@ -31,55 +31,66 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("geo-id", { type: "string", + array: true, description: "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", }) .option("api-traffic", { type: "string", + array: true, description: "Filters results by API traffic classification. API traffic is identified by JSON or XML response content types on dynamic (non-cacheable) HTTP requests. Incompatible with the `browserFamily`, `deviceType`, `httpProtocol`, `httpVersion`, `ipVersion`, `os`, and `tlsVersion` filters/dimensions. When set, results can only be further filtered by location, continent, or Autonomous System.", }) .option("bot-class", { type: "string", + array: true, description: "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", }) .option("content-type", { type: "string", + array: true, description: "Filters results by content type category. When set, results can only be further filtered by location, continent, or Autonomous System.", }) @@ -90,14 +101,17 @@ function builder(yargs: Argv) { }) .option("device-type", { type: "string", + array: true, description: "Filters results by device type.", }) .option("http-protocol", { type: "string", + array: true, description: "Filters results by HTTP protocol (HTTP vs. HTTPS).", }) .option("http-version", { type: "string", + array: true, description: "Filters results by HTTP version.", }) .option("normalization", { @@ -108,14 +122,17 @@ function builder(yargs: Argv) { }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("os", { type: "string", + array: true, description: "Filters results by operating system.", }) .option("tls-version", { type: "string", + array: true, description: "Filters results by TLS version.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/http/timeseries.ts b/packages/cli/src/commands/_generated/radar/http/timeseries.ts index a5e4fd139e..a14c201fb8 100644 --- a/packages/cli/src/commands/_generated/radar/http/timeseries.ts +++ b/packages/cli/src/commands/_generated/radar/http/timeseries.ts @@ -23,40 +23,48 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("geo-id", { type: "string", + array: true, description: "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", }) @@ -68,45 +76,55 @@ function builder(yargs: Argv) { }) .option("api-traffic", { type: "string", + array: true, description: "Filters results by API traffic classification. API traffic is identified by JSON or XML response content types on dynamic (non-cacheable) HTTP requests. Incompatible with the `browserFamily`, `deviceType`, `httpProtocol`, `httpVersion`, `ipVersion`, `os`, and `tlsVersion` filters/dimensions. When set, results can only be further filtered by location, continent, or Autonomous System.", }) .option("bot-class", { type: "string", + array: true, description: "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", }) .option("content-type", { type: "string", + array: true, description: "Filters results by content type category. When set, results can only be further filtered by location, continent, or Autonomous System.", }) .option("device-type", { type: "string", + array: true, description: "Filters results by device type.", }) .option("http-protocol", { type: "string", + array: true, description: "Filters results by HTTP protocol (HTTP vs. HTTPS).", }) .option("http-version", { type: "string", + array: true, description: "Filters results by HTTP version.", }) .option("ip-version", { type: "string", + array: true, description: "Filters results by IP version (Ipv4 vs. IPv6).", }) .option("os", { type: "string", + array: true, description: "Filters results by operating system.", }) .option("tls-version", { type: "string", + array: true, description: "Filters results by TLS version.", }) .option("browser-family", { type: "string", + array: true, description: "Filters results by browser family.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/leaked-credentials/summary-v2.ts b/packages/cli/src/commands/_generated/radar/leaked-credentials/summary-v2.ts index 8efad7ddb2..4445a10ef5 100644 --- a/packages/cli/src/commands/_generated/radar/leaked-credentials/summary-v2.ts +++ b/packages/cli/src/commands/_generated/radar/leaked-credentials/summary-v2.ts @@ -24,45 +24,54 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("bot-class", { type: "string", + array: true, description: "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", }) .option("compromised", { type: "string", + array: true, description: "Filters results by compromised credential status (clean vs. compromised).", }) diff --git a/packages/cli/src/commands/_generated/radar/leaked-credentials/timeseries-groups-v2.ts b/packages/cli/src/commands/_generated/radar/leaked-credentials/timeseries-groups-v2.ts index d0cee7fa34..5a0fdb9b34 100644 --- a/packages/cli/src/commands/_generated/radar/leaked-credentials/timeseries-groups-v2.ts +++ b/packages/cli/src/commands/_generated/radar/leaked-credentials/timeseries-groups-v2.ts @@ -30,50 +30,60 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("bot-class", { type: "string", + array: true, description: "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", }) .option("compromised", { type: "string", + array: true, description: "Filters results by compromised credential status (clean vs. compromised).", }) .option("check-result", { type: "string", + array: true, description: "Filters results by leaked credential check result.", }) .option("limit-per-group", { diff --git a/packages/cli/src/commands/_generated/radar/netflows/summary-v2.ts b/packages/cli/src/commands/_generated/radar/netflows/summary-v2.ts index 7e44ded37b..85995162b3 100644 --- a/packages/cli/src/commands/_generated/radar/netflows/summary-v2.ts +++ b/packages/cli/src/commands/_generated/radar/netflows/summary-v2.ts @@ -25,45 +25,54 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("geo-id", { type: "string", + array: true, description: "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", }) .option("product", { type: "string", + array: true, description: "Filters the results by network traffic product types.", }) .option("limit-per-group", { diff --git a/packages/cli/src/commands/_generated/radar/netflows/timeseries-groups.ts b/packages/cli/src/commands/_generated/radar/netflows/timeseries-groups.ts index 12cd31e4b9..b040c73369 100644 --- a/packages/cli/src/commands/_generated/radar/netflows/timeseries-groups.ts +++ b/packages/cli/src/commands/_generated/radar/netflows/timeseries-groups.ts @@ -31,40 +31,48 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("geo-id", { type: "string", + array: true, description: "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", }) @@ -81,6 +89,7 @@ function builder(yargs: Argv) { }) .option("product", { type: "string", + array: true, description: "Filters the results by network traffic product types.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/netflows/timeseries.ts b/packages/cli/src/commands/_generated/radar/netflows/timeseries.ts index 1c097436b0..76ca330613 100644 --- a/packages/cli/src/commands/_generated/radar/netflows/timeseries.ts +++ b/packages/cli/src/commands/_generated/radar/netflows/timeseries.ts @@ -25,44 +25,53 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("product", { type: "string", + array: true, description: "Filters the results by network traffic product types.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("geo-id", { type: "string", + array: true, description: "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", }) diff --git a/packages/cli/src/commands/_generated/radar/netflows/top/ases.ts b/packages/cli/src/commands/_generated/radar/netflows/top/ases.ts index 8868a17a60..dc6916ea03 100644 --- a/packages/cli/src/commands/_generated/radar/netflows/top/ases.ts +++ b/packages/cli/src/commands/_generated/radar/netflows/top/ases.ts @@ -23,40 +23,48 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("geo-id", { type: "string", + array: true, description: "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", }) diff --git a/packages/cli/src/commands/_generated/radar/netflows/top/locations.ts b/packages/cli/src/commands/_generated/radar/netflows/top/locations.ts index 6bd5fbb6b9..4ff8b2527f 100644 --- a/packages/cli/src/commands/_generated/radar/netflows/top/locations.ts +++ b/packages/cli/src/commands/_generated/radar/netflows/top/locations.ts @@ -23,40 +23,48 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("geo-id", { type: "string", + array: true, description: "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", }) diff --git a/packages/cli/src/commands/_generated/radar/origins/summary.ts b/packages/cli/src/commands/_generated/radar/origins/summary.ts index 02ffd03627..2df1fcb278 100644 --- a/packages/cli/src/commands/_generated/radar/origins/summary.ts +++ b/packages/cli/src/commands/_generated/radar/origins/summary.ts @@ -25,20 +25,24 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) @@ -49,6 +53,7 @@ function builder(yargs: Argv) { }) .option("origin", { type: "string", + array: true, description: "Filters results by origin. Required for every dimension except `ORIGIN`; must not be set on the `ORIGIN` dimension, which groups across all providers.", }) @@ -68,6 +73,7 @@ function builder(yargs: Argv) { }) .option("region", { type: "string", + array: true, description: "Filters results by origin region. Requires `origin` to be set and is validated against it.", }) diff --git a/packages/cli/src/commands/_generated/radar/origins/timeseries-groups.ts b/packages/cli/src/commands/_generated/radar/origins/timeseries-groups.ts index 85cbbb15ea..9b5c84c155 100644 --- a/packages/cli/src/commands/_generated/radar/origins/timeseries-groups.ts +++ b/packages/cli/src/commands/_generated/radar/origins/timeseries-groups.ts @@ -31,20 +31,24 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) @@ -55,6 +59,7 @@ function builder(yargs: Argv) { }) .option("origin", { type: "string", + array: true, description: "Filters results by origin. Required for every dimension except `ORIGIN`; must not be set on the `ORIGIN` dimension, which groups across all providers.", }) @@ -74,6 +79,7 @@ function builder(yargs: Argv) { }) .option("region", { type: "string", + array: true, description: "Filters results by origin region. Requires `origin` to be set and is validated against it.", }) diff --git a/packages/cli/src/commands/_generated/radar/origins/timeseries.ts b/packages/cli/src/commands/_generated/radar/origins/timeseries.ts index eec38f6007..f160383d84 100644 --- a/packages/cli/src/commands/_generated/radar/origins/timeseries.ts +++ b/packages/cli/src/commands/_generated/radar/origins/timeseries.ts @@ -25,25 +25,30 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("origin", { type: "string", + array: true, description: "Filters results by origin.", demandOption: true, }) @@ -63,6 +68,7 @@ function builder(yargs: Argv) { }) .option("region", { type: "string", + array: true, description: "Filters results by origin region. Requires `origin` to be set and is validated against it.", }) diff --git a/packages/cli/src/commands/_generated/radar/post-quantum/origin/summary.ts b/packages/cli/src/commands/_generated/radar/post-quantum/origin/summary.ts index f114ea60d1..3bdbdd39ff 100644 --- a/packages/cli/src/commands/_generated/radar/post-quantum/origin/summary.ts +++ b/packages/cli/src/commands/_generated/radar/post-quantum/origin/summary.ts @@ -25,20 +25,24 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) diff --git a/packages/cli/src/commands/_generated/radar/post-quantum/origin/timeseries-groups.ts b/packages/cli/src/commands/_generated/radar/post-quantum/origin/timeseries-groups.ts index 411a407aa9..7fc924a01f 100644 --- a/packages/cli/src/commands/_generated/radar/post-quantum/origin/timeseries-groups.ts +++ b/packages/cli/src/commands/_generated/radar/post-quantum/origin/timeseries-groups.ts @@ -25,20 +25,24 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) diff --git a/packages/cli/src/commands/_generated/radar/quality/iqi/summary.ts b/packages/cli/src/commands/_generated/radar/quality/iqi/summary.ts index 599f560d40..2a7bacc721 100644 --- a/packages/cli/src/commands/_generated/radar/quality/iqi/summary.ts +++ b/packages/cli/src/commands/_generated/radar/quality/iqi/summary.ts @@ -19,35 +19,42 @@ function builder(yargs: Argv) { ) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) diff --git a/packages/cli/src/commands/_generated/radar/quality/iqi/timeseries-groups.ts b/packages/cli/src/commands/_generated/radar/quality/iqi/timeseries-groups.ts index 93f2fb52f5..ee089e0257 100644 --- a/packages/cli/src/commands/_generated/radar/quality/iqi/timeseries-groups.ts +++ b/packages/cli/src/commands/_generated/radar/quality/iqi/timeseries-groups.ts @@ -25,35 +25,42 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) diff --git a/packages/cli/src/commands/_generated/radar/quality/speed/histogram.ts b/packages/cli/src/commands/_generated/radar/quality/speed/histogram.ts index d233fac876..8f07827c87 100644 --- a/packages/cli/src/commands/_generated/radar/quality/speed/histogram.ts +++ b/packages/cli/src/commands/_generated/radar/quality/speed/histogram.ts @@ -19,25 +19,30 @@ function builder(yargs: Argv) { ) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) diff --git a/packages/cli/src/commands/_generated/radar/quality/speed/summary.ts b/packages/cli/src/commands/_generated/radar/quality/speed/summary.ts index 12ed5f9401..75d6525ecc 100644 --- a/packages/cli/src/commands/_generated/radar/quality/speed/summary.ts +++ b/packages/cli/src/commands/_generated/radar/quality/speed/summary.ts @@ -19,25 +19,30 @@ function builder(yargs: Argv) { ) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) diff --git a/packages/cli/src/commands/_generated/radar/quality/speed/top/ases.ts b/packages/cli/src/commands/_generated/radar/quality/speed/top/ases.ts index 53cf11be9c..7b83ea3c32 100644 --- a/packages/cli/src/commands/_generated/radar/quality/speed/top/ases.ts +++ b/packages/cli/src/commands/_generated/radar/quality/speed/top/ases.ts @@ -23,25 +23,30 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) diff --git a/packages/cli/src/commands/_generated/radar/quality/speed/top/locations.ts b/packages/cli/src/commands/_generated/radar/quality/speed/top/locations.ts index b04852e225..ec384d6754 100644 --- a/packages/cli/src/commands/_generated/radar/quality/speed/top/locations.ts +++ b/packages/cli/src/commands/_generated/radar/quality/speed/top/locations.ts @@ -23,25 +23,30 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) diff --git a/packages/cli/src/commands/_generated/radar/ranking/domain/get.ts b/packages/cli/src/commands/_generated/radar/ranking/domain/get.ts index 550f4ecb8f..f719f38a3b 100644 --- a/packages/cli/src/commands/_generated/radar/ranking/domain/get.ts +++ b/packages/cli/src/commands/_generated/radar/ranking/domain/get.ts @@ -33,6 +33,7 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("include-top-locations", { @@ -41,6 +42,7 @@ function builder(yargs: Argv) { }) .option("date", { type: "string", + array: true, description: "Filters results by the specified array of dates.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/ranking/internet-services/categories.ts b/packages/cli/src/commands/_generated/radar/ranking/internet-services/categories.ts index cd7a104dfe..67da655d2a 100644 --- a/packages/cli/src/commands/_generated/radar/ranking/internet-services/categories.ts +++ b/packages/cli/src/commands/_generated/radar/ranking/internet-services/categories.ts @@ -23,10 +23,12 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date", { type: "string", + array: true, description: "Filters results by the specified array of dates.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/ranking/internet-services/timeseries-groups.ts b/packages/cli/src/commands/_generated/radar/ranking/internet-services/timeseries-groups.ts index 69a47c0dc3..9129872802 100644 --- a/packages/cli/src/commands/_generated/radar/ranking/internet-services/timeseries-groups.ts +++ b/packages/cli/src/commands/_generated/radar/ranking/internet-services/timeseries-groups.ts @@ -19,6 +19,7 @@ function builder(yargs: Argv) { ) .option("service-category", { type: "string", + array: true, description: "Filters results by Internet service category.", }) .option("limit", { @@ -27,20 +28,24 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) diff --git a/packages/cli/src/commands/_generated/radar/ranking/internet-services/top.ts b/packages/cli/src/commands/_generated/radar/ranking/internet-services/top.ts index adef9b83b9..617c342ff1 100644 --- a/packages/cli/src/commands/_generated/radar/ranking/internet-services/top.ts +++ b/packages/cli/src/commands/_generated/radar/ranking/internet-services/top.ts @@ -19,6 +19,7 @@ function builder(yargs: Argv) { ) .option("service-category", { type: "string", + array: true, description: "Filters results by Internet service category.", }) .option("limit", { @@ -27,10 +28,12 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date", { type: "string", + array: true, description: "Filters results by the specified array of dates.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/ranking/timeseries-groups.ts b/packages/cli/src/commands/_generated/radar/ranking/timeseries-groups.ts index a9e7f083ef..324ac3a034 100644 --- a/packages/cli/src/commands/_generated/radar/ranking/timeseries-groups.ts +++ b/packages/cli/src/commands/_generated/radar/ranking/timeseries-groups.ts @@ -28,34 +28,41 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 location codes.", }) .option("domains", { type: "string", + array: true, description: "Filters results by domain name. Specify a comma-separated list of domain names.", }) .option("domain-category", { type: "string", + array: true, description: "Filters results by domain category.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) diff --git a/packages/cli/src/commands/_generated/radar/ranking/top.ts b/packages/cli/src/commands/_generated/radar/ranking/top.ts index 5eee1ae3cd..47f1089eb2 100644 --- a/packages/cli/src/commands/_generated/radar/ranking/top.ts +++ b/packages/cli/src/commands/_generated/radar/ranking/top.ts @@ -23,19 +23,23 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 location codes.", }) .option("domain-category", { type: "string", + array: true, description: "Filters results by domain category.", }) .option("date", { type: "string", + array: true, description: "Filters results by the specified array of dates.", }) .option("ranking-type", { diff --git a/packages/cli/src/commands/_generated/radar/robots-txt/top/domain-categories.ts b/packages/cli/src/commands/_generated/radar/robots-txt/top/domain-categories.ts index 60b719365f..6ff55d9cf4 100644 --- a/packages/cli/src/commands/_generated/radar/robots-txt/top/domain-categories.ts +++ b/packages/cli/src/commands/_generated/radar/robots-txt/top/domain-categories.ts @@ -23,6 +23,7 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("user-agent-category", { @@ -32,6 +33,7 @@ function builder(yargs: Argv) { }) .option("date", { type: "string", + array: true, description: "Filters results by the specified array of dates.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/robots-txt/top/user-agents/directive.ts b/packages/cli/src/commands/_generated/radar/robots-txt/top/user-agents/directive.ts index 434c5d4516..b8010911fa 100644 --- a/packages/cli/src/commands/_generated/radar/robots-txt/top/user-agents/directive.ts +++ b/packages/cli/src/commands/_generated/radar/robots-txt/top/user-agents/directive.ts @@ -23,6 +23,7 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("user-agent-category", { @@ -32,10 +33,12 @@ function builder(yargs: Argv) { }) .option("date", { type: "string", + array: true, description: "Filters results by the specified array of dates.", }) .option("domain-category", { type: "string", + array: true, description: "Filters results by domain category.", }) .option("directive", { diff --git a/packages/cli/src/commands/_generated/radar/search/global.ts b/packages/cli/src/commands/_generated/radar/search/global.ts index aa783d5099..a2e93e0ef8 100644 --- a/packages/cli/src/commands/_generated/radar/search/global.ts +++ b/packages/cli/src/commands/_generated/radar/search/global.ts @@ -32,10 +32,12 @@ function builder(yargs: Argv) { }) .option("include", { type: "string", + array: true, description: "Search types included in results.", }) .option("exclude", { type: "string", + array: true, description: "Search types excluded from results.", }) .option("format", { diff --git a/packages/cli/src/commands/_generated/radar/tcp-resets-timeouts/summary.ts b/packages/cli/src/commands/_generated/radar/tcp-resets-timeouts/summary.ts index b017cfb998..5df50c1e54 100644 --- a/packages/cli/src/commands/_generated/radar/tcp-resets-timeouts/summary.ts +++ b/packages/cli/src/commands/_generated/radar/tcp-resets-timeouts/summary.ts @@ -19,35 +19,42 @@ function builder(yargs: Argv) { ) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) diff --git a/packages/cli/src/commands/_generated/radar/tcp-resets-timeouts/timeseries-groups.ts b/packages/cli/src/commands/_generated/radar/tcp-resets-timeouts/timeseries-groups.ts index 69fd52cc79..4c93d4cb27 100644 --- a/packages/cli/src/commands/_generated/radar/tcp-resets-timeouts/timeseries-groups.ts +++ b/packages/cli/src/commands/_generated/radar/tcp-resets-timeouts/timeseries-groups.ts @@ -25,35 +25,42 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("asn", { type: "string", + array: true, description: "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) diff --git a/packages/cli/src/commands/_generated/radar/tlds/performance/summary.ts b/packages/cli/src/commands/_generated/radar/tlds/performance/summary.ts index 94ebfd6c0b..0b198b6e3b 100644 --- a/packages/cli/src/commands/_generated/radar/tlds/performance/summary.ts +++ b/packages/cli/src/commands/_generated/radar/tlds/performance/summary.ts @@ -24,35 +24,42 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("tld", { type: "string", + array: true, description: "Filters results by top-level domain.", }) .option("nameserver", { diff --git a/packages/cli/src/commands/_generated/radar/tlds/performance/timeseries-groups.ts b/packages/cli/src/commands/_generated/radar/tlds/performance/timeseries-groups.ts index 045c2d9998..62b0d02065 100644 --- a/packages/cli/src/commands/_generated/radar/tlds/performance/timeseries-groups.ts +++ b/packages/cli/src/commands/_generated/radar/tlds/performance/timeseries-groups.ts @@ -30,35 +30,42 @@ function builder(yargs: Argv) { }) .option("name", { type: "string", + array: true, description: "Array of names used to label the series in the response.", }) .option("date-range", { type: "string", + array: true, description: "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", }) .option("date-start", { type: "string", + array: true, description: "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("date-end", { type: "string", + array: true, description: "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", }) .option("location", { type: "string", + array: true, description: "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", }) .option("continent", { type: "string", + array: true, description: "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", }) .option("tld", { type: "string", + array: true, description: "Filters results by top-level domain.", }) .option("nameserver", { diff --git a/packages/cli/src/commands/_generated/radar/traffic-anomalies/get.ts b/packages/cli/src/commands/_generated/radar/traffic-anomalies/get.ts index 5d6024dd53..cc78a585cd 100644 --- a/packages/cli/src/commands/_generated/radar/traffic-anomalies/get.ts +++ b/packages/cli/src/commands/_generated/radar/traffic-anomalies/get.ts @@ -48,6 +48,7 @@ function builder(yargs: Argv) { }) .option("type", { type: "string", + array: true, description: "Filters results by entity type (LOCATION, AS, or ORIGIN).", }) .option("data-source", { diff --git a/packages/cli/src/commands/_generated/realtime/kit/recordings/list.ts b/packages/cli/src/commands/_generated/realtime/kit/recordings/list.ts index 310ca5f446..d528259173 100644 --- a/packages/cli/src/commands/_generated/realtime/kit/recordings/list.ts +++ b/packages/cli/src/commands/_generated/realtime/kit/recordings/list.ts @@ -73,6 +73,7 @@ function builder(yargs: Argv) { }) .option("status", { type: "string", + array: true, description: "Filter by one or more recording status", }) .option("dry-run", { diff --git a/packages/cli/src/commands/_generated/registrar-sandbox/registrations/search.ts b/packages/cli/src/commands/_generated/registrar-sandbox/registrations/search.ts index 8f980d7865..6a79fe25a2 100644 --- a/packages/cli/src/commands/_generated/registrar-sandbox/registrations/search.ts +++ b/packages/cli/src/commands/_generated/registrar-sandbox/registrations/search.ts @@ -30,6 +30,7 @@ function builder(yargs: Argv) { }) .option("extensions", { type: "string", + array: true, description: "Limits results to specific domain extensions from the supported set. If not specified,\nreturns results across all supported extensions. Extensions not in the supported\nset are silently ignored.", }) diff --git a/packages/cli/src/commands/_generated/registrar/registrations/search.ts b/packages/cli/src/commands/_generated/registrar/registrations/search.ts index cd35f57574..169fd2ef15 100644 --- a/packages/cli/src/commands/_generated/registrar/registrations/search.ts +++ b/packages/cli/src/commands/_generated/registrar/registrations/search.ts @@ -30,6 +30,7 @@ function builder(yargs: Argv) { }) .option("extensions", { type: "string", + array: true, description: "Limits results to specific domain extensions from the supported set. If not specified,\nreturns results across all supported extensions. Extensions not in the supported\nset are silently ignored.", }) diff --git a/packages/cli/src/commands/_generated/resource-sharing/list.ts b/packages/cli/src/commands/_generated/resource-sharing/list.ts index 2270177a39..7b89f9bbce 100644 --- a/packages/cli/src/commands/_generated/resource-sharing/list.ts +++ b/packages/cli/src/commands/_generated/resource-sharing/list.ts @@ -37,6 +37,7 @@ function builder(yargs: Argv) { }) .option("resource-types", { type: "string", + array: true, description: "Filter share resources by resource_types.", }) .option("order", { @@ -69,6 +70,7 @@ function builder(yargs: Argv) { }) .option("tag", { type: "string", + array: true, description: "Filter shares by tag. Each value is either `key=value` (matches shares whose tags contain that key/value pair) or `key` alone (matches shares that have any value for that key). May be repeated; multiple `tag` parameters are ANDed together. Maximum 20 `tag` parameters per request.", }) diff --git a/packages/cli/src/commands/_generated/secrets-store/secrets/list.ts b/packages/cli/src/commands/_generated/secrets-store/secrets/list.ts index f558d7e459..ff5b4fdbee 100644 --- a/packages/cli/src/commands/_generated/secrets-store/secrets/list.ts +++ b/packages/cli/src/commands/_generated/secrets-store/secrets/list.ts @@ -47,6 +47,7 @@ function builder(yargs: Argv) { }) .option("scopes", { type: "string", + array: true, description: "Only secrets with the given scopes will be returned.", }) .option("dry-run", { diff --git a/packages/cli/src/commands/_generated/security-insights/count/by-class.ts b/packages/cli/src/commands/_generated/security-insights/count/by-class.ts index f723079401..b2962da073 100644 --- a/packages/cli/src/commands/_generated/security-insights/count/by-class.ts +++ b/packages/cli/src/commands/_generated/security-insights/count/by-class.ts @@ -24,12 +24,24 @@ function builder(yargs: Argv) { "$0 security-insights count by-class\n\nRetrieves Security Center insight counts aggregated by classification class." ) .option("dismissed", { type: "boolean", description: "Dismissed" }) - .option("issue-class", { type: "string", description: "Issue class" }) - .option("issue-type", { type: "string", description: "Issue type" }) - .option("product", { type: "string", description: "Product" }) - .option("source", { type: "string", description: "Source" }) - .option("severity", { type: "string", description: "Severity" }) - .option("subject", { type: "string", description: "Subject" }) + .option("issue-class", { + type: "string", + array: true, + description: "Issue class", + }) + .option("issue-type", { + type: "string", + array: true, + description: "Issue type", + }) + .option("product", { type: "string", array: true, description: "Product" }) + .option("source", { type: "string", array: true, description: "Source" }) + .option("severity", { + type: "string", + array: true, + description: "Severity", + }) + .option("subject", { type: "string", array: true, description: "Subject" }) .option("dry-run", { type: "boolean", description: "Validate and show what would happen without executing", diff --git a/packages/cli/src/commands/_generated/security-insights/count/by-severity.ts b/packages/cli/src/commands/_generated/security-insights/count/by-severity.ts index 23e43cb30b..7eaf35937d 100644 --- a/packages/cli/src/commands/_generated/security-insights/count/by-severity.ts +++ b/packages/cli/src/commands/_generated/security-insights/count/by-severity.ts @@ -24,12 +24,24 @@ function builder(yargs: Argv) { "$0 security-insights count by-severity\n\nRetrieves Security Center insight counts aggregated by severity level (critical, high, medium, low)." ) .option("dismissed", { type: "boolean", description: "Dismissed" }) - .option("issue-class", { type: "string", description: "Issue class" }) - .option("issue-type", { type: "string", description: "Issue type" }) - .option("product", { type: "string", description: "Product" }) - .option("source", { type: "string", description: "Source" }) - .option("severity", { type: "string", description: "Severity" }) - .option("subject", { type: "string", description: "Subject" }) + .option("issue-class", { + type: "string", + array: true, + description: "Issue class", + }) + .option("issue-type", { + type: "string", + array: true, + description: "Issue type", + }) + .option("product", { type: "string", array: true, description: "Product" }) + .option("source", { type: "string", array: true, description: "Source" }) + .option("severity", { + type: "string", + array: true, + description: "Severity", + }) + .option("subject", { type: "string", array: true, description: "Subject" }) .option("dry-run", { type: "boolean", description: "Validate and show what would happen without executing", diff --git a/packages/cli/src/commands/_generated/security-insights/count/by-type.ts b/packages/cli/src/commands/_generated/security-insights/count/by-type.ts index a5a1b5419f..242bc7698d 100644 --- a/packages/cli/src/commands/_generated/security-insights/count/by-type.ts +++ b/packages/cli/src/commands/_generated/security-insights/count/by-type.ts @@ -24,12 +24,24 @@ function builder(yargs: Argv) { "$0 security-insights count by-type\n\nRetrieves Security Center insight counts aggregated by insight type." ) .option("dismissed", { type: "boolean", description: "Dismissed" }) - .option("issue-class", { type: "string", description: "Issue class" }) - .option("issue-type", { type: "string", description: "Issue type" }) - .option("product", { type: "string", description: "Product" }) - .option("source", { type: "string", description: "Source" }) - .option("severity", { type: "string", description: "Severity" }) - .option("subject", { type: "string", description: "Subject" }) + .option("issue-class", { + type: "string", + array: true, + description: "Issue class", + }) + .option("issue-type", { + type: "string", + array: true, + description: "Issue type", + }) + .option("product", { type: "string", array: true, description: "Product" }) + .option("source", { type: "string", array: true, description: "Source" }) + .option("severity", { + type: "string", + array: true, + description: "Severity", + }) + .option("subject", { type: "string", array: true, description: "Subject" }) .option("dry-run", { type: "boolean", description: "Validate and show what would happen without executing", diff --git a/packages/cli/src/commands/_generated/security-insights/list.ts b/packages/cli/src/commands/_generated/security-insights/list.ts index 48c5907b5a..4ead07c0d2 100644 --- a/packages/cli/src/commands/_generated/security-insights/list.ts +++ b/packages/cli/src/commands/_generated/security-insights/list.ts @@ -24,12 +24,24 @@ function builder(yargs: Argv) { "$0 security-insights list\n\nLists all Security Center insights for the account or zone, showing security findings and recommendations." ) .option("dismissed", { type: "boolean", description: "Dismissed" }) - .option("issue-class", { type: "string", description: "Issue class" }) - .option("issue-type", { type: "string", description: "Issue type" }) - .option("product", { type: "string", description: "Product" }) - .option("source", { type: "string", description: "Source" }) - .option("severity", { type: "string", description: "Severity" }) - .option("subject", { type: "string", description: "Subject" }) + .option("issue-class", { + type: "string", + array: true, + description: "Issue class", + }) + .option("issue-type", { + type: "string", + array: true, + description: "Issue type", + }) + .option("product", { type: "string", array: true, description: "Product" }) + .option("source", { type: "string", array: true, description: "Source" }) + .option("severity", { + type: "string", + array: true, + description: "Severity", + }) + .option("subject", { type: "string", array: true, description: "Subject" }) .option("page", { type: "number", description: diff --git a/packages/cli/src/commands/_generated/spectrum/analytics/events/bytimes/get.ts b/packages/cli/src/commands/_generated/spectrum/analytics/events/bytimes/get.ts index 02a0c5d213..f8683c35ba 100644 --- a/packages/cli/src/commands/_generated/spectrum/analytics/events/bytimes/get.ts +++ b/packages/cli/src/commands/_generated/spectrum/analytics/events/bytimes/get.ts @@ -19,17 +19,20 @@ function builder(yargs: Argv) { ) .option("dimensions", { type: "string", + array: true, description: "Can be used to break down the data by given attributes. Options are:\n\nDimension | Name | Example\n--------------------------|---------------------------------|--------------------------\nevent | Connection Event | connect, progress, disconnect, originError, clientFiltered\nappID | Application ID | 40d67c87c6cd4b889a4fd57805225e85\ncoloName | Colo Name | SFO\nipVersion | IP version used by the client | 4, 6.", }) .option("sort", { type: "string", + array: true, description: "The sort order for the result set; sort fields must be included in `metrics` or `dimensions`.", }) .option("until", { type: "string", description: "Until" }) .option("metrics", { type: "string", + array: true, description: "One or more metrics to compute. Options are:\n\nMetric | Name | Example | Unit\n--------------------------|-------------------------------------|--------------------------|--------------------------\ncount | Count of total events | 1000 | Count\nbytesIngress | Sum of ingress bytes | 1000 | Sum\nbytesEgress | Sum of egress bytes | 1000 | Sum\ndurationAvg | Average connection duration | 1.0 | Time in milliseconds\ndurationMedian | Median connection duration | 1.0 | Time in milliseconds\nduration90th | 90th percentile connection duration | 1.0 | Time in milliseconds\nduration99th | 99th percentile connection duration | 1.0 | Time in milliseconds.", }) diff --git a/packages/cli/src/commands/_generated/spectrum/analytics/events/summaries/get.ts b/packages/cli/src/commands/_generated/spectrum/analytics/events/summaries/get.ts index 8e13017a21..00c4910741 100644 --- a/packages/cli/src/commands/_generated/spectrum/analytics/events/summaries/get.ts +++ b/packages/cli/src/commands/_generated/spectrum/analytics/events/summaries/get.ts @@ -19,17 +19,20 @@ function builder(yargs: Argv) { ) .option("dimensions", { type: "string", + array: true, description: "Can be used to break down the data by given attributes. Options are:\n\nDimension | Name | Example\n--------------------------|---------------------------------|--------------------------\nevent | Connection Event | connect, progress, disconnect, originError, clientFiltered\nappID | Application ID | 40d67c87c6cd4b889a4fd57805225e85\ncoloName | Colo Name | SFO\nipVersion | IP version used by the client | 4, 6.", }) .option("sort", { type: "string", + array: true, description: "The sort order for the result set; sort fields must be included in `metrics` or `dimensions`.", }) .option("until", { type: "string", description: "Until" }) .option("metrics", { type: "string", + array: true, description: "One or more metrics to compute. Options are:\n\nMetric | Name | Example | Unit\n--------------------------|-------------------------------------|--------------------------|--------------------------\ncount | Count of total events | 1000 | Count\nbytesIngress | Sum of ingress bytes | 1000 | Sum\nbytesEgress | Sum of egress bytes | 1000 | Sum\ndurationAvg | Average connection duration | 1.0 | Time in milliseconds\ndurationMedian | Median connection duration | 1.0 | Time in milliseconds\nduration90th | 90th percentile connection duration | 1.0 | Time in milliseconds\nduration99th | 99th percentile connection duration | 1.0 | Time in milliseconds.", }) diff --git a/packages/cli/src/commands/_generated/ssl/mtls-certificates/list.ts b/packages/cli/src/commands/_generated/ssl/mtls-certificates/list.ts index 9eb5a11eaa..7cf374e4f0 100644 --- a/packages/cli/src/commands/_generated/ssl/mtls-certificates/list.ts +++ b/packages/cli/src/commands/_generated/ssl/mtls-certificates/list.ts @@ -24,6 +24,7 @@ function builder(yargs: Argv) { ) .option("type", { type: "string", + array: true, description: "Filters results by certificate type. Multiple types can be comma-separated.", }) diff --git a/packages/cli/src/commands/_generated/tags/resources/list.ts b/packages/cli/src/commands/_generated/tags/resources/list.ts index 0d382113ee..f0203388e4 100644 --- a/packages/cli/src/commands/_generated/tags/resources/list.ts +++ b/packages/cli/src/commands/_generated/tags/resources/list.ts @@ -29,6 +29,7 @@ function builder(yargs: Argv) { }) .option("type", { type: "string", + array: true, description: "Filter by resource type. Can be repeated to filter by multiple types (OR logic). Example: ?type=zone&type=worker", }) @@ -39,6 +40,7 @@ function builder(yargs: Argv) { }) .option("id", { type: "string", + array: true, description: "Filter by resource ID. Can be repeated up to 50 times to filter by multiple IDs. Example: ?id=abc&id=def", }) @@ -49,6 +51,7 @@ function builder(yargs: Argv) { }) .option("tag", { type: "string", + array: true, description: "Filter resources by tag criteria. This parameter can be repeated multiple times, with AND logic between parameters.\n\nSupported syntax:\n- **Key-only**: `tag=` - Resource must have the tag key (e.g., `tag=production`)\n- **Key-value**: `tag==` - Resource must have the tag with specific value (e.g., `tag=env=prod`)\n- **Multiple values (OR)**: `tag==,` - Resource must have tag with any of the values (e.g., `tag=env=prod,staging`)\n- **Negate key-only**: `tag=!` - Resource must not have the tag key (e.g., `tag=!archived`)\n- **Negate key-value**: `tag=!=` - Resource must not have the tag with specific value (e.g., `tag=region!=us-west-1`)\n\nMultiple tag parameters are combined with AND logic.", }) diff --git a/packages/cli/src/commands/_generated/tunnels/list.ts b/packages/cli/src/commands/_generated/tunnels/list.ts index e89c3868bd..d68642e755 100644 --- a/packages/cli/src/commands/_generated/tunnels/list.ts +++ b/packages/cli/src/commands/_generated/tunnels/list.ts @@ -46,6 +46,7 @@ function builder(yargs: Argv) { .option("exclude-prefix", { type: "string", description: "Exclude prefix" }) .option("tun-types", { type: "string", + array: true, description: "The types of tunnels to filter by, separated by commas.", }) .option("status", { diff --git a/packages/cli/src/commands/_generated/web-assets/discovery/operations/list.ts b/packages/cli/src/commands/_generated/web-assets/discovery/operations/list.ts index 7810c7f1b6..460dadf910 100644 --- a/packages/cli/src/commands/_generated/web-assets/discovery/operations/list.ts +++ b/packages/cli/src/commands/_generated/web-assets/discovery/operations/list.ts @@ -27,10 +27,12 @@ function builder(yargs: Argv) { }) .option("host", { type: "string", + array: true, description: "Filter results to only include the specified hosts.", }) .option("method", { type: "string", + array: true, description: "Filter results to only include the specified HTTP methods.", }) .option("endpoint", { diff --git a/packages/cli/src/commands/_generated/web-assets/operations/get.ts b/packages/cli/src/commands/_generated/web-assets/operations/get.ts index 46f70a64eb..c3ebedee60 100644 --- a/packages/cli/src/commands/_generated/web-assets/operations/get.ts +++ b/packages/cli/src/commands/_generated/web-assets/operations/get.ts @@ -24,6 +24,7 @@ function builder(yargs: Argv) { }) .option("feature", { type: "string", + array: true, description: "Add feature(s) to the results. The feature name that is given here corresponds to the resulting feature object. Have a look at the top-level object description for more details on the specific meaning.", }) diff --git a/packages/cli/src/commands/_generated/web-assets/operations/list.ts b/packages/cli/src/commands/_generated/web-assets/operations/list.ts index 8153fa4fda..5ad8f715c0 100644 --- a/packages/cli/src/commands/_generated/web-assets/operations/list.ts +++ b/packages/cli/src/commands/_generated/web-assets/operations/list.ts @@ -38,10 +38,12 @@ function builder(yargs: Argv) { }) .option("host", { type: "string", + array: true, description: "Filter results to only include the specified hosts.", }) .option("method", { type: "string", + array: true, description: "Filter results to only include the specified HTTP methods.", }) .option("endpoint", { @@ -51,6 +53,7 @@ function builder(yargs: Argv) { }) .option("feature", { type: "string", + array: true, description: "Add feature(s) to the results. The feature name that is given here corresponds to the resulting feature object. Have a look at the top-level object description for more details on the specific meaning.", }) diff --git a/packages/cli/src/commands/_generated/web-assets/schemas/list.ts b/packages/cli/src/commands/_generated/web-assets/schemas/list.ts index 349a6b71f0..930b4e5853 100644 --- a/packages/cli/src/commands/_generated/web-assets/schemas/list.ts +++ b/packages/cli/src/commands/_generated/web-assets/schemas/list.ts @@ -19,15 +19,18 @@ function builder(yargs: Argv) { ) .option("host", { type: "string", + array: true, description: "Receive schema only for the given host(s).", }) .option("feature", { type: "string", + array: true, description: "Add feature(s) to the results. The feature name that is given here corresponds to the resulting feature object. Have a look at the top-level object description for more details on the specific meaning.", }) .option("include-schema-kind", { type: "string", + array: true, description: "Schema kinds to include in exported OpenAPI schemas.", }) .option("dry-run", { diff --git a/packages/cli/src/commands/_generated/zaraz/history/configs/get.ts b/packages/cli/src/commands/_generated/zaraz/history/configs/get.ts index 8e14924ece..cf602e1562 100644 --- a/packages/cli/src/commands/_generated/zaraz/history/configs/get.ts +++ b/packages/cli/src/commands/_generated/zaraz/history/configs/get.ts @@ -19,6 +19,7 @@ function builder(yargs: Argv) { ) .option("ids", { type: "string", + array: true, description: "Comma separated list of Zaraz configuration IDs.", demandOption: true, }) diff --git a/packages/cli/src/commands/_generated/zero-trust/access/logs/scim/updates/list.ts b/packages/cli/src/commands/_generated/zero-trust/access/logs/scim/updates/list.ts index 34c27b0826..fbd477b8fc 100644 --- a/packages/cli/src/commands/_generated/zero-trust/access/logs/scim/updates/list.ts +++ b/packages/cli/src/commands/_generated/zero-trust/access/logs/scim/updates/list.ts @@ -41,38 +41,46 @@ function builder(yargs: Argv) { }) .option("idp-id", { type: "string", + array: true, description: "The unique Id of the IdP that has SCIM enabled.", demandOption: true, }) .option("status", { type: "string", + array: true, description: "The status of the SCIM request.", }) .option("resource-type", { type: "string", + array: true, description: "The resource type of the SCIM request.", }) .option("request-method", { type: "string", + array: true, description: "The request method of the SCIM request.", }) .option("resource-user-email", { type: "string", + array: true, description: "The email address of the SCIM User resource. Pass once for a single\nlookup (`?resource_user_email=A`) or repeat the parameter\n(`?resource_user_email=A&resource_user_email=B`) to filter by multiple\nemails in one request.", }) .option("resource-group-name", { type: "string", + array: true, description: "The display name of the SCIM Group resource. Pass once for a single\nlookup (`?resource_group_name=A`) or repeat the parameter\n(`?resource_group_name=A&resource_group_name=B`) to filter by multiple\ngroup names in one request.", }) .option("cf-resource-id", { type: "string", + array: true, description: "The unique Cloudflare-generated Id of the SCIM resource. Pass once for\na single lookup (`?cf_resource_id=A`) or repeat the parameter\n(`?cf_resource_id=A&cf_resource_id=B`) to filter by multiple resources\nin one request.", }) .option("idp-resource-id", { type: "string", + array: true, description: "The IdP-generated Id of the SCIM resource. Pass once for a single\nlookup (`?idp_resource_id=A`) or repeat the parameter\n(`?idp_resource_id=A&idp_resource_id=B`) to filter by multiple\nresources in one request.", }) diff --git a/packages/cli/src/commands/_generated/zero-trust/access/targets/list.ts b/packages/cli/src/commands/_generated/zero-trust/access/targets/list.ts index 5685e80156..604ac24366 100644 --- a/packages/cli/src/commands/_generated/zero-trust/access/targets/list.ts +++ b/packages/cli/src/commands/_generated/zero-trust/access/targets/list.ts @@ -61,11 +61,13 @@ function builder(yargs: Argv) { }) .option("ips", { type: "string", + array: true, description: "Filters for targets that have any of the following IP addresses. Specify\n`ips` multiple times in query parameter to build list of candidates.", }) .option("target-ids", { type: "string", + array: true, description: "Filters for targets that have any of the following UUIDs. Specify\n`target_ids` multiple times in query parameter to build list of\ncandidates.", }) @@ -96,6 +98,7 @@ function builder(yargs: Argv) { }) .option("tag", { type: "string", + array: true, description: "Filter by tag key:value pairs. Multiple `tag` params are AND'd.\nFormat: `tag=key:value` (e.g., `tag=environment:production`).\nKey and value must both be non-empty; `tag=:value` and `tag=key:` return 400.", }) diff --git a/packages/cli/src/commands/_generated/zero-trust/casb/finding-types/list.ts b/packages/cli/src/commands/_generated/zero-trust/casb/finding-types/list.ts index b84a207e6a..3db5e03617 100644 --- a/packages/cli/src/commands/_generated/zero-trust/casb/finding-types/list.ts +++ b/packages/cli/src/commands/_generated/zero-trust/casb/finding-types/list.ts @@ -32,21 +32,25 @@ function builder(yargs: Argv) { }) .option("vendors", { type: "string", + array: true, description: "Filter finding types by vendor. Supports multiple comma-separated values. Each value may be either the vendor enum (GOOGLE_WORKSPACE) or the friendly name returned by the read routes (Google Workspace).", }) .option("types", { type: "string", + array: true, description: "Filter finding types by category type. Supports multiple comma-separated, case-insensitive values.", }) .option("origins", { type: "string", + array: true, description: "Filter finding types by origin. Supports multiple comma-separated, case-insensitive values.", }) .option("severities", { type: "string", + array: true, description: "Filter finding types by severity. Supports multiple comma-separated, case-insensitive values.", }) diff --git a/packages/cli/src/commands/_generated/zero-trust/casb/findings/instances/list.ts b/packages/cli/src/commands/_generated/zero-trust/casb/findings/instances/list.ts index a5c0432636..71498d8932 100644 --- a/packages/cli/src/commands/_generated/zero-trust/casb/findings/instances/list.ts +++ b/packages/cli/src/commands/_generated/zero-trust/casb/findings/instances/list.ts @@ -66,16 +66,19 @@ function builder(yargs: Argv) { .option("search", { type: "string", description: "A search term." }) .option("remediation-statuses", { type: "string", + array: true, description: "Filter finding instances by most recent remediation job status. Supports multiple comma-separated values.\nUse 'none' to filter instances with no remediation jobs or instances where the most recent job is stale.\nNote: Stale jobs (created before the instance's affliction_date) are ignored for filtering purposes, but are still included in the 'remediations' array with stale=true.", }) .option("finding-instance-ids", { type: "string", + array: true, description: "Filter finding instances by an array of finding instance IDs. Supports multiple comma-separated values.", }) .option("asset-ids", { type: "string", + array: true, description: "Filter finding instances by an array of asset IDs. Supports multiple comma-separated values.", }) diff --git a/packages/cli/src/commands/_generated/zero-trust/casb/remediations/jobs/list.ts b/packages/cli/src/commands/_generated/zero-trust/casb/remediations/jobs/list.ts index 23df742d71..fc790efe92 100644 --- a/packages/cli/src/commands/_generated/zero-trust/casb/remediations/jobs/list.ts +++ b/packages/cli/src/commands/_generated/zero-trust/casb/remediations/jobs/list.ts @@ -52,6 +52,7 @@ function builder(yargs: Argv) { }) .option("triggered-by-actor", { type: "string", + array: true, description: "Filter remediations by what kind of actor triggered them. Supports multiple comma-separated values.", }) diff --git a/packages/cli/src/commands/_generated/zero-trust/devices/list.ts b/packages/cli/src/commands/_generated/zero-trust/devices/list.ts index 783a8b204a..6c8c8a6d24 100644 --- a/packages/cli/src/commands/_generated/zero-trust/devices/list.ts +++ b/packages/cli/src/commands/_generated/zero-trust/devices/list.ts @@ -80,10 +80,12 @@ function builder(yargs: Argv) { }) .option("id", { type: "string", + array: true, description: "Filter by a one or more device IDs.", }) .option("tag", { type: "string", + array: true, description: "Filter by one or more device tags in key:value format. Devices must match all provided tags.", }) diff --git a/packages/cli/src/commands/_generated/zero-trust/devices/registrations/bulk-delete.ts b/packages/cli/src/commands/_generated/zero-trust/devices/registrations/bulk-delete.ts index de8fad9fdc..5465814321 100644 --- a/packages/cli/src/commands/_generated/zero-trust/devices/registrations/bulk-delete.ts +++ b/packages/cli/src/commands/_generated/zero-trust/devices/registrations/bulk-delete.ts @@ -25,6 +25,7 @@ function builder(yargs: Argv) { ) .option("id", { type: "string", + array: true, description: "A list of registration IDs to delete.", demandOption: true, }) diff --git a/packages/cli/src/commands/_generated/zero-trust/devices/registrations/list.ts b/packages/cli/src/commands/_generated/zero-trust/devices/registrations/list.ts index 9f3dcc32c0..bb8c581aa5 100644 --- a/packages/cli/src/commands/_generated/zero-trust/devices/registrations/list.ts +++ b/packages/cli/src/commands/_generated/zero-trust/devices/registrations/list.ts @@ -22,7 +22,11 @@ function builder(yargs: Argv) { .usage( "$0 zero-trust devices registrations list\n\nLists WARP registrations." ) - .option("user-id", { type: "string", description: "Filter by user ID." }) + .option("user-id", { + type: "string", + array: true, + description: "Filter by user ID.", + }) .option("seen-after", { type: "string", description: @@ -67,7 +71,11 @@ function builder(yargs: Argv) { description: "Opaque token indicating the starting position when requesting the next set of records. A cursor value can be obtained from the result_info.cursor field in the response.", }) - .option("id", { type: "string", description: "Filter by registration ID." }) + .option("id", { + type: "string", + array: true, + description: "Filter by registration ID.", + }) .option("device-id", { type: "string", description: "Filter by WARP device ID.", diff --git a/packages/cli/src/commands/_generated/zero-trust/dex/overview/tests/list.ts b/packages/cli/src/commands/_generated/zero-trust/dex/overview/tests/list.ts index 5f09da9a82..189c19c5c9 100644 --- a/packages/cli/src/commands/_generated/zero-trust/dex/overview/tests/list.ts +++ b/packages/cli/src/commands/_generated/zero-trust/dex/overview/tests/list.ts @@ -33,6 +33,7 @@ function builder(yargs: Argv) { }) .option("device-id", { type: "string", + array: true, description: "Optionally filter result stats to a specific device(s). Cannot be used in combination with colo param.", }) diff --git a/packages/cli/src/commands/_generated/zero-trust/dex/overview/tests/unique-devices/get.ts b/packages/cli/src/commands/_generated/zero-trust/dex/overview/tests/unique-devices/get.ts index 163fbab3bd..2db763f874 100644 --- a/packages/cli/src/commands/_generated/zero-trust/dex/overview/tests/unique-devices/get.ts +++ b/packages/cli/src/commands/_generated/zero-trust/dex/overview/tests/unique-devices/get.ts @@ -28,6 +28,7 @@ function builder(yargs: Argv) { }) .option("device-id", { type: "string", + array: true, description: "Optionally filter result stats to a specific device(s). Cannot be used in combination with colo param.", }) diff --git a/packages/cli/src/commands/_generated/zero-trust/dex/test-results/http/get.ts b/packages/cli/src/commands/_generated/zero-trust/dex/test-results/http/get.ts index daaa9c657a..1e68c71270 100644 --- a/packages/cli/src/commands/_generated/zero-trust/dex/test-results/http/get.ts +++ b/packages/cli/src/commands/_generated/zero-trust/dex/test-results/http/get.ts @@ -29,6 +29,7 @@ function builder(yargs: Argv) { }) .option("device-id", { type: "string", + array: true, description: "Optionally filter result stats to a specific device(s). Cannot be used in combination with colo param.", }) diff --git a/packages/cli/src/commands/_generated/zero-trust/dex/test-results/http/percentiles/get.ts b/packages/cli/src/commands/_generated/zero-trust/dex/test-results/http/percentiles/get.ts index f03f2243a3..e00767988a 100644 --- a/packages/cli/src/commands/_generated/zero-trust/dex/test-results/http/percentiles/get.ts +++ b/packages/cli/src/commands/_generated/zero-trust/dex/test-results/http/percentiles/get.ts @@ -29,6 +29,7 @@ function builder(yargs: Argv) { }) .option("device-id", { type: "string", + array: true, description: "Optionally filter result stats to a specific device(s). Cannot be used in combination with colo param.", }) diff --git a/packages/cli/src/commands/_generated/zero-trust/dex/test-results/traceroute/get.ts b/packages/cli/src/commands/_generated/zero-trust/dex/test-results/traceroute/get.ts index 1750539a5a..034c0bd60f 100644 --- a/packages/cli/src/commands/_generated/zero-trust/dex/test-results/traceroute/get.ts +++ b/packages/cli/src/commands/_generated/zero-trust/dex/test-results/traceroute/get.ts @@ -29,6 +29,7 @@ function builder(yargs: Argv) { }) .option("device-id", { type: "string", + array: true, description: "Optionally filter result stats to a specific device(s). Cannot be used in combination with colo param.", }) diff --git a/packages/cli/src/commands/_generated/zero-trust/dex/test-results/traceroute/percentiles/get.ts b/packages/cli/src/commands/_generated/zero-trust/dex/test-results/traceroute/percentiles/get.ts index 5c4a22fab1..e2f00413f7 100644 --- a/packages/cli/src/commands/_generated/zero-trust/dex/test-results/traceroute/percentiles/get.ts +++ b/packages/cli/src/commands/_generated/zero-trust/dex/test-results/traceroute/percentiles/get.ts @@ -29,6 +29,7 @@ function builder(yargs: Argv) { }) .option("device-id", { type: "string", + array: true, description: "Optionally filter result stats to a specific device(s). Cannot be used in combination with colo param.", }) diff --git a/packages/cli/src/commands/_generated/zero-trust/gateway/lists/list.ts b/packages/cli/src/commands/_generated/zero-trust/gateway/lists/list.ts index 3eff5d95b9..be98f4244b 100644 --- a/packages/cli/src/commands/_generated/zero-trust/gateway/lists/list.ts +++ b/packages/cli/src/commands/_generated/zero-trust/gateway/lists/list.ts @@ -39,6 +39,7 @@ function builder(yargs: Argv) { }) .option("filter", { type: "string", + array: true, description: "Filter the returned lists by one or more `field:value` pairs.\nRepeat the parameter to apply multiple filters; they are combined with\nlogical AND (a list must satisfy every filter to be returned).\n\nSupported fields and their matching behaviour:\n * `name` — case-insensitive substring match on the list name.\n * `id` — substring match on the list ID (UUID), with or without dashes.\n * `type` — exact match on the list type. Supersedes the legacy `type` query\n parameter when both are supplied. Must be one of the valid type values.\n * `item_count` — exact integer match on the number of items in the list.\n\nEach entry must match one of the per-field patterns below: the field must be\none of `name`, `id`, `type`, or `item_count`; `name`/`id` accept any value,\n`type` is restricted to the valid list type values, and `item_count` must be\na non-negative integer.", }) diff --git a/packages/cli/src/commands/_generated/zero-trust/gateway/locations/list.ts b/packages/cli/src/commands/_generated/zero-trust/gateway/locations/list.ts index 7b9fc75457..f8b4e29329 100644 --- a/packages/cli/src/commands/_generated/zero-trust/gateway/locations/list.ts +++ b/packages/cli/src/commands/_generated/zero-trust/gateway/locations/list.ts @@ -24,6 +24,7 @@ function builder(yargs: Argv) { ) .option("filter", { type: "string", + array: true, description: "Filter the returned locations by one or more `field:value` pairs.\nRepeat the parameter to apply multiple filters; they are combined with\nlogical AND (a location must satisfy every filter to be returned).\n\nSupported fields and their matching behaviour:\n * `name` — case-insensitive substring match on the location name.\n * `id` — substring match on the location ID (UUID), with or without dashes.\n * `is_default` — whether it is the default for the account.\n\nEach entry must match one of the per-field patterns below:\n * the field must be one of `name`, `id`, or `is_default`;\n * `name`/`id` accept any value;\n * `is_default` only accepts `true` or `false`; any other value returns `400`", }) diff --git a/packages/cli/src/commands/_generated/zero-trust/gateway/proxy-endpoints/list.ts b/packages/cli/src/commands/_generated/zero-trust/gateway/proxy-endpoints/list.ts index 260222a4de..ff0642e3f8 100644 --- a/packages/cli/src/commands/_generated/zero-trust/gateway/proxy-endpoints/list.ts +++ b/packages/cli/src/commands/_generated/zero-trust/gateway/proxy-endpoints/list.ts @@ -24,6 +24,7 @@ function builder(yargs: Argv) { ) .option("filter", { type: "string", + array: true, description: "Filter the returned proxy endpoints by one or more `field:value` pairs.\nRepeat the parameter to apply multiple filters; they are combined with\nlogical AND (an endpoint must satisfy every filter to be returned).\n\nSupported fields and their matching behaviour:\n * `name` — case-insensitive substring match on the endpoint name.\n * `id` — substring match on the endpoint ID (UUID), with or without dashes.\n * `kind` — exact match on the endpoint kind. The value must be `ip` or `identity`; any other value returns `400`.\n\nEach entry must match one of the per-field patterns below: the field\nmust be one of `name`, `id`, or `kind`; `name`/`id` accept any value,\nwhile `kind` only accepts `ip` or `identity`.", }) diff --git a/packages/cli/src/commands/_generated/zero-trust/gateway/rules/list.ts b/packages/cli/src/commands/_generated/zero-trust/gateway/rules/list.ts index 8ae8352f06..5f331eedb6 100644 --- a/packages/cli/src/commands/_generated/zero-trust/gateway/rules/list.ts +++ b/packages/cli/src/commands/_generated/zero-trust/gateway/rules/list.ts @@ -24,6 +24,7 @@ function builder(yargs: Argv) { ) .option("filter", { type: "string", + array: true, description: "Filter the returned rules by one or more `field:value` pairs. Repeat the\nparameter to combine filters with logical AND.\n\nSupported fields are `name`, `id`, `action`, `enabled`, `source_account`,\n`is_shared`, `filters`, and `expression` (max 1024 bytes). The `source_account`\nvalue is matched as a normalized UUID substring. The `filters` value must\nbe one of the rule filter names and matches a member of the rule's `filters`\narray. The `expression` filter performs a case-insensitive literal\nsubstring match across traffic, identity, and device posture expressions.", }) diff --git a/packages/cli/src/commands/_generated/zero-trust/identity-providers/scim/groups/list.ts b/packages/cli/src/commands/_generated/zero-trust/identity-providers/scim/groups/list.ts index 323d271daf..641dc3465b 100644 --- a/packages/cli/src/commands/_generated/zero-trust/identity-providers/scim/groups/list.ts +++ b/packages/cli/src/commands/_generated/zero-trust/identity-providers/scim/groups/list.ts @@ -29,11 +29,13 @@ function builder(yargs: Argv) { }) .option("cf-resource-id", { type: "string", + array: true, description: 'The unique Cloudflare-generated Id of the SCIM Group resource; also known as the "Id".\nPass once for a single lookup (`?cf_resource_id=A`) or repeat the parameter\n(`?cf_resource_id=A&cf_resource_id=B`) to look up multiple groups in one request,\nup to 50 values. Mutually exclusive with `idp_resource_id`, `name`,\n`search_contains`, and `search_starts_with`.', }) .option("idp-resource-id", { type: "string", + array: true, description: 'The IdP-generated Id of the SCIM Group resource; also known as the "external Id".\nPass once for a single lookup (`?idp_resource_id=A`) or repeat the parameter\n(`?idp_resource_id=A&idp_resource_id=B`) to look up multiple groups in one request,\nup to 50 values. Mutually exclusive with `cf_resource_id`, `name`,\n`search_contains`, and `search_starts_with`.', }) diff --git a/packages/cli/src/commands/_generated/zero-trust/identity-providers/scim/users/list.ts b/packages/cli/src/commands/_generated/zero-trust/identity-providers/scim/users/list.ts index f63ee5b799..912555fe44 100644 --- a/packages/cli/src/commands/_generated/zero-trust/identity-providers/scim/users/list.ts +++ b/packages/cli/src/commands/_generated/zero-trust/identity-providers/scim/users/list.ts @@ -29,11 +29,13 @@ function builder(yargs: Argv) { }) .option("cf-resource-id", { type: "string", + array: true, description: 'The unique Cloudflare-generated Id of the SCIM User resource; also known as the "Id".\nPass once for a single lookup (`?cf_resource_id=A`) or repeat the parameter\n(`?cf_resource_id=A&cf_resource_id=B`) to look up multiple users in one request,\nup to 50 values. Mutually exclusive with `idp_resource_id`, `username`, `email`,\n`name`, `search_contains`, and `search_starts_with`.', }) .option("idp-resource-id", { type: "string", + array: true, description: 'The IdP-generated Id of the SCIM User resource; also known as the "external Id".\nPass once for a single lookup (`?idp_resource_id=A`) or repeat the parameter\n(`?idp_resource_id=A&idp_resource_id=B`) to look up multiple users in one request,\nup to 50 values. Mutually exclusive with `cf_resource_id`, `username`, `email`,\n`name`, `search_contains`, and `search_starts_with`.', }) diff --git a/packages/cli/src/commands/_generated/zones/list.ts b/packages/cli/src/commands/_generated/zones/list.ts index 35894bbcdb..0cbae302fd 100644 --- a/packages/cli/src/commands/_generated/zones/list.ts +++ b/packages/cli/src/commands/_generated/zones/list.ts @@ -29,6 +29,7 @@ function builder(yargs: Argv) { }) .option("type", { type: "string", + array: true, description: 'Zone types to filter by. Multiple types can be specified as a comma-separated list (e.g., ?type=full,partial,secondary). When this parameter is not provided, zones with type "internal" are excluded from the results.', })