@salesforce/lds-adapters-sfap-analytics-insights 1.332.0-dev2 → 1.332.0-dev21

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$H(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$H(obj, path = 'MetricMetadata') {
125
125
  return v_error === undefined ? null : v_error;
126
126
  }
127
127
 
128
- function validate$G(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,91 @@ function validate$G(obj, path = 'ExtensionOptions') {
155
155
  return v_error === undefined ? null : v_error;
156
156
  }
157
157
 
158
- function validate$F(obj, path = 'InsightsOptions_InsightSetting') {
158
+ function validate$G(obj, path = 'GoalMetadata_StatusCondition') {
159
+ const v_error = (() => {
160
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
161
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
162
+ }
163
+ if (obj.color !== undefined) {
164
+ const obj_color = obj.color;
165
+ const path_color = path + '.color';
166
+ if (typeof obj_color !== 'string') {
167
+ return new TypeError('Expected "string" but received "' + typeof obj_color + '" (at "' + path_color + '")');
168
+ }
169
+ }
170
+ if (obj.currencyIsoCode !== undefined) {
171
+ const obj_currencyIsoCode = obj.currencyIsoCode;
172
+ const path_currencyIsoCode = path + '.currencyIsoCode';
173
+ if (typeof obj_currencyIsoCode !== 'string') {
174
+ return new TypeError('Expected "string" but received "' + typeof obj_currencyIsoCode + '" (at "' + path_currencyIsoCode + '")');
175
+ }
176
+ }
177
+ if (obj.operator !== undefined) {
178
+ const obj_operator = obj.operator;
179
+ const path_operator = path + '.operator';
180
+ if (typeof obj_operator !== 'string') {
181
+ return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
182
+ }
183
+ }
184
+ if (obj.primary !== undefined) {
185
+ const obj_primary = obj.primary;
186
+ const path_primary = path + '.primary';
187
+ if (typeof obj_primary !== 'boolean') {
188
+ return new TypeError('Expected "boolean" but received "' + typeof obj_primary + '" (at "' + path_primary + '")');
189
+ }
190
+ }
191
+ if (obj.statusName !== undefined) {
192
+ const obj_statusName = obj.statusName;
193
+ const path_statusName = path + '.statusName';
194
+ if (typeof obj_statusName !== 'string') {
195
+ return new TypeError('Expected "string" but received "' + typeof obj_statusName + '" (at "' + path_statusName + '")');
196
+ }
197
+ }
198
+ if (obj.value !== undefined) {
199
+ const obj_value = obj.value;
200
+ const path_value = path + '.value';
201
+ if (typeof obj_value !== 'string') {
202
+ return new TypeError('Expected "string" but received "' + typeof obj_value + '" (at "' + path_value + '")');
203
+ }
204
+ }
205
+ })();
206
+ return v_error === undefined ? null : v_error;
207
+ }
208
+
209
+ function validate$F(obj, path = 'GoalMetadata') {
210
+ const v_error = (() => {
211
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
212
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
213
+ }
214
+ if (obj.forecasting !== undefined) {
215
+ const obj_forecasting = obj.forecasting;
216
+ const path_forecasting = path + '.forecasting';
217
+ if (typeof obj_forecasting !== 'boolean') {
218
+ return new TypeError('Expected "boolean" but received "' + typeof obj_forecasting + '" (at "' + path_forecasting + '")');
219
+ }
220
+ }
221
+ if (obj.statusConditions !== undefined) {
222
+ const obj_statusConditions = obj.statusConditions;
223
+ const path_statusConditions = path + '.statusConditions';
224
+ if (!ArrayIsArray(obj_statusConditions)) {
225
+ return new TypeError('Expected "array" but received "' + typeof obj_statusConditions + '" (at "' + path_statusConditions + '")');
226
+ }
227
+ for (let i = 0; i < obj_statusConditions.length; i++) {
228
+ const obj_statusConditions_item = obj_statusConditions[i];
229
+ const path_statusConditions_item = path_statusConditions + '[' + i + ']';
230
+ const referencepath_statusConditions_itemValidationError = validate$G(obj_statusConditions_item, path_statusConditions_item);
231
+ if (referencepath_statusConditions_itemValidationError !== null) {
232
+ let message = 'Object doesn\'t match GoalMetadata_StatusCondition (at "' + path_statusConditions_item + '")\n';
233
+ message += referencepath_statusConditions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
234
+ return new TypeError(message);
235
+ }
236
+ }
237
+ }
238
+ })();
239
+ return v_error === undefined ? null : v_error;
240
+ }
241
+
242
+ function validate$E(obj, path = 'InsightsOptions_InsightSetting') {
159
243
  const v_error = (() => {
160
244
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
161
245
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -178,7 +262,7 @@ function validate$F(obj, path = 'InsightsOptions_InsightSetting') {
178
262
  return v_error === undefined ? null : v_error;
179
263
  }
180
264
 
181
- function validate$E(obj, path = 'InsightsOptions') {
265
+ function validate$D(obj, path = 'InsightsOptions') {
182
266
  const v_error = (() => {
183
267
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
184
268
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -192,7 +276,7 @@ function validate$E(obj, path = 'InsightsOptions') {
192
276
  for (let i = 0; i < obj_settings.length; i++) {
193
277
  const obj_settings_item = obj_settings[i];
194
278
  const path_settings_item = path_settings + '[' + i + ']';
195
- 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);
196
280
  if (referencepath_settings_itemValidationError !== null) {
197
281
  let message = 'Object doesn\'t match InsightsOptions_InsightSetting (at "' + path_settings_item + '")\n';
198
282
  message += referencepath_settings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -204,7 +288,7 @@ function validate$E(obj, path = 'InsightsOptions') {
204
288
  return v_error === undefined ? null : v_error;
205
289
  }
206
290
 
207
- function validate$D(obj, path = 'CategoricalFilterOptions') {
291
+ function validate$C(obj, path = 'CategoricalFilterOptions') {
208
292
  const v_error = (() => {
209
293
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
210
294
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -241,7 +325,7 @@ function validate$D(obj, path = 'CategoricalFilterOptions') {
241
325
  return v_error === undefined ? null : v_error;
242
326
  }
243
327
 
244
- function validate$C(obj, path = 'FieldId') {
328
+ function validate$B(obj, path = 'FieldId') {
245
329
  const v_error = (() => {
246
330
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
247
331
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -271,7 +355,7 @@ function validate$C(obj, path = 'FieldId') {
271
355
  return v_error === undefined ? null : v_error;
272
356
  }
273
357
 
274
- function validate$B(obj, path = 'RangeFilterOptions') {
358
+ function validate$A(obj, path = 'RangeFilterOptions') {
275
359
  const v_error = (() => {
276
360
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
277
361
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -315,7 +399,7 @@ function validate$B(obj, path = 'RangeFilterOptions') {
315
399
  return v_error === undefined ? null : v_error;
316
400
  }
317
401
 
318
- function validate$A(obj, path = 'RelativeDateFilterOptions') {
402
+ function validate$z(obj, path = 'RelativeDateFilterOptions') {
319
403
  const v_error = (() => {
320
404
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
321
405
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -324,7 +408,7 @@ function validate$A(obj, path = 'RelativeDateFilterOptions') {
324
408
  return v_error === undefined ? null : v_error;
325
409
  }
326
410
 
327
- function validate$z(obj, path = 'Filter') {
411
+ function validate$y(obj, path = 'Filter') {
328
412
  const v_error = (() => {
329
413
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
330
414
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -332,7 +416,7 @@ function validate$z(obj, path = 'Filter') {
332
416
  if (obj.categoricalFilterOptions !== undefined) {
333
417
  const obj_categoricalFilterOptions = obj.categoricalFilterOptions;
334
418
  const path_categoricalFilterOptions = path + '.categoricalFilterOptions';
335
- const referencepath_categoricalFilterOptionsValidationError = validate$D(obj_categoricalFilterOptions, path_categoricalFilterOptions);
419
+ const referencepath_categoricalFilterOptionsValidationError = validate$C(obj_categoricalFilterOptions, path_categoricalFilterOptions);
336
420
  if (referencepath_categoricalFilterOptionsValidationError !== null) {
337
421
  let message = 'Object doesn\'t match CategoricalFilterOptions (at "' + path_categoricalFilterOptions + '")\n';
338
422
  message += referencepath_categoricalFilterOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -342,7 +426,7 @@ function validate$z(obj, path = 'Filter') {
342
426
  if (obj.field !== undefined) {
343
427
  const obj_field = obj.field;
344
428
  const path_field = path + '.field';
345
- const referencepath_fieldValidationError = validate$C(obj_field, path_field);
429
+ const referencepath_fieldValidationError = validate$B(obj_field, path_field);
346
430
  if (referencepath_fieldValidationError !== null) {
347
431
  let message = 'Object doesn\'t match FieldId (at "' + path_field + '")\n';
348
432
  message += referencepath_fieldValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -352,7 +436,7 @@ function validate$z(obj, path = 'Filter') {
352
436
  if (obj.fieldId !== undefined) {
353
437
  const obj_fieldId = obj.fieldId;
354
438
  const path_fieldId = path + '.fieldId';
355
- const referencepath_fieldIdValidationError = validate$C(obj_fieldId, path_fieldId);
439
+ const referencepath_fieldIdValidationError = validate$B(obj_fieldId, path_fieldId);
356
440
  if (referencepath_fieldIdValidationError !== null) {
357
441
  let message = 'Object doesn\'t match FieldId (at "' + path_fieldId + '")\n';
358
442
  message += referencepath_fieldIdValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -362,7 +446,7 @@ function validate$z(obj, path = 'Filter') {
362
446
  if (obj.rangeFilterOptions !== undefined) {
363
447
  const obj_rangeFilterOptions = obj.rangeFilterOptions;
364
448
  const path_rangeFilterOptions = path + '.rangeFilterOptions';
365
- const referencepath_rangeFilterOptionsValidationError = validate$B(obj_rangeFilterOptions, path_rangeFilterOptions);
449
+ const referencepath_rangeFilterOptionsValidationError = validate$A(obj_rangeFilterOptions, path_rangeFilterOptions);
366
450
  if (referencepath_rangeFilterOptionsValidationError !== null) {
367
451
  let message = 'Object doesn\'t match RangeFilterOptions (at "' + path_rangeFilterOptions + '")\n';
368
452
  message += referencepath_rangeFilterOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -372,7 +456,7 @@ function validate$z(obj, path = 'Filter') {
372
456
  if (obj.relativeDateFilterOptions !== undefined) {
373
457
  const obj_relativeDateFilterOptions = obj.relativeDateFilterOptions;
374
458
  const path_relativeDateFilterOptions = path + '.relativeDateFilterOptions';
375
- const referencepath_relativeDateFilterOptionsValidationError = validate$A(obj_relativeDateFilterOptions, path_relativeDateFilterOptions);
459
+ const referencepath_relativeDateFilterOptionsValidationError = validate$z(obj_relativeDateFilterOptions, path_relativeDateFilterOptions);
376
460
  if (referencepath_relativeDateFilterOptionsValidationError !== null) {
377
461
  let message = 'Object doesn\'t match RelativeDateFilterOptions (at "' + path_relativeDateFilterOptions + '")\n';
378
462
  message += referencepath_relativeDateFilterOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -390,59 +474,7 @@ function validate$z(obj, path = 'Filter') {
390
474
  return v_error === undefined ? null : v_error;
391
475
  }
392
476
 
393
- function validate$y(obj, path = 'RelativePeriod') {
394
- const v_error = (() => {
395
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
396
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
397
- }
398
- if (obj.granularity !== undefined) {
399
- const obj_granularity = obj.granularity;
400
- const path_granularity = path + '.granularity';
401
- if (typeof obj_granularity !== 'string') {
402
- return new TypeError('Expected "string" but received "' + typeof obj_granularity + '" (at "' + path_granularity + '")');
403
- }
404
- }
405
- if (obj.range !== undefined) {
406
- const obj_range = obj.range;
407
- const path_range = path + '.range';
408
- if (typeof obj_range !== 'string') {
409
- return new TypeError('Expected "string" but received "' + typeof obj_range + '" (at "' + path_range + '")');
410
- }
411
- }
412
- })();
413
- return v_error === undefined ? null : v_error;
414
- }
415
-
416
- function validate$x(obj, path = 'MeasurementPeriod') {
417
- const v_error = (() => {
418
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
419
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
420
- }
421
- if (obj.filter !== undefined) {
422
- const obj_filter = obj.filter;
423
- const path_filter = path + '.filter';
424
- const referencepath_filterValidationError = validate$z(obj_filter, path_filter);
425
- if (referencepath_filterValidationError !== null) {
426
- let message = 'Object doesn\'t match Filter (at "' + path_filter + '")\n';
427
- message += referencepath_filterValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
428
- return new TypeError(message);
429
- }
430
- }
431
- if (obj.relativePeriod !== undefined) {
432
- const obj_relativePeriod = obj.relativePeriod;
433
- const path_relativePeriod = path + '.relativePeriod';
434
- const referencepath_relativePeriodValidationError = validate$y(obj_relativePeriod, path_relativePeriod);
435
- if (referencepath_relativePeriodValidationError !== null) {
436
- let message = 'Object doesn\'t match RelativePeriod (at "' + path_relativePeriod + '")\n';
437
- message += referencepath_relativePeriodValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
438
- return new TypeError(message);
439
- }
440
- }
441
- })();
442
- return v_error === undefined ? null : v_error;
443
- }
444
-
445
- function validate$w(obj, path = 'SemanticFilter') {
477
+ function validate$x(obj, path = 'SemanticFilter') {
446
478
  const v_error = (() => {
447
479
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
448
480
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -468,7 +500,7 @@ function validate$w(obj, path = 'SemanticFilter') {
468
500
  return v_error === undefined ? null : v_error;
469
501
  }
470
502
 
471
- function validate$v(obj, path = 'FlattenFilter') {
503
+ function validate$w(obj, path = 'FlattenFilter') {
472
504
  const v_error = (() => {
473
505
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
474
506
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -489,7 +521,7 @@ function validate$v(obj, path = 'FlattenFilter') {
489
521
  for (let i = 0; i < obj_filters.length; i++) {
490
522
  const obj_filters_item = obj_filters[i];
491
523
  const path_filters_item = path_filters + '[' + i + ']';
492
- 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);
493
525
  if (referencepath_filters_itemValidationError !== null) {
494
526
  let message = 'Object doesn\'t match SemanticFilter (at "' + path_filters_item + '")\n';
495
527
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -501,7 +533,7 @@ function validate$v(obj, path = 'FlattenFilter') {
501
533
  return v_error === undefined ? null : v_error;
502
534
  }
503
535
 
504
- function validate$u(obj, path = 'MetricInstance') {
536
+ function validate$v(obj, path = 'MetricInstance') {
505
537
  const v_error = (() => {
506
538
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
507
539
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -515,7 +547,7 @@ function validate$u(obj, path = 'MetricInstance') {
515
547
  for (let i = 0; i < obj_filters.length; i++) {
516
548
  const obj_filters_item = obj_filters[i];
517
549
  const path_filters_item = path_filters + '[' + i + ']';
518
- 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);
519
551
  if (referencepath_filters_itemValidationError !== null) {
520
552
  let message = 'Object doesn\'t match Filter (at "' + path_filters_item + '")\n';
521
553
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -523,18 +555,17 @@ function validate$u(obj, path = 'MetricInstance') {
523
555
  }
524
556
  }
525
557
  }
526
- const obj_measurementPeriod = obj.measurementPeriod;
527
- const path_measurementPeriod = path + '.measurementPeriod';
528
- const referencepath_measurementPeriodValidationError = validate$x(obj_measurementPeriod, path_measurementPeriod);
529
- if (referencepath_measurementPeriodValidationError !== null) {
530
- let message = 'Object doesn\'t match MeasurementPeriod (at "' + path_measurementPeriod + '")\n';
531
- message += referencepath_measurementPeriodValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
532
- 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
+ }
533
564
  }
534
565
  if (obj.semanticFilter !== undefined) {
535
566
  const obj_semanticFilter = obj.semanticFilter;
536
567
  const path_semanticFilter = path + '.semanticFilter';
537
- const referencepath_semanticFilterValidationError = validate$v(obj_semanticFilter, path_semanticFilter);
568
+ const referencepath_semanticFilterValidationError = validate$w(obj_semanticFilter, path_semanticFilter);
538
569
  if (referencepath_semanticFilterValidationError !== null) {
539
570
  let message = 'Object doesn\'t match FlattenFilter (at "' + path_semanticFilter + '")\n';
540
571
  message += referencepath_semanticFilterValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -545,7 +576,7 @@ function validate$u(obj, path = 'MetricInstance') {
545
576
  return v_error === undefined ? null : v_error;
546
577
  }
547
578
 
548
- function validate$t(obj, path = 'CompareConfig') {
579
+ function validate$u(obj, path = 'CompareConfig') {
549
580
  const v_error = (() => {
550
581
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
551
582
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -561,7 +592,7 @@ function validate$t(obj, path = 'CompareConfig') {
561
592
  return v_error === undefined ? null : v_error;
562
593
  }
563
594
 
564
- function validate$s(obj, path = 'Measure') {
595
+ function validate$t(obj, path = 'Measure') {
565
596
  const v_error = (() => {
566
597
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
567
598
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -575,7 +606,7 @@ function validate$s(obj, path = 'Measure') {
575
606
  }
576
607
  const obj_field = obj.field;
577
608
  const path_field = path + '.field';
578
- const referencepath_fieldValidationError = validate$C(obj_field, path_field);
609
+ const referencepath_fieldValidationError = validate$B(obj_field, path_field);
579
610
  if (referencepath_fieldValidationError !== null) {
580
611
  let message = 'Object doesn\'t match FieldId (at "' + path_field + '")\n';
581
612
  message += referencepath_fieldValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -585,7 +616,7 @@ function validate$s(obj, path = 'Measure') {
585
616
  return v_error === undefined ? null : v_error;
586
617
  }
587
618
 
588
- function validate$r(obj, path = 'SemanticDataModel') {
619
+ function validate$s(obj, path = 'SemanticDataModel') {
589
620
  const v_error = (() => {
590
621
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
591
622
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -601,14 +632,14 @@ function validate$r(obj, path = 'SemanticDataModel') {
601
632
  return v_error === undefined ? null : v_error;
602
633
  }
603
634
 
604
- function validate$q(obj, path = 'TimeDimension') {
635
+ function validate$r(obj, path = 'TimeDimension') {
605
636
  const v_error = (() => {
606
637
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
607
638
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
608
639
  }
609
640
  const obj_field = obj.field;
610
641
  const path_field = path + '.field';
611
- const referencepath_fieldValidationError = validate$C(obj_field, path_field);
642
+ const referencepath_fieldValidationError = validate$B(obj_field, path_field);
612
643
  if (referencepath_fieldValidationError !== null) {
613
644
  let message = 'Object doesn\'t match FieldId (at "' + path_field + '")\n';
614
645
  message += referencepath_fieldValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -618,14 +649,14 @@ function validate$q(obj, path = 'TimeDimension') {
618
649
  return v_error === undefined ? null : v_error;
619
650
  }
620
651
 
621
- function validate$p(obj, path = 'MetricDefinition') {
652
+ function validate$q(obj, path = 'MetricDefinition') {
622
653
  const v_error = (() => {
623
654
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
624
655
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
625
656
  }
626
657
  const obj_comparison = obj.comparison;
627
658
  const path_comparison = path + '.comparison';
628
- const referencepath_comparisonValidationError = validate$t(obj_comparison, path_comparison);
659
+ const referencepath_comparisonValidationError = validate$u(obj_comparison, path_comparison);
629
660
  if (referencepath_comparisonValidationError !== null) {
630
661
  let message = 'Object doesn\'t match CompareConfig (at "' + path_comparison + '")\n';
631
662
  message += referencepath_comparisonValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -640,7 +671,7 @@ function validate$p(obj, path = 'MetricDefinition') {
640
671
  for (let i = 0; i < obj_filters.length; i++) {
641
672
  const obj_filters_item = obj_filters[i];
642
673
  const path_filters_item = path_filters + '[' + i + ']';
643
- 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);
644
675
  if (referencepath_filters_itemValidationError !== null) {
645
676
  let message = 'Object doesn\'t match Filter (at "' + path_filters_item + '")\n';
646
677
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -650,7 +681,7 @@ function validate$p(obj, path = 'MetricDefinition') {
650
681
  }
651
682
  const obj_measure = obj.measure;
652
683
  const path_measure = path + '.measure';
653
- const referencepath_measureValidationError = validate$s(obj_measure, path_measure);
684
+ const referencepath_measureValidationError = validate$t(obj_measure, path_measure);
654
685
  if (referencepath_measureValidationError !== null) {
655
686
  let message = 'Object doesn\'t match Measure (at "' + path_measure + '")\n';
656
687
  message += referencepath_measureValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -665,7 +696,7 @@ function validate$p(obj, path = 'MetricDefinition') {
665
696
  }
666
697
  const obj_semanticDataModel = obj.semanticDataModel;
667
698
  const path_semanticDataModel = path + '.semanticDataModel';
668
- const referencepath_semanticDataModelValidationError = validate$r(obj_semanticDataModel, path_semanticDataModel);
699
+ const referencepath_semanticDataModelValidationError = validate$s(obj_semanticDataModel, path_semanticDataModel);
669
700
  if (referencepath_semanticDataModelValidationError !== null) {
670
701
  let message = 'Object doesn\'t match SemanticDataModel (at "' + path_semanticDataModel + '")\n';
671
702
  message += referencepath_semanticDataModelValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -674,7 +705,7 @@ function validate$p(obj, path = 'MetricDefinition') {
674
705
  if (obj.semanticFilter !== undefined) {
675
706
  const obj_semanticFilter = obj.semanticFilter;
676
707
  const path_semanticFilter = path + '.semanticFilter';
677
- const referencepath_semanticFilterValidationError = validate$v(obj_semanticFilter, path_semanticFilter);
708
+ const referencepath_semanticFilterValidationError = validate$w(obj_semanticFilter, path_semanticFilter);
678
709
  if (referencepath_semanticFilterValidationError !== null) {
679
710
  let message = 'Object doesn\'t match FlattenFilter (at "' + path_semanticFilter + '")\n';
680
711
  message += referencepath_semanticFilterValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -683,7 +714,7 @@ function validate$p(obj, path = 'MetricDefinition') {
683
714
  }
684
715
  const obj_timeDimension = obj.timeDimension;
685
716
  const path_timeDimension = path + '.timeDimension';
686
- const referencepath_timeDimensionValidationError = validate$q(obj_timeDimension, path_timeDimension);
717
+ const referencepath_timeDimensionValidationError = validate$r(obj_timeDimension, path_timeDimension);
687
718
  if (referencepath_timeDimensionValidationError !== null) {
688
719
  let message = 'Object doesn\'t match TimeDimension (at "' + path_timeDimension + '")\n';
689
720
  message += referencepath_timeDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -693,7 +724,7 @@ function validate$p(obj, path = 'MetricDefinition') {
693
724
  return v_error === undefined ? null : v_error;
694
725
  }
695
726
 
696
- function validate$o(obj, path = 'RepresentationOptions_NumberUnits') {
727
+ function validate$p(obj, path = 'RepresentationOptions_NumberUnits') {
697
728
  const v_error = (() => {
698
729
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
699
730
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -716,14 +747,14 @@ function validate$o(obj, path = 'RepresentationOptions_NumberUnits') {
716
747
  return v_error === undefined ? null : v_error;
717
748
  }
718
749
 
719
- function validate$n(obj, path = 'RepresentationOptions') {
750
+ function validate$o(obj, path = 'RepresentationOptions') {
720
751
  const v_error = (() => {
721
752
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
722
753
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
723
754
  }
724
755
  const obj_numberUnits = obj.numberUnits;
725
756
  const path_numberUnits = path + '.numberUnits';
726
- const referencepath_numberUnitsValidationError = validate$o(obj_numberUnits, path_numberUnits);
757
+ const referencepath_numberUnitsValidationError = validate$p(obj_numberUnits, path_numberUnits);
727
758
  if (referencepath_numberUnitsValidationError !== null) {
728
759
  let message = 'Object doesn\'t match RepresentationOptions_NumberUnits (at "' + path_numberUnits + '")\n';
729
760
  message += referencepath_numberUnitsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -747,22 +778,32 @@ function validate$n(obj, path = 'RepresentationOptions') {
747
778
  return v_error === undefined ? null : v_error;
748
779
  }
749
780
 
750
- function validate$m(obj, path = 'InputMetric') {
781
+ function validate$n(obj, path = 'InputMetric') {
751
782
  const v_error = (() => {
752
783
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
753
784
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
754
785
  }
755
786
  const obj_extensionOptions = obj.extensionOptions;
756
787
  const path_extensionOptions = path + '.extensionOptions';
757
- const referencepath_extensionOptionsValidationError = validate$G(obj_extensionOptions, path_extensionOptions);
788
+ const referencepath_extensionOptionsValidationError = validate$H(obj_extensionOptions, path_extensionOptions);
758
789
  if (referencepath_extensionOptionsValidationError !== null) {
759
790
  let message = 'Object doesn\'t match ExtensionOptions (at "' + path_extensionOptions + '")\n';
760
791
  message += referencepath_extensionOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
761
792
  return new TypeError(message);
762
793
  }
794
+ if (obj.goals !== undefined) {
795
+ const obj_goals = obj.goals;
796
+ const path_goals = path + '.goals';
797
+ const referencepath_goalsValidationError = validate$F(obj_goals, path_goals);
798
+ if (referencepath_goalsValidationError !== null) {
799
+ let message = 'Object doesn\'t match GoalMetadata (at "' + path_goals + '")\n';
800
+ message += referencepath_goalsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
801
+ return new TypeError(message);
802
+ }
803
+ }
763
804
  const obj_insightsOptions = obj.insightsOptions;
764
805
  const path_insightsOptions = path + '.insightsOptions';
765
- const referencepath_insightsOptionsValidationError = validate$E(obj_insightsOptions, path_insightsOptions);
806
+ const referencepath_insightsOptionsValidationError = validate$D(obj_insightsOptions, path_insightsOptions);
766
807
  if (referencepath_insightsOptionsValidationError !== null) {
767
808
  let message = 'Object doesn\'t match InsightsOptions (at "' + path_insightsOptions + '")\n';
768
809
  message += referencepath_insightsOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -770,7 +811,7 @@ function validate$m(obj, path = 'InputMetric') {
770
811
  }
771
812
  const obj_instance = obj.instance;
772
813
  const path_instance = path + '.instance';
773
- const referencepath_instanceValidationError = validate$u(obj_instance, path_instance);
814
+ const referencepath_instanceValidationError = validate$v(obj_instance, path_instance);
774
815
  if (referencepath_instanceValidationError !== null) {
775
816
  let message = 'Object doesn\'t match MetricInstance (at "' + path_instance + '")\n';
776
817
  message += referencepath_instanceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -778,7 +819,7 @@ function validate$m(obj, path = 'InputMetric') {
778
819
  }
779
820
  const obj_metric = obj.metric;
780
821
  const path_metric = path + '.metric';
781
- const referencepath_metricValidationError = validate$p(obj_metric, path_metric);
822
+ const referencepath_metricValidationError = validate$q(obj_metric, path_metric);
782
823
  if (referencepath_metricValidationError !== null) {
783
824
  let message = 'Object doesn\'t match MetricDefinition (at "' + path_metric + '")\n';
784
825
  message += referencepath_metricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -786,7 +827,7 @@ function validate$m(obj, path = 'InputMetric') {
786
827
  }
787
828
  const obj_representationOptions = obj.representationOptions;
788
829
  const path_representationOptions = path + '.representationOptions';
789
- const referencepath_representationOptionsValidationError = validate$n(obj_representationOptions, path_representationOptions);
830
+ const referencepath_representationOptionsValidationError = validate$o(obj_representationOptions, path_representationOptions);
790
831
  if (referencepath_representationOptionsValidationError !== null) {
791
832
  let message = 'Object doesn\'t match RepresentationOptions (at "' + path_representationOptions + '")\n';
792
833
  message += referencepath_representationOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -796,14 +837,14 @@ function validate$m(obj, path = 'InputMetric') {
796
837
  return v_error === undefined ? null : v_error;
797
838
  }
798
839
 
799
- function validate$l(obj, path = 'InsightBundleInput') {
840
+ function validate$m(obj, path = 'InsightBundleInput') {
800
841
  const v_error = (() => {
801
842
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
802
843
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
803
844
  }
804
845
  const obj_metadata = obj.metadata;
805
846
  const path_metadata = path + '.metadata';
806
- const referencepath_metadataValidationError = validate$H(obj_metadata, path_metadata);
847
+ const referencepath_metadataValidationError = validate$I(obj_metadata, path_metadata);
807
848
  if (referencepath_metadataValidationError !== null) {
808
849
  let message = 'Object doesn\'t match MetricMetadata (at "' + path_metadata + '")\n';
809
850
  message += referencepath_metadataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -811,7 +852,7 @@ function validate$l(obj, path = 'InsightBundleInput') {
811
852
  }
812
853
  const obj_metric = obj.metric;
813
854
  const path_metric = path + '.metric';
814
- const referencepath_metricValidationError = validate$m(obj_metric, path_metric);
855
+ const referencepath_metricValidationError = validate$n(obj_metric, path_metric);
815
856
  if (referencepath_metricValidationError !== null) {
816
857
  let message = 'Object doesn\'t match InputMetric (at "' + path_metric + '")\n';
817
858
  message += referencepath_metricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -821,11 +862,130 @@ function validate$l(obj, path = 'InsightBundleInput') {
821
862
  return v_error === undefined ? null : v_error;
822
863
  }
823
864
 
865
+ const VERSION$g = "7948f62379bf327a3cc190504223aecc";
866
+ function validate$l(obj, path = 'UnifiedFilter') {
867
+ const v_error = (() => {
868
+ if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
869
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
870
+ }
871
+ if (obj.fieldName !== undefined) {
872
+ const obj_fieldName = obj.fieldName;
873
+ const path_fieldName = path + '.fieldName';
874
+ if (typeof obj_fieldName !== 'string') {
875
+ return new TypeError('Expected "string" but received "' + typeof obj_fieldName + '" (at "' + path_fieldName + '")');
876
+ }
877
+ }
878
+ if (obj.operator !== undefined) {
879
+ const obj_operator = obj.operator;
880
+ const path_operator = path + '.operator';
881
+ if (typeof obj_operator !== 'string') {
882
+ return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
883
+ }
884
+ }
885
+ if (obj.values !== undefined) {
886
+ const obj_values = obj.values;
887
+ const path_values = path + '.values';
888
+ if (!ArrayIsArray(obj_values)) {
889
+ return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
890
+ }
891
+ for (let i = 0; i < obj_values.length; i++) {
892
+ const obj_values_item = obj_values[i];
893
+ const path_values_item = path_values + '[' + i + ']';
894
+ if (obj_values_item === undefined) {
895
+ return new TypeError('Expected "defined" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
896
+ }
897
+ }
898
+ }
899
+ })();
900
+ return v_error === undefined ? null : v_error;
901
+ }
902
+ const select$l = function UnifiedFilterSelect() {
903
+ return {
904
+ kind: 'Fragment',
905
+ version: VERSION$g,
906
+ private: [],
907
+ selections: [
908
+ {
909
+ name: 'fieldName',
910
+ kind: 'Scalar',
911
+ required: false
912
+ },
913
+ {
914
+ name: 'operator',
915
+ kind: 'Scalar',
916
+ required: false
917
+ },
918
+ {
919
+ name: 'values',
920
+ kind: 'Object',
921
+ // any
922
+ }
923
+ ]
924
+ };
925
+ };
926
+ function equals$g(existing, incoming) {
927
+ const existing_fieldName = existing.fieldName;
928
+ const incoming_fieldName = incoming.fieldName;
929
+ // if at least one of these optionals is defined
930
+ if (existing_fieldName !== undefined || incoming_fieldName !== undefined) {
931
+ // if one of these is not defined we know the other is defined and therefore
932
+ // not equal
933
+ if (existing_fieldName === undefined || incoming_fieldName === undefined) {
934
+ return false;
935
+ }
936
+ if (!(existing_fieldName === incoming_fieldName)) {
937
+ return false;
938
+ }
939
+ }
940
+ const existing_operator = existing.operator;
941
+ const incoming_operator = incoming.operator;
942
+ // if at least one of these optionals is defined
943
+ if (existing_operator !== undefined || incoming_operator !== undefined) {
944
+ // if one of these is not defined we know the other is defined and therefore
945
+ // not equal
946
+ if (existing_operator === undefined || incoming_operator === undefined) {
947
+ return false;
948
+ }
949
+ if (!(existing_operator === incoming_operator)) {
950
+ return false;
951
+ }
952
+ }
953
+ const existing_values = existing.values;
954
+ const incoming_values = incoming.values;
955
+ // if at least one of these optionals is defined
956
+ if (existing_values !== undefined || incoming_values !== undefined) {
957
+ // if one of these is not defined we know the other is defined and therefore
958
+ // not equal
959
+ if (existing_values === undefined || incoming_values === undefined) {
960
+ return false;
961
+ }
962
+ const equals_values_items = equalsArray(existing_values, incoming_values, (existing_values_item, incoming_values_item) => {
963
+ if (JSONStringify(incoming_values_item) !== JSONStringify(existing_values_item)) {
964
+ return false;
965
+ }
966
+ });
967
+ if (equals_values_items === false) {
968
+ return false;
969
+ }
970
+ }
971
+ return true;
972
+ }
973
+
824
974
  function validate$k(obj, path = 'MetricInstanceInput') {
825
975
  const v_error = (() => {
826
976
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
827
977
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
828
978
  }
979
+ if (obj.measurementPeriod !== undefined) {
980
+ const obj_measurementPeriod = obj.measurementPeriod;
981
+ const path_measurementPeriod = path + '.measurementPeriod';
982
+ const referencepath_measurementPeriodValidationError = validate$l(obj_measurementPeriod, path_measurementPeriod);
983
+ if (referencepath_measurementPeriodValidationError !== null) {
984
+ let message = 'Object doesn\'t match UnifiedFilter (at "' + path_measurementPeriod + '")\n';
985
+ message += referencepath_measurementPeriodValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
986
+ return new TypeError(message);
987
+ }
988
+ }
829
989
  const obj_metricInstanceId = obj.metricInstanceId;
830
990
  const path_metricInstanceId = path + '.metricInstanceId';
831
991
  if (typeof obj_metricInstanceId !== 'string') {
@@ -848,7 +1008,7 @@ function validate$j(obj, path = 'BatchInput') {
848
1008
  if (obj.bundleInput !== undefined) {
849
1009
  const obj_bundleInput = obj.bundleInput;
850
1010
  const path_bundleInput = path + '.bundleInput';
851
- const referencepath_bundleInputValidationError = validate$l(obj_bundleInput, path_bundleInput);
1011
+ const referencepath_bundleInputValidationError = validate$m(obj_bundleInput, path_bundleInput);
852
1012
  if (referencepath_bundleInputValidationError !== null) {
853
1013
  let message = 'Object doesn\'t match InsightBundleInput (at "' + path_bundleInput + '")\n';
854
1014
  message += referencepath_bundleInputValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -2411,7 +2571,7 @@ function equals$4(existing, incoming) {
2411
2571
  return true;
2412
2572
  }
2413
2573
 
2414
- const VERSION$3 = "2f50f3271c566971f91d15a361482b6c";
2574
+ const VERSION$3 = "5da3ddbbd8ef8f7b1f24b4d609f91108";
2415
2575
  function validate$3(obj, path = 'GenerateInsightBundleResponse') {
2416
2576
  const v_error = (() => {
2417
2577
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -2427,6 +2587,16 @@ function validate$3(obj, path = 'GenerateInsightBundleResponse') {
2427
2587
  return new TypeError(message);
2428
2588
  }
2429
2589
  }
2590
+ if (obj.measurementPeriod !== undefined) {
2591
+ const obj_measurementPeriod = obj.measurementPeriod;
2592
+ const path_measurementPeriod = path + '.measurementPeriod';
2593
+ const referencepath_measurementPeriodValidationError = validate$l(obj_measurementPeriod, path_measurementPeriod);
2594
+ if (referencepath_measurementPeriodValidationError !== null) {
2595
+ let message = 'Object doesn\'t match UnifiedFilter (at "' + path_measurementPeriod + '")\n';
2596
+ message += referencepath_measurementPeriodValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
2597
+ return new TypeError(message);
2598
+ }
2599
+ }
2430
2600
  if (obj.result !== undefined) {
2431
2601
  const obj_result = obj.result;
2432
2602
  const path_result = path + '.result';
@@ -2465,6 +2635,7 @@ function normalize$2(input, existing, path, luvio, store, timestamp) {
2465
2635
  }
2466
2636
  const select$7 = function GenerateInsightBundleResponseSelect() {
2467
2637
  const { selections: Error__selections, opaque: Error__opaque, } = select$k();
2638
+ const { selections: UnifiedFilter__selections, opaque: UnifiedFilter__opaque, } = select$l();
2468
2639
  const { selections: InsightBundle__selections, opaque: InsightBundle__opaque, } = select$8();
2469
2640
  return {
2470
2641
  kind: 'Fragment',
@@ -2477,6 +2648,12 @@ const select$7 = function GenerateInsightBundleResponseSelect() {
2477
2648
  selections: Error__selections,
2478
2649
  required: false
2479
2650
  },
2651
+ {
2652
+ name: 'measurementPeriod',
2653
+ kind: 'Object',
2654
+ selections: UnifiedFilter__selections,
2655
+ required: false
2656
+ },
2480
2657
  {
2481
2658
  name: 'result',
2482
2659
  kind: 'Object',
@@ -2518,6 +2695,19 @@ function equals$3(existing, incoming) {
2518
2695
  return false;
2519
2696
  }
2520
2697
  }
2698
+ const existing_measurementPeriod = existing.measurementPeriod;
2699
+ const incoming_measurementPeriod = incoming.measurementPeriod;
2700
+ // if at least one of these optionals is defined
2701
+ if (existing_measurementPeriod !== undefined || incoming_measurementPeriod !== undefined) {
2702
+ // if one of these is not defined we know the other is defined and therefore
2703
+ // not equal
2704
+ if (existing_measurementPeriod === undefined || incoming_measurementPeriod === undefined) {
2705
+ return false;
2706
+ }
2707
+ if (!(equals$g(existing_measurementPeriod, incoming_measurementPeriod))) {
2708
+ return false;
2709
+ }
2710
+ }
2521
2711
  const existing_result = existing.result;
2522
2712
  const incoming_result = incoming.result;
2523
2713
  // if at least one of these optionals is defined
@@ -2605,7 +2795,7 @@ function typeCheckConfig$3(untrustedConfig) {
2605
2795
  const config = {};
2606
2796
  typeCheckConfig$5(untrustedConfig, config, generateInsights_ConfigPropertyMetadata);
2607
2797
  const untrustedConfig_input = untrustedConfig.input;
2608
- const referenceInsightBundleInputValidationError = validate$l(untrustedConfig_input);
2798
+ const referenceInsightBundleInputValidationError = validate$m(untrustedConfig_input);
2609
2799
  if (referenceInsightBundleInputValidationError === null) {
2610
2800
  config.input = untrustedConfig_input;
2611
2801
  }
@@ -2708,7 +2898,7 @@ function typeCheckConfig$2(untrustedConfig) {
2708
2898
  const config = {};
2709
2899
  typeCheckConfig$5(untrustedConfig, config, generateInsightsBasic_ConfigPropertyMetadata);
2710
2900
  const untrustedConfig_input = untrustedConfig.input;
2711
- const referenceInsightBundleInputValidationError = validate$l(untrustedConfig_input);
2901
+ const referenceInsightBundleInputValidationError = validate$m(untrustedConfig_input);
2712
2902
  if (referenceInsightBundleInputValidationError === null) {
2713
2903
  config.input = untrustedConfig_input;
2714
2904
  }
@@ -3449,12 +3639,12 @@ function typeCheckConfig(untrustedConfig) {
3449
3639
  const config = {};
3450
3640
  typeCheckConfig$5(untrustedConfig, config, getMetricFilterValues_ConfigPropertyMetadata);
3451
3641
  const untrustedConfig_semanticDataModel = untrustedConfig.semanticDataModel;
3452
- const referenceSemanticDataModelValidationError = validate$r(untrustedConfig_semanticDataModel);
3642
+ const referenceSemanticDataModelValidationError = validate$s(untrustedConfig_semanticDataModel);
3453
3643
  if (referenceSemanticDataModelValidationError === null) {
3454
3644
  config.semanticDataModel = untrustedConfig_semanticDataModel;
3455
3645
  }
3456
3646
  const untrustedConfig_field = untrustedConfig.field;
3457
- const referenceFieldIdValidationError = validate$C(untrustedConfig_field);
3647
+ const referenceFieldIdValidationError = validate$B(untrustedConfig_field);
3458
3648
  if (referenceFieldIdValidationError === null) {
3459
3649
  config.field = untrustedConfig_field;
3460
3650
  }
@@ -3463,7 +3653,7 @@ function typeCheckConfig(untrustedConfig) {
3463
3653
  const untrustedConfig_filters_array = [];
3464
3654
  for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
3465
3655
  const untrustedConfig_filters_item = untrustedConfig_filters[i];
3466
- const referenceFilterValidationError = validate$z(untrustedConfig_filters_item);
3656
+ const referenceFilterValidationError = validate$y(untrustedConfig_filters_item);
3467
3657
  if (referenceFilterValidationError === null) {
3468
3658
  untrustedConfig_filters_array.push(untrustedConfig_filters_item);
3469
3659
  }
@@ -3471,7 +3661,7 @@ function typeCheckConfig(untrustedConfig) {
3471
3661
  config.filters = untrustedConfig_filters_array;
3472
3662
  }
3473
3663
  const untrustedConfig_semanticFilter = untrustedConfig.semanticFilter;
3474
- const referenceFlattenFilterValidationError = validate$v(untrustedConfig_semanticFilter);
3664
+ const referenceFlattenFilterValidationError = validate$w(untrustedConfig_semanticFilter);
3475
3665
  if (referenceFlattenFilterValidationError === null) {
3476
3666
  config.semanticFilter = untrustedConfig_semanticFilter;
3477
3667
  }
@@ -3565,4 +3755,4 @@ withDefaultLuvio((luvio) => {
3565
3755
  });
3566
3756
 
3567
3757
  export { createInsightsBatch, generateInsights, generateInsightsBasic, getInsightsBatch, getInsightsBatchNotifyChange, getInsightsBatch_imperative, getMetricFilterValues };
3568
- // version: 1.332.0-dev2-db38b645f2
3758
+ // version: 1.332.0-dev21-cc02503f9d