From 5a7bfdd685be7e6a3bd286f0953e7f51cc97e04a Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 5 Apr 2022 10:18:57 +0000 Subject: [PATCH] Regenerate client from commit 9a0922b9 of spec repo --- .apigentools-info | 8 ++++---- .generator/schemas/v2/openapi.yaml | 4 ++++ .../models/LogsAggregationFunction.ts | 4 +++- packages/datadog-api-client-v2/models/ObjectSerializer.ts | 2 ++ .../models/RUMAggregationFunction.ts | 4 +++- 5 files changed, 16 insertions(+), 6 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 92d6b7aadc9..9efdd0208a0 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.2", - "regenerated": "2022-04-04 17:26:12.289226", - "spec_repo_commit": "7e16a5c4" + "regenerated": "2022-04-05 10:17:40.468760", + "spec_repo_commit": "9a0922b9" }, "v2": { "apigentools_version": "1.6.2", - "regenerated": "2022-04-04 17:26:12.306856", - "spec_repo_commit": "7e16a5c4" + "regenerated": "2022-04-05 10:17:40.484562", + "spec_repo_commit": "9a0922b9" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 2e5821bcefc..e1c5fe9332d 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -2743,6 +2743,7 @@ components: - min - max - avg + - median example: pc90 type: string x-enum-varnames: @@ -2757,6 +2758,7 @@ components: - MIN - MAX - AVG + - MEDIAN LogsArchive: description: The logs archive. properties: @@ -4606,6 +4608,7 @@ components: - min - max - avg + - median example: pc90 type: string x-enum-varnames: @@ -4620,6 +4623,7 @@ components: - MIN - MAX - AVG + - MEDIAN RUMAnalyticsAggregateResponse: description: The response object for the RUM events aggregate API endpoint. properties: diff --git a/packages/datadog-api-client-v2/models/LogsAggregationFunction.ts b/packages/datadog-api-client-v2/models/LogsAggregationFunction.ts index d830d5beb03..bf1bffaefc3 100644 --- a/packages/datadog-api-client-v2/models/LogsAggregationFunction.ts +++ b/packages/datadog-api-client-v2/models/LogsAggregationFunction.ts @@ -19,7 +19,8 @@ export type LogsAggregationFunction = | typeof SUM | typeof MIN | typeof MAX - | typeof AVG; + | typeof AVG + | typeof MEDIAN; export const COUNT = "count"; export const CARDINALITY = "cardinality"; export const PERCENTILE_75 = "pc75"; @@ -31,3 +32,4 @@ export const SUM = "sum"; export const MIN = "min"; export const MAX = "max"; export const AVG = "avg"; +export const MEDIAN = "median"; diff --git a/packages/datadog-api-client-v2/models/ObjectSerializer.ts b/packages/datadog-api-client-v2/models/ObjectSerializer.ts index a98a43847e4..5037d71b9ce 100644 --- a/packages/datadog-api-client-v2/models/ObjectSerializer.ts +++ b/packages/datadog-api-client-v2/models/ObjectSerializer.ts @@ -428,6 +428,7 @@ const enumsMap: { [key: string]: any[] } = { "min", "max", "avg", + "median", ], LogsArchiveDestinationAzureType: ["azure"], LogsArchiveDestinationGCSType: ["gcs"], @@ -465,6 +466,7 @@ const enumsMap: { [key: string]: any[] } = { "min", "max", "avg", + "median", ], RUMComputeType: ["timeseries", "total"], RUMEventType: ["rum"], diff --git a/packages/datadog-api-client-v2/models/RUMAggregationFunction.ts b/packages/datadog-api-client-v2/models/RUMAggregationFunction.ts index 3307e2d6f34..ea4a91b5e9e 100644 --- a/packages/datadog-api-client-v2/models/RUMAggregationFunction.ts +++ b/packages/datadog-api-client-v2/models/RUMAggregationFunction.ts @@ -19,7 +19,8 @@ export type RUMAggregationFunction = | typeof SUM | typeof MIN | typeof MAX - | typeof AVG; + | typeof AVG + | typeof MEDIAN; export const COUNT = "count"; export const CARDINALITY = "cardinality"; export const PERCENTILE_75 = "pc75"; @@ -31,3 +32,4 @@ export const SUM = "sum"; export const MIN = "min"; export const MAX = "max"; export const AVG = "avg"; +export const MEDIAN = "median";