@salesforce/lds-adapters-sfap-analytics-insights 1.332.0-dev17 → 1.332.0-dev19

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$I(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$H(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$G(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$F(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$G(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$E(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$D(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$E(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$C(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$B(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$A(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$z(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$y(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$C(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$B(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$B(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$A(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$z(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,59 +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') {
478
- const v_error = (() => {
479
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
480
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
481
- }
482
- if (obj.granularity !== undefined) {
483
- const obj_granularity = obj.granularity;
484
- const path_granularity = path + '.granularity';
485
- if (typeof obj_granularity !== 'string') {
486
- return new TypeError('Expected "string" but received "' + typeof obj_granularity + '" (at "' + path_granularity + '")');
487
- }
488
- }
489
- if (obj.range !== undefined) {
490
- const obj_range = obj.range;
491
- const path_range = path + '.range';
492
- if (typeof obj_range !== 'string') {
493
- return new TypeError('Expected "string" but received "' + typeof obj_range + '" (at "' + path_range + '")');
494
- }
495
- }
496
- })();
497
- return v_error === undefined ? null : v_error;
498
- }
499
-
500
- function validate$x(obj, path = 'MeasurementPeriod') {
501
- const v_error = (() => {
502
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
503
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
504
- }
505
- if (obj.filter !== undefined) {
506
- const obj_filter = obj.filter;
507
- const path_filter = path + '.filter';
508
- const referencepath_filterValidationError = validate$z(obj_filter, path_filter);
509
- if (referencepath_filterValidationError !== null) {
510
- let message = 'Object doesn\'t match Filter (at "' + path_filter + '")\n';
511
- message += referencepath_filterValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
512
- return new TypeError(message);
513
- }
514
- }
515
- if (obj.relativePeriod !== undefined) {
516
- const obj_relativePeriod = obj.relativePeriod;
517
- const path_relativePeriod = path + '.relativePeriod';
518
- const referencepath_relativePeriodValidationError = validate$y(obj_relativePeriod, path_relativePeriod);
519
- if (referencepath_relativePeriodValidationError !== null) {
520
- let message = 'Object doesn\'t match RelativePeriod (at "' + path_relativePeriod + '")\n';
521
- message += referencepath_relativePeriodValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
522
- return new TypeError(message);
523
- }
524
- }
525
- })();
526
- return v_error === undefined ? null : v_error;
527
- }
528
-
529
- function validate$w(obj, path = 'SemanticFilter') {
477
+ function validate$x(obj, path = 'SemanticFilter') {
530
478
  const v_error = (() => {
531
479
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
532
480
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -552,7 +500,7 @@ function validate$w(obj, path = 'SemanticFilter') {
552
500
  return v_error === undefined ? null : v_error;
553
501
  }
554
502
 
555
- function validate$v(obj, path = 'FlattenFilter') {
503
+ function validate$w(obj, path = 'FlattenFilter') {
556
504
  const v_error = (() => {
557
505
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
558
506
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -573,7 +521,7 @@ function validate$v(obj, path = 'FlattenFilter') {
573
521
  for (let i = 0; i < obj_filters.length; i++) {
574
522
  const obj_filters_item = obj_filters[i];
575
523
  const path_filters_item = path_filters + '[' + i + ']';
576
- const referencepath_filters_itemValidationError = validate$w(obj_filters_item, path_filters_item);
524
+ const referencepath_filters_itemValidationError = validate$x(obj_filters_item, path_filters_item);
577
525
  if (referencepath_filters_itemValidationError !== null) {
578
526
  let message = 'Object doesn\'t match SemanticFilter (at "' + path_filters_item + '")\n';
579
527
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -585,7 +533,7 @@ function validate$v(obj, path = 'FlattenFilter') {
585
533
  return v_error === undefined ? null : v_error;
586
534
  }
587
535
 
588
- function validate$u(obj, path = 'MetricInstance') {
536
+ function validate$v(obj, path = 'MetricInstance') {
589
537
  const v_error = (() => {
590
538
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
591
539
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -599,7 +547,7 @@ function validate$u(obj, path = 'MetricInstance') {
599
547
  for (let i = 0; i < obj_filters.length; i++) {
600
548
  const obj_filters_item = obj_filters[i];
601
549
  const path_filters_item = path_filters + '[' + i + ']';
602
- const referencepath_filters_itemValidationError = validate$z(obj_filters_item, path_filters_item);
550
+ const referencepath_filters_itemValidationError = validate$y(obj_filters_item, path_filters_item);
603
551
  if (referencepath_filters_itemValidationError !== null) {
604
552
  let message = 'Object doesn\'t match Filter (at "' + path_filters_item + '")\n';
605
553
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -607,18 +555,17 @@ function validate$u(obj, path = 'MetricInstance') {
607
555
  }
608
556
  }
609
557
  }
610
- const obj_measurementPeriod = obj.measurementPeriod;
611
- const path_measurementPeriod = path + '.measurementPeriod';
612
- const referencepath_measurementPeriodValidationError = validate$x(obj_measurementPeriod, path_measurementPeriod);
613
- if (referencepath_measurementPeriodValidationError !== null) {
614
- let message = 'Object doesn\'t match MeasurementPeriod (at "' + path_measurementPeriod + '")\n';
615
- message += referencepath_measurementPeriodValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
616
- return new TypeError(message);
558
+ if (obj.measurementPeriod !== undefined) {
559
+ const obj_measurementPeriod = obj.measurementPeriod;
560
+ const path_measurementPeriod = path + '.measurementPeriod';
561
+ if (obj_measurementPeriod === undefined) {
562
+ return new TypeError('Expected "defined" but received "' + typeof obj_measurementPeriod + '" (at "' + path_measurementPeriod + '")');
563
+ }
617
564
  }
618
565
  if (obj.semanticFilter !== undefined) {
619
566
  const obj_semanticFilter = obj.semanticFilter;
620
567
  const path_semanticFilter = path + '.semanticFilter';
621
- const referencepath_semanticFilterValidationError = validate$v(obj_semanticFilter, path_semanticFilter);
568
+ const referencepath_semanticFilterValidationError = validate$w(obj_semanticFilter, path_semanticFilter);
622
569
  if (referencepath_semanticFilterValidationError !== null) {
623
570
  let message = 'Object doesn\'t match FlattenFilter (at "' + path_semanticFilter + '")\n';
624
571
  message += referencepath_semanticFilterValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -629,7 +576,7 @@ function validate$u(obj, path = 'MetricInstance') {
629
576
  return v_error === undefined ? null : v_error;
630
577
  }
631
578
 
632
- function validate$t(obj, path = 'CompareConfig') {
579
+ function validate$u(obj, path = 'CompareConfig') {
633
580
  const v_error = (() => {
634
581
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
635
582
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -645,7 +592,7 @@ function validate$t(obj, path = 'CompareConfig') {
645
592
  return v_error === undefined ? null : v_error;
646
593
  }
647
594
 
648
- function validate$s(obj, path = 'Measure') {
595
+ function validate$t(obj, path = 'Measure') {
649
596
  const v_error = (() => {
650
597
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
651
598
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -659,7 +606,7 @@ function validate$s(obj, path = 'Measure') {
659
606
  }
660
607
  const obj_field = obj.field;
661
608
  const path_field = path + '.field';
662
- const referencepath_fieldValidationError = validate$C(obj_field, path_field);
609
+ const referencepath_fieldValidationError = validate$B(obj_field, path_field);
663
610
  if (referencepath_fieldValidationError !== null) {
664
611
  let message = 'Object doesn\'t match FieldId (at "' + path_field + '")\n';
665
612
  message += referencepath_fieldValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -669,7 +616,7 @@ function validate$s(obj, path = 'Measure') {
669
616
  return v_error === undefined ? null : v_error;
670
617
  }
671
618
 
672
- function validate$r(obj, path = 'SemanticDataModel') {
619
+ function validate$s(obj, path = 'SemanticDataModel') {
673
620
  const v_error = (() => {
674
621
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
675
622
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -685,14 +632,14 @@ function validate$r(obj, path = 'SemanticDataModel') {
685
632
  return v_error === undefined ? null : v_error;
686
633
  }
687
634
 
688
- function validate$q(obj, path = 'TimeDimension') {
635
+ function validate$r(obj, path = 'TimeDimension') {
689
636
  const v_error = (() => {
690
637
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
691
638
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
692
639
  }
693
640
  const obj_field = obj.field;
694
641
  const path_field = path + '.field';
695
- const referencepath_fieldValidationError = validate$C(obj_field, path_field);
642
+ const referencepath_fieldValidationError = validate$B(obj_field, path_field);
696
643
  if (referencepath_fieldValidationError !== null) {
697
644
  let message = 'Object doesn\'t match FieldId (at "' + path_field + '")\n';
698
645
  message += referencepath_fieldValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -702,14 +649,14 @@ function validate$q(obj, path = 'TimeDimension') {
702
649
  return v_error === undefined ? null : v_error;
703
650
  }
704
651
 
705
- function validate$p(obj, path = 'MetricDefinition') {
652
+ function validate$q(obj, path = 'MetricDefinition') {
706
653
  const v_error = (() => {
707
654
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
708
655
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
709
656
  }
710
657
  const obj_comparison = obj.comparison;
711
658
  const path_comparison = path + '.comparison';
712
- const referencepath_comparisonValidationError = validate$t(obj_comparison, path_comparison);
659
+ const referencepath_comparisonValidationError = validate$u(obj_comparison, path_comparison);
713
660
  if (referencepath_comparisonValidationError !== null) {
714
661
  let message = 'Object doesn\'t match CompareConfig (at "' + path_comparison + '")\n';
715
662
  message += referencepath_comparisonValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -724,7 +671,7 @@ function validate$p(obj, path = 'MetricDefinition') {
724
671
  for (let i = 0; i < obj_filters.length; i++) {
725
672
  const obj_filters_item = obj_filters[i];
726
673
  const path_filters_item = path_filters + '[' + i + ']';
727
- const referencepath_filters_itemValidationError = validate$z(obj_filters_item, path_filters_item);
674
+ const referencepath_filters_itemValidationError = validate$y(obj_filters_item, path_filters_item);
728
675
  if (referencepath_filters_itemValidationError !== null) {
729
676
  let message = 'Object doesn\'t match Filter (at "' + path_filters_item + '")\n';
730
677
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -734,7 +681,7 @@ function validate$p(obj, path = 'MetricDefinition') {
734
681
  }
735
682
  const obj_measure = obj.measure;
736
683
  const path_measure = path + '.measure';
737
- const referencepath_measureValidationError = validate$s(obj_measure, path_measure);
684
+ const referencepath_measureValidationError = validate$t(obj_measure, path_measure);
738
685
  if (referencepath_measureValidationError !== null) {
739
686
  let message = 'Object doesn\'t match Measure (at "' + path_measure + '")\n';
740
687
  message += referencepath_measureValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -749,7 +696,7 @@ function validate$p(obj, path = 'MetricDefinition') {
749
696
  }
750
697
  const obj_semanticDataModel = obj.semanticDataModel;
751
698
  const path_semanticDataModel = path + '.semanticDataModel';
752
- const referencepath_semanticDataModelValidationError = validate$r(obj_semanticDataModel, path_semanticDataModel);
699
+ const referencepath_semanticDataModelValidationError = validate$s(obj_semanticDataModel, path_semanticDataModel);
753
700
  if (referencepath_semanticDataModelValidationError !== null) {
754
701
  let message = 'Object doesn\'t match SemanticDataModel (at "' + path_semanticDataModel + '")\n';
755
702
  message += referencepath_semanticDataModelValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -758,7 +705,7 @@ function validate$p(obj, path = 'MetricDefinition') {
758
705
  if (obj.semanticFilter !== undefined) {
759
706
  const obj_semanticFilter = obj.semanticFilter;
760
707
  const path_semanticFilter = path + '.semanticFilter';
761
- const referencepath_semanticFilterValidationError = validate$v(obj_semanticFilter, path_semanticFilter);
708
+ const referencepath_semanticFilterValidationError = validate$w(obj_semanticFilter, path_semanticFilter);
762
709
  if (referencepath_semanticFilterValidationError !== null) {
763
710
  let message = 'Object doesn\'t match FlattenFilter (at "' + path_semanticFilter + '")\n';
764
711
  message += referencepath_semanticFilterValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -767,7 +714,7 @@ function validate$p(obj, path = 'MetricDefinition') {
767
714
  }
768
715
  const obj_timeDimension = obj.timeDimension;
769
716
  const path_timeDimension = path + '.timeDimension';
770
- const referencepath_timeDimensionValidationError = validate$q(obj_timeDimension, path_timeDimension);
717
+ const referencepath_timeDimensionValidationError = validate$r(obj_timeDimension, path_timeDimension);
771
718
  if (referencepath_timeDimensionValidationError !== null) {
772
719
  let message = 'Object doesn\'t match TimeDimension (at "' + path_timeDimension + '")\n';
773
720
  message += referencepath_timeDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -777,7 +724,7 @@ function validate$p(obj, path = 'MetricDefinition') {
777
724
  return v_error === undefined ? null : v_error;
778
725
  }
779
726
 
780
- function validate$o(obj, path = 'RepresentationOptions_NumberUnits') {
727
+ function validate$p(obj, path = 'RepresentationOptions_NumberUnits') {
781
728
  const v_error = (() => {
782
729
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
783
730
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -800,14 +747,14 @@ function validate$o(obj, path = 'RepresentationOptions_NumberUnits') {
800
747
  return v_error === undefined ? null : v_error;
801
748
  }
802
749
 
803
- function validate$n(obj, path = 'RepresentationOptions') {
750
+ function validate$o(obj, path = 'RepresentationOptions') {
804
751
  const v_error = (() => {
805
752
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
806
753
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
807
754
  }
808
755
  const obj_numberUnits = obj.numberUnits;
809
756
  const path_numberUnits = path + '.numberUnits';
810
- const referencepath_numberUnitsValidationError = validate$o(obj_numberUnits, path_numberUnits);
757
+ const referencepath_numberUnitsValidationError = validate$p(obj_numberUnits, path_numberUnits);
811
758
  if (referencepath_numberUnitsValidationError !== null) {
812
759
  let message = 'Object doesn\'t match RepresentationOptions_NumberUnits (at "' + path_numberUnits + '")\n';
813
760
  message += referencepath_numberUnitsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -831,14 +778,14 @@ function validate$n(obj, path = 'RepresentationOptions') {
831
778
  return v_error === undefined ? null : v_error;
832
779
  }
833
780
 
834
- function validate$m(obj, path = 'InputMetric') {
781
+ function validate$n(obj, path = 'InputMetric') {
835
782
  const v_error = (() => {
836
783
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
837
784
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
838
785
  }
839
786
  const obj_extensionOptions = obj.extensionOptions;
840
787
  const path_extensionOptions = path + '.extensionOptions';
841
- const referencepath_extensionOptionsValidationError = validate$I(obj_extensionOptions, path_extensionOptions);
788
+ const referencepath_extensionOptionsValidationError = validate$H(obj_extensionOptions, path_extensionOptions);
842
789
  if (referencepath_extensionOptionsValidationError !== null) {
843
790
  let message = 'Object doesn\'t match ExtensionOptions (at "' + path_extensionOptions + '")\n';
844
791
  message += referencepath_extensionOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -847,7 +794,7 @@ function validate$m(obj, path = 'InputMetric') {
847
794
  if (obj.goals !== undefined) {
848
795
  const obj_goals = obj.goals;
849
796
  const path_goals = path + '.goals';
850
- const referencepath_goalsValidationError = validate$G(obj_goals, path_goals);
797
+ const referencepath_goalsValidationError = validate$F(obj_goals, path_goals);
851
798
  if (referencepath_goalsValidationError !== null) {
852
799
  let message = 'Object doesn\'t match GoalMetadata (at "' + path_goals + '")\n';
853
800
  message += referencepath_goalsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -856,7 +803,7 @@ function validate$m(obj, path = 'InputMetric') {
856
803
  }
857
804
  const obj_insightsOptions = obj.insightsOptions;
858
805
  const path_insightsOptions = path + '.insightsOptions';
859
- const referencepath_insightsOptionsValidationError = validate$E(obj_insightsOptions, path_insightsOptions);
806
+ const referencepath_insightsOptionsValidationError = validate$D(obj_insightsOptions, path_insightsOptions);
860
807
  if (referencepath_insightsOptionsValidationError !== null) {
861
808
  let message = 'Object doesn\'t match InsightsOptions (at "' + path_insightsOptions + '")\n';
862
809
  message += referencepath_insightsOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -864,7 +811,7 @@ function validate$m(obj, path = 'InputMetric') {
864
811
  }
865
812
  const obj_instance = obj.instance;
866
813
  const path_instance = path + '.instance';
867
- const referencepath_instanceValidationError = validate$u(obj_instance, path_instance);
814
+ const referencepath_instanceValidationError = validate$v(obj_instance, path_instance);
868
815
  if (referencepath_instanceValidationError !== null) {
869
816
  let message = 'Object doesn\'t match MetricInstance (at "' + path_instance + '")\n';
870
817
  message += referencepath_instanceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -872,7 +819,7 @@ function validate$m(obj, path = 'InputMetric') {
872
819
  }
873
820
  const obj_metric = obj.metric;
874
821
  const path_metric = path + '.metric';
875
- const referencepath_metricValidationError = validate$p(obj_metric, path_metric);
822
+ const referencepath_metricValidationError = validate$q(obj_metric, path_metric);
876
823
  if (referencepath_metricValidationError !== null) {
877
824
  let message = 'Object doesn\'t match MetricDefinition (at "' + path_metric + '")\n';
878
825
  message += referencepath_metricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -880,7 +827,7 @@ function validate$m(obj, path = 'InputMetric') {
880
827
  }
881
828
  const obj_representationOptions = obj.representationOptions;
882
829
  const path_representationOptions = path + '.representationOptions';
883
- const referencepath_representationOptionsValidationError = validate$n(obj_representationOptions, path_representationOptions);
830
+ const referencepath_representationOptionsValidationError = validate$o(obj_representationOptions, path_representationOptions);
884
831
  if (referencepath_representationOptionsValidationError !== null) {
885
832
  let message = 'Object doesn\'t match RepresentationOptions (at "' + path_representationOptions + '")\n';
886
833
  message += referencepath_representationOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -890,14 +837,14 @@ function validate$m(obj, path = 'InputMetric') {
890
837
  return v_error === undefined ? null : v_error;
891
838
  }
892
839
 
893
- function validate$l(obj, path = 'InsightBundleInput') {
840
+ function validate$m(obj, path = 'InsightBundleInput') {
894
841
  const v_error = (() => {
895
842
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
896
843
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
897
844
  }
898
845
  const obj_metadata = obj.metadata;
899
846
  const path_metadata = path + '.metadata';
900
- const referencepath_metadataValidationError = validate$J(obj_metadata, path_metadata);
847
+ const referencepath_metadataValidationError = validate$I(obj_metadata, path_metadata);
901
848
  if (referencepath_metadataValidationError !== null) {
902
849
  let message = 'Object doesn\'t match MetricMetadata (at "' + path_metadata + '")\n';
903
850
  message += referencepath_metadataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -905,7 +852,7 @@ function validate$l(obj, path = 'InsightBundleInput') {
905
852
  }
906
853
  const obj_metric = obj.metric;
907
854
  const path_metric = path + '.metric';
908
- const referencepath_metricValidationError = validate$m(obj_metric, path_metric);
855
+ const referencepath_metricValidationError = validate$n(obj_metric, path_metric);
909
856
  if (referencepath_metricValidationError !== null) {
910
857
  let message = 'Object doesn\'t match InputMetric (at "' + path_metric + '")\n';
911
858
  message += referencepath_metricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -915,11 +862,58 @@ function validate$l(obj, path = 'InsightBundleInput') {
915
862
  return v_error === undefined ? null : v_error;
916
863
  }
917
864
 
865
+ function validate$l(obj, path = 'UnifiedFilter') {
866
+ const v_error = (() => {
867
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
868
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
869
+ }
870
+ if (obj.fieldName !== undefined) {
871
+ const obj_fieldName = obj.fieldName;
872
+ const path_fieldName = path + '.fieldName';
873
+ if (typeof obj_fieldName !== 'string') {
874
+ return new TypeError('Expected "string" but received "' + typeof obj_fieldName + '" (at "' + path_fieldName + '")');
875
+ }
876
+ }
877
+ if (obj.operator !== undefined) {
878
+ const obj_operator = obj.operator;
879
+ const path_operator = path + '.operator';
880
+ if (typeof obj_operator !== 'string') {
881
+ return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
882
+ }
883
+ }
884
+ if (obj.values !== undefined) {
885
+ const obj_values = obj.values;
886
+ const path_values = path + '.values';
887
+ if (!ArrayIsArray(obj_values)) {
888
+ return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
889
+ }
890
+ for (let i = 0; i < obj_values.length; i++) {
891
+ const obj_values_item = obj_values[i];
892
+ const path_values_item = path_values + '[' + i + ']';
893
+ if (obj_values_item === undefined) {
894
+ return new TypeError('Expected "defined" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
895
+ }
896
+ }
897
+ }
898
+ })();
899
+ return v_error === undefined ? null : v_error;
900
+ }
901
+
918
902
  function validate$k(obj, path = 'MetricInstanceInput') {
919
903
  const v_error = (() => {
920
904
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
921
905
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
922
906
  }
907
+ if (obj.measurementPeriod !== undefined) {
908
+ const obj_measurementPeriod = obj.measurementPeriod;
909
+ const path_measurementPeriod = path + '.measurementPeriod';
910
+ const referencepath_measurementPeriodValidationError = validate$l(obj_measurementPeriod, path_measurementPeriod);
911
+ if (referencepath_measurementPeriodValidationError !== null) {
912
+ let message = 'Object doesn\'t match UnifiedFilter (at "' + path_measurementPeriod + '")\n';
913
+ message += referencepath_measurementPeriodValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
914
+ return new TypeError(message);
915
+ }
916
+ }
923
917
  const obj_metricInstanceId = obj.metricInstanceId;
924
918
  const path_metricInstanceId = path + '.metricInstanceId';
925
919
  if (typeof obj_metricInstanceId !== 'string') {
@@ -942,7 +936,7 @@ function validate$j(obj, path = 'BatchInput') {
942
936
  if (obj.bundleInput !== undefined) {
943
937
  const obj_bundleInput = obj.bundleInput;
944
938
  const path_bundleInput = path + '.bundleInput';
945
- const referencepath_bundleInputValidationError = validate$l(obj_bundleInput, path_bundleInput);
939
+ const referencepath_bundleInputValidationError = validate$m(obj_bundleInput, path_bundleInput);
946
940
  if (referencepath_bundleInputValidationError !== null) {
947
941
  let message = 'Object doesn\'t match InsightBundleInput (at "' + path_bundleInput + '")\n';
948
942
  message += referencepath_bundleInputValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2699,7 +2693,7 @@ function typeCheckConfig$3(untrustedConfig) {
2699
2693
  const config = {};
2700
2694
  typeCheckConfig$5(untrustedConfig, config, generateInsights_ConfigPropertyMetadata);
2701
2695
  const untrustedConfig_input = untrustedConfig.input;
2702
- const referenceInsightBundleInputValidationError = validate$l(untrustedConfig_input);
2696
+ const referenceInsightBundleInputValidationError = validate$m(untrustedConfig_input);
2703
2697
  if (referenceInsightBundleInputValidationError === null) {
2704
2698
  config.input = untrustedConfig_input;
2705
2699
  }
@@ -2802,7 +2796,7 @@ function typeCheckConfig$2(untrustedConfig) {
2802
2796
  const config = {};
2803
2797
  typeCheckConfig$5(untrustedConfig, config, generateInsightsBasic_ConfigPropertyMetadata);
2804
2798
  const untrustedConfig_input = untrustedConfig.input;
2805
- const referenceInsightBundleInputValidationError = validate$l(untrustedConfig_input);
2799
+ const referenceInsightBundleInputValidationError = validate$m(untrustedConfig_input);
2806
2800
  if (referenceInsightBundleInputValidationError === null) {
2807
2801
  config.input = untrustedConfig_input;
2808
2802
  }
@@ -3543,12 +3537,12 @@ function typeCheckConfig(untrustedConfig) {
3543
3537
  const config = {};
3544
3538
  typeCheckConfig$5(untrustedConfig, config, getMetricFilterValues_ConfigPropertyMetadata);
3545
3539
  const untrustedConfig_semanticDataModel = untrustedConfig.semanticDataModel;
3546
- const referenceSemanticDataModelValidationError = validate$r(untrustedConfig_semanticDataModel);
3540
+ const referenceSemanticDataModelValidationError = validate$s(untrustedConfig_semanticDataModel);
3547
3541
  if (referenceSemanticDataModelValidationError === null) {
3548
3542
  config.semanticDataModel = untrustedConfig_semanticDataModel;
3549
3543
  }
3550
3544
  const untrustedConfig_field = untrustedConfig.field;
3551
- const referenceFieldIdValidationError = validate$C(untrustedConfig_field);
3545
+ const referenceFieldIdValidationError = validate$B(untrustedConfig_field);
3552
3546
  if (referenceFieldIdValidationError === null) {
3553
3547
  config.field = untrustedConfig_field;
3554
3548
  }
@@ -3557,7 +3551,7 @@ function typeCheckConfig(untrustedConfig) {
3557
3551
  const untrustedConfig_filters_array = [];
3558
3552
  for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
3559
3553
  const untrustedConfig_filters_item = untrustedConfig_filters[i];
3560
- const referenceFilterValidationError = validate$z(untrustedConfig_filters_item);
3554
+ const referenceFilterValidationError = validate$y(untrustedConfig_filters_item);
3561
3555
  if (referenceFilterValidationError === null) {
3562
3556
  untrustedConfig_filters_array.push(untrustedConfig_filters_item);
3563
3557
  }
@@ -3565,7 +3559,7 @@ function typeCheckConfig(untrustedConfig) {
3565
3559
  config.filters = untrustedConfig_filters_array;
3566
3560
  }
3567
3561
  const untrustedConfig_semanticFilter = untrustedConfig.semanticFilter;
3568
- const referenceFlattenFilterValidationError = validate$v(untrustedConfig_semanticFilter);
3562
+ const referenceFlattenFilterValidationError = validate$w(untrustedConfig_semanticFilter);
3569
3563
  if (referenceFlattenFilterValidationError === null) {
3570
3564
  config.semanticFilter = untrustedConfig_semanticFilter;
3571
3565
  }
@@ -3659,4 +3653,4 @@ withDefaultLuvio((luvio) => {
3659
3653
  });
3660
3654
 
3661
3655
  export { createInsightsBatch, generateInsights, generateInsightsBasic, getInsightsBatch, getInsightsBatchNotifyChange, getInsightsBatch_imperative, getMetricFilterValues };
3662
- // version: 1.332.0-dev17-75a56cc45d
3656
+ // version: 1.332.0-dev19-d7ba00c6cd