@dynatrace-sdk/client-query 1.9.1 → 1.10.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/cjs/index.js CHANGED
@@ -63,6 +63,7 @@ __export(src_exports, {
63
63
  _MetricMetadataTransformation: () => metric_metadata_transformation_exports,
64
64
  _ParseRequestTransformation: () => parse_request_transformation_exports,
65
65
  _PositionInfoTransformation: () => position_info_transformation_exports,
66
+ _QueryOptionsTransformation: () => query_options_transformation_exports,
66
67
  _QueryPollResponseTransformation: () => query_poll_response_transformation_exports,
67
68
  _QueryResultTransformation: () => query_result_transformation_exports,
68
69
  _QueryStartResponseTransformation: () => query_start_response_transformation_exports,
@@ -216,11 +217,74 @@ function isInvalidResponseError(e) {
216
217
  // packages/client/query/src/lib/models/autocomplete-request.transformation.ts
217
218
  var autocomplete_request_transformation_exports = {};
218
219
  __export(autocomplete_request_transformation_exports, {
219
- fromJson: () => fromJson,
220
+ fromJson: () => fromJson2,
220
221
  isAutocompleteRequest: () => isAutocompleteRequest,
222
+ isJson: () => isJson2,
223
+ toJson: () => toJson2
224
+ });
225
+
226
+ // packages/client/query/src/lib/models/query-options.transformation.ts
227
+ var query_options_transformation_exports = {};
228
+ __export(query_options_transformation_exports, {
229
+ fromJson: () => fromJson,
221
230
  isJson: () => isJson,
231
+ isQueryOptions: () => isQueryOptions,
222
232
  toJson: () => toJson
223
233
  });
234
+ function isQueryOptions(value) {
235
+ if (value === null) {
236
+ return false;
237
+ }
238
+ if (value === void 0) {
239
+ return false;
240
+ }
241
+ if (Array.isArray(value)) {
242
+ return false;
243
+ }
244
+ const modelKeys = /* @__PURE__ */ new Set([]);
245
+ const hasAdditionalProperties = true;
246
+ const requiredKeys = [];
247
+ const optionalKeys = [];
248
+ const valKeys = new Set(Object.keys(value));
249
+ const containsRequiredOrOptionalKeys = requiredKeys.length > 0 ? requiredKeys.every((reqKey) => valKeys.has(reqKey)) : optionalKeys.some((key) => valKeys.has(key)) || hasAdditionalProperties;
250
+ const doesNotContainExtraKeys = [...valKeys].every((key) => modelKeys.has(key)) || hasAdditionalProperties;
251
+ const allPropertiesMatchFormat = true;
252
+ return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
253
+ }
254
+ function isJson(value) {
255
+ if (value === null) {
256
+ return false;
257
+ }
258
+ if (value === void 0) {
259
+ return false;
260
+ }
261
+ if (Array.isArray(value)) {
262
+ return false;
263
+ }
264
+ const modelKeys = /* @__PURE__ */ new Set([]);
265
+ const hasAdditionalProperties = true;
266
+ const requiredKeys = [];
267
+ const optionalKeys = [];
268
+ const valKeys = new Set(Object.keys(value));
269
+ const containsRequiredOrOptionalKeys = requiredKeys.length > 0 ? requiredKeys.every((reqKey) => valKeys.has(reqKey)) : optionalKeys.some((key) => valKeys.has(key)) || hasAdditionalProperties;
270
+ const doesNotContainExtraKeys = [...valKeys].every((key) => modelKeys.has(key)) || hasAdditionalProperties;
271
+ const allPropertiesMatchFormat = true;
272
+ return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
273
+ }
274
+ function fromJson($model) {
275
+ const additionalProps = $model;
276
+ return {
277
+ ...additionalProps
278
+ };
279
+ }
280
+ function toJson($model) {
281
+ const additionalProps = $model;
282
+ return {
283
+ ...additionalProps
284
+ };
285
+ }
286
+
287
+ // packages/client/query/src/lib/models/autocomplete-request.transformation.ts
224
288
  function isAutocompleteRequest(value) {
225
289
  if (value === null) {
226
290
  return false;
@@ -231,17 +295,24 @@ function isAutocompleteRequest(value) {
231
295
  if (Array.isArray(value)) {
232
296
  return false;
233
297
  }
234
- const modelKeys = /* @__PURE__ */ new Set(["query", "cursorPosition", "timezone", "locale", "maxDataSuggestions"]);
298
+ const modelKeys = /* @__PURE__ */ new Set([
299
+ "query",
300
+ "cursorPosition",
301
+ "timezone",
302
+ "locale",
303
+ "maxDataSuggestions",
304
+ "queryOptions"
305
+ ]);
235
306
  const hasAdditionalProperties = false;
236
307
  const requiredKeys = ["query"];
237
- const optionalKeys = ["cursorPosition", "timezone", "locale", "maxDataSuggestions"];
308
+ const optionalKeys = ["cursorPosition", "timezone", "locale", "maxDataSuggestions", "queryOptions"];
238
309
  const valKeys = new Set(Object.keys(value));
239
310
  const containsRequiredOrOptionalKeys = requiredKeys.length > 0 ? requiredKeys.every((reqKey) => valKeys.has(reqKey)) : optionalKeys.some((key) => valKeys.has(key)) || hasAdditionalProperties;
240
311
  const doesNotContainExtraKeys = [...valKeys].every((key) => modelKeys.has(key)) || hasAdditionalProperties;
241
312
  const allPropertiesMatchFormat = true;
242
313
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
243
314
  }
244
- function isJson(value) {
315
+ function isJson2(value) {
245
316
  if (value === null) {
246
317
  return false;
247
318
  }
@@ -251,82 +322,91 @@ function isJson(value) {
251
322
  if (Array.isArray(value)) {
252
323
  return false;
253
324
  }
254
- const modelKeys = /* @__PURE__ */ new Set(["query", "cursorPosition", "timezone", "locale", "maxDataSuggestions"]);
325
+ const modelKeys = /* @__PURE__ */ new Set([
326
+ "query",
327
+ "cursorPosition",
328
+ "timezone",
329
+ "locale",
330
+ "maxDataSuggestions",
331
+ "queryOptions"
332
+ ]);
255
333
  const hasAdditionalProperties = false;
256
334
  const requiredKeys = ["query"];
257
- const optionalKeys = ["cursorPosition", "timezone", "locale", "maxDataSuggestions"];
335
+ const optionalKeys = ["cursorPosition", "timezone", "locale", "maxDataSuggestions", "queryOptions"];
258
336
  const valKeys = new Set(Object.keys(value));
259
337
  const containsRequiredOrOptionalKeys = requiredKeys.length > 0 ? requiredKeys.every((reqKey) => valKeys.has(reqKey)) : optionalKeys.some((key) => valKeys.has(key)) || hasAdditionalProperties;
260
338
  const doesNotContainExtraKeys = [...valKeys].every((key) => modelKeys.has(key)) || hasAdditionalProperties;
261
339
  const allPropertiesMatchFormat = true;
262
340
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
263
341
  }
264
- function fromJson($model) {
265
- const { query, cursorPosition, timezone, locale, maxDataSuggestions } = $model;
342
+ function fromJson2($model) {
343
+ const { query, cursorPosition, timezone, locale, maxDataSuggestions, queryOptions } = $model;
266
344
  return {
267
345
  query,
268
346
  cursorPosition,
269
347
  timezone,
270
348
  locale,
271
- maxDataSuggestions
349
+ maxDataSuggestions,
350
+ queryOptions: queryOptions !== void 0 && queryOptions !== null ? fromJson(queryOptions) : void 0
272
351
  };
273
352
  }
274
- function toJson($model) {
275
- const { query, cursorPosition, timezone, locale, maxDataSuggestions } = $model;
353
+ function toJson2($model) {
354
+ const { query, cursorPosition, timezone, locale, maxDataSuggestions, queryOptions } = $model;
276
355
  return {
277
356
  query,
278
357
  cursorPosition,
279
358
  timezone,
280
359
  locale,
281
- maxDataSuggestions
360
+ maxDataSuggestions,
361
+ queryOptions: queryOptions !== void 0 && queryOptions !== null ? toJson(queryOptions) : void 0
282
362
  };
283
363
  }
284
364
 
285
365
  // packages/client/query/src/lib/models/autocomplete-response.transformation.ts
286
366
  var autocomplete_response_transformation_exports = {};
287
367
  __export(autocomplete_response_transformation_exports, {
288
- fromJson: () => fromJson5,
368
+ fromJson: () => fromJson6,
289
369
  isAutocompleteResponse: () => isAutocompleteResponse,
290
- isJson: () => isJson5,
291
- toJson: () => toJson5
370
+ isJson: () => isJson6,
371
+ toJson: () => toJson6
292
372
  });
293
373
 
294
374
  // packages/client/query/src/lib/models/autocomplete-suggestion.transformation.ts
295
375
  var autocomplete_suggestion_transformation_exports = {};
296
376
  __export(autocomplete_suggestion_transformation_exports, {
297
- fromJson: () => fromJson4,
377
+ fromJson: () => fromJson5,
298
378
  isAutocompleteSuggestion: () => isAutocompleteSuggestion,
299
- isJson: () => isJson4,
300
- toJson: () => toJson4
379
+ isJson: () => isJson5,
380
+ toJson: () => toJson5
301
381
  });
302
382
 
303
383
  // packages/client/query/src/lib/models/autocomplete-suggestion-part.transformation.ts
304
384
  var autocomplete_suggestion_part_transformation_exports = {};
305
385
  __export(autocomplete_suggestion_part_transformation_exports, {
306
- fromJson: () => fromJson3,
386
+ fromJson: () => fromJson4,
307
387
  isAutocompleteSuggestionPart: () => isAutocompleteSuggestionPart,
308
- isJson: () => isJson3,
309
- toJson: () => toJson3
388
+ isJson: () => isJson4,
389
+ toJson: () => toJson4
310
390
  });
311
391
 
312
392
  // packages/client/query/src/lib/models/token-type.transformation.ts
313
393
  var token_type_transformation_exports = {};
314
394
  __export(token_type_transformation_exports, {
315
- fromJson: () => fromJson2,
316
- isJson: () => isJson2,
395
+ fromJson: () => fromJson3,
396
+ isJson: () => isJson3,
317
397
  isTokenType: () => isTokenType,
318
- toJson: () => toJson2
398
+ toJson: () => toJson3
319
399
  });
320
400
  function isTokenType(value) {
321
401
  return typeof value === "string";
322
402
  }
323
- function isJson2(value) {
403
+ function isJson3(value) {
324
404
  return typeof value === "string";
325
405
  }
326
- function fromJson2($model) {
406
+ function fromJson3($model) {
327
407
  return String($model);
328
408
  }
329
- function toJson2($model) {
409
+ function toJson3($model) {
330
410
  return String($model);
331
411
  }
332
412
 
@@ -351,7 +431,7 @@ function isAutocompleteSuggestionPart(value) {
351
431
  const allPropertiesMatchFormat = true;
352
432
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
353
433
  }
354
- function isJson3(value) {
434
+ function isJson4(value) {
355
435
  if (value === null) {
356
436
  return false;
357
437
  }
@@ -371,19 +451,19 @@ function isJson3(value) {
371
451
  const allPropertiesMatchFormat = true;
372
452
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
373
453
  }
374
- function fromJson3($model) {
454
+ function fromJson4($model) {
375
455
  const { type, info, synopsis, suggestion } = $model;
376
456
  return {
377
- type: fromJson2(type),
457
+ type: fromJson3(type),
378
458
  info,
379
459
  synopsis,
380
460
  suggestion
381
461
  };
382
462
  }
383
- function toJson3($model) {
463
+ function toJson4($model) {
384
464
  const { type, info, synopsis, suggestion } = $model;
385
465
  return {
386
- type: toJson2(type),
466
+ type: toJson3(type),
387
467
  info,
388
468
  synopsis,
389
469
  suggestion
@@ -411,7 +491,7 @@ function isAutocompleteSuggestion(value) {
411
491
  const allPropertiesMatchFormat = true;
412
492
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
413
493
  }
414
- function isJson4(value) {
494
+ function isJson5(value) {
415
495
  if (value === null) {
416
496
  return false;
417
497
  }
@@ -431,18 +511,18 @@ function isJson4(value) {
431
511
  const allPropertiesMatchFormat = true;
432
512
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
433
513
  }
434
- function fromJson4($model) {
514
+ function fromJson5($model) {
435
515
  const { parts, alreadyTypedCharacters, suggestion } = $model;
436
516
  return {
437
- parts: parts?.map((innerValue) => fromJson3(innerValue)),
517
+ parts: parts?.map((innerValue) => fromJson4(innerValue)),
438
518
  alreadyTypedCharacters,
439
519
  suggestion
440
520
  };
441
521
  }
442
- function toJson4($model) {
522
+ function toJson5($model) {
443
523
  const { parts, alreadyTypedCharacters, suggestion } = $model;
444
524
  return {
445
- parts: parts?.map((innerValue) => toJson3(innerValue)),
525
+ parts: parts?.map((innerValue) => toJson4(innerValue)),
446
526
  alreadyTypedCharacters,
447
527
  suggestion
448
528
  };
@@ -469,7 +549,7 @@ function isAutocompleteResponse(value) {
469
549
  const allPropertiesMatchFormat = true;
470
550
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
471
551
  }
472
- function isJson5(value) {
552
+ function isJson6(value) {
473
553
  if (value === null) {
474
554
  return false;
475
555
  }
@@ -489,19 +569,19 @@ function isJson5(value) {
489
569
  const allPropertiesMatchFormat = true;
490
570
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
491
571
  }
492
- function fromJson5($model) {
572
+ function fromJson6($model) {
493
573
  const { optional, suggestions, suggestedTtlSeconds } = $model;
494
574
  return {
495
575
  optional,
496
- suggestions: suggestions?.map((innerValue) => fromJson4(innerValue)),
576
+ suggestions: suggestions?.map((innerValue) => fromJson5(innerValue)),
497
577
  suggestedTtlSeconds
498
578
  };
499
579
  }
500
- function toJson5($model) {
580
+ function toJson6($model) {
501
581
  const { optional, suggestions, suggestedTtlSeconds } = $model;
502
582
  return {
503
583
  optional,
504
- suggestions: suggestions?.map((innerValue) => toJson4(innerValue)),
584
+ suggestions: suggestions?.map((innerValue) => toJson5(innerValue)),
505
585
  suggestedTtlSeconds
506
586
  };
507
587
  }
@@ -509,21 +589,21 @@ function toJson5($model) {
509
589
  // packages/client/query/src/lib/models/dql-node.transformation.ts
510
590
  var dql_node_transformation_exports = {};
511
591
  __export(dql_node_transformation_exports, {
512
- fromJson: () => fromJson6,
592
+ fromJson: () => fromJson7,
513
593
  isDqlAlternativeNode: () => isDqlAlternativeNode2,
514
594
  isDqlContainerNode: () => isDqlContainerNode2,
515
595
  isDqlTerminalNode: () => isDqlTerminalNode2,
516
- isJson: () => isJson12,
517
- toJson: () => toJson6
596
+ isJson: () => isJson13,
597
+ toJson: () => toJson7
518
598
  });
519
599
 
520
600
  // packages/client/query/src/lib/models/dql-alternative-node.transformation.ts
521
601
  var dql_alternative_node_transformation_exports = {};
522
602
  __export(dql_alternative_node_transformation_exports, {
523
- fromJson: () => fromJson7,
603
+ fromJson: () => fromJson8,
524
604
  isDqlAlternativeNode: () => isDqlAlternativeNode,
525
- isJson: () => isJson6,
526
- toJson: () => toJson7
605
+ isJson: () => isJson7,
606
+ toJson: () => toJson8
527
607
  });
528
608
  function isDqlAlternativeNode(value) {
529
609
  if (value === null) {
@@ -545,7 +625,7 @@ function isDqlAlternativeNode(value) {
545
625
  const allPropertiesMatchFormat = true;
546
626
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
547
627
  }
548
- function isJson6(value) {
628
+ function isJson7(value) {
549
629
  if (value === null) {
550
630
  return false;
551
631
  }
@@ -565,17 +645,17 @@ function isJson6(value) {
565
645
  const allPropertiesMatchFormat = true;
566
646
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
567
647
  }
568
- function fromJson7($model) {
648
+ function fromJson8($model) {
569
649
  const { alternatives } = $model;
570
650
  return {
571
- ...fromJson6($model, false),
651
+ ...fromJson7($model, false),
572
652
  alternatives
573
653
  };
574
654
  }
575
- function toJson7($model) {
655
+ function toJson8($model) {
576
656
  const { alternatives } = $model;
577
657
  return {
578
- ...toJson6($model, false),
658
+ ...toJson7($model, false),
579
659
  alternatives
580
660
  };
581
661
  }
@@ -583,10 +663,10 @@ function toJson7($model) {
583
663
  // packages/client/query/src/lib/models/dql-container-node.transformation.ts
584
664
  var dql_container_node_transformation_exports = {};
585
665
  __export(dql_container_node_transformation_exports, {
586
- fromJson: () => fromJson8,
666
+ fromJson: () => fromJson9,
587
667
  isDqlContainerNode: () => isDqlContainerNode,
588
- isJson: () => isJson7,
589
- toJson: () => toJson8
668
+ isJson: () => isJson8,
669
+ toJson: () => toJson9
590
670
  });
591
671
  function isDqlContainerNode(value) {
592
672
  if (value === null) {
@@ -608,7 +688,7 @@ function isDqlContainerNode(value) {
608
688
  const allPropertiesMatchFormat = true;
609
689
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
610
690
  }
611
- function isJson7(value) {
691
+ function isJson8(value) {
612
692
  if (value === null) {
613
693
  return false;
614
694
  }
@@ -628,51 +708,51 @@ function isJson7(value) {
628
708
  const allPropertiesMatchFormat = true;
629
709
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
630
710
  }
631
- function fromJson8($model) {
711
+ function fromJson9($model) {
632
712
  const { type, children } = $model;
633
713
  return {
634
- ...fromJson6($model, false),
714
+ ...fromJson7($model, false),
635
715
  type,
636
- children: children !== void 0 && children !== null ? children?.map((innerValue) => fromJson6(innerValue)) : void 0
716
+ children: children !== void 0 && children !== null ? children?.map((innerValue) => fromJson7(innerValue)) : void 0
637
717
  };
638
718
  }
639
- function toJson8($model) {
719
+ function toJson9($model) {
640
720
  const { type, children } = $model;
641
721
  return {
642
- ...toJson6($model, false),
722
+ ...toJson7($model, false),
643
723
  type,
644
- children: children !== void 0 && children !== null ? children?.map((innerValue) => toJson6(innerValue)) : void 0
724
+ children: children !== void 0 && children !== null ? children?.map((innerValue) => toJson7(innerValue)) : void 0
645
725
  };
646
726
  }
647
727
 
648
728
  // packages/client/query/src/lib/models/dql-node-node-type.transformation.ts
649
729
  var dql_node_node_type_transformation_exports = {};
650
730
  __export(dql_node_node_type_transformation_exports, {
651
- fromJson: () => fromJson9,
731
+ fromJson: () => fromJson10,
652
732
  isDqlNodeNodeType: () => isDqlNodeNodeType,
653
- isJson: () => isJson8,
654
- toJson: () => toJson9
733
+ isJson: () => isJson9,
734
+ toJson: () => toJson10
655
735
  });
656
736
  function isDqlNodeNodeType(value) {
657
737
  return typeof value === "string";
658
738
  }
659
- function isJson8(value) {
739
+ function isJson9(value) {
660
740
  return typeof value === "string";
661
741
  }
662
- function fromJson9($model) {
742
+ function fromJson10($model) {
663
743
  return String($model);
664
744
  }
665
- function toJson9($model) {
745
+ function toJson10($model) {
666
746
  return String($model);
667
747
  }
668
748
 
669
749
  // packages/client/query/src/lib/models/dql-terminal-node.transformation.ts
670
750
  var dql_terminal_node_transformation_exports = {};
671
751
  __export(dql_terminal_node_transformation_exports, {
672
- fromJson: () => fromJson10,
752
+ fromJson: () => fromJson11,
673
753
  isDqlTerminalNode: () => isDqlTerminalNode,
674
- isJson: () => isJson9,
675
- toJson: () => toJson10
754
+ isJson: () => isJson10,
755
+ toJson: () => toJson11
676
756
  });
677
757
  function isDqlTerminalNode(value) {
678
758
  if (value === null) {
@@ -694,7 +774,7 @@ function isDqlTerminalNode(value) {
694
774
  const allPropertiesMatchFormat = true;
695
775
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
696
776
  }
697
- function isJson9(value) {
777
+ function isJson10(value) {
698
778
  if (value === null) {
699
779
  return false;
700
780
  }
@@ -714,20 +794,20 @@ function isJson9(value) {
714
794
  const allPropertiesMatchFormat = true;
715
795
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
716
796
  }
717
- function fromJson10($model) {
797
+ function fromJson11($model) {
718
798
  const { type, isMandatoryOnUserOrder, canonicalString } = $model;
719
799
  return {
720
- ...fromJson6($model, false),
721
- type: type !== void 0 && type !== null ? fromJson2(type) : void 0,
800
+ ...fromJson7($model, false),
801
+ type: type !== void 0 && type !== null ? fromJson3(type) : void 0,
722
802
  isMandatoryOnUserOrder,
723
803
  canonicalString
724
804
  };
725
805
  }
726
- function toJson10($model) {
806
+ function toJson11($model) {
727
807
  const { type, isMandatoryOnUserOrder, canonicalString } = $model;
728
808
  return {
729
- ...toJson6($model, false),
730
- type: type !== void 0 && type !== null ? toJson2(type) : void 0,
809
+ ...toJson7($model, false),
810
+ type: type !== void 0 && type !== null ? toJson3(type) : void 0,
731
811
  isMandatoryOnUserOrder,
732
812
  canonicalString
733
813
  };
@@ -737,20 +817,20 @@ function toJson10($model) {
737
817
  var token_position_transformation_exports = {};
738
818
  __export(token_position_transformation_exports, {
739
819
  fromFormData: () => fromFormData,
740
- fromJson: () => fromJson12,
741
- isJson: () => isJson11,
820
+ fromJson: () => fromJson13,
821
+ isJson: () => isJson12,
742
822
  isTokenPosition: () => isTokenPosition,
743
823
  toFormData: () => toFormData,
744
- toJson: () => toJson12
824
+ toJson: () => toJson13
745
825
  });
746
826
 
747
827
  // packages/client/query/src/lib/models/position-info.transformation.ts
748
828
  var position_info_transformation_exports = {};
749
829
  __export(position_info_transformation_exports, {
750
- fromJson: () => fromJson11,
751
- isJson: () => isJson10,
830
+ fromJson: () => fromJson12,
831
+ isJson: () => isJson11,
752
832
  isPositionInfo: () => isPositionInfo,
753
- toJson: () => toJson11
833
+ toJson: () => toJson12
754
834
  });
755
835
  function isPositionInfo(value) {
756
836
  if (value === null) {
@@ -772,7 +852,7 @@ function isPositionInfo(value) {
772
852
  const allPropertiesMatchFormat = true;
773
853
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
774
854
  }
775
- function isJson10(value) {
855
+ function isJson11(value) {
776
856
  if (value === null) {
777
857
  return false;
778
858
  }
@@ -792,7 +872,7 @@ function isJson10(value) {
792
872
  const allPropertiesMatchFormat = true;
793
873
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
794
874
  }
795
- function fromJson11($model) {
875
+ function fromJson12($model) {
796
876
  const { column, index, line } = $model;
797
877
  return {
798
878
  column,
@@ -800,7 +880,7 @@ function fromJson11($model) {
800
880
  line
801
881
  };
802
882
  }
803
- function toJson11($model) {
883
+ function toJson12($model) {
804
884
  const { column, index, line } = $model;
805
885
  return {
806
886
  column,
@@ -830,7 +910,7 @@ function isTokenPosition(value) {
830
910
  const allPropertiesMatchFormat = true;
831
911
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
832
912
  }
833
- function isJson11(value) {
913
+ function isJson12(value) {
834
914
  if (value === null) {
835
915
  return false;
836
916
  }
@@ -850,29 +930,29 @@ function isJson11(value) {
850
930
  const allPropertiesMatchFormat = true;
851
931
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
852
932
  }
853
- function fromJson12($model) {
933
+ function fromJson13($model) {
854
934
  const { start, end } = $model;
855
935
  return {
856
- start: fromJson11(start),
857
- end: fromJson11(end)
936
+ start: fromJson12(start),
937
+ end: fromJson12(end)
858
938
  };
859
939
  }
860
- function toJson12($model) {
940
+ function toJson13($model) {
861
941
  const { start, end } = $model;
862
942
  return {
863
- start: toJson11(start),
864
- end: toJson11(end)
943
+ start: toJson12(start),
944
+ end: toJson12(end)
865
945
  };
866
946
  }
867
947
  function fromFormData(formData) {
868
948
  const formDataEntries = Object.fromEntries(formData.map((data) => [data.name, data.value]));
869
949
  return {
870
- start: fromJson11(JSON.parse(formDataEntries["start"])),
871
- end: fromJson11(JSON.parse(formDataEntries["end"]))
950
+ start: fromJson12(JSON.parse(formDataEntries["start"])),
951
+ end: fromJson12(JSON.parse(formDataEntries["end"]))
872
952
  };
873
953
  }
874
954
  function toFormData($model) {
875
- const json = toJson12($model);
955
+ const json = toJson13($model);
876
956
  const body = [
877
957
  { name: "start", type: "json", value: json["start"] },
878
958
  { name: "end", type: "json", value: json["end"] }
@@ -890,7 +970,7 @@ function isDqlContainerNode2($model) {
890
970
  function isDqlAlternativeNode2($model) {
891
971
  return $model["nodeType"] === "ALTERNATIVE";
892
972
  }
893
- function isJson12(value) {
973
+ function isJson13(value) {
894
974
  if (value === null) {
895
975
  return false;
896
976
  }
@@ -910,43 +990,43 @@ function isJson12(value) {
910
990
  const allPropertiesMatchFormat = true;
911
991
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
912
992
  }
913
- function fromJson6($model, includeChildProps = true) {
993
+ function fromJson7($model, includeChildProps = true) {
914
994
  if (includeChildProps) {
915
995
  switch ($model.nodeType) {
916
996
  case "TERMINAL":
917
- return fromJson10($model);
997
+ return fromJson11($model);
918
998
  case "CONTAINER":
919
- return fromJson8($model);
999
+ return fromJson9($model);
920
1000
  case "ALTERNATIVE":
921
- return fromJson7($model);
1001
+ return fromJson8($model);
922
1002
  default:
923
- return fromJson6($model, false);
1003
+ return fromJson7($model, false);
924
1004
  }
925
1005
  }
926
1006
  const { nodeType, tokenPosition, isOptional } = $model;
927
1007
  return {
928
- nodeType: fromJson9(nodeType),
929
- tokenPosition: tokenPosition !== void 0 && tokenPosition !== null ? fromJson12(tokenPosition) : void 0,
1008
+ nodeType: fromJson10(nodeType),
1009
+ tokenPosition: tokenPosition !== void 0 && tokenPosition !== null ? fromJson13(tokenPosition) : void 0,
930
1010
  isOptional
931
1011
  };
932
1012
  }
933
- function toJson6($model, includeChildProps = true) {
1013
+ function toJson7($model, includeChildProps = true) {
934
1014
  if (includeChildProps) {
935
1015
  switch ($model.nodeType) {
936
1016
  case "TERMINAL":
937
- return toJson10($model);
1017
+ return toJson11($model);
938
1018
  case "CONTAINER":
939
- return toJson8($model);
1019
+ return toJson9($model);
940
1020
  case "ALTERNATIVE":
941
- return toJson7($model);
1021
+ return toJson8($model);
942
1022
  default:
943
- return toJson6($model, false);
1023
+ return toJson7($model, false);
944
1024
  }
945
1025
  }
946
1026
  const { nodeType, tokenPosition, isOptional } = $model;
947
1027
  return {
948
- nodeType: toJson9(nodeType),
949
- tokenPosition: tokenPosition !== void 0 && tokenPosition !== null ? toJson12(tokenPosition) : void 0,
1028
+ nodeType: toJson10(nodeType),
1029
+ tokenPosition: tokenPosition !== void 0 && tokenPosition !== null ? toJson13(tokenPosition) : void 0,
950
1030
  isOptional
951
1031
  };
952
1032
  }
@@ -955,29 +1035,29 @@ function toJson6($model, includeChildProps = true) {
955
1035
  var error_envelope_transformation_exports = {};
956
1036
  __export(error_envelope_transformation_exports, {
957
1037
  fromFormData: () => fromFormData2,
958
- fromJson: () => fromJson15,
1038
+ fromJson: () => fromJson16,
959
1039
  isErrorEnvelope: () => isErrorEnvelope,
960
- isJson: () => isJson15,
1040
+ isJson: () => isJson16,
961
1041
  toFormData: () => toFormData2,
962
- toJson: () => toJson15
1042
+ toJson: () => toJson16
963
1043
  });
964
1044
 
965
1045
  // packages/client/query/src/lib/models/error-response.transformation.ts
966
1046
  var error_response_transformation_exports = {};
967
1047
  __export(error_response_transformation_exports, {
968
- fromJson: () => fromJson14,
1048
+ fromJson: () => fromJson15,
969
1049
  isErrorResponse: () => isErrorResponse,
970
- isJson: () => isJson14,
971
- toJson: () => toJson14
1050
+ isJson: () => isJson15,
1051
+ toJson: () => toJson15
972
1052
  });
973
1053
 
974
1054
  // packages/client/query/src/lib/models/error-response-details.transformation.ts
975
1055
  var error_response_details_transformation_exports = {};
976
1056
  __export(error_response_details_transformation_exports, {
977
- fromJson: () => fromJson13,
1057
+ fromJson: () => fromJson14,
978
1058
  isErrorResponseDetails: () => isErrorResponseDetails,
979
- isJson: () => isJson13,
980
- toJson: () => toJson13
1059
+ isJson: () => isJson14,
1060
+ toJson: () => toJson14
981
1061
  });
982
1062
  function isErrorResponseDetails(value) {
983
1063
  if (value === null) {
@@ -1017,7 +1097,7 @@ function isErrorResponseDetails(value) {
1017
1097
  const allPropertiesMatchFormat = true;
1018
1098
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
1019
1099
  }
1020
- function isJson13(value) {
1100
+ function isJson14(value) {
1021
1101
  if (value === null) {
1022
1102
  return false;
1023
1103
  }
@@ -1055,7 +1135,7 @@ function isJson13(value) {
1055
1135
  const allPropertiesMatchFormat = true;
1056
1136
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
1057
1137
  }
1058
- function fromJson13($model) {
1138
+ function fromJson14($model) {
1059
1139
  const {
1060
1140
  exceptionType,
1061
1141
  syntaxErrorPosition,
@@ -1069,7 +1149,7 @@ function fromJson13($model) {
1069
1149
  } = $model;
1070
1150
  return {
1071
1151
  exceptionType,
1072
- syntaxErrorPosition: syntaxErrorPosition !== void 0 && syntaxErrorPosition !== null ? fromJson12(syntaxErrorPosition) : void 0,
1152
+ syntaxErrorPosition: syntaxErrorPosition !== void 0 && syntaxErrorPosition !== null ? fromJson13(syntaxErrorPosition) : void 0,
1073
1153
  errorType,
1074
1154
  errorMessage,
1075
1155
  arguments: _arguments?.slice(0),
@@ -1079,7 +1159,7 @@ function fromJson13($model) {
1079
1159
  queryId
1080
1160
  };
1081
1161
  }
1082
- function toJson13($model) {
1162
+ function toJson14($model) {
1083
1163
  const {
1084
1164
  exceptionType,
1085
1165
  syntaxErrorPosition,
@@ -1093,7 +1173,7 @@ function toJson13($model) {
1093
1173
  } = $model;
1094
1174
  return {
1095
1175
  exceptionType,
1096
- syntaxErrorPosition: syntaxErrorPosition !== void 0 && syntaxErrorPosition !== null ? toJson12(syntaxErrorPosition) : void 0,
1176
+ syntaxErrorPosition: syntaxErrorPosition !== void 0 && syntaxErrorPosition !== null ? toJson13(syntaxErrorPosition) : void 0,
1097
1177
  errorType,
1098
1178
  errorMessage,
1099
1179
  arguments: _arguments?.slice(0),
@@ -1125,7 +1205,7 @@ function isErrorResponse(value) {
1125
1205
  const allPropertiesMatchFormat = true;
1126
1206
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
1127
1207
  }
1128
- function isJson14(value) {
1208
+ function isJson15(value) {
1129
1209
  if (value === null) {
1130
1210
  return false;
1131
1211
  }
@@ -1145,19 +1225,19 @@ function isJson14(value) {
1145
1225
  const allPropertiesMatchFormat = true;
1146
1226
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
1147
1227
  }
1148
- function fromJson14($model) {
1228
+ function fromJson15($model) {
1149
1229
  const { message, details, code } = $model;
1150
1230
  return {
1151
1231
  message,
1152
- details: fromJson13(details),
1232
+ details: fromJson14(details),
1153
1233
  code
1154
1234
  };
1155
1235
  }
1156
- function toJson14($model) {
1236
+ function toJson15($model) {
1157
1237
  const { message, details, code } = $model;
1158
1238
  return {
1159
1239
  message,
1160
- details: toJson13(details),
1240
+ details: toJson14(details),
1161
1241
  code
1162
1242
  };
1163
1243
  }
@@ -1183,7 +1263,7 @@ function isErrorEnvelope(value) {
1183
1263
  const allPropertiesMatchFormat = true;
1184
1264
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
1185
1265
  }
1186
- function isJson15(value) {
1266
+ function isJson16(value) {
1187
1267
  if (value === null) {
1188
1268
  return false;
1189
1269
  }
@@ -1203,26 +1283,26 @@ function isJson15(value) {
1203
1283
  const allPropertiesMatchFormat = true;
1204
1284
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
1205
1285
  }
1206
- function fromJson15($model) {
1286
+ function fromJson16($model) {
1207
1287
  const { error } = $model;
1208
1288
  return {
1209
- error: fromJson14(error)
1289
+ error: fromJson15(error)
1210
1290
  };
1211
1291
  }
1212
- function toJson15($model) {
1292
+ function toJson16($model) {
1213
1293
  const { error } = $model;
1214
1294
  return {
1215
- error: toJson14(error)
1295
+ error: toJson15(error)
1216
1296
  };
1217
1297
  }
1218
1298
  function fromFormData2(formData) {
1219
1299
  const formDataEntries = Object.fromEntries(formData.map((data) => [data.name, data.value]));
1220
1300
  return {
1221
- error: fromJson14(JSON.parse(formDataEntries["error"]))
1301
+ error: fromJson15(JSON.parse(formDataEntries["error"]))
1222
1302
  };
1223
1303
  }
1224
1304
  function toFormData2($model) {
1225
- const json = toJson15($model);
1305
+ const json = toJson16($model);
1226
1306
  const body = [{ name: "error", type: "json", value: json["error"] }];
1227
1307
  return body;
1228
1308
  }
@@ -1230,10 +1310,10 @@ function toFormData2($model) {
1230
1310
  // packages/client/query/src/lib/models/parse-request.transformation.ts
1231
1311
  var parse_request_transformation_exports = {};
1232
1312
  __export(parse_request_transformation_exports, {
1233
- fromJson: () => fromJson16,
1234
- isJson: () => isJson16,
1313
+ fromJson: () => fromJson17,
1314
+ isJson: () => isJson17,
1235
1315
  isParseRequest: () => isParseRequest,
1236
- toJson: () => toJson16
1316
+ toJson: () => toJson17
1237
1317
  });
1238
1318
  function isParseRequest(value) {
1239
1319
  if (value === null) {
@@ -1245,17 +1325,17 @@ function isParseRequest(value) {
1245
1325
  if (Array.isArray(value)) {
1246
1326
  return false;
1247
1327
  }
1248
- const modelKeys = /* @__PURE__ */ new Set(["query", "timezone", "locale"]);
1328
+ const modelKeys = /* @__PURE__ */ new Set(["query", "timezone", "locale", "queryOptions"]);
1249
1329
  const hasAdditionalProperties = false;
1250
1330
  const requiredKeys = ["query"];
1251
- const optionalKeys = ["timezone", "locale"];
1331
+ const optionalKeys = ["timezone", "locale", "queryOptions"];
1252
1332
  const valKeys = new Set(Object.keys(value));
1253
1333
  const containsRequiredOrOptionalKeys = requiredKeys.length > 0 ? requiredKeys.every((reqKey) => valKeys.has(reqKey)) : optionalKeys.some((key) => valKeys.has(key)) || hasAdditionalProperties;
1254
1334
  const doesNotContainExtraKeys = [...valKeys].every((key) => modelKeys.has(key)) || hasAdditionalProperties;
1255
1335
  const allPropertiesMatchFormat = true;
1256
1336
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
1257
1337
  }
1258
- function isJson16(value) {
1338
+ function isJson17(value) {
1259
1339
  if (value === null) {
1260
1340
  return false;
1261
1341
  }
@@ -1265,40 +1345,42 @@ function isJson16(value) {
1265
1345
  if (Array.isArray(value)) {
1266
1346
  return false;
1267
1347
  }
1268
- const modelKeys = /* @__PURE__ */ new Set(["query", "timezone", "locale"]);
1348
+ const modelKeys = /* @__PURE__ */ new Set(["query", "timezone", "locale", "queryOptions"]);
1269
1349
  const hasAdditionalProperties = false;
1270
1350
  const requiredKeys = ["query"];
1271
- const optionalKeys = ["timezone", "locale"];
1351
+ const optionalKeys = ["timezone", "locale", "queryOptions"];
1272
1352
  const valKeys = new Set(Object.keys(value));
1273
1353
  const containsRequiredOrOptionalKeys = requiredKeys.length > 0 ? requiredKeys.every((reqKey) => valKeys.has(reqKey)) : optionalKeys.some((key) => valKeys.has(key)) || hasAdditionalProperties;
1274
1354
  const doesNotContainExtraKeys = [...valKeys].every((key) => modelKeys.has(key)) || hasAdditionalProperties;
1275
1355
  const allPropertiesMatchFormat = true;
1276
1356
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
1277
1357
  }
1278
- function fromJson16($model) {
1279
- const { query, timezone, locale } = $model;
1358
+ function fromJson17($model) {
1359
+ const { query, timezone, locale, queryOptions } = $model;
1280
1360
  return {
1281
1361
  query,
1282
1362
  timezone,
1283
- locale
1363
+ locale,
1364
+ queryOptions: queryOptions !== void 0 && queryOptions !== null ? fromJson(queryOptions) : void 0
1284
1365
  };
1285
1366
  }
1286
- function toJson16($model) {
1287
- const { query, timezone, locale } = $model;
1367
+ function toJson17($model) {
1368
+ const { query, timezone, locale, queryOptions } = $model;
1288
1369
  return {
1289
1370
  query,
1290
1371
  timezone,
1291
- locale
1372
+ locale,
1373
+ queryOptions: queryOptions !== void 0 && queryOptions !== null ? toJson(queryOptions) : void 0
1292
1374
  };
1293
1375
  }
1294
1376
 
1295
1377
  // packages/client/query/src/lib/models/verify-request.transformation.ts
1296
1378
  var verify_request_transformation_exports = {};
1297
1379
  __export(verify_request_transformation_exports, {
1298
- fromJson: () => fromJson17,
1299
- isJson: () => isJson17,
1380
+ fromJson: () => fromJson18,
1381
+ isJson: () => isJson18,
1300
1382
  isVerifyRequest: () => isVerifyRequest,
1301
- toJson: () => toJson17
1383
+ toJson: () => toJson18
1302
1384
  });
1303
1385
  function isVerifyRequest(value) {
1304
1386
  if (value === null) {
@@ -1310,17 +1392,17 @@ function isVerifyRequest(value) {
1310
1392
  if (Array.isArray(value)) {
1311
1393
  return false;
1312
1394
  }
1313
- const modelKeys = /* @__PURE__ */ new Set(["query", "timezone", "locale"]);
1395
+ const modelKeys = /* @__PURE__ */ new Set(["query", "timezone", "locale", "queryOptions"]);
1314
1396
  const hasAdditionalProperties = false;
1315
1397
  const requiredKeys = ["query"];
1316
- const optionalKeys = ["timezone", "locale"];
1398
+ const optionalKeys = ["timezone", "locale", "queryOptions"];
1317
1399
  const valKeys = new Set(Object.keys(value));
1318
1400
  const containsRequiredOrOptionalKeys = requiredKeys.length > 0 ? requiredKeys.every((reqKey) => valKeys.has(reqKey)) : optionalKeys.some((key) => valKeys.has(key)) || hasAdditionalProperties;
1319
1401
  const doesNotContainExtraKeys = [...valKeys].every((key) => modelKeys.has(key)) || hasAdditionalProperties;
1320
1402
  const allPropertiesMatchFormat = true;
1321
1403
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
1322
1404
  }
1323
- function isJson17(value) {
1405
+ function isJson18(value) {
1324
1406
  if (value === null) {
1325
1407
  return false;
1326
1408
  }
@@ -1330,49 +1412,51 @@ function isJson17(value) {
1330
1412
  if (Array.isArray(value)) {
1331
1413
  return false;
1332
1414
  }
1333
- const modelKeys = /* @__PURE__ */ new Set(["query", "timezone", "locale"]);
1415
+ const modelKeys = /* @__PURE__ */ new Set(["query", "timezone", "locale", "queryOptions"]);
1334
1416
  const hasAdditionalProperties = false;
1335
1417
  const requiredKeys = ["query"];
1336
- const optionalKeys = ["timezone", "locale"];
1418
+ const optionalKeys = ["timezone", "locale", "queryOptions"];
1337
1419
  const valKeys = new Set(Object.keys(value));
1338
1420
  const containsRequiredOrOptionalKeys = requiredKeys.length > 0 ? requiredKeys.every((reqKey) => valKeys.has(reqKey)) : optionalKeys.some((key) => valKeys.has(key)) || hasAdditionalProperties;
1339
1421
  const doesNotContainExtraKeys = [...valKeys].every((key) => modelKeys.has(key)) || hasAdditionalProperties;
1340
1422
  const allPropertiesMatchFormat = true;
1341
1423
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
1342
1424
  }
1343
- function fromJson17($model) {
1344
- const { query, timezone, locale } = $model;
1425
+ function fromJson18($model) {
1426
+ const { query, timezone, locale, queryOptions } = $model;
1345
1427
  return {
1346
1428
  query,
1347
1429
  timezone,
1348
- locale
1430
+ locale,
1431
+ queryOptions: queryOptions !== void 0 && queryOptions !== null ? fromJson(queryOptions) : void 0
1349
1432
  };
1350
1433
  }
1351
- function toJson17($model) {
1352
- const { query, timezone, locale } = $model;
1434
+ function toJson18($model) {
1435
+ const { query, timezone, locale, queryOptions } = $model;
1353
1436
  return {
1354
1437
  query,
1355
1438
  timezone,
1356
- locale
1439
+ locale,
1440
+ queryOptions: queryOptions !== void 0 && queryOptions !== null ? toJson(queryOptions) : void 0
1357
1441
  };
1358
1442
  }
1359
1443
 
1360
1444
  // packages/client/query/src/lib/models/verify-response.transformation.ts
1361
1445
  var verify_response_transformation_exports = {};
1362
1446
  __export(verify_response_transformation_exports, {
1363
- fromJson: () => fromJson19,
1364
- isJson: () => isJson19,
1447
+ fromJson: () => fromJson20,
1448
+ isJson: () => isJson20,
1365
1449
  isVerifyResponse: () => isVerifyResponse,
1366
- toJson: () => toJson19
1450
+ toJson: () => toJson20
1367
1451
  });
1368
1452
 
1369
1453
  // packages/client/query/src/lib/models/metadata-notification.transformation.ts
1370
1454
  var metadata_notification_transformation_exports = {};
1371
1455
  __export(metadata_notification_transformation_exports, {
1372
- fromJson: () => fromJson18,
1373
- isJson: () => isJson18,
1456
+ fromJson: () => fromJson19,
1457
+ isJson: () => isJson19,
1374
1458
  isMetadataNotification: () => isMetadataNotification,
1375
- toJson: () => toJson18
1459
+ toJson: () => toJson19
1376
1460
  });
1377
1461
  function isMetadataNotification(value) {
1378
1462
  if (value === null) {
@@ -1410,7 +1494,7 @@ function isMetadataNotification(value) {
1410
1494
  const allPropertiesMatchFormat = true;
1411
1495
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
1412
1496
  }
1413
- function isJson18(value) {
1497
+ function isJson19(value) {
1414
1498
  if (value === null) {
1415
1499
  return false;
1416
1500
  }
@@ -1446,7 +1530,7 @@ function isJson18(value) {
1446
1530
  const allPropertiesMatchFormat = true;
1447
1531
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
1448
1532
  }
1449
- function fromJson18($model) {
1533
+ function fromJson19($model) {
1450
1534
  const {
1451
1535
  severity,
1452
1536
  messageFormat,
@@ -1459,14 +1543,14 @@ function fromJson18($model) {
1459
1543
  return {
1460
1544
  severity,
1461
1545
  messageFormat,
1462
- syntaxPosition: syntaxPosition !== void 0 && syntaxPosition !== null ? fromJson12(syntaxPosition) : void 0,
1546
+ syntaxPosition: syntaxPosition !== void 0 && syntaxPosition !== null ? fromJson13(syntaxPosition) : void 0,
1463
1547
  messageFormatSpecifierTypes: messageFormatSpecifierTypes !== void 0 && messageFormatSpecifierTypes !== null ? messageFormatSpecifierTypes?.slice(0) : void 0,
1464
1548
  arguments: _arguments !== void 0 && _arguments !== null ? _arguments?.slice(0) : void 0,
1465
1549
  notificationType,
1466
1550
  message
1467
1551
  };
1468
1552
  }
1469
- function toJson18($model) {
1553
+ function toJson19($model) {
1470
1554
  const {
1471
1555
  severity,
1472
1556
  messageFormat,
@@ -1479,7 +1563,7 @@ function toJson18($model) {
1479
1563
  return {
1480
1564
  severity,
1481
1565
  messageFormat,
1482
- syntaxPosition: syntaxPosition !== void 0 && syntaxPosition !== null ? toJson12(syntaxPosition) : void 0,
1566
+ syntaxPosition: syntaxPosition !== void 0 && syntaxPosition !== null ? toJson13(syntaxPosition) : void 0,
1483
1567
  messageFormatSpecifierTypes: messageFormatSpecifierTypes !== void 0 && messageFormatSpecifierTypes !== null ? messageFormatSpecifierTypes?.slice(0) : void 0,
1484
1568
  arguments: _arguments !== void 0 && _arguments !== null ? _arguments?.slice(0) : void 0,
1485
1569
  notificationType,
@@ -1508,7 +1592,7 @@ function isVerifyResponse(value) {
1508
1592
  const allPropertiesMatchFormat = true;
1509
1593
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
1510
1594
  }
1511
- function isJson19(value) {
1595
+ function isJson20(value) {
1512
1596
  if (value === null) {
1513
1597
  return false;
1514
1598
  }
@@ -1528,18 +1612,18 @@ function isJson19(value) {
1528
1612
  const allPropertiesMatchFormat = true;
1529
1613
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
1530
1614
  }
1531
- function fromJson19($model) {
1615
+ function fromJson20($model) {
1532
1616
  const { valid, notifications } = $model;
1533
1617
  return {
1534
1618
  valid,
1535
- notifications: notifications !== void 0 && notifications !== null ? notifications?.map((innerValue) => fromJson18(innerValue)) : void 0
1619
+ notifications: notifications !== void 0 && notifications !== null ? notifications?.map((innerValue) => fromJson19(innerValue)) : void 0
1536
1620
  };
1537
1621
  }
1538
- function toJson19($model) {
1622
+ function toJson20($model) {
1539
1623
  const { valid, notifications } = $model;
1540
1624
  return {
1541
1625
  valid,
1542
- notifications: notifications !== void 0 && notifications !== null ? notifications?.map((innerValue) => toJson18(innerValue)) : void 0
1626
+ notifications: notifications !== void 0 && notifications !== null ? notifications?.map((innerValue) => toJson19(innerValue)) : void 0
1543
1627
  };
1544
1628
  }
1545
1629
 
@@ -1554,7 +1638,7 @@ var QueryAssistanceClient = class {
1554
1638
  if (!config) {
1555
1639
  throw new ApiClientError("API client error", "API client call is missing mandatory config parameter");
1556
1640
  }
1557
- const encodedBody = toJson17(config.body);
1641
+ const encodedBody = toJson18(config.body);
1558
1642
  const headerParameters = {
1559
1643
  ...config.authorization !== void 0 && { Authorization: String(config.authorization) }
1560
1644
  };
@@ -1576,7 +1660,7 @@ var QueryAssistanceClient = class {
1576
1660
  });
1577
1661
  const responseValue = await response.body("json");
1578
1662
  try {
1579
- return fromJson19(responseValue);
1663
+ return fromJson20(responseValue);
1580
1664
  } catch (err) {
1581
1665
  throw new InvalidResponseError(
1582
1666
  `QueryAssistanceClient.query:verify:200`,
@@ -1598,7 +1682,7 @@ var QueryAssistanceClient = class {
1598
1682
  case 400: {
1599
1683
  const responseValue = await response.body("json");
1600
1684
  try {
1601
- const errorBody = fromJson15(responseValue);
1685
+ const errorBody = fromJson16(responseValue);
1602
1686
  throw new ErrorEnvelopeError(
1603
1687
  "400",
1604
1688
  response,
@@ -1622,7 +1706,7 @@ var QueryAssistanceClient = class {
1622
1706
  case 500: {
1623
1707
  const responseValue = await response.body("json");
1624
1708
  try {
1625
- const errorBody = fromJson15(responseValue);
1709
+ const errorBody = fromJson16(responseValue);
1626
1710
  throw new ErrorEnvelopeError(
1627
1711
  "500",
1628
1712
  response,
@@ -1660,7 +1744,7 @@ var QueryAssistanceClient = class {
1660
1744
  if (!config) {
1661
1745
  throw new ApiClientError("API client error", "API client call is missing mandatory config parameter");
1662
1746
  }
1663
- const encodedBody = toJson16(config.body);
1747
+ const encodedBody = toJson17(config.body);
1664
1748
  const headerParameters = {
1665
1749
  ...config.authorization !== void 0 && { Authorization: String(config.authorization) }
1666
1750
  };
@@ -1682,7 +1766,7 @@ var QueryAssistanceClient = class {
1682
1766
  });
1683
1767
  const responseValue = await response.body("json");
1684
1768
  try {
1685
- return fromJson6(responseValue);
1769
+ return fromJson7(responseValue);
1686
1770
  } catch (err) {
1687
1771
  throw new InvalidResponseError(
1688
1772
  `QueryAssistanceClient.query:parse:200`,
@@ -1704,7 +1788,7 @@ var QueryAssistanceClient = class {
1704
1788
  case 400: {
1705
1789
  const responseValue = await response.body("json");
1706
1790
  try {
1707
- const errorBody = fromJson15(responseValue);
1791
+ const errorBody = fromJson16(responseValue);
1708
1792
  throw new ErrorEnvelopeError(
1709
1793
  "400",
1710
1794
  response,
@@ -1731,7 +1815,7 @@ var QueryAssistanceClient = class {
1731
1815
  case 500: {
1732
1816
  const responseValue = await response.body("json");
1733
1817
  try {
1734
- const errorBody = fromJson15(responseValue);
1818
+ const errorBody = fromJson16(responseValue);
1735
1819
  throw new ErrorEnvelopeError(
1736
1820
  "500",
1737
1821
  response,
@@ -1769,7 +1853,7 @@ var QueryAssistanceClient = class {
1769
1853
  if (!config) {
1770
1854
  throw new ApiClientError("API client error", "API client call is missing mandatory config parameter");
1771
1855
  }
1772
- const encodedBody = toJson(config.body);
1856
+ const encodedBody = toJson2(config.body);
1773
1857
  const headerParameters = {
1774
1858
  ...config.authorization !== void 0 && { Authorization: String(config.authorization) }
1775
1859
  };
@@ -1791,7 +1875,7 @@ var QueryAssistanceClient = class {
1791
1875
  });
1792
1876
  const responseValue = await response.body("json");
1793
1877
  try {
1794
- return fromJson5(responseValue);
1878
+ return fromJson6(responseValue);
1795
1879
  } catch (err) {
1796
1880
  throw new InvalidResponseError(
1797
1881
  `QueryAssistanceClient.query:autocomplete:200`,
@@ -1813,7 +1897,7 @@ var QueryAssistanceClient = class {
1813
1897
  case 400: {
1814
1898
  const responseValue = await response.body("json");
1815
1899
  try {
1816
- const errorBody = fromJson15(responseValue);
1900
+ const errorBody = fromJson16(responseValue);
1817
1901
  throw new ErrorEnvelopeError(
1818
1902
  "400",
1819
1903
  response,
@@ -1840,7 +1924,7 @@ var QueryAssistanceClient = class {
1840
1924
  case 500: {
1841
1925
  const responseValue = await response.body("json");
1842
1926
  try {
1843
- const errorBody = fromJson15(responseValue);
1927
+ const errorBody = fromJson16(responseValue);
1844
1928
  throw new ErrorEnvelopeError(
1845
1929
  "500",
1846
1930
  response,
@@ -1883,10 +1967,10 @@ var import_http_client2 = require("@dynatrace-sdk/http-client");
1883
1967
  // packages/client/query/src/lib/models/execute-request.transformation.ts
1884
1968
  var execute_request_transformation_exports = {};
1885
1969
  __export(execute_request_transformation_exports, {
1886
- fromJson: () => fromJson20,
1970
+ fromJson: () => fromJson21,
1887
1971
  isExecuteRequest: () => isExecuteRequest,
1888
- isJson: () => isJson20,
1889
- toJson: () => toJson20
1972
+ isJson: () => isJson21,
1973
+ toJson: () => toJson21
1890
1974
  });
1891
1975
  function isExecuteRequest(value) {
1892
1976
  if (value === null) {
@@ -1910,7 +1994,8 @@ function isExecuteRequest(value) {
1910
1994
  "requestTimeoutMilliseconds",
1911
1995
  "enablePreview",
1912
1996
  "defaultSamplingRatio",
1913
- "defaultScanLimitGbytes"
1997
+ "defaultScanLimitGbytes",
1998
+ "queryOptions"
1914
1999
  ]);
1915
2000
  const hasAdditionalProperties = false;
1916
2001
  const requiredKeys = ["query"];
@@ -1925,7 +2010,8 @@ function isExecuteRequest(value) {
1925
2010
  "requestTimeoutMilliseconds",
1926
2011
  "enablePreview",
1927
2012
  "defaultSamplingRatio",
1928
- "defaultScanLimitGbytes"
2013
+ "defaultScanLimitGbytes",
2014
+ "queryOptions"
1929
2015
  ];
1930
2016
  const valKeys = new Set(Object.keys(value));
1931
2017
  const containsRequiredOrOptionalKeys = requiredKeys.length > 0 ? requiredKeys.every((reqKey) => valKeys.has(reqKey)) : optionalKeys.some((key) => valKeys.has(key)) || hasAdditionalProperties;
@@ -1933,7 +2019,7 @@ function isExecuteRequest(value) {
1933
2019
  const allPropertiesMatchFormat = true;
1934
2020
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
1935
2021
  }
1936
- function isJson20(value) {
2022
+ function isJson21(value) {
1937
2023
  if (value === null) {
1938
2024
  return false;
1939
2025
  }
@@ -1955,7 +2041,8 @@ function isJson20(value) {
1955
2041
  "requestTimeoutMilliseconds",
1956
2042
  "enablePreview",
1957
2043
  "defaultSamplingRatio",
1958
- "defaultScanLimitGbytes"
2044
+ "defaultScanLimitGbytes",
2045
+ "queryOptions"
1959
2046
  ]);
1960
2047
  const hasAdditionalProperties = false;
1961
2048
  const requiredKeys = ["query"];
@@ -1970,7 +2057,8 @@ function isJson20(value) {
1970
2057
  "requestTimeoutMilliseconds",
1971
2058
  "enablePreview",
1972
2059
  "defaultSamplingRatio",
1973
- "defaultScanLimitGbytes"
2060
+ "defaultScanLimitGbytes",
2061
+ "queryOptions"
1974
2062
  ];
1975
2063
  const valKeys = new Set(Object.keys(value));
1976
2064
  const containsRequiredOrOptionalKeys = requiredKeys.length > 0 ? requiredKeys.every((reqKey) => valKeys.has(reqKey)) : optionalKeys.some((key) => valKeys.has(key)) || hasAdditionalProperties;
@@ -1978,7 +2066,7 @@ function isJson20(value) {
1978
2066
  const allPropertiesMatchFormat = true;
1979
2067
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
1980
2068
  }
1981
- function fromJson20($model) {
2069
+ function fromJson21($model) {
1982
2070
  const {
1983
2071
  query,
1984
2072
  defaultTimeframeStart,
@@ -1991,7 +2079,8 @@ function fromJson20($model) {
1991
2079
  requestTimeoutMilliseconds,
1992
2080
  enablePreview,
1993
2081
  defaultSamplingRatio,
1994
- defaultScanLimitGbytes
2082
+ defaultScanLimitGbytes,
2083
+ queryOptions
1995
2084
  } = $model;
1996
2085
  return {
1997
2086
  query,
@@ -2005,10 +2094,11 @@ function fromJson20($model) {
2005
2094
  requestTimeoutMilliseconds,
2006
2095
  enablePreview,
2007
2096
  defaultSamplingRatio,
2008
- defaultScanLimitGbytes
2097
+ defaultScanLimitGbytes,
2098
+ queryOptions: queryOptions !== void 0 && queryOptions !== null ? fromJson(queryOptions) : void 0
2009
2099
  };
2010
2100
  }
2011
- function toJson20($model) {
2101
+ function toJson21($model) {
2012
2102
  const {
2013
2103
  query,
2014
2104
  defaultTimeframeStart,
@@ -2021,7 +2111,8 @@ function toJson20($model) {
2021
2111
  requestTimeoutMilliseconds,
2022
2112
  enablePreview,
2023
2113
  defaultSamplingRatio,
2024
- defaultScanLimitGbytes
2114
+ defaultScanLimitGbytes,
2115
+ queryOptions
2025
2116
  } = $model;
2026
2117
  return {
2027
2118
  query,
@@ -2035,53 +2126,54 @@ function toJson20($model) {
2035
2126
  requestTimeoutMilliseconds,
2036
2127
  enablePreview,
2037
2128
  defaultSamplingRatio,
2038
- defaultScanLimitGbytes
2129
+ defaultScanLimitGbytes,
2130
+ queryOptions: queryOptions !== void 0 && queryOptions !== null ? toJson(queryOptions) : void 0
2039
2131
  };
2040
2132
  }
2041
2133
 
2042
2134
  // packages/client/query/src/lib/models/query-poll-response.transformation.ts
2043
2135
  var query_poll_response_transformation_exports = {};
2044
2136
  __export(query_poll_response_transformation_exports, {
2045
- fromJson: () => fromJson34,
2046
- isJson: () => isJson34,
2137
+ fromJson: () => fromJson35,
2138
+ isJson: () => isJson35,
2047
2139
  isQueryPollResponse: () => isQueryPollResponse,
2048
- toJson: () => toJson34
2140
+ toJson: () => toJson35
2049
2141
  });
2050
2142
 
2051
2143
  // packages/client/query/src/lib/models/query-result.transformation.ts
2052
2144
  var query_result_transformation_exports = {};
2053
2145
  __export(query_result_transformation_exports, {
2054
- fromJson: () => fromJson32,
2055
- isJson: () => isJson32,
2146
+ fromJson: () => fromJson33,
2147
+ isJson: () => isJson33,
2056
2148
  isQueryResult: () => isQueryResult,
2057
- toJson: () => toJson32
2149
+ toJson: () => toJson33
2058
2150
  });
2059
2151
 
2060
2152
  // packages/client/query/src/lib/models/metadata.transformation.ts
2061
2153
  var metadata_transformation_exports = {};
2062
2154
  __export(metadata_transformation_exports, {
2063
- fromJson: () => fromJson24,
2064
- isJson: () => isJson24,
2155
+ fromJson: () => fromJson25,
2156
+ isJson: () => isJson25,
2065
2157
  isMetadata: () => isMetadata,
2066
- toJson: () => toJson24
2158
+ toJson: () => toJson25
2067
2159
  });
2068
2160
 
2069
2161
  // packages/client/query/src/lib/models/grail-metadata.transformation.ts
2070
2162
  var grail_metadata_transformation_exports = {};
2071
2163
  __export(grail_metadata_transformation_exports, {
2072
- fromJson: () => fromJson22,
2164
+ fromJson: () => fromJson23,
2073
2165
  isGrailMetadata: () => isGrailMetadata,
2074
- isJson: () => isJson22,
2075
- toJson: () => toJson22
2166
+ isJson: () => isJson23,
2167
+ toJson: () => toJson23
2076
2168
  });
2077
2169
 
2078
2170
  // packages/client/query/src/lib/models/timeframe.transformation.ts
2079
2171
  var timeframe_transformation_exports = {};
2080
2172
  __export(timeframe_transformation_exports, {
2081
- fromJson: () => fromJson21,
2082
- isJson: () => isJson21,
2173
+ fromJson: () => fromJson22,
2174
+ isJson: () => isJson22,
2083
2175
  isTimeframe: () => isTimeframe,
2084
- toJson: () => toJson21
2176
+ toJson: () => toJson22
2085
2177
  });
2086
2178
  function isTimeframe(value) {
2087
2179
  if (value === null) {
@@ -2103,7 +2195,7 @@ function isTimeframe(value) {
2103
2195
  const allPropertiesMatchFormat = value.start instanceof Date && value.end instanceof Date;
2104
2196
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2105
2197
  }
2106
- function isJson21(value) {
2198
+ function isJson22(value) {
2107
2199
  if (value === null) {
2108
2200
  return false;
2109
2201
  }
@@ -2123,14 +2215,14 @@ function isJson21(value) {
2123
2215
  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);
2124
2216
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2125
2217
  }
2126
- function fromJson21($model) {
2218
+ function fromJson22($model) {
2127
2219
  const { start, end } = $model;
2128
2220
  return {
2129
2221
  start: start !== void 0 && start !== null ? new Date(start) : void 0,
2130
2222
  end: end !== void 0 && end !== null ? new Date(end) : void 0
2131
2223
  };
2132
2224
  }
2133
- function toJson21($model) {
2225
+ function toJson22($model) {
2134
2226
  const { start, end } = $model;
2135
2227
  return {
2136
2228
  start: start !== void 0 && start !== null ? start.toISOString() : void 0,
@@ -2187,7 +2279,7 @@ function isGrailMetadata(value) {
2187
2279
  const allPropertiesMatchFormat = true;
2188
2280
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2189
2281
  }
2190
- function isJson22(value) {
2282
+ function isJson23(value) {
2191
2283
  if (value === null) {
2192
2284
  return false;
2193
2285
  }
@@ -2235,7 +2327,7 @@ function isJson22(value) {
2235
2327
  const allPropertiesMatchFormat = true;
2236
2328
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2237
2329
  }
2238
- function fromJson22($model) {
2330
+ function fromJson23($model) {
2239
2331
  const {
2240
2332
  canonicalQuery,
2241
2333
  timezone,
@@ -2259,15 +2351,15 @@ function fromJson22($model) {
2259
2351
  dqlVersion,
2260
2352
  scannedBytes,
2261
2353
  scannedDataPoints,
2262
- analysisTimeframe: analysisTimeframe !== void 0 && analysisTimeframe !== null ? fromJson21(analysisTimeframe) : void 0,
2354
+ analysisTimeframe: analysisTimeframe !== void 0 && analysisTimeframe !== null ? fromJson22(analysisTimeframe) : void 0,
2263
2355
  locale,
2264
2356
  executionTimeMilliseconds,
2265
- notifications: notifications !== void 0 && notifications !== null ? notifications?.map((innerValue) => fromJson18(innerValue)) : void 0,
2357
+ notifications: notifications !== void 0 && notifications !== null ? notifications?.map((innerValue) => fromJson19(innerValue)) : void 0,
2266
2358
  queryId,
2267
2359
  sampled
2268
2360
  };
2269
2361
  }
2270
- function toJson22($model) {
2362
+ function toJson23($model) {
2271
2363
  const {
2272
2364
  canonicalQuery,
2273
2365
  timezone,
@@ -2291,10 +2383,10 @@ function toJson22($model) {
2291
2383
  dqlVersion,
2292
2384
  scannedBytes,
2293
2385
  scannedDataPoints,
2294
- analysisTimeframe: analysisTimeframe !== void 0 && analysisTimeframe !== null ? toJson21(analysisTimeframe) : void 0,
2386
+ analysisTimeframe: analysisTimeframe !== void 0 && analysisTimeframe !== null ? toJson22(analysisTimeframe) : void 0,
2295
2387
  locale,
2296
2388
  executionTimeMilliseconds,
2297
- notifications: notifications !== void 0 && notifications !== null ? notifications?.map((innerValue) => toJson18(innerValue)) : void 0,
2389
+ notifications: notifications !== void 0 && notifications !== null ? notifications?.map((innerValue) => toJson19(innerValue)) : void 0,
2298
2390
  queryId,
2299
2391
  sampled
2300
2392
  };
@@ -2303,10 +2395,10 @@ function toJson22($model) {
2303
2395
  // packages/client/query/src/lib/models/metric-metadata.transformation.ts
2304
2396
  var metric_metadata_transformation_exports = {};
2305
2397
  __export(metric_metadata_transformation_exports, {
2306
- fromJson: () => fromJson23,
2307
- isJson: () => isJson23,
2398
+ fromJson: () => fromJson24,
2399
+ isJson: () => isJson24,
2308
2400
  isMetricMetadata: () => isMetricMetadata,
2309
- toJson: () => toJson23
2401
+ toJson: () => toJson24
2310
2402
  });
2311
2403
  function isMetricMetadata(value) {
2312
2404
  if (value === null) {
@@ -2325,18 +2417,28 @@ function isMetricMetadata(value) {
2325
2417
  "unit",
2326
2418
  "fieldName",
2327
2419
  "rollup",
2328
- "rate"
2420
+ "rate",
2421
+ "shifted"
2329
2422
  ]);
2330
2423
  const hasAdditionalProperties = false;
2331
2424
  const requiredKeys = [];
2332
- const optionalKeys = ["metric.key", "displayName", "description", "unit", "fieldName", "rollup", "rate"];
2425
+ const optionalKeys = [
2426
+ "metric.key",
2427
+ "displayName",
2428
+ "description",
2429
+ "unit",
2430
+ "fieldName",
2431
+ "rollup",
2432
+ "rate",
2433
+ "shifted"
2434
+ ];
2333
2435
  const valKeys = new Set(Object.keys(value));
2334
2436
  const containsRequiredOrOptionalKeys = requiredKeys.length > 0 ? requiredKeys.every((reqKey) => valKeys.has(reqKey)) : optionalKeys.some((key) => valKeys.has(key)) || hasAdditionalProperties;
2335
2437
  const doesNotContainExtraKeys = [...valKeys].every((key) => modelKeys.has(key)) || hasAdditionalProperties;
2336
2438
  const allPropertiesMatchFormat = true;
2337
2439
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2338
2440
  }
2339
- function isJson23(value) {
2441
+ function isJson24(value) {
2340
2442
  if (value === null) {
2341
2443
  return false;
2342
2444
  }
@@ -2353,19 +2455,29 @@ function isJson23(value) {
2353
2455
  "unit",
2354
2456
  "fieldName",
2355
2457
  "rollup",
2356
- "rate"
2458
+ "rate",
2459
+ "shifted"
2357
2460
  ]);
2358
2461
  const hasAdditionalProperties = false;
2359
2462
  const requiredKeys = [];
2360
- const optionalKeys = ["metric.key", "displayName", "description", "unit", "fieldName", "rollup", "rate"];
2463
+ const optionalKeys = [
2464
+ "metric.key",
2465
+ "displayName",
2466
+ "description",
2467
+ "unit",
2468
+ "fieldName",
2469
+ "rollup",
2470
+ "rate",
2471
+ "shifted"
2472
+ ];
2361
2473
  const valKeys = new Set(Object.keys(value));
2362
2474
  const containsRequiredOrOptionalKeys = requiredKeys.length > 0 ? requiredKeys.every((reqKey) => valKeys.has(reqKey)) : optionalKeys.some((key) => valKeys.has(key)) || hasAdditionalProperties;
2363
2475
  const doesNotContainExtraKeys = [...valKeys].every((key) => modelKeys.has(key)) || hasAdditionalProperties;
2364
2476
  const allPropertiesMatchFormat = true;
2365
2477
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2366
2478
  }
2367
- function fromJson23($model) {
2368
- const { "metric.key": metricKey, displayName, description, unit, fieldName, rollup, rate } = $model;
2479
+ function fromJson24($model) {
2480
+ const { "metric.key": metricKey, displayName, description, unit, fieldName, rollup, rate, shifted } = $model;
2369
2481
  return {
2370
2482
  "metric.key": metricKey,
2371
2483
  displayName,
@@ -2373,11 +2485,12 @@ function fromJson23($model) {
2373
2485
  unit,
2374
2486
  fieldName,
2375
2487
  rollup,
2376
- rate
2488
+ rate,
2489
+ shifted
2377
2490
  };
2378
2491
  }
2379
- function toJson23($model) {
2380
- const { "metric.key": metricKey, displayName, description, unit, fieldName, rollup, rate } = $model;
2492
+ function toJson24($model) {
2493
+ const { "metric.key": metricKey, displayName, description, unit, fieldName, rollup, rate, shifted } = $model;
2381
2494
  return {
2382
2495
  "metric.key": metricKey,
2383
2496
  displayName,
@@ -2385,7 +2498,8 @@ function toJson23($model) {
2385
2498
  unit,
2386
2499
  fieldName,
2387
2500
  rollup,
2388
- rate
2501
+ rate,
2502
+ shifted
2389
2503
  };
2390
2504
  }
2391
2505
 
@@ -2410,7 +2524,7 @@ function isMetadata(value) {
2410
2524
  const allPropertiesMatchFormat = true;
2411
2525
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2412
2526
  }
2413
- function isJson24(value) {
2527
+ function isJson25(value) {
2414
2528
  if (value === null) {
2415
2529
  return false;
2416
2530
  }
@@ -2430,66 +2544,66 @@ function isJson24(value) {
2430
2544
  const allPropertiesMatchFormat = true;
2431
2545
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2432
2546
  }
2433
- function fromJson24($model) {
2547
+ function fromJson25($model) {
2434
2548
  const { grail, metrics } = $model;
2435
2549
  return {
2436
- grail: grail !== void 0 && grail !== null ? fromJson22(grail) : void 0,
2437
- metrics: metrics !== void 0 && metrics !== null ? metrics?.map((innerValue) => fromJson23(innerValue)) : void 0
2550
+ grail: grail !== void 0 && grail !== null ? fromJson23(grail) : void 0,
2551
+ metrics: metrics !== void 0 && metrics !== null ? metrics?.map((innerValue) => fromJson24(innerValue)) : void 0
2438
2552
  };
2439
2553
  }
2440
- function toJson24($model) {
2554
+ function toJson25($model) {
2441
2555
  const { grail, metrics } = $model;
2442
2556
  return {
2443
- grail: grail !== void 0 && grail !== null ? toJson22(grail) : void 0,
2444
- metrics: metrics !== void 0 && metrics !== null ? metrics?.map((innerValue) => toJson23(innerValue)) : void 0
2557
+ grail: grail !== void 0 && grail !== null ? toJson23(grail) : void 0,
2558
+ metrics: metrics !== void 0 && metrics !== null ? metrics?.map((innerValue) => toJson24(innerValue)) : void 0
2445
2559
  };
2446
2560
  }
2447
2561
 
2448
2562
  // packages/client/query/src/lib/models/ranged-field-types.transformation.ts
2449
2563
  var ranged_field_types_transformation_exports = {};
2450
2564
  __export(ranged_field_types_transformation_exports, {
2451
- fromJson: () => fromJson26,
2452
- isJson: () => isJson28,
2565
+ fromJson: () => fromJson27,
2566
+ isJson: () => isJson29,
2453
2567
  isRangedFieldTypes: () => isRangedFieldTypes,
2454
- toJson: () => toJson26
2568
+ toJson: () => toJson27
2455
2569
  });
2456
2570
 
2457
2571
  // packages/client/query/src/lib/models/ranged-field-types-mappings.transformation.ts
2458
2572
  var ranged_field_types_mappings_transformation_exports = {};
2459
2573
  __export(ranged_field_types_mappings_transformation_exports, {
2460
- fromJson: () => fromJson28,
2461
- isJson: () => isJson27,
2574
+ fromJson: () => fromJson29,
2575
+ isJson: () => isJson28,
2462
2576
  isRangedFieldTypesMappings: () => isRangedFieldTypesMappings,
2463
- toJson: () => toJson28
2577
+ toJson: () => toJson29
2464
2578
  });
2465
2579
 
2466
2580
  // packages/client/query/src/lib/models/field-type.transformation.ts
2467
2581
  var field_type_transformation_exports = {};
2468
2582
  __export(field_type_transformation_exports, {
2469
- fromJson: () => fromJson27,
2583
+ fromJson: () => fromJson28,
2470
2584
  isFieldType: () => isFieldType,
2471
- isJson: () => isJson26,
2472
- toJson: () => toJson27
2585
+ isJson: () => isJson27,
2586
+ toJson: () => toJson28
2473
2587
  });
2474
2588
 
2475
2589
  // packages/client/query/src/lib/models/field-type-type.transformation.ts
2476
2590
  var field_type_type_transformation_exports = {};
2477
2591
  __export(field_type_type_transformation_exports, {
2478
- fromJson: () => fromJson25,
2592
+ fromJson: () => fromJson26,
2479
2593
  isFieldTypeType: () => isFieldTypeType,
2480
- isJson: () => isJson25,
2481
- toJson: () => toJson25
2594
+ isJson: () => isJson26,
2595
+ toJson: () => toJson26
2482
2596
  });
2483
2597
  function isFieldTypeType(value) {
2484
2598
  return typeof value === "string";
2485
2599
  }
2486
- function isJson25(value) {
2600
+ function isJson26(value) {
2487
2601
  return typeof value === "string";
2488
2602
  }
2489
- function fromJson25($model) {
2603
+ function fromJson26($model) {
2490
2604
  return String($model);
2491
2605
  }
2492
- function toJson25($model) {
2606
+ function toJson26($model) {
2493
2607
  return String($model);
2494
2608
  }
2495
2609
 
@@ -2514,7 +2628,7 @@ function isFieldType(value) {
2514
2628
  const allPropertiesMatchFormat = true;
2515
2629
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2516
2630
  }
2517
- function isJson26(value) {
2631
+ function isJson27(value) {
2518
2632
  if (value === null) {
2519
2633
  return false;
2520
2634
  }
@@ -2534,18 +2648,18 @@ function isJson26(value) {
2534
2648
  const allPropertiesMatchFormat = true;
2535
2649
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2536
2650
  }
2537
- function fromJson27($model) {
2651
+ function fromJson28($model) {
2538
2652
  const { type, types } = $model;
2539
2653
  return {
2540
- type: fromJson25(type),
2541
- types: types !== void 0 && types !== null ? types?.map((innerValue) => fromJson26(innerValue)) : void 0
2654
+ type: fromJson26(type),
2655
+ types: types !== void 0 && types !== null ? types?.map((innerValue) => fromJson27(innerValue)) : void 0
2542
2656
  };
2543
2657
  }
2544
- function toJson27($model) {
2658
+ function toJson28($model) {
2545
2659
  const { type, types } = $model;
2546
2660
  return {
2547
- type: toJson25(type),
2548
- types: types !== void 0 && types !== null ? types?.map((innerValue) => toJson26(innerValue)) : void 0
2661
+ type: toJson26(type),
2662
+ types: types !== void 0 && types !== null ? types?.map((innerValue) => toJson27(innerValue)) : void 0
2549
2663
  };
2550
2664
  }
2551
2665
 
@@ -2570,7 +2684,7 @@ function isRangedFieldTypesMappings(value) {
2570
2684
  const allPropertiesMatchFormat = true;
2571
2685
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2572
2686
  }
2573
- function isJson27(value) {
2687
+ function isJson28(value) {
2574
2688
  if (value === null) {
2575
2689
  return false;
2576
2690
  }
@@ -2590,24 +2704,24 @@ function isJson27(value) {
2590
2704
  const allPropertiesMatchFormat = true;
2591
2705
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2592
2706
  }
2593
- function fromJson28($model) {
2707
+ function fromJson29($model) {
2594
2708
  const additionalProps = $model;
2595
2709
  return {
2596
2710
  ...Object.fromEntries(
2597
2711
  Object.entries(additionalProps).map(([propName, value]) => [
2598
2712
  propName,
2599
- value !== void 0 && value !== null ? fromJson27(value) : void 0
2713
+ value !== void 0 && value !== null ? fromJson28(value) : void 0
2600
2714
  ])
2601
2715
  )
2602
2716
  };
2603
2717
  }
2604
- function toJson28($model) {
2718
+ function toJson29($model) {
2605
2719
  const additionalProps = $model;
2606
2720
  return {
2607
2721
  ...Object.fromEntries(
2608
2722
  Object.entries(additionalProps).map(([propName, value]) => [
2609
2723
  propName,
2610
- value !== void 0 && value !== null ? toJson27(value) : void 0
2724
+ value !== void 0 && value !== null ? toJson28(value) : void 0
2611
2725
  ])
2612
2726
  )
2613
2727
  };
@@ -2634,7 +2748,7 @@ function isRangedFieldTypes(value) {
2634
2748
  const allPropertiesMatchFormat = true;
2635
2749
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2636
2750
  }
2637
- function isJson28(value) {
2751
+ function isJson29(value) {
2638
2752
  if (value === null) {
2639
2753
  return false;
2640
2754
  }
@@ -2654,17 +2768,17 @@ function isJson28(value) {
2654
2768
  const allPropertiesMatchFormat = true;
2655
2769
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2656
2770
  }
2657
- function fromJson26($model) {
2771
+ function fromJson27($model) {
2658
2772
  const { mappings, indexRange } = $model;
2659
2773
  return {
2660
- mappings: fromJson28(mappings),
2774
+ mappings: fromJson29(mappings),
2661
2775
  indexRange: indexRange !== void 0 && indexRange !== null ? indexRange?.slice(0) : void 0
2662
2776
  };
2663
2777
  }
2664
- function toJson26($model) {
2778
+ function toJson27($model) {
2665
2779
  const { mappings, indexRange } = $model;
2666
2780
  return {
2667
- mappings: toJson28(mappings),
2781
+ mappings: toJson29(mappings),
2668
2782
  indexRange: indexRange !== void 0 && indexRange !== null ? indexRange?.slice(0) : void 0
2669
2783
  };
2670
2784
  }
@@ -2672,10 +2786,10 @@ function toJson26($model) {
2672
2786
  // packages/client/query/src/lib/models/result-record.transformation.ts
2673
2787
  var result_record_transformation_exports = {};
2674
2788
  __export(result_record_transformation_exports, {
2675
- fromJson: () => fromJson30,
2676
- isJson: () => isJson30,
2789
+ fromJson: () => fromJson31,
2790
+ isJson: () => isJson31,
2677
2791
  isResultRecord: () => isResultRecord,
2678
- toJson: () => toJson30
2792
+ toJson: () => toJson31
2679
2793
  });
2680
2794
 
2681
2795
  // packages/client/query/src/lib/models/result-record-value.transformation.ts
@@ -2694,19 +2808,19 @@ __export(result_record_value_transformation_exports, {
2694
2808
  checkString: () => checkString,
2695
2809
  checkTimeframe: () => checkTimeframe,
2696
2810
  checkTimeframeAsJson: () => checkTimeframeAsJson,
2697
- fromJson: () => fromJson31,
2698
- isJson: () => isJson31,
2811
+ fromJson: () => fromJson32,
2812
+ isJson: () => isJson32,
2699
2813
  isResultRecordValue: () => isResultRecordValue,
2700
- toJson: () => toJson31
2814
+ toJson: () => toJson32
2701
2815
  });
2702
2816
 
2703
2817
  // packages/client/query/src/lib/models/geo-point.transformation.ts
2704
2818
  var geo_point_transformation_exports = {};
2705
2819
  __export(geo_point_transformation_exports, {
2706
- fromJson: () => fromJson29,
2820
+ fromJson: () => fromJson30,
2707
2821
  isGeoPoint: () => isGeoPoint,
2708
- isJson: () => isJson29,
2709
- toJson: () => toJson29
2822
+ isJson: () => isJson30,
2823
+ toJson: () => toJson30
2710
2824
  });
2711
2825
  function isGeoPoint(value) {
2712
2826
  if (value === null) {
@@ -2728,7 +2842,7 @@ function isGeoPoint(value) {
2728
2842
  const allPropertiesMatchFormat = true;
2729
2843
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2730
2844
  }
2731
- function isJson29(value) {
2845
+ function isJson30(value) {
2732
2846
  if (value === null) {
2733
2847
  return false;
2734
2848
  }
@@ -2748,14 +2862,14 @@ function isJson29(value) {
2748
2862
  const allPropertiesMatchFormat = true;
2749
2863
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2750
2864
  }
2751
- function fromJson29($model) {
2865
+ function fromJson30($model) {
2752
2866
  const { latitude, longitude } = $model;
2753
2867
  return {
2754
2868
  latitude,
2755
2869
  longitude
2756
2870
  };
2757
2871
  }
2758
- function toJson29($model) {
2872
+ function toJson30($model) {
2759
2873
  const { latitude, longitude } = $model;
2760
2874
  return {
2761
2875
  latitude,
@@ -2793,13 +2907,13 @@ function isResultRecordValue(value) {
2793
2907
  return checkBoolean(value) || checkNumber(value) || checkString(value) || checkTimeframe(value) || checkGeoPoint(value) || checkResultRecord(value) || checkArrayResultRecordValue(value) || value === null;
2794
2908
  }
2795
2909
  function checkTimeframeAsJson(value) {
2796
- return isJson21(value);
2910
+ return isJson22(value);
2797
2911
  }
2798
2912
  function checkGeoPointAsJson(value) {
2799
- return isJson29(value);
2913
+ return isJson30(value);
2800
2914
  }
2801
2915
  function checkResultRecordAsJson(value) {
2802
- return isJson30(value);
2916
+ return isJson31(value);
2803
2917
  }
2804
2918
  function checkArrayResultRecordValueTransformationAsJsonNullItemDatatype(value) {
2805
2919
  return isResultRecordValue(value);
@@ -2808,11 +2922,11 @@ function checkArrayResultRecordValueAsJson(value) {
2808
2922
  const datatypeMatch = (val) => checkArrayResultRecordValueTransformationAsJsonNullItemDatatype(val);
2809
2923
  return Array.isArray(value) && value.every(datatypeMatch);
2810
2924
  }
2811
- function isJson31(value) {
2925
+ function isJson32(value) {
2812
2926
  return checkBoolean(value) || checkNumber(value) || checkString(value) || checkTimeframeAsJson(value) || checkGeoPointAsJson(value) || checkResultRecordAsJson(value) || checkArrayResultRecordValueAsJson(value) || value === null;
2813
2927
  }
2814
- function fromJson31($model) {
2815
- if (!isJson31($model)) {
2928
+ function fromJson32($model) {
2929
+ if (!isJson32($model)) {
2816
2930
  throw new TypeError("_ResultRecordValueTransformation.fromJson: value's datatype does not match");
2817
2931
  }
2818
2932
  if ($model === null) {
@@ -2828,20 +2942,20 @@ function fromJson31($model) {
2828
2942
  return String($model);
2829
2943
  }
2830
2944
  if (checkTimeframeAsJson($model)) {
2831
- return fromJson21($model);
2945
+ return fromJson22($model);
2832
2946
  }
2833
2947
  if (checkGeoPointAsJson($model)) {
2834
- return fromJson29($model);
2948
+ return fromJson30($model);
2835
2949
  }
2836
2950
  if (checkResultRecordAsJson($model)) {
2837
- return fromJson30($model);
2951
+ return fromJson31($model);
2838
2952
  }
2839
2953
  if (checkArrayResultRecordValue($model)) {
2840
- return $model.map((el) => fromJson31(el));
2954
+ return $model.map((el) => fromJson32(el));
2841
2955
  }
2842
2956
  throw new TypeError("Unable to deserialize value");
2843
2957
  }
2844
- function toJson31($model) {
2958
+ function toJson32($model) {
2845
2959
  if (!isResultRecordValue($model)) {
2846
2960
  throw new TypeError("_ResultRecordValueTransformation.toJson: value's datatype does not match");
2847
2961
  }
@@ -2858,16 +2972,16 @@ function toJson31($model) {
2858
2972
  return String($model);
2859
2973
  }
2860
2974
  if (checkTimeframe($model)) {
2861
- return toJson21($model);
2975
+ return toJson22($model);
2862
2976
  }
2863
2977
  if (checkGeoPoint($model)) {
2864
- return toJson29($model);
2978
+ return toJson30($model);
2865
2979
  }
2866
2980
  if (checkResultRecord($model)) {
2867
- return toJson30($model);
2981
+ return toJson31($model);
2868
2982
  }
2869
2983
  if (checkArrayResultRecordValue($model)) {
2870
- return $model.map((el) => toJson31(el));
2984
+ return $model.map((el) => toJson32(el));
2871
2985
  }
2872
2986
  throw new TypeError("Unable to serialize value");
2873
2987
  }
@@ -2893,7 +3007,7 @@ function isResultRecord(value) {
2893
3007
  const allPropertiesMatchFormat = true;
2894
3008
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2895
3009
  }
2896
- function isJson30(value) {
3010
+ function isJson31(value) {
2897
3011
  if (value === null) {
2898
3012
  return true;
2899
3013
  }
@@ -2913,7 +3027,7 @@ function isJson30(value) {
2913
3027
  const allPropertiesMatchFormat = true;
2914
3028
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2915
3029
  }
2916
- function fromJson30($model) {
3030
+ function fromJson31($model) {
2917
3031
  if ($model === null) {
2918
3032
  return null;
2919
3033
  }
@@ -2922,12 +3036,12 @@ function fromJson30($model) {
2922
3036
  ...Object.fromEntries(
2923
3037
  Object.entries(additionalProps).map(([propName, value]) => [
2924
3038
  propName,
2925
- value !== void 0 ? fromJson31(value) : void 0
3039
+ value !== void 0 ? fromJson32(value) : void 0
2926
3040
  ])
2927
3041
  )
2928
3042
  };
2929
3043
  }
2930
- function toJson30($model) {
3044
+ function toJson31($model) {
2931
3045
  if ($model === null) {
2932
3046
  return null;
2933
3047
  }
@@ -2936,7 +3050,7 @@ function toJson30($model) {
2936
3050
  ...Object.fromEntries(
2937
3051
  Object.entries(additionalProps).map(([propName, value]) => [
2938
3052
  propName,
2939
- value !== void 0 && value !== null ? toJson31(value) : void 0
3053
+ value !== void 0 && value !== null ? toJson32(value) : void 0
2940
3054
  ])
2941
3055
  )
2942
3056
  };
@@ -2963,7 +3077,7 @@ function isQueryResult(value) {
2963
3077
  const allPropertiesMatchFormat = true;
2964
3078
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2965
3079
  }
2966
- function isJson32(value) {
3080
+ function isJson33(value) {
2967
3081
  if (value === null) {
2968
3082
  return false;
2969
3083
  }
@@ -2983,41 +3097,41 @@ function isJson32(value) {
2983
3097
  const allPropertiesMatchFormat = true;
2984
3098
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
2985
3099
  }
2986
- function fromJson32($model) {
3100
+ function fromJson33($model) {
2987
3101
  const { records, metadata, types } = $model;
2988
3102
  return {
2989
- records: records?.map((innerValue) => fromJson30(innerValue)),
2990
- metadata: fromJson24(metadata),
2991
- types: types?.map((innerValue) => fromJson26(innerValue))
3103
+ records: records?.map((innerValue) => fromJson31(innerValue)),
3104
+ metadata: fromJson25(metadata),
3105
+ types: types?.map((innerValue) => fromJson27(innerValue))
2992
3106
  };
2993
3107
  }
2994
- function toJson32($model) {
3108
+ function toJson33($model) {
2995
3109
  const { records, metadata, types } = $model;
2996
3110
  return {
2997
- records: records?.map((innerValue) => toJson30(innerValue)),
2998
- metadata: toJson24(metadata),
2999
- types: types?.map((innerValue) => toJson26(innerValue))
3111
+ records: records?.map((innerValue) => toJson31(innerValue)),
3112
+ metadata: toJson25(metadata),
3113
+ types: types?.map((innerValue) => toJson27(innerValue))
3000
3114
  };
3001
3115
  }
3002
3116
 
3003
3117
  // packages/client/query/src/lib/models/query-state.transformation.ts
3004
3118
  var query_state_transformation_exports = {};
3005
3119
  __export(query_state_transformation_exports, {
3006
- fromJson: () => fromJson33,
3007
- isJson: () => isJson33,
3120
+ fromJson: () => fromJson34,
3121
+ isJson: () => isJson34,
3008
3122
  isQueryState: () => isQueryState,
3009
- toJson: () => toJson33
3123
+ toJson: () => toJson34
3010
3124
  });
3011
3125
  function isQueryState(value) {
3012
3126
  return typeof value === "string";
3013
3127
  }
3014
- function isJson33(value) {
3128
+ function isJson34(value) {
3015
3129
  return typeof value === "string";
3016
3130
  }
3017
- function fromJson33($model) {
3131
+ function fromJson34($model) {
3018
3132
  return String($model);
3019
3133
  }
3020
- function toJson33($model) {
3134
+ function toJson34($model) {
3021
3135
  return String($model);
3022
3136
  }
3023
3137
 
@@ -3042,7 +3156,7 @@ function isQueryPollResponse(value) {
3042
3156
  const allPropertiesMatchFormat = true;
3043
3157
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
3044
3158
  }
3045
- function isJson34(value) {
3159
+ function isJson35(value) {
3046
3160
  if (value === null) {
3047
3161
  return false;
3048
3162
  }
@@ -3062,32 +3176,32 @@ function isJson34(value) {
3062
3176
  const allPropertiesMatchFormat = true;
3063
3177
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
3064
3178
  }
3065
- function fromJson34($model) {
3179
+ function fromJson35($model) {
3066
3180
  const { result, ttlSeconds, progress, state } = $model;
3067
3181
  return {
3068
- result: result !== void 0 && result !== null ? fromJson32(result) : void 0,
3182
+ result: result !== void 0 && result !== null ? fromJson33(result) : void 0,
3069
3183
  ttlSeconds,
3070
3184
  progress,
3071
- state: fromJson33(state)
3185
+ state: fromJson34(state)
3072
3186
  };
3073
3187
  }
3074
- function toJson34($model) {
3188
+ function toJson35($model) {
3075
3189
  const { result, ttlSeconds, progress, state } = $model;
3076
3190
  return {
3077
- result: result !== void 0 && result !== null ? toJson32(result) : void 0,
3191
+ result: result !== void 0 && result !== null ? toJson33(result) : void 0,
3078
3192
  ttlSeconds,
3079
3193
  progress,
3080
- state: toJson33(state)
3194
+ state: toJson34(state)
3081
3195
  };
3082
3196
  }
3083
3197
 
3084
3198
  // packages/client/query/src/lib/models/query-start-response.transformation.ts
3085
3199
  var query_start_response_transformation_exports = {};
3086
3200
  __export(query_start_response_transformation_exports, {
3087
- fromJson: () => fromJson35,
3088
- isJson: () => isJson35,
3201
+ fromJson: () => fromJson36,
3202
+ isJson: () => isJson36,
3089
3203
  isQueryStartResponse: () => isQueryStartResponse,
3090
- toJson: () => toJson35
3204
+ toJson: () => toJson36
3091
3205
  });
3092
3206
  function isQueryStartResponse(value) {
3093
3207
  if (value === null) {
@@ -3109,7 +3223,7 @@ function isQueryStartResponse(value) {
3109
3223
  const allPropertiesMatchFormat = true;
3110
3224
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
3111
3225
  }
3112
- function isJson35(value) {
3226
+ function isJson36(value) {
3113
3227
  if (value === null) {
3114
3228
  return false;
3115
3229
  }
@@ -3129,24 +3243,24 @@ function isJson35(value) {
3129
3243
  const allPropertiesMatchFormat = true;
3130
3244
  return containsRequiredOrOptionalKeys && doesNotContainExtraKeys && allPropertiesMatchFormat;
3131
3245
  }
3132
- function fromJson35($model) {
3246
+ function fromJson36($model) {
3133
3247
  const { result, ttlSeconds, progress, requestToken, state } = $model;
3134
3248
  return {
3135
- result: result !== void 0 && result !== null ? fromJson32(result) : void 0,
3249
+ result: result !== void 0 && result !== null ? fromJson33(result) : void 0,
3136
3250
  ttlSeconds,
3137
3251
  progress,
3138
3252
  requestToken,
3139
- state: fromJson33(state)
3253
+ state: fromJson34(state)
3140
3254
  };
3141
3255
  }
3142
- function toJson35($model) {
3256
+ function toJson36($model) {
3143
3257
  const { result, ttlSeconds, progress, requestToken, state } = $model;
3144
3258
  return {
3145
- result: result !== void 0 && result !== null ? toJson32(result) : void 0,
3259
+ result: result !== void 0 && result !== null ? toJson33(result) : void 0,
3146
3260
  ttlSeconds,
3147
3261
  progress,
3148
3262
  requestToken,
3149
- state: toJson33(state)
3263
+ state: toJson34(state)
3150
3264
  };
3151
3265
  }
3152
3266
 
@@ -3197,7 +3311,7 @@ var QueryExecutionClient = class {
3197
3311
  });
3198
3312
  const responseValue = await response.body("json");
3199
3313
  try {
3200
- return fromJson34(responseValue);
3314
+ return fromJson35(responseValue);
3201
3315
  } catch (err) {
3202
3316
  throw new InvalidResponseError(`QueryExecutionClient.query:poll:200`, err, responseValue, void 0, void 0);
3203
3317
  }
@@ -3213,7 +3327,7 @@ var QueryExecutionClient = class {
3213
3327
  case 400: {
3214
3328
  const responseValue = await response.body("json");
3215
3329
  try {
3216
- const errorBody = fromJson15(responseValue);
3330
+ const errorBody = fromJson16(responseValue);
3217
3331
  throw new ErrorEnvelopeError(
3218
3332
  "400",
3219
3333
  response,
@@ -3249,7 +3363,7 @@ var QueryExecutionClient = class {
3249
3363
  case 500: {
3250
3364
  const responseValue = await response.body("json");
3251
3365
  try {
3252
- const errorBody = fromJson15(responseValue);
3366
+ const errorBody = fromJson16(responseValue);
3253
3367
  throw new ErrorEnvelopeError(
3254
3368
  "500",
3255
3369
  response,
@@ -3287,7 +3401,7 @@ var QueryExecutionClient = class {
3287
3401
  if (!config) {
3288
3402
  throw new ApiClientError("API client error", "API client call is missing mandatory config parameter");
3289
3403
  }
3290
- const encodedBody = toJson20(config.body);
3404
+ const encodedBody = toJson21(config.body);
3291
3405
  const query = toQueryString({ enrich: config.enrich });
3292
3406
  const headerParameters = {
3293
3407
  ...config.authorization !== void 0 && { Authorization: String(config.authorization) }
@@ -3312,7 +3426,7 @@ var QueryExecutionClient = class {
3312
3426
  case 200: {
3313
3427
  const responseValue = await response.body("json");
3314
3428
  try {
3315
- return fromJson35(responseValue);
3429
+ return fromJson36(responseValue);
3316
3430
  } catch (err) {
3317
3431
  throw new InvalidResponseError(
3318
3432
  `QueryExecutionClient.query:execute:${response.status}`,
@@ -3326,7 +3440,7 @@ var QueryExecutionClient = class {
3326
3440
  case 202: {
3327
3441
  const responseValue = await response.body("json");
3328
3442
  try {
3329
- return fromJson35(responseValue);
3443
+ return fromJson36(responseValue);
3330
3444
  } catch (err) {
3331
3445
  throw new InvalidResponseError(
3332
3446
  `QueryExecutionClient.query:execute:${response.status}`,
@@ -3359,7 +3473,7 @@ var QueryExecutionClient = class {
3359
3473
  case 400: {
3360
3474
  const responseValue = await response.body("json");
3361
3475
  try {
3362
- const errorBody = fromJson15(responseValue);
3476
+ const errorBody = fromJson16(responseValue);
3363
3477
  throw new ErrorEnvelopeError(
3364
3478
  "400",
3365
3479
  response,
@@ -3386,7 +3500,7 @@ var QueryExecutionClient = class {
3386
3500
  case 403: {
3387
3501
  const responseValue = await response.body("json");
3388
3502
  try {
3389
- const errorBody = fromJson15(responseValue);
3503
+ const errorBody = fromJson16(responseValue);
3390
3504
  throw new ErrorEnvelopeError(
3391
3505
  "403",
3392
3506
  response,
@@ -3410,7 +3524,7 @@ var QueryExecutionClient = class {
3410
3524
  case 429: {
3411
3525
  const responseValue = await response.body("json");
3412
3526
  try {
3413
- const errorBody = fromJson15(responseValue);
3527
+ const errorBody = fromJson16(responseValue);
3414
3528
  throw new ErrorEnvelopeError(
3415
3529
  "429",
3416
3530
  response,
@@ -3434,7 +3548,7 @@ var QueryExecutionClient = class {
3434
3548
  case 500: {
3435
3549
  const responseValue = await response.body("json");
3436
3550
  try {
3437
- const errorBody = fromJson15(responseValue);
3551
+ const errorBody = fromJson16(responseValue);
3438
3552
  throw new ErrorEnvelopeError(
3439
3553
  "500",
3440
3554
  response,
@@ -3458,7 +3572,7 @@ var QueryExecutionClient = class {
3458
3572
  case 503: {
3459
3573
  const responseValue = await response.body("json");
3460
3574
  try {
3461
- const errorBody = fromJson15(responseValue);
3575
+ const errorBody = fromJson16(responseValue);
3462
3576
  throw new ErrorEnvelopeError(
3463
3577
  "503",
3464
3578
  response,
@@ -3483,7 +3597,7 @@ var QueryExecutionClient = class {
3483
3597
  if (response.status >= 400 && response.status <= 499) {
3484
3598
  const responseValue = await response.body("json");
3485
3599
  try {
3486
- const errorBody = fromJson15(responseValue);
3600
+ const errorBody = fromJson16(responseValue);
3487
3601
  throw new ErrorEnvelopeError("4XX", response, errorBody, getErrorMessage(errorBody, "Client error."), e);
3488
3602
  } catch (err) {
3489
3603
  if (err instanceof ErrorEnvelopeError) {
@@ -3500,7 +3614,7 @@ var QueryExecutionClient = class {
3500
3614
  } else if (response.status >= 500 && response.status <= 599) {
3501
3615
  const responseValue = await response.body("json");
3502
3616
  try {
3503
- const errorBody = fromJson15(responseValue);
3617
+ const errorBody = fromJson16(responseValue);
3504
3618
  throw new ErrorEnvelopeError("5XX", response, errorBody, getErrorMessage(errorBody, "Server error."), e);
3505
3619
  } catch (err) {
3506
3620
  if (err instanceof ErrorEnvelopeError) {
@@ -3551,7 +3665,7 @@ var QueryExecutionClient = class {
3551
3665
  case 200: {
3552
3666
  const responseValue = await response.body("json");
3553
3667
  try {
3554
- return fromJson34(responseValue);
3668
+ return fromJson35(responseValue);
3555
3669
  } catch (err) {
3556
3670
  throw new InvalidResponseError(
3557
3671
  `QueryExecutionClient.query:cancel:${response.status}`,
@@ -3587,7 +3701,7 @@ var QueryExecutionClient = class {
3587
3701
  case 400: {
3588
3702
  const responseValue = await response.body("json");
3589
3703
  try {
3590
- const errorBody = fromJson15(responseValue);
3704
+ const errorBody = fromJson16(responseValue);
3591
3705
  throw new ErrorEnvelopeError(
3592
3706
  "400",
3593
3707
  response,
@@ -3623,7 +3737,7 @@ var QueryExecutionClient = class {
3623
3737
  case 500: {
3624
3738
  const responseValue = await response.body("json");
3625
3739
  try {
3626
- const errorBody = fromJson15(responseValue);
3740
+ const errorBody = fromJson16(responseValue);
3627
3741
  throw new ErrorEnvelopeError(
3628
3742
  "500",
3629
3743
  response,
@@ -3725,11 +3839,13 @@ var TokenType = /* @__PURE__ */ ((TokenType2) => {
3725
3839
  TokenType2["ParameterValueScope"] = "PARAMETER_VALUE_SCOPE";
3726
3840
  TokenType2["FunctionName"] = "FUNCTION_NAME";
3727
3841
  TokenType2["TimeseriesAggregation"] = "TIMESERIES_AGGREGATION";
3842
+ TokenType2["TimeseriesAggregationExpression"] = "TIMESERIES_AGGREGATION_EXPRESSION";
3728
3843
  TokenType2["Operator"] = "OPERATOR";
3729
3844
  TokenType2["TraversalOperator"] = "TRAVERSAL_OPERATOR";
3730
3845
  TokenType2["TraversalRelationName"] = "TRAVERSAL_RELATION_NAME";
3731
3846
  TokenType2["TraversalHopCount"] = "TRAVERSAL_HOP_COUNT";
3732
3847
  TokenType2["SimpleIdentifier"] = "SIMPLE_IDENTIFIER";
3848
+ TokenType2["DataObject"] = "DATA_OBJECT";
3733
3849
  TokenType2["Number"] = "NUMBER";
3734
3850
  TokenType2["String"] = "STRING";
3735
3851
  TokenType2["TimeUnit"] = "TIME_UNIT";
@@ -3738,5 +3854,11 @@ var TokenType = /* @__PURE__ */ ((TokenType2) => {
3738
3854
  TokenType2["Variable"] = "VARIABLE";
3739
3855
  TokenType2["EndComment"] = "END_COMMENT";
3740
3856
  TokenType2["UidValue"] = "UID_VALUE";
3857
+ TokenType2["ParsePattern"] = "PARSE_PATTERN";
3858
+ TokenType2["FieldPattern"] = "FIELD_PATTERN";
3859
+ TokenType2["EntitySelectorPart"] = "ENTITY_SELECTOR_PART";
3860
+ TokenType2["FieldModifier"] = "FIELD_MODIFIER";
3861
+ TokenType2["EntityType"] = "ENTITY_TYPE";
3862
+ TokenType2["EntityAttribute"] = "ENTITY_ATTRIBUTE";
3741
3863
  return TokenType2;
3742
3864
  })(TokenType || {});