@salesforce/lds-adapters-sfap-analytics-insights 1.345.0 → 1.347.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/sfdc/index.js CHANGED
@@ -102,7 +102,7 @@ function createLink(ref) {
102
102
  };
103
103
  }
104
104
 
105
- function validate$J(obj, path = 'MetricMetadata') {
105
+ function validate$K(obj, path = 'MetricMetadata') {
106
106
  const v_error = (() => {
107
107
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
108
108
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -125,7 +125,7 @@ function validate$J(obj, path = 'MetricMetadata') {
125
125
  return v_error === undefined ? null : v_error;
126
126
  }
127
127
 
128
- function validate$I(obj, path = 'ExtensionOptions') {
128
+ function validate$J(obj, path = 'ExtensionOptions') {
129
129
  const v_error = (() => {
130
130
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
131
131
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -155,7 +155,7 @@ function validate$I(obj, path = 'ExtensionOptions') {
155
155
  return v_error === undefined ? null : v_error;
156
156
  }
157
157
 
158
- function validate$H(obj, path = 'GoalMetadata_StatusCondition') {
158
+ function validate$I(obj, path = 'GoalMetadata_StatusCondition') {
159
159
  const v_error = (() => {
160
160
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
161
161
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -206,7 +206,7 @@ function validate$H(obj, path = 'GoalMetadata_StatusCondition') {
206
206
  return v_error === undefined ? null : v_error;
207
207
  }
208
208
 
209
- function validate$G(obj, path = 'GoalMetadata') {
209
+ function validate$H(obj, path = 'GoalMetadata') {
210
210
  const v_error = (() => {
211
211
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
212
212
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -227,7 +227,7 @@ function validate$G(obj, path = 'GoalMetadata') {
227
227
  for (let i = 0; i < obj_statusConditions.length; i++) {
228
228
  const obj_statusConditions_item = obj_statusConditions[i];
229
229
  const path_statusConditions_item = path_statusConditions + '[' + i + ']';
230
- const referencepath_statusConditions_itemValidationError = validate$H(obj_statusConditions_item, path_statusConditions_item);
230
+ const referencepath_statusConditions_itemValidationError = validate$I(obj_statusConditions_item, path_statusConditions_item);
231
231
  if (referencepath_statusConditions_itemValidationError !== null) {
232
232
  let message = 'Object doesn\'t match GoalMetadata_StatusCondition (at "' + path_statusConditions_item + '")\n';
233
233
  message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -239,7 +239,7 @@ function validate$G(obj, path = 'GoalMetadata') {
239
239
  return v_error === undefined ? null : v_error;
240
240
  }
241
241
 
242
- function validate$F(obj, path = 'InsightsOptions_InsightSetting') {
242
+ function validate$G(obj, path = 'InsightsOptions_InsightSetting') {
243
243
  const v_error = (() => {
244
244
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
245
245
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -262,7 +262,7 @@ function validate$F(obj, path = 'InsightsOptions_InsightSetting') {
262
262
  return v_error === undefined ? null : v_error;
263
263
  }
264
264
 
265
- function validate$E(obj, path = 'InsightsOptions') {
265
+ function validate$F(obj, path = 'InsightsOptions') {
266
266
  const v_error = (() => {
267
267
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
268
268
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -276,7 +276,7 @@ function validate$E(obj, path = 'InsightsOptions') {
276
276
  for (let i = 0; i < obj_settings.length; i++) {
277
277
  const obj_settings_item = obj_settings[i];
278
278
  const path_settings_item = path_settings + '[' + i + ']';
279
- const referencepath_settings_itemValidationError = validate$F(obj_settings_item, path_settings_item);
279
+ const referencepath_settings_itemValidationError = validate$G(obj_settings_item, path_settings_item);
280
280
  if (referencepath_settings_itemValidationError !== null) {
281
281
  let message = 'Object doesn\'t match InsightsOptions_InsightSetting (at "' + path_settings_item + '")\n';
282
282
  message += referencepath_settings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -288,7 +288,7 @@ function validate$E(obj, path = 'InsightsOptions') {
288
288
  return v_error === undefined ? null : v_error;
289
289
  }
290
290
 
291
- function validate$D(obj, path = 'CategoricalFilterOptions') {
291
+ function validate$E(obj, path = 'CategoricalFilterOptions') {
292
292
  const v_error = (() => {
293
293
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
294
294
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -325,7 +325,7 @@ function validate$D(obj, path = 'CategoricalFilterOptions') {
325
325
  return v_error === undefined ? null : v_error;
326
326
  }
327
327
 
328
- function validate$C(obj, path = 'FieldId') {
328
+ function validate$D(obj, path = 'FieldId') {
329
329
  const v_error = (() => {
330
330
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
331
331
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -355,7 +355,7 @@ function validate$C(obj, path = 'FieldId') {
355
355
  return v_error === undefined ? null : v_error;
356
356
  }
357
357
 
358
- function validate$B(obj, path = 'RangeFilterOptions') {
358
+ function validate$C(obj, path = 'RangeFilterOptions') {
359
359
  const v_error = (() => {
360
360
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
361
361
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -399,7 +399,7 @@ function validate$B(obj, path = 'RangeFilterOptions') {
399
399
  return v_error === undefined ? null : v_error;
400
400
  }
401
401
 
402
- function validate$A(obj, path = 'RelativeDateFilterOptions') {
402
+ function validate$B(obj, path = 'RelativeDateFilterOptions') {
403
403
  const v_error = (() => {
404
404
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
405
405
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -408,7 +408,7 @@ function validate$A(obj, path = 'RelativeDateFilterOptions') {
408
408
  return v_error === undefined ? null : v_error;
409
409
  }
410
410
 
411
- function validate$z(obj, path = 'Filter') {
411
+ function validate$A(obj, path = 'Filter') {
412
412
  const v_error = (() => {
413
413
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
414
414
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -416,7 +416,7 @@ function validate$z(obj, path = 'Filter') {
416
416
  if (obj.categoricalFilterOptions !== undefined) {
417
417
  const obj_categoricalFilterOptions = obj.categoricalFilterOptions;
418
418
  const path_categoricalFilterOptions = path + '.categoricalFilterOptions';
419
- const referencepath_categoricalFilterOptionsValidationError = validate$D(obj_categoricalFilterOptions, path_categoricalFilterOptions);
419
+ const referencepath_categoricalFilterOptionsValidationError = validate$E(obj_categoricalFilterOptions, path_categoricalFilterOptions);
420
420
  if (referencepath_categoricalFilterOptionsValidationError !== null) {
421
421
  let message = 'Object doesn\'t match CategoricalFilterOptions (at "' + path_categoricalFilterOptions + '")\n';
422
422
  message += referencepath_categoricalFilterOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -426,7 +426,7 @@ function validate$z(obj, path = 'Filter') {
426
426
  if (obj.field !== undefined) {
427
427
  const obj_field = obj.field;
428
428
  const path_field = path + '.field';
429
- const referencepath_fieldValidationError = validate$C(obj_field, path_field);
429
+ const referencepath_fieldValidationError = validate$D(obj_field, path_field);
430
430
  if (referencepath_fieldValidationError !== null) {
431
431
  let message = 'Object doesn\'t match FieldId (at "' + path_field + '")\n';
432
432
  message += referencepath_fieldValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -436,7 +436,7 @@ function validate$z(obj, path = 'Filter') {
436
436
  if (obj.fieldId !== undefined) {
437
437
  const obj_fieldId = obj.fieldId;
438
438
  const path_fieldId = path + '.fieldId';
439
- const referencepath_fieldIdValidationError = validate$C(obj_fieldId, path_fieldId);
439
+ const referencepath_fieldIdValidationError = validate$D(obj_fieldId, path_fieldId);
440
440
  if (referencepath_fieldIdValidationError !== null) {
441
441
  let message = 'Object doesn\'t match FieldId (at "' + path_fieldId + '")\n';
442
442
  message += referencepath_fieldIdValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -446,7 +446,7 @@ function validate$z(obj, path = 'Filter') {
446
446
  if (obj.rangeFilterOptions !== undefined) {
447
447
  const obj_rangeFilterOptions = obj.rangeFilterOptions;
448
448
  const path_rangeFilterOptions = path + '.rangeFilterOptions';
449
- const referencepath_rangeFilterOptionsValidationError = validate$B(obj_rangeFilterOptions, path_rangeFilterOptions);
449
+ const referencepath_rangeFilterOptionsValidationError = validate$C(obj_rangeFilterOptions, path_rangeFilterOptions);
450
450
  if (referencepath_rangeFilterOptionsValidationError !== null) {
451
451
  let message = 'Object doesn\'t match RangeFilterOptions (at "' + path_rangeFilterOptions + '")\n';
452
452
  message += referencepath_rangeFilterOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -456,7 +456,7 @@ function validate$z(obj, path = 'Filter') {
456
456
  if (obj.relativeDateFilterOptions !== undefined) {
457
457
  const obj_relativeDateFilterOptions = obj.relativeDateFilterOptions;
458
458
  const path_relativeDateFilterOptions = path + '.relativeDateFilterOptions';
459
- const referencepath_relativeDateFilterOptionsValidationError = validate$A(obj_relativeDateFilterOptions, path_relativeDateFilterOptions);
459
+ const referencepath_relativeDateFilterOptionsValidationError = validate$B(obj_relativeDateFilterOptions, path_relativeDateFilterOptions);
460
460
  if (referencepath_relativeDateFilterOptionsValidationError !== null) {
461
461
  let message = 'Object doesn\'t match RelativeDateFilterOptions (at "' + path_relativeDateFilterOptions + '")\n';
462
462
  message += referencepath_relativeDateFilterOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -474,7 +474,7 @@ function validate$z(obj, path = 'Filter') {
474
474
  return v_error === undefined ? null : v_error;
475
475
  }
476
476
 
477
- function validate$y(obj, path = 'RelativePeriod') {
477
+ function validate$z(obj, path = 'RelativePeriod') {
478
478
  const v_error = (() => {
479
479
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
480
480
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -497,7 +497,7 @@ function validate$y(obj, path = 'RelativePeriod') {
497
497
  return v_error === undefined ? null : v_error;
498
498
  }
499
499
 
500
- function validate$x(obj, path = 'MeasurementPeriod') {
500
+ function validate$y(obj, path = 'MeasurementPeriod') {
501
501
  const v_error = (() => {
502
502
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
503
503
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -505,7 +505,7 @@ function validate$x(obj, path = 'MeasurementPeriod') {
505
505
  if (obj.filter !== undefined) {
506
506
  const obj_filter = obj.filter;
507
507
  const path_filter = path + '.filter';
508
- const referencepath_filterValidationError = validate$z(obj_filter, path_filter);
508
+ const referencepath_filterValidationError = validate$A(obj_filter, path_filter);
509
509
  if (referencepath_filterValidationError !== null) {
510
510
  let message = 'Object doesn\'t match Filter (at "' + path_filter + '")\n';
511
511
  message += referencepath_filterValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -515,18 +515,25 @@ function validate$x(obj, path = 'MeasurementPeriod') {
515
515
  if (obj.relativePeriod !== undefined) {
516
516
  const obj_relativePeriod = obj.relativePeriod;
517
517
  const path_relativePeriod = path + '.relativePeriod';
518
- const referencepath_relativePeriodValidationError = validate$y(obj_relativePeriod, path_relativePeriod);
518
+ const referencepath_relativePeriodValidationError = validate$z(obj_relativePeriod, path_relativePeriod);
519
519
  if (referencepath_relativePeriodValidationError !== null) {
520
520
  let message = 'Object doesn\'t match RelativePeriod (at "' + path_relativePeriod + '")\n';
521
521
  message += referencepath_relativePeriodValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
522
522
  return new TypeError(message);
523
523
  }
524
524
  }
525
+ if (obj.semanticFilter !== undefined) {
526
+ const obj_semanticFilter = obj.semanticFilter;
527
+ const path_semanticFilter = path + '.semanticFilter';
528
+ if (obj_semanticFilter === undefined) {
529
+ return new TypeError('Expected "defined" but received "' + typeof obj_semanticFilter + '" (at "' + path_semanticFilter + '")');
530
+ }
531
+ }
525
532
  })();
526
533
  return v_error === undefined ? null : v_error;
527
534
  }
528
535
 
529
- function validate$w(obj, path = 'SemanticFilter') {
536
+ function validate$x(obj, path = 'SemanticFilter') {
530
537
  const v_error = (() => {
531
538
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
532
539
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -552,7 +559,7 @@ function validate$w(obj, path = 'SemanticFilter') {
552
559
  return v_error === undefined ? null : v_error;
553
560
  }
554
561
 
555
- function validate$v(obj, path = 'FlattenFilter') {
562
+ function validate$w(obj, path = 'FlattenFilter') {
556
563
  const v_error = (() => {
557
564
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
558
565
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -573,7 +580,7 @@ function validate$v(obj, path = 'FlattenFilter') {
573
580
  for (let i = 0; i < obj_filters.length; i++) {
574
581
  const obj_filters_item = obj_filters[i];
575
582
  const path_filters_item = path_filters + '[' + i + ']';
576
- const referencepath_filters_itemValidationError = validate$w(obj_filters_item, path_filters_item);
583
+ const referencepath_filters_itemValidationError = validate$x(obj_filters_item, path_filters_item);
577
584
  if (referencepath_filters_itemValidationError !== null) {
578
585
  let message = 'Object doesn\'t match SemanticFilter (at "' + path_filters_item + '")\n';
579
586
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -585,7 +592,7 @@ function validate$v(obj, path = 'FlattenFilter') {
585
592
  return v_error === undefined ? null : v_error;
586
593
  }
587
594
 
588
- function validate$u(obj, path = 'MetricInstance') {
595
+ function validate$v(obj, path = 'MetricInstance') {
589
596
  const v_error = (() => {
590
597
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
591
598
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -599,7 +606,7 @@ function validate$u(obj, path = 'MetricInstance') {
599
606
  for (let i = 0; i < obj_filters.length; i++) {
600
607
  const obj_filters_item = obj_filters[i];
601
608
  const path_filters_item = path_filters + '[' + i + ']';
602
- const referencepath_filters_itemValidationError = validate$z(obj_filters_item, path_filters_item);
609
+ const referencepath_filters_itemValidationError = validate$A(obj_filters_item, path_filters_item);
603
610
  if (referencepath_filters_itemValidationError !== null) {
604
611
  let message = 'Object doesn\'t match Filter (at "' + path_filters_item + '")\n';
605
612
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -609,7 +616,7 @@ function validate$u(obj, path = 'MetricInstance') {
609
616
  }
610
617
  const obj_measurementPeriod = obj.measurementPeriod;
611
618
  const path_measurementPeriod = path + '.measurementPeriod';
612
- const referencepath_measurementPeriodValidationError = validate$x(obj_measurementPeriod, path_measurementPeriod);
619
+ const referencepath_measurementPeriodValidationError = validate$y(obj_measurementPeriod, path_measurementPeriod);
613
620
  if (referencepath_measurementPeriodValidationError !== null) {
614
621
  let message = 'Object doesn\'t match MeasurementPeriod (at "' + path_measurementPeriod + '")\n';
615
622
  message += referencepath_measurementPeriodValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -618,7 +625,7 @@ function validate$u(obj, path = 'MetricInstance') {
618
625
  if (obj.semanticFilter !== undefined) {
619
626
  const obj_semanticFilter = obj.semanticFilter;
620
627
  const path_semanticFilter = path + '.semanticFilter';
621
- const referencepath_semanticFilterValidationError = validate$v(obj_semanticFilter, path_semanticFilter);
628
+ const referencepath_semanticFilterValidationError = validate$w(obj_semanticFilter, path_semanticFilter);
622
629
  if (referencepath_semanticFilterValidationError !== null) {
623
630
  let message = 'Object doesn\'t match FlattenFilter (at "' + path_semanticFilter + '")\n';
624
631
  message += referencepath_semanticFilterValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -629,7 +636,7 @@ function validate$u(obj, path = 'MetricInstance') {
629
636
  return v_error === undefined ? null : v_error;
630
637
  }
631
638
 
632
- function validate$t(obj, path = 'CompareConfig') {
639
+ function validate$u(obj, path = 'CompareConfig') {
633
640
  const v_error = (() => {
634
641
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
635
642
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -645,7 +652,7 @@ function validate$t(obj, path = 'CompareConfig') {
645
652
  return v_error === undefined ? null : v_error;
646
653
  }
647
654
 
648
- function validate$s(obj, path = 'Measure') {
655
+ function validate$t(obj, path = 'Measure') {
649
656
  const v_error = (() => {
650
657
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
651
658
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -659,7 +666,7 @@ function validate$s(obj, path = 'Measure') {
659
666
  }
660
667
  const obj_field = obj.field;
661
668
  const path_field = path + '.field';
662
- const referencepath_fieldValidationError = validate$C(obj_field, path_field);
669
+ const referencepath_fieldValidationError = validate$D(obj_field, path_field);
663
670
  if (referencepath_fieldValidationError !== null) {
664
671
  let message = 'Object doesn\'t match FieldId (at "' + path_field + '")\n';
665
672
  message += referencepath_fieldValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -669,7 +676,7 @@ function validate$s(obj, path = 'Measure') {
669
676
  return v_error === undefined ? null : v_error;
670
677
  }
671
678
 
672
- function validate$r(obj, path = 'SemanticDataModel') {
679
+ function validate$s(obj, path = 'SemanticDataModel') {
673
680
  const v_error = (() => {
674
681
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
675
682
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -685,14 +692,14 @@ function validate$r(obj, path = 'SemanticDataModel') {
685
692
  return v_error === undefined ? null : v_error;
686
693
  }
687
694
 
688
- function validate$q(obj, path = 'TimeDimension') {
695
+ function validate$r(obj, path = 'TimeDimension') {
689
696
  const v_error = (() => {
690
697
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
691
698
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
692
699
  }
693
700
  const obj_field = obj.field;
694
701
  const path_field = path + '.field';
695
- const referencepath_fieldValidationError = validate$C(obj_field, path_field);
702
+ const referencepath_fieldValidationError = validate$D(obj_field, path_field);
696
703
  if (referencepath_fieldValidationError !== null) {
697
704
  let message = 'Object doesn\'t match FieldId (at "' + path_field + '")\n';
698
705
  message += referencepath_fieldValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -702,14 +709,14 @@ function validate$q(obj, path = 'TimeDimension') {
702
709
  return v_error === undefined ? null : v_error;
703
710
  }
704
711
 
705
- function validate$p(obj, path = 'MetricDefinition') {
712
+ function validate$q(obj, path = 'MetricDefinition') {
706
713
  const v_error = (() => {
707
714
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
708
715
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
709
716
  }
710
717
  const obj_comparison = obj.comparison;
711
718
  const path_comparison = path + '.comparison';
712
- const referencepath_comparisonValidationError = validate$t(obj_comparison, path_comparison);
719
+ const referencepath_comparisonValidationError = validate$u(obj_comparison, path_comparison);
713
720
  if (referencepath_comparisonValidationError !== null) {
714
721
  let message = 'Object doesn\'t match CompareConfig (at "' + path_comparison + '")\n';
715
722
  message += referencepath_comparisonValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -724,7 +731,7 @@ function validate$p(obj, path = 'MetricDefinition') {
724
731
  for (let i = 0; i < obj_filters.length; i++) {
725
732
  const obj_filters_item = obj_filters[i];
726
733
  const path_filters_item = path_filters + '[' + i + ']';
727
- const referencepath_filters_itemValidationError = validate$z(obj_filters_item, path_filters_item);
734
+ const referencepath_filters_itemValidationError = validate$A(obj_filters_item, path_filters_item);
728
735
  if (referencepath_filters_itemValidationError !== null) {
729
736
  let message = 'Object doesn\'t match Filter (at "' + path_filters_item + '")\n';
730
737
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -734,7 +741,7 @@ function validate$p(obj, path = 'MetricDefinition') {
734
741
  }
735
742
  const obj_measure = obj.measure;
736
743
  const path_measure = path + '.measure';
737
- const referencepath_measureValidationError = validate$s(obj_measure, path_measure);
744
+ const referencepath_measureValidationError = validate$t(obj_measure, path_measure);
738
745
  if (referencepath_measureValidationError !== null) {
739
746
  let message = 'Object doesn\'t match Measure (at "' + path_measure + '")\n';
740
747
  message += referencepath_measureValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -749,7 +756,7 @@ function validate$p(obj, path = 'MetricDefinition') {
749
756
  }
750
757
  const obj_semanticDataModel = obj.semanticDataModel;
751
758
  const path_semanticDataModel = path + '.semanticDataModel';
752
- const referencepath_semanticDataModelValidationError = validate$r(obj_semanticDataModel, path_semanticDataModel);
759
+ const referencepath_semanticDataModelValidationError = validate$s(obj_semanticDataModel, path_semanticDataModel);
753
760
  if (referencepath_semanticDataModelValidationError !== null) {
754
761
  let message = 'Object doesn\'t match SemanticDataModel (at "' + path_semanticDataModel + '")\n';
755
762
  message += referencepath_semanticDataModelValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -758,7 +765,7 @@ function validate$p(obj, path = 'MetricDefinition') {
758
765
  if (obj.semanticFilter !== undefined) {
759
766
  const obj_semanticFilter = obj.semanticFilter;
760
767
  const path_semanticFilter = path + '.semanticFilter';
761
- const referencepath_semanticFilterValidationError = validate$v(obj_semanticFilter, path_semanticFilter);
768
+ const referencepath_semanticFilterValidationError = validate$w(obj_semanticFilter, path_semanticFilter);
762
769
  if (referencepath_semanticFilterValidationError !== null) {
763
770
  let message = 'Object doesn\'t match FlattenFilter (at "' + path_semanticFilter + '")\n';
764
771
  message += referencepath_semanticFilterValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -767,7 +774,7 @@ function validate$p(obj, path = 'MetricDefinition') {
767
774
  }
768
775
  const obj_timeDimension = obj.timeDimension;
769
776
  const path_timeDimension = path + '.timeDimension';
770
- const referencepath_timeDimensionValidationError = validate$q(obj_timeDimension, path_timeDimension);
777
+ const referencepath_timeDimensionValidationError = validate$r(obj_timeDimension, path_timeDimension);
771
778
  if (referencepath_timeDimensionValidationError !== null) {
772
779
  let message = 'Object doesn\'t match TimeDimension (at "' + path_timeDimension + '")\n';
773
780
  message += referencepath_timeDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -777,7 +784,7 @@ function validate$p(obj, path = 'MetricDefinition') {
777
784
  return v_error === undefined ? null : v_error;
778
785
  }
779
786
 
780
- function validate$o(obj, path = 'RepresentationOptions_NumberUnits') {
787
+ function validate$p(obj, path = 'RepresentationOptions_NumberUnits') {
781
788
  const v_error = (() => {
782
789
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
783
790
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -800,14 +807,14 @@ function validate$o(obj, path = 'RepresentationOptions_NumberUnits') {
800
807
  return v_error === undefined ? null : v_error;
801
808
  }
802
809
 
803
- function validate$n(obj, path = 'RepresentationOptions') {
810
+ function validate$o(obj, path = 'RepresentationOptions') {
804
811
  const v_error = (() => {
805
812
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
806
813
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
807
814
  }
808
815
  const obj_numberUnits = obj.numberUnits;
809
816
  const path_numberUnits = path + '.numberUnits';
810
- const referencepath_numberUnitsValidationError = validate$o(obj_numberUnits, path_numberUnits);
817
+ const referencepath_numberUnitsValidationError = validate$p(obj_numberUnits, path_numberUnits);
811
818
  if (referencepath_numberUnitsValidationError !== null) {
812
819
  let message = 'Object doesn\'t match RepresentationOptions_NumberUnits (at "' + path_numberUnits + '")\n';
813
820
  message += referencepath_numberUnitsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -831,14 +838,14 @@ function validate$n(obj, path = 'RepresentationOptions') {
831
838
  return v_error === undefined ? null : v_error;
832
839
  }
833
840
 
834
- function validate$m(obj, path = 'InputMetric') {
841
+ function validate$n(obj, path = 'InputMetric') {
835
842
  const v_error = (() => {
836
843
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
837
844
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
838
845
  }
839
846
  const obj_extensionOptions = obj.extensionOptions;
840
847
  const path_extensionOptions = path + '.extensionOptions';
841
- const referencepath_extensionOptionsValidationError = validate$I(obj_extensionOptions, path_extensionOptions);
848
+ const referencepath_extensionOptionsValidationError = validate$J(obj_extensionOptions, path_extensionOptions);
842
849
  if (referencepath_extensionOptionsValidationError !== null) {
843
850
  let message = 'Object doesn\'t match ExtensionOptions (at "' + path_extensionOptions + '")\n';
844
851
  message += referencepath_extensionOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -847,7 +854,7 @@ function validate$m(obj, path = 'InputMetric') {
847
854
  if (obj.goals !== undefined) {
848
855
  const obj_goals = obj.goals;
849
856
  const path_goals = path + '.goals';
850
- const referencepath_goalsValidationError = validate$G(obj_goals, path_goals);
857
+ const referencepath_goalsValidationError = validate$H(obj_goals, path_goals);
851
858
  if (referencepath_goalsValidationError !== null) {
852
859
  let message = 'Object doesn\'t match GoalMetadata (at "' + path_goals + '")\n';
853
860
  message += referencepath_goalsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -856,7 +863,7 @@ function validate$m(obj, path = 'InputMetric') {
856
863
  }
857
864
  const obj_insightsOptions = obj.insightsOptions;
858
865
  const path_insightsOptions = path + '.insightsOptions';
859
- const referencepath_insightsOptionsValidationError = validate$E(obj_insightsOptions, path_insightsOptions);
866
+ const referencepath_insightsOptionsValidationError = validate$F(obj_insightsOptions, path_insightsOptions);
860
867
  if (referencepath_insightsOptionsValidationError !== null) {
861
868
  let message = 'Object doesn\'t match InsightsOptions (at "' + path_insightsOptions + '")\n';
862
869
  message += referencepath_insightsOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -864,7 +871,7 @@ function validate$m(obj, path = 'InputMetric') {
864
871
  }
865
872
  const obj_instance = obj.instance;
866
873
  const path_instance = path + '.instance';
867
- const referencepath_instanceValidationError = validate$u(obj_instance, path_instance);
874
+ const referencepath_instanceValidationError = validate$v(obj_instance, path_instance);
868
875
  if (referencepath_instanceValidationError !== null) {
869
876
  let message = 'Object doesn\'t match MetricInstance (at "' + path_instance + '")\n';
870
877
  message += referencepath_instanceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -872,7 +879,7 @@ function validate$m(obj, path = 'InputMetric') {
872
879
  }
873
880
  const obj_metric = obj.metric;
874
881
  const path_metric = path + '.metric';
875
- const referencepath_metricValidationError = validate$p(obj_metric, path_metric);
882
+ const referencepath_metricValidationError = validate$q(obj_metric, path_metric);
876
883
  if (referencepath_metricValidationError !== null) {
877
884
  let message = 'Object doesn\'t match MetricDefinition (at "' + path_metric + '")\n';
878
885
  message += referencepath_metricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -880,7 +887,7 @@ function validate$m(obj, path = 'InputMetric') {
880
887
  }
881
888
  const obj_representationOptions = obj.representationOptions;
882
889
  const path_representationOptions = path + '.representationOptions';
883
- const referencepath_representationOptionsValidationError = validate$n(obj_representationOptions, path_representationOptions);
890
+ const referencepath_representationOptionsValidationError = validate$o(obj_representationOptions, path_representationOptions);
884
891
  if (referencepath_representationOptionsValidationError !== null) {
885
892
  let message = 'Object doesn\'t match RepresentationOptions (at "' + path_representationOptions + '")\n';
886
893
  message += referencepath_representationOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -890,14 +897,14 @@ function validate$m(obj, path = 'InputMetric') {
890
897
  return v_error === undefined ? null : v_error;
891
898
  }
892
899
 
893
- function validate$l(obj, path = 'InsightBundleInput') {
900
+ function validate$m(obj, path = 'InsightBundleInput') {
894
901
  const v_error = (() => {
895
902
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
896
903
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
897
904
  }
898
905
  const obj_metadata = obj.metadata;
899
906
  const path_metadata = path + '.metadata';
900
- const referencepath_metadataValidationError = validate$J(obj_metadata, path_metadata);
907
+ const referencepath_metadataValidationError = validate$K(obj_metadata, path_metadata);
901
908
  if (referencepath_metadataValidationError !== null) {
902
909
  let message = 'Object doesn\'t match MetricMetadata (at "' + path_metadata + '")\n';
903
910
  message += referencepath_metadataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -905,7 +912,7 @@ function validate$l(obj, path = 'InsightBundleInput') {
905
912
  }
906
913
  const obj_metric = obj.metric;
907
914
  const path_metric = path + '.metric';
908
- const referencepath_metricValidationError = validate$m(obj_metric, path_metric);
915
+ const referencepath_metricValidationError = validate$n(obj_metric, path_metric);
909
916
  if (referencepath_metricValidationError !== null) {
910
917
  let message = 'Object doesn\'t match InputMetric (at "' + path_metric + '")\n';
911
918
  message += referencepath_metricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -915,11 +922,58 @@ function validate$l(obj, path = 'InsightBundleInput') {
915
922
  return v_error === undefined ? null : v_error;
916
923
  }
917
924
 
925
+ function validate$l(obj, path = 'UnifiedFilter') {
926
+ const v_error = (() => {
927
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
928
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
929
+ }
930
+ if (obj.fieldName !== undefined) {
931
+ const obj_fieldName = obj.fieldName;
932
+ const path_fieldName = path + '.fieldName';
933
+ if (typeof obj_fieldName !== 'string') {
934
+ return new TypeError('Expected "string" but received "' + typeof obj_fieldName + '" (at "' + path_fieldName + '")');
935
+ }
936
+ }
937
+ if (obj.operator !== undefined) {
938
+ const obj_operator = obj.operator;
939
+ const path_operator = path + '.operator';
940
+ if (typeof obj_operator !== 'string') {
941
+ return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
942
+ }
943
+ }
944
+ if (obj.values !== undefined) {
945
+ const obj_values = obj.values;
946
+ const path_values = path + '.values';
947
+ if (!ArrayIsArray(obj_values)) {
948
+ return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
949
+ }
950
+ for (let i = 0; i < obj_values.length; i++) {
951
+ const obj_values_item = obj_values[i];
952
+ const path_values_item = path_values + '[' + i + ']';
953
+ if (obj_values_item === undefined) {
954
+ return new TypeError('Expected "defined" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
955
+ }
956
+ }
957
+ }
958
+ })();
959
+ return v_error === undefined ? null : v_error;
960
+ }
961
+
918
962
  function validate$k(obj, path = 'MetricInstanceInput') {
919
963
  const v_error = (() => {
920
964
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
921
965
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
922
966
  }
967
+ if (obj.measurementPeriod !== undefined) {
968
+ const obj_measurementPeriod = obj.measurementPeriod;
969
+ const path_measurementPeriod = path + '.measurementPeriod';
970
+ const referencepath_measurementPeriodValidationError = validate$l(obj_measurementPeriod, path_measurementPeriod);
971
+ if (referencepath_measurementPeriodValidationError !== null) {
972
+ let message = 'Object doesn\'t match UnifiedFilter (at "' + path_measurementPeriod + '")\n';
973
+ message += referencepath_measurementPeriodValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
974
+ return new TypeError(message);
975
+ }
976
+ }
923
977
  const obj_metricInstanceId = obj.metricInstanceId;
924
978
  const path_metricInstanceId = path + '.metricInstanceId';
925
979
  if (typeof obj_metricInstanceId !== 'string') {
@@ -942,7 +996,7 @@ function validate$j(obj, path = 'BatchInput') {
942
996
  if (obj.bundleInput !== undefined) {
943
997
  const obj_bundleInput = obj.bundleInput;
944
998
  const path_bundleInput = path + '.bundleInput';
945
- const referencepath_bundleInputValidationError = validate$l(obj_bundleInput, path_bundleInput);
999
+ const referencepath_bundleInputValidationError = validate$m(obj_bundleInput, path_bundleInput);
946
1000
  if (referencepath_bundleInputValidationError !== null) {
947
1001
  let message = 'Object doesn\'t match InsightBundleInput (at "' + path_bundleInput + '")\n';
948
1002
  message += referencepath_bundleInputValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2699,7 +2753,7 @@ function typeCheckConfig$3(untrustedConfig) {
2699
2753
  const config = {};
2700
2754
  typeCheckConfig$5(untrustedConfig, config, generateInsights_ConfigPropertyMetadata);
2701
2755
  const untrustedConfig_input = untrustedConfig.input;
2702
- const referenceInsightBundleInputValidationError = validate$l(untrustedConfig_input);
2756
+ const referenceInsightBundleInputValidationError = validate$m(untrustedConfig_input);
2703
2757
  if (referenceInsightBundleInputValidationError === null) {
2704
2758
  config.input = untrustedConfig_input;
2705
2759
  }
@@ -2802,7 +2856,7 @@ function typeCheckConfig$2(untrustedConfig) {
2802
2856
  const config = {};
2803
2857
  typeCheckConfig$5(untrustedConfig, config, generateInsightsBasic_ConfigPropertyMetadata);
2804
2858
  const untrustedConfig_input = untrustedConfig.input;
2805
- const referenceInsightBundleInputValidationError = validate$l(untrustedConfig_input);
2859
+ const referenceInsightBundleInputValidationError = validate$m(untrustedConfig_input);
2806
2860
  if (referenceInsightBundleInputValidationError === null) {
2807
2861
  config.input = untrustedConfig_input;
2808
2862
  }
@@ -3543,12 +3597,12 @@ function typeCheckConfig(untrustedConfig) {
3543
3597
  const config = {};
3544
3598
  typeCheckConfig$5(untrustedConfig, config, getMetricFilterValues_ConfigPropertyMetadata);
3545
3599
  const untrustedConfig_semanticDataModel = untrustedConfig.semanticDataModel;
3546
- const referenceSemanticDataModelValidationError = validate$r(untrustedConfig_semanticDataModel);
3600
+ const referenceSemanticDataModelValidationError = validate$s(untrustedConfig_semanticDataModel);
3547
3601
  if (referenceSemanticDataModelValidationError === null) {
3548
3602
  config.semanticDataModel = untrustedConfig_semanticDataModel;
3549
3603
  }
3550
3604
  const untrustedConfig_field = untrustedConfig.field;
3551
- const referenceFieldIdValidationError = validate$C(untrustedConfig_field);
3605
+ const referenceFieldIdValidationError = validate$D(untrustedConfig_field);
3552
3606
  if (referenceFieldIdValidationError === null) {
3553
3607
  config.field = untrustedConfig_field;
3554
3608
  }
@@ -3557,7 +3611,7 @@ function typeCheckConfig(untrustedConfig) {
3557
3611
  const untrustedConfig_filters_array = [];
3558
3612
  for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
3559
3613
  const untrustedConfig_filters_item = untrustedConfig_filters[i];
3560
- const referenceFilterValidationError = validate$z(untrustedConfig_filters_item);
3614
+ const referenceFilterValidationError = validate$A(untrustedConfig_filters_item);
3561
3615
  if (referenceFilterValidationError === null) {
3562
3616
  untrustedConfig_filters_array.push(untrustedConfig_filters_item);
3563
3617
  }
@@ -3565,7 +3619,7 @@ function typeCheckConfig(untrustedConfig) {
3565
3619
  config.filters = untrustedConfig_filters_array;
3566
3620
  }
3567
3621
  const untrustedConfig_semanticFilter = untrustedConfig.semanticFilter;
3568
- const referenceFlattenFilterValidationError = validate$v(untrustedConfig_semanticFilter);
3622
+ const referenceFlattenFilterValidationError = validate$w(untrustedConfig_semanticFilter);
3569
3623
  if (referenceFlattenFilterValidationError === null) {
3570
3624
  config.semanticFilter = untrustedConfig_semanticFilter;
3571
3625
  }
@@ -3659,4 +3713,4 @@ withDefaultLuvio((luvio) => {
3659
3713
  });
3660
3714
 
3661
3715
  export { createInsightsBatch, generateInsights, generateInsightsBasic, getInsightsBatch, getInsightsBatchNotifyChange, getInsightsBatch_imperative, getMetricFilterValues };
3662
- // version: 1.345.0-faf201180e
3716
+ // version: 1.347.0-31679f40fc