From b97fa69aaacea7aa1b244b45cff37bd5a484db47 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Mon, 8 Dec 2025 15:04:26 +0000 Subject: [PATCH] Regenerate client from commit 382fe6d of spec repo --- .generator/schemas/v1/openapi.yaml | 37 ++++- .../frozen.json | 1 + .../recording.har | 110 +++++++++++++++ .../v1/dashboards/CreateDashboard_9836563.ts | 130 ++++++++++++++++++ features/v1/dashboards.feature | 16 +++ packages/datadog-api-client-v1/index.ts | 1 + .../models/GeomapWidgetDefinition.ts | 7 +- .../models/GeomapWidgetDefinitionView.ts | 2 +- .../models/GeomapWidgetRequest.ts | 27 ++++ .../models/GeomapWidgetRequestStyle.ts | 52 +++++++ .../models/ObjectSerializer.ts | 2 + 11 files changed, 374 insertions(+), 11 deletions(-) create mode 100644 cassettes/v1/Dashboards_1335235736/Create-a-geomap-widget-with-conditional-formats-and-text-formats_3581906349/frozen.json create mode 100644 cassettes/v1/Dashboards_1335235736/Create-a-geomap-widget-with-conditional-formats-and-text-formats_3581906349/recording.har create mode 100644 examples/v1/dashboards/CreateDashboard_9836563.ts create mode 100644 packages/datadog-api-client-v1/models/GeomapWidgetRequestStyle.ts diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 4fc8dbe37859..88317677097d 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -3435,9 +3435,10 @@ components: $ref: '#/components/schemas/WidgetCustomLink' type: array requests: - description: 'Array of one request object to display in the widget. The - request must contain a `group-by` tag whose value is a country ISO code. - + description: 'Array of request objects to display in the widget. The array + may have one optional request object for region layer and/or one optional + request object for points layer. The request for region layer must contain + a `group-by` tag whose value is a country ISO code. See the [Request JSON schema documentation](https://docs.datadoghq.com/dashboards/graphing_json/request_json) @@ -3448,7 +3449,7 @@ components: query: {} items: $ref: '#/components/schemas/GeomapWidgetRequest' - maxItems: 1 + maxItems: 2 minItems: 1 type: array style: @@ -3506,8 +3507,9 @@ components: focus: WORLD properties: focus: - description: The 2-letter ISO code of a country to focus the map on. Or - `WORLD`. + description: The 2-letter ISO code of a country to focus the map on, or + `WORLD` for global view, or a region (`EMEA`, `APAC`, `LATAM`), or a continent + (`NORTH_AMERICA`, `SOUTH_AMERICA`, `EUROPE`, `AFRICA`, `ASIA`, `OCEANIA`). example: WORLD type: string required: @@ -3526,6 +3528,12 @@ components: items: $ref: '#/components/schemas/ListStreamColumn' type: array + conditional_formats: + description: Threshold (numeric) conditional formatting rules may be used + by the regions layer. + items: + $ref: '#/components/schemas/WidgetConditionalFormat' + type: array formulas: description: List of formulas that operate on queries. items: @@ -3551,6 +3559,23 @@ components: $ref: '#/components/schemas/LogQueryDefinition' sort: $ref: '#/components/schemas/WidgetSortBy' + style: + $ref: '#/components/schemas/GeomapWidgetRequestStyle' + text_formats: + description: Text formatting rules may be used by the points layer. + items: + $ref: '#/components/schemas/TableWidgetTextFormatRule' + type: array + type: object + GeomapWidgetRequestStyle: + description: The style to apply to the request for points layer. + example: + color_by: status + properties: + color_by: + description: The category to color the points by. + example: status + type: string type: object GraphSnapshot: description: Object representing a graph snapshot. diff --git a/cassettes/v1/Dashboards_1335235736/Create-a-geomap-widget-with-conditional-formats-and-text-formats_3581906349/frozen.json b/cassettes/v1/Dashboards_1335235736/Create-a-geomap-widget-with-conditional-formats-and-text-formats_3581906349/frozen.json new file mode 100644 index 000000000000..353a28061ab7 --- /dev/null +++ b/cassettes/v1/Dashboards_1335235736/Create-a-geomap-widget-with-conditional-formats-and-text-formats_3581906349/frozen.json @@ -0,0 +1 @@ +"2025-12-08T10:46:15.353Z" diff --git a/cassettes/v1/Dashboards_1335235736/Create-a-geomap-widget-with-conditional-formats-and-text-formats_3581906349/recording.har b/cassettes/v1/Dashboards_1335235736/Create-a-geomap-widget-with-conditional-formats-and-text-formats_3581906349/recording.har new file mode 100644 index 000000000000..5018c834c030 --- /dev/null +++ b/cassettes/v1/Dashboards_1335235736/Create-a-geomap-widget-with-conditional-formats-and-text-formats_3581906349/recording.har @@ -0,0 +1,110 @@ +{ + "log": { + "_recordingName": "Dashboards/Create a geomap widget with conditional formats and text formats", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "d20ad35b9db2e5d7ed599e12c501ec3d", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 1403, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 560, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"description\":\"Test-Create_a_geomap_widget_with_conditional_formats_and_text_formats-1765190775\",\"layout_type\":\"ordered\",\"notify_list\":[],\"reflow_type\":\"fixed\",\"tags\":[],\"template_variables\":[],\"title\":\"Test-Create_a_geomap_widget_with_conditional_formats_and_text_formats-1765190775\",\"widgets\":[{\"definition\":{\"requests\":[{\"conditional_formats\":[{\"comparator\":\">\",\"palette\":\"white_on_green\",\"value\":1000}],\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"rum\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"@type:session\"}}],\"response_format\":\"scalar\",\"sort\":{\"count\":250,\"order_by\":[{\"index\":0,\"order\":\"desc\",\"type\":\"formula\"}]}},{\"columns\":[{\"field\":\"@network.client.geoip.location.latitude\",\"width\":\"auto\"},{\"field\":\"@network.client.geoip.location.longitude\",\"width\":\"auto\"},{\"field\":\"@network.client.geoip.country.iso_code\",\"width\":\"auto\"},{\"field\":\"@network.client.geoip.subdivision.name\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"logs_stream\",\"indexes\":[],\"query_string\":\"\",\"storage\":\"hot\"},\"response_format\":\"event_list\",\"style\":{\"color_by\":\"status\"},\"text_formats\":[{\"match\":{\"type\":\"is\",\"value\":\"error\"},\"palette\":\"white_on_red\"}]}],\"style\":{\"palette\":\"hostmap_blues\",\"palette_flip\":false},\"title\":\"Log Count by Service and Source\",\"type\":\"geomap\",\"view\":{\"focus\":\"NORTH_AMERICA\"}},\"layout\":{\"height\":6,\"width\":12,\"x\":0,\"y\":0}}]}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v1/dashboard" + }, + "response": { + "bodySize": 1736, + "content": { + "mimeType": "application/json", + "size": 1736, + "text": "{\"id\":\"n2i-h6d-x6a\",\"title\":\"Test-Create_a_geomap_widget_with_conditional_formats_and_text_formats-1765190775\",\"description\":\"Test-Create_a_geomap_widget_with_conditional_formats_and_text_formats-1765190775\",\"author_handle\":\"shishi.liu@datadoghq.com\",\"author_name\":\"Shishi Liu\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/n2i-h6d-x6a/test-createageomapwidgetwithconditionalformatsandtextformats-1765190775\",\"template_variables\":[],\"widgets\":[{\"definition\":{\"requests\":[{\"conditional_formats\":[{\"comparator\":\">\",\"palette\":\"white_on_green\",\"value\":1000}],\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"rum\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"@type:session\"}}],\"response_format\":\"scalar\",\"sort\":{\"count\":250,\"order_by\":[{\"index\":0,\"order\":\"desc\",\"type\":\"formula\"}]}},{\"columns\":[{\"field\":\"@network.client.geoip.location.latitude\",\"width\":\"auto\"},{\"field\":\"@network.client.geoip.location.longitude\",\"width\":\"auto\"},{\"field\":\"@network.client.geoip.country.iso_code\",\"width\":\"auto\"},{\"field\":\"@network.client.geoip.subdivision.name\",\"width\":\"auto\"}],\"query\":{\"data_source\":\"logs_stream\",\"indexes\":[],\"query_string\":\"\",\"storage\":\"hot\"},\"response_format\":\"event_list\",\"style\":{\"color_by\":\"status\"},\"text_formats\":[{\"match\":{\"type\":\"is\",\"value\":\"error\"},\"palette\":\"white_on_red\"}]}],\"style\":{\"palette\":\"hostmap_blues\",\"palette_flip\":false},\"title\":\"Log Count by Service and Source\",\"type\":\"geomap\",\"view\":{\"focus\":\"NORTH_AMERICA\"}},\"layout\":{\"height\":6,\"width\":12,\"x\":0,\"y\":0},\"id\":4916490421180340}],\"notify_list\":[],\"created_at\":\"2025-12-08T10:46:15.791396+00:00\",\"modified_at\":\"2025-12-08T10:46:15.791396+00:00\",\"reflow_type\":\"fixed\",\"tags\":[],\"restricted_roles\":[]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 381, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2025-12-08T10:46:15.368Z", + "time": 540 + }, + { + "_id": "47b9d68833554d5352921b2bc1461606", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + } + ], + "headersSize": 520, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v1/dashboard/n2i-h6d-x6a" + }, + "response": { + "bodySize": 38, + "content": { + "mimeType": "application/json", + "size": 38, + "text": "{\"deleted_dashboard_id\":\"n2i-h6d-x6a\"}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 379, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2025-12-08T10:46:15.943Z", + "time": 640 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/examples/v1/dashboards/CreateDashboard_9836563.ts b/examples/v1/dashboards/CreateDashboard_9836563.ts new file mode 100644 index 000000000000..d418aecf1410 --- /dev/null +++ b/examples/v1/dashboards/CreateDashboard_9836563.ts @@ -0,0 +1,130 @@ +/** + * Create a geomap widget with conditional formats and text formats + */ + +import { client, v1 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v1.DashboardsApi(configuration); + +const params: v1.DashboardsApiCreateDashboardRequest = { + body: { + title: "Example-Dashboard", + description: "Example-Dashboard", + widgets: [ + { + definition: { + title: "Log Count by Service and Source", + type: "geomap", + requests: [ + { + responseFormat: "scalar", + queries: [ + { + dataSource: "rum", + name: "query1", + search: { + query: "@type:session", + }, + indexes: ["*"], + compute: { + aggregation: "count", + }, + groupBy: [], + }, + ], + conditionalFormats: [ + { + comparator: ">", + value: 1000, + palette: "white_on_green", + }, + ], + formulas: [ + { + formula: "query1", + }, + ], + sort: { + count: 250, + orderBy: [ + { + type: "formula", + index: 0, + order: "desc", + }, + ], + }, + }, + { + responseFormat: "event_list", + query: { + dataSource: "logs_stream", + queryString: "", + indexes: [], + storage: "hot", + }, + columns: [ + { + field: "@network.client.geoip.location.latitude", + width: "auto", + }, + { + field: "@network.client.geoip.location.longitude", + width: "auto", + }, + { + field: "@network.client.geoip.country.iso_code", + width: "auto", + }, + { + field: "@network.client.geoip.subdivision.name", + width: "auto", + }, + ], + style: { + colorBy: "status", + }, + textFormats: [ + { + match: { + type: "is", + value: "error", + }, + palette: "white_on_red", + }, + ], + }, + ], + style: { + palette: "hostmap_blues", + paletteFlip: false, + }, + view: { + focus: "NORTH_AMERICA", + }, + }, + layout: { + x: 0, + y: 0, + width: 12, + height: 6, + }, + }, + ], + templateVariables: [], + layoutType: "ordered", + notifyList: [], + reflowType: "fixed", + tags: [], + }, +}; + +apiInstance + .createDashboard(params) + .then((data: v1.Dashboard) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/features/v1/dashboards.feature b/features/v1/dashboards.feature index 0d161522e954..20bec73919b8 100644 --- a/features/v1/dashboards.feature +++ b/features/v1/dashboards.feature @@ -72,6 +72,22 @@ Feature: Dashboards And the response "widgets[0].definition.requests[0].response_format" is equal to "event_list" And the response "widgets[0].definition.requests[0].query.data_source" is equal to "logs_stream" + @team:DataDog/dashboards-backend + Scenario: Create a geomap widget with conditional formats and text formats + Given new "CreateDashboard" request + And body with value {"title": "{{ unique }}","description": "{{ unique }}","widgets":[{"definition":{"title":"Log Count by Service and Source","type":"geomap","requests":[{"response_format":"scalar","queries":[{"data_source":"rum","name":"query1","search":{"query":"@type:session"},"indexes":["*"],"compute":{"aggregation":"count"},"group_by":[]}],"conditional_formats":[{"comparator":">","value":1000,"palette":"white_on_green"}],"formulas":[{"formula":"query1"}],"sort":{"count":250,"order_by":[{"type":"formula","index":0,"order":"desc"}]}},{"response_format":"event_list","query":{"data_source":"logs_stream","query_string":"","indexes":[],"storage":"hot"},"columns":[{"field":"@network.client.geoip.location.latitude","width":"auto"},{"field":"@network.client.geoip.location.longitude","width":"auto"},{"field":"@network.client.geoip.country.iso_code","width":"auto"},{"field":"@network.client.geoip.subdivision.name","width":"auto"}],"style":{"color_by":"status"},"text_formats":[{"match":{"type":"is","value":"error"},"palette":"white_on_red"}]}],"style":{"palette":"hostmap_blues","palette_flip":false},"view":{"focus":"NORTH_AMERICA"}},"layout":{"x":0,"y":0,"width":12,"height":6}}],"template_variables":[],"layout_type":"ordered","notify_list":[],"reflow_type":"fixed","tags":[]} + When the request is sent + Then the response status is 200 OK + And the response "widgets[0].definition.type" is equal to "geomap" + And the response "widgets[0].definition.title" is equal to "Log Count by Service and Source" + And the response "widgets[0].definition.requests[0].conditional_formats[0].comparator" is equal to ">" + And the response "widgets[0].definition.requests[0].conditional_formats[0].palette" is equal to "white_on_green" + And the response "widgets[0].definition.requests[0].conditional_formats[0].value" is equal to 1000 + And the response "widgets[0].definition.requests[1].text_formats[0].match.type" is equal to "is" + And the response "widgets[0].definition.requests[1].text_formats[0].match.value" is equal to "error" + And the response "widgets[0].definition.requests[1].text_formats[0].palette" is equal to "white_on_red" + And the response "widgets[0].definition.view.focus" is equal to "NORTH_AMERICA" + @generated @skip @team:DataDog/dashboards-backend Scenario: Create a new dashboard returns "Bad Request" response Given new "CreateDashboard" request diff --git a/packages/datadog-api-client-v1/index.ts b/packages/datadog-api-client-v1/index.ts index 67b2b224bf5d..2f1ce05fa4be 100644 --- a/packages/datadog-api-client-v1/index.ts +++ b/packages/datadog-api-client-v1/index.ts @@ -484,6 +484,7 @@ export { GeomapWidgetDefinitionStyle } from "./models/GeomapWidgetDefinitionStyl export { GeomapWidgetDefinitionType } from "./models/GeomapWidgetDefinitionType"; export { GeomapWidgetDefinitionView } from "./models/GeomapWidgetDefinitionView"; export { GeomapWidgetRequest } from "./models/GeomapWidgetRequest"; +export { GeomapWidgetRequestStyle } from "./models/GeomapWidgetRequestStyle"; export { GraphSnapshot } from "./models/GraphSnapshot"; export { GroupType } from "./models/GroupType"; export { GroupWidgetDefinition } from "./models/GroupWidgetDefinition"; diff --git a/packages/datadog-api-client-v1/models/GeomapWidgetDefinition.ts b/packages/datadog-api-client-v1/models/GeomapWidgetDefinition.ts index 52f2e971bf3a..2f5b58781304 100644 --- a/packages/datadog-api-client-v1/models/GeomapWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/GeomapWidgetDefinition.ts @@ -22,12 +22,11 @@ export class GeomapWidgetDefinition { */ "customLinks"?: Array; /** - * Array of one request object to display in the widget. The request must contain a `group-by` tag whose value is a country ISO code. - * + * Array of request objects to display in the widget. The array may have one optional request object for region layer and/or one optional request object for points layer. The request for region layer must contain a `group-by` tag whose value is a country ISO code. * See the [Request JSON schema documentation](https://docs.datadoghq.com/dashboards/graphing_json/request_json) * for information about building the `REQUEST_SCHEMA`. */ - "requests": [GeomapWidgetRequest]; + "requests": Array; /** * The style to apply to the widget. */ @@ -79,7 +78,7 @@ export class GeomapWidgetDefinition { }, requests: { baseName: "requests", - type: "[GeomapWidgetRequest]", + type: "Array", required: true, }, style: { diff --git a/packages/datadog-api-client-v1/models/GeomapWidgetDefinitionView.ts b/packages/datadog-api-client-v1/models/GeomapWidgetDefinitionView.ts index f7793bcd3dba..50c57e1a9d29 100644 --- a/packages/datadog-api-client-v1/models/GeomapWidgetDefinitionView.ts +++ b/packages/datadog-api-client-v1/models/GeomapWidgetDefinitionView.ts @@ -11,7 +11,7 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; */ export class GeomapWidgetDefinitionView { /** - * The 2-letter ISO code of a country to focus the map on. Or `WORLD`. + * The 2-letter ISO code of a country to focus the map on, or `WORLD` for global view, or a region (`EMEA`, `APAC`, `LATAM`), or a continent (`NORTH_AMERICA`, `SOUTH_AMERICA`, `EUROPE`, `AFRICA`, `ASIA`, `OCEANIA`). */ "focus": string; diff --git a/packages/datadog-api-client-v1/models/GeomapWidgetRequest.ts b/packages/datadog-api-client-v1/models/GeomapWidgetRequest.ts index bfc3ab869840..0022df688015 100644 --- a/packages/datadog-api-client-v1/models/GeomapWidgetRequest.ts +++ b/packages/datadog-api-client-v1/models/GeomapWidgetRequest.ts @@ -5,9 +5,12 @@ */ import { FormulaAndFunctionQueryDefinition } from "./FormulaAndFunctionQueryDefinition"; import { FormulaAndFunctionResponseFormat } from "./FormulaAndFunctionResponseFormat"; +import { GeomapWidgetRequestStyle } from "./GeomapWidgetRequestStyle"; import { ListStreamColumn } from "./ListStreamColumn"; import { ListStreamQuery } from "./ListStreamQuery"; import { LogQueryDefinition } from "./LogQueryDefinition"; +import { TableWidgetTextFormatRule } from "./TableWidgetTextFormatRule"; +import { WidgetConditionalFormat } from "./WidgetConditionalFormat"; import { WidgetFormula } from "./WidgetFormula"; import { WidgetSortBy } from "./WidgetSortBy"; @@ -21,6 +24,10 @@ export class GeomapWidgetRequest { * Widget columns. */ "columns"?: Array; + /** + * Threshold (numeric) conditional formatting rules may be used by the regions layer. + */ + "conditionalFormats"?: Array; /** * List of formulas that operate on queries. */ @@ -57,6 +64,14 @@ export class GeomapWidgetRequest { * The controls for sorting the widget. */ "sort"?: WidgetSortBy; + /** + * The style to apply to the request for points layer. + */ + "style"?: GeomapWidgetRequestStyle; + /** + * Text formatting rules may be used by the points layer. + */ + "textFormats"?: Array; /** * A container for additional, undeclared properties. @@ -78,6 +93,10 @@ export class GeomapWidgetRequest { baseName: "columns", type: "Array", }, + conditionalFormats: { + baseName: "conditional_formats", + type: "Array", + }, formulas: { baseName: "formulas", type: "Array", @@ -114,6 +133,14 @@ export class GeomapWidgetRequest { baseName: "sort", type: "WidgetSortBy", }, + style: { + baseName: "style", + type: "GeomapWidgetRequestStyle", + }, + textFormats: { + baseName: "text_formats", + type: "Array", + }, additionalProperties: { baseName: "additionalProperties", type: "{ [key: string]: any; }", diff --git a/packages/datadog-api-client-v1/models/GeomapWidgetRequestStyle.ts b/packages/datadog-api-client-v1/models/GeomapWidgetRequestStyle.ts new file mode 100644 index 000000000000..e23190633604 --- /dev/null +++ b/packages/datadog-api-client-v1/models/GeomapWidgetRequestStyle.ts @@ -0,0 +1,52 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * The style to apply to the request for points layer. + */ +export class GeomapWidgetRequestStyle { + /** + * The category to color the points by. + */ + "colorBy"?: string; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + colorBy: { + baseName: "color_by", + type: "string", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return GeomapWidgetRequestStyle.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v1/models/ObjectSerializer.ts b/packages/datadog-api-client-v1/models/ObjectSerializer.ts index 086463b1472f..fa58a7c27b97 100644 --- a/packages/datadog-api-client-v1/models/ObjectSerializer.ts +++ b/packages/datadog-api-client-v1/models/ObjectSerializer.ts @@ -99,6 +99,7 @@ import { GeomapWidgetDefinition } from "./GeomapWidgetDefinition"; import { GeomapWidgetDefinitionStyle } from "./GeomapWidgetDefinitionStyle"; import { GeomapWidgetDefinitionView } from "./GeomapWidgetDefinitionView"; import { GeomapWidgetRequest } from "./GeomapWidgetRequest"; +import { GeomapWidgetRequestStyle } from "./GeomapWidgetRequestStyle"; import { GraphSnapshot } from "./GraphSnapshot"; import { GroupWidgetDefinition } from "./GroupWidgetDefinition"; import { HTTPLogError } from "./HTTPLogError"; @@ -1837,6 +1838,7 @@ const typeMap: { [index: string]: any } = { GeomapWidgetDefinitionStyle: GeomapWidgetDefinitionStyle, GeomapWidgetDefinitionView: GeomapWidgetDefinitionView, GeomapWidgetRequest: GeomapWidgetRequest, + GeomapWidgetRequestStyle: GeomapWidgetRequestStyle, GraphSnapshot: GraphSnapshot, GroupWidgetDefinition: GroupWidgetDefinition, HTTPLogError: HTTPLogError,