From 8eb9151e5752d3099caa8fef95e3db7c7c3d9530 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 28 Mar 2024 10:00:39 +0000 Subject: [PATCH] feat(api): OpenAPI spec update via Stainless API (#215) --- src/resources/radar/bgp/routes.ts | 5 +++++ tests/api-resources/radar/bgp/routes.test.ts | 1 + 2 files changed, 6 insertions(+) diff --git a/src/resources/radar/bgp/routes.ts b/src/resources/radar/bgp/routes.ts index f0c45fae2f..5fb559b6ee 100644 --- a/src/resources/radar/bgp/routes.ts +++ b/src/resources/radar/bgp/routes.ts @@ -347,6 +347,11 @@ export interface RouteTimeseriesParams { * Format results are returned in. */ format?: 'JSON' | 'CSV'; + + /** + * Location Alpha2 code. + */ + location?: string; } export namespace Routes { diff --git a/tests/api-resources/radar/bgp/routes.test.ts b/tests/api-resources/radar/bgp/routes.test.ts index 58b7b33a67..fc507e3b3a 100644 --- a/tests/api-resources/radar/bgp/routes.test.ts +++ b/tests/api-resources/radar/bgp/routes.test.ts @@ -134,6 +134,7 @@ describe('resource routes', () => { dateRange: '7d', dateStart: '2023-09-01T11:41:33.782Z', format: 'JSON', + location: 'US', }, { path: '/_stainless_unknown_path' }, ),