@dynatrace-sdk/client-query 1.11.1 → 1.12.1

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/cjs/index.js CHANGED
@@ -51,6 +51,7 @@ __export(src_exports, {
51
51
  _DQLNodeTransformation: () => dql_node_transformation_exports,
52
52
  _DQLTerminalNodeTransformation: () => dql_terminal_node_transformation_exports,
53
53
  _ErrorEnvelopeTransformation: () => error_envelope_transformation_exports,
54
+ _ErrorResponseDetailsConstraintViolationsItemTransformation: () => error_response_details_constraint_violations_item_transformation_exports,
54
55
  _ErrorResponseDetailsTransformation: () => error_response_details_transformation_exports,
55
56
  _ErrorResponseTransformation: () => error_response_transformation_exports,
56
57
  _ExecuteRequestTransformation: () => execute_request_transformation_exports,
@@ -1037,30 +1038,97 @@ function toJson7($model, includeChildProps = true) {
1037
1038
  var error_envelope_transformation_exports = {};
1038
1039
  __export(error_envelope_transformation_exports, {
1039
1040
  fromFormData: () => fromFormData2,
1040
- fromJson: () => fromJson16,
1041
+ fromJson: () => fromJson17,
1041
1042
  isErrorEnvelope: () => isErrorEnvelope,
1042
- isJson: () => isJson16,
1043
+ isJson: () => isJson17,
1043
1044
  toFormData: () => toFormData2,
1044
- toJson: () => toJson16
1045
+ toJson: () => toJson17
1045
1046
  });
1046
1047
 
1047
1048
  // packages/client/query/src/lib/models/error-response.transformation.ts
1048
1049
  var error_response_transformation_exports = {};
1049
1050
  __export(error_response_transformation_exports, {
1050
- fromJson: () => fromJson15,
1051
+ fromJson: () => fromJson16,
1051
1052
  isErrorResponse: () => isErrorResponse,
1052
- isJson: () => isJson15,
1053
- toJson: () => toJson15
1053
+ isJson: () => isJson16,
1054
+ toJson: () => toJson16
1054
1055
  });
1055
1056
 
1056
1057
  // packages/client/query/src/lib/models/error-response-details.transformation.ts
1057
1058
  var error_response_details_transformation_exports = {};
1058
1059
  __export(error_response_details_transformation_exports, {
1059
- fromJson: () => fromJson14,
1060
+ fromJson: () => fromJson15,
1060
1061
  isErrorResponseDetails: () => isErrorResponseDetails,
1062
+ isJson: () => isJson15,
1063
+ toJson: () => toJson15
1064
+ });
1065
+
1066
+ // packages/client/query/src/lib/models/error-response-details-constraint-violations-item.transformation.ts
1067
+ var error_response_details_constraint_violations_item_transformation_exports = {};
1068
+ __export(error_response_details_constraint_violations_item_transformation_exports, {
1069
+ fromJson: () => fromJson14,
1070
+ isErrorResponseDetailsConstraintViolationsItem: () => isErrorResponseDetailsConstraintViolationsItem,
1061
1071
  isJson: () => isJson14,
1062
1072
  toJson: () => toJson14
1063
1073
  });
1074
+ function isErrorResponseDetailsConstraintViolationsItem(value) {
1075
+ if (value === null) {
1076
+ return false;
1077
+ }
1078
+ if (value === void 0) {
1079
+ return false;
1080
+ }
1081
+ if (Array.isArray(value)) {
1082
+ return false;
1083
+ }
1084
+ const modelKeys = /* @__PURE__ */ new Set(["message", "parameterLocation", "parameterDescriptor"]);
1085
+ const hasAdditionalProperties = false;
1086
+ const requiredKeys = ["message"];
1087
+ const optionalKeys = ["parameterLocation", "parameterDescriptor"];
1088
+ const valKeys = new Set(Object.keys(value));
1089
+ const containsRequiredOrOptionalKeys = requiredKeys.length > 0 ? requiredKeys.every((reqKey) => valKeys.has(reqKey)) : optionalKeys.some((key) => valKeys.has(key)) || hasAdditionalProperties;
1090
+ const doesNotContainExtraKeys = [...valKeys].every((key) => modelKeys.has(key)) || hasAdditionalProperties;
1091
+ const allPropertiesMatchFormat = true;
1092
+ return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
1093
+ }
1094
+ function isJson14(value) {
1095
+ if (value === null) {
1096
+ return false;
1097
+ }
1098
+ if (value === void 0) {
1099
+ return false;
1100
+ }
1101
+ if (Array.isArray(value)) {
1102
+ return false;
1103
+ }
1104
+ const modelKeys = /* @__PURE__ */ new Set(["message", "parameterLocation", "parameterDescriptor"]);
1105
+ const hasAdditionalProperties = false;
1106
+ const requiredKeys = ["message"];
1107
+ const optionalKeys = ["parameterLocation", "parameterDescriptor"];
1108
+ const valKeys = new Set(Object.keys(value));
1109
+ const containsRequiredOrOptionalKeys = requiredKeys.length > 0 ? requiredKeys.every((reqKey) => valKeys.has(reqKey)) : optionalKeys.some((key) => valKeys.has(key)) || hasAdditionalProperties;
1110
+ const doesNotContainExtraKeys = [...valKeys].every((key) => modelKeys.has(key)) || hasAdditionalProperties;
1111
+ const allPropertiesMatchFormat = true;
1112
+ return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
1113
+ }
1114
+ function fromJson14($model) {
1115
+ const { message, parameterLocation, parameterDescriptor } = $model;
1116
+ return {
1117
+ message,
1118
+ parameterLocation,
1119
+ parameterDescriptor
1120
+ };
1121
+ }
1122
+ function toJson14($model) {
1123
+ const { message, parameterLocation, parameterDescriptor } = $model;
1124
+ return {
1125
+ message,
1126
+ parameterLocation,
1127
+ parameterDescriptor
1128
+ };
1129
+ }
1130
+
1131
+ // packages/client/query/src/lib/models/error-response-details.transformation.ts
1064
1132
  function isErrorResponseDetails(value) {
1065
1133
  if (value === null) {
1066
1134
  return false;
@@ -1080,26 +1148,34 @@ function isErrorResponseDetails(value) {
1080
1148
  "queryString",
1081
1149
  "errorMessageFormatSpecifierTypes",
1082
1150
  "errorMessageFormat",
1083
- "queryId"
1151
+ "queryId",
1152
+ "constraintViolations",
1153
+ "missingScopes",
1154
+ "missingPermissions"
1084
1155
  ]);
1085
1156
  const hasAdditionalProperties = false;
1086
- const requiredKeys = [
1087
- "arguments",
1157
+ const requiredKeys = [];
1158
+ const optionalKeys = [
1159
+ "exceptionType",
1160
+ "syntaxErrorPosition",
1161
+ "errorType",
1088
1162
  "errorMessage",
1089
- "errorMessageFormat",
1163
+ "arguments",
1164
+ "queryString",
1090
1165
  "errorMessageFormatSpecifierTypes",
1091
- "errorType",
1092
- "exceptionType",
1093
- "queryString"
1166
+ "errorMessageFormat",
1167
+ "queryId",
1168
+ "constraintViolations",
1169
+ "missingScopes",
1170
+ "missingPermissions"
1094
1171
  ];
1095
- const optionalKeys = ["syntaxErrorPosition", "queryId"];
1096
1172
  const valKeys = new Set(Object.keys(value));
1097
1173
  const containsRequiredOrOptionalKeys = requiredKeys.length > 0 ? requiredKeys.every((reqKey) => valKeys.has(reqKey)) : optionalKeys.some((key) => valKeys.has(key)) || hasAdditionalProperties;
1098
1174
  const doesNotContainExtraKeys = [...valKeys].every((key) => modelKeys.has(key)) || hasAdditionalProperties;
1099
1175
  const allPropertiesMatchFormat = true;
1100
1176
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
1101
1177
  }
1102
- function isJson14(value) {
1178
+ function isJson15(value) {
1103
1179
  if (value === null) {
1104
1180
  return false;
1105
1181
  }
@@ -1118,26 +1194,34 @@ function isJson14(value) {
1118
1194
  "queryString",
1119
1195
  "errorMessageFormatSpecifierTypes",
1120
1196
  "errorMessageFormat",
1121
- "queryId"
1197
+ "queryId",
1198
+ "constraintViolations",
1199
+ "missingScopes",
1200
+ "missingPermissions"
1122
1201
  ]);
1123
1202
  const hasAdditionalProperties = false;
1124
- const requiredKeys = [
1125
- "arguments",
1203
+ const requiredKeys = [];
1204
+ const optionalKeys = [
1205
+ "exceptionType",
1206
+ "syntaxErrorPosition",
1207
+ "errorType",
1126
1208
  "errorMessage",
1127
- "errorMessageFormat",
1209
+ "arguments",
1210
+ "queryString",
1128
1211
  "errorMessageFormatSpecifierTypes",
1129
- "errorType",
1130
- "exceptionType",
1131
- "queryString"
1212
+ "errorMessageFormat",
1213
+ "queryId",
1214
+ "constraintViolations",
1215
+ "missingScopes",
1216
+ "missingPermissions"
1132
1217
  ];
1133
- const optionalKeys = ["syntaxErrorPosition", "queryId"];
1134
1218
  const valKeys = new Set(Object.keys(value));
1135
1219
  const containsRequiredOrOptionalKeys = requiredKeys.length > 0 ? requiredKeys.every((reqKey) => valKeys.has(reqKey)) : optionalKeys.some((key) => valKeys.has(key)) || hasAdditionalProperties;
1136
1220
  const doesNotContainExtraKeys = [...valKeys].every((key) => modelKeys.has(key)) || hasAdditionalProperties;
1137
1221
  const allPropertiesMatchFormat = true;
1138
1222
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
1139
1223
  }
1140
- function fromJson14($model) {
1224
+ function fromJson15($model) {
1141
1225
  const {
1142
1226
  exceptionType,
1143
1227
  syntaxErrorPosition,
@@ -1147,21 +1231,29 @@ function fromJson14($model) {
1147
1231
  queryString,
1148
1232
  errorMessageFormatSpecifierTypes,
1149
1233
  errorMessageFormat,
1150
- queryId
1234
+ queryId,
1235
+ constraintViolations,
1236
+ missingScopes,
1237
+ missingPermissions
1151
1238
  } = $model;
1152
1239
  return {
1153
1240
  exceptionType,
1154
1241
  syntaxErrorPosition: syntaxErrorPosition !== void 0 && syntaxErrorPosition !== null ? fromJson13(syntaxErrorPosition) : void 0,
1155
1242
  errorType,
1156
1243
  errorMessage,
1157
- arguments: _arguments?.slice(0),
1244
+ arguments: _arguments !== void 0 && _arguments !== null ? _arguments?.slice(0) : void 0,
1158
1245
  queryString,
1159
- errorMessageFormatSpecifierTypes: errorMessageFormatSpecifierTypes?.slice(0),
1246
+ errorMessageFormatSpecifierTypes: errorMessageFormatSpecifierTypes !== void 0 && errorMessageFormatSpecifierTypes !== null ? errorMessageFormatSpecifierTypes?.slice(0) : void 0,
1160
1247
  errorMessageFormat,
1161
- queryId
1248
+ queryId,
1249
+ constraintViolations: constraintViolations !== void 0 && constraintViolations !== null ? constraintViolations?.map(
1250
+ (innerValue) => fromJson14(innerValue)
1251
+ ) : void 0,
1252
+ missingScopes: missingScopes !== void 0 && missingScopes !== null ? missingScopes?.slice(0) : void 0,
1253
+ missingPermissions: missingPermissions !== void 0 && missingPermissions !== null ? missingPermissions?.slice(0) : void 0
1162
1254
  };
1163
1255
  }
1164
- function toJson14($model) {
1256
+ function toJson15($model) {
1165
1257
  const {
1166
1258
  exceptionType,
1167
1259
  syntaxErrorPosition,
@@ -1171,18 +1263,26 @@ function toJson14($model) {
1171
1263
  queryString,
1172
1264
  errorMessageFormatSpecifierTypes,
1173
1265
  errorMessageFormat,
1174
- queryId
1266
+ queryId,
1267
+ constraintViolations,
1268
+ missingScopes,
1269
+ missingPermissions
1175
1270
  } = $model;
1176
1271
  return {
1177
1272
  exceptionType,
1178
1273
  syntaxErrorPosition: syntaxErrorPosition !== void 0 && syntaxErrorPosition !== null ? toJson13(syntaxErrorPosition) : void 0,
1179
1274
  errorType,
1180
1275
  errorMessage,
1181
- arguments: _arguments?.slice(0),
1276
+ arguments: _arguments !== void 0 && _arguments !== null ? _arguments?.slice(0) : void 0,
1182
1277
  queryString,
1183
- errorMessageFormatSpecifierTypes: errorMessageFormatSpecifierTypes?.slice(0),
1278
+ errorMessageFormatSpecifierTypes: errorMessageFormatSpecifierTypes !== void 0 && errorMessageFormatSpecifierTypes !== null ? errorMessageFormatSpecifierTypes?.slice(0) : void 0,
1184
1279
  errorMessageFormat,
1185
- queryId
1280
+ queryId,
1281
+ constraintViolations: constraintViolations !== void 0 && constraintViolations !== null ? constraintViolations?.map(
1282
+ (innerValue) => toJson14(innerValue)
1283
+ ) : void 0,
1284
+ missingScopes: missingScopes !== void 0 && missingScopes !== null ? missingScopes?.slice(0) : void 0,
1285
+ missingPermissions: missingPermissions !== void 0 && missingPermissions !== null ? missingPermissions?.slice(0) : void 0
1186
1286
  };
1187
1287
  }
1188
1288
 
@@ -1199,15 +1299,15 @@ function isErrorResponse(value) {
1199
1299
  }
1200
1300
  const modelKeys = /* @__PURE__ */ new Set(["message", "details", "code"]);
1201
1301
  const hasAdditionalProperties = false;
1202
- const requiredKeys = ["code", "details", "message"];
1203
- const optionalKeys = [];
1302
+ const requiredKeys = ["code", "message"];
1303
+ const optionalKeys = ["details"];
1204
1304
  const valKeys = new Set(Object.keys(value));
1205
1305
  const containsRequiredOrOptionalKeys = requiredKeys.length > 0 ? requiredKeys.every((reqKey) => valKeys.has(reqKey)) : optionalKeys.some((key) => valKeys.has(key)) || hasAdditionalProperties;
1206
1306
  const doesNotContainExtraKeys = [...valKeys].every((key) => modelKeys.has(key)) || hasAdditionalProperties;
1207
1307
  const allPropertiesMatchFormat = true;
1208
1308
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
1209
1309
  }
1210
- function isJson15(value) {
1310
+ function isJson16(value) {
1211
1311
  if (value === null) {
1212
1312
  return false;
1213
1313
  }
@@ -1219,27 +1319,27 @@ function isJson15(value) {
1219
1319
  }
1220
1320
  const modelKeys = /* @__PURE__ */ new Set(["message", "details", "code"]);
1221
1321
  const hasAdditionalProperties = false;
1222
- const requiredKeys = ["code", "details", "message"];
1223
- const optionalKeys = [];
1322
+ const requiredKeys = ["code", "message"];
1323
+ const optionalKeys = ["details"];
1224
1324
  const valKeys = new Set(Object.keys(value));
1225
1325
  const containsRequiredOrOptionalKeys = requiredKeys.length > 0 ? requiredKeys.every((reqKey) => valKeys.has(reqKey)) : optionalKeys.some((key) => valKeys.has(key)) || hasAdditionalProperties;
1226
1326
  const doesNotContainExtraKeys = [...valKeys].every((key) => modelKeys.has(key)) || hasAdditionalProperties;
1227
1327
  const allPropertiesMatchFormat = true;
1228
1328
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
1229
1329
  }
1230
- function fromJson15($model) {
1330
+ function fromJson16($model) {
1231
1331
  const { message, details, code } = $model;
1232
1332
  return {
1233
1333
  message,
1234
- details: fromJson14(details),
1334
+ details: details !== void 0 && details !== null ? fromJson15(details) : void 0,
1235
1335
  code
1236
1336
  };
1237
1337
  }
1238
- function toJson15($model) {
1338
+ function toJson16($model) {
1239
1339
  const { message, details, code } = $model;
1240
1340
  return {
1241
1341
  message,
1242
- details: toJson14(details),
1342
+ details: details !== void 0 && details !== null ? toJson15(details) : void 0,
1243
1343
  code
1244
1344
  };
1245
1345
  }
@@ -1265,7 +1365,7 @@ function isErrorEnvelope(value) {
1265
1365
  const allPropertiesMatchFormat = true;
1266
1366
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
1267
1367
  }
1268
- function isJson16(value) {
1368
+ function isJson17(value) {
1269
1369
  if (value === null) {
1270
1370
  return false;
1271
1371
  }
@@ -1285,26 +1385,26 @@ function isJson16(value) {
1285
1385
  const allPropertiesMatchFormat = true;
1286
1386
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
1287
1387
  }
1288
- function fromJson16($model) {
1388
+ function fromJson17($model) {
1289
1389
  const { error } = $model;
1290
1390
  return {
1291
- error: fromJson15(error)
1391
+ error: fromJson16(error)
1292
1392
  };
1293
1393
  }
1294
- function toJson16($model) {
1394
+ function toJson17($model) {
1295
1395
  const { error } = $model;
1296
1396
  return {
1297
- error: toJson15(error)
1397
+ error: toJson16(error)
1298
1398
  };
1299
1399
  }
1300
1400
  function fromFormData2(formData) {
1301
1401
  const formDataEntries = Object.fromEntries(formData.map((data) => [data.name, data.value]));
1302
1402
  return {
1303
- error: fromJson15(JSON.parse(formDataEntries["error"]))
1403
+ error: fromJson16(JSON.parse(formDataEntries["error"]))
1304
1404
  };
1305
1405
  }
1306
1406
  function toFormData2($model) {
1307
- const json = toJson16($model);
1407
+ const json = toJson17($model);
1308
1408
  const body = [{ name: "error", type: "json", value: json["error"] }];
1309
1409
  return body;
1310
1410
  }
@@ -1312,10 +1412,10 @@ function toFormData2($model) {
1312
1412
  // packages/client/query/src/lib/models/parse-request.transformation.ts
1313
1413
  var parse_request_transformation_exports = {};
1314
1414
  __export(parse_request_transformation_exports, {
1315
- fromJson: () => fromJson17,
1316
- isJson: () => isJson17,
1415
+ fromJson: () => fromJson18,
1416
+ isJson: () => isJson18,
1317
1417
  isParseRequest: () => isParseRequest,
1318
- toJson: () => toJson17
1418
+ toJson: () => toJson18
1319
1419
  });
1320
1420
  function isParseRequest(value) {
1321
1421
  if (value === null) {
@@ -1337,7 +1437,7 @@ function isParseRequest(value) {
1337
1437
  const allPropertiesMatchFormat = true;
1338
1438
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
1339
1439
  }
1340
- function isJson17(value) {
1440
+ function isJson18(value) {
1341
1441
  if (value === null) {
1342
1442
  return false;
1343
1443
  }
@@ -1357,7 +1457,7 @@ function isJson17(value) {
1357
1457
  const allPropertiesMatchFormat = true;
1358
1458
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
1359
1459
  }
1360
- function fromJson17($model) {
1460
+ function fromJson18($model) {
1361
1461
  const { query, timezone, locale, queryOptions } = $model;
1362
1462
  return {
1363
1463
  query,
@@ -1366,7 +1466,7 @@ function fromJson17($model) {
1366
1466
  queryOptions: queryOptions !== void 0 && queryOptions !== null ? fromJson(queryOptions) : void 0
1367
1467
  };
1368
1468
  }
1369
- function toJson17($model) {
1469
+ function toJson18($model) {
1370
1470
  const { query, timezone, locale, queryOptions } = $model;
1371
1471
  return {
1372
1472
  query,
@@ -1379,10 +1479,10 @@ function toJson17($model) {
1379
1479
  // packages/client/query/src/lib/models/verify-request.transformation.ts
1380
1480
  var verify_request_transformation_exports = {};
1381
1481
  __export(verify_request_transformation_exports, {
1382
- fromJson: () => fromJson18,
1383
- isJson: () => isJson18,
1482
+ fromJson: () => fromJson19,
1483
+ isJson: () => isJson19,
1384
1484
  isVerifyRequest: () => isVerifyRequest,
1385
- toJson: () => toJson18
1485
+ toJson: () => toJson19
1386
1486
  });
1387
1487
  function isVerifyRequest(value) {
1388
1488
  if (value === null) {
@@ -1404,7 +1504,7 @@ function isVerifyRequest(value) {
1404
1504
  const allPropertiesMatchFormat = true;
1405
1505
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
1406
1506
  }
1407
- function isJson18(value) {
1507
+ function isJson19(value) {
1408
1508
  if (value === null) {
1409
1509
  return false;
1410
1510
  }
@@ -1424,7 +1524,7 @@ function isJson18(value) {
1424
1524
  const allPropertiesMatchFormat = true;
1425
1525
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
1426
1526
  }
1427
- function fromJson18($model) {
1527
+ function fromJson19($model) {
1428
1528
  const { query, timezone, locale, queryOptions, generateCanonicalQuery } = $model;
1429
1529
  return {
1430
1530
  query,
@@ -1434,7 +1534,7 @@ function fromJson18($model) {
1434
1534
  generateCanonicalQuery
1435
1535
  };
1436
1536
  }
1437
- function toJson18($model) {
1537
+ function toJson19($model) {
1438
1538
  const { query, timezone, locale, queryOptions, generateCanonicalQuery } = $model;
1439
1539
  return {
1440
1540
  query,
@@ -1448,19 +1548,19 @@ function toJson18($model) {
1448
1548
  // packages/client/query/src/lib/models/verify-response.transformation.ts
1449
1549
  var verify_response_transformation_exports = {};
1450
1550
  __export(verify_response_transformation_exports, {
1451
- fromJson: () => fromJson20,
1452
- isJson: () => isJson20,
1551
+ fromJson: () => fromJson21,
1552
+ isJson: () => isJson21,
1453
1553
  isVerifyResponse: () => isVerifyResponse,
1454
- toJson: () => toJson20
1554
+ toJson: () => toJson21
1455
1555
  });
1456
1556
 
1457
1557
  // packages/client/query/src/lib/models/metadata-notification.transformation.ts
1458
1558
  var metadata_notification_transformation_exports = {};
1459
1559
  __export(metadata_notification_transformation_exports, {
1460
- fromJson: () => fromJson19,
1461
- isJson: () => isJson19,
1560
+ fromJson: () => fromJson20,
1561
+ isJson: () => isJson20,
1462
1562
  isMetadataNotification: () => isMetadataNotification,
1463
- toJson: () => toJson19
1563
+ toJson: () => toJson20
1464
1564
  });
1465
1565
  function isMetadataNotification(value) {
1466
1566
  if (value === null) {
@@ -1498,7 +1598,7 @@ function isMetadataNotification(value) {
1498
1598
  const allPropertiesMatchFormat = true;
1499
1599
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
1500
1600
  }
1501
- function isJson19(value) {
1601
+ function isJson20(value) {
1502
1602
  if (value === null) {
1503
1603
  return false;
1504
1604
  }
@@ -1534,7 +1634,7 @@ function isJson19(value) {
1534
1634
  const allPropertiesMatchFormat = true;
1535
1635
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
1536
1636
  }
1537
- function fromJson19($model) {
1637
+ function fromJson20($model) {
1538
1638
  const {
1539
1639
  severity,
1540
1640
  messageFormat,
@@ -1554,7 +1654,7 @@ function fromJson19($model) {
1554
1654
  message
1555
1655
  };
1556
1656
  }
1557
- function toJson19($model) {
1657
+ function toJson20($model) {
1558
1658
  const {
1559
1659
  severity,
1560
1660
  messageFormat,
@@ -1596,7 +1696,7 @@ function isVerifyResponse(value) {
1596
1696
  const allPropertiesMatchFormat = true;
1597
1697
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
1598
1698
  }
1599
- function isJson20(value) {
1699
+ function isJson21(value) {
1600
1700
  if (value === null) {
1601
1701
  return false;
1602
1702
  }
@@ -1616,20 +1716,20 @@ function isJson20(value) {
1616
1716
  const allPropertiesMatchFormat = true;
1617
1717
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
1618
1718
  }
1619
- function fromJson20($model) {
1719
+ function fromJson21($model) {
1620
1720
  const { valid, canonicalQuery, notifications } = $model;
1621
1721
  return {
1622
1722
  valid,
1623
1723
  canonicalQuery,
1624
- notifications: notifications !== void 0 && notifications !== null ? notifications?.map((innerValue) => fromJson19(innerValue)) : void 0
1724
+ notifications: notifications !== void 0 && notifications !== null ? notifications?.map((innerValue) => fromJson20(innerValue)) : void 0
1625
1725
  };
1626
1726
  }
1627
- function toJson20($model) {
1727
+ function toJson21($model) {
1628
1728
  const { valid, canonicalQuery, notifications } = $model;
1629
1729
  return {
1630
1730
  valid,
1631
1731
  canonicalQuery,
1632
- notifications: notifications !== void 0 && notifications !== null ? notifications?.map((innerValue) => toJson19(innerValue)) : void 0
1732
+ notifications: notifications !== void 0 && notifications !== null ? notifications?.map((innerValue) => toJson20(innerValue)) : void 0
1633
1733
  };
1634
1734
  }
1635
1735
 
@@ -1671,7 +1771,7 @@ var QueryAssistanceClient = class {
1671
1771
  if (!config) {
1672
1772
  throw new ApiClientError("API client error", "API client call is missing mandatory config parameter");
1673
1773
  }
1674
- const encodedBody = toJson18(config.body);
1774
+ const encodedBody = toJson19(config.body);
1675
1775
  try {
1676
1776
  const response = await this.httpClient.send({
1677
1777
  url: `/platform/storage/query/v1/query:verify`,
@@ -1689,7 +1789,7 @@ var QueryAssistanceClient = class {
1689
1789
  });
1690
1790
  const responseValue = await response.body("json");
1691
1791
  try {
1692
- return fromJson20(responseValue);
1792
+ return fromJson21(responseValue);
1693
1793
  } catch (err) {
1694
1794
  throw new InvalidResponseError(
1695
1795
  `QueryAssistanceClient.query:verify:200`,
@@ -1711,7 +1811,7 @@ var QueryAssistanceClient = class {
1711
1811
  case 400: {
1712
1812
  const responseValue = await response.body("json");
1713
1813
  try {
1714
- const errorBody = fromJson16(responseValue);
1814
+ const errorBody = fromJson17(responseValue);
1715
1815
  throw new ErrorEnvelopeError(
1716
1816
  `400`,
1717
1817
  response,
@@ -1735,7 +1835,7 @@ var QueryAssistanceClient = class {
1735
1835
  case 500: {
1736
1836
  const responseValue = await response.body("json");
1737
1837
  try {
1738
- const errorBody = fromJson16(responseValue);
1838
+ const errorBody = fromJson17(responseValue);
1739
1839
  throw new ErrorEnvelopeError(
1740
1840
  `500`,
1741
1841
  response,
@@ -1980,7 +2080,7 @@ var QueryAssistanceClient = class {
1980
2080
  if (!config) {
1981
2081
  throw new ApiClientError("API client error", "API client call is missing mandatory config parameter");
1982
2082
  }
1983
- const encodedBody = toJson17(config.body);
2083
+ const encodedBody = toJson18(config.body);
1984
2084
  try {
1985
2085
  const response = await this.httpClient.send({
1986
2086
  url: `/platform/storage/query/v1/query:parse`,
@@ -2020,7 +2120,7 @@ var QueryAssistanceClient = class {
2020
2120
  case 400: {
2021
2121
  const responseValue = await response.body("json");
2022
2122
  try {
2023
- const errorBody = fromJson16(responseValue);
2123
+ const errorBody = fromJson17(responseValue);
2024
2124
  throw new ErrorEnvelopeError(
2025
2125
  `400`,
2026
2126
  response,
@@ -2047,7 +2147,7 @@ var QueryAssistanceClient = class {
2047
2147
  case 500: {
2048
2148
  const responseValue = await response.body("json");
2049
2149
  try {
2050
- const errorBody = fromJson16(responseValue);
2150
+ const errorBody = fromJson17(responseValue);
2051
2151
  throw new ErrorEnvelopeError(
2052
2152
  `500`,
2053
2153
  response,
@@ -2176,7 +2276,7 @@ var QueryAssistanceClient = class {
2176
2276
  case 400: {
2177
2277
  const responseValue = await response.body("json");
2178
2278
  try {
2179
- const errorBody = fromJson16(responseValue);
2279
+ const errorBody = fromJson17(responseValue);
2180
2280
  throw new ErrorEnvelopeError(
2181
2281
  `400`,
2182
2282
  response,
@@ -2203,7 +2303,7 @@ var QueryAssistanceClient = class {
2203
2303
  case 500: {
2204
2304
  const responseValue = await response.body("json");
2205
2305
  try {
2206
- const errorBody = fromJson16(responseValue);
2306
+ const errorBody = fromJson17(responseValue);
2207
2307
  throw new ErrorEnvelopeError(
2208
2308
  `500`,
2209
2309
  response,
@@ -2246,10 +2346,10 @@ var import_http_client2 = require("@dynatrace-sdk/http-client");
2246
2346
  // packages/client/query/src/lib/models/execute-request.transformation.ts
2247
2347
  var execute_request_transformation_exports = {};
2248
2348
  __export(execute_request_transformation_exports, {
2249
- fromJson: () => fromJson21,
2349
+ fromJson: () => fromJson22,
2250
2350
  isExecuteRequest: () => isExecuteRequest,
2251
- isJson: () => isJson21,
2252
- toJson: () => toJson21
2351
+ isJson: () => isJson22,
2352
+ toJson: () => toJson22
2253
2353
  });
2254
2354
  function isExecuteRequest(value) {
2255
2355
  if (value === null) {
@@ -2298,7 +2398,7 @@ function isExecuteRequest(value) {
2298
2398
  const allPropertiesMatchFormat = true;
2299
2399
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2300
2400
  }
2301
- function isJson21(value) {
2401
+ function isJson22(value) {
2302
2402
  if (value === null) {
2303
2403
  return false;
2304
2404
  }
@@ -2345,7 +2445,7 @@ function isJson21(value) {
2345
2445
  const allPropertiesMatchFormat = true;
2346
2446
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2347
2447
  }
2348
- function fromJson21($model) {
2448
+ function fromJson22($model) {
2349
2449
  const {
2350
2450
  query,
2351
2451
  defaultTimeframeStart,
@@ -2377,7 +2477,7 @@ function fromJson21($model) {
2377
2477
  queryOptions: queryOptions !== void 0 && queryOptions !== null ? fromJson(queryOptions) : void 0
2378
2478
  };
2379
2479
  }
2380
- function toJson21($model) {
2480
+ function toJson22($model) {
2381
2481
  const {
2382
2482
  query,
2383
2483
  defaultTimeframeStart,
@@ -2413,46 +2513,46 @@ function toJson21($model) {
2413
2513
  // packages/client/query/src/lib/models/query-poll-response.transformation.ts
2414
2514
  var query_poll_response_transformation_exports = {};
2415
2515
  __export(query_poll_response_transformation_exports, {
2416
- fromJson: () => fromJson35,
2417
- isJson: () => isJson35,
2516
+ fromJson: () => fromJson36,
2517
+ isJson: () => isJson36,
2418
2518
  isQueryPollResponse: () => isQueryPollResponse,
2419
- toJson: () => toJson35
2519
+ toJson: () => toJson36
2420
2520
  });
2421
2521
 
2422
2522
  // packages/client/query/src/lib/models/query-result.transformation.ts
2423
2523
  var query_result_transformation_exports = {};
2424
2524
  __export(query_result_transformation_exports, {
2425
- fromJson: () => fromJson33,
2426
- isJson: () => isJson33,
2525
+ fromJson: () => fromJson34,
2526
+ isJson: () => isJson34,
2427
2527
  isQueryResult: () => isQueryResult,
2428
- toJson: () => toJson33
2528
+ toJson: () => toJson34
2429
2529
  });
2430
2530
 
2431
2531
  // packages/client/query/src/lib/models/metadata.transformation.ts
2432
2532
  var metadata_transformation_exports = {};
2433
2533
  __export(metadata_transformation_exports, {
2434
- fromJson: () => fromJson25,
2435
- isJson: () => isJson25,
2534
+ fromJson: () => fromJson26,
2535
+ isJson: () => isJson26,
2436
2536
  isMetadata: () => isMetadata,
2437
- toJson: () => toJson25
2537
+ toJson: () => toJson26
2438
2538
  });
2439
2539
 
2440
2540
  // packages/client/query/src/lib/models/grail-metadata.transformation.ts
2441
2541
  var grail_metadata_transformation_exports = {};
2442
2542
  __export(grail_metadata_transformation_exports, {
2443
- fromJson: () => fromJson23,
2543
+ fromJson: () => fromJson24,
2444
2544
  isGrailMetadata: () => isGrailMetadata,
2445
- isJson: () => isJson23,
2446
- toJson: () => toJson23
2545
+ isJson: () => isJson24,
2546
+ toJson: () => toJson24
2447
2547
  });
2448
2548
 
2449
2549
  // packages/client/query/src/lib/models/timeframe.transformation.ts
2450
2550
  var timeframe_transformation_exports = {};
2451
2551
  __export(timeframe_transformation_exports, {
2452
- fromJson: () => fromJson22,
2453
- isJson: () => isJson22,
2552
+ fromJson: () => fromJson23,
2553
+ isJson: () => isJson23,
2454
2554
  isTimeframe: () => isTimeframe,
2455
- toJson: () => toJson22
2555
+ toJson: () => toJson23
2456
2556
  });
2457
2557
  function isTimeframe(value) {
2458
2558
  if (value === null) {
@@ -2474,7 +2574,7 @@ function isTimeframe(value) {
2474
2574
  const allPropertiesMatchFormat = value.start instanceof Date && value.end instanceof Date;
2475
2575
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2476
2576
  }
2477
- function isJson22(value) {
2577
+ function isJson23(value) {
2478
2578
  if (value === null) {
2479
2579
  return false;
2480
2580
  }
@@ -2494,14 +2594,14 @@ function isJson22(value) {
2494
2594
  const allPropertiesMatchFormat = /^((?:(\d{4}-\d{2}-\d{2})T(\d{2}:\d{2}:\d{2}(?:\.\d+)?))(Z|[+-]\d{2}:\d{2})?)$/i.test(value.start) && /^((?:(\d{4}-\d{2}-\d{2})T(\d{2}:\d{2}:\d{2}(?:\.\d+)?))(Z|[+-]\d{2}:\d{2})?)$/i.test(value.end);
2495
2595
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2496
2596
  }
2497
- function fromJson22($model) {
2597
+ function fromJson23($model) {
2498
2598
  const { start, end } = $model;
2499
2599
  return {
2500
2600
  start: start !== void 0 && start !== null ? new Date(start) : void 0,
2501
2601
  end: end !== void 0 && end !== null ? new Date(end) : void 0
2502
2602
  };
2503
2603
  }
2504
- function toJson22($model) {
2604
+ function toJson23($model) {
2505
2605
  const { start, end } = $model;
2506
2606
  return {
2507
2607
  start: start !== void 0 && start !== null ? start.toISOString() : void 0,
@@ -2558,7 +2658,7 @@ function isGrailMetadata(value) {
2558
2658
  const allPropertiesMatchFormat = true;
2559
2659
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2560
2660
  }
2561
- function isJson23(value) {
2661
+ function isJson24(value) {
2562
2662
  if (value === null) {
2563
2663
  return false;
2564
2664
  }
@@ -2606,7 +2706,7 @@ function isJson23(value) {
2606
2706
  const allPropertiesMatchFormat = true;
2607
2707
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2608
2708
  }
2609
- function fromJson23($model) {
2709
+ function fromJson24($model) {
2610
2710
  const {
2611
2711
  canonicalQuery,
2612
2712
  timezone,
@@ -2630,15 +2730,15 @@ function fromJson23($model) {
2630
2730
  dqlVersion,
2631
2731
  scannedBytes,
2632
2732
  scannedDataPoints,
2633
- analysisTimeframe: analysisTimeframe !== void 0 && analysisTimeframe !== null ? fromJson22(analysisTimeframe) : void 0,
2733
+ analysisTimeframe: analysisTimeframe !== void 0 && analysisTimeframe !== null ? fromJson23(analysisTimeframe) : void 0,
2634
2734
  locale,
2635
2735
  executionTimeMilliseconds,
2636
- notifications: notifications !== void 0 && notifications !== null ? notifications?.map((innerValue) => fromJson19(innerValue)) : void 0,
2736
+ notifications: notifications !== void 0 && notifications !== null ? notifications?.map((innerValue) => fromJson20(innerValue)) : void 0,
2637
2737
  queryId,
2638
2738
  sampled
2639
2739
  };
2640
2740
  }
2641
- function toJson23($model) {
2741
+ function toJson24($model) {
2642
2742
  const {
2643
2743
  canonicalQuery,
2644
2744
  timezone,
@@ -2662,10 +2762,10 @@ function toJson23($model) {
2662
2762
  dqlVersion,
2663
2763
  scannedBytes,
2664
2764
  scannedDataPoints,
2665
- analysisTimeframe: analysisTimeframe !== void 0 && analysisTimeframe !== null ? toJson22(analysisTimeframe) : void 0,
2765
+ analysisTimeframe: analysisTimeframe !== void 0 && analysisTimeframe !== null ? toJson23(analysisTimeframe) : void 0,
2666
2766
  locale,
2667
2767
  executionTimeMilliseconds,
2668
- notifications: notifications !== void 0 && notifications !== null ? notifications?.map((innerValue) => toJson19(innerValue)) : void 0,
2768
+ notifications: notifications !== void 0 && notifications !== null ? notifications?.map((innerValue) => toJson20(innerValue)) : void 0,
2669
2769
  queryId,
2670
2770
  sampled
2671
2771
  };
@@ -2674,10 +2774,10 @@ function toJson23($model) {
2674
2774
  // packages/client/query/src/lib/models/metric-metadata.transformation.ts
2675
2775
  var metric_metadata_transformation_exports = {};
2676
2776
  __export(metric_metadata_transformation_exports, {
2677
- fromJson: () => fromJson24,
2678
- isJson: () => isJson24,
2777
+ fromJson: () => fromJson25,
2778
+ isJson: () => isJson25,
2679
2779
  isMetricMetadata: () => isMetricMetadata,
2680
- toJson: () => toJson24
2780
+ toJson: () => toJson25
2681
2781
  });
2682
2782
  function isMetricMetadata(value) {
2683
2783
  if (value === null) {
@@ -2717,7 +2817,7 @@ function isMetricMetadata(value) {
2717
2817
  const allPropertiesMatchFormat = true;
2718
2818
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2719
2819
  }
2720
- function isJson24(value) {
2820
+ function isJson25(value) {
2721
2821
  if (value === null) {
2722
2822
  return false;
2723
2823
  }
@@ -2755,7 +2855,7 @@ function isJson24(value) {
2755
2855
  const allPropertiesMatchFormat = true;
2756
2856
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2757
2857
  }
2758
- function fromJson24($model) {
2858
+ function fromJson25($model) {
2759
2859
  const { "metric.key": metricKey, displayName, description, unit, fieldName, rollup, rate, shifted } = $model;
2760
2860
  return {
2761
2861
  "metric.key": metricKey,
@@ -2768,7 +2868,7 @@ function fromJson24($model) {
2768
2868
  shifted
2769
2869
  };
2770
2870
  }
2771
- function toJson24($model) {
2871
+ function toJson25($model) {
2772
2872
  const { "metric.key": metricKey, displayName, description, unit, fieldName, rollup, rate, shifted } = $model;
2773
2873
  return {
2774
2874
  "metric.key": metricKey,
@@ -2803,7 +2903,7 @@ function isMetadata(value) {
2803
2903
  const allPropertiesMatchFormat = true;
2804
2904
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2805
2905
  }
2806
- function isJson25(value) {
2906
+ function isJson26(value) {
2807
2907
  if (value === null) {
2808
2908
  return false;
2809
2909
  }
@@ -2823,66 +2923,66 @@ function isJson25(value) {
2823
2923
  const allPropertiesMatchFormat = true;
2824
2924
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2825
2925
  }
2826
- function fromJson25($model) {
2926
+ function fromJson26($model) {
2827
2927
  const { grail, metrics } = $model;
2828
2928
  return {
2829
- grail: grail !== void 0 && grail !== null ? fromJson23(grail) : void 0,
2830
- metrics: metrics !== void 0 && metrics !== null ? metrics?.map((innerValue) => fromJson24(innerValue)) : void 0
2929
+ grail: grail !== void 0 && grail !== null ? fromJson24(grail) : void 0,
2930
+ metrics: metrics !== void 0 && metrics !== null ? metrics?.map((innerValue) => fromJson25(innerValue)) : void 0
2831
2931
  };
2832
2932
  }
2833
- function toJson25($model) {
2933
+ function toJson26($model) {
2834
2934
  const { grail, metrics } = $model;
2835
2935
  return {
2836
- grail: grail !== void 0 && grail !== null ? toJson23(grail) : void 0,
2837
- metrics: metrics !== void 0 && metrics !== null ? metrics?.map((innerValue) => toJson24(innerValue)) : void 0
2936
+ grail: grail !== void 0 && grail !== null ? toJson24(grail) : void 0,
2937
+ metrics: metrics !== void 0 && metrics !== null ? metrics?.map((innerValue) => toJson25(innerValue)) : void 0
2838
2938
  };
2839
2939
  }
2840
2940
 
2841
2941
  // packages/client/query/src/lib/models/ranged-field-types.transformation.ts
2842
2942
  var ranged_field_types_transformation_exports = {};
2843
2943
  __export(ranged_field_types_transformation_exports, {
2844
- fromJson: () => fromJson27,
2845
- isJson: () => isJson29,
2944
+ fromJson: () => fromJson28,
2945
+ isJson: () => isJson30,
2846
2946
  isRangedFieldTypes: () => isRangedFieldTypes,
2847
- toJson: () => toJson27
2947
+ toJson: () => toJson28
2848
2948
  });
2849
2949
 
2850
2950
  // packages/client/query/src/lib/models/ranged-field-types-mappings.transformation.ts
2851
2951
  var ranged_field_types_mappings_transformation_exports = {};
2852
2952
  __export(ranged_field_types_mappings_transformation_exports, {
2853
- fromJson: () => fromJson29,
2854
- isJson: () => isJson28,
2953
+ fromJson: () => fromJson30,
2954
+ isJson: () => isJson29,
2855
2955
  isRangedFieldTypesMappings: () => isRangedFieldTypesMappings,
2856
- toJson: () => toJson29
2956
+ toJson: () => toJson30
2857
2957
  });
2858
2958
 
2859
2959
  // packages/client/query/src/lib/models/field-type.transformation.ts
2860
2960
  var field_type_transformation_exports = {};
2861
2961
  __export(field_type_transformation_exports, {
2862
- fromJson: () => fromJson28,
2962
+ fromJson: () => fromJson29,
2863
2963
  isFieldType: () => isFieldType,
2864
- isJson: () => isJson27,
2865
- toJson: () => toJson28
2964
+ isJson: () => isJson28,
2965
+ toJson: () => toJson29
2866
2966
  });
2867
2967
 
2868
2968
  // packages/client/query/src/lib/models/field-type-type.transformation.ts
2869
2969
  var field_type_type_transformation_exports = {};
2870
2970
  __export(field_type_type_transformation_exports, {
2871
- fromJson: () => fromJson26,
2971
+ fromJson: () => fromJson27,
2872
2972
  isFieldTypeType: () => isFieldTypeType,
2873
- isJson: () => isJson26,
2874
- toJson: () => toJson26
2973
+ isJson: () => isJson27,
2974
+ toJson: () => toJson27
2875
2975
  });
2876
2976
  function isFieldTypeType(value) {
2877
2977
  return typeof value === "string";
2878
2978
  }
2879
- function isJson26(value) {
2979
+ function isJson27(value) {
2880
2980
  return typeof value === "string";
2881
2981
  }
2882
- function fromJson26($model) {
2982
+ function fromJson27($model) {
2883
2983
  return String($model);
2884
2984
  }
2885
- function toJson26($model) {
2985
+ function toJson27($model) {
2886
2986
  return String($model);
2887
2987
  }
2888
2988
 
@@ -2907,7 +3007,7 @@ function isFieldType(value) {
2907
3007
  const allPropertiesMatchFormat = true;
2908
3008
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2909
3009
  }
2910
- function isJson27(value) {
3010
+ function isJson28(value) {
2911
3011
  if (value === null) {
2912
3012
  return false;
2913
3013
  }
@@ -2927,18 +3027,18 @@ function isJson27(value) {
2927
3027
  const allPropertiesMatchFormat = true;
2928
3028
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2929
3029
  }
2930
- function fromJson28($model) {
3030
+ function fromJson29($model) {
2931
3031
  const { type, types } = $model;
2932
3032
  return {
2933
- type: fromJson26(type),
2934
- types: types !== void 0 && types !== null ? types?.map((innerValue) => fromJson27(innerValue)) : void 0
3033
+ type: fromJson27(type),
3034
+ types: types !== void 0 && types !== null ? types?.map((innerValue) => fromJson28(innerValue)) : void 0
2935
3035
  };
2936
3036
  }
2937
- function toJson28($model) {
3037
+ function toJson29($model) {
2938
3038
  const { type, types } = $model;
2939
3039
  return {
2940
- type: toJson26(type),
2941
- types: types !== void 0 && types !== null ? types?.map((innerValue) => toJson27(innerValue)) : void 0
3040
+ type: toJson27(type),
3041
+ types: types !== void 0 && types !== null ? types?.map((innerValue) => toJson28(innerValue)) : void 0
2942
3042
  };
2943
3043
  }
2944
3044
 
@@ -2963,7 +3063,7 @@ function isRangedFieldTypesMappings(value) {
2963
3063
  const allPropertiesMatchFormat = true;
2964
3064
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2965
3065
  }
2966
- function isJson28(value) {
3066
+ function isJson29(value) {
2967
3067
  if (value === null) {
2968
3068
  return false;
2969
3069
  }
@@ -2983,24 +3083,24 @@ function isJson28(value) {
2983
3083
  const allPropertiesMatchFormat = true;
2984
3084
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2985
3085
  }
2986
- function fromJson29($model) {
3086
+ function fromJson30($model) {
2987
3087
  const additionalProps = $model;
2988
3088
  return {
2989
3089
  ...Object.fromEntries(
2990
3090
  Object.entries(additionalProps).map(([propName, value]) => [
2991
3091
  propName,
2992
- value !== void 0 && value !== null ? fromJson28(value) : void 0
3092
+ value !== void 0 && value !== null ? fromJson29(value) : void 0
2993
3093
  ])
2994
3094
  )
2995
3095
  };
2996
3096
  }
2997
- function toJson29($model) {
3097
+ function toJson30($model) {
2998
3098
  const additionalProps = $model;
2999
3099
  return {
3000
3100
  ...Object.fromEntries(
3001
3101
  Object.entries(additionalProps).map(([propName, value]) => [
3002
3102
  propName,
3003
- value !== void 0 && value !== null ? toJson28(value) : void 0
3103
+ value !== void 0 && value !== null ? toJson29(value) : void 0
3004
3104
  ])
3005
3105
  )
3006
3106
  };
@@ -3027,7 +3127,7 @@ function isRangedFieldTypes(value) {
3027
3127
  const allPropertiesMatchFormat = true;
3028
3128
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
3029
3129
  }
3030
- function isJson29(value) {
3130
+ function isJson30(value) {
3031
3131
  if (value === null) {
3032
3132
  return false;
3033
3133
  }
@@ -3047,17 +3147,17 @@ function isJson29(value) {
3047
3147
  const allPropertiesMatchFormat = true;
3048
3148
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
3049
3149
  }
3050
- function fromJson27($model) {
3150
+ function fromJson28($model) {
3051
3151
  const { mappings, indexRange } = $model;
3052
3152
  return {
3053
- mappings: fromJson29(mappings),
3153
+ mappings: fromJson30(mappings),
3054
3154
  indexRange: indexRange !== void 0 && indexRange !== null ? indexRange?.slice(0) : void 0
3055
3155
  };
3056
3156
  }
3057
- function toJson27($model) {
3157
+ function toJson28($model) {
3058
3158
  const { mappings, indexRange } = $model;
3059
3159
  return {
3060
- mappings: toJson29(mappings),
3160
+ mappings: toJson30(mappings),
3061
3161
  indexRange: indexRange !== void 0 && indexRange !== null ? indexRange?.slice(0) : void 0
3062
3162
  };
3063
3163
  }
@@ -3065,10 +3165,10 @@ function toJson27($model) {
3065
3165
  // packages/client/query/src/lib/models/result-record.transformation.ts
3066
3166
  var result_record_transformation_exports = {};
3067
3167
  __export(result_record_transformation_exports, {
3068
- fromJson: () => fromJson31,
3069
- isJson: () => isJson31,
3168
+ fromJson: () => fromJson32,
3169
+ isJson: () => isJson32,
3070
3170
  isResultRecord: () => isResultRecord,
3071
- toJson: () => toJson31
3171
+ toJson: () => toJson32
3072
3172
  });
3073
3173
 
3074
3174
  // packages/client/query/src/lib/models/result-record-value.transformation.ts
@@ -3087,19 +3187,19 @@ __export(result_record_value_transformation_exports, {
3087
3187
  checkString: () => checkString,
3088
3188
  checkTimeframe: () => checkTimeframe,
3089
3189
  checkTimeframeAsJson: () => checkTimeframeAsJson,
3090
- fromJson: () => fromJson32,
3091
- isJson: () => isJson32,
3190
+ fromJson: () => fromJson33,
3191
+ isJson: () => isJson33,
3092
3192
  isResultRecordValue: () => isResultRecordValue,
3093
- toJson: () => toJson32
3193
+ toJson: () => toJson33
3094
3194
  });
3095
3195
 
3096
3196
  // packages/client/query/src/lib/models/geo-point.transformation.ts
3097
3197
  var geo_point_transformation_exports = {};
3098
3198
  __export(geo_point_transformation_exports, {
3099
- fromJson: () => fromJson30,
3199
+ fromJson: () => fromJson31,
3100
3200
  isGeoPoint: () => isGeoPoint,
3101
- isJson: () => isJson30,
3102
- toJson: () => toJson30
3201
+ isJson: () => isJson31,
3202
+ toJson: () => toJson31
3103
3203
  });
3104
3204
  function isGeoPoint(value) {
3105
3205
  if (value === null) {
@@ -3121,7 +3221,7 @@ function isGeoPoint(value) {
3121
3221
  const allPropertiesMatchFormat = true;
3122
3222
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
3123
3223
  }
3124
- function isJson30(value) {
3224
+ function isJson31(value) {
3125
3225
  if (value === null) {
3126
3226
  return false;
3127
3227
  }
@@ -3141,14 +3241,14 @@ function isJson30(value) {
3141
3241
  const allPropertiesMatchFormat = true;
3142
3242
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
3143
3243
  }
3144
- function fromJson30($model) {
3244
+ function fromJson31($model) {
3145
3245
  const { latitude, longitude } = $model;
3146
3246
  return {
3147
3247
  latitude,
3148
3248
  longitude
3149
3249
  };
3150
3250
  }
3151
- function toJson30($model) {
3251
+ function toJson31($model) {
3152
3252
  const { latitude, longitude } = $model;
3153
3253
  return {
3154
3254
  latitude,
@@ -3186,13 +3286,13 @@ function isResultRecordValue(value) {
3186
3286
  return checkBoolean(value) || checkNumber(value) || checkString(value) || checkTimeframe(value) || checkGeoPoint(value) || checkResultRecord(value) || checkArrayResultRecordValue(value) || value === null;
3187
3287
  }
3188
3288
  function checkTimeframeAsJson(value) {
3189
- return isJson22(value);
3289
+ return isJson23(value);
3190
3290
  }
3191
3291
  function checkGeoPointAsJson(value) {
3192
- return isJson30(value);
3292
+ return isJson31(value);
3193
3293
  }
3194
3294
  function checkResultRecordAsJson(value) {
3195
- return isJson31(value);
3295
+ return isJson32(value);
3196
3296
  }
3197
3297
  function checkArrayResultRecordValueTransformationAsJsonNullItemDatatype(value) {
3198
3298
  return isResultRecordValue(value);
@@ -3201,11 +3301,11 @@ function checkArrayResultRecordValueAsJson(value) {
3201
3301
  const datatypeMatch = (val) => checkArrayResultRecordValueTransformationAsJsonNullItemDatatype(val);
3202
3302
  return Array.isArray(value) && value.every(datatypeMatch);
3203
3303
  }
3204
- function isJson32(value) {
3304
+ function isJson33(value) {
3205
3305
  return checkBoolean(value) || checkNumber(value) || checkString(value) || checkTimeframeAsJson(value) || checkGeoPointAsJson(value) || checkResultRecordAsJson(value) || checkArrayResultRecordValueAsJson(value) || value === null;
3206
3306
  }
3207
- function fromJson32($model) {
3208
- if (!isJson32($model)) {
3307
+ function fromJson33($model) {
3308
+ if (!isJson33($model)) {
3209
3309
  throw new TypeError("_ResultRecordValueTransformation.fromJson: value's datatype does not match");
3210
3310
  }
3211
3311
  if ($model === null) {
@@ -3221,20 +3321,20 @@ function fromJson32($model) {
3221
3321
  return String($model);
3222
3322
  }
3223
3323
  if (checkTimeframeAsJson($model)) {
3224
- return fromJson22($model);
3324
+ return fromJson23($model);
3225
3325
  }
3226
3326
  if (checkGeoPointAsJson($model)) {
3227
- return fromJson30($model);
3327
+ return fromJson31($model);
3228
3328
  }
3229
3329
  if (checkResultRecordAsJson($model)) {
3230
- return fromJson31($model);
3330
+ return fromJson32($model);
3231
3331
  }
3232
3332
  if (checkArrayResultRecordValue($model)) {
3233
- return $model.map((el) => fromJson32(el));
3333
+ return $model.map((el) => fromJson33(el));
3234
3334
  }
3235
3335
  throw new TypeError("Unable to deserialize value");
3236
3336
  }
3237
- function toJson32($model) {
3337
+ function toJson33($model) {
3238
3338
  if (!isResultRecordValue($model)) {
3239
3339
  throw new TypeError("_ResultRecordValueTransformation.toJson: value's datatype does not match");
3240
3340
  }
@@ -3251,16 +3351,16 @@ function toJson32($model) {
3251
3351
  return String($model);
3252
3352
  }
3253
3353
  if (checkTimeframe($model)) {
3254
- return toJson22($model);
3354
+ return toJson23($model);
3255
3355
  }
3256
3356
  if (checkGeoPoint($model)) {
3257
- return toJson30($model);
3357
+ return toJson31($model);
3258
3358
  }
3259
3359
  if (checkResultRecord($model)) {
3260
- return toJson31($model);
3360
+ return toJson32($model);
3261
3361
  }
3262
3362
  if (checkArrayResultRecordValue($model)) {
3263
- return $model.map((el) => toJson32(el));
3363
+ return $model.map((el) => toJson33(el));
3264
3364
  }
3265
3365
  throw new TypeError("Unable to serialize value");
3266
3366
  }
@@ -3286,7 +3386,7 @@ function isResultRecord(value) {
3286
3386
  const allPropertiesMatchFormat = true;
3287
3387
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
3288
3388
  }
3289
- function isJson31(value) {
3389
+ function isJson32(value) {
3290
3390
  if (value === null) {
3291
3391
  return true;
3292
3392
  }
@@ -3306,7 +3406,7 @@ function isJson31(value) {
3306
3406
  const allPropertiesMatchFormat = true;
3307
3407
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
3308
3408
  }
3309
- function fromJson31($model) {
3409
+ function fromJson32($model) {
3310
3410
  if ($model === null) {
3311
3411
  return null;
3312
3412
  }
@@ -3315,12 +3415,12 @@ function fromJson31($model) {
3315
3415
  ...Object.fromEntries(
3316
3416
  Object.entries(additionalProps).map(([propName, value]) => [
3317
3417
  propName,
3318
- value !== void 0 ? fromJson32(value) : void 0
3418
+ value !== void 0 ? fromJson33(value) : void 0
3319
3419
  ])
3320
3420
  )
3321
3421
  };
3322
3422
  }
3323
- function toJson31($model) {
3423
+ function toJson32($model) {
3324
3424
  if ($model === null) {
3325
3425
  return null;
3326
3426
  }
@@ -3329,7 +3429,7 @@ function toJson31($model) {
3329
3429
  ...Object.fromEntries(
3330
3430
  Object.entries(additionalProps).map(([propName, value]) => [
3331
3431
  propName,
3332
- value !== void 0 && value !== null ? toJson32(value) : void 0
3432
+ value !== void 0 && value !== null ? toJson33(value) : void 0
3333
3433
  ])
3334
3434
  )
3335
3435
  };
@@ -3356,7 +3456,7 @@ function isQueryResult(value) {
3356
3456
  const allPropertiesMatchFormat = true;
3357
3457
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
3358
3458
  }
3359
- function isJson33(value) {
3459
+ function isJson34(value) {
3360
3460
  if (value === null) {
3361
3461
  return false;
3362
3462
  }
@@ -3376,41 +3476,41 @@ function isJson33(value) {
3376
3476
  const allPropertiesMatchFormat = true;
3377
3477
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
3378
3478
  }
3379
- function fromJson33($model) {
3479
+ function fromJson34($model) {
3380
3480
  const { records, metadata, types } = $model;
3381
3481
  return {
3382
- records: records?.map((innerValue) => fromJson31(innerValue)),
3383
- metadata: fromJson25(metadata),
3384
- types: types?.map((innerValue) => fromJson27(innerValue))
3482
+ records: records?.map((innerValue) => fromJson32(innerValue)),
3483
+ metadata: fromJson26(metadata),
3484
+ types: types?.map((innerValue) => fromJson28(innerValue))
3385
3485
  };
3386
3486
  }
3387
- function toJson33($model) {
3487
+ function toJson34($model) {
3388
3488
  const { records, metadata, types } = $model;
3389
3489
  return {
3390
- records: records?.map((innerValue) => toJson31(innerValue)),
3391
- metadata: toJson25(metadata),
3392
- types: types?.map((innerValue) => toJson27(innerValue))
3490
+ records: records?.map((innerValue) => toJson32(innerValue)),
3491
+ metadata: toJson26(metadata),
3492
+ types: types?.map((innerValue) => toJson28(innerValue))
3393
3493
  };
3394
3494
  }
3395
3495
 
3396
3496
  // packages/client/query/src/lib/models/query-state.transformation.ts
3397
3497
  var query_state_transformation_exports = {};
3398
3498
  __export(query_state_transformation_exports, {
3399
- fromJson: () => fromJson34,
3400
- isJson: () => isJson34,
3499
+ fromJson: () => fromJson35,
3500
+ isJson: () => isJson35,
3401
3501
  isQueryState: () => isQueryState,
3402
- toJson: () => toJson34
3502
+ toJson: () => toJson35
3403
3503
  });
3404
3504
  function isQueryState(value) {
3405
3505
  return typeof value === "string";
3406
3506
  }
3407
- function isJson34(value) {
3507
+ function isJson35(value) {
3408
3508
  return typeof value === "string";
3409
3509
  }
3410
- function fromJson34($model) {
3510
+ function fromJson35($model) {
3411
3511
  return String($model);
3412
3512
  }
3413
- function toJson34($model) {
3513
+ function toJson35($model) {
3414
3514
  return String($model);
3415
3515
  }
3416
3516
 
@@ -3435,7 +3535,7 @@ function isQueryPollResponse(value) {
3435
3535
  const allPropertiesMatchFormat = true;
3436
3536
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
3437
3537
  }
3438
- function isJson35(value) {
3538
+ function isJson36(value) {
3439
3539
  if (value === null) {
3440
3540
  return false;
3441
3541
  }
@@ -3455,32 +3555,32 @@ function isJson35(value) {
3455
3555
  const allPropertiesMatchFormat = true;
3456
3556
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
3457
3557
  }
3458
- function fromJson35($model) {
3558
+ function fromJson36($model) {
3459
3559
  const { result, ttlSeconds, progress, state } = $model;
3460
3560
  return {
3461
- result: result !== void 0 && result !== null ? fromJson33(result) : void 0,
3561
+ result: result !== void 0 && result !== null ? fromJson34(result) : void 0,
3462
3562
  ttlSeconds,
3463
3563
  progress,
3464
- state: fromJson34(state)
3564
+ state: fromJson35(state)
3465
3565
  };
3466
3566
  }
3467
- function toJson35($model) {
3567
+ function toJson36($model) {
3468
3568
  const { result, ttlSeconds, progress, state } = $model;
3469
3569
  return {
3470
- result: result !== void 0 && result !== null ? toJson33(result) : void 0,
3570
+ result: result !== void 0 && result !== null ? toJson34(result) : void 0,
3471
3571
  ttlSeconds,
3472
3572
  progress,
3473
- state: toJson34(state)
3573
+ state: toJson35(state)
3474
3574
  };
3475
3575
  }
3476
3576
 
3477
3577
  // packages/client/query/src/lib/models/query-start-response.transformation.ts
3478
3578
  var query_start_response_transformation_exports = {};
3479
3579
  __export(query_start_response_transformation_exports, {
3480
- fromJson: () => fromJson36,
3481
- isJson: () => isJson36,
3580
+ fromJson: () => fromJson37,
3581
+ isJson: () => isJson37,
3482
3582
  isQueryStartResponse: () => isQueryStartResponse,
3483
- toJson: () => toJson36
3583
+ toJson: () => toJson37
3484
3584
  });
3485
3585
  function isQueryStartResponse(value) {
3486
3586
  if (value === null) {
@@ -3502,7 +3602,7 @@ function isQueryStartResponse(value) {
3502
3602
  const allPropertiesMatchFormat = true;
3503
3603
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
3504
3604
  }
3505
- function isJson36(value) {
3605
+ function isJson37(value) {
3506
3606
  if (value === null) {
3507
3607
  return false;
3508
3608
  }
@@ -3522,24 +3622,24 @@ function isJson36(value) {
3522
3622
  const allPropertiesMatchFormat = true;
3523
3623
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
3524
3624
  }
3525
- function fromJson36($model) {
3625
+ function fromJson37($model) {
3526
3626
  const { result, ttlSeconds, progress, requestToken, state } = $model;
3527
3627
  return {
3528
- result: result !== void 0 && result !== null ? fromJson33(result) : void 0,
3628
+ result: result !== void 0 && result !== null ? fromJson34(result) : void 0,
3529
3629
  ttlSeconds,
3530
3630
  progress,
3531
3631
  requestToken,
3532
- state: fromJson34(state)
3632
+ state: fromJson35(state)
3533
3633
  };
3534
3634
  }
3535
- function toJson36($model) {
3635
+ function toJson37($model) {
3536
3636
  const { result, ttlSeconds, progress, requestToken, state } = $model;
3537
3637
  return {
3538
- result: result !== void 0 && result !== null ? toJson33(result) : void 0,
3638
+ result: result !== void 0 && result !== null ? toJson34(result) : void 0,
3539
3639
  ttlSeconds,
3540
3640
  progress,
3541
3641
  requestToken,
3542
- state: toJson34(state)
3642
+ state: toJson35(state)
3543
3643
  };
3544
3644
  }
3545
3645
 
@@ -3653,7 +3753,7 @@ var QueryExecutionClient = class {
3653
3753
  });
3654
3754
  const responseValue = await response.body("json");
3655
3755
  try {
3656
- return fromJson35(responseValue);
3756
+ return fromJson36(responseValue);
3657
3757
  } catch (err) {
3658
3758
  throw new InvalidResponseError(`QueryExecutionClient.query:poll:200`, err, responseValue, void 0, void 0);
3659
3759
  }
@@ -3669,7 +3769,7 @@ var QueryExecutionClient = class {
3669
3769
  case 400: {
3670
3770
  const responseValue = await response.body("json");
3671
3771
  try {
3672
- const errorBody = fromJson16(responseValue);
3772
+ const errorBody = fromJson17(responseValue);
3673
3773
  throw new ErrorEnvelopeError(
3674
3774
  `400`,
3675
3775
  response,
@@ -3708,7 +3808,7 @@ var QueryExecutionClient = class {
3708
3808
  case 500: {
3709
3809
  const responseValue = await response.body("json");
3710
3810
  try {
3711
- const errorBody = fromJson16(responseValue);
3811
+ const errorBody = fromJson17(responseValue);
3712
3812
  throw new ErrorEnvelopeError(
3713
3813
  `500`,
3714
3814
  response,
@@ -3797,7 +3897,7 @@ var QueryExecutionClient = class {
3797
3897
  if (!config) {
3798
3898
  throw new ApiClientError("API client error", "API client call is missing mandatory config parameter");
3799
3899
  }
3800
- const encodedBody = toJson21(config.body);
3900
+ const encodedBody = toJson22(config.body);
3801
3901
  const query = toQueryString({ enrich: config.enrich });
3802
3902
  try {
3803
3903
  const response = await this.httpClient.send({
@@ -3818,7 +3918,7 @@ var QueryExecutionClient = class {
3818
3918
  case 200: {
3819
3919
  const responseValue = await response.body("json");
3820
3920
  try {
3821
- return fromJson36(responseValue);
3921
+ return fromJson37(responseValue);
3822
3922
  } catch (err) {
3823
3923
  throw new InvalidResponseError(
3824
3924
  `QueryExecutionClient.query:execute:${response.status}`,
@@ -3832,7 +3932,7 @@ var QueryExecutionClient = class {
3832
3932
  case 202: {
3833
3933
  const responseValue = await response.body("json");
3834
3934
  try {
3835
- return fromJson36(responseValue);
3935
+ return fromJson37(responseValue);
3836
3936
  } catch (err) {
3837
3937
  throw new InvalidResponseError(
3838
3938
  `QueryExecutionClient.query:execute:${response.status}`,
@@ -3865,7 +3965,7 @@ var QueryExecutionClient = class {
3865
3965
  case 400: {
3866
3966
  const responseValue = await response.body("json");
3867
3967
  try {
3868
- const errorBody = fromJson16(responseValue);
3968
+ const errorBody = fromJson17(responseValue);
3869
3969
  throw new ErrorEnvelopeError(
3870
3970
  `400`,
3871
3971
  response,
@@ -3892,7 +3992,7 @@ var QueryExecutionClient = class {
3892
3992
  case 403: {
3893
3993
  const responseValue = await response.body("json");
3894
3994
  try {
3895
- const errorBody = fromJson16(responseValue);
3995
+ const errorBody = fromJson17(responseValue);
3896
3996
  throw new ErrorEnvelopeError(
3897
3997
  `403`,
3898
3998
  response,
@@ -3916,7 +4016,7 @@ var QueryExecutionClient = class {
3916
4016
  case 429: {
3917
4017
  const responseValue = await response.body("json");
3918
4018
  try {
3919
- const errorBody = fromJson16(responseValue);
4019
+ const errorBody = fromJson17(responseValue);
3920
4020
  throw new ErrorEnvelopeError(
3921
4021
  `429`,
3922
4022
  response,
@@ -3940,7 +4040,7 @@ var QueryExecutionClient = class {
3940
4040
  case 500: {
3941
4041
  const responseValue = await response.body("json");
3942
4042
  try {
3943
- const errorBody = fromJson16(responseValue);
4043
+ const errorBody = fromJson17(responseValue);
3944
4044
  throw new ErrorEnvelopeError(
3945
4045
  `500`,
3946
4046
  response,
@@ -3964,7 +4064,7 @@ var QueryExecutionClient = class {
3964
4064
  case 503: {
3965
4065
  const responseValue = await response.body("json");
3966
4066
  try {
3967
- const errorBody = fromJson16(responseValue);
4067
+ const errorBody = fromJson17(responseValue);
3968
4068
  throw new ErrorEnvelopeError(
3969
4069
  `503`,
3970
4070
  response,
@@ -3989,7 +4089,7 @@ var QueryExecutionClient = class {
3989
4089
  if (response.status >= 400 && response.status <= 499) {
3990
4090
  const responseValue = await response.body("json");
3991
4091
  try {
3992
- const errorBody = fromJson16(responseValue);
4092
+ const errorBody = fromJson17(responseValue);
3993
4093
  throw new ErrorEnvelopeError(
3994
4094
  `${response.status}`,
3995
4095
  response,
@@ -4012,7 +4112,7 @@ var QueryExecutionClient = class {
4012
4112
  } else if (response.status >= 500 && response.status <= 599) {
4013
4113
  const responseValue = await response.body("json");
4014
4114
  try {
4015
- const errorBody = fromJson16(responseValue);
4115
+ const errorBody = fromJson17(responseValue);
4016
4116
  throw new ErrorEnvelopeError(
4017
4117
  `${response.status}`,
4018
4118
  response,
@@ -4119,7 +4219,7 @@ var QueryExecutionClient = class {
4119
4219
  case 200: {
4120
4220
  const responseValue = await response.body("json");
4121
4221
  try {
4122
- return fromJson35(responseValue);
4222
+ return fromJson36(responseValue);
4123
4223
  } catch (err) {
4124
4224
  throw new InvalidResponseError(
4125
4225
  `QueryExecutionClient.query:cancel:${response.status}`,
@@ -4155,7 +4255,7 @@ var QueryExecutionClient = class {
4155
4255
  case 400: {
4156
4256
  const responseValue = await response.body("json");
4157
4257
  try {
4158
- const errorBody = fromJson16(responseValue);
4258
+ const errorBody = fromJson17(responseValue);
4159
4259
  throw new ErrorEnvelopeError(
4160
4260
  `400`,
4161
4261
  response,
@@ -4194,7 +4294,7 @@ var QueryExecutionClient = class {
4194
4294
  case 500: {
4195
4295
  const responseValue = await response.body("json");
4196
4296
  try {
4197
- const errorBody = fromJson16(responseValue);
4297
+ const errorBody = fromJson17(responseValue);
4198
4298
  throw new ErrorEnvelopeError(
4199
4299
  `500`,
4200
4300
  response,