@dynatrace-sdk/client-query 1.21.1 → 1.21.2
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 +8 -0
- package/README.md +24 -12
- package/cjs/index.js +397 -149
- package/dynatrace-metadata.json +2 -2
- package/esm/index.js +291 -56
- package/package.json +3 -4
- package/types/packages/{shared-client-utils/src → client/query/src/lib/apis}/api-client-options.d.ts +1 -1
- package/types/packages/client/query/src/lib/apis/query-assistance-api.d.ts +1 -1
- package/types/packages/client/query/src/lib/apis/query-execution-api.d.ts +1 -1
- package/types/packages/client/query/src/lib/error-envelopes/api-gateway-errors-handler.d.ts +2 -0
- package/types/packages/client/query/src/lib/error-envelopes/get-error-message.d.ts +1 -0
- package/types/packages/client/query/src/lib/utils/encoding.d.ts +10 -0
- package/types/packages/client/query/src/lib/utils/transformations.d.ts +8 -0
- package/types/packages/client/query/src/lib/utils/url-helpers.d.ts +6 -0
- package/types/packages/shared-errors/src/client-request-error.d.ts +1 -1
- package/types/packages/shared-errors/src/types.d.ts +1 -1
- package/types/packages/shared-client-utils/src/api-gateway-errors-handler.d.ts +0 -9
- package/types/packages/shared-client-utils/src/encoding.d.ts +0 -17
- package/types/packages/shared-client-utils/src/get-error-message.d.ts +0 -8
- package/types/packages/shared-client-utils/src/index.d.ts +0 -6
- package/types/packages/shared-client-utils/src/transformations.d.ts +0 -64
- package/types/packages/shared-client-utils/src/url-helpers.d.ts +0 -12
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
@dynatrace-sdk/client-query
|
|
4
4
|
|
|
5
|
+
## 1.21.2
|
|
6
|
+
|
|
7
|
+
### Patch Changes
|
|
8
|
+
|
|
9
|
+
- Fix transformations for date format strings. (APPDEV-14400)
|
|
10
|
+
- Update dependencies. (APPDEV-14014)
|
|
11
|
+
- Update dependencies. (APPDEV-13611)
|
|
12
|
+
|
|
5
13
|
## 1.21.1
|
|
6
14
|
|
|
7
15
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @dynatrace-sdk/client-query
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/@dynatrace-sdk/client-query/v/1.21.2)
|
|
4
4
|
[](https://opensource.org/licenses/Apache-2.0)
|
|
5
5
|
|
|
6
6
|
Exposes an API to fetch records stored in Grail
|
|
@@ -108,7 +108,7 @@ a link to docs, etc.
|
|
|
108
108
|
|
|
109
109
|
| Error Type | Error Message |
|
|
110
110
|
|---|---|
|
|
111
|
-
|ErrorEnvelopeError|The supplied request is wrong. Either the query itself or other parameters are wrong.
|
|
111
|
+
|ErrorEnvelopeError|The supplied request is wrong. Either the query itself or other parameters are wrong. | An internal server error has occurred.|
|
|
112
112
|
|
|
113
113
|
|
|
114
114
|
<details>
|
|
@@ -362,7 +362,7 @@ When displaying the query, pick one option. You may use the other options for ho
|
|
|
362
362
|
|
|
363
363
|
| Error Type | Error Message |
|
|
364
364
|
|---|---|
|
|
365
|
-
|ErrorEnvelopeError|The supplied request is wrong. Either the query itself or other parameters are wrong.
|
|
365
|
+
|ErrorEnvelopeError|The supplied request is wrong. Either the query itself or other parameters are wrong. | An internal server error has occurred.|
|
|
366
366
|
|
|
367
367
|
|
|
368
368
|
<details>
|
|
@@ -431,7 +431,7 @@ submitting the query for execution.
|
|
|
431
431
|
|
|
432
432
|
| Error Type | Error Message |
|
|
433
433
|
|---|---|
|
|
434
|
-
|ErrorEnvelopeError|The supplied request is wrong.
|
|
434
|
+
|ErrorEnvelopeError|The supplied request is wrong. | An internal server error has occurred.|
|
|
435
435
|
|
|
436
436
|
|
|
437
437
|
<details>
|
|
@@ -535,7 +535,7 @@ It is guaranteed that every field of every record will have a corresponding type
|
|
|
535
535
|
|
|
536
536
|
| Error Type | Error Message |
|
|
537
537
|
|---|---|
|
|
538
|
-
|ErrorEnvelopeError|The supplied request is wrong. Either the query itself or other parameters are wrong.
|
|
538
|
+
|ErrorEnvelopeError|The supplied request is wrong. Either the query itself or other parameters are wrong. | An internal server error has occurred.|
|
|
539
539
|
|
|
540
540
|
|
|
541
541
|
<details>
|
|
@@ -625,14 +625,14 @@ It is guaranteed that every field of every record will have a corresponding type
|
|
|
625
625
|
|
|
626
626
|
| Return type | Description |
|
|
627
627
|
|---|---|
|
|
628
|
-
|[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[QueryStartResponse](#querystartresponse)> | The final status and results of the supplied query if it finished within a supplied requestTimeoutMilliseconds.
|
|
628
|
+
|[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[QueryStartResponse](#querystartresponse)> | The final status and results of the supplied query if it finished within a supplied requestTimeoutMilliseconds. | The status of the query to start.|
|
|
629
629
|
|
|
630
630
|
|
|
631
631
|
#### Throws
|
|
632
632
|
|
|
633
633
|
| Error Type | Error Message |
|
|
634
634
|
|---|---|
|
|
635
|
-
|ErrorEnvelopeError|The supplied request is wrong. Either the query itself or other parameters are wrong.
|
|
635
|
+
|ErrorEnvelopeError|The supplied request is wrong. Either the query itself or other parameters are wrong. | Too many requests. | An internal server error has occurred. | Service is unavailable. | Client error. | Server error.|
|
|
636
636
|
|InsufficientPermission|Insufficient permissions.|
|
|
637
637
|
|
|
638
638
|
|
|
@@ -730,7 +730,7 @@ It is guaranteed that every field of every record will have a corresponding type
|
|
|
730
730
|
|
|
731
731
|
| Error Type | Error Message |
|
|
732
732
|
|---|---|
|
|
733
|
-
|ErrorEnvelopeError|The supplied request is wrong. Either the query itself or other parameters are wrong.
|
|
733
|
+
|ErrorEnvelopeError|The supplied request is wrong. Either the query itself or other parameters are wrong. | An internal server error has occurred.|
|
|
734
734
|
|
|
735
735
|
|
|
736
736
|
<details>
|
|
@@ -1131,7 +1131,10 @@ Verify response.
|
|
|
1131
1131
|
## Enums
|
|
1132
1132
|
|
|
1133
1133
|
<a name="dqlnodenodetype"></a>
|
|
1134
|
-
### DQLNodeNodeType
|
|
1134
|
+
### ~~DQLNodeNodeType~~
|
|
1135
|
+
|
|
1136
|
+
> ⚠️ **Deprecated**
|
|
1137
|
+
> Use literal values.
|
|
1135
1138
|
|
|
1136
1139
|
<div class="padding-left--md">
|
|
1137
1140
|
|
|
@@ -1149,7 +1152,10 @@ The type of the node.
|
|
|
1149
1152
|
</div>
|
|
1150
1153
|
|
|
1151
1154
|
<a name="fieldtypetype"></a>
|
|
1152
|
-
### FieldTypeType
|
|
1155
|
+
### ~~FieldTypeType~~
|
|
1156
|
+
|
|
1157
|
+
> ⚠️ **Deprecated**
|
|
1158
|
+
> Use literal values.
|
|
1153
1159
|
|
|
1154
1160
|
<div class="padding-left--md">
|
|
1155
1161
|
|
|
@@ -1167,7 +1173,10 @@ The type of the node.
|
|
|
1167
1173
|
</div>
|
|
1168
1174
|
|
|
1169
1175
|
<a name="querystate"></a>
|
|
1170
|
-
### QueryState
|
|
1176
|
+
### ~~QueryState~~
|
|
1177
|
+
|
|
1178
|
+
> ⚠️ **Deprecated**
|
|
1179
|
+
> Use literal values.
|
|
1171
1180
|
|
|
1172
1181
|
<div class="padding-left--md">
|
|
1173
1182
|
|
|
@@ -1185,7 +1194,10 @@ Possible state of the query.
|
|
|
1185
1194
|
</div>
|
|
1186
1195
|
|
|
1187
1196
|
<a name="tokentype"></a>
|
|
1188
|
-
### TokenType
|
|
1197
|
+
### ~~TokenType~~
|
|
1198
|
+
|
|
1199
|
+
> ⚠️ **Deprecated**
|
|
1200
|
+
> Use literal values.
|
|
1189
1201
|
|
|
1190
1202
|
<div class="padding-left--md">
|
|
1191
1203
|
|