@salesforce/lds-adapters-sfap-analytics-insights 1.328.0 → 1.329.1
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/dist/es/es2018/sfap-analytics-insights.js +282 -169
- package/dist/es/es2018/types/src/generated/types/Overview.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/Status.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/Summary.d.ts +3 -3
- package/package.json +3 -3
- package/sfdc/index.js +265 -152
- package/src/raml/api.raml +40 -2
|
@@ -92,7 +92,7 @@ function createLink(ref) {
|
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
function validate$
|
|
95
|
+
function validate$H(obj, path = 'MetricMetadata') {
|
|
96
96
|
const v_error = (() => {
|
|
97
97
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
98
98
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -115,7 +115,7 @@ function validate$G(obj, path = 'MetricMetadata') {
|
|
|
115
115
|
return v_error === undefined ? null : v_error;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
function validate$
|
|
118
|
+
function validate$G(obj, path = 'ExtensionOptions') {
|
|
119
119
|
const v_error = (() => {
|
|
120
120
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
121
121
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -145,7 +145,7 @@ function validate$F(obj, path = 'ExtensionOptions') {
|
|
|
145
145
|
return v_error === undefined ? null : v_error;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
function validate$
|
|
148
|
+
function validate$F(obj, path = 'InsightsOptions_InsightSetting') {
|
|
149
149
|
const v_error = (() => {
|
|
150
150
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
151
151
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -168,7 +168,7 @@ function validate$E(obj, path = 'InsightsOptions_InsightSetting') {
|
|
|
168
168
|
return v_error === undefined ? null : v_error;
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
function validate$
|
|
171
|
+
function validate$E(obj, path = 'InsightsOptions') {
|
|
172
172
|
const v_error = (() => {
|
|
173
173
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
174
174
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -182,7 +182,7 @@ function validate$D(obj, path = 'InsightsOptions') {
|
|
|
182
182
|
for (let i = 0; i < obj_settings.length; i++) {
|
|
183
183
|
const obj_settings_item = obj_settings[i];
|
|
184
184
|
const path_settings_item = path_settings + '[' + i + ']';
|
|
185
|
-
const referencepath_settings_itemValidationError = validate$
|
|
185
|
+
const referencepath_settings_itemValidationError = validate$F(obj_settings_item, path_settings_item);
|
|
186
186
|
if (referencepath_settings_itemValidationError !== null) {
|
|
187
187
|
let message = 'Object doesn\'t match InsightsOptions_InsightSetting (at "' + path_settings_item + '")\n';
|
|
188
188
|
message += referencepath_settings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -194,7 +194,7 @@ function validate$D(obj, path = 'InsightsOptions') {
|
|
|
194
194
|
return v_error === undefined ? null : v_error;
|
|
195
195
|
}
|
|
196
196
|
|
|
197
|
-
function validate$
|
|
197
|
+
function validate$D(obj, path = 'CategoricalFilterOptions') {
|
|
198
198
|
const v_error = (() => {
|
|
199
199
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
200
200
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -231,7 +231,7 @@ function validate$C(obj, path = 'CategoricalFilterOptions') {
|
|
|
231
231
|
return v_error === undefined ? null : v_error;
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
-
function validate$
|
|
234
|
+
function validate$C(obj, path = 'FieldId') {
|
|
235
235
|
const v_error = (() => {
|
|
236
236
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
237
237
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -261,7 +261,7 @@ function validate$B(obj, path = 'FieldId') {
|
|
|
261
261
|
return v_error === undefined ? null : v_error;
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
function validate$
|
|
264
|
+
function validate$B(obj, path = 'RangeFilterOptions') {
|
|
265
265
|
const v_error = (() => {
|
|
266
266
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
267
267
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -305,7 +305,7 @@ function validate$A(obj, path = 'RangeFilterOptions') {
|
|
|
305
305
|
return v_error === undefined ? null : v_error;
|
|
306
306
|
}
|
|
307
307
|
|
|
308
|
-
function validate$
|
|
308
|
+
function validate$A(obj, path = 'RelativeDateFilterOptions') {
|
|
309
309
|
const v_error = (() => {
|
|
310
310
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
311
311
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -314,7 +314,7 @@ function validate$z(obj, path = 'RelativeDateFilterOptions') {
|
|
|
314
314
|
return v_error === undefined ? null : v_error;
|
|
315
315
|
}
|
|
316
316
|
|
|
317
|
-
function validate$
|
|
317
|
+
function validate$z(obj, path = 'Filter') {
|
|
318
318
|
const v_error = (() => {
|
|
319
319
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
320
320
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -322,7 +322,7 @@ function validate$y(obj, path = 'Filter') {
|
|
|
322
322
|
if (obj.categoricalFilterOptions !== undefined) {
|
|
323
323
|
const obj_categoricalFilterOptions = obj.categoricalFilterOptions;
|
|
324
324
|
const path_categoricalFilterOptions = path + '.categoricalFilterOptions';
|
|
325
|
-
const referencepath_categoricalFilterOptionsValidationError = validate$
|
|
325
|
+
const referencepath_categoricalFilterOptionsValidationError = validate$D(obj_categoricalFilterOptions, path_categoricalFilterOptions);
|
|
326
326
|
if (referencepath_categoricalFilterOptionsValidationError !== null) {
|
|
327
327
|
let message = 'Object doesn\'t match CategoricalFilterOptions (at "' + path_categoricalFilterOptions + '")\n';
|
|
328
328
|
message += referencepath_categoricalFilterOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -332,7 +332,7 @@ function validate$y(obj, path = 'Filter') {
|
|
|
332
332
|
if (obj.field !== undefined) {
|
|
333
333
|
const obj_field = obj.field;
|
|
334
334
|
const path_field = path + '.field';
|
|
335
|
-
const referencepath_fieldValidationError = validate$
|
|
335
|
+
const referencepath_fieldValidationError = validate$C(obj_field, path_field);
|
|
336
336
|
if (referencepath_fieldValidationError !== null) {
|
|
337
337
|
let message = 'Object doesn\'t match FieldId (at "' + path_field + '")\n';
|
|
338
338
|
message += referencepath_fieldValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -342,7 +342,7 @@ function validate$y(obj, path = 'Filter') {
|
|
|
342
342
|
if (obj.fieldId !== undefined) {
|
|
343
343
|
const obj_fieldId = obj.fieldId;
|
|
344
344
|
const path_fieldId = path + '.fieldId';
|
|
345
|
-
const referencepath_fieldIdValidationError = validate$
|
|
345
|
+
const referencepath_fieldIdValidationError = validate$C(obj_fieldId, path_fieldId);
|
|
346
346
|
if (referencepath_fieldIdValidationError !== null) {
|
|
347
347
|
let message = 'Object doesn\'t match FieldId (at "' + path_fieldId + '")\n';
|
|
348
348
|
message += referencepath_fieldIdValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -352,7 +352,7 @@ function validate$y(obj, path = 'Filter') {
|
|
|
352
352
|
if (obj.rangeFilterOptions !== undefined) {
|
|
353
353
|
const obj_rangeFilterOptions = obj.rangeFilterOptions;
|
|
354
354
|
const path_rangeFilterOptions = path + '.rangeFilterOptions';
|
|
355
|
-
const referencepath_rangeFilterOptionsValidationError = validate$
|
|
355
|
+
const referencepath_rangeFilterOptionsValidationError = validate$B(obj_rangeFilterOptions, path_rangeFilterOptions);
|
|
356
356
|
if (referencepath_rangeFilterOptionsValidationError !== null) {
|
|
357
357
|
let message = 'Object doesn\'t match RangeFilterOptions (at "' + path_rangeFilterOptions + '")\n';
|
|
358
358
|
message += referencepath_rangeFilterOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -362,7 +362,7 @@ function validate$y(obj, path = 'Filter') {
|
|
|
362
362
|
if (obj.relativeDateFilterOptions !== undefined) {
|
|
363
363
|
const obj_relativeDateFilterOptions = obj.relativeDateFilterOptions;
|
|
364
364
|
const path_relativeDateFilterOptions = path + '.relativeDateFilterOptions';
|
|
365
|
-
const referencepath_relativeDateFilterOptionsValidationError = validate$
|
|
365
|
+
const referencepath_relativeDateFilterOptionsValidationError = validate$A(obj_relativeDateFilterOptions, path_relativeDateFilterOptions);
|
|
366
366
|
if (referencepath_relativeDateFilterOptionsValidationError !== null) {
|
|
367
367
|
let message = 'Object doesn\'t match RelativeDateFilterOptions (at "' + path_relativeDateFilterOptions + '")\n';
|
|
368
368
|
message += referencepath_relativeDateFilterOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -380,7 +380,7 @@ function validate$y(obj, path = 'Filter') {
|
|
|
380
380
|
return v_error === undefined ? null : v_error;
|
|
381
381
|
}
|
|
382
382
|
|
|
383
|
-
function validate$
|
|
383
|
+
function validate$y(obj, path = 'RelativePeriod') {
|
|
384
384
|
const v_error = (() => {
|
|
385
385
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
386
386
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -403,7 +403,7 @@ function validate$x(obj, path = 'RelativePeriod') {
|
|
|
403
403
|
return v_error === undefined ? null : v_error;
|
|
404
404
|
}
|
|
405
405
|
|
|
406
|
-
function validate$
|
|
406
|
+
function validate$x(obj, path = 'MeasurementPeriod') {
|
|
407
407
|
const v_error = (() => {
|
|
408
408
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
409
409
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -411,7 +411,7 @@ function validate$w(obj, path = 'MeasurementPeriod') {
|
|
|
411
411
|
if (obj.filter !== undefined) {
|
|
412
412
|
const obj_filter = obj.filter;
|
|
413
413
|
const path_filter = path + '.filter';
|
|
414
|
-
const referencepath_filterValidationError = validate$
|
|
414
|
+
const referencepath_filterValidationError = validate$z(obj_filter, path_filter);
|
|
415
415
|
if (referencepath_filterValidationError !== null) {
|
|
416
416
|
let message = 'Object doesn\'t match Filter (at "' + path_filter + '")\n';
|
|
417
417
|
message += referencepath_filterValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -421,7 +421,7 @@ function validate$w(obj, path = 'MeasurementPeriod') {
|
|
|
421
421
|
if (obj.relativePeriod !== undefined) {
|
|
422
422
|
const obj_relativePeriod = obj.relativePeriod;
|
|
423
423
|
const path_relativePeriod = path + '.relativePeriod';
|
|
424
|
-
const referencepath_relativePeriodValidationError = validate$
|
|
424
|
+
const referencepath_relativePeriodValidationError = validate$y(obj_relativePeriod, path_relativePeriod);
|
|
425
425
|
if (referencepath_relativePeriodValidationError !== null) {
|
|
426
426
|
let message = 'Object doesn\'t match RelativePeriod (at "' + path_relativePeriod + '")\n';
|
|
427
427
|
message += referencepath_relativePeriodValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -432,7 +432,7 @@ function validate$w(obj, path = 'MeasurementPeriod') {
|
|
|
432
432
|
return v_error === undefined ? null : v_error;
|
|
433
433
|
}
|
|
434
434
|
|
|
435
|
-
function validate$
|
|
435
|
+
function validate$w(obj, path = 'SemanticFilter') {
|
|
436
436
|
const v_error = (() => {
|
|
437
437
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
438
438
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -458,7 +458,7 @@ function validate$v(obj, path = 'SemanticFilter') {
|
|
|
458
458
|
return v_error === undefined ? null : v_error;
|
|
459
459
|
}
|
|
460
460
|
|
|
461
|
-
function validate$
|
|
461
|
+
function validate$v(obj, path = 'FlattenFilter') {
|
|
462
462
|
const v_error = (() => {
|
|
463
463
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
464
464
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -479,7 +479,7 @@ function validate$u(obj, path = 'FlattenFilter') {
|
|
|
479
479
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
480
480
|
const obj_filters_item = obj_filters[i];
|
|
481
481
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
482
|
-
const referencepath_filters_itemValidationError = validate$
|
|
482
|
+
const referencepath_filters_itemValidationError = validate$w(obj_filters_item, path_filters_item);
|
|
483
483
|
if (referencepath_filters_itemValidationError !== null) {
|
|
484
484
|
let message = 'Object doesn\'t match SemanticFilter (at "' + path_filters_item + '")\n';
|
|
485
485
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -491,7 +491,7 @@ function validate$u(obj, path = 'FlattenFilter') {
|
|
|
491
491
|
return v_error === undefined ? null : v_error;
|
|
492
492
|
}
|
|
493
493
|
|
|
494
|
-
function validate$
|
|
494
|
+
function validate$u(obj, path = 'MetricInstance') {
|
|
495
495
|
const v_error = (() => {
|
|
496
496
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
497
497
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -505,7 +505,7 @@ function validate$t(obj, path = 'MetricInstance') {
|
|
|
505
505
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
506
506
|
const obj_filters_item = obj_filters[i];
|
|
507
507
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
508
|
-
const referencepath_filters_itemValidationError = validate$
|
|
508
|
+
const referencepath_filters_itemValidationError = validate$z(obj_filters_item, path_filters_item);
|
|
509
509
|
if (referencepath_filters_itemValidationError !== null) {
|
|
510
510
|
let message = 'Object doesn\'t match Filter (at "' + path_filters_item + '")\n';
|
|
511
511
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -515,7 +515,7 @@ function validate$t(obj, path = 'MetricInstance') {
|
|
|
515
515
|
}
|
|
516
516
|
const obj_measurementPeriod = obj.measurementPeriod;
|
|
517
517
|
const path_measurementPeriod = path + '.measurementPeriod';
|
|
518
|
-
const referencepath_measurementPeriodValidationError = validate$
|
|
518
|
+
const referencepath_measurementPeriodValidationError = validate$x(obj_measurementPeriod, path_measurementPeriod);
|
|
519
519
|
if (referencepath_measurementPeriodValidationError !== null) {
|
|
520
520
|
let message = 'Object doesn\'t match MeasurementPeriod (at "' + path_measurementPeriod + '")\n';
|
|
521
521
|
message += referencepath_measurementPeriodValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -524,7 +524,7 @@ function validate$t(obj, path = 'MetricInstance') {
|
|
|
524
524
|
if (obj.semanticFilter !== undefined) {
|
|
525
525
|
const obj_semanticFilter = obj.semanticFilter;
|
|
526
526
|
const path_semanticFilter = path + '.semanticFilter';
|
|
527
|
-
const referencepath_semanticFilterValidationError = validate$
|
|
527
|
+
const referencepath_semanticFilterValidationError = validate$v(obj_semanticFilter, path_semanticFilter);
|
|
528
528
|
if (referencepath_semanticFilterValidationError !== null) {
|
|
529
529
|
let message = 'Object doesn\'t match FlattenFilter (at "' + path_semanticFilter + '")\n';
|
|
530
530
|
message += referencepath_semanticFilterValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -535,7 +535,7 @@ function validate$t(obj, path = 'MetricInstance') {
|
|
|
535
535
|
return v_error === undefined ? null : v_error;
|
|
536
536
|
}
|
|
537
537
|
|
|
538
|
-
function validate$
|
|
538
|
+
function validate$t(obj, path = 'CompareConfig') {
|
|
539
539
|
const v_error = (() => {
|
|
540
540
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
541
541
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -551,7 +551,7 @@ function validate$s(obj, path = 'CompareConfig') {
|
|
|
551
551
|
return v_error === undefined ? null : v_error;
|
|
552
552
|
}
|
|
553
553
|
|
|
554
|
-
function validate$
|
|
554
|
+
function validate$s(obj, path = 'Measure') {
|
|
555
555
|
const v_error = (() => {
|
|
556
556
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
557
557
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -565,7 +565,7 @@ function validate$r(obj, path = 'Measure') {
|
|
|
565
565
|
}
|
|
566
566
|
const obj_field = obj.field;
|
|
567
567
|
const path_field = path + '.field';
|
|
568
|
-
const referencepath_fieldValidationError = validate$
|
|
568
|
+
const referencepath_fieldValidationError = validate$C(obj_field, path_field);
|
|
569
569
|
if (referencepath_fieldValidationError !== null) {
|
|
570
570
|
let message = 'Object doesn\'t match FieldId (at "' + path_field + '")\n';
|
|
571
571
|
message += referencepath_fieldValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -575,7 +575,7 @@ function validate$r(obj, path = 'Measure') {
|
|
|
575
575
|
return v_error === undefined ? null : v_error;
|
|
576
576
|
}
|
|
577
577
|
|
|
578
|
-
function validate$
|
|
578
|
+
function validate$r(obj, path = 'SemanticDataModel') {
|
|
579
579
|
const v_error = (() => {
|
|
580
580
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
581
581
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -591,14 +591,14 @@ function validate$q(obj, path = 'SemanticDataModel') {
|
|
|
591
591
|
return v_error === undefined ? null : v_error;
|
|
592
592
|
}
|
|
593
593
|
|
|
594
|
-
function validate$
|
|
594
|
+
function validate$q(obj, path = 'TimeDimension') {
|
|
595
595
|
const v_error = (() => {
|
|
596
596
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
597
597
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
598
598
|
}
|
|
599
599
|
const obj_field = obj.field;
|
|
600
600
|
const path_field = path + '.field';
|
|
601
|
-
const referencepath_fieldValidationError = validate$
|
|
601
|
+
const referencepath_fieldValidationError = validate$C(obj_field, path_field);
|
|
602
602
|
if (referencepath_fieldValidationError !== null) {
|
|
603
603
|
let message = 'Object doesn\'t match FieldId (at "' + path_field + '")\n';
|
|
604
604
|
message += referencepath_fieldValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -608,14 +608,14 @@ function validate$p(obj, path = 'TimeDimension') {
|
|
|
608
608
|
return v_error === undefined ? null : v_error;
|
|
609
609
|
}
|
|
610
610
|
|
|
611
|
-
function validate$
|
|
611
|
+
function validate$p(obj, path = 'MetricDefinition') {
|
|
612
612
|
const v_error = (() => {
|
|
613
613
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
614
614
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
615
615
|
}
|
|
616
616
|
const obj_comparison = obj.comparison;
|
|
617
617
|
const path_comparison = path + '.comparison';
|
|
618
|
-
const referencepath_comparisonValidationError = validate$
|
|
618
|
+
const referencepath_comparisonValidationError = validate$t(obj_comparison, path_comparison);
|
|
619
619
|
if (referencepath_comparisonValidationError !== null) {
|
|
620
620
|
let message = 'Object doesn\'t match CompareConfig (at "' + path_comparison + '")\n';
|
|
621
621
|
message += referencepath_comparisonValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -630,7 +630,7 @@ function validate$o(obj, path = 'MetricDefinition') {
|
|
|
630
630
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
631
631
|
const obj_filters_item = obj_filters[i];
|
|
632
632
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
633
|
-
const referencepath_filters_itemValidationError = validate$
|
|
633
|
+
const referencepath_filters_itemValidationError = validate$z(obj_filters_item, path_filters_item);
|
|
634
634
|
if (referencepath_filters_itemValidationError !== null) {
|
|
635
635
|
let message = 'Object doesn\'t match Filter (at "' + path_filters_item + '")\n';
|
|
636
636
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -640,7 +640,7 @@ function validate$o(obj, path = 'MetricDefinition') {
|
|
|
640
640
|
}
|
|
641
641
|
const obj_measure = obj.measure;
|
|
642
642
|
const path_measure = path + '.measure';
|
|
643
|
-
const referencepath_measureValidationError = validate$
|
|
643
|
+
const referencepath_measureValidationError = validate$s(obj_measure, path_measure);
|
|
644
644
|
if (referencepath_measureValidationError !== null) {
|
|
645
645
|
let message = 'Object doesn\'t match Measure (at "' + path_measure + '")\n';
|
|
646
646
|
message += referencepath_measureValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -655,7 +655,7 @@ function validate$o(obj, path = 'MetricDefinition') {
|
|
|
655
655
|
}
|
|
656
656
|
const obj_semanticDataModel = obj.semanticDataModel;
|
|
657
657
|
const path_semanticDataModel = path + '.semanticDataModel';
|
|
658
|
-
const referencepath_semanticDataModelValidationError = validate$
|
|
658
|
+
const referencepath_semanticDataModelValidationError = validate$r(obj_semanticDataModel, path_semanticDataModel);
|
|
659
659
|
if (referencepath_semanticDataModelValidationError !== null) {
|
|
660
660
|
let message = 'Object doesn\'t match SemanticDataModel (at "' + path_semanticDataModel + '")\n';
|
|
661
661
|
message += referencepath_semanticDataModelValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -664,7 +664,7 @@ function validate$o(obj, path = 'MetricDefinition') {
|
|
|
664
664
|
if (obj.semanticFilter !== undefined) {
|
|
665
665
|
const obj_semanticFilter = obj.semanticFilter;
|
|
666
666
|
const path_semanticFilter = path + '.semanticFilter';
|
|
667
|
-
const referencepath_semanticFilterValidationError = validate$
|
|
667
|
+
const referencepath_semanticFilterValidationError = validate$v(obj_semanticFilter, path_semanticFilter);
|
|
668
668
|
if (referencepath_semanticFilterValidationError !== null) {
|
|
669
669
|
let message = 'Object doesn\'t match FlattenFilter (at "' + path_semanticFilter + '")\n';
|
|
670
670
|
message += referencepath_semanticFilterValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -673,7 +673,7 @@ function validate$o(obj, path = 'MetricDefinition') {
|
|
|
673
673
|
}
|
|
674
674
|
const obj_timeDimension = obj.timeDimension;
|
|
675
675
|
const path_timeDimension = path + '.timeDimension';
|
|
676
|
-
const referencepath_timeDimensionValidationError = validate$
|
|
676
|
+
const referencepath_timeDimensionValidationError = validate$q(obj_timeDimension, path_timeDimension);
|
|
677
677
|
if (referencepath_timeDimensionValidationError !== null) {
|
|
678
678
|
let message = 'Object doesn\'t match TimeDimension (at "' + path_timeDimension + '")\n';
|
|
679
679
|
message += referencepath_timeDimensionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -683,7 +683,7 @@ function validate$o(obj, path = 'MetricDefinition') {
|
|
|
683
683
|
return v_error === undefined ? null : v_error;
|
|
684
684
|
}
|
|
685
685
|
|
|
686
|
-
function validate$
|
|
686
|
+
function validate$o(obj, path = 'RepresentationOptions_NumberUnits') {
|
|
687
687
|
const v_error = (() => {
|
|
688
688
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
689
689
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -706,14 +706,14 @@ function validate$n(obj, path = 'RepresentationOptions_NumberUnits') {
|
|
|
706
706
|
return v_error === undefined ? null : v_error;
|
|
707
707
|
}
|
|
708
708
|
|
|
709
|
-
function validate$
|
|
709
|
+
function validate$n(obj, path = 'RepresentationOptions') {
|
|
710
710
|
const v_error = (() => {
|
|
711
711
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
712
712
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
713
713
|
}
|
|
714
714
|
const obj_numberUnits = obj.numberUnits;
|
|
715
715
|
const path_numberUnits = path + '.numberUnits';
|
|
716
|
-
const referencepath_numberUnitsValidationError = validate$
|
|
716
|
+
const referencepath_numberUnitsValidationError = validate$o(obj_numberUnits, path_numberUnits);
|
|
717
717
|
if (referencepath_numberUnitsValidationError !== null) {
|
|
718
718
|
let message = 'Object doesn\'t match RepresentationOptions_NumberUnits (at "' + path_numberUnits + '")\n';
|
|
719
719
|
message += referencepath_numberUnitsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -737,14 +737,14 @@ function validate$m(obj, path = 'RepresentationOptions') {
|
|
|
737
737
|
return v_error === undefined ? null : v_error;
|
|
738
738
|
}
|
|
739
739
|
|
|
740
|
-
function validate$
|
|
740
|
+
function validate$m(obj, path = 'InputMetric') {
|
|
741
741
|
const v_error = (() => {
|
|
742
742
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
743
743
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
744
744
|
}
|
|
745
745
|
const obj_extensionOptions = obj.extensionOptions;
|
|
746
746
|
const path_extensionOptions = path + '.extensionOptions';
|
|
747
|
-
const referencepath_extensionOptionsValidationError = validate$
|
|
747
|
+
const referencepath_extensionOptionsValidationError = validate$G(obj_extensionOptions, path_extensionOptions);
|
|
748
748
|
if (referencepath_extensionOptionsValidationError !== null) {
|
|
749
749
|
let message = 'Object doesn\'t match ExtensionOptions (at "' + path_extensionOptions + '")\n';
|
|
750
750
|
message += referencepath_extensionOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -752,7 +752,7 @@ function validate$l(obj, path = 'InputMetric') {
|
|
|
752
752
|
}
|
|
753
753
|
const obj_insightsOptions = obj.insightsOptions;
|
|
754
754
|
const path_insightsOptions = path + '.insightsOptions';
|
|
755
|
-
const referencepath_insightsOptionsValidationError = validate$
|
|
755
|
+
const referencepath_insightsOptionsValidationError = validate$E(obj_insightsOptions, path_insightsOptions);
|
|
756
756
|
if (referencepath_insightsOptionsValidationError !== null) {
|
|
757
757
|
let message = 'Object doesn\'t match InsightsOptions (at "' + path_insightsOptions + '")\n';
|
|
758
758
|
message += referencepath_insightsOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -760,7 +760,7 @@ function validate$l(obj, path = 'InputMetric') {
|
|
|
760
760
|
}
|
|
761
761
|
const obj_instance = obj.instance;
|
|
762
762
|
const path_instance = path + '.instance';
|
|
763
|
-
const referencepath_instanceValidationError = validate$
|
|
763
|
+
const referencepath_instanceValidationError = validate$u(obj_instance, path_instance);
|
|
764
764
|
if (referencepath_instanceValidationError !== null) {
|
|
765
765
|
let message = 'Object doesn\'t match MetricInstance (at "' + path_instance + '")\n';
|
|
766
766
|
message += referencepath_instanceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -768,7 +768,7 @@ function validate$l(obj, path = 'InputMetric') {
|
|
|
768
768
|
}
|
|
769
769
|
const obj_metric = obj.metric;
|
|
770
770
|
const path_metric = path + '.metric';
|
|
771
|
-
const referencepath_metricValidationError = validate$
|
|
771
|
+
const referencepath_metricValidationError = validate$p(obj_metric, path_metric);
|
|
772
772
|
if (referencepath_metricValidationError !== null) {
|
|
773
773
|
let message = 'Object doesn\'t match MetricDefinition (at "' + path_metric + '")\n';
|
|
774
774
|
message += referencepath_metricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -776,7 +776,7 @@ function validate$l(obj, path = 'InputMetric') {
|
|
|
776
776
|
}
|
|
777
777
|
const obj_representationOptions = obj.representationOptions;
|
|
778
778
|
const path_representationOptions = path + '.representationOptions';
|
|
779
|
-
const referencepath_representationOptionsValidationError = validate$
|
|
779
|
+
const referencepath_representationOptionsValidationError = validate$n(obj_representationOptions, path_representationOptions);
|
|
780
780
|
if (referencepath_representationOptionsValidationError !== null) {
|
|
781
781
|
let message = 'Object doesn\'t match RepresentationOptions (at "' + path_representationOptions + '")\n';
|
|
782
782
|
message += referencepath_representationOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -786,14 +786,14 @@ function validate$l(obj, path = 'InputMetric') {
|
|
|
786
786
|
return v_error === undefined ? null : v_error;
|
|
787
787
|
}
|
|
788
788
|
|
|
789
|
-
function validate$
|
|
789
|
+
function validate$l(obj, path = 'InsightBundleInput') {
|
|
790
790
|
const v_error = (() => {
|
|
791
791
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
792
792
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
793
793
|
}
|
|
794
794
|
const obj_metadata = obj.metadata;
|
|
795
795
|
const path_metadata = path + '.metadata';
|
|
796
|
-
const referencepath_metadataValidationError = validate$
|
|
796
|
+
const referencepath_metadataValidationError = validate$H(obj_metadata, path_metadata);
|
|
797
797
|
if (referencepath_metadataValidationError !== null) {
|
|
798
798
|
let message = 'Object doesn\'t match MetricMetadata (at "' + path_metadata + '")\n';
|
|
799
799
|
message += referencepath_metadataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -801,7 +801,7 @@ function validate$k(obj, path = 'InsightBundleInput') {
|
|
|
801
801
|
}
|
|
802
802
|
const obj_metric = obj.metric;
|
|
803
803
|
const path_metric = path + '.metric';
|
|
804
|
-
const referencepath_metricValidationError = validate$
|
|
804
|
+
const referencepath_metricValidationError = validate$m(obj_metric, path_metric);
|
|
805
805
|
if (referencepath_metricValidationError !== null) {
|
|
806
806
|
let message = 'Object doesn\'t match InputMetric (at "' + path_metric + '")\n';
|
|
807
807
|
message += referencepath_metricValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -811,7 +811,7 @@ function validate$k(obj, path = 'InsightBundleInput') {
|
|
|
811
811
|
return v_error === undefined ? null : v_error;
|
|
812
812
|
}
|
|
813
813
|
|
|
814
|
-
function validate$
|
|
814
|
+
function validate$k(obj, path = 'MetricInstanceInput') {
|
|
815
815
|
const v_error = (() => {
|
|
816
816
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
817
817
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -830,7 +830,7 @@ function validate$j(obj, path = 'MetricInstanceInput') {
|
|
|
830
830
|
return v_error === undefined ? null : v_error;
|
|
831
831
|
}
|
|
832
832
|
|
|
833
|
-
function validate$
|
|
833
|
+
function validate$j(obj, path = 'BatchInput') {
|
|
834
834
|
const v_error = (() => {
|
|
835
835
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
836
836
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -838,7 +838,7 @@ function validate$i(obj, path = 'BatchInput') {
|
|
|
838
838
|
if (obj.bundleInput !== undefined) {
|
|
839
839
|
const obj_bundleInput = obj.bundleInput;
|
|
840
840
|
const path_bundleInput = path + '.bundleInput';
|
|
841
|
-
const referencepath_bundleInputValidationError = validate$
|
|
841
|
+
const referencepath_bundleInputValidationError = validate$l(obj_bundleInput, path_bundleInput);
|
|
842
842
|
if (referencepath_bundleInputValidationError !== null) {
|
|
843
843
|
let message = 'Object doesn\'t match InsightBundleInput (at "' + path_bundleInput + '")\n';
|
|
844
844
|
message += referencepath_bundleInputValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -848,7 +848,7 @@ function validate$i(obj, path = 'BatchInput') {
|
|
|
848
848
|
if (obj.metricInstanceInput !== undefined) {
|
|
849
849
|
const obj_metricInstanceInput = obj.metricInstanceInput;
|
|
850
850
|
const path_metricInstanceInput = path + '.metricInstanceInput';
|
|
851
|
-
const referencepath_metricInstanceInputValidationError = validate$
|
|
851
|
+
const referencepath_metricInstanceInputValidationError = validate$k(obj_metricInstanceInput, path_metricInstanceInput);
|
|
852
852
|
if (referencepath_metricInstanceInputValidationError !== null) {
|
|
853
853
|
let message = 'Object doesn\'t match MetricInstanceInput (at "' + path_metricInstanceInput + '")\n';
|
|
854
854
|
message += referencepath_metricInstanceInputValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -859,7 +859,7 @@ function validate$i(obj, path = 'BatchInput') {
|
|
|
859
859
|
return v_error === undefined ? null : v_error;
|
|
860
860
|
}
|
|
861
861
|
|
|
862
|
-
function validate$
|
|
862
|
+
function validate$i(obj, path = 'InsightBundleOptions') {
|
|
863
863
|
const v_error = (() => {
|
|
864
864
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
865
865
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -889,7 +889,7 @@ function validate$h(obj, path = 'InsightBundleOptions') {
|
|
|
889
889
|
return v_error === undefined ? null : v_error;
|
|
890
890
|
}
|
|
891
891
|
|
|
892
|
-
function validate$
|
|
892
|
+
function validate$h(obj, path = 'SummarizationOptions') {
|
|
893
893
|
const v_error = (() => {
|
|
894
894
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
895
895
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -905,7 +905,7 @@ function validate$g(obj, path = 'SummarizationOptions') {
|
|
|
905
905
|
return v_error === undefined ? null : v_error;
|
|
906
906
|
}
|
|
907
907
|
|
|
908
|
-
function validate$
|
|
908
|
+
function validate$g(obj, path = 'BatchOptions') {
|
|
909
909
|
const v_error = (() => {
|
|
910
910
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
911
911
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -913,7 +913,7 @@ function validate$f(obj, path = 'BatchOptions') {
|
|
|
913
913
|
if (obj.bundle !== undefined) {
|
|
914
914
|
const obj_bundle = obj.bundle;
|
|
915
915
|
const path_bundle = path + '.bundle';
|
|
916
|
-
const referencepath_bundleValidationError = validate$
|
|
916
|
+
const referencepath_bundleValidationError = validate$i(obj_bundle, path_bundle);
|
|
917
917
|
if (referencepath_bundleValidationError !== null) {
|
|
918
918
|
let message = 'Object doesn\'t match InsightBundleOptions (at "' + path_bundle + '")\n';
|
|
919
919
|
message += referencepath_bundleValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -930,7 +930,7 @@ function validate$f(obj, path = 'BatchOptions') {
|
|
|
930
930
|
if (obj.summarization !== undefined) {
|
|
931
931
|
const obj_summarization = obj.summarization;
|
|
932
932
|
const path_summarization = path + '.summarization';
|
|
933
|
-
const referencepath_summarizationValidationError = validate$
|
|
933
|
+
const referencepath_summarizationValidationError = validate$h(obj_summarization, path_summarization);
|
|
934
934
|
if (referencepath_summarizationValidationError !== null) {
|
|
935
935
|
let message = 'Object doesn\'t match SummarizationOptions (at "' + path_summarization + '")\n';
|
|
936
936
|
message += referencepath_summarizationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -941,8 +941,8 @@ function validate$f(obj, path = 'BatchOptions') {
|
|
|
941
941
|
return v_error === undefined ? null : v_error;
|
|
942
942
|
}
|
|
943
943
|
|
|
944
|
-
const VERSION$
|
|
945
|
-
function validate$
|
|
944
|
+
const VERSION$f = "07a8c889542dbad6f958515513d4e3fb";
|
|
945
|
+
function validate$f(obj, path = 'Error') {
|
|
946
946
|
const v_error = (() => {
|
|
947
947
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
948
948
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -964,10 +964,10 @@ function validate$e(obj, path = 'Error') {
|
|
|
964
964
|
})();
|
|
965
965
|
return v_error === undefined ? null : v_error;
|
|
966
966
|
}
|
|
967
|
-
const select$
|
|
967
|
+
const select$k = function ErrorSelect() {
|
|
968
968
|
return {
|
|
969
969
|
kind: 'Fragment',
|
|
970
|
-
version: VERSION$
|
|
970
|
+
version: VERSION$f,
|
|
971
971
|
private: [],
|
|
972
972
|
selections: [
|
|
973
973
|
{
|
|
@@ -983,7 +983,7 @@ const select$j = function ErrorSelect() {
|
|
|
983
983
|
]
|
|
984
984
|
};
|
|
985
985
|
};
|
|
986
|
-
function equals$
|
|
986
|
+
function equals$f(existing, incoming) {
|
|
987
987
|
const existing_code = existing.code;
|
|
988
988
|
const incoming_code = incoming.code;
|
|
989
989
|
// if at least one of these optionals is defined
|
|
@@ -1013,16 +1013,18 @@ function equals$e(existing, incoming) {
|
|
|
1013
1013
|
return true;
|
|
1014
1014
|
}
|
|
1015
1015
|
|
|
1016
|
-
const VERSION$
|
|
1017
|
-
function validate$
|
|
1016
|
+
const VERSION$e = "6e24eb6767cb7eb05e4ae19fffe299b1";
|
|
1017
|
+
function validate$e(obj, path = 'Summary') {
|
|
1018
1018
|
const v_error = (() => {
|
|
1019
1019
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1020
1020
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1021
1021
|
}
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1022
|
+
if (obj.generationId !== undefined) {
|
|
1023
|
+
const obj_generationId = obj.generationId;
|
|
1024
|
+
const path_generationId = path + '.generationId';
|
|
1025
|
+
if (typeof obj_generationId !== 'string') {
|
|
1026
|
+
return new TypeError('Expected "string" but received "' + typeof obj_generationId + '" (at "' + path_generationId + '")');
|
|
1027
|
+
}
|
|
1026
1028
|
}
|
|
1027
1029
|
const obj_markup = obj.markup;
|
|
1028
1030
|
const path_markup = path + '.markup';
|
|
@@ -1042,15 +1044,16 @@ function validate$d(obj, path = 'Summary') {
|
|
|
1042
1044
|
})();
|
|
1043
1045
|
return v_error === undefined ? null : v_error;
|
|
1044
1046
|
}
|
|
1045
|
-
const select$
|
|
1047
|
+
const select$j = function SummarySelect() {
|
|
1046
1048
|
return {
|
|
1047
1049
|
kind: 'Fragment',
|
|
1048
|
-
version: VERSION$
|
|
1050
|
+
version: VERSION$e,
|
|
1049
1051
|
private: [],
|
|
1050
1052
|
selections: [
|
|
1051
1053
|
{
|
|
1052
1054
|
name: 'generationId',
|
|
1053
|
-
kind: 'Scalar'
|
|
1055
|
+
kind: 'Scalar',
|
|
1056
|
+
required: false
|
|
1054
1057
|
},
|
|
1055
1058
|
{
|
|
1056
1059
|
name: 'markup',
|
|
@@ -1067,11 +1070,19 @@ const select$i = function SummarySelect() {
|
|
|
1067
1070
|
]
|
|
1068
1071
|
};
|
|
1069
1072
|
};
|
|
1070
|
-
function equals$
|
|
1073
|
+
function equals$e(existing, incoming) {
|
|
1071
1074
|
const existing_generationId = existing.generationId;
|
|
1072
1075
|
const incoming_generationId = incoming.generationId;
|
|
1073
|
-
if
|
|
1074
|
-
|
|
1076
|
+
// if at least one of these optionals is defined
|
|
1077
|
+
if (existing_generationId !== undefined || incoming_generationId !== undefined) {
|
|
1078
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1079
|
+
// not equal
|
|
1080
|
+
if (existing_generationId === undefined || incoming_generationId === undefined) {
|
|
1081
|
+
return false;
|
|
1082
|
+
}
|
|
1083
|
+
if (!(existing_generationId === incoming_generationId)) {
|
|
1084
|
+
return false;
|
|
1085
|
+
}
|
|
1075
1086
|
}
|
|
1076
1087
|
const existing_markup = existing.markup;
|
|
1077
1088
|
const incoming_markup = incoming.markup;
|
|
@@ -1091,8 +1102,8 @@ function equals$d(existing, incoming) {
|
|
|
1091
1102
|
return true;
|
|
1092
1103
|
}
|
|
1093
1104
|
|
|
1094
|
-
const VERSION$
|
|
1095
|
-
function validate$
|
|
1105
|
+
const VERSION$d = "fc433e1c68019470090193fa4fdf976f";
|
|
1106
|
+
function validate$d(obj, path = 'SummaryResponse') {
|
|
1096
1107
|
const v_error = (() => {
|
|
1097
1108
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1098
1109
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1100,7 +1111,7 @@ function validate$c(obj, path = 'SummaryResponse') {
|
|
|
1100
1111
|
if (obj.error !== undefined) {
|
|
1101
1112
|
const obj_error = obj.error;
|
|
1102
1113
|
const path_error = path + '.error';
|
|
1103
|
-
const referencepath_errorValidationError = validate$
|
|
1114
|
+
const referencepath_errorValidationError = validate$f(obj_error, path_error);
|
|
1104
1115
|
if (referencepath_errorValidationError !== null) {
|
|
1105
1116
|
let message = 'Object doesn\'t match Error (at "' + path_error + '")\n';
|
|
1106
1117
|
message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1109,7 +1120,7 @@ function validate$c(obj, path = 'SummaryResponse') {
|
|
|
1109
1120
|
}
|
|
1110
1121
|
const obj_result = obj.result;
|
|
1111
1122
|
const path_result = path + '.result';
|
|
1112
|
-
const referencepath_resultValidationError = validate$
|
|
1123
|
+
const referencepath_resultValidationError = validate$e(obj_result, path_result);
|
|
1113
1124
|
if (referencepath_resultValidationError !== null) {
|
|
1114
1125
|
let message = 'Object doesn\'t match Summary (at "' + path_result + '")\n';
|
|
1115
1126
|
message += referencepath_resultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1118,12 +1129,12 @@ function validate$c(obj, path = 'SummaryResponse') {
|
|
|
1118
1129
|
})();
|
|
1119
1130
|
return v_error === undefined ? null : v_error;
|
|
1120
1131
|
}
|
|
1121
|
-
const select$
|
|
1122
|
-
const { selections: Error__selections, opaque: Error__opaque, } = select$
|
|
1123
|
-
const { selections: Summary__selections, opaque: Summary__opaque, } = select$
|
|
1132
|
+
const select$i = function SummaryResponseSelect() {
|
|
1133
|
+
const { selections: Error__selections, opaque: Error__opaque, } = select$k();
|
|
1134
|
+
const { selections: Summary__selections, opaque: Summary__opaque, } = select$j();
|
|
1124
1135
|
return {
|
|
1125
1136
|
kind: 'Fragment',
|
|
1126
|
-
version: VERSION$
|
|
1137
|
+
version: VERSION$d,
|
|
1127
1138
|
private: [],
|
|
1128
1139
|
selections: [
|
|
1129
1140
|
{
|
|
@@ -1140,7 +1151,7 @@ const select$h = function SummaryResponseSelect() {
|
|
|
1140
1151
|
]
|
|
1141
1152
|
};
|
|
1142
1153
|
};
|
|
1143
|
-
function equals$
|
|
1154
|
+
function equals$d(existing, incoming) {
|
|
1144
1155
|
const existing_error = existing.error;
|
|
1145
1156
|
const incoming_error = incoming.error;
|
|
1146
1157
|
// if at least one of these optionals is defined
|
|
@@ -1150,20 +1161,20 @@ function equals$c(existing, incoming) {
|
|
|
1150
1161
|
if (existing_error === undefined || incoming_error === undefined) {
|
|
1151
1162
|
return false;
|
|
1152
1163
|
}
|
|
1153
|
-
if (!(equals$
|
|
1164
|
+
if (!(equals$f(existing_error, incoming_error))) {
|
|
1154
1165
|
return false;
|
|
1155
1166
|
}
|
|
1156
1167
|
}
|
|
1157
1168
|
const existing_result = existing.result;
|
|
1158
1169
|
const incoming_result = incoming.result;
|
|
1159
|
-
if (!(equals$
|
|
1170
|
+
if (!(equals$e(existing_result, incoming_result))) {
|
|
1160
1171
|
return false;
|
|
1161
1172
|
}
|
|
1162
1173
|
return true;
|
|
1163
1174
|
}
|
|
1164
1175
|
|
|
1165
|
-
const VERSION$
|
|
1166
|
-
function validate$
|
|
1176
|
+
const VERSION$c = "18d65084646c870abf335d268675999e";
|
|
1177
|
+
function validate$c(obj, path = 'GenerateInsightBatchResponse') {
|
|
1167
1178
|
const v_error = (() => {
|
|
1168
1179
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1169
1180
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1183,7 +1194,7 @@ function validate$b(obj, path = 'GenerateInsightBatchResponse') {
|
|
|
1183
1194
|
if (obj.summary !== undefined) {
|
|
1184
1195
|
const obj_summary = obj.summary;
|
|
1185
1196
|
const path_summary = path + '.summary';
|
|
1186
|
-
const referencepath_summaryValidationError = validate$
|
|
1197
|
+
const referencepath_summaryValidationError = validate$d(obj_summary, path_summary);
|
|
1187
1198
|
if (referencepath_summaryValidationError !== null) {
|
|
1188
1199
|
let message = 'Object doesn\'t match SummaryResponse (at "' + path_summary + '")\n';
|
|
1189
1200
|
message += referencepath_summaryValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1213,11 +1224,11 @@ function keyBuilderFromType$3(luvio, object) {
|
|
|
1213
1224
|
function normalize$3(input, existing, path, luvio, store, timestamp) {
|
|
1214
1225
|
return input;
|
|
1215
1226
|
}
|
|
1216
|
-
const select$
|
|
1217
|
-
const { selections: SummaryResponse__selections, opaque: SummaryResponse__opaque, } = select$
|
|
1227
|
+
const select$h = function GenerateInsightBatchResponseSelect() {
|
|
1228
|
+
const { selections: SummaryResponse__selections, opaque: SummaryResponse__opaque, } = select$i();
|
|
1218
1229
|
return {
|
|
1219
1230
|
kind: 'Fragment',
|
|
1220
|
-
version: VERSION$
|
|
1231
|
+
version: VERSION$c,
|
|
1221
1232
|
private: [],
|
|
1222
1233
|
selections: [
|
|
1223
1234
|
{
|
|
@@ -1243,7 +1254,7 @@ const select$g = function GenerateInsightBatchResponseSelect() {
|
|
|
1243
1254
|
]
|
|
1244
1255
|
};
|
|
1245
1256
|
};
|
|
1246
|
-
function equals$
|
|
1257
|
+
function equals$c(existing, incoming) {
|
|
1247
1258
|
const existing_generatingSummary = existing.generatingSummary;
|
|
1248
1259
|
const incoming_generatingSummary = incoming.generatingSummary;
|
|
1249
1260
|
// if at least one of these optionals is defined
|
|
@@ -1284,7 +1295,7 @@ function equals$b(existing, incoming) {
|
|
|
1284
1295
|
if (existing_summary === undefined || incoming_summary === undefined) {
|
|
1285
1296
|
return false;
|
|
1286
1297
|
}
|
|
1287
|
-
if (!(equals$
|
|
1298
|
+
if (!(equals$d(existing_summary, incoming_summary))) {
|
|
1288
1299
|
return false;
|
|
1289
1300
|
}
|
|
1290
1301
|
}
|
|
@@ -1292,14 +1303,14 @@ function equals$b(existing, incoming) {
|
|
|
1292
1303
|
}
|
|
1293
1304
|
const ingest$3 = function GenerateInsightBatchResponseIngest(input, path, luvio, store, timestamp) {
|
|
1294
1305
|
if (process.env.NODE_ENV !== 'production') {
|
|
1295
|
-
const validateError = validate$
|
|
1306
|
+
const validateError = validate$c(input);
|
|
1296
1307
|
if (validateError !== null) {
|
|
1297
1308
|
throw validateError;
|
|
1298
1309
|
}
|
|
1299
1310
|
}
|
|
1300
1311
|
const key = keyBuilderFromType$3(luvio, input);
|
|
1301
1312
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 300000;
|
|
1302
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "analytics-insights", VERSION$
|
|
1313
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "analytics-insights", VERSION$c, RepresentationType$3, equals$c);
|
|
1303
1314
|
return createLink(key);
|
|
1304
1315
|
};
|
|
1305
1316
|
function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1312,8 +1323,8 @@ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1312
1323
|
});
|
|
1313
1324
|
}
|
|
1314
1325
|
|
|
1315
|
-
function select$
|
|
1316
|
-
return select$
|
|
1326
|
+
function select$g(luvio, params) {
|
|
1327
|
+
return select$h();
|
|
1317
1328
|
}
|
|
1318
1329
|
function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
|
|
1319
1330
|
getTypeCacheKeys$3(storeKeyMap, luvio, response);
|
|
@@ -1324,7 +1335,7 @@ function ingestSuccess$4(luvio, resourceParams, response) {
|
|
|
1324
1335
|
luvio.storeIngest(key, ingest$3, body);
|
|
1325
1336
|
const snapshot = luvio.storeLookup({
|
|
1326
1337
|
recordId: key,
|
|
1327
|
-
node: select$
|
|
1338
|
+
node: select$g(),
|
|
1328
1339
|
variables: {},
|
|
1329
1340
|
});
|
|
1330
1341
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1363,7 +1374,7 @@ function typeCheckConfig$4(untrustedConfig) {
|
|
|
1363
1374
|
const untrustedConfig_batchInput_array = [];
|
|
1364
1375
|
for (let i = 0, arrayLength = untrustedConfig_batchInput.length; i < arrayLength; i++) {
|
|
1365
1376
|
const untrustedConfig_batchInput_item = untrustedConfig_batchInput[i];
|
|
1366
|
-
const referenceBatchInputValidationError = validate$
|
|
1377
|
+
const referenceBatchInputValidationError = validate$j(untrustedConfig_batchInput_item);
|
|
1367
1378
|
if (referenceBatchInputValidationError === null) {
|
|
1368
1379
|
untrustedConfig_batchInput_array.push(untrustedConfig_batchInput_item);
|
|
1369
1380
|
}
|
|
@@ -1371,7 +1382,7 @@ function typeCheckConfig$4(untrustedConfig) {
|
|
|
1371
1382
|
config.batchInput = untrustedConfig_batchInput_array;
|
|
1372
1383
|
}
|
|
1373
1384
|
const untrustedConfig_options = untrustedConfig.options;
|
|
1374
|
-
const referenceBatchOptionsValidationError = validate$
|
|
1385
|
+
const referenceBatchOptionsValidationError = validate$g(untrustedConfig_options);
|
|
1375
1386
|
if (referenceBatchOptionsValidationError === null) {
|
|
1376
1387
|
config.options = untrustedConfig_options;
|
|
1377
1388
|
}
|
|
@@ -1419,8 +1430,8 @@ const createInsightsBatchAdapterFactory = (luvio) => {
|
|
|
1419
1430
|
};
|
|
1420
1431
|
};
|
|
1421
1432
|
|
|
1422
|
-
const VERSION$
|
|
1423
|
-
function validate$
|
|
1433
|
+
const VERSION$b = "f898ff84f82ad0ca1eca0045e17ce492";
|
|
1434
|
+
function validate$b(obj, path = 'GetFilterValuesResponse_CategoricalValues') {
|
|
1424
1435
|
const v_error = (() => {
|
|
1425
1436
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1426
1437
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1483,10 +1494,10 @@ function validate$a(obj, path = 'GetFilterValuesResponse_CategoricalValues') {
|
|
|
1483
1494
|
})();
|
|
1484
1495
|
return v_error === undefined ? null : v_error;
|
|
1485
1496
|
}
|
|
1486
|
-
const select$
|
|
1497
|
+
const select$f = function GetFilterValuesResponse_CategoricalValuesSelect() {
|
|
1487
1498
|
return {
|
|
1488
1499
|
kind: 'Fragment',
|
|
1489
|
-
version: VERSION$
|
|
1500
|
+
version: VERSION$b,
|
|
1490
1501
|
private: [],
|
|
1491
1502
|
selections: [
|
|
1492
1503
|
{
|
|
@@ -1498,7 +1509,7 @@ const select$e = function GetFilterValuesResponse_CategoricalValuesSelect() {
|
|
|
1498
1509
|
]
|
|
1499
1510
|
};
|
|
1500
1511
|
};
|
|
1501
|
-
function equals$
|
|
1512
|
+
function equals$b(existing, incoming) {
|
|
1502
1513
|
const existing_values = existing.values;
|
|
1503
1514
|
const incoming_values = incoming.values;
|
|
1504
1515
|
// if at least one of these optionals is defined
|
|
@@ -1520,15 +1531,15 @@ function equals$a(existing, incoming) {
|
|
|
1520
1531
|
return true;
|
|
1521
1532
|
}
|
|
1522
1533
|
|
|
1523
|
-
const VERSION$
|
|
1524
|
-
function validate$
|
|
1534
|
+
const VERSION$a = "2025bbf393050a10fae76d5b4d5d0f58";
|
|
1535
|
+
function validate$a(obj, path = 'GetFilterValuesResponse') {
|
|
1525
1536
|
const v_error = (() => {
|
|
1526
1537
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1527
1538
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1528
1539
|
}
|
|
1529
1540
|
const obj_categoricalValues = obj.categoricalValues;
|
|
1530
1541
|
const path_categoricalValues = path + '.categoricalValues';
|
|
1531
|
-
const referencepath_categoricalValuesValidationError = validate$
|
|
1542
|
+
const referencepath_categoricalValuesValidationError = validate$b(obj_categoricalValues, path_categoricalValues);
|
|
1532
1543
|
if (referencepath_categoricalValuesValidationError !== null) {
|
|
1533
1544
|
let message = 'Object doesn\'t match GetFilterValuesResponse_CategoricalValues (at "' + path_categoricalValues + '")\n';
|
|
1534
1545
|
message += referencepath_categoricalValuesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1569,11 +1580,11 @@ function keyBuilderFromType$2(luvio, object) {
|
|
|
1569
1580
|
function normalize$2(input, existing, path, luvio, store, timestamp) {
|
|
1570
1581
|
return input;
|
|
1571
1582
|
}
|
|
1572
|
-
const select$
|
|
1573
|
-
const { selections: GetFilterValuesResponse_CategoricalValues__selections, opaque: GetFilterValuesResponse_CategoricalValues__opaque, } = select$
|
|
1583
|
+
const select$e = function GetFilterValuesResponseSelect() {
|
|
1584
|
+
const { selections: GetFilterValuesResponse_CategoricalValues__selections, opaque: GetFilterValuesResponse_CategoricalValues__opaque, } = select$f();
|
|
1574
1585
|
return {
|
|
1575
1586
|
kind: 'Fragment',
|
|
1576
|
-
version: VERSION$
|
|
1587
|
+
version: VERSION$a,
|
|
1577
1588
|
private: [],
|
|
1578
1589
|
selections: [
|
|
1579
1590
|
{
|
|
@@ -1598,7 +1609,7 @@ const select$d = function GetFilterValuesResponseSelect() {
|
|
|
1598
1609
|
]
|
|
1599
1610
|
};
|
|
1600
1611
|
};
|
|
1601
|
-
function equals$
|
|
1612
|
+
function equals$a(existing, incoming) {
|
|
1602
1613
|
const existing_totalAvailable = existing.totalAvailable;
|
|
1603
1614
|
const incoming_totalAvailable = incoming.totalAvailable;
|
|
1604
1615
|
// if at least one of these optionals is defined
|
|
@@ -1632,21 +1643,21 @@ function equals$9(existing, incoming) {
|
|
|
1632
1643
|
}
|
|
1633
1644
|
const existing_categoricalValues = existing.categoricalValues;
|
|
1634
1645
|
const incoming_categoricalValues = incoming.categoricalValues;
|
|
1635
|
-
if (!(equals$
|
|
1646
|
+
if (!(equals$b(existing_categoricalValues, incoming_categoricalValues))) {
|
|
1636
1647
|
return false;
|
|
1637
1648
|
}
|
|
1638
1649
|
return true;
|
|
1639
1650
|
}
|
|
1640
1651
|
const ingest$2 = function GetFilterValuesResponseIngest(input, path, luvio, store, timestamp) {
|
|
1641
1652
|
if (process.env.NODE_ENV !== 'production') {
|
|
1642
|
-
const validateError = validate$
|
|
1653
|
+
const validateError = validate$a(input);
|
|
1643
1654
|
if (validateError !== null) {
|
|
1644
1655
|
throw validateError;
|
|
1645
1656
|
}
|
|
1646
1657
|
}
|
|
1647
1658
|
const key = keyBuilderFromType$2(luvio, input);
|
|
1648
1659
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 300000;
|
|
1649
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "analytics-insights", VERSION$
|
|
1660
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "analytics-insights", VERSION$a, RepresentationType$2, equals$a);
|
|
1650
1661
|
return createLink(key);
|
|
1651
1662
|
};
|
|
1652
1663
|
function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1659,8 +1670,8 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1659
1670
|
});
|
|
1660
1671
|
}
|
|
1661
1672
|
|
|
1662
|
-
function select$
|
|
1663
|
-
return select$
|
|
1673
|
+
function select$d(luvio, params) {
|
|
1674
|
+
return select$e();
|
|
1664
1675
|
}
|
|
1665
1676
|
function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
|
|
1666
1677
|
getTypeCacheKeys$2(storeKeyMap, luvio, response);
|
|
@@ -1671,7 +1682,7 @@ function ingestSuccess$3(luvio, resourceParams, response) {
|
|
|
1671
1682
|
luvio.storeIngest(key, ingest$2, body);
|
|
1672
1683
|
const snapshot = luvio.storeLookup({
|
|
1673
1684
|
recordId: key,
|
|
1674
|
-
node: select$
|
|
1685
|
+
node: select$d(),
|
|
1675
1686
|
variables: {},
|
|
1676
1687
|
});
|
|
1677
1688
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1712,12 +1723,12 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
1712
1723
|
const config = {};
|
|
1713
1724
|
typeCheckConfig$5(untrustedConfig, config, getMetricFilterValues_ConfigPropertyMetadata);
|
|
1714
1725
|
const untrustedConfig_semanticDataModel = untrustedConfig.semanticDataModel;
|
|
1715
|
-
const referenceSemanticDataModelValidationError = validate$
|
|
1726
|
+
const referenceSemanticDataModelValidationError = validate$r(untrustedConfig_semanticDataModel);
|
|
1716
1727
|
if (referenceSemanticDataModelValidationError === null) {
|
|
1717
1728
|
config.semanticDataModel = untrustedConfig_semanticDataModel;
|
|
1718
1729
|
}
|
|
1719
1730
|
const untrustedConfig_field = untrustedConfig.field;
|
|
1720
|
-
const referenceFieldIdValidationError = validate$
|
|
1731
|
+
const referenceFieldIdValidationError = validate$C(untrustedConfig_field);
|
|
1721
1732
|
if (referenceFieldIdValidationError === null) {
|
|
1722
1733
|
config.field = untrustedConfig_field;
|
|
1723
1734
|
}
|
|
@@ -1726,7 +1737,7 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
1726
1737
|
const untrustedConfig_filters_array = [];
|
|
1727
1738
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
1728
1739
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
1729
|
-
const referenceFilterValidationError = validate$
|
|
1740
|
+
const referenceFilterValidationError = validate$z(untrustedConfig_filters_item);
|
|
1730
1741
|
if (referenceFilterValidationError === null) {
|
|
1731
1742
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
1732
1743
|
}
|
|
@@ -1734,7 +1745,7 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
1734
1745
|
config.filters = untrustedConfig_filters_array;
|
|
1735
1746
|
}
|
|
1736
1747
|
const untrustedConfig_semanticFilter = untrustedConfig.semanticFilter;
|
|
1737
|
-
const referenceFlattenFilterValidationError = validate$
|
|
1748
|
+
const referenceFlattenFilterValidationError = validate$v(untrustedConfig_semanticFilter);
|
|
1738
1749
|
if (referenceFlattenFilterValidationError === null) {
|
|
1739
1750
|
config.semanticFilter = untrustedConfig_semanticFilter;
|
|
1740
1751
|
}
|
|
@@ -1782,8 +1793,8 @@ const getMetricFilterValuesAdapterFactory = (luvio) => {
|
|
|
1782
1793
|
};
|
|
1783
1794
|
};
|
|
1784
1795
|
|
|
1785
|
-
const VERSION$
|
|
1786
|
-
function validate$
|
|
1796
|
+
const VERSION$9 = "6b47d2ed35a900956ff58b7d8a527e7f";
|
|
1797
|
+
function validate$9(obj, path = 'InsightFeedbackMetadata') {
|
|
1787
1798
|
const v_error = (() => {
|
|
1788
1799
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1789
1800
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1808,10 +1819,10 @@ function validate$8(obj, path = 'InsightFeedbackMetadata') {
|
|
|
1808
1819
|
})();
|
|
1809
1820
|
return v_error === undefined ? null : v_error;
|
|
1810
1821
|
}
|
|
1811
|
-
const select$
|
|
1822
|
+
const select$c = function InsightFeedbackMetadataSelect() {
|
|
1812
1823
|
return {
|
|
1813
1824
|
kind: 'Fragment',
|
|
1814
|
-
version: VERSION$
|
|
1825
|
+
version: VERSION$9,
|
|
1815
1826
|
private: [],
|
|
1816
1827
|
selections: [
|
|
1817
1828
|
{
|
|
@@ -1832,7 +1843,7 @@ const select$b = function InsightFeedbackMetadataSelect() {
|
|
|
1832
1843
|
]
|
|
1833
1844
|
};
|
|
1834
1845
|
};
|
|
1835
|
-
function equals$
|
|
1846
|
+
function equals$9(existing, incoming) {
|
|
1836
1847
|
const existing_dimensionHash = existing.dimensionHash;
|
|
1837
1848
|
const incoming_dimensionHash = incoming.dimensionHash;
|
|
1838
1849
|
// if at least one of these optionals is defined
|
|
@@ -1875,8 +1886,8 @@ function equals$8(existing, incoming) {
|
|
|
1875
1886
|
return true;
|
|
1876
1887
|
}
|
|
1877
1888
|
|
|
1878
|
-
const VERSION$
|
|
1879
|
-
function validate$
|
|
1889
|
+
const VERSION$8 = "be7014b0043386672b06a22807d7e549";
|
|
1890
|
+
function validate$8(obj, path = 'Insight') {
|
|
1880
1891
|
const v_error = (() => {
|
|
1881
1892
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1882
1893
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1904,7 +1915,7 @@ function validate$7(obj, path = 'Insight') {
|
|
|
1904
1915
|
}
|
|
1905
1916
|
const obj_insightFeedbackMetadata = obj.insightFeedbackMetadata;
|
|
1906
1917
|
const path_insightFeedbackMetadata = path + '.insightFeedbackMetadata';
|
|
1907
|
-
const referencepath_insightFeedbackMetadataValidationError = validate$
|
|
1918
|
+
const referencepath_insightFeedbackMetadataValidationError = validate$9(obj_insightFeedbackMetadata, path_insightFeedbackMetadata);
|
|
1908
1919
|
if (referencepath_insightFeedbackMetadataValidationError !== null) {
|
|
1909
1920
|
let message = 'Object doesn\'t match InsightFeedbackMetadata (at "' + path_insightFeedbackMetadata + '")\n';
|
|
1910
1921
|
message += referencepath_insightFeedbackMetadataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1951,11 +1962,11 @@ function validate$7(obj, path = 'Insight') {
|
|
|
1951
1962
|
})();
|
|
1952
1963
|
return v_error === undefined ? null : v_error;
|
|
1953
1964
|
}
|
|
1954
|
-
const select$
|
|
1955
|
-
const { selections: InsightFeedbackMetadata__selections, opaque: InsightFeedbackMetadata__opaque, } = select$
|
|
1965
|
+
const select$b = function InsightSelect() {
|
|
1966
|
+
const { selections: InsightFeedbackMetadata__selections, opaque: InsightFeedbackMetadata__opaque, } = select$c();
|
|
1956
1967
|
return {
|
|
1957
1968
|
kind: 'Fragment',
|
|
1958
|
-
version: VERSION$
|
|
1969
|
+
version: VERSION$8,
|
|
1959
1970
|
private: [],
|
|
1960
1971
|
selections: [
|
|
1961
1972
|
{
|
|
@@ -2011,7 +2022,7 @@ const select$a = function InsightSelect() {
|
|
|
2011
2022
|
]
|
|
2012
2023
|
};
|
|
2013
2024
|
};
|
|
2014
|
-
function equals$
|
|
2025
|
+
function equals$8(existing, incoming) {
|
|
2015
2026
|
const existing_version = existing.version;
|
|
2016
2027
|
const incoming_version = incoming.version;
|
|
2017
2028
|
// if at least one of these optionals is defined
|
|
@@ -2118,7 +2129,7 @@ function equals$7(existing, incoming) {
|
|
|
2118
2129
|
}
|
|
2119
2130
|
const existing_insightFeedbackMetadata = existing.insightFeedbackMetadata;
|
|
2120
2131
|
const incoming_insightFeedbackMetadata = incoming.insightFeedbackMetadata;
|
|
2121
|
-
if (!(equals$
|
|
2132
|
+
if (!(equals$9(existing_insightFeedbackMetadata, incoming_insightFeedbackMetadata))) {
|
|
2122
2133
|
return false;
|
|
2123
2134
|
}
|
|
2124
2135
|
const existing_viz = existing.viz;
|
|
@@ -2137,8 +2148,8 @@ function equals$7(existing, incoming) {
|
|
|
2137
2148
|
return true;
|
|
2138
2149
|
}
|
|
2139
2150
|
|
|
2140
|
-
const VERSION$
|
|
2141
|
-
function validate$
|
|
2151
|
+
const VERSION$7 = "09a140bdbc97294bdce2b9555910f209";
|
|
2152
|
+
function validate$7(obj, path = 'InsightResponse') {
|
|
2142
2153
|
const v_error = (() => {
|
|
2143
2154
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2144
2155
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2146,7 +2157,7 @@ function validate$6(obj, path = 'InsightResponse') {
|
|
|
2146
2157
|
if (obj.error !== undefined) {
|
|
2147
2158
|
const obj_error = obj.error;
|
|
2148
2159
|
const path_error = path + '.error';
|
|
2149
|
-
const referencepath_errorValidationError = validate$
|
|
2160
|
+
const referencepath_errorValidationError = validate$f(obj_error, path_error);
|
|
2150
2161
|
if (referencepath_errorValidationError !== null) {
|
|
2151
2162
|
let message = 'Object doesn\'t match Error (at "' + path_error + '")\n';
|
|
2152
2163
|
message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2163,7 +2174,7 @@ function validate$6(obj, path = 'InsightResponse') {
|
|
|
2163
2174
|
if (obj.result !== undefined) {
|
|
2164
2175
|
const obj_result = obj.result;
|
|
2165
2176
|
const path_result = path + '.result';
|
|
2166
|
-
const referencepath_resultValidationError = validate$
|
|
2177
|
+
const referencepath_resultValidationError = validate$8(obj_result, path_result);
|
|
2167
2178
|
if (referencepath_resultValidationError !== null) {
|
|
2168
2179
|
let message = 'Object doesn\'t match Insight (at "' + path_result + '")\n';
|
|
2169
2180
|
message += referencepath_resultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2173,12 +2184,12 @@ function validate$6(obj, path = 'InsightResponse') {
|
|
|
2173
2184
|
})();
|
|
2174
2185
|
return v_error === undefined ? null : v_error;
|
|
2175
2186
|
}
|
|
2176
|
-
const select$
|
|
2177
|
-
const { selections: Error__selections, opaque: Error__opaque, } = select$
|
|
2178
|
-
const { selections: Insight__selections, opaque: Insight__opaque, } = select$
|
|
2187
|
+
const select$a = function InsightResponseSelect() {
|
|
2188
|
+
const { selections: Error__selections, opaque: Error__opaque, } = select$k();
|
|
2189
|
+
const { selections: Insight__selections, opaque: Insight__opaque, } = select$b();
|
|
2179
2190
|
return {
|
|
2180
2191
|
kind: 'Fragment',
|
|
2181
|
-
version: VERSION$
|
|
2192
|
+
version: VERSION$7,
|
|
2182
2193
|
private: [],
|
|
2183
2194
|
selections: [
|
|
2184
2195
|
{
|
|
@@ -2201,7 +2212,7 @@ const select$9 = function InsightResponseSelect() {
|
|
|
2201
2212
|
]
|
|
2202
2213
|
};
|
|
2203
2214
|
};
|
|
2204
|
-
function equals$
|
|
2215
|
+
function equals$7(existing, incoming) {
|
|
2205
2216
|
const existing_insightType = existing.insightType;
|
|
2206
2217
|
const incoming_insightType = incoming.insightType;
|
|
2207
2218
|
// if at least one of these optionals is defined
|
|
@@ -2224,7 +2235,7 @@ function equals$6(existing, incoming) {
|
|
|
2224
2235
|
if (existing_error === undefined || incoming_error === undefined) {
|
|
2225
2236
|
return false;
|
|
2226
2237
|
}
|
|
2227
|
-
if (!(equals$
|
|
2238
|
+
if (!(equals$f(existing_error, incoming_error))) {
|
|
2228
2239
|
return false;
|
|
2229
2240
|
}
|
|
2230
2241
|
}
|
|
@@ -2237,19 +2248,101 @@ function equals$6(existing, incoming) {
|
|
|
2237
2248
|
if (existing_result === undefined || incoming_result === undefined) {
|
|
2238
2249
|
return false;
|
|
2239
2250
|
}
|
|
2240
|
-
if (!(equals$
|
|
2251
|
+
if (!(equals$8(existing_result, incoming_result))) {
|
|
2252
|
+
return false;
|
|
2253
|
+
}
|
|
2254
|
+
}
|
|
2255
|
+
return true;
|
|
2256
|
+
}
|
|
2257
|
+
|
|
2258
|
+
const VERSION$6 = "bbba5f281b443221e96fa2e9e8eae2d9";
|
|
2259
|
+
function validate$6(obj, path = 'Status') {
|
|
2260
|
+
const v_error = (() => {
|
|
2261
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2262
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2263
|
+
}
|
|
2264
|
+
if (obj.qualifier !== undefined) {
|
|
2265
|
+
const obj_qualifier = obj.qualifier;
|
|
2266
|
+
const path_qualifier = path + '.qualifier';
|
|
2267
|
+
if (typeof obj_qualifier !== 'string') {
|
|
2268
|
+
return new TypeError('Expected "string" but received "' + typeof obj_qualifier + '" (at "' + path_qualifier + '")');
|
|
2269
|
+
}
|
|
2270
|
+
}
|
|
2271
|
+
if (obj.sentiment !== undefined) {
|
|
2272
|
+
const obj_sentiment = obj.sentiment;
|
|
2273
|
+
const path_sentiment = path + '.sentiment';
|
|
2274
|
+
if (typeof obj_sentiment !== 'string') {
|
|
2275
|
+
return new TypeError('Expected "string" but received "' + typeof obj_sentiment + '" (at "' + path_sentiment + '")');
|
|
2276
|
+
}
|
|
2277
|
+
}
|
|
2278
|
+
})();
|
|
2279
|
+
return v_error === undefined ? null : v_error;
|
|
2280
|
+
}
|
|
2281
|
+
const select$9 = function StatusSelect() {
|
|
2282
|
+
return {
|
|
2283
|
+
kind: 'Fragment',
|
|
2284
|
+
version: VERSION$6,
|
|
2285
|
+
private: [],
|
|
2286
|
+
selections: [
|
|
2287
|
+
{
|
|
2288
|
+
name: 'qualifier',
|
|
2289
|
+
kind: 'Scalar',
|
|
2290
|
+
required: false
|
|
2291
|
+
},
|
|
2292
|
+
{
|
|
2293
|
+
name: 'sentiment',
|
|
2294
|
+
kind: 'Scalar',
|
|
2295
|
+
required: false
|
|
2296
|
+
}
|
|
2297
|
+
]
|
|
2298
|
+
};
|
|
2299
|
+
};
|
|
2300
|
+
function equals$6(existing, incoming) {
|
|
2301
|
+
const existing_qualifier = existing.qualifier;
|
|
2302
|
+
const incoming_qualifier = incoming.qualifier;
|
|
2303
|
+
// if at least one of these optionals is defined
|
|
2304
|
+
if (existing_qualifier !== undefined || incoming_qualifier !== undefined) {
|
|
2305
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2306
|
+
// not equal
|
|
2307
|
+
if (existing_qualifier === undefined || incoming_qualifier === undefined) {
|
|
2308
|
+
return false;
|
|
2309
|
+
}
|
|
2310
|
+
if (!(existing_qualifier === incoming_qualifier)) {
|
|
2311
|
+
return false;
|
|
2312
|
+
}
|
|
2313
|
+
}
|
|
2314
|
+
const existing_sentiment = existing.sentiment;
|
|
2315
|
+
const incoming_sentiment = incoming.sentiment;
|
|
2316
|
+
// if at least one of these optionals is defined
|
|
2317
|
+
if (existing_sentiment !== undefined || incoming_sentiment !== undefined) {
|
|
2318
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2319
|
+
// not equal
|
|
2320
|
+
if (existing_sentiment === undefined || incoming_sentiment === undefined) {
|
|
2321
|
+
return false;
|
|
2322
|
+
}
|
|
2323
|
+
if (!(existing_sentiment === incoming_sentiment)) {
|
|
2241
2324
|
return false;
|
|
2242
2325
|
}
|
|
2243
2326
|
}
|
|
2244
2327
|
return true;
|
|
2245
2328
|
}
|
|
2246
2329
|
|
|
2247
|
-
const VERSION$5 = "
|
|
2330
|
+
const VERSION$5 = "b8ee380c83f9ec2fff1e8045ba2301fc";
|
|
2248
2331
|
function validate$5(obj, path = 'Overview') {
|
|
2249
2332
|
const v_error = (() => {
|
|
2250
2333
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2251
2334
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2252
2335
|
}
|
|
2336
|
+
if (obj.status !== undefined) {
|
|
2337
|
+
const obj_status = obj.status;
|
|
2338
|
+
const path_status = path + '.status';
|
|
2339
|
+
const referencepath_statusValidationError = validate$6(obj_status, path_status);
|
|
2340
|
+
if (referencepath_statusValidationError !== null) {
|
|
2341
|
+
let message = 'Object doesn\'t match Status (at "' + path_status + '")\n';
|
|
2342
|
+
message += referencepath_statusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2343
|
+
return new TypeError(message);
|
|
2344
|
+
}
|
|
2345
|
+
}
|
|
2253
2346
|
if (obj.viz !== undefined) {
|
|
2254
2347
|
const obj_viz = obj.viz;
|
|
2255
2348
|
const path_viz = path + '.viz';
|
|
@@ -2261,11 +2354,18 @@ function validate$5(obj, path = 'Overview') {
|
|
|
2261
2354
|
return v_error === undefined ? null : v_error;
|
|
2262
2355
|
}
|
|
2263
2356
|
const select$8 = function OverviewSelect() {
|
|
2357
|
+
const { selections: Status__selections, opaque: Status__opaque, } = select$9();
|
|
2264
2358
|
return {
|
|
2265
2359
|
kind: 'Fragment',
|
|
2266
2360
|
version: VERSION$5,
|
|
2267
2361
|
private: [],
|
|
2268
2362
|
selections: [
|
|
2363
|
+
{
|
|
2364
|
+
name: 'status',
|
|
2365
|
+
kind: 'Object',
|
|
2366
|
+
selections: Status__selections,
|
|
2367
|
+
required: false
|
|
2368
|
+
},
|
|
2269
2369
|
{
|
|
2270
2370
|
name: 'viz',
|
|
2271
2371
|
kind: 'Object',
|
|
@@ -2275,6 +2375,19 @@ const select$8 = function OverviewSelect() {
|
|
|
2275
2375
|
};
|
|
2276
2376
|
};
|
|
2277
2377
|
function equals$5(existing, incoming) {
|
|
2378
|
+
const existing_status = existing.status;
|
|
2379
|
+
const incoming_status = incoming.status;
|
|
2380
|
+
// if at least one of these optionals is defined
|
|
2381
|
+
if (existing_status !== undefined || incoming_status !== undefined) {
|
|
2382
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2383
|
+
// not equal
|
|
2384
|
+
if (existing_status === undefined || incoming_status === undefined) {
|
|
2385
|
+
return false;
|
|
2386
|
+
}
|
|
2387
|
+
if (!(equals$6(existing_status, incoming_status))) {
|
|
2388
|
+
return false;
|
|
2389
|
+
}
|
|
2390
|
+
}
|
|
2278
2391
|
const existing_viz = existing.viz;
|
|
2279
2392
|
const incoming_viz = incoming.viz;
|
|
2280
2393
|
// if at least one of these optionals is defined
|
|
@@ -2300,7 +2413,7 @@ function validate$4(obj, path = 'OverviewResponse') {
|
|
|
2300
2413
|
if (obj.error !== undefined) {
|
|
2301
2414
|
const obj_error = obj.error;
|
|
2302
2415
|
const path_error = path + '.error';
|
|
2303
|
-
const referencepath_errorValidationError = validate$
|
|
2416
|
+
const referencepath_errorValidationError = validate$f(obj_error, path_error);
|
|
2304
2417
|
if (referencepath_errorValidationError !== null) {
|
|
2305
2418
|
let message = 'Object doesn\'t match Error (at "' + path_error + '")\n';
|
|
2306
2419
|
message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2321,7 +2434,7 @@ function validate$4(obj, path = 'OverviewResponse') {
|
|
|
2321
2434
|
return v_error === undefined ? null : v_error;
|
|
2322
2435
|
}
|
|
2323
2436
|
const select$7 = function OverviewResponseSelect() {
|
|
2324
|
-
const { selections: Error__selections, opaque: Error__opaque, } = select$
|
|
2437
|
+
const { selections: Error__selections, opaque: Error__opaque, } = select$k();
|
|
2325
2438
|
const { selections: Overview__selections, opaque: Overview__opaque, } = select$8();
|
|
2326
2439
|
return {
|
|
2327
2440
|
kind: 'Fragment',
|
|
@@ -2353,7 +2466,7 @@ function equals$4(existing, incoming) {
|
|
|
2353
2466
|
if (existing_error === undefined || incoming_error === undefined) {
|
|
2354
2467
|
return false;
|
|
2355
2468
|
}
|
|
2356
|
-
if (!(equals$
|
|
2469
|
+
if (!(equals$f(existing_error, incoming_error))) {
|
|
2357
2470
|
return false;
|
|
2358
2471
|
}
|
|
2359
2472
|
}
|
|
@@ -2382,7 +2495,7 @@ function validate$3(obj, path = 'InsightGroup') {
|
|
|
2382
2495
|
if (obj.error !== undefined) {
|
|
2383
2496
|
const obj_error = obj.error;
|
|
2384
2497
|
const path_error = path + '.error';
|
|
2385
|
-
const referencepath_errorValidationError = validate$
|
|
2498
|
+
const referencepath_errorValidationError = validate$f(obj_error, path_error);
|
|
2386
2499
|
if (referencepath_errorValidationError !== null) {
|
|
2387
2500
|
let message = 'Object doesn\'t match Error (at "' + path_error + '")\n';
|
|
2388
2501
|
message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2398,7 +2511,7 @@ function validate$3(obj, path = 'InsightGroup') {
|
|
|
2398
2511
|
for (let i = 0; i < obj_insights.length; i++) {
|
|
2399
2512
|
const obj_insights_item = obj_insights[i];
|
|
2400
2513
|
const path_insights_item = path_insights + '[' + i + ']';
|
|
2401
|
-
const referencepath_insights_itemValidationError = validate$
|
|
2514
|
+
const referencepath_insights_itemValidationError = validate$7(obj_insights_item, path_insights_item);
|
|
2402
2515
|
if (referencepath_insights_itemValidationError !== null) {
|
|
2403
2516
|
let message = 'Object doesn\'t match InsightResponse (at "' + path_insights_item + '")\n';
|
|
2404
2517
|
message += referencepath_insights_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2434,8 +2547,8 @@ function validate$3(obj, path = 'InsightGroup') {
|
|
|
2434
2547
|
return v_error === undefined ? null : v_error;
|
|
2435
2548
|
}
|
|
2436
2549
|
const select$6 = function InsightGroupSelect() {
|
|
2437
|
-
const { selections: Error__selections, opaque: Error__opaque, } = select$
|
|
2438
|
-
const { selections: InsightResponse__selections, opaque: InsightResponse__opaque, } = select$
|
|
2550
|
+
const { selections: Error__selections, opaque: Error__opaque, } = select$k();
|
|
2551
|
+
const { selections: InsightResponse__selections, opaque: InsightResponse__opaque, } = select$a();
|
|
2439
2552
|
const { selections: OverviewResponse__selections, opaque: OverviewResponse__opaque, } = select$7();
|
|
2440
2553
|
return {
|
|
2441
2554
|
kind: 'Fragment',
|
|
@@ -2493,7 +2606,7 @@ function equals$3(existing, incoming) {
|
|
|
2493
2606
|
if (existing_error === undefined || incoming_error === undefined) {
|
|
2494
2607
|
return false;
|
|
2495
2608
|
}
|
|
2496
|
-
if (!(equals$
|
|
2609
|
+
if (!(equals$f(existing_error, incoming_error))) {
|
|
2497
2610
|
return false;
|
|
2498
2611
|
}
|
|
2499
2612
|
}
|
|
@@ -2507,7 +2620,7 @@ function equals$3(existing, incoming) {
|
|
|
2507
2620
|
return false;
|
|
2508
2621
|
}
|
|
2509
2622
|
const equals_insights_items = equalsArray(existing_insights, incoming_insights, (existing_insights_item, incoming_insights_item) => {
|
|
2510
|
-
if (!(equals$
|
|
2623
|
+
if (!(equals$7(existing_insights_item, incoming_insights_item))) {
|
|
2511
2624
|
return false;
|
|
2512
2625
|
}
|
|
2513
2626
|
});
|
|
@@ -2660,7 +2773,7 @@ function validate$1(obj, path = 'GenerateInsightBundleResponse') {
|
|
|
2660
2773
|
if (obj.error !== undefined) {
|
|
2661
2774
|
const obj_error = obj.error;
|
|
2662
2775
|
const path_error = path + '.error';
|
|
2663
|
-
const referencepath_errorValidationError = validate$
|
|
2776
|
+
const referencepath_errorValidationError = validate$f(obj_error, path_error);
|
|
2664
2777
|
if (referencepath_errorValidationError !== null) {
|
|
2665
2778
|
let message = 'Object doesn\'t match Error (at "' + path_error + '")\n';
|
|
2666
2779
|
message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2704,7 +2817,7 @@ function normalize$1(input, existing, path, luvio, store, timestamp) {
|
|
|
2704
2817
|
return input;
|
|
2705
2818
|
}
|
|
2706
2819
|
const select$4 = function GenerateInsightBundleResponseSelect() {
|
|
2707
|
-
const { selections: Error__selections, opaque: Error__opaque, } = select$
|
|
2820
|
+
const { selections: Error__selections, opaque: Error__opaque, } = select$k();
|
|
2708
2821
|
const { selections: InsightBundle__selections, opaque: InsightBundle__opaque, } = select$5();
|
|
2709
2822
|
return {
|
|
2710
2823
|
kind: 'Fragment',
|
|
@@ -2754,7 +2867,7 @@ function equals$1(existing, incoming) {
|
|
|
2754
2867
|
if (existing_error === undefined || incoming_error === undefined) {
|
|
2755
2868
|
return false;
|
|
2756
2869
|
}
|
|
2757
|
-
if (!(equals$
|
|
2870
|
+
if (!(equals$f(existing_error, incoming_error))) {
|
|
2758
2871
|
return false;
|
|
2759
2872
|
}
|
|
2760
2873
|
}
|
|
@@ -2845,12 +2958,12 @@ function typeCheckConfig$2(untrustedConfig) {
|
|
|
2845
2958
|
const config = {};
|
|
2846
2959
|
typeCheckConfig$5(untrustedConfig, config, generateInsights_ConfigPropertyMetadata);
|
|
2847
2960
|
const untrustedConfig_input = untrustedConfig.input;
|
|
2848
|
-
const referenceInsightBundleInputValidationError = validate$
|
|
2961
|
+
const referenceInsightBundleInputValidationError = validate$l(untrustedConfig_input);
|
|
2849
2962
|
if (referenceInsightBundleInputValidationError === null) {
|
|
2850
2963
|
config.input = untrustedConfig_input;
|
|
2851
2964
|
}
|
|
2852
2965
|
const untrustedConfig_options = untrustedConfig.options;
|
|
2853
|
-
const referenceInsightBundleOptionsValidationError = validate$
|
|
2966
|
+
const referenceInsightBundleOptionsValidationError = validate$i(untrustedConfig_options);
|
|
2854
2967
|
if (referenceInsightBundleOptionsValidationError === null) {
|
|
2855
2968
|
config.options = untrustedConfig_options;
|
|
2856
2969
|
}
|
|
@@ -2948,12 +3061,12 @@ function typeCheckConfig$1(untrustedConfig) {
|
|
|
2948
3061
|
const config = {};
|
|
2949
3062
|
typeCheckConfig$5(untrustedConfig, config, generateInsightsBasic_ConfigPropertyMetadata);
|
|
2950
3063
|
const untrustedConfig_input = untrustedConfig.input;
|
|
2951
|
-
const referenceInsightBundleInputValidationError = validate$
|
|
3064
|
+
const referenceInsightBundleInputValidationError = validate$l(untrustedConfig_input);
|
|
2952
3065
|
if (referenceInsightBundleInputValidationError === null) {
|
|
2953
3066
|
config.input = untrustedConfig_input;
|
|
2954
3067
|
}
|
|
2955
3068
|
const untrustedConfig_options = untrustedConfig.options;
|
|
2956
|
-
const referenceInsightBundleOptionsValidationError = validate$
|
|
3069
|
+
const referenceInsightBundleOptionsValidationError = validate$i(untrustedConfig_options);
|
|
2957
3070
|
if (referenceInsightBundleOptionsValidationError === null) {
|
|
2958
3071
|
config.options = untrustedConfig_options;
|
|
2959
3072
|
}
|
|
@@ -3044,7 +3157,7 @@ function validate(obj, path = 'GetInsightBatchResponse') {
|
|
|
3044
3157
|
if (obj.summary !== undefined) {
|
|
3045
3158
|
const obj_summary = obj.summary;
|
|
3046
3159
|
const path_summary = path + '.summary';
|
|
3047
|
-
const referencepath_summaryValidationError = validate$
|
|
3160
|
+
const referencepath_summaryValidationError = validate$d(obj_summary, path_summary);
|
|
3048
3161
|
if (referencepath_summaryValidationError !== null) {
|
|
3049
3162
|
let message = 'Object doesn\'t match SummaryResponse (at "' + path_summary + '")\n';
|
|
3050
3163
|
message += referencepath_summaryValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3086,7 +3199,7 @@ function normalize(input, existing, path, luvio, store, timestamp) {
|
|
|
3086
3199
|
return input;
|
|
3087
3200
|
}
|
|
3088
3201
|
const select$1 = function GetInsightBatchResponseSelect() {
|
|
3089
|
-
const { selections: SummaryResponse__selections, opaque: SummaryResponse__opaque, } = select$
|
|
3202
|
+
const { selections: SummaryResponse__selections, opaque: SummaryResponse__opaque, } = select$i();
|
|
3090
3203
|
return {
|
|
3091
3204
|
kind: 'Fragment',
|
|
3092
3205
|
version: VERSION,
|
|
@@ -3181,7 +3294,7 @@ function equals(existing, incoming) {
|
|
|
3181
3294
|
if (existing_summary === undefined || incoming_summary === undefined) {
|
|
3182
3295
|
return false;
|
|
3183
3296
|
}
|
|
3184
|
-
if (!(equals$
|
|
3297
|
+
if (!(equals$d(existing_summary, incoming_summary))) {
|
|
3185
3298
|
return false;
|
|
3186
3299
|
}
|
|
3187
3300
|
}
|