@salesforce/lds-adapters-sfap-analytics-insights 1.309.0-dev18 → 1.309.0-dev20
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$
|
|
105
|
+
function validate$H(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$G(obj, path = 'MetricMetadata') {
|
|
|
125
125
|
return v_error === undefined ? null : v_error;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
function validate$
|
|
128
|
+
function validate$G(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$F(obj, path = 'ExtensionOptions') {
|
|
|
155
155
|
return v_error === undefined ? null : v_error;
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
function validate$
|
|
158
|
+
function validate$F(obj, path = 'InsightsOptions_InsightSetting') {
|
|
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 + '")');
|
|
@@ -178,7 +178,7 @@ function validate$E(obj, path = 'InsightsOptions_InsightSetting') {
|
|
|
178
178
|
return v_error === undefined ? null : v_error;
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
function validate$
|
|
181
|
+
function validate$E(obj, path = 'InsightsOptions') {
|
|
182
182
|
const v_error = (() => {
|
|
183
183
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
184
184
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -192,7 +192,7 @@ function validate$D(obj, path = 'InsightsOptions') {
|
|
|
192
192
|
for (let i = 0; i < obj_settings.length; i++) {
|
|
193
193
|
const obj_settings_item = obj_settings[i];
|
|
194
194
|
const path_settings_item = path_settings + '[' + i + ']';
|
|
195
|
-
const referencepath_settings_itemValidationError = validate$
|
|
195
|
+
const referencepath_settings_itemValidationError = validate$F(obj_settings_item, path_settings_item);
|
|
196
196
|
if (referencepath_settings_itemValidationError !== null) {
|
|
197
197
|
let message = 'Object doesn\'t match InsightsOptions_InsightSetting (at "' + path_settings_item + '")\n';
|
|
198
198
|
message += referencepath_settings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -204,7 +204,7 @@ function validate$D(obj, path = 'InsightsOptions') {
|
|
|
204
204
|
return v_error === undefined ? null : v_error;
|
|
205
205
|
}
|
|
206
206
|
|
|
207
|
-
function validate$
|
|
207
|
+
function validate$D(obj, path = 'CategoricalFilterOptions') {
|
|
208
208
|
const v_error = (() => {
|
|
209
209
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
210
210
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -241,7 +241,7 @@ function validate$C(obj, path = 'CategoricalFilterOptions') {
|
|
|
241
241
|
return v_error === undefined ? null : v_error;
|
|
242
242
|
}
|
|
243
243
|
|
|
244
|
-
function validate$
|
|
244
|
+
function validate$C(obj, path = 'FieldId') {
|
|
245
245
|
const v_error = (() => {
|
|
246
246
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
247
247
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -271,7 +271,7 @@ function validate$B(obj, path = 'FieldId') {
|
|
|
271
271
|
return v_error === undefined ? null : v_error;
|
|
272
272
|
}
|
|
273
273
|
|
|
274
|
-
function validate$
|
|
274
|
+
function validate$B(obj, path = 'RangeFilterOptions') {
|
|
275
275
|
const v_error = (() => {
|
|
276
276
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
277
277
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -315,7 +315,7 @@ function validate$A(obj, path = 'RangeFilterOptions') {
|
|
|
315
315
|
return v_error === undefined ? null : v_error;
|
|
316
316
|
}
|
|
317
317
|
|
|
318
|
-
function validate$
|
|
318
|
+
function validate$A(obj, path = 'RelativeDateFilterOptions') {
|
|
319
319
|
const v_error = (() => {
|
|
320
320
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
321
321
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -324,7 +324,7 @@ function validate$z(obj, path = 'RelativeDateFilterOptions') {
|
|
|
324
324
|
return v_error === undefined ? null : v_error;
|
|
325
325
|
}
|
|
326
326
|
|
|
327
|
-
function validate$
|
|
327
|
+
function validate$z(obj, path = 'Filter') {
|
|
328
328
|
const v_error = (() => {
|
|
329
329
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
330
330
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -332,7 +332,7 @@ function validate$y(obj, path = 'Filter') {
|
|
|
332
332
|
if (obj.categoricalFilterOptions !== undefined) {
|
|
333
333
|
const obj_categoricalFilterOptions = obj.categoricalFilterOptions;
|
|
334
334
|
const path_categoricalFilterOptions = path + '.categoricalFilterOptions';
|
|
335
|
-
const referencepath_categoricalFilterOptionsValidationError = validate$
|
|
335
|
+
const referencepath_categoricalFilterOptionsValidationError = validate$D(obj_categoricalFilterOptions, path_categoricalFilterOptions);
|
|
336
336
|
if (referencepath_categoricalFilterOptionsValidationError !== null) {
|
|
337
337
|
let message = 'Object doesn\'t match CategoricalFilterOptions (at "' + path_categoricalFilterOptions + '")\n';
|
|
338
338
|
message += referencepath_categoricalFilterOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -342,7 +342,7 @@ function validate$y(obj, path = 'Filter') {
|
|
|
342
342
|
if (obj.field !== undefined) {
|
|
343
343
|
const obj_field = obj.field;
|
|
344
344
|
const path_field = path + '.field';
|
|
345
|
-
const referencepath_fieldValidationError = validate$
|
|
345
|
+
const referencepath_fieldValidationError = validate$C(obj_field, path_field);
|
|
346
346
|
if (referencepath_fieldValidationError !== null) {
|
|
347
347
|
let message = 'Object doesn\'t match FieldId (at "' + path_field + '")\n';
|
|
348
348
|
message += referencepath_fieldValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -352,7 +352,7 @@ function validate$y(obj, path = 'Filter') {
|
|
|
352
352
|
if (obj.fieldId !== undefined) {
|
|
353
353
|
const obj_fieldId = obj.fieldId;
|
|
354
354
|
const path_fieldId = path + '.fieldId';
|
|
355
|
-
const referencepath_fieldIdValidationError = validate$
|
|
355
|
+
const referencepath_fieldIdValidationError = validate$C(obj_fieldId, path_fieldId);
|
|
356
356
|
if (referencepath_fieldIdValidationError !== null) {
|
|
357
357
|
let message = 'Object doesn\'t match FieldId (at "' + path_fieldId + '")\n';
|
|
358
358
|
message += referencepath_fieldIdValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -362,7 +362,7 @@ function validate$y(obj, path = 'Filter') {
|
|
|
362
362
|
if (obj.rangeFilterOptions !== undefined) {
|
|
363
363
|
const obj_rangeFilterOptions = obj.rangeFilterOptions;
|
|
364
364
|
const path_rangeFilterOptions = path + '.rangeFilterOptions';
|
|
365
|
-
const referencepath_rangeFilterOptionsValidationError = validate$
|
|
365
|
+
const referencepath_rangeFilterOptionsValidationError = validate$B(obj_rangeFilterOptions, path_rangeFilterOptions);
|
|
366
366
|
if (referencepath_rangeFilterOptionsValidationError !== null) {
|
|
367
367
|
let message = 'Object doesn\'t match RangeFilterOptions (at "' + path_rangeFilterOptions + '")\n';
|
|
368
368
|
message += referencepath_rangeFilterOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -372,7 +372,7 @@ function validate$y(obj, path = 'Filter') {
|
|
|
372
372
|
if (obj.relativeDateFilterOptions !== undefined) {
|
|
373
373
|
const obj_relativeDateFilterOptions = obj.relativeDateFilterOptions;
|
|
374
374
|
const path_relativeDateFilterOptions = path + '.relativeDateFilterOptions';
|
|
375
|
-
const referencepath_relativeDateFilterOptionsValidationError = validate$
|
|
375
|
+
const referencepath_relativeDateFilterOptionsValidationError = validate$A(obj_relativeDateFilterOptions, path_relativeDateFilterOptions);
|
|
376
376
|
if (referencepath_relativeDateFilterOptionsValidationError !== null) {
|
|
377
377
|
let message = 'Object doesn\'t match RelativeDateFilterOptions (at "' + path_relativeDateFilterOptions + '")\n';
|
|
378
378
|
message += referencepath_relativeDateFilterOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -390,7 +390,7 @@ function validate$y(obj, path = 'Filter') {
|
|
|
390
390
|
return v_error === undefined ? null : v_error;
|
|
391
391
|
}
|
|
392
392
|
|
|
393
|
-
function validate$
|
|
393
|
+
function validate$y(obj, path = 'RelativePeriod') {
|
|
394
394
|
const v_error = (() => {
|
|
395
395
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
396
396
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -413,7 +413,7 @@ function validate$x(obj, path = 'RelativePeriod') {
|
|
|
413
413
|
return v_error === undefined ? null : v_error;
|
|
414
414
|
}
|
|
415
415
|
|
|
416
|
-
function validate$
|
|
416
|
+
function validate$x(obj, path = 'MeasurementPeriod') {
|
|
417
417
|
const v_error = (() => {
|
|
418
418
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
419
419
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -421,7 +421,7 @@ function validate$w(obj, path = 'MeasurementPeriod') {
|
|
|
421
421
|
if (obj.filter !== undefined) {
|
|
422
422
|
const obj_filter = obj.filter;
|
|
423
423
|
const path_filter = path + '.filter';
|
|
424
|
-
const referencepath_filterValidationError = validate$
|
|
424
|
+
const referencepath_filterValidationError = validate$z(obj_filter, path_filter);
|
|
425
425
|
if (referencepath_filterValidationError !== null) {
|
|
426
426
|
let message = 'Object doesn\'t match Filter (at "' + path_filter + '")\n';
|
|
427
427
|
message += referencepath_filterValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -431,7 +431,7 @@ function validate$w(obj, path = 'MeasurementPeriod') {
|
|
|
431
431
|
if (obj.relativePeriod !== undefined) {
|
|
432
432
|
const obj_relativePeriod = obj.relativePeriod;
|
|
433
433
|
const path_relativePeriod = path + '.relativePeriod';
|
|
434
|
-
const referencepath_relativePeriodValidationError = validate$
|
|
434
|
+
const referencepath_relativePeriodValidationError = validate$y(obj_relativePeriod, path_relativePeriod);
|
|
435
435
|
if (referencepath_relativePeriodValidationError !== null) {
|
|
436
436
|
let message = 'Object doesn\'t match RelativePeriod (at "' + path_relativePeriod + '")\n';
|
|
437
437
|
message += referencepath_relativePeriodValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -442,7 +442,7 @@ function validate$w(obj, path = 'MeasurementPeriod') {
|
|
|
442
442
|
return v_error === undefined ? null : v_error;
|
|
443
443
|
}
|
|
444
444
|
|
|
445
|
-
function validate$
|
|
445
|
+
function validate$w(obj, path = 'SemanticFilter') {
|
|
446
446
|
const v_error = (() => {
|
|
447
447
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
448
448
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -468,7 +468,7 @@ function validate$v(obj, path = 'SemanticFilter') {
|
|
|
468
468
|
return v_error === undefined ? null : v_error;
|
|
469
469
|
}
|
|
470
470
|
|
|
471
|
-
function validate$
|
|
471
|
+
function validate$v(obj, path = 'FlattenFilter') {
|
|
472
472
|
const v_error = (() => {
|
|
473
473
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
474
474
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -489,7 +489,7 @@ function validate$u(obj, path = 'FlattenFilter') {
|
|
|
489
489
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
490
490
|
const obj_filters_item = obj_filters[i];
|
|
491
491
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
492
|
-
const referencepath_filters_itemValidationError = validate$
|
|
492
|
+
const referencepath_filters_itemValidationError = validate$w(obj_filters_item, path_filters_item);
|
|
493
493
|
if (referencepath_filters_itemValidationError !== null) {
|
|
494
494
|
let message = 'Object doesn\'t match SemanticFilter (at "' + path_filters_item + '")\n';
|
|
495
495
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -501,7 +501,7 @@ function validate$u(obj, path = 'FlattenFilter') {
|
|
|
501
501
|
return v_error === undefined ? null : v_error;
|
|
502
502
|
}
|
|
503
503
|
|
|
504
|
-
function validate$
|
|
504
|
+
function validate$u(obj, path = 'MetricInstance') {
|
|
505
505
|
const v_error = (() => {
|
|
506
506
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
507
507
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -515,7 +515,7 @@ function validate$t(obj, path = 'MetricInstance') {
|
|
|
515
515
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
516
516
|
const obj_filters_item = obj_filters[i];
|
|
517
517
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
518
|
-
const referencepath_filters_itemValidationError = validate$
|
|
518
|
+
const referencepath_filters_itemValidationError = validate$z(obj_filters_item, path_filters_item);
|
|
519
519
|
if (referencepath_filters_itemValidationError !== null) {
|
|
520
520
|
let message = 'Object doesn\'t match Filter (at "' + path_filters_item + '")\n';
|
|
521
521
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -525,7 +525,7 @@ function validate$t(obj, path = 'MetricInstance') {
|
|
|
525
525
|
}
|
|
526
526
|
const obj_measurementPeriod = obj.measurementPeriod;
|
|
527
527
|
const path_measurementPeriod = path + '.measurementPeriod';
|
|
528
|
-
const referencepath_measurementPeriodValidationError = validate$
|
|
528
|
+
const referencepath_measurementPeriodValidationError = validate$x(obj_measurementPeriod, path_measurementPeriod);
|
|
529
529
|
if (referencepath_measurementPeriodValidationError !== null) {
|
|
530
530
|
let message = 'Object doesn\'t match MeasurementPeriod (at "' + path_measurementPeriod + '")\n';
|
|
531
531
|
message += referencepath_measurementPeriodValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -534,7 +534,7 @@ function validate$t(obj, path = 'MetricInstance') {
|
|
|
534
534
|
if (obj.semanticFilter !== undefined) {
|
|
535
535
|
const obj_semanticFilter = obj.semanticFilter;
|
|
536
536
|
const path_semanticFilter = path + '.semanticFilter';
|
|
537
|
-
const referencepath_semanticFilterValidationError = validate$
|
|
537
|
+
const referencepath_semanticFilterValidationError = validate$v(obj_semanticFilter, path_semanticFilter);
|
|
538
538
|
if (referencepath_semanticFilterValidationError !== null) {
|
|
539
539
|
let message = 'Object doesn\'t match FlattenFilter (at "' + path_semanticFilter + '")\n';
|
|
540
540
|
message += referencepath_semanticFilterValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -545,7 +545,7 @@ function validate$t(obj, path = 'MetricInstance') {
|
|
|
545
545
|
return v_error === undefined ? null : v_error;
|
|
546
546
|
}
|
|
547
547
|
|
|
548
|
-
function validate$
|
|
548
|
+
function validate$t(obj, path = 'CompareConfig') {
|
|
549
549
|
const v_error = (() => {
|
|
550
550
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
551
551
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -561,7 +561,7 @@ function validate$s(obj, path = 'CompareConfig') {
|
|
|
561
561
|
return v_error === undefined ? null : v_error;
|
|
562
562
|
}
|
|
563
563
|
|
|
564
|
-
function validate$
|
|
564
|
+
function validate$s(obj, path = 'Measure') {
|
|
565
565
|
const v_error = (() => {
|
|
566
566
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
567
567
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -575,7 +575,7 @@ function validate$r(obj, path = 'Measure') {
|
|
|
575
575
|
}
|
|
576
576
|
const obj_field = obj.field;
|
|
577
577
|
const path_field = path + '.field';
|
|
578
|
-
const referencepath_fieldValidationError = validate$
|
|
578
|
+
const referencepath_fieldValidationError = validate$C(obj_field, path_field);
|
|
579
579
|
if (referencepath_fieldValidationError !== null) {
|
|
580
580
|
let message = 'Object doesn\'t match FieldId (at "' + path_field + '")\n';
|
|
581
581
|
message += referencepath_fieldValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -585,7 +585,7 @@ function validate$r(obj, path = 'Measure') {
|
|
|
585
585
|
return v_error === undefined ? null : v_error;
|
|
586
586
|
}
|
|
587
587
|
|
|
588
|
-
function validate$
|
|
588
|
+
function validate$r(obj, path = 'SemanticDataModel') {
|
|
589
589
|
const v_error = (() => {
|
|
590
590
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
591
591
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -601,14 +601,14 @@ function validate$q(obj, path = 'SemanticDataModel') {
|
|
|
601
601
|
return v_error === undefined ? null : v_error;
|
|
602
602
|
}
|
|
603
603
|
|
|
604
|
-
function validate$
|
|
604
|
+
function validate$q(obj, path = 'TimeDimension') {
|
|
605
605
|
const v_error = (() => {
|
|
606
606
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
607
607
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
608
608
|
}
|
|
609
609
|
const obj_field = obj.field;
|
|
610
610
|
const path_field = path + '.field';
|
|
611
|
-
const referencepath_fieldValidationError = validate$
|
|
611
|
+
const referencepath_fieldValidationError = validate$C(obj_field, path_field);
|
|
612
612
|
if (referencepath_fieldValidationError !== null) {
|
|
613
613
|
let message = 'Object doesn\'t match FieldId (at "' + path_field + '")\n';
|
|
614
614
|
message += referencepath_fieldValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -618,14 +618,14 @@ function validate$p(obj, path = 'TimeDimension') {
|
|
|
618
618
|
return v_error === undefined ? null : v_error;
|
|
619
619
|
}
|
|
620
620
|
|
|
621
|
-
function validate$
|
|
621
|
+
function validate$p(obj, path = 'MetricDefinition') {
|
|
622
622
|
const v_error = (() => {
|
|
623
623
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
624
624
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
625
625
|
}
|
|
626
626
|
const obj_comparison = obj.comparison;
|
|
627
627
|
const path_comparison = path + '.comparison';
|
|
628
|
-
const referencepath_comparisonValidationError = validate$
|
|
628
|
+
const referencepath_comparisonValidationError = validate$t(obj_comparison, path_comparison);
|
|
629
629
|
if (referencepath_comparisonValidationError !== null) {
|
|
630
630
|
let message = 'Object doesn\'t match CompareConfig (at "' + path_comparison + '")\n';
|
|
631
631
|
message += referencepath_comparisonValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -640,7 +640,7 @@ function validate$o(obj, path = 'MetricDefinition') {
|
|
|
640
640
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
641
641
|
const obj_filters_item = obj_filters[i];
|
|
642
642
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
643
|
-
const referencepath_filters_itemValidationError = validate$
|
|
643
|
+
const referencepath_filters_itemValidationError = validate$z(obj_filters_item, path_filters_item);
|
|
644
644
|
if (referencepath_filters_itemValidationError !== null) {
|
|
645
645
|
let message = 'Object doesn\'t match Filter (at "' + path_filters_item + '")\n';
|
|
646
646
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -650,7 +650,7 @@ function validate$o(obj, path = 'MetricDefinition') {
|
|
|
650
650
|
}
|
|
651
651
|
const obj_measure = obj.measure;
|
|
652
652
|
const path_measure = path + '.measure';
|
|
653
|
-
const referencepath_measureValidationError = validate$
|
|
653
|
+
const referencepath_measureValidationError = validate$s(obj_measure, path_measure);
|
|
654
654
|
if (referencepath_measureValidationError !== null) {
|
|
655
655
|
let message = 'Object doesn\'t match Measure (at "' + path_measure + '")\n';
|
|
656
656
|
message += referencepath_measureValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -665,7 +665,7 @@ function validate$o(obj, path = 'MetricDefinition') {
|
|
|
665
665
|
}
|
|
666
666
|
const obj_semanticDataModel = obj.semanticDataModel;
|
|
667
667
|
const path_semanticDataModel = path + '.semanticDataModel';
|
|
668
|
-
const referencepath_semanticDataModelValidationError = validate$
|
|
668
|
+
const referencepath_semanticDataModelValidationError = validate$r(obj_semanticDataModel, path_semanticDataModel);
|
|
669
669
|
if (referencepath_semanticDataModelValidationError !== null) {
|
|
670
670
|
let message = 'Object doesn\'t match SemanticDataModel (at "' + path_semanticDataModel + '")\n';
|
|
671
671
|
message += referencepath_semanticDataModelValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -674,7 +674,7 @@ function validate$o(obj, path = 'MetricDefinition') {
|
|
|
674
674
|
if (obj.semanticFilter !== undefined) {
|
|
675
675
|
const obj_semanticFilter = obj.semanticFilter;
|
|
676
676
|
const path_semanticFilter = path + '.semanticFilter';
|
|
677
|
-
const referencepath_semanticFilterValidationError = validate$
|
|
677
|
+
const referencepath_semanticFilterValidationError = validate$v(obj_semanticFilter, path_semanticFilter);
|
|
678
678
|
if (referencepath_semanticFilterValidationError !== null) {
|
|
679
679
|
let message = 'Object doesn\'t match FlattenFilter (at "' + path_semanticFilter + '")\n';
|
|
680
680
|
message += referencepath_semanticFilterValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -683,7 +683,7 @@ function validate$o(obj, path = 'MetricDefinition') {
|
|
|
683
683
|
}
|
|
684
684
|
const obj_timeDimension = obj.timeDimension;
|
|
685
685
|
const path_timeDimension = path + '.timeDimension';
|
|
686
|
-
const referencepath_timeDimensionValidationError = validate$
|
|
686
|
+
const referencepath_timeDimensionValidationError = validate$q(obj_timeDimension, path_timeDimension);
|
|
687
687
|
if (referencepath_timeDimensionValidationError !== null) {
|
|
688
688
|
let message = 'Object doesn\'t match TimeDimension (at "' + path_timeDimension + '")\n';
|
|
689
689
|
message += referencepath_timeDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -693,7 +693,7 @@ function validate$o(obj, path = 'MetricDefinition') {
|
|
|
693
693
|
return v_error === undefined ? null : v_error;
|
|
694
694
|
}
|
|
695
695
|
|
|
696
|
-
function validate$
|
|
696
|
+
function validate$o(obj, path = 'RepresentationOptions_NumberUnits') {
|
|
697
697
|
const v_error = (() => {
|
|
698
698
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
699
699
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -716,14 +716,14 @@ function validate$n(obj, path = 'RepresentationOptions_NumberUnits') {
|
|
|
716
716
|
return v_error === undefined ? null : v_error;
|
|
717
717
|
}
|
|
718
718
|
|
|
719
|
-
function validate$
|
|
719
|
+
function validate$n(obj, path = 'RepresentationOptions') {
|
|
720
720
|
const v_error = (() => {
|
|
721
721
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
722
722
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
723
723
|
}
|
|
724
724
|
const obj_numberUnits = obj.numberUnits;
|
|
725
725
|
const path_numberUnits = path + '.numberUnits';
|
|
726
|
-
const referencepath_numberUnitsValidationError = validate$
|
|
726
|
+
const referencepath_numberUnitsValidationError = validate$o(obj_numberUnits, path_numberUnits);
|
|
727
727
|
if (referencepath_numberUnitsValidationError !== null) {
|
|
728
728
|
let message = 'Object doesn\'t match RepresentationOptions_NumberUnits (at "' + path_numberUnits + '")\n';
|
|
729
729
|
message += referencepath_numberUnitsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -747,14 +747,14 @@ function validate$m(obj, path = 'RepresentationOptions') {
|
|
|
747
747
|
return v_error === undefined ? null : v_error;
|
|
748
748
|
}
|
|
749
749
|
|
|
750
|
-
function validate$
|
|
750
|
+
function validate$m(obj, path = 'InputMetric') {
|
|
751
751
|
const v_error = (() => {
|
|
752
752
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
753
753
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
754
754
|
}
|
|
755
755
|
const obj_extensionOptions = obj.extensionOptions;
|
|
756
756
|
const path_extensionOptions = path + '.extensionOptions';
|
|
757
|
-
const referencepath_extensionOptionsValidationError = validate$
|
|
757
|
+
const referencepath_extensionOptionsValidationError = validate$G(obj_extensionOptions, path_extensionOptions);
|
|
758
758
|
if (referencepath_extensionOptionsValidationError !== null) {
|
|
759
759
|
let message = 'Object doesn\'t match ExtensionOptions (at "' + path_extensionOptions + '")\n';
|
|
760
760
|
message += referencepath_extensionOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -762,7 +762,7 @@ function validate$l(obj, path = 'InputMetric') {
|
|
|
762
762
|
}
|
|
763
763
|
const obj_insightsOptions = obj.insightsOptions;
|
|
764
764
|
const path_insightsOptions = path + '.insightsOptions';
|
|
765
|
-
const referencepath_insightsOptionsValidationError = validate$
|
|
765
|
+
const referencepath_insightsOptionsValidationError = validate$E(obj_insightsOptions, path_insightsOptions);
|
|
766
766
|
if (referencepath_insightsOptionsValidationError !== null) {
|
|
767
767
|
let message = 'Object doesn\'t match InsightsOptions (at "' + path_insightsOptions + '")\n';
|
|
768
768
|
message += referencepath_insightsOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -770,7 +770,7 @@ function validate$l(obj, path = 'InputMetric') {
|
|
|
770
770
|
}
|
|
771
771
|
const obj_instance = obj.instance;
|
|
772
772
|
const path_instance = path + '.instance';
|
|
773
|
-
const referencepath_instanceValidationError = validate$
|
|
773
|
+
const referencepath_instanceValidationError = validate$u(obj_instance, path_instance);
|
|
774
774
|
if (referencepath_instanceValidationError !== null) {
|
|
775
775
|
let message = 'Object doesn\'t match MetricInstance (at "' + path_instance + '")\n';
|
|
776
776
|
message += referencepath_instanceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -778,7 +778,7 @@ function validate$l(obj, path = 'InputMetric') {
|
|
|
778
778
|
}
|
|
779
779
|
const obj_metric = obj.metric;
|
|
780
780
|
const path_metric = path + '.metric';
|
|
781
|
-
const referencepath_metricValidationError = validate$
|
|
781
|
+
const referencepath_metricValidationError = validate$p(obj_metric, path_metric);
|
|
782
782
|
if (referencepath_metricValidationError !== null) {
|
|
783
783
|
let message = 'Object doesn\'t match MetricDefinition (at "' + path_metric + '")\n';
|
|
784
784
|
message += referencepath_metricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -786,7 +786,7 @@ function validate$l(obj, path = 'InputMetric') {
|
|
|
786
786
|
}
|
|
787
787
|
const obj_representationOptions = obj.representationOptions;
|
|
788
788
|
const path_representationOptions = path + '.representationOptions';
|
|
789
|
-
const referencepath_representationOptionsValidationError = validate$
|
|
789
|
+
const referencepath_representationOptionsValidationError = validate$n(obj_representationOptions, path_representationOptions);
|
|
790
790
|
if (referencepath_representationOptionsValidationError !== null) {
|
|
791
791
|
let message = 'Object doesn\'t match RepresentationOptions (at "' + path_representationOptions + '")\n';
|
|
792
792
|
message += referencepath_representationOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -796,14 +796,14 @@ function validate$l(obj, path = 'InputMetric') {
|
|
|
796
796
|
return v_error === undefined ? null : v_error;
|
|
797
797
|
}
|
|
798
798
|
|
|
799
|
-
function validate$
|
|
799
|
+
function validate$l(obj, path = 'InsightBundleInput') {
|
|
800
800
|
const v_error = (() => {
|
|
801
801
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
802
802
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
803
803
|
}
|
|
804
804
|
const obj_metadata = obj.metadata;
|
|
805
805
|
const path_metadata = path + '.metadata';
|
|
806
|
-
const referencepath_metadataValidationError = validate$
|
|
806
|
+
const referencepath_metadataValidationError = validate$H(obj_metadata, path_metadata);
|
|
807
807
|
if (referencepath_metadataValidationError !== null) {
|
|
808
808
|
let message = 'Object doesn\'t match MetricMetadata (at "' + path_metadata + '")\n';
|
|
809
809
|
message += referencepath_metadataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -811,7 +811,7 @@ function validate$k(obj, path = 'InsightBundleInput') {
|
|
|
811
811
|
}
|
|
812
812
|
const obj_metric = obj.metric;
|
|
813
813
|
const path_metric = path + '.metric';
|
|
814
|
-
const referencepath_metricValidationError = validate$
|
|
814
|
+
const referencepath_metricValidationError = validate$m(obj_metric, path_metric);
|
|
815
815
|
if (referencepath_metricValidationError !== null) {
|
|
816
816
|
let message = 'Object doesn\'t match InputMetric (at "' + path_metric + '")\n';
|
|
817
817
|
message += referencepath_metricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -821,7 +821,7 @@ function validate$k(obj, path = 'InsightBundleInput') {
|
|
|
821
821
|
return v_error === undefined ? null : v_error;
|
|
822
822
|
}
|
|
823
823
|
|
|
824
|
-
function validate$
|
|
824
|
+
function validate$k(obj, path = 'MetricInstanceInput') {
|
|
825
825
|
const v_error = (() => {
|
|
826
826
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
827
827
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -840,7 +840,7 @@ function validate$j(obj, path = 'MetricInstanceInput') {
|
|
|
840
840
|
return v_error === undefined ? null : v_error;
|
|
841
841
|
}
|
|
842
842
|
|
|
843
|
-
function validate$
|
|
843
|
+
function validate$j(obj, path = 'BatchInput') {
|
|
844
844
|
const v_error = (() => {
|
|
845
845
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
846
846
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -848,7 +848,7 @@ function validate$i(obj, path = 'BatchInput') {
|
|
|
848
848
|
if (obj.bundleInput !== undefined) {
|
|
849
849
|
const obj_bundleInput = obj.bundleInput;
|
|
850
850
|
const path_bundleInput = path + '.bundleInput';
|
|
851
|
-
const referencepath_bundleInputValidationError = validate$
|
|
851
|
+
const referencepath_bundleInputValidationError = validate$l(obj_bundleInput, path_bundleInput);
|
|
852
852
|
if (referencepath_bundleInputValidationError !== null) {
|
|
853
853
|
let message = 'Object doesn\'t match InsightBundleInput (at "' + path_bundleInput + '")\n';
|
|
854
854
|
message += referencepath_bundleInputValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -858,7 +858,7 @@ function validate$i(obj, path = 'BatchInput') {
|
|
|
858
858
|
if (obj.metricInstanceInput !== undefined) {
|
|
859
859
|
const obj_metricInstanceInput = obj.metricInstanceInput;
|
|
860
860
|
const path_metricInstanceInput = path + '.metricInstanceInput';
|
|
861
|
-
const referencepath_metricInstanceInputValidationError = validate$
|
|
861
|
+
const referencepath_metricInstanceInputValidationError = validate$k(obj_metricInstanceInput, path_metricInstanceInput);
|
|
862
862
|
if (referencepath_metricInstanceInputValidationError !== null) {
|
|
863
863
|
let message = 'Object doesn\'t match MetricInstanceInput (at "' + path_metricInstanceInput + '")\n';
|
|
864
864
|
message += referencepath_metricInstanceInputValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -869,7 +869,7 @@ function validate$i(obj, path = 'BatchInput') {
|
|
|
869
869
|
return v_error === undefined ? null : v_error;
|
|
870
870
|
}
|
|
871
871
|
|
|
872
|
-
function validate$
|
|
872
|
+
function validate$i(obj, path = 'InsightBundleOptions') {
|
|
873
873
|
const v_error = (() => {
|
|
874
874
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
875
875
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -899,7 +899,7 @@ function validate$h(obj, path = 'InsightBundleOptions') {
|
|
|
899
899
|
return v_error === undefined ? null : v_error;
|
|
900
900
|
}
|
|
901
901
|
|
|
902
|
-
function validate$
|
|
902
|
+
function validate$h(obj, path = 'SummarizationOptions') {
|
|
903
903
|
const v_error = (() => {
|
|
904
904
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
905
905
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -915,7 +915,7 @@ function validate$g(obj, path = 'SummarizationOptions') {
|
|
|
915
915
|
return v_error === undefined ? null : v_error;
|
|
916
916
|
}
|
|
917
917
|
|
|
918
|
-
function validate$
|
|
918
|
+
function validate$g(obj, path = 'BatchOptions') {
|
|
919
919
|
const v_error = (() => {
|
|
920
920
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
921
921
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -923,7 +923,7 @@ function validate$f(obj, path = 'BatchOptions') {
|
|
|
923
923
|
if (obj.bundle !== undefined) {
|
|
924
924
|
const obj_bundle = obj.bundle;
|
|
925
925
|
const path_bundle = path + '.bundle';
|
|
926
|
-
const referencepath_bundleValidationError = validate$
|
|
926
|
+
const referencepath_bundleValidationError = validate$i(obj_bundle, path_bundle);
|
|
927
927
|
if (referencepath_bundleValidationError !== null) {
|
|
928
928
|
let message = 'Object doesn\'t match InsightBundleOptions (at "' + path_bundle + '")\n';
|
|
929
929
|
message += referencepath_bundleValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -940,7 +940,7 @@ function validate$f(obj, path = 'BatchOptions') {
|
|
|
940
940
|
if (obj.summarization !== undefined) {
|
|
941
941
|
const obj_summarization = obj.summarization;
|
|
942
942
|
const path_summarization = path + '.summarization';
|
|
943
|
-
const referencepath_summarizationValidationError = validate$
|
|
943
|
+
const referencepath_summarizationValidationError = validate$h(obj_summarization, path_summarization);
|
|
944
944
|
if (referencepath_summarizationValidationError !== null) {
|
|
945
945
|
let message = 'Object doesn\'t match SummarizationOptions (at "' + path_summarization + '")\n';
|
|
946
946
|
message += referencepath_summarizationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -951,8 +951,8 @@ function validate$f(obj, path = 'BatchOptions') {
|
|
|
951
951
|
return v_error === undefined ? null : v_error;
|
|
952
952
|
}
|
|
953
953
|
|
|
954
|
-
const VERSION$
|
|
955
|
-
function validate$
|
|
954
|
+
const VERSION$f = "07a8c889542dbad6f958515513d4e3fb";
|
|
955
|
+
function validate$f(obj, path = 'Error') {
|
|
956
956
|
const v_error = (() => {
|
|
957
957
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
958
958
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -974,10 +974,10 @@ function validate$e(obj, path = 'Error') {
|
|
|
974
974
|
})();
|
|
975
975
|
return v_error === undefined ? null : v_error;
|
|
976
976
|
}
|
|
977
|
-
const select$
|
|
977
|
+
const select$k = function ErrorSelect() {
|
|
978
978
|
return {
|
|
979
979
|
kind: 'Fragment',
|
|
980
|
-
version: VERSION$
|
|
980
|
+
version: VERSION$f,
|
|
981
981
|
private: [],
|
|
982
982
|
selections: [
|
|
983
983
|
{
|
|
@@ -993,7 +993,7 @@ const select$j = function ErrorSelect() {
|
|
|
993
993
|
]
|
|
994
994
|
};
|
|
995
995
|
};
|
|
996
|
-
function equals$
|
|
996
|
+
function equals$f(existing, incoming) {
|
|
997
997
|
const existing_code = existing.code;
|
|
998
998
|
const incoming_code = incoming.code;
|
|
999
999
|
// if at least one of these optionals is defined
|
|
@@ -1023,8 +1023,8 @@ function equals$e(existing, incoming) {
|
|
|
1023
1023
|
return true;
|
|
1024
1024
|
}
|
|
1025
1025
|
|
|
1026
|
-
const VERSION$
|
|
1027
|
-
function validate$
|
|
1026
|
+
const VERSION$e = "c4ce5385f4ed571b518d799c4e627709";
|
|
1027
|
+
function validate$e(obj, path = 'Summary') {
|
|
1028
1028
|
const v_error = (() => {
|
|
1029
1029
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1030
1030
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1052,10 +1052,10 @@ function validate$d(obj, path = 'Summary') {
|
|
|
1052
1052
|
})();
|
|
1053
1053
|
return v_error === undefined ? null : v_error;
|
|
1054
1054
|
}
|
|
1055
|
-
const select$
|
|
1055
|
+
const select$j = function SummarySelect() {
|
|
1056
1056
|
return {
|
|
1057
1057
|
kind: 'Fragment',
|
|
1058
|
-
version: VERSION$
|
|
1058
|
+
version: VERSION$e,
|
|
1059
1059
|
private: [],
|
|
1060
1060
|
selections: [
|
|
1061
1061
|
{
|
|
@@ -1077,7 +1077,7 @@ const select$i = function SummarySelect() {
|
|
|
1077
1077
|
]
|
|
1078
1078
|
};
|
|
1079
1079
|
};
|
|
1080
|
-
function equals$
|
|
1080
|
+
function equals$e(existing, incoming) {
|
|
1081
1081
|
const existing_generationId = existing.generationId;
|
|
1082
1082
|
const incoming_generationId = incoming.generationId;
|
|
1083
1083
|
if (!(existing_generationId === incoming_generationId)) {
|
|
@@ -1101,8 +1101,8 @@ function equals$d(existing, incoming) {
|
|
|
1101
1101
|
return true;
|
|
1102
1102
|
}
|
|
1103
1103
|
|
|
1104
|
-
const VERSION$
|
|
1105
|
-
function validate$
|
|
1104
|
+
const VERSION$d = "fc433e1c68019470090193fa4fdf976f";
|
|
1105
|
+
function validate$d(obj, path = 'SummaryResponse') {
|
|
1106
1106
|
const v_error = (() => {
|
|
1107
1107
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1108
1108
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1110,7 +1110,7 @@ function validate$c(obj, path = 'SummaryResponse') {
|
|
|
1110
1110
|
if (obj.error !== undefined) {
|
|
1111
1111
|
const obj_error = obj.error;
|
|
1112
1112
|
const path_error = path + '.error';
|
|
1113
|
-
const referencepath_errorValidationError = validate$
|
|
1113
|
+
const referencepath_errorValidationError = validate$f(obj_error, path_error);
|
|
1114
1114
|
if (referencepath_errorValidationError !== null) {
|
|
1115
1115
|
let message = 'Object doesn\'t match Error (at "' + path_error + '")\n';
|
|
1116
1116
|
message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1119,7 +1119,7 @@ function validate$c(obj, path = 'SummaryResponse') {
|
|
|
1119
1119
|
}
|
|
1120
1120
|
const obj_result = obj.result;
|
|
1121
1121
|
const path_result = path + '.result';
|
|
1122
|
-
const referencepath_resultValidationError = validate$
|
|
1122
|
+
const referencepath_resultValidationError = validate$e(obj_result, path_result);
|
|
1123
1123
|
if (referencepath_resultValidationError !== null) {
|
|
1124
1124
|
let message = 'Object doesn\'t match Summary (at "' + path_result + '")\n';
|
|
1125
1125
|
message += referencepath_resultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1128,12 +1128,12 @@ function validate$c(obj, path = 'SummaryResponse') {
|
|
|
1128
1128
|
})();
|
|
1129
1129
|
return v_error === undefined ? null : v_error;
|
|
1130
1130
|
}
|
|
1131
|
-
const select$
|
|
1132
|
-
const { selections: Error__selections, opaque: Error__opaque, } = select$
|
|
1133
|
-
const { selections: Summary__selections, opaque: Summary__opaque, } = select$
|
|
1131
|
+
const select$i = function SummaryResponseSelect() {
|
|
1132
|
+
const { selections: Error__selections, opaque: Error__opaque, } = select$k();
|
|
1133
|
+
const { selections: Summary__selections, opaque: Summary__opaque, } = select$j();
|
|
1134
1134
|
return {
|
|
1135
1135
|
kind: 'Fragment',
|
|
1136
|
-
version: VERSION$
|
|
1136
|
+
version: VERSION$d,
|
|
1137
1137
|
private: [],
|
|
1138
1138
|
selections: [
|
|
1139
1139
|
{
|
|
@@ -1150,7 +1150,7 @@ const select$h = function SummaryResponseSelect() {
|
|
|
1150
1150
|
]
|
|
1151
1151
|
};
|
|
1152
1152
|
};
|
|
1153
|
-
function equals$
|
|
1153
|
+
function equals$d(existing, incoming) {
|
|
1154
1154
|
const existing_error = existing.error;
|
|
1155
1155
|
const incoming_error = incoming.error;
|
|
1156
1156
|
// if at least one of these optionals is defined
|
|
@@ -1160,20 +1160,20 @@ function equals$c(existing, incoming) {
|
|
|
1160
1160
|
if (existing_error === undefined || incoming_error === undefined) {
|
|
1161
1161
|
return false;
|
|
1162
1162
|
}
|
|
1163
|
-
if (!(equals$
|
|
1163
|
+
if (!(equals$f(existing_error, incoming_error))) {
|
|
1164
1164
|
return false;
|
|
1165
1165
|
}
|
|
1166
1166
|
}
|
|
1167
1167
|
const existing_result = existing.result;
|
|
1168
1168
|
const incoming_result = incoming.result;
|
|
1169
|
-
if (!(equals$
|
|
1169
|
+
if (!(equals$e(existing_result, incoming_result))) {
|
|
1170
1170
|
return false;
|
|
1171
1171
|
}
|
|
1172
1172
|
return true;
|
|
1173
1173
|
}
|
|
1174
1174
|
|
|
1175
|
-
const VERSION$
|
|
1176
|
-
function validate$
|
|
1175
|
+
const VERSION$c = "18d65084646c870abf335d268675999e";
|
|
1176
|
+
function validate$c(obj, path = 'GenerateInsightBatchResponse') {
|
|
1177
1177
|
const v_error = (() => {
|
|
1178
1178
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1179
1179
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1193,7 +1193,7 @@ function validate$b(obj, path = 'GenerateInsightBatchResponse') {
|
|
|
1193
1193
|
if (obj.summary !== undefined) {
|
|
1194
1194
|
const obj_summary = obj.summary;
|
|
1195
1195
|
const path_summary = path + '.summary';
|
|
1196
|
-
const referencepath_summaryValidationError = validate$
|
|
1196
|
+
const referencepath_summaryValidationError = validate$d(obj_summary, path_summary);
|
|
1197
1197
|
if (referencepath_summaryValidationError !== null) {
|
|
1198
1198
|
let message = 'Object doesn\'t match SummaryResponse (at "' + path_summary + '")\n';
|
|
1199
1199
|
message += referencepath_summaryValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1223,11 +1223,11 @@ function keyBuilderFromType$3(luvio, object) {
|
|
|
1223
1223
|
function normalize$3(input, existing, path, luvio, store, timestamp) {
|
|
1224
1224
|
return input;
|
|
1225
1225
|
}
|
|
1226
|
-
const select$
|
|
1227
|
-
const { selections: SummaryResponse__selections, opaque: SummaryResponse__opaque, } = select$
|
|
1226
|
+
const select$h = function GenerateInsightBatchResponseSelect() {
|
|
1227
|
+
const { selections: SummaryResponse__selections, opaque: SummaryResponse__opaque, } = select$i();
|
|
1228
1228
|
return {
|
|
1229
1229
|
kind: 'Fragment',
|
|
1230
|
-
version: VERSION$
|
|
1230
|
+
version: VERSION$c,
|
|
1231
1231
|
private: [],
|
|
1232
1232
|
selections: [
|
|
1233
1233
|
{
|
|
@@ -1253,7 +1253,7 @@ const select$g = function GenerateInsightBatchResponseSelect() {
|
|
|
1253
1253
|
]
|
|
1254
1254
|
};
|
|
1255
1255
|
};
|
|
1256
|
-
function equals$
|
|
1256
|
+
function equals$c(existing, incoming) {
|
|
1257
1257
|
const existing_generatingSummary = existing.generatingSummary;
|
|
1258
1258
|
const incoming_generatingSummary = incoming.generatingSummary;
|
|
1259
1259
|
// if at least one of these optionals is defined
|
|
@@ -1294,7 +1294,7 @@ function equals$b(existing, incoming) {
|
|
|
1294
1294
|
if (existing_summary === undefined || incoming_summary === undefined) {
|
|
1295
1295
|
return false;
|
|
1296
1296
|
}
|
|
1297
|
-
if (!(equals$
|
|
1297
|
+
if (!(equals$d(existing_summary, incoming_summary))) {
|
|
1298
1298
|
return false;
|
|
1299
1299
|
}
|
|
1300
1300
|
}
|
|
@@ -1302,14 +1302,14 @@ function equals$b(existing, incoming) {
|
|
|
1302
1302
|
}
|
|
1303
1303
|
const ingest$3 = function GenerateInsightBatchResponseIngest(input, path, luvio, store, timestamp) {
|
|
1304
1304
|
if (process.env.NODE_ENV !== 'production') {
|
|
1305
|
-
const validateError = validate$
|
|
1305
|
+
const validateError = validate$c(input);
|
|
1306
1306
|
if (validateError !== null) {
|
|
1307
1307
|
throw validateError;
|
|
1308
1308
|
}
|
|
1309
1309
|
}
|
|
1310
1310
|
const key = keyBuilderFromType$3(luvio, input);
|
|
1311
1311
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 300000;
|
|
1312
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "analytics-insights", VERSION$
|
|
1312
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "analytics-insights", VERSION$c, RepresentationType$3, equals$c);
|
|
1313
1313
|
return createLink(key);
|
|
1314
1314
|
};
|
|
1315
1315
|
function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1322,8 +1322,8 @@ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1322
1322
|
});
|
|
1323
1323
|
}
|
|
1324
1324
|
|
|
1325
|
-
function select$
|
|
1326
|
-
return select$
|
|
1325
|
+
function select$g(luvio, params) {
|
|
1326
|
+
return select$h();
|
|
1327
1327
|
}
|
|
1328
1328
|
function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
|
|
1329
1329
|
getTypeCacheKeys$3(storeKeyMap, luvio, response);
|
|
@@ -1334,7 +1334,7 @@ function ingestSuccess$4(luvio, resourceParams, response) {
|
|
|
1334
1334
|
luvio.storeIngest(key, ingest$3, body);
|
|
1335
1335
|
const snapshot = luvio.storeLookup({
|
|
1336
1336
|
recordId: key,
|
|
1337
|
-
node: select$
|
|
1337
|
+
node: select$g(),
|
|
1338
1338
|
variables: {},
|
|
1339
1339
|
});
|
|
1340
1340
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1373,7 +1373,7 @@ function typeCheckConfig$4(untrustedConfig) {
|
|
|
1373
1373
|
const untrustedConfig_batchInput_array = [];
|
|
1374
1374
|
for (let i = 0, arrayLength = untrustedConfig_batchInput.length; i < arrayLength; i++) {
|
|
1375
1375
|
const untrustedConfig_batchInput_item = untrustedConfig_batchInput[i];
|
|
1376
|
-
const referenceBatchInputValidationError = validate$
|
|
1376
|
+
const referenceBatchInputValidationError = validate$j(untrustedConfig_batchInput_item);
|
|
1377
1377
|
if (referenceBatchInputValidationError === null) {
|
|
1378
1378
|
untrustedConfig_batchInput_array.push(untrustedConfig_batchInput_item);
|
|
1379
1379
|
}
|
|
@@ -1381,7 +1381,7 @@ function typeCheckConfig$4(untrustedConfig) {
|
|
|
1381
1381
|
config.batchInput = untrustedConfig_batchInput_array;
|
|
1382
1382
|
}
|
|
1383
1383
|
const untrustedConfig_options = untrustedConfig.options;
|
|
1384
|
-
const referenceBatchOptionsValidationError = validate$
|
|
1384
|
+
const referenceBatchOptionsValidationError = validate$g(untrustedConfig_options);
|
|
1385
1385
|
if (referenceBatchOptionsValidationError === null) {
|
|
1386
1386
|
config.options = untrustedConfig_options;
|
|
1387
1387
|
}
|
|
@@ -1429,8 +1429,8 @@ const createInsightsBatchAdapterFactory = (luvio) => {
|
|
|
1429
1429
|
};
|
|
1430
1430
|
};
|
|
1431
1431
|
|
|
1432
|
-
const VERSION$
|
|
1433
|
-
function validate$
|
|
1432
|
+
const VERSION$b = "6b47d2ed35a900956ff58b7d8a527e7f";
|
|
1433
|
+
function validate$b(obj, path = 'InsightFeedbackMetadata') {
|
|
1434
1434
|
const v_error = (() => {
|
|
1435
1435
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1436
1436
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1455,10 +1455,10 @@ function validate$a(obj, path = 'InsightFeedbackMetadata') {
|
|
|
1455
1455
|
})();
|
|
1456
1456
|
return v_error === undefined ? null : v_error;
|
|
1457
1457
|
}
|
|
1458
|
-
const select$
|
|
1458
|
+
const select$f = function InsightFeedbackMetadataSelect() {
|
|
1459
1459
|
return {
|
|
1460
1460
|
kind: 'Fragment',
|
|
1461
|
-
version: VERSION$
|
|
1461
|
+
version: VERSION$b,
|
|
1462
1462
|
private: [],
|
|
1463
1463
|
selections: [
|
|
1464
1464
|
{
|
|
@@ -1479,7 +1479,7 @@ const select$e = function InsightFeedbackMetadataSelect() {
|
|
|
1479
1479
|
]
|
|
1480
1480
|
};
|
|
1481
1481
|
};
|
|
1482
|
-
function equals$
|
|
1482
|
+
function equals$b(existing, incoming) {
|
|
1483
1483
|
const existing_dimensionHash = existing.dimensionHash;
|
|
1484
1484
|
const incoming_dimensionHash = incoming.dimensionHash;
|
|
1485
1485
|
// if at least one of these optionals is defined
|
|
@@ -1522,8 +1522,8 @@ function equals$a(existing, incoming) {
|
|
|
1522
1522
|
return true;
|
|
1523
1523
|
}
|
|
1524
1524
|
|
|
1525
|
-
const VERSION$
|
|
1526
|
-
function validate$
|
|
1525
|
+
const VERSION$a = "be7014b0043386672b06a22807d7e549";
|
|
1526
|
+
function validate$a(obj, path = 'Insight') {
|
|
1527
1527
|
const v_error = (() => {
|
|
1528
1528
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1529
1529
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1551,7 +1551,7 @@ function validate$9(obj, path = 'Insight') {
|
|
|
1551
1551
|
}
|
|
1552
1552
|
const obj_insightFeedbackMetadata = obj.insightFeedbackMetadata;
|
|
1553
1553
|
const path_insightFeedbackMetadata = path + '.insightFeedbackMetadata';
|
|
1554
|
-
const referencepath_insightFeedbackMetadataValidationError = validate$
|
|
1554
|
+
const referencepath_insightFeedbackMetadataValidationError = validate$b(obj_insightFeedbackMetadata, path_insightFeedbackMetadata);
|
|
1555
1555
|
if (referencepath_insightFeedbackMetadataValidationError !== null) {
|
|
1556
1556
|
let message = 'Object doesn\'t match InsightFeedbackMetadata (at "' + path_insightFeedbackMetadata + '")\n';
|
|
1557
1557
|
message += referencepath_insightFeedbackMetadataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1598,11 +1598,11 @@ function validate$9(obj, path = 'Insight') {
|
|
|
1598
1598
|
})();
|
|
1599
1599
|
return v_error === undefined ? null : v_error;
|
|
1600
1600
|
}
|
|
1601
|
-
const select$
|
|
1602
|
-
const { selections: InsightFeedbackMetadata__selections, opaque: InsightFeedbackMetadata__opaque, } = select$
|
|
1601
|
+
const select$e = function InsightSelect() {
|
|
1602
|
+
const { selections: InsightFeedbackMetadata__selections, opaque: InsightFeedbackMetadata__opaque, } = select$f();
|
|
1603
1603
|
return {
|
|
1604
1604
|
kind: 'Fragment',
|
|
1605
|
-
version: VERSION$
|
|
1605
|
+
version: VERSION$a,
|
|
1606
1606
|
private: [],
|
|
1607
1607
|
selections: [
|
|
1608
1608
|
{
|
|
@@ -1658,7 +1658,7 @@ const select$d = function InsightSelect() {
|
|
|
1658
1658
|
]
|
|
1659
1659
|
};
|
|
1660
1660
|
};
|
|
1661
|
-
function equals$
|
|
1661
|
+
function equals$a(existing, incoming) {
|
|
1662
1662
|
const existing_version = existing.version;
|
|
1663
1663
|
const incoming_version = incoming.version;
|
|
1664
1664
|
// if at least one of these optionals is defined
|
|
@@ -1765,7 +1765,7 @@ function equals$9(existing, incoming) {
|
|
|
1765
1765
|
}
|
|
1766
1766
|
const existing_insightFeedbackMetadata = existing.insightFeedbackMetadata;
|
|
1767
1767
|
const incoming_insightFeedbackMetadata = incoming.insightFeedbackMetadata;
|
|
1768
|
-
if (!(equals$
|
|
1768
|
+
if (!(equals$b(existing_insightFeedbackMetadata, incoming_insightFeedbackMetadata))) {
|
|
1769
1769
|
return false;
|
|
1770
1770
|
}
|
|
1771
1771
|
const existing_viz = existing.viz;
|
|
@@ -1784,8 +1784,8 @@ function equals$9(existing, incoming) {
|
|
|
1784
1784
|
return true;
|
|
1785
1785
|
}
|
|
1786
1786
|
|
|
1787
|
-
const VERSION$
|
|
1788
|
-
function validate$
|
|
1787
|
+
const VERSION$9 = "09a140bdbc97294bdce2b9555910f209";
|
|
1788
|
+
function validate$9(obj, path = 'InsightResponse') {
|
|
1789
1789
|
const v_error = (() => {
|
|
1790
1790
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1791
1791
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1793,7 +1793,7 @@ function validate$8(obj, path = 'InsightResponse') {
|
|
|
1793
1793
|
if (obj.error !== undefined) {
|
|
1794
1794
|
const obj_error = obj.error;
|
|
1795
1795
|
const path_error = path + '.error';
|
|
1796
|
-
const referencepath_errorValidationError = validate$
|
|
1796
|
+
const referencepath_errorValidationError = validate$f(obj_error, path_error);
|
|
1797
1797
|
if (referencepath_errorValidationError !== null) {
|
|
1798
1798
|
let message = 'Object doesn\'t match Error (at "' + path_error + '")\n';
|
|
1799
1799
|
message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1810,7 +1810,7 @@ function validate$8(obj, path = 'InsightResponse') {
|
|
|
1810
1810
|
if (obj.result !== undefined) {
|
|
1811
1811
|
const obj_result = obj.result;
|
|
1812
1812
|
const path_result = path + '.result';
|
|
1813
|
-
const referencepath_resultValidationError = validate$
|
|
1813
|
+
const referencepath_resultValidationError = validate$a(obj_result, path_result);
|
|
1814
1814
|
if (referencepath_resultValidationError !== null) {
|
|
1815
1815
|
let message = 'Object doesn\'t match Insight (at "' + path_result + '")\n';
|
|
1816
1816
|
message += referencepath_resultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1820,12 +1820,12 @@ function validate$8(obj, path = 'InsightResponse') {
|
|
|
1820
1820
|
})();
|
|
1821
1821
|
return v_error === undefined ? null : v_error;
|
|
1822
1822
|
}
|
|
1823
|
-
const select$
|
|
1824
|
-
const { selections: Error__selections, opaque: Error__opaque, } = select$
|
|
1825
|
-
const { selections: Insight__selections, opaque: Insight__opaque, } = select$
|
|
1823
|
+
const select$d = function InsightResponseSelect() {
|
|
1824
|
+
const { selections: Error__selections, opaque: Error__opaque, } = select$k();
|
|
1825
|
+
const { selections: Insight__selections, opaque: Insight__opaque, } = select$e();
|
|
1826
1826
|
return {
|
|
1827
1827
|
kind: 'Fragment',
|
|
1828
|
-
version: VERSION$
|
|
1828
|
+
version: VERSION$9,
|
|
1829
1829
|
private: [],
|
|
1830
1830
|
selections: [
|
|
1831
1831
|
{
|
|
@@ -1848,7 +1848,7 @@ const select$c = function InsightResponseSelect() {
|
|
|
1848
1848
|
]
|
|
1849
1849
|
};
|
|
1850
1850
|
};
|
|
1851
|
-
function equals$
|
|
1851
|
+
function equals$9(existing, incoming) {
|
|
1852
1852
|
const existing_insightType = existing.insightType;
|
|
1853
1853
|
const incoming_insightType = incoming.insightType;
|
|
1854
1854
|
// if at least one of these optionals is defined
|
|
@@ -1871,7 +1871,7 @@ function equals$8(existing, incoming) {
|
|
|
1871
1871
|
if (existing_error === undefined || incoming_error === undefined) {
|
|
1872
1872
|
return false;
|
|
1873
1873
|
}
|
|
1874
|
-
if (!(equals$
|
|
1874
|
+
if (!(equals$f(existing_error, incoming_error))) {
|
|
1875
1875
|
return false;
|
|
1876
1876
|
}
|
|
1877
1877
|
}
|
|
@@ -1884,19 +1884,101 @@ function equals$8(existing, incoming) {
|
|
|
1884
1884
|
if (existing_result === undefined || incoming_result === undefined) {
|
|
1885
1885
|
return false;
|
|
1886
1886
|
}
|
|
1887
|
-
if (!(equals$
|
|
1887
|
+
if (!(equals$a(existing_result, incoming_result))) {
|
|
1888
|
+
return false;
|
|
1889
|
+
}
|
|
1890
|
+
}
|
|
1891
|
+
return true;
|
|
1892
|
+
}
|
|
1893
|
+
|
|
1894
|
+
const VERSION$8 = "bbba5f281b443221e96fa2e9e8eae2d9";
|
|
1895
|
+
function validate$8(obj, path = 'Status') {
|
|
1896
|
+
const v_error = (() => {
|
|
1897
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1898
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1899
|
+
}
|
|
1900
|
+
if (obj.qualifier !== undefined) {
|
|
1901
|
+
const obj_qualifier = obj.qualifier;
|
|
1902
|
+
const path_qualifier = path + '.qualifier';
|
|
1903
|
+
if (typeof obj_qualifier !== 'string') {
|
|
1904
|
+
return new TypeError('Expected "string" but received "' + typeof obj_qualifier + '" (at "' + path_qualifier + '")');
|
|
1905
|
+
}
|
|
1906
|
+
}
|
|
1907
|
+
if (obj.sentiment !== undefined) {
|
|
1908
|
+
const obj_sentiment = obj.sentiment;
|
|
1909
|
+
const path_sentiment = path + '.sentiment';
|
|
1910
|
+
if (typeof obj_sentiment !== 'string') {
|
|
1911
|
+
return new TypeError('Expected "string" but received "' + typeof obj_sentiment + '" (at "' + path_sentiment + '")');
|
|
1912
|
+
}
|
|
1913
|
+
}
|
|
1914
|
+
})();
|
|
1915
|
+
return v_error === undefined ? null : v_error;
|
|
1916
|
+
}
|
|
1917
|
+
const select$c = function StatusSelect() {
|
|
1918
|
+
return {
|
|
1919
|
+
kind: 'Fragment',
|
|
1920
|
+
version: VERSION$8,
|
|
1921
|
+
private: [],
|
|
1922
|
+
selections: [
|
|
1923
|
+
{
|
|
1924
|
+
name: 'qualifier',
|
|
1925
|
+
kind: 'Scalar',
|
|
1926
|
+
required: false
|
|
1927
|
+
},
|
|
1928
|
+
{
|
|
1929
|
+
name: 'sentiment',
|
|
1930
|
+
kind: 'Scalar',
|
|
1931
|
+
required: false
|
|
1932
|
+
}
|
|
1933
|
+
]
|
|
1934
|
+
};
|
|
1935
|
+
};
|
|
1936
|
+
function equals$8(existing, incoming) {
|
|
1937
|
+
const existing_qualifier = existing.qualifier;
|
|
1938
|
+
const incoming_qualifier = incoming.qualifier;
|
|
1939
|
+
// if at least one of these optionals is defined
|
|
1940
|
+
if (existing_qualifier !== undefined || incoming_qualifier !== undefined) {
|
|
1941
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1942
|
+
// not equal
|
|
1943
|
+
if (existing_qualifier === undefined || incoming_qualifier === undefined) {
|
|
1944
|
+
return false;
|
|
1945
|
+
}
|
|
1946
|
+
if (!(existing_qualifier === incoming_qualifier)) {
|
|
1947
|
+
return false;
|
|
1948
|
+
}
|
|
1949
|
+
}
|
|
1950
|
+
const existing_sentiment = existing.sentiment;
|
|
1951
|
+
const incoming_sentiment = incoming.sentiment;
|
|
1952
|
+
// if at least one of these optionals is defined
|
|
1953
|
+
if (existing_sentiment !== undefined || incoming_sentiment !== undefined) {
|
|
1954
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1955
|
+
// not equal
|
|
1956
|
+
if (existing_sentiment === undefined || incoming_sentiment === undefined) {
|
|
1957
|
+
return false;
|
|
1958
|
+
}
|
|
1959
|
+
if (!(existing_sentiment === incoming_sentiment)) {
|
|
1888
1960
|
return false;
|
|
1889
1961
|
}
|
|
1890
1962
|
}
|
|
1891
1963
|
return true;
|
|
1892
1964
|
}
|
|
1893
1965
|
|
|
1894
|
-
const VERSION$7 = "
|
|
1966
|
+
const VERSION$7 = "b8ee380c83f9ec2fff1e8045ba2301fc";
|
|
1895
1967
|
function validate$7(obj, path = 'Overview') {
|
|
1896
1968
|
const v_error = (() => {
|
|
1897
1969
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1898
1970
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1899
1971
|
}
|
|
1972
|
+
if (obj.status !== undefined) {
|
|
1973
|
+
const obj_status = obj.status;
|
|
1974
|
+
const path_status = path + '.status';
|
|
1975
|
+
const referencepath_statusValidationError = validate$8(obj_status, path_status);
|
|
1976
|
+
if (referencepath_statusValidationError !== null) {
|
|
1977
|
+
let message = 'Object doesn\'t match Status (at "' + path_status + '")\n';
|
|
1978
|
+
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1979
|
+
return new TypeError(message);
|
|
1980
|
+
}
|
|
1981
|
+
}
|
|
1900
1982
|
if (obj.viz !== undefined) {
|
|
1901
1983
|
const obj_viz = obj.viz;
|
|
1902
1984
|
const path_viz = path + '.viz';
|
|
@@ -1908,11 +1990,18 @@ function validate$7(obj, path = 'Overview') {
|
|
|
1908
1990
|
return v_error === undefined ? null : v_error;
|
|
1909
1991
|
}
|
|
1910
1992
|
const select$b = function OverviewSelect() {
|
|
1993
|
+
const { selections: Status__selections, opaque: Status__opaque, } = select$c();
|
|
1911
1994
|
return {
|
|
1912
1995
|
kind: 'Fragment',
|
|
1913
1996
|
version: VERSION$7,
|
|
1914
1997
|
private: [],
|
|
1915
1998
|
selections: [
|
|
1999
|
+
{
|
|
2000
|
+
name: 'status',
|
|
2001
|
+
kind: 'Object',
|
|
2002
|
+
selections: Status__selections,
|
|
2003
|
+
required: false
|
|
2004
|
+
},
|
|
1916
2005
|
{
|
|
1917
2006
|
name: 'viz',
|
|
1918
2007
|
kind: 'Object',
|
|
@@ -1922,6 +2011,19 @@ const select$b = function OverviewSelect() {
|
|
|
1922
2011
|
};
|
|
1923
2012
|
};
|
|
1924
2013
|
function equals$7(existing, incoming) {
|
|
2014
|
+
const existing_status = existing.status;
|
|
2015
|
+
const incoming_status = incoming.status;
|
|
2016
|
+
// if at least one of these optionals is defined
|
|
2017
|
+
if (existing_status !== undefined || incoming_status !== undefined) {
|
|
2018
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2019
|
+
// not equal
|
|
2020
|
+
if (existing_status === undefined || incoming_status === undefined) {
|
|
2021
|
+
return false;
|
|
2022
|
+
}
|
|
2023
|
+
if (!(equals$8(existing_status, incoming_status))) {
|
|
2024
|
+
return false;
|
|
2025
|
+
}
|
|
2026
|
+
}
|
|
1925
2027
|
const existing_viz = existing.viz;
|
|
1926
2028
|
const incoming_viz = incoming.viz;
|
|
1927
2029
|
// if at least one of these optionals is defined
|
|
@@ -1947,7 +2049,7 @@ function validate$6(obj, path = 'OverviewResponse') {
|
|
|
1947
2049
|
if (obj.error !== undefined) {
|
|
1948
2050
|
const obj_error = obj.error;
|
|
1949
2051
|
const path_error = path + '.error';
|
|
1950
|
-
const referencepath_errorValidationError = validate$
|
|
2052
|
+
const referencepath_errorValidationError = validate$f(obj_error, path_error);
|
|
1951
2053
|
if (referencepath_errorValidationError !== null) {
|
|
1952
2054
|
let message = 'Object doesn\'t match Error (at "' + path_error + '")\n';
|
|
1953
2055
|
message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1968,7 +2070,7 @@ function validate$6(obj, path = 'OverviewResponse') {
|
|
|
1968
2070
|
return v_error === undefined ? null : v_error;
|
|
1969
2071
|
}
|
|
1970
2072
|
const select$a = function OverviewResponseSelect() {
|
|
1971
|
-
const { selections: Error__selections, opaque: Error__opaque, } = select$
|
|
2073
|
+
const { selections: Error__selections, opaque: Error__opaque, } = select$k();
|
|
1972
2074
|
const { selections: Overview__selections, opaque: Overview__opaque, } = select$b();
|
|
1973
2075
|
return {
|
|
1974
2076
|
kind: 'Fragment',
|
|
@@ -2000,7 +2102,7 @@ function equals$6(existing, incoming) {
|
|
|
2000
2102
|
if (existing_error === undefined || incoming_error === undefined) {
|
|
2001
2103
|
return false;
|
|
2002
2104
|
}
|
|
2003
|
-
if (!(equals$
|
|
2105
|
+
if (!(equals$f(existing_error, incoming_error))) {
|
|
2004
2106
|
return false;
|
|
2005
2107
|
}
|
|
2006
2108
|
}
|
|
@@ -2029,7 +2131,7 @@ function validate$5(obj, path = 'InsightGroup') {
|
|
|
2029
2131
|
if (obj.error !== undefined) {
|
|
2030
2132
|
const obj_error = obj.error;
|
|
2031
2133
|
const path_error = path + '.error';
|
|
2032
|
-
const referencepath_errorValidationError = validate$
|
|
2134
|
+
const referencepath_errorValidationError = validate$f(obj_error, path_error);
|
|
2033
2135
|
if (referencepath_errorValidationError !== null) {
|
|
2034
2136
|
let message = 'Object doesn\'t match Error (at "' + path_error + '")\n';
|
|
2035
2137
|
message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2045,7 +2147,7 @@ function validate$5(obj, path = 'InsightGroup') {
|
|
|
2045
2147
|
for (let i = 0; i < obj_insights.length; i++) {
|
|
2046
2148
|
const obj_insights_item = obj_insights[i];
|
|
2047
2149
|
const path_insights_item = path_insights + '[' + i + ']';
|
|
2048
|
-
const referencepath_insights_itemValidationError = validate$
|
|
2150
|
+
const referencepath_insights_itemValidationError = validate$9(obj_insights_item, path_insights_item);
|
|
2049
2151
|
if (referencepath_insights_itemValidationError !== null) {
|
|
2050
2152
|
let message = 'Object doesn\'t match InsightResponse (at "' + path_insights_item + '")\n';
|
|
2051
2153
|
message += referencepath_insights_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2081,8 +2183,8 @@ function validate$5(obj, path = 'InsightGroup') {
|
|
|
2081
2183
|
return v_error === undefined ? null : v_error;
|
|
2082
2184
|
}
|
|
2083
2185
|
const select$9 = function InsightGroupSelect() {
|
|
2084
|
-
const { selections: Error__selections, opaque: Error__opaque, } = select$
|
|
2085
|
-
const { selections: InsightResponse__selections, opaque: InsightResponse__opaque, } = select$
|
|
2186
|
+
const { selections: Error__selections, opaque: Error__opaque, } = select$k();
|
|
2187
|
+
const { selections: InsightResponse__selections, opaque: InsightResponse__opaque, } = select$d();
|
|
2086
2188
|
const { selections: OverviewResponse__selections, opaque: OverviewResponse__opaque, } = select$a();
|
|
2087
2189
|
return {
|
|
2088
2190
|
kind: 'Fragment',
|
|
@@ -2140,7 +2242,7 @@ function equals$5(existing, incoming) {
|
|
|
2140
2242
|
if (existing_error === undefined || incoming_error === undefined) {
|
|
2141
2243
|
return false;
|
|
2142
2244
|
}
|
|
2143
|
-
if (!(equals$
|
|
2245
|
+
if (!(equals$f(existing_error, incoming_error))) {
|
|
2144
2246
|
return false;
|
|
2145
2247
|
}
|
|
2146
2248
|
}
|
|
@@ -2154,7 +2256,7 @@ function equals$5(existing, incoming) {
|
|
|
2154
2256
|
return false;
|
|
2155
2257
|
}
|
|
2156
2258
|
const equals_insights_items = equalsArray(existing_insights, incoming_insights, (existing_insights_item, incoming_insights_item) => {
|
|
2157
|
-
if (!(equals$
|
|
2259
|
+
if (!(equals$9(existing_insights_item, incoming_insights_item))) {
|
|
2158
2260
|
return false;
|
|
2159
2261
|
}
|
|
2160
2262
|
});
|
|
@@ -2307,7 +2409,7 @@ function validate$3(obj, path = 'GenerateInsightBundleResponse') {
|
|
|
2307
2409
|
if (obj.error !== undefined) {
|
|
2308
2410
|
const obj_error = obj.error;
|
|
2309
2411
|
const path_error = path + '.error';
|
|
2310
|
-
const referencepath_errorValidationError = validate$
|
|
2412
|
+
const referencepath_errorValidationError = validate$f(obj_error, path_error);
|
|
2311
2413
|
if (referencepath_errorValidationError !== null) {
|
|
2312
2414
|
let message = 'Object doesn\'t match Error (at "' + path_error + '")\n';
|
|
2313
2415
|
message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2351,7 +2453,7 @@ function normalize$2(input, existing, path, luvio, store, timestamp) {
|
|
|
2351
2453
|
return input;
|
|
2352
2454
|
}
|
|
2353
2455
|
const select$7 = function GenerateInsightBundleResponseSelect() {
|
|
2354
|
-
const { selections: Error__selections, opaque: Error__opaque, } = select$
|
|
2456
|
+
const { selections: Error__selections, opaque: Error__opaque, } = select$k();
|
|
2355
2457
|
const { selections: InsightBundle__selections, opaque: InsightBundle__opaque, } = select$8();
|
|
2356
2458
|
return {
|
|
2357
2459
|
kind: 'Fragment',
|
|
@@ -2401,7 +2503,7 @@ function equals$3(existing, incoming) {
|
|
|
2401
2503
|
if (existing_error === undefined || incoming_error === undefined) {
|
|
2402
2504
|
return false;
|
|
2403
2505
|
}
|
|
2404
|
-
if (!(equals$
|
|
2506
|
+
if (!(equals$f(existing_error, incoming_error))) {
|
|
2405
2507
|
return false;
|
|
2406
2508
|
}
|
|
2407
2509
|
}
|
|
@@ -2492,12 +2594,12 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
2492
2594
|
const config = {};
|
|
2493
2595
|
typeCheckConfig$5(untrustedConfig, config, generateInsights_ConfigPropertyMetadata);
|
|
2494
2596
|
const untrustedConfig_input = untrustedConfig.input;
|
|
2495
|
-
const referenceInsightBundleInputValidationError = validate$
|
|
2597
|
+
const referenceInsightBundleInputValidationError = validate$l(untrustedConfig_input);
|
|
2496
2598
|
if (referenceInsightBundleInputValidationError === null) {
|
|
2497
2599
|
config.input = untrustedConfig_input;
|
|
2498
2600
|
}
|
|
2499
2601
|
const untrustedConfig_options = untrustedConfig.options;
|
|
2500
|
-
const referenceInsightBundleOptionsValidationError = validate$
|
|
2602
|
+
const referenceInsightBundleOptionsValidationError = validate$i(untrustedConfig_options);
|
|
2501
2603
|
if (referenceInsightBundleOptionsValidationError === null) {
|
|
2502
2604
|
config.options = untrustedConfig_options;
|
|
2503
2605
|
}
|
|
@@ -2595,12 +2697,12 @@ function typeCheckConfig$2(untrustedConfig) {
|
|
|
2595
2697
|
const config = {};
|
|
2596
2698
|
typeCheckConfig$5(untrustedConfig, config, generateInsightsBasic_ConfigPropertyMetadata);
|
|
2597
2699
|
const untrustedConfig_input = untrustedConfig.input;
|
|
2598
|
-
const referenceInsightBundleInputValidationError = validate$
|
|
2700
|
+
const referenceInsightBundleInputValidationError = validate$l(untrustedConfig_input);
|
|
2599
2701
|
if (referenceInsightBundleInputValidationError === null) {
|
|
2600
2702
|
config.input = untrustedConfig_input;
|
|
2601
2703
|
}
|
|
2602
2704
|
const untrustedConfig_options = untrustedConfig.options;
|
|
2603
|
-
const referenceInsightBundleOptionsValidationError = validate$
|
|
2705
|
+
const referenceInsightBundleOptionsValidationError = validate$i(untrustedConfig_options);
|
|
2604
2706
|
if (referenceInsightBundleOptionsValidationError === null) {
|
|
2605
2707
|
config.options = untrustedConfig_options;
|
|
2606
2708
|
}
|
|
@@ -2691,7 +2793,7 @@ function validate$2(obj, path = 'GetInsightBatchResponse') {
|
|
|
2691
2793
|
if (obj.summary !== undefined) {
|
|
2692
2794
|
const obj_summary = obj.summary;
|
|
2693
2795
|
const path_summary = path + '.summary';
|
|
2694
|
-
const referencepath_summaryValidationError = validate$
|
|
2796
|
+
const referencepath_summaryValidationError = validate$d(obj_summary, path_summary);
|
|
2695
2797
|
if (referencepath_summaryValidationError !== null) {
|
|
2696
2798
|
let message = 'Object doesn\'t match SummaryResponse (at "' + path_summary + '")\n';
|
|
2697
2799
|
message += referencepath_summaryValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2733,7 +2835,7 @@ function normalize$1(input, existing, path, luvio, store, timestamp) {
|
|
|
2733
2835
|
return input;
|
|
2734
2836
|
}
|
|
2735
2837
|
const select$4 = function GetInsightBatchResponseSelect() {
|
|
2736
|
-
const { selections: SummaryResponse__selections, opaque: SummaryResponse__opaque, } = select$
|
|
2838
|
+
const { selections: SummaryResponse__selections, opaque: SummaryResponse__opaque, } = select$i();
|
|
2737
2839
|
return {
|
|
2738
2840
|
kind: 'Fragment',
|
|
2739
2841
|
version: VERSION$2,
|
|
@@ -2828,7 +2930,7 @@ function equals$2(existing, incoming) {
|
|
|
2828
2930
|
if (existing_summary === undefined || incoming_summary === undefined) {
|
|
2829
2931
|
return false;
|
|
2830
2932
|
}
|
|
2831
|
-
if (!(equals$
|
|
2933
|
+
if (!(equals$d(existing_summary, incoming_summary))) {
|
|
2832
2934
|
return false;
|
|
2833
2935
|
}
|
|
2834
2936
|
}
|
|
@@ -3336,12 +3438,12 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
3336
3438
|
const config = {};
|
|
3337
3439
|
typeCheckConfig$5(untrustedConfig, config, getMetricFilterValues_ConfigPropertyMetadata);
|
|
3338
3440
|
const untrustedConfig_semanticDataModel = untrustedConfig.semanticDataModel;
|
|
3339
|
-
const referenceSemanticDataModelValidationError = validate$
|
|
3441
|
+
const referenceSemanticDataModelValidationError = validate$r(untrustedConfig_semanticDataModel);
|
|
3340
3442
|
if (referenceSemanticDataModelValidationError === null) {
|
|
3341
3443
|
config.semanticDataModel = untrustedConfig_semanticDataModel;
|
|
3342
3444
|
}
|
|
3343
3445
|
const untrustedConfig_field = untrustedConfig.field;
|
|
3344
|
-
const referenceFieldIdValidationError = validate$
|
|
3446
|
+
const referenceFieldIdValidationError = validate$C(untrustedConfig_field);
|
|
3345
3447
|
if (referenceFieldIdValidationError === null) {
|
|
3346
3448
|
config.field = untrustedConfig_field;
|
|
3347
3449
|
}
|
|
@@ -3350,7 +3452,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
3350
3452
|
const untrustedConfig_filters_array = [];
|
|
3351
3453
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
3352
3454
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
3353
|
-
const referenceFilterValidationError = validate$
|
|
3455
|
+
const referenceFilterValidationError = validate$z(untrustedConfig_filters_item);
|
|
3354
3456
|
if (referenceFilterValidationError === null) {
|
|
3355
3457
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
3356
3458
|
}
|
|
@@ -3358,7 +3460,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
3358
3460
|
config.filters = untrustedConfig_filters_array;
|
|
3359
3461
|
}
|
|
3360
3462
|
const untrustedConfig_semanticFilter = untrustedConfig.semanticFilter;
|
|
3361
|
-
const referenceFlattenFilterValidationError = validate$
|
|
3463
|
+
const referenceFlattenFilterValidationError = validate$v(untrustedConfig_semanticFilter);
|
|
3362
3464
|
if (referenceFlattenFilterValidationError === null) {
|
|
3363
3465
|
config.semanticFilter = untrustedConfig_semanticFilter;
|
|
3364
3466
|
}
|
|
@@ -3452,4 +3554,4 @@ withDefaultLuvio((luvio) => {
|
|
|
3452
3554
|
});
|
|
3453
3555
|
|
|
3454
3556
|
export { createInsightsBatch, generateInsights, generateInsightsBasic, getInsightsBatch, getInsightsBatchNotifyChange, getInsightsBatch_imperative, getMetricFilterValues };
|
|
3455
|
-
// version: 1.309.0-
|
|
3557
|
+
// version: 1.309.0-dev20-96b0b3663c
|