@dynatrace-sdk/client-query 1.10.1 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,21 @@
2
2
 
3
3
  @dynatrace-sdk/client-query
4
4
 
5
+ ## 1.11.0
6
+
7
+ ### Minor Changes
8
+
9
+ - Add `canonicalQuery` property to VerifyRequest
10
+ - Provide actual error code in the error message instead of wildcard. APPDEV-7744
11
+ - Add option to generate canonical query to `VerifyRequest`
12
+
13
+ ### Patch Changes
14
+
15
+ - Do not print empty fields in the default message of an error. APPDEV-7630
16
+ - Fix typo in the description of `defaultTimeframeStart`
17
+ - Remove `Authorization` header
18
+ - Update documentation. APPDEV-8154
19
+
5
20
  ## 1.10.1
6
21
 
7
22
  ### Patch Changes
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @dynatrace-sdk/client-query
2
2
 
3
- [![npm](https://img.shields.io/badge/npm-v1.10.1-blue)](https://www.npmjs.com/package/@dynatrace-sdk/client-query/v/1.10.1)
3
+ [![npm](https://img.shields.io/badge/npm-v1.11.0-blue)](https://www.npmjs.com/package/@dynatrace-sdk/client-query/v/1.11.0)
4
4
  [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
5
5
 
6
6
  Exposes an API to fetch records stored in Grail
@@ -87,10 +87,9 @@ a link to docs, etc.
87
87
 
88
88
  #### Parameters
89
89
 
90
- | Name | Type| Description|
91
- |---|---|---|
92
- |config.authorization|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|The authorization context. Typically start with 'Bearer '. |
93
- |config.body<sup>*required</sup>|[AutocompleteRequest](#autocompleterequest)| |
90
+ | Name | Type |
91
+ | --- | --- |
92
+ |config.body<sup>*required</sup>|[AutocompleteRequest](#autocompleterequest)|
94
93
 
95
94
 
96
95
 
@@ -332,10 +331,9 @@ When displaying the query, pick one option. You may use the other options for ho
332
331
 
333
332
  #### Parameters
334
333
 
335
- | Name | Type| Description|
336
- |---|---|---|
337
- |config.authorization|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|The authorization context. Typically start with 'Bearer '. |
338
- |config.body<sup>*required</sup>|[ParseRequest](#parserequest)| |
334
+ | Name | Type |
335
+ | --- | --- |
336
+ |config.body<sup>*required</sup>|[ParseRequest](#parserequest)|
339
337
 
340
338
 
341
339
 
@@ -392,10 +390,9 @@ submitting the query for execution.
392
390
 
393
391
  #### Parameters
394
392
 
395
- | Name | Type| Description|
396
- |---|---|---|
397
- |config.authorization|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|The authorization context. Typically start with 'Bearer '. |
398
- |config.body<sup>*required</sup>|[VerifyRequest](#verifyrequest)| |
393
+ | Name | Type |
394
+ | --- | --- |
395
+ |config.body<sup>*required</sup>|[VerifyRequest](#verifyrequest)|
399
396
 
400
397
 
401
398
 
@@ -486,8 +483,8 @@ It is guaranteed that every field of every record will have a corresponding type
486
483
 
487
484
  #### Parameters
488
485
 
489
- | Name | Type| Description|
490
- |---|---|---|
486
+ | Name | Type | Description |
487
+ | --- | --- | --- |
491
488
  |config.enrich|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|If set additional data will be available in the metadata section. |
492
489
  |config.requestToken<sup>*required</sup>|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|The request-token of the query. |
493
490
 
@@ -572,9 +569,8 @@ It is guaranteed that every field of every record will have a corresponding type
572
569
 
573
570
  #### Parameters
574
571
 
575
- | Name | Type| Description|
576
- |---|---|---|
577
- |config.authorization|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|The authorization context. Typically start with 'Bearer '. |
572
+ | Name | Type | Description |
573
+ | --- | --- | --- |
578
574
  |config.body<sup>*required</sup>|[ExecuteRequest](#executerequest)| |
579
575
  |config.enrich|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|If set additional data will be available in the metadata section. |
580
576
 
@@ -659,8 +655,8 @@ It is guaranteed that every field of every record will have a corresponding type
659
655
 
660
656
  #### Parameters
661
657
 
662
- | Name | Type| Description|
663
- |---|---|---|
658
+ | Name | Type | Description |
659
+ | --- | --- | --- |
664
660
  |config.enrich|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|If set additional data will be available in the metadata section. |
665
661
  |config.requestTimeoutMilliseconds|[number](https://developer.mozilla.org/en-US/docs/Glossary/Number)|The time a client is willing to wait for the query result. In case the query finishes within the specified timeout, the query result is returned. Otherwise, the query status is returned. |
666
662
  |config.requestToken<sup>*required</sup>|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|The request-token of the query. |
@@ -701,8 +697,9 @@ const data = await queryExecutionClient.queryPoll({
701
697
 
702
698
 
703
699
 
704
- | Name | Type| Description|
705
- |---|---|---|
700
+
701
+ | Name | Type | Description |
702
+ | --- | --- | --- |
706
703
  |cursorPosition|[number](https://developer.mozilla.org/en-US/docs/Glossary/Number)| |
707
704
  |locale|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|The query locale. If none specified, then a language/country neutral locale is chosen. The input values take the ISO-639 Language code with an optional ISO-3166 country code appended to it with an underscore. For instance, both values are valid 'en' or 'en_US'. |
708
705
  |maxDataSuggestions|[number](https://developer.mozilla.org/en-US/docs/Glossary/Number)| |
@@ -714,10 +711,11 @@ const data = await queryExecutionClient.queryPoll({
714
711
 
715
712
 
716
713
 
714
+
717
715
  The response of the autocomplete call.
718
716
 
719
- | Name | Type| Description|
720
- |---|---|---|
717
+ | Name | Type | Description |
718
+ | --- | --- | --- |
721
719
  |optional<sup>*required</sup>|[boolean](https://developer.mozilla.org/en-US/docs/Glossary/Boolean)|True if the suggestions are optional. |
722
720
  |suggestedTtlSeconds|[number](https://developer.mozilla.org/en-US/docs/Glossary/Number)|Suggested duration in seconds, for how long the response may be cached and reused by the client. It is derived from the volatility of the suggestions on the server (if the suggestions are static, how long the server will cache the volatile suggestions, ...). If not provided, then the result may be cached for long time. Value below 1 means that the result should not be cached. |
723
721
  |suggestions<sup>*required</sup>|Array&lt;[AutocompleteSuggestion](#autocompletesuggestion)&gt;|The list of suggestions. |
@@ -726,10 +724,11 @@ The response of the autocomplete call.
726
724
 
727
725
 
728
726
 
727
+
729
728
  Single suggestion for completion of the query.
730
729
 
731
- | Name | Type| Description|
732
- |---|---|---|
730
+ | Name | Type | Description |
731
+ | --- | --- | --- |
733
732
  |alreadyTypedCharacters<sup>*required</sup>|[number](https://developer.mozilla.org/en-US/docs/Glossary/Number)|Number of characters that the user user already typed for this suggestion. |
734
733
  |parts<sup>*required</sup>|Array&lt;[AutocompleteSuggestionPart](#autocompletesuggestionpart)&gt;|List of suggestion parts. |
735
734
  |suggestion<sup>*required</sup>|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|The suggested continuation of the query. |
@@ -738,10 +737,11 @@ Single suggestion for completion of the query.
738
737
 
739
738
 
740
739
 
740
+
741
741
  Part of the suggestion.
742
742
 
743
- | Name | Type| Description|
744
- |---|---|---|
743
+ | Name | Type | Description |
744
+ | --- | --- | --- |
745
745
  |info|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|The type of the suggestion. |
746
746
  |suggestion<sup>*required</sup>|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|The suggested continuation of the query. |
747
747
  |synopsis|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|The synopsis of the suggestion. |
@@ -751,10 +751,11 @@ Part of the suggestion.
751
751
 
752
752
 
753
753
 
754
+
754
755
  The DQL node that has alternatives.
755
756
 
756
- | Name | Type| Description|
757
- |---|---|---|
757
+ | Name | Type | Description |
758
+ | --- | --- | --- |
758
759
  |alternatives|object|The different alternatives. |
759
760
  |isOptional<sup>*required</sup>|[boolean](https://developer.mozilla.org/en-US/docs/Glossary/Boolean)|True if the node is optional. |
760
761
  |nodeType<sup>*required</sup>|DQLNodeNodeType| |
@@ -764,10 +765,11 @@ The DQL node that has alternatives.
764
765
 
765
766
 
766
767
 
768
+
767
769
  The DQL node that contains other nodes.
768
770
 
769
- | Name | Type| Description|
770
- |---|---|---|
771
+ | Name | Type | Description |
772
+ | --- | --- | --- |
771
773
  |children|Array&lt;[DQLNode](#dqlnode)&gt;|The list of children nodes. |
772
774
  |isOptional<sup>*required</sup>|[boolean](https://developer.mozilla.org/en-US/docs/Glossary/Boolean)|True if the node is optional. |
773
775
  |nodeType<sup>*required</sup>|DQLNodeNodeType| |
@@ -778,10 +780,11 @@ The DQL node that contains other nodes.
778
780
 
779
781
 
780
782
 
783
+
781
784
  General Node in the DQL query.
782
785
 
783
- | Name | Type| Description|
784
- |---|---|---|
786
+ | Name | Type | Description |
787
+ | --- | --- | --- |
785
788
  |isOptional<sup>*required</sup>|[boolean](https://developer.mozilla.org/en-US/docs/Glossary/Boolean)|True if the node is optional. |
786
789
  |nodeType<sup>*required</sup>|DQLNodeNodeType| |
787
790
  |tokenPosition|[TokenPosition](#tokenposition)| |
@@ -790,10 +793,11 @@ General Node in the DQL query.
790
793
 
791
794
 
792
795
 
796
+
793
797
  Node that represents single token.
794
798
 
795
- | Name | Type| Description|
796
- |---|---|---|
799
+ | Name | Type | Description |
800
+ | --- | --- | --- |
797
801
  |canonicalString|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|Canonical form. |
798
802
  |isMandatoryOnUserOrder|[boolean](https://developer.mozilla.org/en-US/docs/Glossary/Boolean)|For optional items only: whether this node becomes mandatory when user order is used. True only for some optional 'ghost braces' |
799
803
  |isOptional<sup>*required</sup>|[boolean](https://developer.mozilla.org/en-US/docs/Glossary/Boolean)|True if the node is optional. |
@@ -805,20 +809,22 @@ Node that represents single token.
805
809
 
806
810
 
807
811
 
812
+
808
813
  An &apos;envelope&apos; error object that has the mandatory error object.
809
814
 
810
- | Name | Type|
811
- |---|---|
815
+ | Name | Type |
816
+ | --- | --- |
812
817
  |error<sup>*required</sup>|[ErrorResponse](#errorresponse)|
813
818
 
814
819
  ### ErrorResponse
815
820
 
816
821
 
817
822
 
823
+
818
824
  The response for error state
819
825
 
820
- | Name | Type| Description|
821
- |---|---|---|
826
+ | Name | Type | Description |
827
+ | --- | --- | --- |
822
828
  |code<sup>*required</sup>|[number](https://developer.mozilla.org/en-US/docs/Glossary/Number)|Error code, which normally matches the HTTP error code. |
823
829
  |details<sup>*required</sup>|[ErrorResponseDetails](#errorresponsedetails)| |
824
830
  |message<sup>*required</sup>|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|A short, clear error message without details |
@@ -827,10 +833,11 @@ The response for error state
827
833
 
828
834
 
829
835
 
836
+
830
837
  Detailed information about the error.
831
838
 
832
- | Name | Type| Description|
833
- |---|---|---|
839
+ | Name | Type | Description |
840
+ | --- | --- | --- |
834
841
  |arguments<sup>*required</sup>|Array&lt;[string](https://developer.mozilla.org/en-US/docs/Glossary/String)&gt;|The arguments for the message format. |
835
842
  |errorMessage<sup>*required</sup>|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|Complete error message. |
836
843
  |errorMessageFormat<sup>*required</sup>|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|The message format of the error message, string.format based. |
@@ -847,12 +854,13 @@ Detailed information about the error.
847
854
 
848
855
 
849
856
 
850
- | Name | Type| Description|
851
- |---|---|---|
857
+
858
+ | Name | Type | Description |
859
+ | --- | --- | --- |
852
860
  |defaultSamplingRatio|[number](https://developer.mozilla.org/en-US/docs/Glossary/Number)|In case not specified in the DQL string, the sampling ratio defined here is applied. Note that this is only applicable to log queries. |
853
861
  |defaultScanLimitGbytes|[number](https://developer.mozilla.org/en-US/docs/Glossary/Number)|Limit in gigabytes for the amount data that will be scanned during read. |
854
- |defaultTimeframeEnd|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|The query timeframe 'end' timestamp in ISO-8601 or RFC399 format. If the timeframe 'start' parameter is missing, the whole timeframe is ignored. <em>Note that if a timeframe is specified within the query string (query) then it has precedence over this query request parameter.</em> |
855
- |defaultTimeframeStart|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|The query timeframe 'start' timestamp in ISO-8601 or RFC399 format. If the timeframe 'end' parameter is missing, the whole timeframe is ignored. <em>Note that if a timeframe is specified within the query string (query) then it has precedence over this query request parameter.</em> |
862
+ |defaultTimeframeEnd|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|The query timeframe 'end' timestamp in ISO-8601 or RFC3339 format. If the timeframe 'start' parameter is missing, the whole timeframe is ignored. <em>Note that if a timeframe is specified within the query string (query) then it has precedence over this query request parameter.</em> |
863
+ |defaultTimeframeStart|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|The query timeframe 'start' timestamp in ISO-8601 or RFC3339 format. If the timeframe 'end' parameter is missing, the whole timeframe is ignored. <em>Note that if a timeframe is specified within the query string (query) then it has precedence over this query request parameter.</em> |
856
864
  |enablePreview|[boolean](https://developer.mozilla.org/en-US/docs/Glossary/Boolean)|Request preview results. If a preview is available within the requestTimeoutMilliseconds, then it will be returned as part of the response. |
857
865
  |fetchTimeoutSeconds|[number](https://developer.mozilla.org/en-US/docs/Glossary/Number)|The query will stop reading data after reaching the fetch-timeout. The query execution will continue, providing a partial result based on the read data. |
858
866
  |locale|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|The query locale. If none specified, then a language/country neutral locale is chosen. The input values take the ISO-639 Language code with an optional ISO-3166 country code appended to it with an underscore. For instance, both values are valid 'en' or 'en_US'. |
@@ -867,10 +875,11 @@ Detailed information about the error.
867
875
 
868
876
 
869
877
 
878
+
870
879
  The possible type of a field in DQL.
871
880
 
872
- | Name | Type|
873
- |---|---|
881
+ | Name | Type |
882
+ | --- | --- |
874
883
  |type<sup>*required</sup>|FieldTypeType|
875
884
  |types|Array&lt;[RangedFieldTypes](#rangedfieldtypes)&gt;|
876
885
 
@@ -878,10 +887,11 @@ The possible type of a field in DQL.
878
887
 
879
888
 
880
889
 
890
+
881
891
  DQL data type representing a geolocation point.
882
892
 
883
- | Name | Type| Description|
884
- |---|---|---|
893
+ | Name | Type | Description |
894
+ | --- | --- | --- |
885
895
  |latitude<sup>*required</sup>|[number](https://developer.mozilla.org/en-US/docs/Glossary/Number)|The coordinate that specifies the north-south position of a point on the surface of the earth. |
886
896
  |longitude<sup>*required</sup>|[number](https://developer.mozilla.org/en-US/docs/Glossary/Number)|The coordinate that specifies the east-west position of a point on the surface of the earth. |
887
897
 
@@ -889,10 +899,11 @@ DQL data type representing a geolocation point.
889
899
 
890
900
 
891
901
 
902
+
892
903
  Collects various bits of metadata information.
893
904
 
894
- | Name | Type| Description|
895
- |---|---|---|
905
+ | Name | Type | Description |
906
+ | --- | --- | --- |
896
907
  |analysisTimeframe|[Timeframe](#timeframe)| |
897
908
  |canonicalQuery|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|The canonical form of the query. It has normalized spaces and canonical constructs. |
898
909
  |dqlVersion|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|The version of DQL that was used to process the query request. |
@@ -911,10 +922,11 @@ Collects various bits of metadata information.
911
922
 
912
923
 
913
924
 
925
+
914
926
  Collects various bits of metadata information.
915
927
 
916
- | Name | Type|
917
- |---|---|
928
+ | Name | Type |
929
+ | --- | --- |
918
930
  |grail|[GrailMetadata](#grailmetadata)|
919
931
  |metrics|Array&lt;[MetricMetadata](#metricmetadata)&gt;|
920
932
 
@@ -922,10 +934,11 @@ Collects various bits of metadata information.
922
934
 
923
935
 
924
936
 
937
+
925
938
  The message that provides additional information about the execution of the query.
926
939
 
927
- | Name | Type| Description|
928
- |---|---|---|
940
+ | Name | Type | Description |
941
+ | --- | --- | --- |
929
942
  |arguments|Array&lt;[string](https://developer.mozilla.org/en-US/docs/Glossary/String)&gt;|The arguments for the message format. |
930
943
  |message|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|The complete message of the notification. |
931
944
  |messageFormat|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|The message format of the notification, string.format based |
@@ -938,10 +951,11 @@ The message that provides additional information about the execution of the quer
938
951
 
939
952
 
940
953
 
954
+
941
955
  An object that defines additional metric metadata.
942
956
 
943
- | Name | Type| Description|
944
- |---|---|---|
957
+ | Name | Type | Description |
958
+ | --- | --- | --- |
945
959
  |description|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|The description of the metadata. |
946
960
  |displayName|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|The display name of the metadata. |
947
961
  |fieldName|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|The name of the associated field used in the query. |
@@ -957,8 +971,9 @@ An object that defines additional metric metadata.
957
971
 
958
972
 
959
973
 
960
- | Name | Type| Description|
961
- |---|---|---|
974
+
975
+ | Name | Type | Description |
976
+ | --- | --- | --- |
962
977
  |locale|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|The query locale. If none specified, then a language/country neutral locale is chosen. The input values take the ISO-639 Language code with an optional ISO-3166 country code appended to it with an underscore. For instance, both values are valid 'en' or 'en_US'. |
963
978
  |query<sup>*required</sup>|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|The full query string. |
964
979
  |queryOptions|[QueryOptions](#queryoptions)| |
@@ -968,15 +983,17 @@ An object that defines additional metric metadata.
968
983
 
969
984
 
970
985
 
986
+
971
987
  The exact position in the query string.
972
988
 
973
- | Name | Type| Description|
974
- |---|---|---|
989
+ | Name | Type | Description |
990
+ | --- | --- | --- |
975
991
  |column<sup>*required</sup>|[number](https://developer.mozilla.org/en-US/docs/Glossary/Number)|Query position column zero based index. |
976
992
  |index<sup>*required</sup>|[number](https://developer.mozilla.org/en-US/docs/Glossary/Number)|Query position index. |
977
993
  |line<sup>*required</sup>|[number](https://developer.mozilla.org/en-US/docs/Glossary/Number)|Query position line zero based index. |
978
994
 
979
995
  ### QueryOptions
996
+ **type**: Record&lt;string, string | undefined&gt;
980
997
 
981
998
 
982
999
 
@@ -986,10 +1003,11 @@ Query options.
986
1003
 
987
1004
 
988
1005
 
1006
+
989
1007
  The response of GET query:execute call.
990
1008
 
991
- | Name | Type| Description|
992
- |---|---|---|
1009
+ | Name | Type | Description |
1010
+ | --- | --- | --- |
993
1011
  |progress|[number](https://developer.mozilla.org/en-US/docs/Glossary/Number)|The progress of the query from 0 to 100. |
994
1012
  |result|[QueryResult](#queryresult)| |
995
1013
  |state<sup>*required</sup>|QueryState| |
@@ -999,10 +1017,11 @@ The response of GET query:execute call.
999
1017
 
1000
1018
 
1001
1019
 
1020
+
1002
1021
  The result of the DQL query.
1003
1022
 
1004
- | Name | Type| Description|
1005
- |---|---|---|
1023
+ | Name | Type | Description |
1024
+ | --- | --- | --- |
1006
1025
  |metadata<sup>*required</sup>|[Metadata](#metadata)| |
1007
1026
  |records<sup>*required</sup>|Array&lt;null &#124; [ResultRecord](#resultrecord)&gt;|List of records containing the result fields data. |
1008
1027
  |types<sup>*required</sup>|Array&lt;[RangedFieldTypes](#rangedfieldtypes)&gt;|The data types for the result records. |
@@ -1011,10 +1030,11 @@ The result of the DQL query.
1011
1030
 
1012
1031
 
1013
1032
 
1033
+
1014
1034
  The response when starting a query.
1015
1035
 
1016
- | Name | Type| Description|
1017
- |---|---|---|
1036
+ | Name | Type | Description |
1037
+ | --- | --- | --- |
1018
1038
  |progress|[number](https://developer.mozilla.org/en-US/docs/Glossary/Number)|The progress of the query from 0 to 100. |
1019
1039
  |requestToken|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|The token returned by the POST query:execute call. |
1020
1040
  |result|[QueryResult](#queryresult)| |
@@ -1025,20 +1045,23 @@ The response when starting a query.
1025
1045
 
1026
1046
 
1027
1047
 
1048
+
1028
1049
  The field type in range.
1029
1050
 
1030
- | Name | Type| Description|
1031
- |---|---|---|
1051
+ | Name | Type | Description |
1052
+ | --- | --- | --- |
1032
1053
  |indexRange|Array&lt;[number](https://developer.mozilla.org/en-US/docs/Glossary/Number)&gt;|The range of elements at use this type in arrays (null for records). |
1033
1054
  |mappings<sup>*required</sup>|[RangedFieldTypesMappings](#rangedfieldtypesmappings)| |
1034
1055
 
1035
1056
  ### RangedFieldTypesMappings
1057
+ **type**: Record&lt;string, FieldType | undefined&gt;
1036
1058
 
1037
1059
 
1038
1060
 
1039
1061
  The mapping between the field name and data type.
1040
1062
 
1041
1063
  ### ResultRecord
1064
+ **type**: Record&lt;string, ResultRecordValue | null | undefined&gt;
1042
1065
 
1043
1066
 
1044
1067
 
@@ -1048,10 +1071,11 @@ Single record that contains the result fields.
1048
1071
 
1049
1072
 
1050
1073
 
1074
+
1051
1075
  DQL data type timeframe.
1052
1076
 
1053
- | Name | Type| Description|
1054
- |---|---|---|
1077
+ | Name | Type | Description |
1078
+ | --- | --- | --- |
1055
1079
  |end|Date|The end time of the timeframe. |
1056
1080
  |start|Date|The start time of the timeframe. |
1057
1081
 
@@ -1059,10 +1083,11 @@ DQL data type timeframe.
1059
1083
 
1060
1084
 
1061
1085
 
1086
+
1062
1087
  The position of a token in a query string used for errors and notification to map the message to a specific part of the query.
1063
1088
 
1064
- | Name | Type|
1065
- |---|---|
1089
+ | Name | Type |
1090
+ | --- | --- |
1066
1091
  |end<sup>*required</sup>|[PositionInfo](#positioninfo)|
1067
1092
  |start<sup>*required</sup>|[PositionInfo](#positioninfo)|
1068
1093
 
@@ -1072,8 +1097,10 @@ The position of a token in a query string used for errors and notification to ma
1072
1097
 
1073
1098
 
1074
1099
 
1075
- | Name | Type| Description|
1076
- |---|---|---|
1100
+
1101
+ | Name | Type | Description |
1102
+ | --- | --- | --- |
1103
+ |generateCanonicalQuery|[boolean](https://developer.mozilla.org/en-US/docs/Glossary/Boolean)| <i>default:</i> <code>false</code>|
1077
1104
  |locale|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|The query locale. If none specified, then a language/country neutral locale is chosen. The input values take the ISO-639 Language code with an optional ISO-3166 country code appended to it with an underscore. For instance, both values are valid 'en' or 'en_US'. |
1078
1105
  |query<sup>*required</sup>|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|The full query string. |
1079
1106
  |queryOptions|[QueryOptions](#queryoptions)| |
@@ -1083,10 +1110,12 @@ The position of a token in a query string used for errors and notification to ma
1083
1110
 
1084
1111
 
1085
1112
 
1113
+
1086
1114
  Verify response.
1087
1115
 
1088
- | Name | Type| Description|
1089
- |---|---|---|
1116
+ | Name | Type | Description |
1117
+ | --- | --- | --- |
1118
+ |canonicalQuery|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)| |
1090
1119
  |notifications|Array&lt;[MetadataNotification](#metadatanotification)&gt;|The notifications related to the supplied DQL query string. |
1091
1120
  |valid<sup>*required</sup>|[boolean](https://developer.mozilla.org/en-US/docs/Glossary/Boolean)|True if the supplied DQL query string is valid. |
1092
1121